1 2008-11-03 Dan Williams <dcbw@redhat.com>
3 * system-settings/src/main.c
4 - (add_default_dhcp_connection): make the fallback connection read-only
6 * libnm-glib/nm-settings.c
7 libnm-glib/nm-settings.h
9 - (impl_exported_connection_update, impl_exported_connection_delete):
10 return an error if the connection is read-only
12 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
13 system-settings/plugins/keyfile/nm-keyfile-connection.c
14 system-settings/src/main.c
15 - Use more detailed errors
17 * system-settings/src/nm-system-config-error.c
18 system-settings/src/nm-system-config-error.h
19 system-settings/src/dbus-settings.c
20 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
21 NM_SETTINGS_ERROR_INVALID_CONNECTION
23 2008-11-02 Dan Williams <dcbw@redhat.com>
25 * Add license headers to everything in src/
27 2008-11-02 Dan Williams <dcbw@redhat.com>
31 2008-11-02 Dan Williams <dcbw@redhat.com>
33 * src/NetworkManagerAP.c
34 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
35 setting as unencrypted; fixes a bug where NM wouldn't ask for new
36 secrets when connecting to an encrypted network failed
38 2008-10-30 Dan Williams <dcbw@redhat.com>
40 * libnm-util/libnm-util.ver
41 libnm-util/nm-setting-ip6-config.c
42 libnm-util/nm-setting-ip6-config.h
43 libnm-util/Makefile.am
44 - Make properties private and add accessor functions
45 - Hide IPv6 stuff from public API, it's incomplete and completely unused
47 * libnm-util/nm-connection.c
50 - Ignore IPv6 stuff for now
52 2008-10-30 Dan Williams <dcbw@redhat.com>
54 * libnm-util/libnm-util.ver
55 libnm-util/nm-setting-8021x.c
56 libnm-util/nm-setting-8021x.h
57 - Make properties private and add accessor functions
59 * src/supplicant-manager/nm-supplicant-config.c
60 system-settings/plugins/ifcfg-suse/parser.c
61 - Use 802.1x setting accessors
63 2008-10-30 Dan Williams <dcbw@redhat.com>
65 * libnm-util/libnm-util.ver
66 libnm-util/nm-setting-wireless-security.c
67 libnm-util/nm-setting-wireless-security.h
68 - Make properties private and add accessor functions
70 * libnm-util/nm-setting-wireless.c
71 src/NetworkManagerAP.c
73 src/supplicant-manager/nm-supplicant-config.c
74 system-settings/plugins/ifcfg-fedora/reader.c
75 system-settings/plugins/ifcfg-suse/parser.c
76 - Use wireless security accessors
78 2008-10-30 Dan Williams <dcbw@redhat.com>
80 * src/nm-device-ethernet.c
83 src/ppp-manager/nm-ppp-manager.c
84 - Harmonize return checking of ioctl
86 * system-settings/plugins/ifcfg-fedora/reader.c
87 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
89 2008-10-30 Dan Williams <dcbw@redhat.com>
91 * src/ppp-manager/nm-ppp-manager.c
92 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
93 ppp_generic module to create it (bgo #533064)
95 2008-10-30 Dan Williams <dcbw@redhat.com>
97 Patch from Alexander Sack <asac@canonical.com>
99 Fix "ppp connections don't honour ip4 connection settings"
101 * src/nm-device-ethernet.c
102 - (real_act_stage4_get_ip4_config): merge ip4config settings
103 with results from ppp manager
105 * src/nm-serial-device.c
106 - (real_act_stage4_get_ip4_config): merge ip4config settings
107 with results from ppp manager
109 2008-10-29 Dan Williams <dcbw@redhat.com>
111 * libnm-util/libnm-util.ver
112 libnm-util/nm-setting-ip4-config.c
113 libnm-util/nm-setting-ip4-config.h
114 - Make properties private and add accessor functions
116 * callouts/nm-dispatcher-action.c
117 libnm-glib/libnm-glib-test.c
118 libnm-util/nm-utils.c
119 src/NetworkManagerPolicy.c
120 src/NetworkManagerSystem.c
121 src/NetworkManagerUtils.c
122 src/dhcp-manager/nm-dhcp-dhclient.c
123 src/dhcp-manager/nm-dhcp-manager.c
124 src/dnsmasq-manager/nm-dnsmasq-manager.c
127 src/nm-hso-gsm-device.c
130 src/ppp-manager/nm-ppp-manager.c
131 src/vpn-manager/nm-vpn-connection.c
132 system-settings/plugins/ifcfg-fedora/reader.c
133 system-settings/plugins/ifcfg-suse/parser.c
134 system-settings/plugins/ifcfg-suse/plugin.c
135 system-settings/plugins/ifupdown/parser.c
137 vpn-daemons/vpnc/properties/nm-vpnc.c
138 - Use IP4 accessor functions
140 2008-10-29 Tambet Ingo <tambet@gmail.com>
142 Half of it by Dan Williams <dcbw@redhat.com>
144 * libnm-util/libnm-util.ver
145 libnm-util/nm-setting-vpn.c
146 libnm-util/nm-setting-vpn.h
147 - Make properties private and add accessor functions.
149 * src/vpn-manager/nm-vpn-connection.c
150 src/vpn-manager/nm-vpn-manager.c
151 system-settings/plugins/keyfile/reader.c
152 vpn-daemons/openvpn/properties/auth-helpers.c
153 vpn-daemons/openvpn/properties/import-export.c
154 vpn-daemons/openvpn/properties/nm-openvpn.c
155 vpn-daemons/openvpn/src/nm-openvpn-service.c
156 vpn-daemons/pptp/auth-dialog/main.c
157 vpn-daemons/pptp/properties/advanced-dialog.c
158 vpn-daemons/pptp/properties/nm-pptp.c
159 vpn-daemons/pptp/src/nm-pptp-service.c
160 vpn-daemons/vpnc/properties/nm-vpnc.c
161 vpn-daemons/vpnc/src/nm-vpnc-service.c
162 - Use VPN setting accessors.
164 2008-10-28 Dan Williams <dcbw@redhat.com>
166 Patch from Tambet Ingo <tambet@gmail.com>
168 * libnm-util/libnm-util.ver
169 libnm-util/nm-setting-wireless.c
170 libnm-util/nm-setting-wireless.h
171 - Make properties private and add accessor functions
173 * src/NetworkManagerAP.c
176 src/supplicant-manager/nm-supplicant-config.c
177 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
178 system-settings/plugins/ifcfg-fedora/reader.c
179 system-settings/plugins/ifcfg-suse/parser.c
180 system-settings/plugins/ifupdown/parser.c
181 - Use wireless setting accessors
183 2008-10-27 Dan Williams <dcbw@redhat.com>
185 Patch from Tambet Ingo <tambet@gmail.com>
187 * libnm-util/libnm-util.ver
188 libnm-util/nm-setting-ppp.c
189 libnm-util/nm-setting-ppp.h
190 - Make properties private and add accessor functions
192 * src/ppp-manager/nm-ppp-manager.c
193 - Use ppp setting accessors
195 2008-10-27 Dan Williams <dcbw@redhat.com>
197 Patch from Tambet Ingo <tambet@gmail.com>
199 * libnm-util/nm-setting.h
200 libnm-util/nm-setting.c
201 - Make properties private and add accessor functions
203 * libnm-util/nm-connection.c
204 libnm-util/nm-setting-8021x.c
205 libnm-util/nm-setting-cdma.c
206 libnm-util/nm-setting-connection.c
207 libnm-util/nm-setting-gsm.c
208 libnm-util/nm-setting-ip4-config.c
209 libnm-util/nm-setting-ip6-config.c
210 libnm-util/nm-setting-ppp.c
211 libnm-util/nm-setting-pppoe.c
212 libnm-util/nm-setting-serial.c
213 libnm-util/nm-setting-template.c
214 libnm-util/nm-setting-vpn.c
215 libnm-util/nm-setting-wired.c
216 libnm-util/nm-setting-wireless-security.c
217 libnm-util/nm-setting-wireless.c
218 system-settings/plugins/keyfile/reader.c
219 system-settings/plugins/keyfile/writer.c
220 - Use setting accessors
222 2008-10-27 Dan Williams <dcbw@redhat.com>
224 * libnm-util/libnm-util.ver
225 libnm-util/nm-setting-connection.c
226 libnm-util/nm-setting-connection.h
227 - Add a 'read-only' property that indicates the connection cannot be
230 * system-settings/plugins/ifcfg-fedora/reader.c
231 system-settings/plugins/ifcfg-suse/parser.c
232 system-settings/plugins/ifupdown/parser.c
233 - These plugins are read-only at the moment
235 * system-settings/plugins/keyfile/reader.c
236 system-settings/plugins/keyfile/writer.c
237 - Read-only shouldn't get saved out to files or read in from them
239 2008-10-27 Tambet Ingo <tambet@gmail.com>
241 * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
242 correct speed reporting for fast devices (kernel >= 2.6.27).
244 2008-10-26 Dan Williams <dcbw@redhat.com>
246 Attempt to compensate for modems that don't enable full AT parsing before
247 the PIN has been entered.
249 * src/nm-gsm-device.c
250 - (init_modem): accept different init strings
251 - (init_done): try different init strings on failure
252 - (check_pin_done): on PIN success, do full modem init
254 2008-10-26 Dan Williams <dcbw@redhat.com>
256 Patch from Tambet Ingo <tambet@gmail.com>
258 * libnm-util/libnm-util.ver
259 libnm-util/nm-setting-connection.c
260 libnm-util/nm-setting-connection.h
261 - Make properties private and add accessor functions
263 * src/NetworkManagerPolicy.c
265 src/nm-device-ethernet.c
266 src/nm-device-interface.c
270 src/ppp-manager/nm-ppp-manager.c
271 src/vpn-manager/nm-vpn-connection.c
272 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
273 system-settings/plugins/ifcfg-fedora/plugin.c
274 system-settings/plugins/ifcfg-fedora/reader.c
275 system-settings/plugins/ifcfg-suse/parser.c
276 system-settings/plugins/ifupdown/parser.c
277 system-settings/plugins/keyfile/nm-keyfile-connection.c
278 system-settings/plugins/keyfile/plugin.c
279 system-settings/plugins/keyfile/writer.c
280 system-settings/src/main.c
281 - Use those accessors
283 2008-10-26 Dan Williams <dcbw@redhat.com>
285 Patch from Tambet Ingo <tambet@gmail.com>
287 * libnm-util/libnm-util.ver
288 libnm-util/nm-setting-gsm.c
289 libnm-util/nm-setting-gsm.h
290 - Make properties private and add accessor functions
292 * src/nm-gsm-device.c
293 src/nm-hso-gsm-device.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-cdma.c
303 libnm-util/nm-setting-cdma.h
304 - Make properties private and add accessor functions
306 * src/nm-cdma-device.c
307 src/ppp-manager/nm-ppp-manager.c
308 - Use those accessors
310 2008-10-26 Dan Williams <dcbw@redhat.com>
312 Patch from Tambet Ingo <tambet@gmail.com>
314 * libnm-util/libnm-util.ver
315 libnm-util/nm-setting-pppoe.c
316 libnm-util/nm-setting-pppoe.h
317 - Make properties private and add accessor functions
319 * src/nm-device-ethernet.c
320 src/ppp-manager/nm-ppp-manager.c
321 - Use those accessors
323 2008-10-26 Dan Williams <dcbw@redhat.com>
325 Patch from Tambet Ingo <tambet@gmail.com>
327 * libnm-util/libnm-util.ver
328 libnm-util/nm-setting-wired.c
329 libnm-util/nm-setting-wired.h
330 - Make properties private and add accessor functions
332 * src/nm-device-ethernet.c
333 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
334 system-settings/plugins/ifcfg-suse/parser.c
335 system-settings/src/main.c
336 - Use those accessors
338 2008-10-26 Dan Williams <dcbw@redhat.com>
340 Patch from Tambet Ingo <tambet@gmail.com>
342 * libnm-util/libnm-util.ver
343 libnm-util/nm-setting-serial.c
344 libnm-util/nm-setting-serial.h
345 src/nm-serial-device.c
346 - Make properties private and use accessors instead
348 2008-10-26 Dan Williams <dcbw@redhat.com>
350 * src/supplicant-manager/nm-supplicant-interface.c
351 src/supplicant-manager/nm-supplicant-interface.h
352 src/supplicant-manager/nm-supplicant-manager.c
353 src/supplicant-manager/nm-supplicant-manager.h
354 - Add state-to-string conversion functions
356 * src/nm-device-wifi.c
357 src/nm-device-ethernet.c
358 - Normalize state info logging and use strings instead of numbers
360 2008-10-26 Dan Williams <dcbw@redhat.com>
362 * src/NetworkManagerPolicy.c
363 - (update_routing_and_dns): ignore host routes when determining whether
364 a VPN connection should own the default route (bgo #552594)
366 2008-10-24 Dan Williams <dcbw@redhat.com>
368 * src/nm-gsm-device.c
369 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
371 2008-10-23 Dan Williams <dcbw@redhat.com>
373 * src/ppp-manager/nm-ppp-manager.c
374 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
375 add really important stuff to the command line to ensure that NM
376 overrides /etc/ppp/options (bgo #556781)
378 2008-10-22 Dan Williams <dcbw@redhat.com>
380 * src/NetworkManagerSystem.c
382 - Use the device's IP interface where appropriate (Per Hallsmark)
384 2008-10-22 Dan Williams <dcbw@redhat.com>
386 * src/nm-gsm-device.c
387 - (schedule_automatic_registration_again): use a short timeout here
388 instead of an idle handler to avoid using too much CPU polling for
389 something we should be waiting a bit for anyway
391 2008-10-22 Dan Williams <dcbw@redhat.com>
393 * include/NetworkManager.h
394 introspection/nm-device.xml
395 - Add device state change reason for carrier changes
397 * src/nm-device-ethernet.c
398 - (set_carrier): use the carrier change reason when changing device
399 state in response to carrier changes
401 2008-10-21 Dan Williams <dcbw@redhat.com>
403 * src/NetworkManagerPolicy.c
404 - (update_etc_hosts): don't leak errors, and ensure that
405 g_file_set_contents() gets a valid error placeholder (rh #461933)
407 2008-10-21 Dan Williams <dcbw@redhat.com>
410 - (free_get_settings_info): don't use the DBusGProxy which could be
411 disposed of by the time the function is called
412 - (internal_new_connection_cb): save connection scope
413 - (connection_get_settings_cb): don't replace a connection unless it's
414 actually different from the existing one; fixes an issue where
415 killing the settings service wouldn't deactivate an active connection
416 provided by that settings service, because it was using a connection
417 that had already been replaced in the system or user hash
419 2008-10-21 Dan Williams <dcbw@redhat.com>
421 * src/NetworkManager.c
422 - (main): keep the DHCP manager around since it's a singleton; fixes
423 a use-after-free exposed by r4196 since the DHCP manager singleton
424 variable isn't cleared when the DHCP manager object is finalized
426 2008-10-20 Dan Williams <dcbw@redhat.com>
428 * libnm-util/nm-setting-wireless-security.c
429 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
431 2008-10-20 Dan Williams <dcbw@redhat.com>
433 * src/supplicant-manager/nm-supplicant-config.c
434 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
436 2008-10-20 Dan Williams <dcbw@redhat.com>
438 * src/dhcp-manager/nm-dhcp-manager.c
439 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
440 manager object already refs it once
441 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
442 also get cleaned up by nm_dhcp_device_destroy() to prevent
445 2008-10-20 Dan Williams <dcbw@redhat.com>
448 - (initial_get_connections): use private dbus manager, don't keep
449 ref-ing the singleton. Fixes mismatched refcounts of the dbus
452 2008-10-18 Dan Williams <dcbw@redhat.com>
454 * libnm-glib/nm-settings.c
455 libnm-glib/nm-settings.h
456 - Rename the "get_secrets" virtual function "service_get_secrets" to
457 clarify when it's used; NMExportedConnetion is a base-class for both
458 the client and service side, which is sort of confusing, and
459 get_secrets only makes sense on the service side.
461 * libnm-glib/nm-dbus-connection.c
462 - (get_secrets): remove, unused, and clients need to do extra work to
463 get secrets anyway since the call can block on the remote side
465 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
466 system-settings/plugins/keyfile/nm-keyfile-connection.c
467 - Fix up for get_secrets -> service_get_secrets
469 2008-10-16 Dan Williams <dcbw@redhat.com>
471 * src/nm-device-wifi.c
472 - (constructor): correctly determine encryption capabilities
474 2008-10-15 Dan Williams <dcbw@redhat.com>
476 * src/nm-device-wifi.c
477 - (wireless_qual_to_percent): fix quality calculation in a fallback case
480 2008-10-15 Dan Williams <dcbw@redhat.com>
482 * src/NetworkManagerSystem.c
483 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
484 if the ip4_dest is in a smaller subnet contained within a subnet
485 the machine is currently on, the destination is in the same subnet
486 - (nm_system_device_set_ip4_route): move subnet checks to callers
487 - (add_vpn_gateway_route): check if the VPN gateway is in the same
488 subnet as the parent device, and if so, don't add the direct
489 host route via the parent device's gateway (bgo #481620)
490 - (nm_system_apply_ip4_config): check whether the route to be added
491 is contained within a subnet the device is already on
493 2008-10-11 Dan Williams <dcbw@redhat.com>
495 * include/NetworkManager.h
496 introspection/nm-device.xml
497 include/NetworkManagerVPN.h
498 - Add a few more state reasons for the device deactivated state
500 * src/nm-device-interface.c
501 src/nm-device-interface.h
502 - (nm_device_interface_deactivate): add a 'reason' argument
506 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
507 - (nm_device_state_changed): pass the state change reason to
508 nm_device_take_down()
509 - (nm_device_set_managed): take a 'reason' argument, and pass it along
510 to the state change function
514 - (remove_one_device, handle_unmanaged_devices, sync_devices,
515 impl_manager_sleep): pass a reason code to nm_device_set_managed()
516 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
517 something reasonable along to VPN deactivation
519 * src/vpn-manager/nm-vpn-manager.c
520 src/vpn-manager/nm-vpn-manager.h
521 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
522 pass that along to nm_vpn_connection_disconnect()
524 2008-10-11 Dan Williams <dcbw@redhat.com>
526 * src/nm-device-wifi.c
527 - (can_scan): remove old madwifi hack for not scanning while connected
529 2008-10-11 Dan Williams <dcbw@redhat.com>
531 Add support for VPN subnet gateways (bgo #549196)
533 * include/NetworkManager.h
534 - Add key for internal VPN subnet gateway
536 * src/vpn-manager/nm-vpn-connection.c
537 - (ip_address_to_string): return a const from a static buffer so we
538 don't leak a lot of strings
539 - (print_vpn_config): print internal VPN gateway as well
540 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
542 - (nm_vpn_connection_get_ip4_internal_gateway): new function
544 * src/NetworkManagerSystem.c
545 src/NetworkManagerSystem.h
546 - (nm_system_device_replace_default_ip4_route): split into two, one for
547 VPN connections and one for normal devices
548 - (replace_default_ip4_route): break out route stuff into its own function
549 - (nm_system_replace_default_ip4_route_vpn,
550 nm_system_replace_default_ip4_route): simplify by having two cases,
551 one for VPNs and one for normal devices
553 * src/NetworkManagerPolicy.c
554 - (update_routing_and_dns): simplify, use split default route replacement
557 2008-10-10 Dan Williams <dcbw@redhat.com>
559 Rework default route handling to consolidate decisions in the policy,
560 and to take active VPN connections into account when changing the default
563 * src/NetworkManager.c
564 - (main): pass the vpn_manager to the policy so it knows about active
565 VPN connections; clean up the named manager which wasn't done before
567 * src/NetworkManagerPolicy.c
568 src/NetworkManagerPolicy.h
569 - (nm_policy_new): get a clue about the vpn_manager
570 - (update_default_route): remove, fold into update_routing_and_dns()
571 - (update_routing_and_dns): handle active VPN connections too; an
572 active VPN connection becomes the default route if it does not have
573 server-specified or user-specified custom routes. Otherwise, the
574 best active device gets the default route
575 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
576 nm_policy_destroy): track VPN connection activation and deactivation
577 and update the default route when appropriate
579 * src/NetworkManagerSystem.c
580 src/NetworkManagerSystem.h
581 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
582 in the VPN connection itself
583 - (nm_system_vpn_device_set_from_ip4_config,
584 nm_system_device_set_from_ip4_config): merge together to make
585 nm_system_apply_ip4_config()
586 - (add_vpn_gateway_route): add a route to the VPN's external gateway
587 via the parent device
588 - (nm_system_apply_ip4_config): simplify
589 - (add_ip4_route_to_gateway): new function; add a direct route to the
591 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
592 route stuff out into add_ip4_route_to_gateway() for clarity
595 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
597 * src/vpn-manager/nm-vpn-connection.c
598 src/vpn-manager/nm-vpn-connection.h
599 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
600 nm_vpn_connection_get_parent_device): add
601 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
603 - (connection_state_changed): update the named manager now that
604 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
607 * src/vpn-manager/nm-vpn-manager.c
608 src/vpn-manager/nm-vpn-manager.h
609 - Add a 'connection-activated' signal
610 - (nm_vpn_manager_get_active_connections): new function; mainly for the
611 policy to find out about active VPN connections
613 2008-10-10 Tambet Ingo <tambet@gmail.com>
615 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
616 a daemon to prevent NM logging spew on console on startup and shutdown (due
617 to dependency loop between NM and syslog).
619 2008-10-10 Alexander Sack <asac@ubuntu.com>
621 Implement managed mode. We bind devices configured in /etc/network/interfaces
622 to their connections by updating wired/wireless setting with the
623 mac address of the device.
625 * system-settings/plugins/ifupdown/plugin.c
626 - (get_net_address_for_udi): implement function to retrieve MAC
627 address of udi from hal in GByteArray format
628 - (bind_device_to_connection): bind mac address of device to
629 wired/wireless system connection
630 - (hal_device_added_cb): call bind_device_to_connection for
631 system connections with a matching interface.name
632 - (hal_device_added_cb): ensure that all code paths
633 properly free the "iface" string.
635 2008-10-10 Alexander Sack <asac@ubuntu.com>
637 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
638 mode of the ifupdown system config plugin.
640 * system-settings/plugins/ifupdown/plugin.c
641 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
642 private unmanage_well_known state field accordingly
644 2008-10-10 Alexander Sack <asac@ubuntu.com>
646 Implement unmanaged mode that will prevent all devices in the
647 well_known_udis set from being touched by NetworkManager
649 * system-settings/plugins/ifupdown/plugin.c
650 - (typedef struct SCPluginIfupdownPrivate): add gboolean
651 unmanage_well_known field used to turn on/off unmanaged
653 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
654 signal when well_known_udis get added/removed
655 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
656 if we are in unmanaged mode
658 2008-10-10 Alexander Sack <asac@ubuntu.com>
660 Add support to track network devices that have a configuration
661 with a matching interface.name in /etc/network/interfaces
663 * system-settings/plugins/ifupdown/plugin.c
664 - (typedef struct SCPluginIfupdownPrivate): add hash table
665 to track |well_known_udis|
666 - (get_iface_for_udi): helper function to get interface.name
668 - (hal_device_added_cb, hal_device_removed_cb): callbacks
669 that add and remove devices to and from the well_known_udis
670 set depending on whether their |interface.name| matches
671 any interface definition in /etc/network/interfaces
672 - (SCPluginIfupdown_init): connect callbacks from above with
673 hal_mgr and setup well_known_udis hashtable
674 - (GObject__dispose): destroy well_known_udis hashtable
675 - (hal_device_added_cb2): implement wrapper callback with GFunc
676 signature. user_data is supposed to be a triple (hal_mgr,
678 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
679 startup and call hal_device_added_cb2
681 2008-10-10 Alexander Sack <asac@ubuntu.com>
683 Remove implementation for not used NMSystemConfigInterface callback functions
686 * system-settings/plugins/ifupdown/plugin.c
687 - (SCPluginIfupdown_unmanaged_devices_changed): removed
688 - (SCPluginIfupdown_connection_added): removed
690 2008-10-08 Dan Williams <dcbw@redhat.com>
692 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
694 * src/NetworkManagerUtils.c
695 - (nm_utils_call_dispatcher): add a 'hostname' action
697 * src/NetworkManagerPolicy.c
698 - (set_system_hostname): dispatch hostname changes
700 * callouts/nm-dispatcher-action.c
701 - (nm_dispatcher_action): handle 'hostname' actions
703 2008-10-08 Dan Williams <dcbw@redhat.com>
705 * src/NetworkManagerSystem.c
706 - (find_route): ref the route so it doesn't get destroyed when the cache
708 - (nm_system_device_set_priority): unref the route here after it's done
711 2008-10-08 Dan Williams <dcbw@redhat.com>
713 * src/nm-serial-device.c
714 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
716 2008-10-08 Tambet Ingo <tambet@gmail.com>
718 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
719 connection with new settings before saving it.
721 2008-10-06 Dan Williams <dcbw@redhat.com>
723 * src/nm-ip4-config.c
725 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
727 * src/nm-device-interface.c
728 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
729 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
730 by using '/' for the object path
733 - (src/nm-device.c): marshal missing/unexported ip4-config through
734 dbus as '/' since dbus-glib can't handle NULL objects nor can
735 dbus handle NULL object paths
737 2008-10-03 Alexander Sack <asac@ubuntu.com>
739 Implement system hostname support for debian/ubuntu
741 * system-settings/plugins/ifupdown/plugin.c
742 - (GObject__get_property): extend announced capabilities; add
743 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
744 - (GObject__set_property,write_system_hostname): implement
745 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
746 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
747 update_system_hostname, get_hostname):
748 implement hostname property that watches and
751 2008-10-03 Alexander Sack <asac@ubuntu.com>
753 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
754 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
755 system-settings/plugins/ifcfg-fedora/Makefile.am
756 system-settings/src/nm-inotify-helper.c
757 system-settings/src/nm-inotify-helper.h
759 - Move ifcfg-fedora inotify helpers to the system settings service so
760 they are available to all plugins
762 2008-10-03 Alexander Sack <asac@ubuntu.com>
764 Implement support for wep-tx-keyidx in ifupdown system
767 * system-settings/plugins/ifupdown/parser.c
768 - (update_wireless_security_setting_from_if_block): introduce
769 free_type_mapping func table; rename a few local
770 variables to improve readability; add wpa security mapping
771 for wep-tx-keyidx property
772 - (string_to_gpointerint): new function used for the auto_type_mapping
773 of new wep-tx-keyidx property
774 - (slist_free_all): free func used for mapped slist types
776 2008-10-03 Alexander Sack <asac@ubuntu.com>
778 * system-settings/src/main.c:
779 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
780 always used as the hash key; fixes a crash when removing wired
783 2008-10-02 Dan Williams <dcbw@redhat.com>
785 * src/nm-gsm-device.c
786 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
787 pass the required GSM secret along via user_data rather than keeping
788 it around in the private data where it sometimes didn't get cleared
789 - (real_get_ppp_name): implement using the GSM username
791 2008-10-02 Dan Williams <dcbw@redhat.com>
793 * src/ppp-manager/nm-ppp-manager.c
794 src/ppp-manager/nm-ppp-manager.h
795 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
796 the settings daemon for completely new ones
797 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
798 local PPP peer name; allow PPP debuging by launching NM with
799 the environment variable NM_PPP_DEBUG defined
800 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
801 create_pppd_cmd_line()
803 * src/nm-serial-device.c
804 src/nm-serial-device.h
805 - New 'get_ppp_name' function for subclasses to implement to return the
807 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
808 and pass that name to the PPP manager
810 * src/nm-device-ethernet.c
811 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
814 * src/nm-cdma-device.c
815 - (real_get_ppp_name): implement using the CDMA username
817 2008-10-02 Dan Williams <dcbw@redhat.com>
819 Patch from Alexander Sack <asac ubuntu com>
821 * system-settings/plugins/ifupdown/parser.c
822 - Implement more graceful ip4 config parsing for cases where
823 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
824 by using default values
826 2008-10-02 Dan Williams <dcbw@redhat.com>
828 * src/NetworkManagerPolicy.c
829 - (device_state_changed): when marking a connection invalid, clear its
830 secrets too so that fresh secrets get requested the next time
832 2008-10-01 Dan Williams <dcbw@redhat.com>
834 * system-settings/src/dbus-settings.c
835 - (nm_sysconfig_settings_init): cache system hostname on startup as
836 a fallback if no plugin provides a hostname
837 - (get_property): fall back to cached hostname if no plugin provides
840 2008-10-01 Dan Williams <dcbw@redhat.com>
842 Fix setting value comparison issue that caused some settings to look the
843 same when they were really different (rh #464417)
845 * libnm-util/nm-param-spec-specialized.c
846 - (type_is_fixed_size): return fundamental size of the fixed type too
847 - (nm_gvalues_compare_collection): use the fundamental fixed type size
848 in the comparison so that the _entire_ fixed type collection gets
849 compared rather than just the first 'len1' bytes
851 2008-09-30 Dan Williams <dcbw@redhat.com>
853 * src/NetworkManagerPolicy.c
854 - (lookup_thread_worker): don't store the idle handler ID becuase the
855 idle handler could have already run and freed the LookupThread
858 2008-09-30 Tambet Ingo <tambet@gmail.com>
860 * src/nm-device.c (nm_device_get_priority): Implement.
861 (nm_device_set_ip4_config): Send the device priority to system ip4
864 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
865 Add priority argument and if it's >= 0, set the priority of the network
866 route added automatically by netlink (or kernel?).
867 (nm_system_device_set_priority): Implement.
869 * src/NetworkManagerPolicy.c (get_best_device): Use
870 nm_device_get_priority() instead of home-grown version. Revert the
871 meaning, best priority is the lowest one.
873 2008-09-29 Dan Williams <dcbw@redhat.com>
875 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
876 when it returns EAGAIN (rh #362421)
878 * src/nm-device-wifi.c
879 - (wireless_get_range): try GIWRANGE a few times until the card responds
880 - (real_get_generic_capabilities, constructor): use wireless_get_range()
882 2008-09-28 Dan Williams <dcbw@redhat.com>
884 * src/nm-serial-device.c
885 src/nm-serial-device.h
886 - (nm_serial_device_close): stop PPP manager here so that PPP gets
887 cleaned at the right times when subclasses close the serial port too
888 - (nm_serial_device_send_command): use a default send delay; don't
889 spin forever on EAGAIN
890 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
891 remove, no longer used
892 - (find_response): return the matched response if any
893 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
895 - (wait_for_reply_done): pass the matched response to the callback
896 - (wait_for_reply_got_data): save the matched response; simplify timeout
898 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
899 const since they never get modified
900 - (cleanup_device): split out common cleanup stuff to a new function
901 - (real_deactivate_quickly, finalize): use cleanup_device()
903 * src/nm-gsm-device.c
904 - (modem_get_reply): remove, unused
905 - (set_apn): give the card a bit more time to respond
906 - (manual_registration_again, schedule_manual_registration_again,
907 manual_registration_response, manual_registration): handle manual
908 registration timeouts better by retrying registration a few times
909 because cards are a bit slow after CFUN=1
910 - (automatic_registration_get_network, get_network_response): use
911 modem_wait_for_reply() because it interacts better with the serial
912 buffer and does more intelligent matching; need to wait for 'OK'
913 rather than just matching terminators
914 - (schedule_automatic_registration_again,
915 automatic_registration_response, automatic_registration): retry
916 registration a few times on timeout or "searching" because cards
917 take a bit to find a network after being powered up with CFUN=1
918 - (power_up_response, power_up, init_full_done, enter_pin,
919 check_pin_done): power up the card with CFUN=1 before trying to
920 register with the network
921 - (init_modem_full, init_modem): use more standard 3G init strings
923 * src/nm-hso-gsm-device.c
924 - (modem_get_reply): remove, unused
925 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
926 modem_wait_for_reply() to match actual responses instead of single
927 termination characters; it doesn't leave stuff in the serial buffer
928 that might confuse later calls
929 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
930 to ensure that the call is really disconnected and not leave extra
931 stuff in the serial buffer
933 * src/nm-cdma-device.c
934 - (power_up_response, power_up, init_done): try Sierra-style modem
935 power up before attempting to connect
937 2008-09-27 Dan Williams <dcbw@redhat.com>
939 * libnm-util/nm-setting-gsm.c
940 - (verify): verify GSM network ID
942 2008-09-25 Dan Williams <dcbw@redhat.com>
944 * libnm-util/nm-setting-gsm.c
945 libnm-util/nm-setting-gsm.h
946 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
947 technology terms (bgo #551361)
949 2008-09-25 Dan Williams <dcbw@redhat.com>
951 Fix bgo #549401 (inspired by patch from Alexander Sack)
953 * src/nm-device-ethernet.c
954 - (finish_supplicant_task): clean up scheduled tasks and free memory
955 - (remove_supplicant_interface_error_handler): remove the supplicant
956 error idle callback too
957 - (supplicant_interface_release): rename from supplicant_interface_clean
958 to match nm-device-wifi.c; clean up supplicant interface-related
959 state tasks when the supplicant interface is disposed of
960 - (schedule_state_handler): add scheduled tasks to a list so they can
962 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
963 supplicant_iface_connection_state_cb_handler): use
964 finish_supplicant_task() to clean up each completed task
965 - (supplicant_iface_connection_error_cb_handler,
966 supplicant_connection_timeout_cb): clear source id when the task is
968 - (supplicant_iface_connection_error_cb): save scheduled task id for
970 - (nm_device_ethernet_dispose): clean up any pending supplicant state
973 * src/nm-device-wifi.c
974 - (finish_supplicant_task): clean up scheduled tasks and free memory
975 - (remove_supplicant_interface_error_handler): remove the supplicant
976 error idle callback too
977 - (supplicant_interface_release): clean up supplicant interface-related
978 state tasks when the supplicant interface is disposed of
979 - (schedule_state_handler): add scheduled tasks to a list so they can
981 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
982 supplicant_iface_connection_state_cb_handler): use
983 finish_supplicant_task() to clean up each completed task
984 - (supplicant_iface_connection_error_cb_handler): clear source id when
986 - (supplicant_iface_connection_error_cb): save scheduled task id for
988 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
990 2008-09-24 Tambet Ingo <tambet@gmail.com>
992 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
993 method and get/set hostname property.
995 2008-09-24 Tambet Ingo <tambet@gmail.com>
997 * src/supplicant-manager/nm-supplicant-interface.c
998 (nm_supplicant_interface_disconnect): Don't increment the reference
999 count when disconnecting. The problem is on shutdown, when the replies
1000 to these commands do not arrive before NM exits, resulting on never
1001 calling supplicant interface's dispose(), which removes the interface
1004 2008-09-24 Tambet Ingo <tambet@gmail.com>
1006 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1007 all the public function arguments.
1009 2008-09-22 Tambet Ingo <tambet@gmail.com>
1011 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1012 "Failure" signal from VPN plugins, store the failure reason, and
1013 use it when the state is changed to failure.
1015 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1018 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1019 reason to the end of the list to not break the API.
1020 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1021 so it can be shared by plugins and daemon.
1023 2008-09-18 Dan Williams <dcbw@redhat.com>
1025 Patch from Alexander Sack <asac@ubuntu.com>
1028 system-settings/plugins/Makefile.am
1029 system-settings/plugins/ifupdown/Makefile.am
1030 system-settings/plugins/ifupdown/interface_parser.c
1031 system-settings/plugins/ifupdown/interface_parser.h
1032 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1033 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1034 system-settings/plugins/ifupdown/parser.c
1035 system-settings/plugins/ifupdown/parser.h
1036 system-settings/plugins/ifupdown/plugin.c
1037 system-settings/plugins/ifupdown/plugin.h
1038 - Implement a Debian/Ubuntu legacy network configuration plugin
1041 2008-09-18 Dan Williams <dcbw@redhat.com>
1043 Implement support for honoring configured and automatic hostnames, and for
1044 setting the configured hostname.
1046 * introspection/nm-ip4-config.xml
1049 src/dhcp-manager/nm-dhcp-manager.c
1050 - Remove useless hostname property; it's not really part of the IPv4
1053 * introspection/nm-settings-system.xml
1054 libnm-glib/nm-dbus-settings-system.c
1055 libnm-glib/nm-dbus-settings-system.h
1056 - Add SetHostname() call to system settings D-Bus interface
1057 - Add Hostname property to system settings D-Bus interface
1058 - (nm_dbus_settings_system_save_hostname,
1059 nm_dbus_settings_system_get_hostname): implement
1063 - (nm_device_get_dhcp4_config): implement
1067 - Fetch and track system settings service hostname changes, and proxy
1068 the changes via a GObject property of the manager
1070 * system-settings/src/nm-system-config-interface.c
1071 system-settings/src/nm-system-config-interface.h
1072 - Replace nm_system_config_interface_supports_add() with a capabilities
1075 * system-settings/src/nm-system-config-error.c
1076 system-settings/src/nm-system-config-error.h
1077 - Add additional errors
1079 * system-settings/src/dbus-settings.c
1080 system-settings/src/dbus-settings.h
1081 - (get_property, nm_sysconfig_settings_class_init): add hostname
1082 property; first plugin returning a hostname wins
1083 - (impl_settings_add_connection): use plugin capabilities instead of
1084 nm_system_config_interface_supports_add()
1085 - (impl_settings_save_hostname): implement hostname saving
1087 * src/NetworkManagerPolicy.c
1088 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1089 lookup_thread_die): implement an asynchronous hostname lookup thread
1090 which given an IPv4 address tries to look up the hostname for that
1091 address with reverse DNS
1092 - (get_best_device): split out best device code from
1093 update_routing_and_dns()
1094 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1095 to preserve the 127.0.0.1 reverse mapping that so many things require
1096 - (set_system_hostname): set a given hostname
1097 - (update_system_hostname): implement hostname policy; a configured
1098 hostname (from the system settings service) is used if available,
1099 otherwise an automatically determined hostname from DHCP, VPN, etc.
1100 If there was no automatically determined hostname, reverse DNS of
1101 the best device's IP address will be used, and as a last resort the
1102 hostname 'localhost.localdomain' is set.
1103 - (update_routing_and_dns): use get_best_device(); update the system
1104 hostname when the network config changes
1105 - (hostname_changed): update system hostname if the system settings
1106 service signals a hostname change
1107 - (nm_policy_new): list for system settings service hostname changes
1108 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1111 * system-settings/plugins/keyfile/plugin.c
1112 system-settings/plugins/ifcfg-suse/plugin.c
1113 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1114 capabilities properties
1116 * system-settings/plugins/ifcfg-fedora/shvar.c
1117 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1118 writes out /etc/sysconfig/network now
1120 * system-settings/plugins/ifcfg-fedora/plugin.c
1121 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1122 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1123 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1124 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1125 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1126 hostname get/set and capabilities get
1128 2008-09-18 Dan Williams <dcbw@redhat.com>
1130 * libnm-util/nm-setting-wireless.c
1131 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1132 group ciphers if the wireless-security setting explicitly specified
1133 them, effectively making the default be "all ciphers" (idea from
1136 2008-09-15 Dan Williams <dcbw@redhat.com>
1138 Patch from Alexander Sack <asac@ubuntu.com>
1140 * src/named-manager/nm-named-manager.c
1141 - (dispatch_resolvconf): respect resolvconf exit code
1143 2008-09-12 Tambet Ingo <tambet@gmail.com>
1145 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1146 again. Add some debugging.
1148 2008-09-11 Dan Williams <dcbw@redhat.com>
1150 * system-settings/plugins/keyfile/plugin.c
1151 - (update_connection_settings): update connection manually, since
1152 nm_exported_connection_update() does authentication
1153 - (dir_changed): update_connection_settings() doesn't need to return
1156 2008-09-09 Dan Williams <dcbw@redhat.com>
1158 * libnm-glib/nm-vpn-plugin-ui-interface.c
1159 libnm-glib/nm-vpn-plugin-ui-interface.h
1160 libnm-glib/libnm_glib_vpn.ver
1161 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1162 should clean up resources related to the connection (like keyring
1164 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1165 should save user-scope secrets (like to the keyring)
1167 2008-09-08 Dan Williams <dcbw@redhat.com>
1169 Patch from Alexander Sack <asac@ubuntu.com>
1171 * libnm-util/crypto_gnutls.c
1172 libnm-util/crypto_nss.c
1173 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1175 * libnm-util/nm-utils.c
1176 libnm-util/nm-utils.h
1177 libnm-util/libnm-util.ver
1178 - (nm_utils_init): initialize libnm-util
1179 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1181 * libnm-util/nm-setting-8021x.c
1182 - (nm_setting_802_1x_class_init): init libnm-util when needed
1184 2008-09-05 Dan Williams <dcbw@redhat.com>
1186 Patch from Roy Marples <roy@marples.name> and others
1189 src/named-manager/nm-named-manager.c
1190 - Add support for resolvconf; use --with-resolvconf at configure time
1193 2008-09-05 Dan Williams <dcbw@redhat.com>
1195 * libnm-util/crypto_nss.c
1196 libnm-util/crypto_gnutls.c
1198 - (crypto_init): return error when init fails
1200 2008-09-05 Dan Williams <dcbw@redhat.com>
1202 * libnm-glib/nm-device-wifi.c
1203 - (access_point_removed_proxy): clean up the active access point too
1204 just in case the active ap changed signal didn't come through yet
1205 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1207 2008-09-05 Dan Williams <dcbw@redhat.com>
1209 * libnm-glib/nm-client.c
1210 - (constructor): get initial state after we know whether NM is running
1213 2008-09-05 Dan Williams <dcbw@redhat.com>
1215 * libnm-glib/nm-ip4-config.c
1216 libnm-glib/nm-dhcp4-config.c
1217 - (finalize): clean up the DBusGProxy
1219 2008-09-04 Dan Williams <dcbw@redhat.com>
1221 * src/nm-ip4-config.c
1223 - (nm_ip4_config_new): don't export over D-Bus here
1224 - (nm_ip4_config_export): new function; export the config over D-Bus
1225 - (nm_ip4_config_is_exported): new function
1228 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1229 objects by balancing the IP4Config constructor; the device holds
1230 a reference to the IP4Config already
1231 - (nm_device_set_ip4_config): export the IP4Config when needed
1233 2008-09-04 Dan Williams <dcbw@redhat.com>
1235 * src/supplicant-manager/nm-supplicant-settings-verify.c
1236 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1238 2008-09-04 Dan Williams <dcbw@redhat.com>
1240 * libnm-util/nm-setting-vpn.c
1241 libnm-util/nm-setting-vpn.h
1242 - Split VPN secrets from VPN data so that settings services can actually
1243 figure out that they are secrets and store them accordingly
1245 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1246 system-settings/plugins/keyfile/reader.c
1247 system-settings/plugins/keyfile/reader.h
1248 system-settings/plugins/keyfile/writer.c
1249 - Store VPN secrets separately from VPN data so that they can be fetched
1251 - Implement the get_secrets() call so that (a) secrets don't leak out
1252 to unprivileged callers, and (b) secrets can be sent to privileged
1255 * vpn-daemons/vpnc/src/nm-vpnc-service.c
1256 - Handle split VPN secrets
1258 2008-08-27 Dan Williams <dcbw@redhat.com>
1260 * system-settings/plugins/ifcfg-fedora/reader.c
1261 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1263 2008-08-27 Dan Williams <dcbw@redhat.com>
1265 Ensure zombie children get cleaned up. To get notifications when children
1266 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1267 that requires calling waitpid() yourself if you've removed the child watch
1268 handler before the process has actually died, which NM needs to do in a few
1269 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1270 cleans up after the child when required. Should fix problems trying to
1271 activate mobile broadband connections after a previous failure.
1273 * src/dhcp-manager/nm-dhcp-dhclient.c
1274 src/dhcp-manager/nm-dhcp-dhcpcd.c
1275 - Use G_SPAWN_DO_NOT_REAP_CHILD
1277 * src/dhcp-manager/nm-dhcp-manager.c
1278 - (nm_dhcp_device_destroy): ensure child is cleaned up
1279 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1280 block on child quitting, since the non-blocking functionality was
1283 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1284 - (dm_watch_cb): child is already reaped here
1285 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1288 - (aipd_cleanup): block until child is dead
1290 * src/named-manager/nm-named-manager.c
1291 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1292 event bothering to watch the child
1294 * src/ppp-manager/nm-ppp-manager.c
1295 - (ppp_watch_cb): child is already reaped here
1296 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1298 * src/vpn-manager/nm-vpn-service.c
1299 - (vpn_service_watch_cb): child is already reaped here
1300 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1301 status of the child is actually tracked
1302 - (ensure_killed, finalize): block until child is dead
1304 2008-08-26 Dan Williams <dcbw@redhat.com>
1306 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1307 - (update): Update filename of the connection if the connection id
1310 * system-settings/plugins/keyfile/plugin.c
1311 - (dir_changed): first pass at handling connection renames correctly
1313 * system-settings/plugins/keyfile/writer.c
1314 system-settings/plugins/keyfile/writer.h
1315 - (write_connection): replace '/' with '*' when writing out the filename
1316 from the connection id
1318 2008-08-26 Dan Williams <dcbw@redhat.com>
1320 Add connection UUIDs, since connection names can be changed, and since
1321 old-style connection IDs could change over the life of the connection. The
1322 UUID should be assigned at connection creation time, be stable for a given
1323 connection, and should be unique among all connections for a given settings
1327 libnm-util/Makefile.am
1330 * introspection/nm-exported-connection.xml
1331 - Remove "GetID" method
1333 * libnm-glib/nm-dbus-connection.c
1334 libnm-glib/nm-settings.c
1335 libnm-glib/nm-settings.h
1336 - Remove id-related stuff
1338 * libnm-util/nm-utils.c
1339 libnm-util/nm-utils.h
1340 libnm-util/libnm-util.ver
1341 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1342 utility functions to generate UUIDs
1344 * libnm-util/nm-setting-connection.c
1345 libnm-util/nm-setting-connection.h
1346 - Add 'uuid' member to the connection setting
1347 - (verify): require valid 'uuid' for a valid connection
1349 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1350 system-settings/plugins/ifcfg-fedora/reader.c
1351 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1352 system-settings/plugins/ifcfg-suse/parser.c
1353 system-settings/plugins/keyfile/nm-keyfile-connection.c
1354 system-settings/src/main.c
1355 - Remove id-related stuff
1356 - Give connections UUIDs where needed
1358 2008-08-25 Dan Williams <dcbw@redhat.com>
1360 * libnm-util/crypto_gnutls.c
1361 libnm-util/crypto_nss.c
1362 - (crypto_init, crypto_deinit): refcount init/deinit
1363 - (crypto_md5_hash): allow NULL salt
1365 2008-08-22 Michael Biebl <mbiebl@gmail.com>
1367 * libnm-glib/Makefile.am
1368 libnm-util/Makefile.am
1369 libnm-glib/libnm_glib.ver
1370 libnm-glib/libnm_glib_vpn.ver
1371 libnm-util/libnm-util.ver
1372 - Use linker version scripts to control the list of exported
1373 symbols. List each exported symbol explicitely.
1374 * libnm-util/Makefile.am
1375 - Fix compilation of the test-crypto binary. The crypto
1376 functions are no longer part of the libnm-util API. Add
1377 crypto_*.c to test_crypto_SOURCES and link against the correct
1380 2008-08-19 Dan Williams <dcbw@redhat.com>
1384 - Don't build test/test-common
1385 - Remove unused stuff
1387 * test/nm-set-fallback
1388 test/nmtestdevices.c
1389 test/test-common/.cvsignore
1390 test/test-common/Makefile.am
1391 test/test-common/test-common.c
1392 test/test-common/test-common.h
1395 2008-08-18 Dan Williams <dcbw@redhat.com>
1397 * libnm-util/nm-utils.c
1398 libnm-util/nm-utils.h
1399 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1400 export anything that needs to be converted with this function
1402 * src/dhcp-manager/nm-dhcp-manager.c
1403 - (garray_to_string): convert a byte array to a UTF-8 string with
1404 minimal validation; the DHCP client sends it in ASCII anyway
1405 - (get_option, copy_option): use garray_to_string()
1407 2008-08-18 Dan Williams <dcbw@redhat.com>
1409 * include/NetworkManager.h
1410 introspection/nm-device.xml
1411 - Add a "missing firmware" device state reason
1413 * src/NetworkManagerSystem.c
1414 src/NetworkManagerSystem.h
1415 - (nm_system_device_set_up_down): add a no_firmware argument
1416 - (nm_system_device_set_up_down_with_iface): if the result of setting
1417 IFF_UP is ENOENT, that almost always means missing firmware
1419 * src/backends/NetworkManagerGeneric.c
1420 src/nm-device-ethernet.c
1421 src/nm-device-private.h
1422 src/nm-device-wifi.c
1425 src/nm-hso-gsm-device.c
1426 src/vpn-manager/nm-vpn-connection.c
1427 - Pass no_firmware along; check it where appropriate
1429 2008-08-18 Dan Williams <dcbw@redhat.com>
1431 Patch from Robert Buchholz <rbu@gentoo.org>
1435 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1436 1003.1-1988, allowing for file names longer than 99 characters
1438 2008-08-17 Dan Williams <dcbw@redhat.com>
1440 * include/NetworkManager.h
1441 introspection/nm-device.xml
1443 - Finer-grained GSM registration failure error codes
1445 2008-08-17 Dan Williams <dcbw@redhat.com>
1447 * callouts/Makefile.am
1449 - Move dispatcher directory creation to callouts/Makefile.am
1451 * system-settings/plugins/keyfile/Makefile.am
1452 - Create keyfile connections directory in DESTDIR (bgo #546833)
1454 2008-08-15 Dan Williams <dcbw@redhat.com>
1456 Do connection sharing in a cleaner manner; all required iptables rules
1457 are now stored in the activation request and pertain only to the device
1458 which is being shared to other computers. (rh #458625)
1460 * src/nm-activation-request.c
1461 src/nm-activation-request.h
1462 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1463 the activation request which will get torn down automatically when
1464 the activation request dies
1465 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1466 is started, and tear them down when sharing is stopped
1469 - (start_sharing): start up sharing by doing the required iptables magic
1470 - (share_init): poke the right bits of the kernel and load the right
1472 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1473 connection if it's a 'shared' connection
1475 * src/NetworkManagerPolicy.c
1476 - Remove all sharing stuff; done in the device code itself
1478 2008-08-15 Dan Williams <dcbw@redhat.com>
1480 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1481 - (create_dm_cmd_line): send the right router address
1483 2008-08-15 Dan Williams <dcbw@redhat.com>
1485 * src/ppp-manager/nm-ppp-manager.c
1486 - (pppd_timed_out): ensure timeouts fail the connection
1488 2008-08-14 Dan Williams <dcbw@redhat.com>
1490 * src/nm-properties-changed-signal.c
1491 src/nm-properties-changed-signal.h
1492 - Add a property spec flag for "don't export this property" in
1493 property changed signals
1495 * src/nm-hso-gsm-device.c
1497 src/nm-cdma-device.c
1498 - Don't export monitor interface or netdev interface properties
1500 2008-08-14 Dan Williams <dcbw@redhat.com>
1502 * src/NetworkManagerPolicy.c
1503 - (update_routing_and_dns): 'hso' devices can be default even if they
1504 don't have a gateway
1506 2008-08-14 Dan Williams <dcbw@redhat.com>
1509 - (nm_device_deactivate_quickly): tear down activation request after
1510 calling device-specific deactivation
1512 * src/nm-hso-gsm-device.c
1513 - (real_deactivate_quickly): terminate connection when deactivating
1515 2008-08-14 Dan Williams <dcbw@redhat.com>
1517 * src/nm-activation-request.h
1518 - Add HSO secrets caller
1520 * src/nm-gsm-device.c
1522 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1523 something to the callback function
1524 - (set_apn, set_apn_done): call class dial function, not a static one
1525 - (nm_gsm_device_class_init): add a class 'dial' function
1527 * src/nm-hal-manager.c
1528 - (get_hso_netdev): find the hso-driven hardware's net device
1529 - (modem_device_creator): recognize hso-driven hardware and create the
1530 right type of device object for it
1533 src/nm-hso-gsm-device.c
1534 src/nm-hso-gsm-device.h
1535 - Implement support for devices driven by the 'hso' driver as a subclass
1538 2008-08-14 Dan Williams <dcbw@redhat.com>
1540 * src/NetworkManagerSystem.c
1541 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1542 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1543 success if the operation really was successful
1545 2008-08-14 Dan Williams <dcbw@redhat.com>
1547 * src/nm-netlink-monitor.c
1548 src/nm-netlink-monitor.h
1549 src/nm-device-ethernet.c
1550 - (nm_netlink_monitor_request_status): return an error on failure
1551 - (constructor): don't segfault on missing error
1553 2008-08-13 Dan Williams <dcbw@redhat.com>
1555 * callouts/nm-dispatcher-action.c
1556 - Add IP4 config info to script environment
1558 2008-08-12 Dan Williams <dcbw@redhat.com>
1561 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1562 that want to use DHCP hostnames should use dispatcher scripts
1565 * src/NetworkManagerSystem.h
1566 src/backends/NetworkManagerArch.c
1567 src/backends/NetworkManagerDebian.c
1568 src/backends/NetworkManagerFrugalware.c
1569 src/backends/NetworkManagerGeneric.c
1570 src/backends/NetworkManagerGeneric.h
1571 src/backends/NetworkManagerGentoo.c
1572 src/backends/NetworkManagerMandriva.c
1573 src/backends/NetworkManagerPaldo.c
1574 src/backends/NetworkManagerRedHat.c
1575 src/backends/NetworkManagerSlackware.c
1576 src/backends/NetworkManagerSuSE.c
1577 - Remove nm_system_set_hostname(), no longer used
1579 * src/backends/Makefile.am
1580 src/backends/shvar.c
1581 src/backends/shvar.h
1582 - Remove shvar.*; no longer used
1584 2008-08-12 Dan Williams <dcbw@redhat.com>
1586 Revert most of the 'hostname' patch. Too much stuff still breaks when
1587 hostname is updated at runtime. Distros or users who want hostname updates
1588 can use dispatcher scripts to update the hostname if they need it.
1590 2008-08-12 Dan Williams <dcbw@redhat.com>
1592 * introspection/nm-settings-system.xml
1593 system-settings/src/dbus-settings.c
1594 system-settings/src/dbus-settings.h
1595 - Add a 'Hostname' property (rw) which represents the configured
1596 hostname and domain of the system, if any
1598 * system-settings/src/nm-system-config-error.c
1599 system-settings/src/nm-system-config-error.h
1600 system-settings/src/nm-system-config-interface.c
1601 system-settings/src/nm-system-config-interface.h
1602 - Add a 'hostname' property to the plugin interface
1603 - Add a method to send updated hostname to plugins to save in their
1604 backing configuration store
1606 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1607 system-settings/plugins/keyfile/plugin.c
1608 system-settings/plugins/keyfile/writer.c
1609 system-settings/plugins/keyfile/writer.h
1610 system-settings/plugins/ifcfg-suse/plugin.c
1611 - Add minimal hostname support
1613 * system-settings/plugins/ifcfg-fedora/plugin.c
1614 - Add support for updating system hostname in /etc/sysconfig/network
1616 2008-08-12 Dan Williams <dcbw@redhat.com>
1618 * system-settings/plugins/ifcfg-fedora/shvar.c
1619 system-settings/plugins/ifcfg-fedora/shvar.c
1620 - Fix double-free caused by svSetValue() followed by svCloseFile()
1622 2008-08-12 Tambet Ingo <tambet@gmail.com>
1624 * Makefile.am: Fix distcheck.
1626 2008-08-12 Tambet Ingo <tambet@gmail.com>
1628 * libnm-glib/*.c. Document some more.
1630 2008-08-12 Tambet Ingo <tambet@gmail.com>
1632 Start documenting libnm-glib public API using gtk-doc.
1634 * libnm-glib/nm-serial-device.c:
1635 * libnm-glib/nm-object.c:
1636 * libnm-glib/nm-gsm-device.c:
1637 * libnm-glib/nm-device.c:
1638 * libnm-glib/nm-device-wifi.c:
1639 * libnm-glib/nm-device-ethernet.c:
1640 * libnm-glib/nm-client.c:
1641 * libnm-glib/nm-cdma-device.c: Document the public API.
1643 * docs/libnm-glib/libnm-glib.types: Implement.
1645 * docs/libnm-glib/Makefile.am: Implement.
1649 * Makefile.am: Add gtk-doc support.
1651 2008-08-12 Tambet Ingo <tambet@gmail.com>
1653 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1655 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1656 the composite result of all the IP4 configurations and call a distro
1657 specific update_resolv_conf().
1658 (update_resolv_conf): Implement one for directly writing to
1659 /etc/resolv.conf and one for opensuse to call netconfig.
1661 2008-08-11 Dan Williams <dcbw@redhat.com>
1663 * src/ppp-manager/nm-ppp-manager.c
1664 - (impl_ppp_manager_need_secrets): pass interface as required
1666 2008-08-11 Dan Williams <dcbw@redhat.com>
1668 Merge the vpn-properties setting with the vpn setting since it was pointless
1669 to keep both of them around. Convert the vpn 'data' hash table to a hash
1670 of string:string (instead of string:variant) so that system settings plugins
1671 can have an easier time dealing with the arbitrary key/value pairs.
1673 2008-08-11 Dan Williams <dcbw@redhat.com>
1675 * libnm-util/nm-utils.c
1676 - (nm_utils_register_value_transformations): add value transform for
1677 a hash table of string:string
1679 2008-08-10 Dan Williams <dcbw@redhat.com>
1681 * libnm-glib/nm-vpn-plugin.c
1682 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1683 an idle handler so the Connect reply gets delivered before the
1684 stop StateChanged signal
1686 2008-08-10 Dan Williams <dcbw@redhat.com>
1688 * src/nm-ip4-config.c
1689 - (get_property): use common ip4 address/route conversion functions
1690 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1691 copy the new route here, not take ownership
1693 2008-08-08 Tambet Ingo <tambet@gmail.com>
1695 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1696 Update the IP4 setting's method name.
1698 2008-08-07 Dan Williams <dcbw@redhat.com>
1700 * introspection/nm-ip4-config.xml
1701 libnm-glib/libnm-glib-test.c
1702 libnm-glib/nm-ip4-config.c
1703 libnm-glib/nm-ip4-config.h
1704 src/NetworkManagerSystem.h
1705 src/backends/NetworkManagerArch.c
1706 src/backends/NetworkManagerDebian.c
1707 src/backends/NetworkManagerFrugalware.c
1708 src/backends/NetworkManagerGeneric.c
1709 src/backends/NetworkManagerGeneric.h
1710 src/backends/NetworkManagerGentoo.c
1711 src/backends/NetworkManagerMandriva.c
1712 src/backends/NetworkManagerPaldo.c
1713 src/backends/NetworkManagerRedHat.c
1714 src/backends/NetworkManagerSlackware.c
1715 src/backends/NetworkManagerSuSE.c
1716 src/dhcp-manager/nm-dhcp-manager.c
1720 - Remove NIS logic; should be done from dispatcher scripts instead
1722 2008-08-07 Dan Williams <dcbw@redhat.com>
1724 * src/dhcp-manager/nm-dhcp-manager.c
1725 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1726 mis-handling of DHCP responses that returned more than one router
1727 (found by Grant Williamson)
1729 2008-08-07 Dan Williams <dcbw@redhat.com>
1731 * callouts/nm-dispatcher-action.c
1732 - (nm_dispatcher_action): grab device path and create the device; pass
1733 the device's DHCP4 config to script caller
1734 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1737 * libnm-glib/nm-dhcp4-config.c
1738 libnm-glib/nm-dhcp4-config.h
1739 - (nm_dhcp4_config_get_options): expose
1740 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1742 2008-08-07 Dan Williams <dcbw@redhat.com>
1744 * include/NetworkManager.h
1745 - Add the DHCP4Config D-Bus interface
1747 * libnm-glib/Makefile.am
1748 libnm-glib/nm-dhcp4-config.c
1749 libnm-glib/nm-dhcp4-config.h
1750 - Handle DHCP4 config objects exported by NM over D-Bus
1752 * libnm-glib/nm-device.c
1753 libnm-glib/nm-device.h
1754 - Add a 'dhcp4-config' property
1756 * libnm-glib/libnm-glib-test.c
1757 - Print out DHCP4 config for devices
1758 - Fix some crashes when no connections are active
1760 * src/nm-device-interface.c
1762 src/nm-dhcp4-config.c
1763 src/nm-dhcp4-config.h
1764 - Treat dhcp4-config object as an object path at the D-Bus interface so
1765 that when it doesn't exist we can proxy it as "/" which dbus-glib
1766 doesn't let us do when the property type is G_TYPE_OBJECT
1768 2008-08-07 Dan Williams <dcbw@redhat.com>
1770 * src/NetworkManager.c
1771 src/NetworkManagerSystem.h
1772 src/backends/NetworkManagerArch.c
1773 src/backends/NetworkManagerDebian.c
1774 src/backends/NetworkManagerFrugalware.c
1775 src/backends/NetworkManagerGeneric.c
1776 src/backends/NetworkManagerGeneric.h
1777 src/backends/NetworkManagerGentoo.c
1778 src/backends/NetworkManagerMandriva.c
1779 src/backends/NetworkManagerPaldo.c
1780 src/backends/NetworkManagerRedHat.c
1781 src/backends/NetworkManagerSlackware.c
1782 src/backends/NetworkManagerSuSE.c
1783 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1785 2008-08-06 Dan Williams <dcbw@redhat.com>
1787 * libnm-glib/nm-ip4-config.c
1788 libnm-glib/nm-ip4-config.h
1789 - Add 'routes' property
1791 * libnm-util/nm-setting-vpn.c
1792 libnm-util/nm-setting-vpn.h
1793 - Remove 'routes' property
1795 * libnm-util/nm-setting-ip4-config.c
1796 libnm-util/nm-setting-ip4-config.h
1797 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1798 - Add 'ignore-auto-routes' property
1799 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
1800 accomodate route metrics
1801 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1803 * libnm-util/nm-utils.c
1804 libnm-util/nm-utils.h
1805 - Add helpers for marshalling IP4 routes
1807 * src/NetworkManagerUtils.c
1808 - (nm_utils_merge_ip4_config): handle property renames and new route
1811 * src/NetworkManagerSystem.c
1812 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1813 nm_system_vpn_device_set_from_ip4_config): respect route metrics
1815 * src/dhcp-manager/nm-dhcp-manager.c
1816 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1818 * system-settings/plugins/ifcfg-fedora/reader.c
1819 system-settings/plugins/ifcfg-fedora/writer.c
1820 - Handle routes separately from addresses now that routes have a different
1823 * introspection/nm-ip4-config.xml
1826 - Rename internal routing functions
1827 - 'static-routes' renamed to 'routes'
1829 2008-08-04 Dan Williams <dcbw@redhat.com>
1831 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1833 * src/NetworkManager.c
1836 - More explicitly make the NMManager a singleton
1838 2008-08-04 Dan Williams <dcbw@redhat.com>
1840 * libnm-util/nm-connection.c
1841 libnm-util/nm-connection.h
1842 - (nm_connection_verify): return error on missing 'connection' setting
1843 (found by Sjoerd Simons)
1845 2008-08-04 Dan Williams <dcbw@redhat.com>
1847 Handle multiple concurrent PPP connections.
1849 * src/ppp-manager/nm-ppp-manager.c
1850 src/ppp-manager/nm-ppp-manager.h
1851 - (constructor): only PPP Manager request bus name once; each
1852 NMPPPManager object gets a unique object path
1853 - (nm_ppp_manager_class_init, get_property, set_property,
1854 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1856 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1857 remove timeout until PPP manager gets an IP4 config
1858 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1859 the plugin can call back to this specific PPP manager instance
1861 * src/nm-device-ethernet.c
1862 src/nm-serial-device.c
1863 - Pass parent device in nm_ppp_manager_new()
1865 * src/nm-gsm-device.c
1866 src/nm-cdma-device.c
1867 - (device_state_changed): don't close serial device on NEED_AUTH
1868 state changed, that's not a failure case like the rest are
1870 * src/ppp-manager/nm-pppd-plugin.c
1871 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1872 binds one interface to any pppd process, thus the correct index
1873 is always 0; send PHASE_DEAD on error to alert NM immediately of
1874 problems; try harder to get a peer address in spite of pppd
1875 - (plugin_init): use 'ipparam' as the object path back to our specific
1876 PPP manager instance
1878 2008-08-04 Dan Williams <dcbw@redhat.com>
1880 * src/ppp-manager/nm-ppp-manager.c
1881 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1882 since the GSM and CDMA settings now implement need_secrets, we can
1883 rely on them to do the right thing. Where secrets are not required,
1884 just pass empty strings back to the pppd plugin.
1885 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1886 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1887 on successful IP4 config receipt
1889 2008-08-04 Dan Williams <dcbw@redhat.com>
1891 * libnm-util/nm-setting-cdma.c
1892 libnm-util/nm-setting-gsm.c
1893 - (verify): validate username & password if they exist
1894 - (need_secrets): if username given, require a password too
1896 2008-08-04 Dan Williams <dcbw@redhat.com>
1898 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1899 - (create_dm_cmd_line): really don't listen on lo, despite what the
1900 manpage says about --listen-address without --interface
1903 2008-08-01 Dan Williams <dcbw@redhat.com>
1905 * libnm-glib/nm-device.c
1906 - (proxy_get_string): util function for querying a HAL property
1907 - (get_ancestor_device): split out from get_product_and_vendor()
1908 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1909 from PCI devices by querying subsys properties
1910 - (nm_device_update_description): simplify
1912 2008-08-01 Dan Williams <dcbw@redhat.com>
1914 * libnm-util/nm-setting-ip4-config.c
1915 libnm-util/nm-setting-ip4-config.h
1916 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1917 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
1918 settings, and they don't necessarily use DHCP.
1920 * src/NetworkManagerPolicy.c
1922 system-settings/plugins/ifcfg-fedora/reader.c
1923 system-settings/plugins/ifcfg-suse/parser.c
1924 - Fixup for method changes
1926 2008-07-31 Dan Williams <dcbw@redhat.com>
1928 * src/nm-activation-request.c
1929 src/vpn-manager/nm-vpn-connection.c
1930 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1931 itself should be attached to the activation request or the VPN
1932 connection, not the NMConnection object, since the call is not
1933 expected to live as long as the NMConnection itself
1935 2008-07-31 Dan Williams <dcbw@redhat.com>
1937 * src/nm-device-wifi.c
1938 - (real_act_stage2_config): fix issue where association would continue
1939 even though secrets were needed; 'goto out' was in wrong scope and
1940 result of handle_auth_or_fail() should have been dumped directly to
1941 'ret' to ensure that the association was postponed until secrets
1944 2008-07-31 Dan Williams <dcbw@redhat.com>
1946 * system-settings/plugins/ifcfg-fedora/plugin.c
1947 system-settings/plugins/ifcfg-fedora/reader.c
1948 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1951 2008-07-29 Dan Williams <dcbw@redhat.com>
1953 * src/nm-gsm-device.c
1954 - (automatic_registration_response, automatic_registration): recognize
1955 denied registration and reorder responses
1957 2008-07-29 Dan Williams <dcbw@redhat.com>
1959 * src/nm-serial-device.c
1960 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
1961 time(2) is used for current time, which returns seconds, we shouldn't
1962 be multiplying by 1000.
1964 2008-07-28 Dan Williams <dcbw@redhat.com>
1966 Patch from Fabrice Bellet <fabrice@bellet.info>
1968 * src/NetworkManagerSystem.c
1969 - (route_in_same_subnet): mask addresses and compare them so that the
1970 function actually does what it says it's going to do (rh #456685)
1972 2008-07-27 Dan Williams <dcbw@redhat.com>
1974 * libnm-util/nm-setting-ip6-config.c
1975 - (set_property): add missing break that caused routes to be overwritten
1978 * libnm-util/nm-setting-ip6-config.c
1979 - (verify): validate routes and return GError everywhere on invalid setting
1980 - (finalize): don't leak routes
1981 - (set_property): add missing break that caused routes to be overwritten
1984 2008-07-27 Dan Williams <dcbw@redhat.com>
1987 - Relicense to LGPLv2+
1989 2008-07-27 Dan Williams <dcbw@redhat.com>
1991 * system-settings/plugins/ifcfg-fedora/reader.c
1992 - (make_ip4_setting): fix parsing automatic configs
1994 2008-07-27 Dan Williams <dcbw@redhat.com>
1996 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1998 src/ppp-manager/nm-ppp-manager.c
1999 - Ensure child process gets reaped. The child watch function may be
2000 removed from the mainloop before the child gets killed, so we have
2001 to make sure the child is reaped when it's told to die intentionally
2003 2008-07-27 Dan Williams <dcbw@redhat.com>
2005 Patch from Roy Marples <roy@marples.name>
2007 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2008 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2010 2008-07-27 Dan Williams <dcbw@redhat.com>
2012 * src/nm-gsm-device.c
2013 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2014 Huawei devices turn echo back on after CPIN (rh #456770)
2016 2008-07-24 Tambet Ingo <tambet@gmail.com>
2018 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2019 format argument to g_set_error() call.
2021 * src/backends/interface_parser.[ch]: Remove.
2023 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2025 2008-07-21 Dan Williams <dcbw@redhat.com>
2027 * src/ppp-manager/nm-ppp-manager.c
2028 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2029 to prevent pppd from picking up some random local address from an
2030 interface that doesn't have anything to do with the one we're
2031 interested in (rh #455348)
2033 2008-07-17 Dan Williams <dcbw@redhat.com>
2035 * libnm-util/nm-utils.c
2036 - (string_to_utf8): general function for conversion to UTF-8 assisted
2038 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2039 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2041 2008-07-17 Dan Williams <dcbw@redhat.com>
2043 * introspection/Makefile.am
2044 introspection/nm-device.xml
2045 introspection/nm-dhcp4-config.xml
2046 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2048 * src/nm-device-interface.c
2049 src/nm-device-interface.h
2050 - Add the DHCP4Config property
2053 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2054 D-Bus clients when it changes
2056 * src/nm-dhcp4-config.c
2057 src/nm-dhcp4-config.h
2058 - Simple object to store DHCP4 options, export them over D-Bus, and
2059 notify when they change
2061 * src/dhcp-manager/nm-dhcp-manager.c
2062 src/dhcp-manager/nm-dhcp-manager.h
2063 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2064 filter server-returned DHCP options into an NMDHCP4Config object
2066 2008-07-16 Dan Williams <dcbw@redhat.com>
2068 * introspection/nm-device.xml
2069 - Add device state reasons
2071 2008-07-16 Dan Williams <dcbw@redhat.com>
2073 Patch from Roy Marples <roy@marples.name>
2076 - Add --with-dhcp-client option
2078 * src/dhcp-manager/Makefile.am
2079 - pass DHCP_CLIENT_PATH on compile line
2081 * src/dhcp-manager/nm-dhcp-manager.c
2082 src/dhcp-manager/nm-dhcp-manager.h
2083 - Genericize for both dhcpcd and dhclient
2085 * src/dhcp-manager/nm-dhcp-dhclient.c
2086 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2088 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2089 - Implement support for dhcpcd too
2091 2008-07-16 Tambet Ingo <tambet@gmail.com>
2093 * system-settings/src/nm-system-config-interface.c
2094 (nm_system_config_interface_supports_add): Implement.
2095 (nm_system_config_interface_add_connection): Return a boolean to notify
2098 * system-settings/src/nm-polkit-helpers.c:
2099 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2102 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2103 Return an error when none of the plugins support add or if addition
2104 failed for some reason.
2106 * system-settings/src/nm-system-config-error.h:
2107 * system-settings/src/nm-system-config-error.c: New files, mostly moved
2108 here from nm-polkit-helpers.[ch].
2110 * system-settings/src/Makefile.am: Build new files.
2112 * system-settings/plugins/keyfile/reader.c
2113 (read_array_of_array_of_uint): Make it more general so that it would
2114 work for routes as well.
2116 * system-settings/plugins/keyfile/writer.c
2117 (write_array_of_array_of_uint): Ditto.
2118 Fix the netmask/prefix writing.
2120 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2121 boolean to notify errors.
2123 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2124 Return more specific error.
2127 2008-07-11 Dan Williams <dcbw@redhat.com>
2129 Modify the NMDevice::state-changed signal to include the previous state
2130 and reason. Enables the applet to provide more information why device
2133 2008-07-09 Dan Williams <dcbw@redhat.com>
2135 * callouts/Makefile.am
2136 callouts/nm-avahi-autoipd-action.c
2137 callouts/nm-avahi-autoipd.conf
2138 - avahi-autoipd callout to send options back to NM
2145 src/nm-device-private.h
2147 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2150 2008-07-07 Dan Williams <dcbw@redhat.com>
2152 * system-settings/plugins/ifcfg-fedora/reader.c
2153 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2154 handle PREFIX too; clean up
2156 2008-07-07 Dan Williams <dcbw@redhat.com>
2158 Convert to using IPv4 prefixes instead of netmasks.
2160 2008-07-03 Dan Williams <dcbw@redhat.com>
2162 * libnm-util/nm-setting-ip4-config.c
2163 libnm-util/nm-setting-ip4-config.h
2164 - Add properties for DHCP Client Identifier and DHCP Hostname
2166 * src/dhcp-manager/nm-dhcp-manager.c
2167 src/dhcp-manager/nm-dhcp-manager.h
2168 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2169 setting as an argument to pass on to the dhclient config file
2171 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2173 - (dhclient_run): punt config file handling to create_dhclient_config()
2174 - (create_dhclient_config): create an interface-specific dhclient
2175 config file since there may need to be interface-specific options
2177 - (merge_dhclient_config): merge normal distro dhclient config file and
2178 add options from the connection
2179 - (nm_dhcp_device_new): generate the interface specific dhclient
2180 config file path once
2181 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2182 dhclient config file path
2185 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2186 DHCP manager when starting DHCP
2188 2008-07-02 Dan Williams <dcbw@redhat.com>
2190 * libnm-util/nm-setting-8021x.c
2191 - (verify): allow forcing the PEAP label to 0
2193 2008-07-02 Dan Williams <dcbw@redhat.com>
2195 * introspection/nm-active-connection.xml
2196 introspection/nm-vpn-connection.xml
2197 libnm-glib/nm-active-connection.c
2198 src/nm-activation-request.c
2199 src/nm-active-connection.h
2200 src/vpn-manager/nm-vpn-connection.c
2201 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2202 and libnm-glib API since sharing didn't get implemented that way
2204 2008-07-02 Dan Williams <dcbw@redhat.com>
2206 * src/nm-device-wifi.c
2207 - (can_scan): don't scan when a shared connection is activated since
2208 that makes drivers mad (causing disconnects); also NM doesn't need
2209 to hedge against disconnects by keeping up-to-date network topology
2210 because the connection originates from the local machine, and thus
2211 there should be no disconnects
2213 2008-07-01 Dan Williams <dcbw@redhat.com>
2215 Fix mobile broadband username/password issues. NM was never requesting
2216 mobile broadband secrets, nor was it passing back the username and password
2219 * marshallers/nm-marshal.list
2220 - Add some new types for activation request objects
2222 * src/nm-activation-request.c
2223 src/nm-activation-request.h
2224 - (get_secrets_cb): pass the caller type in the signal
2225 - (nm_act_request_request_connection_secrets): take a caller type, so
2226 that GetSecrets() reply handlers know who asked for the secrets in
2227 the first place; use secret hints too so the settings service can
2228 figure out exactly what NM wants (ie, PIN or the PPP password)
2230 * src/ppp-manager/nm-ppp-manager.c
2231 src/ppp-manager/nm-ppp-manager.h
2232 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2233 detect needed secrets when the secret could be blank, like GSM/CDMA
2234 passwords. So always ask for secrets, and send a hint as to what
2235 secret we really want.
2236 - (nm_ppp_manager_update_secrets): make function more generic by making
2237 the device specific class figure out the username and password, and
2238 accept an error argument to return back over D-Bus
2240 * src/nm-device-wifi.c
2241 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2242 nm_act_request_request_connection_secrets()
2243 - (real_connection_secrets_updated): update for 'caller' changes
2247 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2248 for 'caller' changes
2250 * src/nm-device-ethernet.c
2251 - (real_connection_secrets_updated): update for 'caller' changes and
2252 move logic for getting PPPoE username and password here before
2253 calling nm_ppp_manager_update_secrets()
2254 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2255 nm_act_request_request_connection_secrets()
2257 * src/nm-cdma-device.c
2258 - (real_connection_secrets_updated): pass username and password back
2259 to the PPP manager when required
2261 * src/nm-gsm-device.c
2262 - (enter_pin): send the required secret name to the settings service
2263 - (real_connection_secrets_updated): pass username and password back
2264 to the PPP manager when required
2266 2008-06-30 Dan Williams <dcbw@redhat.com>
2268 * src/nm-device-wifi.c
2269 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2271 2008-06-30 Dan Williams <dcbw@redhat.com>
2273 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
2274 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2275 priv->supplicant.iface. When either condition is false, the device should
2276 transition back to UNAVAILABLE because it cannot be used.
2278 * src/nm-device-wifi.c
2279 - (constructor): cleanup; connect to supplicant manager here since the
2280 supplicant manager is always around
2281 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2282 ensure the supplicant manager is in the IDLE state
2283 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2284 cancel any pending scans too
2285 - (real_bring_up): don't set up the supplicnat interface here, because
2286 we need the supplicant interface at times when the device may not
2288 - (real_take_down): just remove the periodic source
2289 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2290 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2291 do anything if there's no supplicant interface
2292 - (cleanup_association_attempt): cleanup
2293 - (supplicant_iface_state_cb_handler): request an immediate scan when
2294 the interface enters the READY state; transition to UNAVAILABLE
2295 state when the interface goes down because the device can't be used
2296 without a supplicant interface
2297 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2298 up and transition to UNAVAILABLE; if the supplicant becomes ready,
2299 acquire the supplicant interface and transition to DISCONNECTED
2300 if the radio isn't killed
2301 - (nm_device_wifi_dispose): move most of device_cleanup() here
2302 - (state_changed_cb): release any existing supplicant interface; if the
2303 radio is enabled then try to acquire a new supplicant interface;
2304 if the radio is enabled and a supplicant interface has been acquired,
2305 we can transition to DISCONNECTED
2306 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2307 don't enable the radio, because HAL probably lied to us about the
2308 killswitch being off. If bringing the hardware up worked, then
2309 try to grab a supplicant interface, and if that was successful,
2310 transition to DISCONNECTED
2312 2008-06-30 Dan Williams <dcbw@redhat.com>
2314 * src/supplicant-manager/nm-supplicant-interface.c
2315 - (request_scan_results, nm_supplicant_interface_dispose,
2316 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2317 the id of the timeout, not a GSource
2319 2008-06-30 Tambet Ingo <tambet@gmail.com>
2321 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
2322 bunch of typoes introduced by "Patch from David Cantrell
2323 <dcantrell@redhat.com> and me".
2325 2008-06-30 Tambet Ingo <tambet@gmail.com>
2327 * src/nm-serial-device.c:
2328 * src/nm-gsm-device.c:
2329 * src/nm-cdma-device.c: Move the pending call handling to a common location
2330 in serial device. Handle setting device state to failed in one place as well.
2332 2008-06-29 Dan Williams <dcbw@redhat.com>
2334 * src/nm-hal-manager.c
2335 - Rework killswitch handling to query killswitch status immediately
2336 when the first killswitch is added, so that rfkill state is
2337 known as early as possible
2338 - Also treat failure of GetPower() as rfkill when the dbus method
2339 call times out (but not when the HAL callout returns an error)
2341 2008-06-26 Dan Williams <dcbw@redhat.com>
2343 Patch from David Cantrell <dcantrell@redhat.com> and me
2345 * include/nm-dbus-glib-types.h
2346 - Add IP6 address types
2348 * libnm-util/Makefile.am
2349 libnm-util/nm-setting-ip6-config.c
2350 libnm-util/nm-setting-ip6-config.h
2351 - Add IP6 settings object
2353 * libnm-util/nm-connection.c
2354 - (register_default_settings): register ip6 settings object
2356 * libnm-util/nm-utils.c
2357 libnm-util/nm-utils.h
2358 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2359 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2360 ip6 address conversion functions
2362 2008-06-26 Dan Williams <dcbw@redhat.com>
2364 Patch from David Cantrell <dcantrell@redhat.com>
2366 * Use inet_ntop() and inet_pton() everwhere and check for errors
2368 2008-06-26 Dan Williams <dcbw@redhat.com>
2370 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2372 2008-06-26 Dan Williams <dcbw@redhat.com>
2374 Patch from Adel Gadllah <adel.gadllah@gmail.com>
2376 * src/nm-device-wifi.c
2377 - (link_timeout_cb): don't ignore disconnects due to scanning
2378 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2379 a longer timeout when scanning; avoids case where supplicant can't
2380 find the AP and just keeps scanning forever but isn't connected
2382 2008-06-26 Dan Williams <dcbw@redhat.com>
2384 Patch from Michael Biebl <biebl@debian.org>
2386 * Clean up build system stuff
2388 2008-06-23 Christian Persch <chpe@gnome.org>
2390 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2391 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2392 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2394 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2396 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2397 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2398 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2400 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2401 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2402 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2403 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2404 * vpn-daemons/pptp/properties/vpnui_opt.c:
2405 (vpnui_opt_connect_signals):
2406 * vpn-daemons/pptp/properties/vpnui_opt.h:
2407 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2408 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2409 deprecated gtk type macros. Bug #539325.
2411 2008-06-20 Dan Williams <dcbw@redhat.com>
2413 * libnm-glib/nm-vpn-plugin-ui-interface.c
2414 libnm-glib/nm-vpn-plugin-ui-interface.h
2415 - 'validity-changed' -> 'changed' to work better with the connection
2416 editor. Plugin UI widgets should emit 'changed' whenever their
2417 UI values change in a meaningful way.
2418 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2419 update_connection member now returns validity of the UI widget
2421 2008-06-20 Tambet Ingo <tambet@gmail.com>
2423 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2425 2008-06-17 Dan Williams <dcbw@redhat.com>
2427 * libnm-glib/nm-vpn-plugin-ui-interface.c
2428 libnm-glib/nm-vpn-plugin-ui-interface.h
2429 - Add "desc" property for longer descriptions of the VPN plugin
2431 2008-06-16 Dan Williams <dcbw@redhat.com>
2434 libnm-glib/libnm_glib_vpn.pc.in
2435 - add a .pc file for libnm_glib_vpn
2437 * libnm-glib/nm-vpn-plugin-ui-interface.c
2438 libnm-glib/nm-vpn-plugin-ui-interface.h
2439 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2440 rework it substantially
2442 2008-06-12 Dan Williams <dcbw@redhat.com>
2444 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2445 and add error enums to each NMSetting subclass. Each NMSetting subclass now
2446 returns a descriptive GError when verification fails.
2448 2008-06-11 Dan Williams <dcbw@redhat.com>
2450 Patch from Tambet Ingo <tambet@gmail.com>
2452 * libnm-util/nm-setting-gsm.c
2453 - (verify): validate APN
2455 * src/nm-gsm-device.c
2456 - (manual_registration_done): start setting APN if needed
2457 - (set_apn, set_apn_done): set the APN
2458 - (do_dial): use the APN when dialing
2460 2008-06-11 Dan Williams <dcbw@redhat.com>
2462 * src/NetworkManagerSystem.c
2463 - (nm_system_device_set_ip4_route,
2464 nm_system_device_replace_default_ip4_route): check for the right
2465 return value from rtnl_route_add() to know when to add a gateway
2468 2008-06-11 Dan Williams <dcbw@redhat.com>
2470 * src/NetworkManagerPolicy.c
2471 - do_ipt_cmd -> do_cmd
2472 - (sharing_init): use do_cmd() instead of system()
2474 2008-06-10 Dan Williams <dcbw@redhat.com>
2476 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2477 and use "wifi" everwhere instead.
2479 2008-06-10 Dan Williams <dcbw@redhat.com>
2481 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2483 2008-06-10 Dan Williams <dcbw@redhat.com>
2485 Patch from Tambet Ingo <tambet@gmail.com>
2487 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2490 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2491 a signal to emit these changes over dbus.
2493 * src/Makefile.am: Genereate nm-serial-device-glue.
2495 * libnm-glib/nm-serial-device.[ch]: Implement.
2497 * libnm-glib/nm-cdma-device.[ch]
2498 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2500 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2502 * introspection/nm-device-serial.xml: Implement.
2504 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2506 * introspection/Makefile.am: Add nm-device-serial.xml.
2508 * include/NetworkManager.h: Add a DBus interface for serial device.
2510 2008-06-10 Dan Williams <dcbw@redhat.com>
2513 - Add TARGET_* define to config.h to distinguish distros
2515 * src/dhcp-manager/nm-dhcp-manager.c
2516 - (dhclient_run): use distro-specific path for dhclient config file
2518 2008-06-09 Dan Williams <dcbw@redhat.com>
2520 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2521 src/dnsmasq-manager/nm-dnsmasq-manager.h
2522 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2523 calculate the addresses passed to dnsmasq instead of hard-coding
2527 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2528 IP addresses for shared connections to guard against shared
2529 connection address collisions
2530 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2532 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2535 2008-06-09 Dan Williams <dcbw@redhat.com>
2537 * src/NetworkManagerPolicy.c
2538 - (update_routing_and_dns): set the default connection _after_ unsetting
2539 default on all non-default connections so that two connections can
2540 never be default at the same time
2541 - (device_state_changed): start and stop connection sharing when
2543 - (active_connection_default_changed): restart or stop sharing when
2544 the default connection changes to keep shared connections always
2545 NAT-ed through the default connection
2546 - (check_sharing): handle activation/deactivation of shared connections
2547 - (sharing_restart): atom-bomb approach to connection sharing until we
2548 can use libnl; reinit all sharing when the default connection or
2549 shared connections change
2550 - (sharing_init, sharing_stop): evil functions that init and deinit
2553 2008-06-09 Dan Williams <dcbw@redhat.com>
2555 * src/nm-activation-request.c
2556 src/nm-activation-request.h
2557 - (nm_act_request_set_shared, nm_act_request_get_shared,
2558 nm_act_request_get_device): new functions to facilitate connection
2561 2008-06-09 Dan Williams <dcbw@redhat.com>
2564 - (clear_act_request): unset the 'default' property of the activation
2565 request when clearing it to ensure the property changed signal gets
2566 delivered and handled
2568 2008-06-09 Dan Williams <dcbw@redhat.com>
2570 * libnm-glib/nm-device-802-11-wireless.c
2571 - (access_point_removed_proxy): actually unref the AP after removing
2572 it from the device's AP list. Fixes refcounting bug for APs that
2573 caused them to get mixed up in the applet's menu.
2575 2008-06-09 Tambet Ingo <tambet@gmail.com>
2577 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2578 (nm_dhcp_device_destroy): Destroy the device options hash table.
2580 2008-06-06 Dan Williams <dcbw@redhat.com>
2582 * system-settings/src/nm-polkit-helpers.c
2583 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2584 unref the context if the initialization fails; also avoid spew when
2587 2008-06-06 Dan Williams <dcbw@redhat.com>
2589 Patch from Tambet Ingo <tambet@gmail.com>
2591 * src/NetworkManagerSystem.c
2592 src/NetworkManagerSystem.h
2593 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2594 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2595 - (nm_system_device_set_ip4_route): clean up
2596 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2599 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2601 * src/vpn-manager/nm-vpn-connection.c
2602 - (ip_address_to_string): new function
2603 - (print_vpn_config): use ip_address_to_string
2604 - (merge_vpn_routes): add user-defined routes to the ip4 config
2605 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2607 * include/NetworkManagerVPN.h
2610 2008-06-05 Dan Williams <dcbw@redhat.com>
2612 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2615 - Show which device is the default device
2617 2008-06-05 Tambet Ingo <tambet@gmail.com>
2621 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2622 Free data returned from dbus method call.
2624 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2625 dbus_g_method_get_sender() returns a duplicated string, free it
2627 (check_polkit_privileges): Looks like policykit sometimes returns
2628 error and non-null return value, don't leak errors in that case.
2630 * system-settings/src/main.c (find_plugin): Don't leak existing
2632 (load_stuff): Don't leak device list and list items.
2633 (have_connection_for_device): Don't leak connection list.
2635 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2636 Free the data received from g_keyfile_get_*.
2638 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2639 the key when the security object is updated.
2641 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2642 Free data returned from dbus method call.
2643 (iface_state_cb): Ditto.
2644 (add_network_cb): Ditto.
2645 (nm_supplicant_interface_add_cb): Don't make another copy of already
2646 duplicated object path.
2647 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2650 * src/supplicant-manager/nm-supplicant-config.c
2651 (ADD_STRING_LIST_VAL): Fix a memory leak.
2653 * src/nm-manager.c (free_get_settings_info): Free the allocated
2655 (list_connections_cb): Free data returned from dbus method call.
2656 (system_settings_get_unmanaged_devices_cb): Ditto.
2658 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2660 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
2661 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
2662 * src/backends/shvar.c (svCloseFile): Free the duplicated content
2665 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2666 arguments after the object is created.
2668 2008-06-04 Dan Williams <dcbw@redhat.com>
2670 * libnm-util/Makefile.am
2671 - Don't distribute nm-param-spec-specialized.h
2673 2008-06-02 Tambet Ingo <tambet@gmail.com>
2675 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2677 * src/nm-ip4-config.[ch]: Store the static routes as a list of
2678 NMIP4Address, update the getters and setters.
2680 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2681 Use the updated NMIP4Config routes api.
2683 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2684 static routes as well.
2686 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2687 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2690 2008-05-30 Dan Williams <dcbw@redhat.com>
2692 * src/named-manager/nm-named-manager.c
2693 src/named-manager/nm-named-manager.h
2694 - Remove stale/obsolete bits for controlling bind over DBus
2696 2008-05-29 Dan Williams <dcbw@redhat.com>
2698 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2699 src/dnsmasq-manager/nm-dnsmasq-manager.h
2700 - (nm_dnsmasq_manager_new): move iface argument here
2701 - (constructor): remove, not needed
2702 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2703 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2706 - (real_act_stage4_get_ip4_config,
2707 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2710 2008-05-29 Dan Williams <dcbw@redhat.com>
2713 - (dnsmasq_state_changed_cb): new function; fail the connection if
2714 something happens to dnsmasq
2715 - (nm_device_new_ip4_shared_config): new function; create a new
2716 ip4-config for shared connections. Shared connections always use a
2717 fixed static IP address.
2718 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2719 autoip connections by actually using the returned ip4-config and
2721 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2723 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2726 2008-05-29 Dan Williams <dcbw@redhat.com>
2728 * src/nm-device-802-11-wireless.c
2729 - (real_get_best_auto_connection): auto-activate 'shared' method
2732 2008-05-29 Dan Williams <dcbw@redhat.com>
2734 * libnm-util/nm-setting-ip4-config.c
2735 libnm-util/nm-setting-ip4-config.h
2736 - Add a 'shared' method to indicate that this connection should be
2737 brought up with a DHCP and proxy DNS server to facilitate
2739 - (verify): 'shared' method doesn't allow DNS or searches either
2741 2008-05-29 Dan Williams <dcbw@redhat.com>
2745 src/dnsmasq-manager/Makefile.am
2746 src/dnsmasq-manager/nm-dnsmasq-manager.c
2747 src/dnsmasq-manager/nm-dnsmasq-manager.h
2748 - Add a dnsmasq daemon manager to facilitate connection sharing
2750 2008-05-29 Dan Williams <dcbw@redhat.com>
2752 * src/nm-device-private.h
2753 - Remove unused prototypes and clean up
2756 - Remove anything related to system_config_data, which is no longer used
2757 - (nm_device_new_ip4_autoip_config): make static
2759 2008-05-29 Tambet Ingo <tambet@gmail.com>
2761 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2762 (file_changed): Fix a bug where suse system settings plugin didn't
2763 update the connections automatically when the files changed.
2765 2008-05-28 Dan Williams <dcbw@redhat.com>
2767 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2769 2008-05-28 Dan Williams <dcbw@redhat.com>
2771 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2773 * src/NetworkManagerSystem.c
2774 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2775 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2776 was causing -EINVAL errors since the libnl code actually does flush
2777 the routes on VPN interfaces now
2779 * src/backends/NetworkManagerArch.c
2780 src/backends/NetworkManagerDebian.c
2781 src/backends/NetworkManagerFrugalware.c
2782 src/backends/NetworkManagerGeneric.c
2783 src/backends/NetworkManagerGentoo.c
2784 src/backends/NetworkManagerMandriva.c
2785 src/backends/NetworkManagerPaldo.c
2786 src/backends/NetworkManagerRedHat.c
2787 src/backends/NetworkManagerSlackware.c
2788 src/backends/NetworkManagerSuSE.c
2789 - (nm_system_device_flush_ip4_routes,
2790 nm_system_device_flush_ip4_routes_with_iface): remove
2792 2008-05-28 Dan Williams <dcbw@redhat.com>
2794 * libnm-util/nm-setting-wireless.c
2795 libnm-util/nm-setting-wireless.h
2796 - (set_property, get_property, nm_setting_wireless_class_init): add the
2797 'adhoc-create' property, which when TRUE indicates that NM should
2798 create this connection as an adhoc wifi network if it's not found
2799 as an adhoc network during scanning. Can be used to auto-create
2800 adhoc networks when used in combination with autoconnect.
2802 2008-05-28 Tambet Ingo <tambet@gmail.com>
2804 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2806 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2807 checked, it doesn't work on some devices.
2809 2008-05-28 Tambet Ingo <tambet@gmail.com>
2811 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
2812 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2814 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2815 Use inet_aton() everywhere to improve error detection.
2816 Don't fall back to 'dhcp_server_identifier' if the gateway is not
2819 2008-05-26 Tambet Ingo <tambet@gmail.com>
2821 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2824 2008-05-26 Tambet Ingo <tambet@gmail.com>
2826 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2827 reference counting issue.
2829 2008-05-23 Dan Williams <dcbw@redhat.com>
2831 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2833 * src/backends/NetworkManagerGeneric.c
2834 - (nm_generic_enable_loopback): use libnl
2836 2008-05-23 Dan Williams <dcbw@redhat.com>
2838 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2840 * src/NetworkManagerSystem.h
2841 src/backends/NetworkManagerArch.c
2842 src/backends/NetworkManagerDebian.c
2843 src/backends/NetworkManagerFrugalware.c
2844 src/backends/NetworkManagerGentoo.c
2845 src/backends/NetworkManagerMandriva.c
2846 src/backends/NetworkManagerPaldo.c
2847 src/backends/NetworkManagerRedHat.c
2848 src/backends/NetworkManagerSlackware.c
2849 src/backends/NetworkManagerSuSE.c
2850 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2851 nm_system_flush_arp_cache): remove, unused
2853 * src/backends/NetworkManagerGeneric.c
2854 src/backends/NetworkManagerGeneric.h
2855 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2856 nm_generic_flush_arp_cache): remove, unused
2858 2008-05-23 Dan Williams <dcbw@redhat.com>
2860 * system-settings/plugins/ifcfg-fedora/reader.c
2861 - (make_ip4_setting): honor PEERDNS setting
2863 2008-05-23 Dan Williams <dcbw@redhat.com>
2865 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2867 * src/NetworkManagerSystem.c
2868 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2871 * src/backends/NetworkManagerArch.c
2872 src/backends/NetworkManagerDebian.c
2873 src/backends/NetworkManagerFrugalware.c
2874 src/backends/NetworkManagerGentoo.c
2875 src/backends/NetworkManagerMandriva.c
2876 src/backends/NetworkManagerPaldo.c
2877 src/backends/NetworkManagerRedHat.c
2878 src/backends/NetworkManagerSlackware.c
2879 src/backends/NetworkManagerSuSE.c
2880 - (nm_system_device_flush_ip4_addresses,
2881 nm_system_device_flush_ip4_addresses_with_iface): remove
2883 * src/backends/NetworkManagerGeneric.c
2884 - (nm_generic_device_flush_ip4_addresses,
2885 nm_generic_device_flush_ip4_addresses_with_iface): remove
2887 2008-05-23 Dan Williams <dcbw@redhat.com>
2889 * src/supplicant-manager/nm-supplicant-settings-verify.c
2890 - Switch 'bssid' from bytes to keyword type
2891 - (validate_type_keyword): allow NULL keyword lists
2893 * src/supplicant-manager/nm-supplicant-config.c
2894 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2895 a byte array to string form, which is what the supplicant expects
2897 2008-05-23 Tambet Ingo <tambet@gmail.com>
2899 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2900 information received from DHCP.
2902 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2903 to make it possible to ignore the DNS information (both servers and
2904 searches) returned by DHCP server.
2906 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2907 name servers and searches if "ignore_dhcp_dns" is set.
2909 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2910 (nm_ip4_config_reset_searches): Implement.
2912 2008-05-22 Dan Williams <dcbw@redhat.com>
2914 Remove anything mDNS related. This is better done from a distro-specific
2915 dispatcher script. Plus, any distro using avahi doesn't need to restart
2916 avahi, since avahi can handle interface changes just fine using netlink.
2919 - Remove --with-mdns-provider
2921 * src/NetworkManagerPolicy.c
2922 - (global_state_changed): don't restart the mdns provider
2924 * src/NetworkManagerSystem.h
2925 src/backends/NetworkManagerArch.c
2926 src/backends/NetworkManagerDebian.c
2927 src/backends/NetworkManagerFrugalware.c
2928 src/backends/NetworkManagerGentoo.c
2929 src/backends/NetworkManagerMandriva.c
2930 src/backends/NetworkManagerPaldo.c
2931 src/backends/NetworkManagerRedHat.c
2932 src/backends/NetworkManagerSlackware.c
2933 src/backends/NetworkManagerSuSE.c
2934 - (nm_system_restart_mdns_responder): remove
2936 * src/backends/NetworkManagerGeneric.c
2937 src/backends/NetworkManagerGeneric.h
2938 - (nm_generic_restart_mdns_responder): remove
2940 2008-05-22 Dan Williams <dcbw@redhat.com>
2943 - clean up crypto options; just use --with-crypto=nss or
2944 --with-crypto=gnutls
2946 2008-05-22 Tambet Ingo <tambet@gmail.com>
2948 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2949 anymore, do it right away.
2951 2008-05-22 Tambet Ingo <tambet@gmail.com>
2953 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2954 serial device open when we're not connecting or connected.
2956 * src/nm-cdma-device.c (device_state_changed): Ditto.
2958 2008-05-22 Tambet Ingo <tambet@gmail.com>
2960 Don't remove all devices on waking up, sync with HAL.
2962 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2963 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2964 (hal_manager_hal_reappeared_cb): Just call sync_devices.
2966 2008-05-21 Tambet Ingo <tambet@gmail.com>
2968 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2969 If the default gateway is unreachable, add a route to gateway and try
2972 2008-05-20 Dan Williams <dcbw@redhat.com>
2974 * system-settings/plugins/ifcfg-fedora/reader.c
2975 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2977 2008-05-19 Dan Williams <dcbw@redhat.com>
2979 * system-settings/plugins/ifcfg-fedora/reader.c
2980 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2981 if the ifcfg doesn't specify one (rh #446527)
2983 2008-05-19 Dan Williams <dcbw@redhat.com>
2985 Make the system settings service exit when the bus goes away. Since it's
2986 a bus-activated service, it's lifetime is limited to the bus that activated
2989 * system-settings/src/Makefile.am
2990 system-settings/src/nm-system-config-hal-manager-private.h
2991 - Remove nm-system-config-hal-manager-private.h
2993 * system-settings/src/nm-system-config-hal-manager.c
2994 - (nm_system_config_hal_manager_reinit_dbus,
2995 nm_system_config_hal_manager_deinit_dbus): remove
2997 * system-settings/src/main.c
2998 - (dbus_reconnect): remove
2999 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3000 - (destroy_cb): just quit when the bus goes away
3001 - (start_dbus_service, dbus_init): simplify
3002 - (main): destroy the wired devices hash table after destroying
3003 the HAL manager so we don't have to disconnect signals from the
3006 2008-05-15 Tambet Ingo <tambet@gmail.com>
3008 Move crypto functions from nm-applet to libnm-util.
3010 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3011 (nm_setting_802_1x_set_client_cert)
3012 (nm_setting_802_1x_set_phase2_ca_cert)
3013 (nm_setting_802_1x_set_phase2_client_cert)
3014 (nm_setting_802_1x_set_private_key)
3015 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3016 file (or private key and it's password), read the certificate data.
3018 * libnm-util/crypto_nss.c:
3019 * libnm-util/crypto_gnutls.c:
3020 * libnm-util/crypto.[ch]: Move here from nm-applet.
3022 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3024 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3025 Imlement WPA-EAP configuration reading from sysconfig.
3027 2008-05-16 Dan Williams <dcbw@redhat.com>
3029 * src/nm-device-802-11-wireless.c
3030 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3033 2008-05-14 Dan Williams <dcbw@redhat.com>
3035 Fix Linus' bug in rh #134886
3037 * src/nm-device-802-3-ethernet.c
3038 - (constructor): request initial carrier state
3040 * src/nm-netlink-monitor.c
3041 - (nm_netlink_monitor_request_status): schedule emission of carrier
3042 signals after refilling the link cache. Because the refill is a
3043 synchronous operation, the normal message hander won't get called
3044 since libnl has already consumed the messages.
3045 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3047 2008-05-14 Dan Williams <dcbw@redhat.com>
3049 * src/NetworkManagerSystem.c
3050 - (nm_system_device_is_up_with_iface): clean up
3052 2008-05-13 Dan Williams <dcbw@redhat.com>
3054 Fix refcounting issues over sleep/wake when a VPN connection was active that
3055 caused NM to try registering an object path for a device upon wake that was
3056 the same as an already registered object path.
3059 - (nm_device_take_down): properly handle cases where the device is
3060 no longer active but was just active, and therefore must be
3061 deactivated. When a device moves to unmanaged mode, this function
3062 previously would not deactivate the device, because the state was
3063 already unmanaged by the time this function was called.
3065 * src/vpn-manager/nm-vpn-connection.c
3066 - (device_state_changed): properly handle multiple devices states in
3067 which the device is now deactivated. Code previously didn't handle
3068 transitions to the UNAVAILABLE (like rfkill or carrier off) and
3071 2008-05-13 Dan Williams <dcbw@redhat.com>
3073 * src/nm-device-private.h
3075 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3077 * src/nm-device-802-11-wireless.c
3078 - (nm_device_802_11_wireless_set_enabled): take devices up
3079 and down as appropriate for the rfkill state
3081 2008-05-13 Dan Williams <dcbw@redhat.com>
3083 * marshallers/nm-marshal.list
3084 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3086 * system-settings/plugins/ifcfg-fedora/Makefile.am
3087 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3088 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3089 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3090 events. Solely for use watching ifcfg files to pick up changes
3091 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3093 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3094 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3095 file contents change
3096 - (finalize): clean up inotify watches
3097 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3098 and the connection ifcfg for changes on their hardlinks
3099 - (files_changed_cb): proxy the changed signal back out to listeners
3101 * system-settings/plugins/ifcfg-fedora/plugin.c
3103 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3105 - (read_one_connection): connect to change signals on the new connection
3106 - (dir_changed, connection_changed_handler,
3107 handle_connection_remove_or_new): break out connection change
3108 handling and connection new/remove handling so it can be used from
3109 both the GFileMonitor callback and the NMIfcfgConnection changed
3112 * system-settings/plugins/ifcfg-fedora/reader.c
3113 system-settings/plugins/ifcfg-fedora/reader.h
3114 - (connection_from_file): return the keyfile path the connection would use
3116 2008-05-13 Tambet Ingo <tambet@gmail.com>
3118 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
3119 single PolKitContext which is shared by all. PolKitContext::unref leaks
3120 just about everything, including all open file descriptiors and results
3121 in 99% cpu usage when data arrives to any of the fds that don't belong
3122 to any context anymore.
3124 2008-05-12 Dan Williams <dcbw@redhat.com>
3126 * gfilemonitor/glocaldirectorymonitor.c
3127 gfilemonitor/glocaldirectorymonitor.h
3128 - (g_local_directory_monitor_constructor): actually subscribe to the
3130 - (_g_local_directory_monitor_new): ensure that inotify is started up
3132 * gfilemonitor/glocalfilemonitor.c
3133 gfilemonitor/glocalfilemonitor.h
3134 - (g_local_file_monitor_constructor): actually subscribe to the watch
3135 - (_g_local_file_monitor_new): ensure that inotify is started up
3137 2008-05-11 Dan Williams <dcbw@redhat.com>
3140 - record PolicyKit version
3142 * system-settings/src/nm-polkit-helpers.c
3143 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3144 with PolicyKit <= 0.6
3146 2008-05-11 Dan Williams <dcbw@redhat.com>
3148 Update Fedora system-settings plugin to support latest API and use
3149 GFileMonitor rather than home-rolled inotify code.
3151 * system-settings/plugins/ifcfg-fedora/Makefile.am
3152 system-settings/plugins/ifcfg-fedora/common.h
3153 system-settings/plugins/ifcfg-fedora/plugin.c
3154 - Update to latest system settings plugin API; use GIO instead of
3155 custom inotify code; use NMIfcfgConnection objects instead of
3156 ConnectionData structures tacked onto NMConnection objects
3158 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3159 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3160 - Implement an NMExportedConnection subclass mapping ifcfg files to
3163 * system-settings/plugins/ifcfg-fedora/reader.c
3164 system-settings/plugins/ifcfg-fedora/reader.h
3165 - Move ifcfg parsing bits here from parser.c
3167 * system-settings/plugins/ifcfg-fedora/parser.c
3168 system-settings/plugins/ifcfg-fedora/parser.h
3169 - Remove; most code moved to reader.c
3171 2008-05-11 Dan Williams <dcbw@redhat.com>
3176 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3177 implementation, so that the same change monitoring code can be used
3178 on systems without glib-2.14 (like Fedora 8)
3180 * system-settings/plugins/keyfile/Makefile.am
3181 system-settings/plugins/keyfile/plugin.c
3182 system-settings/plugins/ifcfg-suse/Makefile.am
3183 system-settings/plugins/ifcfg-suse/plugin.c
3184 - Use private gfilemonitor code if GIO is not present
3186 2008-05-09 Tambet Ingo <tambet@gmail.com>
3188 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3189 NMExportedConnection's 'update' and 'delete' and return error with
3190 descriptive message.
3192 2008-05-08 Dan Williams <dcbw@redhat.com>
3194 Patch from Markus Becker <mab@comnets.uni-bremen.de>
3196 * src/nm-gsm-device.c
3197 src/nm-cdma-device.c
3198 - (real_get_best_auto_connection): implement; allow autoconnection
3199 to GSM & CDMA devices
3201 2008-05-08 Tambet Ingo <tambet@gmail.com>
3203 Use PolicyKit to authorize the system settings' AddConnection method
3204 and the system settings connections' Update and Delete methods.
3206 * libnm-glib/nm-settings.c (impl_exported_connection_update)
3207 (impl_exported_connection_delete, nm_exported_connection_update)
3208 (nm_exported_connection_delete): Return boolean and fill GError
3209 to notify the callers of the reasons why it might have failed.
3211 * libnm-glib/nm-dbus-settings-system.c
3212 (nm_dbus_settings_system_add_connection): Return the error from dbus
3213 call so that the callers can see why it failed.
3215 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
3218 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3220 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3221 abstract base class that checks PolicyKit permissions.
3223 * system-settings/src/dbus-settings.c:
3224 (impl_settings_add_connection): Check the policy before carring out
3227 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3228 Inherit from NMSysconfigConnection, check the policies before
3229 allowing updating or removing.
3231 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3232 Inherit from NMSysconfigConnection.
3234 * introspection/nm-exported-connection.xml: Annotate "Update" and
3235 "Delete" methods with async flag so that the implementations can get
3236 access to DBusGMethodInvocation.
3238 * system-settings/src/dbus-settings.c
3239 (settings_add_connection_check_privileges): Implement.
3240 (impl_settings_add_connection): Check the privileges before adding a new
3241 connection. Improve error reporting.
3243 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3244 async so that the implementation can access DBusGMethodInvocation.
3246 * configure.in: Check for PolicyKit.
3248 * policy/org.freedesktop.network-manager-settings.system.policy:
3251 * policy/Makefile.am: Install the policy file.
3253 * configure.in: Add 'policy' subdir.
3255 2008-05-08 Tambet Ingo <tambet@gmail.com>
3257 Rewrite the suse system settings plugin.
3259 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3261 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3263 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3265 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3267 * system-settings/src/dbus-settings.c: Fix connection reference counting.
3269 * system-settings/src/main.c (load_plugins): Improve error reporting.
3271 * system-settings/src/sha1.[ch] Add.
3273 * system-settings/src/Makefile.am: Add sha1[ch] to build.
3275 2008-05-07 Dan Williams <dcbw@redhat.com>
3277 * system-settings/plugins/keyfile/reader.c
3278 - (read_one_setting_value): handle IP address items separately
3279 - (read_array_of_uint): read IPv4 DNS option as a string array
3280 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3283 * system-settings/plugins/keyfile/writer.c
3284 - (write_setting_value): handle IP address items separately
3285 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3286 not an array of uint, so that it's user-editable
3287 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3288 arrays, so they are user-editable
3290 2008-05-07 Dan Williams <dcbw@redhat.com>
3292 * system-settings/plugins/keyfile/Makefile.am
3293 - Change location of the keyfile plugin settings to
3294 /etc/NetworkManager/system-connections
3296 2008-05-05 Tambet Ingo <tambet@gmail.com>
3298 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3300 * system-settings/plugins/keyfile/plugin.c: Work with
3301 NMKeyfileConnections.
3303 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3304 Plugins are supposed to return NMExportedConnections now and handle the
3305 updated(), removed(), and GetSecrets().
3306 Store the internal list of connections in hash table to make it easier
3309 2008-05-07 Tambet Ingo <tambet@gmail.com>
3311 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3312 for multiple IP addresses.
3314 2008-05-07 Tambet Ingo <tambet@gmail.com>
3316 Patch from André Lemos.
3318 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3321 2008-05-06 Dan Williams <dcbw@redhat.com>
3323 * src/dhcp-manager/nm-dhcp-manager.c
3324 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3325 NMIP4Config to support multiple IP addresses
3327 * src/NetworkManagerUtils.c
3328 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3330 * src/nm-ip4-config.c
3332 - Store a list of IPv4 address/netmask/gateway tuples
3333 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3334 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3335 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3336 nm_ip4_config_set_address): remove
3337 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3338 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3339 new functions; handle multiple IPv4 addresses
3342 src/ppp-manager/nm-ppp-manager.c
3343 src/vpn-manager/nm-vpn-connection.c
3344 src/NetworkManagerPolicy.c
3346 libnm-glib/libnm-glib-test.c
3347 - update for changes to NMIP4Config for multiple IPv4 addresses
3349 * src/NetworkManagerSystem.c
3350 - (nm_system_device_set_ip4_route): don't add the route if any address
3351 is on the same subnet as the destination
3352 - (check_one_address): ignore the exact match, just match family and
3354 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3356 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3357 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3359 * introspection/nm-ip4-config.xml
3360 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3361 - Add 'addresses' property which is an array of (uuu) tuples of
3362 address/netmask/gateway
3364 * libnm-util/nm-setting-ip4-config.c
3365 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3367 * libnm-glib/nm-ip4-config.c
3368 libnm-glib/nm-ip4-config.h
3369 - Handle D-Bus interface changes to support multiple IP addresses
3371 2008-05-06 Dan Williams <dcbw@redhat.com>
3373 * libnm-util/nm-utils.c
3374 libnm-util/nm-utils.h
3375 - (nm_utils_ip4_addresses_from_gvalue,
3376 nm_utils_ip4_addresses_to_gvalue): new functions
3378 2008-05-06 Tambet Ingo <tambet@gmail.com>
3380 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3381 the returned connection paths.
3383 2008-05-05 Tambet Ingo <tambet@gmail.com>
3385 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
3386 "PropertiesChanged" signal signature.
3388 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3389 defined in nm-dbus-glib-types.h.
3390 Don't register the connection on dbus, we're a proxy class to
3391 communicate with an already registered connection over dbus.
3393 2008-04-30 Tambet Ingo <tambet@gmail.com>
3395 Implement new subclasses of NMSettings and NMExportedConnection to make
3396 it easier for the applet to access and modify system settings.
3398 * libnm-glib/nm-dbus-connection.[ch]:
3399 * libnm-glib/nm-dbus-settings.[ch]:
3400 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3402 * libnm-glib/Makefile.am: Add the new files to build, generate some more
3405 * include/NetworkManager.h: Define the system settings DBus interface.
3407 2008-04-30 Tambet Ingo <tambet@gmail.com>
3409 Implement additional C API for exported connections to make them identical
3410 with the DBus API. Change the (list_connections) virtual function to be
3411 more usable from C - instead of requiring implementers to return a GPtrArray
3412 of dbus paths, return a list of connections.
3414 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3415 (nm_settings_list_connections):
3416 (nm_exported_connection_new):
3417 (nm_exported_connection_update):
3418 (nm_exported_connection_delete): Implement.
3420 (impl_settings_list_connections):
3421 (impl_exported_connection_update):
3422 (impl_exported_connection_delete): Use the new public functions to make
3423 sure the C and dbus interfaces stay in sync.
3425 * system-settings/src/dbus-settings.c (list_connections): Return a list of
3428 2008-05-02 Dan Williams <dcbw@redhat.com>
3430 * system-settings/plugins/ifcfg-fedora/plugin.c
3431 - (dispose): use right unref call on the DBusGConnection
3433 2008-05-02 Dan Williams <dcbw@redhat.com>
3435 * src/nm-serial-device.c
3436 - (find_terminator): don't compare the whole line, just the size of the
3437 terminator, since some modems put stuff after the terminator, like
3440 2008-05-01 Dan Williams <dcbw@redhat.com>
3442 Patch from Michael Biebl <biebl@debian.org>
3444 * callouts/Makefile.am
3445 callouts/org.freedesktop.nm_dispatcher.service.in
3446 system-settings/src/Makefile.am
3447 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3448 - use the right install location for dbus-activated stuff
3450 2008-04-30 Dan Williams <dcbw@redhat.com>
3452 * src/nm-gsm-device.c
3453 - (enter_pin): fix setting name passed to applets when asking for a GSM
3456 2008-04-30 Dan Williams <dcbw@redhat.com>
3459 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3461 2008-04-30 Dan Williams <dcbw@redhat.com>
3463 * src/nm-device-802-3-ethernet.c
3464 src/nm-device-802-11-wireless.c
3465 - (real_is_up): return true instead of chaining up to unimplemented
3468 2008-04-30 Dan Williams <dcbw@redhat.com>
3470 * src/NetworkManagerSystem.c
3471 src/NetworkManagerSystem.h
3472 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3473 functions to check device flags for IFF_UP
3475 * src/nm-serial-device.c
3476 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3479 * src/nm-device-802-3-ethernet.c
3480 src/nm-device-802-11-wireless.c
3481 - (real_hw_is_up): call nm_system_device_is_up()
3484 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3485 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3488 2008-04-29 Dan Williams <dcbw@redhat.com>
3490 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3492 * marshallers/nm-marshal.list
3495 * src/NetworkManager.c
3496 - (main): let the NMManager handle the NMHalManager
3498 * src/nm-hal-manager.c
3499 src/nm-hal-manager.h
3500 - convert to a GObject, and emit singals when stuff changes. Let the
3501 NMManager handle the signals, instead of the NMHalManager calling
3506 - (remove_one_device): consolidate device removals here
3507 - (dispose): use remove_one_device()
3508 - (nm_manager_get_device_by_udi): make static
3509 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3510 manager for devices at startup or wakeup time
3511 - (nm_manager_new): create and monitor the HAL manager
3512 - (hal_manager_udi_added_cb): new function; do what
3513 nm_manager_add_device() used to do when signalled by the hal manager
3514 - (hal_manager_udi_removed_cb): new function; do what
3515 nm_manager_remove_device() used to do when signalled by the hal
3517 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3519 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3520 in our device list that aren't known to HAL
3521 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3522 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3524 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3525 nm_manager_activation_pending, nm_manager_wireless_enabled,
3526 nm_manager_wireless_hardware_enabled,
3527 nm_manager_set_wireless_hardware_enabled): remove, unused
3529 2008-04-28 Dan Williams <dcbw@redhat.com>
3531 Fix the device up/down ambiguities. Up/down state used to be a
3532 conglomeration of hardware state (IFF_UP) and any device-specific things
3533 (supplicant, periodic timers, etc) that the device used to indicate
3534 readiness. Unfortunately, if the hardware was already IFF_UP for some
3535 reason, then the device specific stuff wouldn't get run, and the device
3540 - Create hw_is_up, hw_bring_up, and hw_take_down
3541 - Rename bring_down -> take_down
3542 - (real_hw_is_up): check interface flags for IFF_UP
3543 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3544 - (nm_device_is_up): make static; only used locally
3545 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3546 if the device is already up; if the device isn't up, bring it up
3547 - (nm_device_hw_take_down): just take down hardware
3548 - (nm_device_bring_up): bring up HW first, then device specific stuff
3549 - (nm_device_take_down): always deactivate device when called; always
3550 try to take hardware down too
3551 - (nm_device_state_changed): take device down when entering unmanaged
3552 state from a higher state
3554 * src/nm-device-802-11-wireless.c
3555 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3557 - (real_take_down, supplicant_iface_state_cb_handler,
3558 supplicant_iface_connection_state_cb_handler,
3559 supplicant_mgr_state_cb_handler): fix some messages
3561 * src/nm-device-802-3-ethernet.c
3562 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3565 2008-04-28 Dan Williams <dcbw@redhat.com>
3569 - (nm_manager_error_get_type): add new error
3570 - (nm_manager_remove_device): don't bother taking down the device here,
3571 the state change from unmanaging the device will do it
3572 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3573 uses it; when going to sleep, just unmanage the device instead of
3574 taking it down, because stuff will cleaned up correctly when the
3575 device gets unmanaged
3577 2008-04-28 Dan Williams <dcbw@redhat.com>
3579 * src/nm-hal-manager.c
3580 - (add_initial_devices): convert to a GSourceFunc prototype
3581 - (nm_manager_state_changed): when coming out of sleep, punt the
3582 device re-addition to an idle handler to let D-Bus events go out
3583 first, fixing a potential dbus-glib assert if the old device was
3584 not yet disposed (due to references held while emitting the D-Bus
3585 signals) but the new device was found, because the mainloop didn't
3586 run between signal emission and add_initial_devices()
3588 2008-04-27 Dan Williams <dcbw@redhat.com>
3590 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3592 * initscript/paldo/NetworkManager.in
3593 initscript/SUSE/networkmanager.in
3594 - Remove last bits of dhcdbd
3596 2008-04-27 Dan Williams <dcbw@redhat.com>
3598 * src/nm-device-802-11-wireless.c
3599 - (link_timeout_cb): don't ask for secrets when disconnected during
3600 association/authentication phase, drivers are still just too crappy
3602 2008-04-27 Dan Williams <dcbw@redhat.com>
3606 dispatcher-daemon/Makefile.am
3607 dispatcher-daemon/NetworkManagerDispatcher.c
3608 initscript/Arch/Makefile.am
3609 initscript/Arch/networkmanager-dispatcher.in
3610 initscript/Gentoo/Makefile.am
3611 initscript/Gentoo/NetworkManagerDispatcher.in
3612 initscript/Mandriva/Makefile.am
3613 initscript/Mandriva/networkmanagerdispatcher.in
3614 initscript/RedHat/Makefile.am
3615 initscript/RedHat/NetworkManagerDispatcher.in
3616 initscript/SUSE/Makefile.am
3617 initscript/SUSE/networkmanager-dispatcher.in
3618 initscript/Slackware/Makefile.am
3619 initscript/Slackware/rc.networkmanager-dispatcher.in
3620 initscript/paldo/Makefile.am
3621 initscript/paldo/NetworkManagerDispatcher.in
3623 man/NetworkManagerDispatcher.8.in
3624 - Remove the dispatcher daemon
3626 2008-04-27 Dan Williams <dcbw@redhat.com>
3628 * callouts/Makefile.am
3629 callouts/nm-dispatcher-action.c
3630 callouts/nm-dispatcher-action.h
3631 callouts/nm-dispatcher.conf
3632 callouts/nm-dispatcher.xml
3633 callouts/org.freedesktop.nm_dispatcher.service
3634 - Re-implement the dispatcher as a system-bus activated service that
3635 NM calls on-demand, rather than an always running daemon
3638 - Add callouts dir to includes to pick up dispatcher defines
3641 - (nm_device_state_changed): call dispatcher on device activated/
3644 * src/vpn-manager/nm-vpn-connection.c
3645 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3648 * src/NetworkManagerUtils.c
3649 src/NetworkManagerUtils.h
3650 - (nm_utils_call_dispatcher): helper to call dispatcher
3652 2008-04-27 Dan Williams <dcbw@redhat.com>
3654 * src/NetworkManagerUtils.c
3655 src/NetworkManagerUtils.h
3656 - remove unneeded includes
3657 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3658 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3659 nm_timeval_cmp, nm_timeval_add): remove, unused
3660 - clean up formatting
3661 - (nm_spawn_process): de-uglify
3663 * src/nm-device-802-11-wireless.c
3664 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3666 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
3668 * initscript/Gentoo/NetworkManager.in:
3669 Fix for starting the daemon.
3671 2008-04-25 Dan Williams <dcbw@redhat.com>
3673 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3675 * src/NetworkManagerSystem.c
3676 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3678 2008-04-25 Dan Williams <dcbw@redhat.com>
3680 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3682 * src/NetworkManagerSystem.c
3683 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3684 implementation of nm_system_device_replace_default_route()
3686 * src/NetworkManagerPolicy.c
3687 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3689 * src/backends/NetworkManagerArch.c
3690 src/backends/NetworkManagerDebian.c
3691 src/backends/NetworkManagerFrugalware.c
3692 src/backends/NetworkManagerGeneric.c
3693 src/backends/NetworkManagerGeneric.h
3694 src/backends/NetworkManagerGentoo.c
3695 src/backends/NetworkManagerMandriva.c
3696 src/backends/NetworkManagerPaldo.c
3697 src/backends/NetworkManagerRedHat.c
3698 src/backends/NetworkManagerSlackware.c
3699 src/backends/NetworkManagerSuSE.c
3700 - (nm_system_device_replace_default_route): remove
3702 2008-04-25 Dan Williams <dcbw@redhat.com>
3704 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3706 * src/NetworkManagerSystem.c
3707 - (validate_ip4_route): remove; use nl_addr_parse() instead
3708 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3709 replace nm_system_device_add_route_via_device_with_iface() in the
3712 * src/backends/NetworkManagerArch.c
3713 src/backends/NetworkManagerDebian.c
3714 src/backends/NetworkManagerFrugalware.c
3715 src/backends/NetworkManagerGeneric.c
3716 src/backends/NetworkManagerGeneric.h
3717 src/backends/NetworkManagerGentoo.c
3718 src/backends/NetworkManagerMandriva.c
3719 src/backends/NetworkManagerPaldo.c
3720 src/backends/NetworkManagerRedHat.c
3721 src/backends/NetworkManagerSlackware.c
3722 src/backends/NetworkManagerSuSE.c
3723 - Remove nm_system_device_add_route_via_device_with_iface()
3725 2008-04-25 Dan Williams <dcbw@redhat.com>
3727 * system-settings/plugins/ifcfg-fedora/parser.c
3728 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3730 2008-04-24 Dan Williams <dcbw@redhat.com>
3732 * dispatcher-daemon/NetworkManagerDispatcher.c
3733 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3735 2008-04-24 Dan Williams <dcbw@redhat.com>
3737 * initscript/RedHat/NetworkManager.in
3738 initscript/RedHat/NetworkManagerDispatcher.in
3739 - Be active at runlevel 2
3740 - Adjust priorities earlier
3742 2008-04-22 Dan Williams <dcbw@redhat.com>
3744 * src/NetworkManagerPolicy.c
3745 - (update_routing_and_dns): when checking for a gateway, look at the
3746 composite IP4 config, not the connection's ip4-config setting, which
3747 doesn't include DHCP-returned information
3749 2008-04-22 Tambet Ingo <tambet@gmail.com>
3751 Implement GKeyFile system settings plugin.
3752 Implement writing system settings (currently supported only by GKeyFile plugin).
3754 * system-settings/src/main.c:
3755 * system-settings/src/dbus-settings.c: Move the communication with plugins
3756 from main.c to dbus-settings.c. Makes it possible to talk to all registered
3757 plugins for adding/updating/removing connections.
3759 * system-settings/src/nm-system-config-interface.c
3760 (nm_system_config_interface_add_connection): Implement
3761 (nm_system_config_interface_update_connection): Implement.
3762 (nm_system_config_interface_remove_connection): Implement.
3764 * system-settings/plugins/keyfile/Makefile.am:
3765 * system-settings/plugins/keyfile/plugin.[ch]:
3766 * system-settings/plugins/keyfile/writer.[ch]:
3767 * system-settings/plugins/keyfile/reader.[ch]: Implement.
3769 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3771 * configure.in: Generate GKeyFile Makefile.
3773 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3774 corruption, need to duplicate the returned string.
3775 (impl_exported_connection_update): Implement.
3776 (impl_exported_connection_delete): Implement.
3778 * introspection/nm-settings-system.xml: Add "AddConnection" method.
3780 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3782 2008-04-22 Dan Williams <dcbw@redhat.com>
3784 Patch from Charles R. Anderson (cra@wpi.edu)
3786 * src/NetworkManagerPolicy.c
3787 - (update_routing_and_dns): don't select devices without a gateway
3788 as having the default route (rh #437338)
3790 2008-04-21 Dan Williams <dcbw@redhat.com>
3792 * src/nm-activation-request.c
3793 src/nm-activation-request.h
3794 - (dispose): ensure to disconnect from the device's state-changed signal
3795 when appropriate so the signal doesn't get handled by an already
3796 disposed NMActRequest
3797 - (device_state_changed): update is_default here too just to make sure
3798 default is only True when the child device is activated
3799 - (nm_act_request_set_default): new function
3801 * src/NetworkManagerPolicy.c
3802 - (update_routing_and_dns): set 'default' on the active connection which
3803 has the default route and DNS
3805 2008-04-21 Dan Williams <dcbw@redhat.com>
3807 * src/NetworkManagerPolicy.c
3808 - (device_state_changed): update routing and DNS when a device goes
3809 into unmanaged or unavailable states too (like rfkill or carrier loss)
3811 2008-04-21 Dan Williams <dcbw@redhat.com>
3813 * include/NetworkManager.h
3814 - Add NMActiveConnectionState enum
3816 * introspection/nm-active-connection.xml
3817 introspection/nm-vpn-connection.xml
3818 - Add 'State' property for overall active connection state
3819 - Add 'Default' property, when True means this active connection
3820 has the default route
3821 - Add PropertyChanged signals so changes actually go out over the bus
3823 * src/nm-active-connection.h
3824 - Add defines for State & Default properties
3826 * src/nm-activation-request.c
3827 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3828 signal to determine active connection state
3830 * src/vpn-manager/nm-vpn-connection.c
3831 src/vpn-manager/nm-vpn-connection.h
3832 src/vpn-manager/nm-vpn-manager.c
3833 src/vpn-manager/nm-vpn-service.c
3834 - Rename old 'state' to 'vpn-state'
3835 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3836 - Add 'state' and 'default' properties, hook up to the vpn connection's
3837 'vpn-state-changed' signal
3839 * libnm-glib/nm-active-connection.c
3840 libnm-glib/nm-active-connection.h
3841 - Add new 'state' and 'default' properties and accessors
3843 * libnm-glib/nm-vpn-connection.c
3844 libnm-glib/nm-vpn-connection.h
3845 - Rename old 'state' property to 'vpn-state'
3846 - Add new 'state' and 'default' properties and accessors
3848 2008-04-21 Dan Williams <dcbw@redhat.com>
3850 * src/nm-ip4-config.c
3851 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3852 not specified (rh #443474)
3854 2008-04-20 Dan Williams <dcbw@redhat.com>
3856 * src/NetworkManagerUtils.c
3857 src/NetworkManagerUtils.h
3858 - (nm_utils_merge_ip4_config): new function; merge settings from an
3859 NMSettingIP4Config to an NMIP4Config object
3862 - (merge_ip4_config): move to NetworkManagerUtils.c
3864 * src/vpn-manager/nm-vpn-connection.c
3865 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3868 2008-04-18 Dan Williams <dcbw@redhat.com>
3870 * libnm-util/nm-setting-ppp.c
3871 libnm-util/nm-setting-ppp.h
3872 - Add 'no-vj-comp' option for TCP header compression
3873 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3876 2008-04-18 Dan Williams <dcbw@redhat.com>
3878 * libnm-util/nm-setting-ppp.c
3879 libnm-util/nm-setting-ppp.h
3880 src/ppp-manager/nm-ppp-manager.c
3881 - Add 'refuse-pap' and 'refuse-mschapv2' options
3883 2008-04-18 Dan Williams <dcbw@redhat.com>
3885 * libnm-util/nm-setting-ppp.c
3886 libnm-util/nm-setting-ppp.h
3887 src/ppp-manager/nm-ppp-manager.c
3888 - Remove the 'usepeerdns' option and always request DNS servers from
3889 the PPP server; the connection chooses to use/override/ignore the
3890 DNS servers returned from the PPP server
3892 2008-04-18 Dan Williams <dcbw@redhat.com>
3894 * libnm-util/nm-setting-ppp.c
3895 libnm-util/nm-setting-ppp.h
3896 src/ppp-manager/nm-ppp-manager.c
3897 - Remove the 'require-mppc' option, because pppd doesn't support it and
3898 it seems to have been an erroneous addition to the PPTP plugin in
3899 the first place (from which the ppp-manager is derived)
3901 2008-04-17 Dan Williams <dcbw@redhat.com>
3903 * libnm-util/nm-setting-pppoe.c
3904 - (verify): require a PPP setting too
3906 * src/ppp-manager/nm-ppp-manager.c
3907 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3910 2008-04-17 Dan Williams <dcbw@redhat.com>
3913 - (nm_device_state_changed): do deactivation and and promotion to
3914 unavailable here, so that the device gets cleaned up before the
3915 manager runs and starts emitting signals; do the
3916 FAILED->DISCONNECTED transition from an idle handler rather than
3917 immediately to guard against recursion
3918 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3919 FAILED->DISCONNECTED handler if it's scheduled
3921 2008-04-17 Dan Williams <dcbw@redhat.com>
3923 * src/nm-device-802-11-wireless.c
3924 - (state_changed_cb): clear AP list when device transitions to
3925 unavailable or unmanaged
3926 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3927 since this is already done in device_cleanup()
3928 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3929 isn't available or managed
3930 - (device_cleanup): use remove_all_aps()
3931 - (remove_all_aps): consolidate code removing all APs
3933 2008-04-17 Dan Williams <dcbw@redhat.com>
3935 * src/nm-serial-device.c
3936 src/nm-serial-device.h
3937 - (wait_for_reply_got_data): break input into lines, and search each
3938 line for responses _and_ terminator strings; also make sure that
3939 the read loop doesn't continue after the timeout is supposed to fire
3940 - (nm_serial_device_wait_for_reply): take an array of terminators too
3942 * src/nm-gsm-device.c
3943 src/nm-cdma-device.c
3944 - Send terminators to nm_serial_device_wait_for_reply()
3946 2008-04-16 Dan Williams <dcbw@redhat.com>
3948 Patch from 陈鑫 <znscnchen@gmail.com>
3950 * src/ppp-manager/nm-pppd-plugin.c
3951 - (get_credentials): return correct value for success; handle case where
3952 pppd just does some checking but doesn't want a password
3953 - (plugin_init): make CHAP work too
3955 2008-04-16 Dan Williams <dcbw@redhat.com>
3957 Patch from 陈鑫 <znscnchen@gmail.com>
3959 * src/ppp-manager/nm-ppp-manager.c
3960 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3962 2008-04-16 Dan Williams <dcbw@redhat.com>
3964 Patch from 陈鑫 <znscnchen@gmail.com>
3966 * src/nm-device-802-3-ethernet.c
3967 - (real_deactivate_quickly): clear the IP interface name on
3968 deactivation, otherwise the wrong interface might get used later
3969 for routing and IP management
3971 2008-04-15 Dan Williams <dcbw@redhat.com>
3973 * libnm-glib/nm-device.c
3974 - (get_product_and_vendor): handle serial devices correctly
3975 - (nm_device_update_description): pass device to get_product_and_vendor()
3977 2008-04-15 Dan Williams <dcbw@redhat.com>
3979 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3981 * src/NetworkManagerSystem.h
3982 src/backends/NetworkManagerArch.c
3983 src/backends/NetworkManagerDebian.c
3984 src/backends/NetworkManagerFrugalware.c
3985 src/backends/NetworkManagerGeneric.c
3986 src/backends/NetworkManagerGeneric.h
3987 src/backends/NetworkManagerGentoo.c
3988 src/backends/NetworkManagerMandriva.c
3989 src/backends/NetworkManagerPaldo.c
3990 src/backends/NetworkManagerRedHat.c
3991 src/backends/NetworkManagerSlackware.c
3992 src/backends/NetworkManagerSuSE.c
3994 - (nm_generic_device_add_ip6_link_address,
3995 nm_system_device_add_ip6_link_address): remove
3997 2008-04-15 Dan Williams <dcbw@redhat.com>
3999 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4001 * src/backends/NetworkManagerArch.c
4002 src/backends/NetworkManagerDebian.c
4003 src/backends/NetworkManagerFrugalware.c
4004 src/backends/NetworkManagerGeneric.c
4005 src/backends/NetworkManagerGeneric.h
4006 src/backends/NetworkManagerGentoo.c
4007 src/backends/NetworkManagerMandriva.c
4008 src/backends/NetworkManagerPaldo.c
4009 src/backends/NetworkManagerRedHat.c
4010 src/backends/NetworkManagerSlackware.c
4011 src/backends/NetworkManagerSuSE.c
4012 src/NetworkManagerSystem.h
4013 - flush_routes -> flush_ip4_routes
4014 - flush_addresses -> flush_ip4_addresses
4016 * src/NetworkManagerSystem.c
4018 src/vpn-manager/nm-vpn-connection.c
4019 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4021 2008-04-15 Dan Williams <dcbw@redhat.com>
4023 Remove exposure of wireless-tools mode types in the API.
4025 * include/NetworkManager.h
4026 - Define NM80211Mode enum
4028 * introspection/generic-types.xml
4029 - Describe NM_802_11_MODE enum
4030 - Remove IW_MODE_* enum
4032 * introspection/nm-access-point.xml
4033 libnm-glib/nm-access-point.c
4034 libnm-glib/nm-access-point.h
4035 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4037 * introspection/nm-device-802-11-wireless.xml
4038 libnm-glib/nm-device-802-11-wireless.c
4039 libnm-glib/nm-device-802-11-wireless.h
4040 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4042 * libnm-util/nm-setting-wireless.c
4043 src/NetworkManagerAP.c
4044 src/NetworkManagerAP.h
4045 src/nm-device-802-11-wireless.c
4046 src/nm-device-802-11-wireless.h
4048 - Use NM80211Mode not IW_MODE_*
4050 2008-04-15 Dan Williams <dcbw@redhat.com>
4052 Enhance nm-online based on a patch from Bill Nottingham.
4056 - Add help messages and option summary
4057 - Add long-format options
4058 - Add a '-x' option to exit if NM isn't running or isn't connecting
4060 2008-04-15 Tambet Ingo <tambet@gmail.com>
4062 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4064 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4066 2008-04-15 Dan Williams <dcbw@redhat.com>
4068 * nm-setting-ip4-config.c
4069 - (ip4_addresses_from_gvalue): handle NULL address array
4071 * nm-setting-8021x.c
4072 - (verify_tls, verify_ttls): warn on failed verification
4074 2008-04-10 Dan Williams <dcbw@redhat.com>
4076 * src/nm-gsm-device.c
4077 - (automatic_registration): accept "+CREG: 0,0"
4078 - (automatic_registration_response): fail on "+CREG: 0,0"
4080 2008-04-10 Tambet Ingo <tambet@gmail.com>
4082 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4084 2008-04-10 Tambet Ingo <tambet@gmail.com>
4086 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
4087 Make it compile again by commenting out broken code that at first didn't work and
4088 now didn't compile either.
4090 2008-04-08 Dan Williams <dcbw@redhat.com>
4092 * libnm-glib/nm-object-cache.c
4093 libnm-glib/nm-settings.c
4094 src/dhcp-manager/nm-dhcp-manager.c
4095 system-settings/plugins/ifcfg-fedora/plugin.c
4096 system-settings/plugins/ifcfg-suse/plugin.c
4097 system-settings/src/nm-system-config-hal-manager.c
4098 libnm-util/nm-utils.c
4099 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4100 not threadsafe anyway
4102 2008-04-08 Dan Williams <dcbw@redhat.com>
4104 * system-settings/src/main.c
4105 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4106 callbacks take a device type too
4108 2008-04-08 Dan Williams <dcbw@redhat.com>
4110 The system settings service will now create a new default DHCP connection
4111 for wired devices that have no existing applicable connection.
4113 * system-settings/src/nm-system-config-hal-manager.c
4114 system-settings/src/nm-system-config-hal-manager.h
4115 - (nm_system_config_hal_manager_get_type_for_udi): new function
4117 * system-settings/src/dbus-settings.c
4118 system-settings/src/dbus-settings.h
4119 - (nm_sysconfig_settings_get_connections): new function
4120 - (nm_sysconfig_settings_is_device_managed): new function
4122 * system-settings/src/main.c
4123 - (load_stuff): check for wired devices that need a default connection
4124 - (get_details_for_udi): get interface and MAC address from HAL
4125 - (add_default_dhcp_connection): add a default connection for a wired
4127 - (device_added_cb, device_removed_cb): do the right thing with
4128 wired devices and their default connections on HAL device events
4130 2008-04-07 Dan Williams <dcbw@redhat.com>
4132 * libnm-glib/nm-device.c
4133 libnm-glib/nm-device.h
4134 - Proxy the 'managed' property
4136 2008-04-07 Dan Williams <dcbw@redhat.com>
4138 * src/nm-gsm-device.c
4139 src/nm-cdma-device.c
4140 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4141 handler to transition to DISCONNECTED
4143 2008-04-07 Dan Williams <dcbw@redhat.com>
4145 Patch from Bill Nottingham
4147 * dispatcher-daemon/NetworkManagerDispatcher.c
4148 - ignore backup/packaging crufy (rh #440143)
4150 2008-04-07 Dan Williams <dcbw@redhat.com>
4152 * include/NetworkManager.h
4153 - Remove the DOWN and CANCELLED device states
4154 - Add UNMANAGED and UNAVAILABLE device states
4155 - Document the device states
4157 * introspection/nm-device.xml
4158 src/nm-device-interface.c
4159 src/nm-device-interface.h
4160 - Add the 'managed' property
4163 - (detail_device): print out device state
4165 * src/NetworkManagerSystem.h
4166 src/backends/NetworkManagerArch.c
4167 src/backends/NetworkManagerDebian.c
4168 src/backends/NetworkManagerFrugalware.c
4169 src/backends/NetworkManagerGentoo.c
4170 src/backends/NetworkManagerMandriva.c
4171 src/backends/NetworkManagerPaldo.c
4172 src/backends/NetworkManagerRedHat.c
4173 src/backends/NetworkManagerSlackware.c
4174 src/backends/NetworkManagerSuSE.c
4175 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4176 nm_system_device_free_system_config): remove; they were unused and
4177 their functionality should be re-implemented in each distro's
4178 system settings service plugin
4180 * src/nm-gsm-device.c
4182 src/nm-cdma-device.c
4183 src/nm-cdma-device.h
4184 - (*_new): take the 'managed' argument
4187 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4188 - (nm_device_init): start in unmanaged state, not disconnected
4189 - (constructor): don't start device until the system settings service
4190 has had a chance to figure out if the device is managed or not
4191 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4192 don't set device state here, let callers handle that as appropriate
4193 - (nm_device_dispose): don't touch the device if it's not managed
4194 - (set_property, get_property, nm_device_class_init): implement the
4196 - (nm_device_state_changed): bring the device up if its now managed,
4197 and deactivate it if it used to be active
4198 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4199 with the managed state
4201 * src/nm-hal-manager.c
4202 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4203 take initial managed state and pass it along to device constructors
4204 - (create_device_and_add_to_list): get managed state and pass to
4207 * src/nm-device-802-11-wireless.c
4208 - (real_can_activate): fold in most of
4209 nm_device_802_11_wireless_can_activate()
4210 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4211 - (link_timeout_cb): instead of deactivating, change device state and
4212 let the device state handler to it
4213 - (real_update_hw_address): clean up
4214 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4215 handler to transition to DISCONNECTED if the device isn't rfkilled
4217 * src/nm-device-802-3-ethernet.c
4218 - (set_carrier): move above callers and get rid of prototype
4219 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4220 idle handler to transition to DISCONNECTED if the device has a
4222 - (real_update_hw_address): clean up
4223 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4224 deactivation directly as deactivation doesn't change state anymore
4226 * src/NetworkManagerPolicy.c
4227 - (schedule_activate_check): yay, remove wireless_enabled hack since
4228 the NMManager and wireless devices work that out themselves now
4229 - (device_state_changed): change to a switch and update for new device
4231 - (device_carrier_changed): remove; device handles this now through
4233 - (device_added): don't care about carrier any more; the initial
4234 activation check will happen when the device transitions to
4238 - (dispose): clear unmanaged devices
4239 - (handle_unmanaged_devices): update unmanaged device list and toggle
4240 the managed property on each device when needed
4241 - (system_settings_properties_changed_cb): handle signals from the
4242 system settings service
4243 - (system_settings_get_unmanaged_devices_cb): handle callback from
4244 getting the unmanaged device list method call
4245 - (query_unmanaged_devices): ask the system settings service for its
4246 list of unmanaged devices
4247 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4249 - (manager_set_wireless_enabled): push rfkill state down to wireless
4250 devices directly and let them handle the necessary state transitions
4251 - (manager_device_state_changed): update for new device states
4252 - (nm_manager_add_device): set initial rfkill state on wireless devices
4253 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4254 - (nm_manager_activate_connection): return error if the device is
4256 - (nm_manager_sleep): handle new device states correctly; don't change
4257 the state of unavailable/unmanaged devices
4259 * libnm-glib/nm-device-802-11-wireless.c
4260 - (state_changed_cb): update for new device states
4262 2008-04-07 Dan Williams <dcbw@redhat.com>
4264 * marshallers/nm-marshal.list
4265 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4267 2008-04-07 Dan Williams <dcbw@redhat.com>
4269 * system-settings/src/main.c
4270 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4271 plugins to the dbus settings object
4272 - (load_stuff): start the dbus service after grabbing unmanaged devices
4273 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4274 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4275 - (main): switch default logging to syslog with a 'debug' option to
4276 output to console; start up the HAL manager
4278 2008-04-07 Dan Williams <dcbw@redhat.com>
4280 * introspection/nm-settings-system.xml
4281 introspection/Makefile.am
4282 - Define the unmanaged devices interface for the system settings service
4284 * system-settings/src/nm-system-config-hal-manager.c
4285 system-settings/src/nm-system-config-hal-manager.h
4286 system-settings/src/nm-system-config-hal-manager-private.h
4287 system-settings/src/Makefile.am
4288 - Add a lightweight HAL manager object for tracking network devices for
4289 the purpose of determining unmanaged devices and which devices need
4290 the default DHCP connections
4292 * system-settings/src/nm-system-config-interface.c
4293 system-settings/src/nm-system-config-interface.h
4294 - (nm_system_config_interface_init): add the HAL manager as an argument
4295 - (nm_system_config_interface_get_unmanaged_devices): implement
4296 - Define 'unmanaged-devices-changed' signal
4298 * system-settings/src/dbus-settings.c
4299 system-settings/src/dbus-settings.h
4300 - Implement the unmanaged devices interface; some cleanups
4302 * system-settings/plugins/ifcfg-suse/plugin.c
4303 - Fixup for plugin interface changes
4305 * system-settings/plugins/ifcfg-fedora/plugin.c
4306 - (get_ether_device_udi): new function; find the device that has
4307 a specified MAC address and return its UDI
4308 - (get_udi_for_connection): new function; try to find the specific
4309 device a connection is locked to, if any
4310 - (device_added_cb, device_removed_cb): update unmanaged device list in
4311 response to HAL events
4312 - (get_unmanaged_devices): new function; return unmanaged device list
4313 - (build_one_connection): set the connection's locked device, if any
4314 - (write_auto_wired_connection): remove
4315 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4316 - (handle_connection_changed): alert listeners that the unmanaged device
4318 - (init): fixup for plugin interface changes, implement unmanaged devices
4320 * system-settings/plugins/ifcfg-fedora/parser.c
4321 system-settings/plugins/ifcfg-fedora/parser.h
4322 - (connection_data_free): clean up connection UDI
4324 2008-04-07 Dan Williams <dcbw@redhat.com>
4326 * system-settings/plugins/ifcfg-fedora/parser.c
4327 - (make_ip4_setting): fix parsing of DNS servers
4329 2008-04-05 Dan Williams <dcbw@redhat.com>
4333 marshallers/Makefile.am
4334 marshallers/nm-marshal-main.c
4335 marshallers/nm-marshal.list
4336 - Consolidate marshallers
4338 * libnm-glib/nm-marshal-main.c
4339 libnm-glib/nm-marshal.list
4340 src/marshallers/Makefile.am
4341 src/marshallers/nm-marshal-main.c
4342 src/marshallers/nm-marshal.list
4345 * libnm-glib/Makefile.am
4347 src/dhcp-manager/Makefile.am
4348 src/ppp-manager/Makefile.am
4349 src/supplicant-manager/Makefile.am
4350 src/vpn-manager/Makefile.am
4351 - Use consolidated marshallers
4353 2008-04-04 Dan Williams <dcbw@redhat.com>
4355 * src/nm-hal-manager.c
4356 src/nm-hal-manager.h
4357 - (hal_init): don't look for hardware here
4358 - (nm_hal_manager_start): new function; look for hardware here instead,
4359 which can be done at a later time than hal_init()
4361 * src/NetworkManager.c
4362 - (main): start HAL manager after entering the main loop
4364 2008-04-03 Dan Williams <dcbw@redhat.com>
4366 * libnm-glib/nm-settings.c
4367 libnm-glib/nm-settings.h
4368 - (nm_exported_connection_get_id): new function
4369 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4371 2008-04-02 Dan Williams <dcbw@redhat.com>
4373 * src/nm-device-interface.c
4374 src/nm-device-interface.h
4377 - Rename check_connection_conflicts() to check_connection_compatible()
4379 * src/nm-device-802-11-wireless.c
4380 - (real_check_connection_conflicts): remove
4381 - (real_check_connection_compatible): implement; match MAC address
4383 * src/nm-device-802-3-ethernet.c
4384 - (real_check_connection_conflicts): remove
4385 - (real_check_connection_compatible): implement; match MAC address
4386 - (real_get_best_auto_connection): correctly handle PPPoE cases
4389 - (check_connection_allowed): remove; unused until PolicyKit integration
4390 - (internal_activate_device): check whether the connection is compatible
4391 with the device before trying to activate it
4393 2008-04-02 Dan Williams <dcbw@redhat.com>
4395 * system-settings/plugins/ifcfg-fedora/parser.c
4396 - (read_mac_address): new function; read in MAC address and stuff it
4398 - (add_one_wep_key): remove debug spew
4399 - (make_wireless_security_setting): validate the default TX key; don't
4400 add the wireless-security setting if the connection doesn't need
4401 security; don't leak the keys shvarFile on error cases
4402 - (make_wireless_setting, make_wired_setting): populate device's MAC
4405 2008-04-02 Dan Williams <dcbw@redhat.com>
4407 * libnm-util/nm-setting-connection.c
4408 libnm-util/nm-setting-connection.h
4409 - (set_property, get_property, nm_setting_connection_class_init): remove
4410 the 'lockdown' property; it's functionality will be replaced by
4413 2008-04-01 Dan Williams <dcbw@redhat.com>
4415 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4418 initscript/Makefile.am
4419 initscript/Mandriva/Makefile.am
4420 initscript/Mandriva/networkmanager.in
4421 initscript/Mandriva/networkmanagerdispatcher.in
4422 src/backends/Makefile.am
4423 src/backends/NetworkManagerMandriva.c
4424 system-settings/plugins/Makefile.am
4425 - Add Mandriva support
4427 2008-03-31 Dan Williams <dcbw@redhat.com>
4429 * src/vpn-manager/nm-vpn-service.c
4430 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4431 errors can be passed back to the caller; also no longer scheduled
4432 as an idle handler, but called directly; and bump up VPN service
4433 spawn timeout, 2s is really short
4434 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4435 but call it directly so that errors are reported on return from
4436 ActivateConnection() and don't get lost. If scheduled as an idle
4437 handler, clients don't have the time to query NM for the new VPN
4438 connection's properties before the VPN connection is torn down again
4439 if the service couldn't be launched, and therefore launch errors
4442 2008-03-31 Dan Williams <dcbw@redhat.com>
4444 * src/vpn-manager/nm-vpn-connection.c
4445 - (device_state_changed): send correct state on device failure too
4446 - (plugin_state_changed): failed state means unexpected disconnection,
4447 thus if the service goes away while the VPN connection is activated
4448 that's a failure too
4450 2008-03-31 Dan Williams <dcbw@redhat.com>
4452 * src/vpn-manager/nm-vpn-manager.c
4453 src/vpn-manager/nm-vpn-manager.h
4454 - Make VPNManager errors more available; add a service-start-failed error
4456 2008-03-31 Dan Williams <dcbw@redhat.com>
4458 * libnm-glib/nm-client.c
4459 libnm-glib/nm-client.h
4460 - (activate_cb): pass the new active connection to callback; fix
4461 message when no callback is specified
4463 2008-03-30 Dan Williams <dcbw@redhat.com>
4465 * libnm-util/nm-setting-wireless-security.c
4466 - (need_secrets): only require key0 if the transmit key index is also
4468 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4470 2008-03-29 Dan Williams <dcbw@redhat.com>
4472 * libnm-util/nm-setting-8021x.c
4473 libnm-util/nm-setting-ip4-config.c
4474 libnm-util/nm-setting-vpn-properties.c
4475 libnm-util/nm-setting-vpn.c
4476 libnm-util/nm-setting-wireless-security.c
4477 libnm-util/nm-setting-wireless.c
4478 libnm-util/nm-utils.c
4479 src/dhcp-manager/nm-dhcp-manager.c
4480 src/nm-activation-request.c
4483 src/nm-properties-changed-signal.c
4484 src/ppp-manager/nm-pppd-plugin.c
4485 src/supplicant-manager/nm-supplicant-interface.c
4486 src/vpn-manager/nm-vpn-connection.c
4487 - consistently use nm-dbus-glib-types.h
4489 2008-03-29 Dan Williams <dcbw@redhat.com>
4491 * src/vpn-manager/nm-vpn-connection.c
4492 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4495 * src/nm-activation-request.c
4496 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4499 2008-03-29 Dan Williams <dcbw@redhat.com>
4501 * libnm-glib/nm-device-802-11-wireless.c
4502 - (access_point_added_proxy): create new APs if not found
4504 2008-03-29 Dan Williams <dcbw@redhat.com>
4506 * libnm-glib/nm-client.c
4507 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4510 2008-03-29 Dan Williams <dcbw@redhat.com>
4512 * system-settings/plugins/ifcfg-fedora/parser.c
4513 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4514 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4516 2008-03-29 Dan Williams <dcbw@redhat.com>
4518 * system-settings/plugins/ifcfg-fedora/parser.c
4519 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4521 2008-03-27 Dan Williams <dcbw@redhat.com>
4524 - (nm_object_queue_notify): don't notify multiple times for the same
4527 * nm-object-private.h
4528 - (handle_ptr_array_return): return NULL if the given array is NULL or
4529 if it has zero elements
4532 - (finalize): use g_ptr_array_foreach() when freeing domains
4533 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4535 * nm-active-connection.c
4536 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4538 * nm-device-802-11-wireless.c
4539 nm-device-802-11-wireless.h
4540 - (nm_device_802_11_wireless_get_access_points): return const; use
4541 handle_ptr_array_return()
4544 - (nm_object_array_demarshal): always create an array, even of length
4545 zero, to distinguish between "NM returned no items" and "haven't
4549 - (dispose): free active connections too
4550 - (proxy_name_owner_changed): free active connections too when NM goes
4552 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4553 - (nm_client_get_active_connections): use handle_ptr_array_return()
4555 2008-03-26 Dan Williams <dcbw@redhat.com>
4557 Rework VPN connection handling for a more consistent D-Bus API. The
4558 VPNManager object has been removed, and active VPN connections are now the
4559 same as any other active connection. The Manager object's ActivateConnection
4560 and DeactivateConnection methods are used to start and stop a VPN connection,
4561 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4562 When activating a VPN connection, pass the path of the active connection
4563 to which the VPN connection is tied in the 'specific_object' argument.
4565 Consequently, the libnm-glib API has been reworked to match this arrangement,
4566 with the VPNManager object removed, and the NMVPNConnection objects now
4567 being subclasses of NMActiveConnection.
4569 2008-03-25 Dan Williams <dcbw@redhat.com>
4571 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4573 * initscript/Arch/networkmanager.in
4574 initscript/Arch/networkmanager-dispatcher.in
4575 - Updates for Arch Linux (gnome.org #523701)
4577 2008-03-25 Dan Williams <dcbw@redhat.com>
4579 * libnm-glib/nm-ip4-config.c
4580 libnm-glib/nm-active-connection.c
4581 libnm-glib/nm-access-point.c
4582 - Use nm_object_queue_notify() instead of g_object_notify()
4584 * libnm-glib/nm-device.c
4585 - (demarshal_ip4_config): distinguish between successful but missing
4586 ip4-config request, and unsuccessful and missing ip4-config request
4587 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4589 - Use nm_object_queue_notify() instead of g_object_notify()
4591 * libnm-glib/nm-device-802-11-wireless.c
4592 - (demarshal_active_ap): distinguish between successfull but missing
4593 active-ap request, and unsuccessful and missing active-ap request
4594 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4596 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4597 for the NMClient to notify the device that wireless is disabled,
4598 and therefore to clear the AP list and active AP
4599 - Use nm_object_queue_notify() instead of g_object_notify()
4601 * libnm-glib/nm-client.c
4602 - (poke_wireless_devices_with_rf_status): new function
4603 - (update_wireless_status): notify wireless devices of the rfkill status
4604 so they can clean up if needed
4605 - Use nm_object_queue_notify() instead of g_object_notify()
4607 2008-03-25 Dan Williams <dcbw@redhat.com>
4609 * libnm-glib/nm-object.c
4610 libnm-glib/nm-object-private.h
4611 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4612 signals to an idle handler
4613 - (nm_object_get_property): add a timeout to the D-Bus method call
4615 2008-03-25 Dan Williams <dcbw@redhat.com>
4617 * introspection/nm-device-cdma.xml
4618 introspection/nm-device-gsm.xml
4619 introspection/Makefile.am
4620 introspection/all.xml
4621 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4623 * src/nm-gsm-device.h
4625 src/nm-cdma-device.h
4626 src/nm-cdma-device.c
4628 - Implement PropertiesChanged signals
4630 * libnm-glib/nm-cdma-device.c
4631 libnm-glib/nm-cdma-device.c
4632 - Attach to PropertiesChanged signals
4634 2008-03-24 Dan Williams <dcbw@redhat.com>
4636 * libnm-glib/nm-client.c
4637 - (client_device_added_proxy): add new devices to the internal device
4638 list so they appear to clients
4640 2008-03-24 Dan Williams <dcbw@redhat.com>
4642 Massive fixup of libnm-glib to:
4643 a) have all objects (with the exception of VPN) cache their properties and
4644 update them asynchronously on PropertiesChanged signals from NM
4645 b) return internal const data for most attributes/properties instead of
4646 allocated values that the caller must free
4647 c) cache wrapped objects such that a given D-Bus path will always map to the
4648 same GObject returned by libnm-glib
4649 d) remove a few signals and move them to GObject property notifications
4650 e) match recent NM D-Bus API changes for activation/deactivation
4651 f) remove some private functions from libnm-glib headers
4653 2008-03-20 Dan Williams <dcbw@redhat.com>
4656 - (nm_manager_update_state, manager_device_state_changed,
4657 nm_manager_activate_device, connection_added_default_handler,
4658 impl_manager_activate_connection, impl_manager_deactivate_connection):
4659 queue PropertyChanged singals when the active connections change
4661 2008-03-20 Dan Williams <dcbw@redhat.com>
4663 * introspection/nm-manager.xml
4664 introspection/nm-manager-client.xml
4665 - (ActivateConnection): return the object path of the active connection
4667 - (GetActiveConnections): remove
4668 - (DeactivateConnection): new function; deactivate a currently active
4670 - Add an ActiveConnections property which returns an array of
4671 active connection object paths
4673 * introspection/nm-device.xml
4674 - (Deactivate): remove
4676 * introspection/all.xml
4677 - Add ActiveConnection introspection
4679 * introspection/nm-active-connection.xml
4680 - Add the ActiveConnection object
4682 * include/NetworkManager.h
4683 - Add the Connection.Active D-Bus interface
4685 * src/nm-device-interface.c
4686 - (impl_device_deactivate): remove
4688 * src/nm-activation-request.c
4689 src/nm-activation-request.c
4691 - Implement the Connection.Active D-Bus interface
4694 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4695 - (nm_manager_activate_device): return the active connection path
4696 - (connection_added_default_handler, impl_manager_activate_connection):
4697 return the active connection to the caller
4698 - (add_one_connection_element, impl_manager_get_active_connections):
4700 - (impl_manager_deactivate_connection): new function; deactivate an
4703 * libnm-glib/nm-device.c
4704 libnm-glib/nm-device.h
4705 - Remove Deactivate() function
4707 2008-03-19 Dan Williams <dcbw@redhat.com>
4709 * introspection/nm-manager.xml
4710 introspection/nm-manager-client.xml
4711 - Rename the ActivateDevice method to ActivateConnection to better
4712 reflect it's usage; it's arguments get reordered a bit too
4713 - Convert GetActiveConnections method return from a struct to a dict
4715 * include/NetworkManager.h
4716 - Define the dict keys for return value of GetActiveConnections
4719 - impl_manager_activate_device -> impl_manager_activate_connection
4720 - (add_one_connection_element): return a populated hash table, not
4723 * libnm-glib/nm-client.c
4724 libnm-glib/nm-client.h
4725 - nm_client_activate_device -> nm_client_activate_connection
4726 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4727 - (nm_client_get_active_connections): return a GSList of GHashTables,
4728 instead of the custom structures. Each element of the returned list
4729 must be freed with nm_client_free_active_connections_element()
4731 2008-03-18 Dan Williams <dcbw@redhat.com>
4733 * system-settings/plugins/ifcfg-fedora/parser.c
4734 system-settings/plugins/ifcfg-fedora/parser.h
4735 system-settings/plugins/ifcfg-fedora/plugin.c
4736 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4737 profiles. DNS servers and searches must now be stored in the ifcfg
4740 2008-03-18 Tambet Ingo <tambet@gmail.com>
4742 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4743 print out username and password, it's supposed to be a secret.
4745 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
4746 request and set the device state accordingly.
4748 2008-03-18 Tambet Ingo <tambet@gmail.com>
4750 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4752 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4754 2008-03-18 Dan Williams <dcbw@redhat.com>
4756 * src/vpn-manager/nm-vpn-connection.c
4757 - (get_secrets_cb): handle new GetSecrets return format
4759 2008-03-18 Dan Williams <dcbw@redhat.com>
4761 Adapt system settings service for split 802.1x.
4763 * system-settings/src/nm-system-config-interface.h
4764 - clarify return value of get_secrets()
4766 * system-settings/src/dbus-settings.c
4767 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4768 - (check_for_secrets): check if there actually secrets returned by a
4770 - (exported_connection_get_secrets): just return the plugin-returned
4771 hash of settings' secrets if it looks valid
4773 * system-settings/plugins/ifcfg-fedora/plugin.c
4774 - (get_secrets): add split secrets with correct format to reply hash
4776 * system-settings/plugins/ifcfg-fedora/parser.c
4777 system-settings/plugins/ifcfg-fedora/parser.h
4778 - (copy_one_cdata_secret, connection_data_copy_secrets,
4779 connection_data_free, connection_data_add): keep secrets for
4780 different settings in different hashes
4782 2008-03-17 Tambet Ingo <tambet@gmail.com>
4784 Clean up activating device deactivation.
4786 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4787 should be done whether the device activation gets cancelled or the device
4788 is just getting deactivated.
4789 (nm_device_activation_cancel): Remove.
4790 (nm_device_deactivate_quickly): Handle the case where device is activating.
4792 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4793 It does the exact same thing as real_deactivate_quickly().
4795 2008-03-17 Dan Williams <dcbw@redhat.com>
4797 Split the 802.1x bits out of the wireless-security setting so they are
4798 generalized enough for wired 802.1x to use too.
4800 * introspection/nm-exported-connection.xml
4801 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4802 of just a hash of the secrets for one setting
4804 * libnm-util/nm-setting-wireless-security.c
4805 libnm-util/nm-setting-wireless-security.h
4806 - Remove 802.1x-specific stuff
4807 - Added leap-username and leap-password properties for old-school LEAP
4811 - (connection_secrets_updated_cb): take a list of updated settings names,
4814 * src/supplicant-manager/nm-supplicant-config.c
4815 src/supplicant-manager/nm-supplicant-config.h
4816 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4817 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4818 to nm_supplicant_config_add_setting_8021x()
4819 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4820 the supplicant config
4822 * src/nm-device-802-11-wireless.c
4823 - (build_supplicant_config): pass in the 802.1x setting too, if any
4824 - (real_connection_secrets_updated): take a list of updated settings
4827 * src/nm-device-802-3-ethernet.c
4828 src/nm-cdma-device.c
4830 - (real_connection_secrets_updated_cb): take a list of updated settings
4833 * src/nm-activation-request.c
4834 src/nm-activation-request.h
4835 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4836 now passes a list of updated settings names, not just one
4837 - (update_one_setting): new function; handle one updated setting
4838 - (get_secrets_cb): handle multiple settings returned from the
4839 settings service; have to be careful of ordering here as there are
4840 some dependencies between settings (ex. wireless-security and 802.1x
4843 * src/marshallers/nm-marshal.list
4844 - new marshaller for connection-secrets-updated signal
4846 * libnm-util/nm-setting-8021x.c
4847 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4849 - (verify): a valid 'eap' property is now required
4851 * libnm-util/nm-connection.c
4852 - (register_default_settings): add priorities to settings; there are
4853 some dependencies between settings, and during the need_secrets
4854 calls this priority needs to be respected. For example, only the
4855 wireless-security setting knows whether or not the connection is
4856 going to use 802.1x or now, so it must be asked for secrets before
4857 any existing 802.1x setting is
4858 - (nm_connection_lookup_setting_type): expose
4860 * libnm-util/nm-setting-wireless.c
4861 - (verify): should verify even if all_settings is NULL; otherwise won't
4862 catch the case where there is missing security
4864 * libnm-util/nm-setting-wireless-security.c
4865 - Remove everything to do with 802.1x
4866 - Add old-school LEAP specific properties for username and password
4867 - (need_secrets): rework LEAP secrets checking
4868 - (verify): rework for LEAP and 802.1x verification
4870 2008-03-17 Dan Williams <dcbw@redhat.com>
4872 * src/NetworkManagerPolicy.c
4873 - (auto_activate_device): always remove the current activation check
4874 from the pending activation list, otherwise when the policy gets
4875 destroyed on NM exit it will attempt to free the already freed
4878 2008-03-14 Tambet Ingo <tambet@gmail.com>
4880 * src/backends/NetworkManagerSlackware.c
4881 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4883 * src/backends/NetworkManagerSuSE.c: Add missing includes.
4885 2008-03-14 Dan Williams <dcbw@redhat.com>
4888 - (nm_device_interface_get_iface): g_object_get() will return an
4889 allocated value, so this function must not return const
4890 - (nm_device_interface_activate): free returned iface
4892 2008-03-14 Tambet Ingo <tambet@gmail.com>
4894 * libnm-util/Makefile.am: Add new files to build.
4896 * libnm-util/nm-connection.c: Register NMSetting8021x.
4898 * libnm-util/nm-setting-8021x.c
4899 * libnm-util/nm-setting-8021x.h: Implement.
4901 2008-03-14 Tambet Ingo <tambet@gmail.com>
4903 * libnm-util/Makefile.am: Add new files to build.
4905 * libnm-util/nm-connection.c: Register NMSetting8021x.
4907 * libnm-util/nm-setting-8021x.c
4908 * libnm-util/nm-setting-8021x.h: Implement.
4910 2008-03-14 Tambet Ingo <tambet@gmail.com>
4912 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4915 2008-03-14 Dan Williams <dcbw@redhat.com>
4917 * include/wireless-helper.h
4919 - One place for all the junk needed for #including wireless.h
4922 src/NetworkManagerAP.c
4925 libnm-util/nm-utils.c
4926 libnm-util/nm-setting-wireless.c
4927 libnm-glib/nm-device-802-11-wireless.c
4928 libnm-glib/nm-access-point.c
4929 libnm-glib/libnm-glib-test.c
4930 - include wireless-helper.h, not iwlib.h
4933 - Don't need libiw really, just need to check for wireless.h
4935 * src/kernel-types.h
4936 - Remove; used types moved into wpa.c
4938 * src/nm-device-802-11-wireless.c
4939 - (nm_device_802_11_wireless_update_signal_strength,
4940 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4941 nm_device_802_11_wireless_set_mode,
4942 nm_device_802_11_wireless_get_frequency,
4943 nm_device_802_11_wireless_get_ssid,
4944 nm_device_802_11_wireless_set_ssid,
4945 nm_device_802_11_wireless_get_bitrate,
4946 nm_device_802_11_wireless_get_bssid,
4947 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4948 instead of iwlib functions
4950 2008-03-14 Dan Williams <dcbw@redhat.com>
4952 * src/ppp-manager/nm-ppp-manager.c
4953 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4954 should only take the DBusGMethodInvocation argument, not user/pass
4955 too. With dbus-glib, async functions only take 2 C arguments since
4956 the real dbus method arguments get passed back with
4957 dbus_g_method_return()
4959 2008-03-13 Tambet Ingo <tambet@gmail.com>
4961 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
4962 Adapt the changes of NMSettingIP4Config.
4964 2008-03-13 Dan Williams <dcbw@redhat.com>
4966 * src/NetworkManagerUtils.c
4967 src/NetworkManagerUtils.h
4968 - (nm_ether_ntop): replacement for iw_ether_ntop()
4970 * src/NetworkManagerAP.c
4971 src/nm-device-802-11-wireless.c
4972 src/nm-device-802-3-ethernet.c
4973 - s/iw_ether_ntop/nm_ether_ntop/g
4975 2008-03-13 Dan Williams <dcbw@redhat.com>
4977 * src/NetworkManagerPolicy.c
4978 - (update_routing_and_dns): never set the default route through an
4979 IPv4LL addressed device
4981 2008-03-13 Dan Williams <dcbw@redhat.com>
4983 * NetworkManagerUtils.c
4984 NetworkManagerUtils.h
4985 - Remove NMSock stuff
4986 - Remove the completion stuff
4991 NetworkManagerSystem.c
4993 nm-device-802-11-wireless.c
4994 nm-device-802-3-ethernet.c
4995 - Remove NMSock and completion stuff
4996 - Remove nm_ioctl_info()
4998 2008-03-12 Dan Williams <dcbw@redhat.com>
5001 - (merge_ip4_config): avoid duplicates
5003 2008-03-12 Dan Williams <dcbw@redhat.com>
5005 * libnm-util/nm-setting-ip4-config.c
5006 libnm-util/nm-setting-ip4-config.h
5007 - Remove 'manual' and 'autoip' properties
5008 - Add 'method' property
5009 - (verify): fix verification with 'method'
5010 - (finalize): free 'method'
5011 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5015 - (real_act_stage3_ip_config_start): check IP4Config method
5016 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5018 - (merge_ip4_config): IP settings are valid with DHCP too
5019 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5020 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5022 * src/nm-device-802-11-wireless.c
5023 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5024 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5027 * system-settings/plugins/ifcfg-fedora/parser.c
5028 system-settings/plugins/ifcfg-suse/parser.c
5029 - (make_ip4_setting): fix up for 'method'
5031 2008-03-12 Dan Williams <dcbw@redhat.com>
5033 * system-settings/plugins/ifcfg-fedora/parser.c
5034 system-settings/plugins/ifcfg-fedora/parser.h
5035 - (get_ifcfg_name): ignore more file suffixes
5036 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5038 2008-03-12 Dan Williams <dcbw@redhat.com>
5041 - Bring in the bits of gnome-common we actually use (all 15 lines)
5043 2008-03-12 Dan Williams <dcbw@redhat.com>
5045 * system-settings/plugins/ifcfg-fedora/plugin.c
5046 - (write_auto_wired_connection): new function; write out an auto
5047 wired connection file since the applet isn't doing it any more
5048 - (reload_all_connections): write out the auto wired connection file
5049 if there aren't any wired connections already
5050 - (init): don't leak a GError
5052 2008-03-12 Dan Williams <dcbw@redhat.com>
5054 * src/nm-device-interface.c
5055 - (nm_device_interface_activate): print the ID of the connection
5056 that's about to be activated
5058 2008-03-12 Dan Williams <dcbw@redhat.com>
5060 Harmonize the 802.11 bitrate API
5062 * introspection/nm-access-point.xml
5063 - 'Rate' -> 'MaxBitrate'; clarify units
5065 * introspection/nm-device-802-11-wireless.xml
5066 - Clarify units of 'Bitrate'
5068 * src/NetworkManagerAP.c
5069 src/NetworkManagerAP.h
5070 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5071 property to 'max-bitrate'
5072 - (foreach_property_cb): convert rate to Kb/s
5074 * src/nm-device-802-11-wireless.c
5075 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5077 * libnm-glib/nm-access-point.c
5078 libnm-glib/nm-access-point.h
5079 - 'rate' -> 'max-bitrate'
5082 libnm-glib/libnm-glib-test.c
5083 - Fix up for these changes
5085 2008-03-12 Dan Williams <dcbw@redhat.com>
5088 - (nm_device_set_ip4_config): don't send property notifications when
5089 the ip4 config is set to NULL; it causes a PropertyChanged signal
5090 which dbus-glib can't parse because the value is NULL, which isn't
5091 a legal object path. Setting the IP4 config to NULL is only
5092 valid when deactivating a device anyway, so the device state change
5093 will alert listeners that the ip4 config is invalid.
5095 2008-03-12 Dan Williams <dcbw@redhat.com>
5097 * src/nm-properties-changed-signal.c
5098 - (add_to_string): better handling of NULL objects
5100 2008-03-12 Dan Williams <dcbw@redhat.com>
5102 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5103 convert the libnm-glib NMDevice8023Ethernet to cached properties
5105 * introspection/nm-device-802-3-ethernet.xml
5106 - New 'Carrier' property
5107 - New 'PropertiesChanged' signal
5109 * introspection/nm-device.xml
5110 - Remove 'Carrier' property
5111 - Remove 'CarrierChanged' signal
5113 * src/nm-device-interface.c
5114 src/nm-device-interface.h
5115 - (nm_device_interface_init): remove 'carrier' property and
5116 'carrier-changed' signal
5120 - (nm_device_get_carrier, nm_device_set_carrier): remove
5121 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5122 the link here; wired device will handle that
5123 - (handle_dhcp_lease_change): don't bother updating link here
5124 - (get_property, nm_device_class_init): remove carrier property
5126 * src/nm-device-802-11-wireless.c
5127 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5128 real_update_link(); wireless devices don't use carrier at all
5129 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5130 supplicant_iface_connection_state_cb_handler,
5131 supplicant_mgr_state_cb_handler): remove anything to do with carrier
5133 * src/nm-device-802-3-ethernet.c
5134 src/nm-device-802-3-ethernet.h
5135 - (nm_device_802_3_ethernet_carrier_on,
5136 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5137 instead of nm_device_set_carrier()
5138 - (device_state_changed): update link from sysfs on activation;
5139 replaces real_update_link()
5140 - (real_update_link): remove, replaced by device_state_changed()
5141 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5142 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5143 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5144 new get_carrier function
5145 - (get_property): add 'carrier' property
5146 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5147 hook into property-changed signal helper
5149 * src/NetworkManagerPolicy.c
5150 - (device_carrier_changed): will only ever be called with a wired device
5151 - (device_added): only hook up to carrier-changed for wired devices
5153 * libnm-glib/nm-device.c
5154 libnm-glib/nm-device.h
5155 - (constructor, nm_device_class_init): remove carrier-changed signal
5156 - (device_carrier_changed_proxy): remove; unused
5157 - (nm_device_get_carrier): remove; carrier a property of wired devices
5159 * libnm-glib/nm-device-802-3-ethernet.c
5160 libnm-glib/nm-device-802-3-ethernet.h
5161 - Convert to cached properties like AP and Wireless objects
5162 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5163 instead of a 'char *', return value should not be freed
5164 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5165 - (constructor): hook into properties-changed helper
5166 - (set_property, get_property): new functions
5167 - (nm_device_802_3_ethernet_class_init): export GObject properties
5170 - (detail_device): strdup the wired hardware address too since it's
5173 * libnm-glib/libnm-glib-test.c
5174 - (dump_wired): strdup the wired hardware address too since it's
5177 2008-03-12 Dan Williams <dcbw@redhat.com>
5179 * libnm-util/nm-setting-ip4-config.c
5180 libnm-util/nm-setting-ip4-config.h
5181 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5182 the 'autoip' property from the spec
5184 2008-03-11 Dan Williams <dcbw@redhat.com>
5186 * src/backends/NetworkManagerGeneric.c
5187 src/backends/NetworkManagerGeneric.h
5188 - (nm_generic_device_get_use_dhcp): remove
5190 2008-03-11 Dan Williams <dcbw@redhat.com>
5193 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5194 already in nm_device_set_ip4_config()
5195 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5196 due to a DHCP rebind fails
5197 - (nm_device_set_ip4_config): send property notifications when the
5199 - (get_property): only report IP4Config property during valid states
5201 * src/NetworkManagerPolicy.c
5202 - (update_routing_and_dns): ignore devices that don't have an ip4
5203 config; add parameter 'force_update' to allow callers to specify
5204 that changes should be made even if the default device doesn't change
5205 - (device_ip4_config_changed): update DNS and routing when the device's
5206 IP4Config changes, like for DHCP updates
5207 - (device_added): listen for ip4-config property changes
5209 2008-03-11 Dan Williams <dcbw@redhat.com>
5211 Fix address handling as a result of DHCP rebind/renew/reboot.
5213 * src/NetworkManagerSystem.c
5214 - (check_one_address): delete an address if it doesn't match a given
5215 one for the same interface
5216 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5217 be smarter about flushing addresses (only flush ones that don't
5218 match the one we're about to apply)
5220 * src/backends/NetworkManagerDebian.c
5221 src/backends/NetworkManagerSuSE.c
5222 src/backends/NetworkManagerArch.c
5223 src/backends/NetworkManagerSlackware.c
5224 src/backends/NetworkManagerRedHat.c
5225 src/backends/NetworkManagerPaldo.c
5226 src/backends/NetworkManagerFrugalware.c
5227 src/backends/NetworkManagerGentoo.c
5228 - (nm_system_delete_default_route): remove
5230 * src/backends/NetworkManagerGeneric.c
5231 src/backends/NetworkManagerGeneric.h
5232 - (nm_generic_enable_loopback): fix the loopback device label
5233 - (nm_generic_delete_default_route): remove; no longer used
5235 2008-03-11 Dan Williams <dcbw@redhat.com>
5237 * src/nm-device-interface.h
5238 - Delimit property name words with '-', otherwise g_object_notify()
5239 doesn't work the way we expect
5241 2008-03-11 Tambet Ingo <tambet@gmail.com>
5243 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5245 2008-03-11 Dan Williams <dcbw@redhat.com>
5247 * src/NetworkManagerPolicy.c
5248 - (update_routing_and_dns): don't change anything if the default device
5249 hasn't changed; print something out when switching the default route
5252 2008-03-10 Tambet Ingo <tambet@gmail.com>
5256 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5257 setting. Use "nic-$eth".
5259 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5260 the device is activating here to fix a race condition.
5262 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5264 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5265 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5266 (nm_ppp_manager_start): Take activation request instead of connection, we might
5267 need it for asking secrets.
5268 (nm_ppp_manager_update_secrets): Implement.
5270 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5271 ppp manager start. It might be needed for asking secrets.
5273 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5274 (ppp_state_changed): Handle pppd daemon disappearing.
5275 (pppoe_stage2_config): Send activation request to ppp manager start.
5277 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5279 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5280 username and password.
5282 2008-03-10 Dan Williams <dcbw@redhat.com>
5285 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5286 response to a DHCP lease change
5287 - (dhcp_state_changed): handle DHCP lease changes while activated
5288 - (nm_device_set_ip4_config): remove a previously set named config
5289 when setting an ip4 config
5291 2008-03-10 Dan Williams <dcbw@redhat.com>
5293 * src/nm-serial-device.c
5294 - (nm_serial_device_send_command): report errno on error
5295 - (get_reply_got_data): limit the size of the overall buffer
5296 - (wait_for_reply_info_destroy): destroy result string
5297 - (wait_for_reply_got_data): append received data to an overall buffer
5298 until timeout, filled buffer, or error instead of keeping a per-call
5299 buffer. Some devices send data slowly enough that this function
5300 gets called multiple times for the same command stream.
5301 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5302 wait_for_reply_got_data() here
5304 2008-03-10 Dan Williams <dcbw@redhat.com>
5306 * src/nm-cdma-device.c
5307 - (do_dial, init_modem): handle errors from
5308 nm_serial_device_send_command_string()
5310 * src/nm-gsm-device.c
5311 - (do_dial, manual_registration, automatic_registration_get_network,
5312 automatic_registration, enter_pin, check_pin, init_modem): handle
5313 errors from nm_serial_device_send_command_string()
5315 2008-03-10 Dan Williams <dcbw@redhat.com>
5317 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5319 * src/named-manager/nm-named-manager.c
5320 - (compute_searches): prefer searches before domains
5321 - (compute_domain): new function
5322 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5323 - (merge_one_ip4_config): if there are no searches in the source config,
5324 merge domains of the source config into the target config
5325 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5327 2008-03-10 Dan Williams <dcbw@redhat.com>
5329 * src/nm-serial-device.c
5330 - (get_reply_got_data): clean up indentation, shrink serial buffer
5331 - (wait_for_reply_got_data): try to handle slower serial devices where
5332 the reply is broken up into multiple reads by concatenating replies
5333 together until either an error is received or the search string is
5336 2008-03-10 Dan Williams <dcbw@redhat.com>
5339 - (nm_device_bring_down): deactivate the device if it's activating too,
5340 not just if it's already activated. This makes sure that everything
5341 from an association attempt is cleaned up (like DHCP for example)
5343 2008-03-10 Dan Williams <dcbw@redhat.com>
5345 * src/nm-serial-device.c
5346 - (config_fd): report error from TCSETA
5347 - (nm_serial_device_open): fail when config_fd() fails
5349 2008-03-10 Dan Williams <dcbw@redhat.com>
5351 * src/nm-ip4-config.c
5352 - (nm_ip4_config_init): allocate searches list
5353 - (finalize): free searches list
5355 2008-03-09 Dan Williams <dcbw@redhat.com>
5357 Patch from Bas Zoetekouw <bas@debian.org>
5359 * src/dhcp-manager/nm-dhcp-manager.c
5360 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5362 2008-03-09 Dan Williams <dcbw@redhat.com>
5364 Patch from Bas Zoetekouw <bas@debian.org>
5366 * src/nm-ip4-config.c
5368 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5369 nm_ip4_config_get_num_searches): add 'searches' as distinct from
5370 domains. 'searches' is the correct way to store multiple search
5371 domains, whereas 'domains' is really just supposed to store one
5372 domain. Some sites abuse the DHCP 'domain-name' option to push
5373 search domains to the client.
5374 - (nm_ip4_config_add_domain): group with related functions (my patch)
5376 2008-03-09 Dan Williams <dcbw@redhat.com>
5378 * src/dhcp-manager/nm-dhcp-manager.c
5379 - (dhclient_run): send interface-specific config files to dhclient
5381 2008-03-07 Dan Williams <dcbw@redhat.com>
5383 * system-settings/plugins/ifcfg-fedora/parser.c
5384 - (is_wireless_device): new function; test a device for wireless
5386 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5387 test the device for wireless extensions to determine the type
5389 2008-03-07 Dan Williams <dcbw@redhat.com>
5391 Change manager's StateChange signal to StateChanged for consistency.
5393 * introspection/nm-manager.xml
5394 - Add 'StateChanged' signal
5395 - Move 'StateChange' down to the deprecated section
5397 * src/nm-hal-manager.c
5398 - (nm_hal_manager_new): connect to 'state-changed' instead
5400 * src/NetworkManagerPolicy.c
5401 - (nm_policy_new): connect to 'state-changed' instead
5405 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5406 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5409 * libnm-glib/nm-client.c
5410 libnm-glib/nm-client.h
5411 - (constructor, nm_client_class_init, client_state_changed_proxy):
5412 track and proxy 'state-changed' instead of 'state-change'
5414 2008-03-07 Dan Williams <dcbw@redhat.com>
5416 First pass of multiple active device support. Expect bugs.
5418 * src/nm-ip4-config.c
5420 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5421 there are better ways to do this in the named manager
5425 - (nm_device_can_activate): return whether the device can activate a
5426 connection right now; taking into account things like carrier state
5428 - (nm_device_get_best_auto_connection): renamed from
5429 nm_device_get_best_connection
5430 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5431 device subclasses themselves, so that each device can override the
5432 MTU from it's NMSetting subclass if needed
5433 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5434 in NetworkManagerSystem.c, not here
5436 * src/named-manager/nm-named-manager.c
5437 src/named-manager/nm-named-manager.h
5438 - (nm_named_manager_name_owner_changed,
5439 nm_named_manager_dbus_connection_changed): fix for changes to
5440 rewrite_resolv_conf()
5441 - (compute_nameservers): don't need the NMNamedManager at all, remove
5443 - (merge_one_ip4_config): new function; merge ip4 configs together
5444 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5445 ip4 configs; the VPN config takes precedence, then the best
5446 device config, then the rest of the configs
5447 - (get_domain_for_config): take the NMNamedManager as an argument
5448 to check whether the config is the VPN config
5449 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5450 attribute from ip4 configs
5451 - (add_all_ip4_configs_to_named): add all the configs in priority order
5452 - (remove_ip4_config_from_named): fix for changes to
5453 get_domain_for_config()
5454 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5455 based on its type; callers must pass in the type now
5456 - (get_last_default_domain): remove, unused
5457 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5459 * src/nm-device-802-11-wireless.c
5460 - (real_can_activate): new function
5461 - (real_get_best_auto_connection): renamed from real_get_best_connection
5462 - (real_act_stage4_get_ip4_config): handle MTU override
5464 * src/nm-device-802-3-ethernet.c
5465 - (real_can_activate): new function
5466 - (real_get_best_auto_connection): renamed from real_get_best_connection
5467 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5469 * src/vpn-manager/nm-vpn-connection.c
5470 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5471 attribute on the ip4 config
5473 * src/NetworkManagerPolicy.c
5474 - (nm_policy_auto_get_best_device): remove
5475 - (nm_policy_device_change_check): remove
5476 - (update_default_route): new function; set the default route via
5477 the specified device
5478 - (get_device_priority): new function; return the priority number of
5479 a device type WRT which one should have the default route. Order is
5480 (highest to lowest) wired, wireless, GSM, CDMA.
5481 - (update_routing_and_dns): new function; determine which device should
5482 have the default route, then update the routing table and DNS
5483 - (maybe_auto_activate_device): new function; if a device is now
5484 available for activation, find out what connection it would like to
5486 - (schedule_activate_check): new function; if a device can be activated
5487 now, schedule the activation. Each device may have only one
5488 pending activation at a given time.
5489 - (device_state_changed): if activation was canceled, try again,
5490 possibly with another connection; if the device was activated,
5491 update routing and DNS; if the device was deactivated, try again
5492 with another connection
5493 - (device_carrier_changed): if there is no carrier, deactivate the
5494 device; otherwise schedule an activation check for the device
5495 - (wireless_networks_changed): schedule an activation check for the
5497 - (device_added): keep track of the signal handler IDs so they can
5498 be removed when the device goes away
5499 - (device_removed): remove any signal handlers that might be attached
5500 to the device; update routing and DNS
5501 - (schedule_activate_all): new function
5502 - (connections_added, connection_added, connection_updated): when
5503 connections change, schedule all devices for an activation check
5504 - (connection_removed): when a device is deactivated because its
5505 connection was removed, schedule another activation check for it
5506 - (nm_policy_destroy): destroy pending activations and disconnect
5507 all device signal handlers
5510 - (nm_manager_activate_device): if the device was already actived,
5512 - (deactivate_old_device): remove
5513 - (connection_added_default_handler, impl_manager_activate_device):
5514 don't deactivate other devices when activating this one
5516 * src/backends/NetworkManagerGentoo.c
5517 src/backends/NetworkManagerFrugalware.c
5518 src/backends/NetworkManagerPaldo.c
5519 src/backends/NetworkManagerRedHat.c
5520 src/backends/NetworkManagerSlackware.c
5521 src/backends/NetworkManagerArch.c
5522 src/backends/NetworkManagerSuSE.c
5523 src/backends/NetworkManagerDebian.c
5524 - (nm_system_get_mtu): remove; MTU should be provided through the
5525 distro's system settings service plugin instead
5526 - (nm_system_device_add_default_route_via_device): remove
5527 - (nm_system_device_add_default_route_via_device_with_iface): remove
5528 - (nm_system_device_replace_default_route): new function; call
5529 generic implementation
5531 * src/backends/NetworkManagerGeneric.c
5532 src/backends/NetworkManagerGeneric.h
5533 - (nm_generic_device_add_default_route_via_device,
5534 nm_generic_device_add_default_route_via_device_with_iface): remove
5535 - (nm_generic_device_replace_default_route): replace the default route
5536 with the given route via some gateway
5538 * src/NetworkManagerSystem.c
5539 src/NetworkManagerSystem.h
5540 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5541 to routing and DNS; but set the MTU here
5542 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5543 ip_iface of the active device; use the standard MTU setting function
5544 - (nm_system_set_mtu): remove
5545 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5547 2008-03-07 Tambet Ingo <tambet@gmail.com>
5549 Rework the interaction between ppp manager and pppd plugin. Register a well
5550 known DBUS service in manager and let the plugin call it's methods instead
5551 of listening plugin's signals.
5553 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5554 of emitting signals.
5556 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5558 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5560 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5561 nm_ppp_manager_start().
5563 * introspection/nm-ppp-manager.xml: New file.
5565 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5566 the case correctly where driver is trying to send -1 for the speed, which gets
5567 casted to u16 and thus is always > 0.
5569 2008-03-07 Dan Williams <dcbw@redhat.com>
5571 * src/nm-hal-manager.c
5572 - (nm_get_device_driver_name): use net.originating_device first, fall
5573 back to physical device. HAL has deprecated physical_device.
5575 * libnm-glib/nm-device.c
5576 - (get_product_and_vendor): use net.originating_device first, fall
5577 back to physical device. HAL has deprecated physical_device.
5578 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5580 2008-03-07 Dan Williams <dcbw@redhat.com>
5583 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5584 last commit; fix that
5585 - (get_link_cache): print error string
5587 2008-03-07 Dan Williams <dcbw@redhat.com>
5590 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5591 don't need this hack any more (Benoit Boissinot)
5593 2008-03-06 Dan Williams <dcbw@redhat.com>
5596 - Die gnome-common, die
5598 2008-03-04 Dan Williams <dcbw@redhat.com>
5600 Patch from Michael Biebl <biebl@debian.org>
5602 * NetworkManager.pc.in
5603 - doesn't actually depend on dbus-1
5605 * libnm-util/nm-utils.h
5606 - remove unused #include <dbus/dbus.h>
5608 * libnm-glib/libnm_glib.pc.in
5609 - depends on glib and dbus-glib
5611 2008-03-02 Dan Williams <dcbw@redhat.com>
5613 * src/NetworkManagerPolicy.c
5614 - s/device_state_changed_idle_id/update_state_id/
5616 2008-03-02 Dan Williams <dcbw@redhat.com>
5620 src/nm-device-802-11-wireless.c
5621 src/nm-device-802-3-ethernet.c
5622 src/NetworkManagerPolicy.c
5623 - s/link_active/carrier
5624 - nm_device_set_active_link() -> nm_device_set_carrier()
5625 - nm_device_has_active_link() -> nm_device_get_carrier()
5627 2008-03-02 Dan Williams <dcbw@redhat.com>
5629 * system-settings/plugins/ifcfg-fedora/parser.c
5630 - (make_wireless_setting): fail connection creation on missing SSID
5632 2008-02-29 Dan Williams <dcbw@redhat.com>
5634 * src/NetworkManagerPolicy.c
5635 - (nm_policy_device_change_check): ensure that a previously active
5636 device with a system connection has a link before denying a switch
5637 to a user connection
5639 2008-02-29 Dan Williams <dcbw@redhat.com>
5641 * src/nm-device-802-11-wireless.c
5642 - (link_timeout_cb): try again if scanning; deactivate the device when
5643 activated if the link dies
5644 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5647 2008-02-29 Dan Williams <dcbw@redhat.com>
5649 * src/nm-device-802-11-wireless.c
5650 src/nm-device-802-11-wireless.h
5651 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5652 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5653 - (device_cleanup): reset the scan interval lower when the device
5655 - (can_scan): base decision mostly off device state, not supplicant
5656 interface state since the supplicant interface state isn't a
5657 great indicator of whether the device is active or not
5658 - (request_wireless_scan): clean up; schedule the next scan here
5659 - (schedule_scan): only back the scan interval off if a new scan
5660 actually gets scheduled; and make scan intervals tighter when the
5661 device is disconnected
5662 - (supplicant_iface_state_cb_handler): fold in the bits of
5663 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5665 - (activation_success_handler): reset scan interval to something
5668 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
5670 reviewed by: Steev <steev@steev.net>
5673 * src/backends/NetworkManagerGentoo.c:
5674 (nm_system_restart_mdns_responder):
5675 Howl is no longer a supported mDNS provider
5677 2008-02-28 Tambet Ingo <tambet@gmail.com>
5679 Get rid of a bunch of unused distro specific functions.
5681 2008-02-28 Tambet Ingo <tambet@gmail.com>
5683 Implement suse plugin for system settings daemon.
5685 * system-settings/plugins/ifcfg-suse/*: Implement.
5687 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5690 * configure.in: Check (without failing) for gio.
5691 Create ifcfg-suse plugin's Makefile.
5693 2008-02-20 Dan Williams <dcbw@redhat.com>
5695 * libnm-util/nm-connection.c
5696 libnm-util/nm-connection.h
5697 - (nm_connection_compare): accept compare flags and pass them to the
5698 setting compare function
5700 * libnm-util/nm-setting.c
5701 libnm-util/nm-setting.h
5702 - (nm_setting_compare): accept compare flags; ignore properties that are
5705 * libnm-util/nm-setting-connection.c
5706 libnm-util/nm-setting-wireless.c
5707 libnm-util/nm-setting-ppp.c
5708 libnm-util/nm-setting-wired.c
5709 - Mark some setting properties as ignorable when doing a fuzzy compare
5712 - (device_activation_precheck): use exact compare
5714 2008-02-20 Dan Williams <dcbw@redhat.com>
5716 * src/NetworkManagerPolicy.c
5717 - (nm_policy_device_change_check): get scope off the connection, not
5718 using the manager helper
5722 - (get_scope_for_proxy): rename from get_type_for_proxy()
5723 - (connection_get_settings_cb): set scope and path on connection, not
5724 using GObject data items
5725 - (get_connection_for_proxy): don't need to return path, since that
5726 can be gotten from the connection
5727 - (get_connection_for_proxy): get path off the connection, not from
5729 - (connection_removed_cb, connection_updated_cb): don't need to get
5730 path from get_connection_for_proxy(); get scope off the connection
5731 instead of using GObject data items
5732 - (connection_added_default_handler, add_one_connection_element): use
5733 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5734 - (nm_manager_get_connection_dbus_path): remove
5735 - (nm_manager_get_connection_scope): remove
5737 2008-02-20 Dan Williams <dcbw@redhat.com>
5739 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5742 * Add 'path' and 'scope' properties to NMConnection since both NM and the
5743 applet were having to hack this in anyway. Remove the 'path' stuff from
5744 NMExportedConnection
5746 * Internally rename NMConnectionType -> NMConnectionScope
5748 * Provide default implementations of the 'get_id' and 'get_settings' methods
5749 of NMExportedConnection
5751 2008-02-15 Dan Williams <dcbw@redhat.com>
5753 * src/nm-device-802-11-wireless.c
5754 - (device_cleanup): release the AP list here too so that the AP list
5755 doesn't survive across suspend/resume and up/down. There is some
5756 room for optimization, for example blow the list away when the card
5757 brought back up, but only if the device has only been down for a
5760 2008-02-15 Dan Williams <dcbw@redhat.com>
5762 * src/nm-hal-manager.c
5763 - (modem_device_creator): recognize new HAL modem capabilities
5765 2008-02-12 Dan Williams <dcbw@redhat.com>
5767 * system-settings/plugins/ifcfg-fedora/plugin.c
5768 - (watch_path): handle IN_DELETE_SELF too
5769 - (handle_connection_changed): notify when removing a connection
5770 - (stuff_changed): don't warn on unknown inotify watches; handle the
5771 case of a file moving out of the profile directory
5773 2008-02-12 Dan Williams <dcbw@redhat.com>
5775 * system-settings/plugins/ifcfg-fedora/parser.c
5776 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5778 2008-02-12 Dan Williams <dcbw@redhat.com>
5780 * libnm-util/nm-utils.c
5781 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5782 just any empty array
5784 2008-02-12 Dan Williams <dcbw@redhat.com>
5786 * system-settings/src/nm-system-config-interface.c
5787 system-settings/src/nm-system-config-interface.h
5788 - (load_connections): get_connections() should now return an allocated
5789 GSList that the system settings service will free
5791 * system-settings/plugins/ifcfg-fedora/plugin.c
5792 system-settings/plugins/ifcfg-fedora/parser.h
5793 system-settings/plugins/ifcfg-fedora/parser.c
5794 - Fix up inotify issues; handle keys-* files, handle new files appearing
5795 in the profile directory, handle resolv.conf file changes
5797 2008-02-10 Dan Williams <dcbw@redhat.com>
5799 * src/nm-device-802-3-ethernet.c
5800 - (real_bring_up): save the supplicant interface state signal id
5801 - (real_bring_down): disconnect from the supplicant interface state
5804 2008-02-07 Dan Williams <dcbw@redhat.com>
5806 * initscript/RedHat/NetworkManager.in
5807 initscript/RedHat/NetworkManagerDispatcher.in
5808 - Add new-style LSB init headers
5810 2008-02-07 Dan Williams <dcbw@redhat.com>
5812 * system-settings/src/dbus-settings.c
5813 system-settings/src/dbus-settings.h
5814 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5816 - (connection_settings_get_secrets): consolidate error returns into
5817 one place; use the new get_secrets() plugin interface function to
5818 get secrets from the plugin itself rather than using GObject data
5821 * system-settings/src/main.c
5822 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5823 load_connections): keep a private list of the plugin-returned
5824 connections, don't use the plugin's GSList
5826 * system-settings/plugins/ifcfg-fedora/plugin.c
5827 - (watch_path): watch the path, not the filename (duh)
5828 - (reload_all_connections): use the direct hash/equal functions; the
5829 ones for int aren't appropriate here
5830 - (get_secrets, system_config_interface_init): implement the
5831 get_secrets() function
5832 - (build_one_connection, find_connection_by_path): ifcfg file path is
5833 now in the connection's ConnectionData instead of being a GObject
5835 - (handle_profile_item_changed): ifcfg file path is now in the
5836 connection's ConnectionData instead of being a GObject data property;
5837 be sure to copy secrets over from the new connection to the existing
5838 connection when updating the connection's settings
5839 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5842 * system-settings/plugins/ifcfg-fedora/parser.c
5843 system-settings/plugins/ifcfg-fedora/parser.h
5844 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5845 connection_data_copy_secrets, connection_data_free,
5846 connection_data_add): new functions; connection data manipulation
5847 - (make_wireless_security_setting): stuff secrets into the
5848 connection data, not as GObject data items; make sure to close
5850 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5851 connection data to the connection
5853 2008-02-07 Dan Williams <dcbw@redhat.com>
5855 * system-settings/src/nm-system-config-interface.c
5856 system-settings/src/nm-system-config-interface.h
5857 - Add a get_secrets() interface function to retrieve secrets for a
5858 specific setting of a specific connection. Document the interface
5861 2008-02-07 Dan Williams <dcbw@redhat.com>
5863 * src/nm-device-802-11-wireless.c
5864 - (handle_auth_or_fail): new function; consolidate device activation
5865 failure check after a certain number of failures getting secrets
5866 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5867 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5868 the connection if secrets were requested more than a few times
5869 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5870 tries here; otherwise they are cleared before the IP configure
5871 timeout, which happens with open system WEP when key is wrong
5872 - (activation_success_handler): clear wireless secrets tries here too
5874 2008-02-07 Dan Williams <dcbw@redhat.com>
5876 * src/NetworkManagerPolicy.c
5877 - (connection_updated): clear invalid tag when connection gets updated
5878 to allow that connection to be tried again
5879 - (nm_policy_new): save signal ids so they can be disconnected when
5880 the policy is destroyed
5881 - (nm_policy_destroy): stop any in-progress state change idle handler,
5882 and disconnect all signals from the manager object so that none
5883 of the policy functions gets called after the policy is destroyed
5885 2008-02-06 Dan Williams <dcbw@redhat.com>
5888 - (finalize): remove devices a bit earlier; clean up system settings
5890 - (nm_manager_name_owner_changed): clean up system settings poke when
5891 the service appears, and try to restart it if it fails
5892 - (poke_system_settings_daemon_cb): try to get the system settings
5893 service started through D-Bus service activation
5894 - (initial_get_connections): start the system settings daemon if it's
5897 2008-02-05 Dan Williams <dcbw@redhat.com>
5899 * src/supplicant-manager/nm-supplicant-config.c
5900 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5901 broadcast networks too
5903 2008-02-04 Dan Williams <dcbw@redhat.com>
5905 * system-settings/plugins/ifcfg-fedora/parser.c
5906 - (make_wireless_security_setting): fix spelling; unencrypted networks
5907 need key_mgmt set too
5908 - (parser_parse_file): validate ifcfg file name and don't try to parse
5909 .bak files; ensure that an error is set whenever NULL gets returned
5911 2008-02-04 Dan Williams <dcbw@redhat.com>
5913 * system-settings/src/Makefile.am
5914 - Install D-Bus service activation file for the system settings
5917 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5918 - D-Bus service activation file for system settings service
5920 2008-02-04 Dan Williams <dcbw@redhat.com>
5922 * system-settings/src/main.c
5923 - (parse_config_file): parse a config file
5924 - (main): accept --config option and read plugins from config file
5926 2008-02-04 Dan Williams <dcbw@redhat.com>
5928 * system-settings/plugins/ifcfg-fedora/plugin.c
5929 - Change reported name to 'ifcfg-fedora'
5930 - Use IFCFG_PLUGIN_NAME
5932 * system-settings/plugins/ifcfg-fedora/plugin.c
5933 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5935 2008-02-04 Dan Williams <dcbw@redhat.com>
5937 * system-settings/plugins/ifcfg-fedora/parser.c
5938 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5939 - (make_connection_setting): use get_ifcfg_name()
5940 - (make_wireless_security_setting): handle shadow key files
5941 - (get_one_wep_key): treat empty string as NULL
5943 2008-02-04 Dan Williams <dcbw@redhat.com>
5945 * src/supplicant-manager/nm-supplicant-manager.c
5946 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5947 glib automatically reschedule
5948 - (nm_supplicant_manager_init): immediately try to start the supplicant
5949 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5952 2008-02-01 Dan Williams <dcbw@redhat.com>
5954 * src/NetworkManagerPolicy.c
5955 - (device_state_changed): schedule a change check when a device gets
5956 deactivated so something happens if you disconnect GSM/CDMA
5958 2008-01-31 Dan Williams <dcbw@redhat.com>
5960 * src/nm-device-802-11-wireless.h
5961 src/nm-device-802-11-wireless.c
5962 - (ap_list_get_ap_by_ssid, is_associated,
5963 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5964 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5965 - (nm_device_802_11_wireless_get_activation_ap): collapse
5966 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5969 2008-01-30 Dan Williams <dcbw@redhat.com>
5971 * system-settings/plugins/ifcfg
5972 * system-settings/plugins/ifcfg-fedora
5973 - Move the ifcfg plugin to ifcfg-fedora
5975 2008-01-24 Dan Williams <dcbw@redhat.com>
5977 * libnm-glib/nm-device-802-11-wireless.c
5978 - (get_access_point): move the "/" check here; check for invalid path
5980 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5981 to get_access_point()
5982 - (access_point_added_proxy, access_point_removed_proxy): don't try
5983 to send signals for non-existent access points
5985 2008-01-24 Dan Williams <dcbw@redhat.com>
5987 * libnm-glib/nm-device-802-11-wireless.c
5988 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5990 2008-01-23 Dan Williams <dcbw@redhat.com>
5992 * libnm-glib/libnm_glib.c
5993 - (libnm_glib_init): make thread joinable
5994 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5996 2008-01-23 Dan Williams <dcbw@redhat.com>
5998 * test/libnm_glib_test.c
5999 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6000 - (main): set up signal handlers; call libnm_glib_shutdown
6002 2008-01-21 Dan Williams <dcbw@redhat.com>
6004 * include/NetworkManager.h
6005 - Add CDMA mobile broadband card device type
6007 * src/nm-hal-manager.c
6008 - (modem_device_creator): handle both CDMA and GSM modems; the device
6009 must now be tagged with 'cdma' or 'gsm' capability
6011 * src/nm-cdma-device.c
6012 src/nm-cdma-device.h
6014 - Add the CDMA mobile broadband card device class
6016 * libnm-util/nm-connection.c
6017 - (register_default_settings): add NMSettingCdma
6019 * libnm-util/nm-setting-cdma.c
6020 libnm-util/nm-setting-cdma.h
6021 libnm-util/Makefile.am
6022 - Add the CDMA mobile broadband card setting class
6024 * libnm-glib/nm-cdma-device.c
6025 libnm-glib/nm-cdma-device.h
6026 libnm-glib/Makefile.am
6027 - Add the CDMA mobile broadband card GLib proxy class
6029 * libnm-glib/nm-client.c
6030 - (get_device): handle CDMA devices too
6032 2008-01-21 Dan Williams <dcbw@redhat.com>
6034 * src/ppp-manager/nm-ppp-manager.c
6035 - (ip4_config_get): set peer address too
6037 * src/ppp-manager/nm-pppd-plugin.c
6038 - (nm_ip_up): try harder to get the peer's address
6040 * src/NetworkManagerSystem.c
6041 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6042 address, use that too. Otherwise, some PPP connections won't work.
6044 2008-01-19 Dan Williams <dcbw@redhat.com>
6046 * src/NetworkManagerPolicy.c
6047 - (nm_policy_device_change_check): system connections override user
6048 connections; don't activate a user connection if there's a currently
6049 active system connection, and new, better system connections always
6050 interrupt user connections
6052 2008-01-19 Dan Williams <dcbw@redhat.com>
6055 - (nm_manager_get_connection_type): new function
6057 2008-01-19 Dan Williams <dcbw@redhat.com>
6059 * src/nm-device-802-11-wireless.c
6060 - (real_get_best_connection): collapse find_best_connection() into this
6063 2008-01-19 Dan Williams <dcbw@redhat.com>
6065 * src/nm-device-802-3-ethernet.c
6066 - (real_get_best_connection): collapse find_best_connection() into this
6069 2008-01-18 Dan Williams <dcbw@redhat.com>
6071 * src/nm-device-802-3-ethernet.c
6072 - (find_best_connection): check MAC address too
6073 - (real_get_best_connection): let autoconnect=True connections activate
6074 for devices that don't have carrier detection
6076 * src/nm-device-802-11-wireless.c
6077 - (find_best_connection): check MAC address too
6079 2008-01-18 Dan Williams <dcbw@redhat.com>
6081 * system-settings/plugins/ifcfg/parser.c
6082 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6084 2008-01-17 Dan Williams <dcbw@redhat.com>
6086 * src/nm-device-802-3-ethernet.c
6087 - (nm_device_802_3_ethernet_carrier_on,
6088 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6089 carrier events that might come in for devices that don't support
6092 2008-01-17 Dan Williams <dcbw@redhat.com>
6094 * src/nm-device-interface.c
6095 - (nm_device_interface_check_connection_conflicts): need to actually
6096 get the interface, not cast to the object
6099 - (nm_device_check_connection_conflicts): need to get the device class,
6100 not cast the device to the device class
6102 2008-01-17 Dan Williams <dcbw@redhat.com>
6104 * src/nm-device-802-11-wireless.c
6105 - (real_check_connection_conflicts): ignore connections that aren't
6106 wireless connections
6108 2008-01-17 Dan Williams <dcbw@redhat.com>
6110 * src/NetworkManagerPolicy.c
6111 - (nm_policy_device_change_check): clear change check idle here
6112 - (device_change_check_done): remove
6113 - (schedule_change_check): simplify
6115 2008-01-17 Dan Williams <dcbw@redhat.com>
6118 - (check_connection_allowed): take an NMDeviceInterface instead of
6119 an NMDevice object as an argument
6120 - (nm_manager_activate_device): pass an NMDeviceInterface to
6121 check_connection_allowed()
6123 2008-01-13 Dan Williams <dcbw@redhat.com>
6125 * libnm-glib/nm-device-802-11-wireless.c
6126 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6128 2008-01-12 Dan Williams <dcbw@redhat.com>
6130 * src/nm-device-802-11-wireless.c
6131 - (activation_success_handler): if a match was found in the scan list
6132 and that match is a hidden AP, update that AP's SSID
6134 2008-01-11 Dan Williams <dcbw@redhat.com>
6136 * src/NetworkManagerAP.c
6137 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6139 * src/nm-device-802-11-wireless.c
6140 - (get_active_ap): do two passes over the scan list if the caller
6141 requests that hidden APs get matched too; during the second pass
6142 when matching hidden APs, ignore the SSID since hidden APs in the
6143 scan list don't have an SSID yet
6144 - (periodic_update): move some checks to
6145 nm_device_802_11_periodic_update() because not all callers need them
6146 - (nm_device_802_11_periodic_update): move some checks here from
6148 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6149 matching on incoming scan results, because the fake AP's flags
6150 might be slightly different (yet still compatible) with the incoming
6151 scan result's flags and they might actually be the same AP; update
6152 the rate on merged APs too
6153 - (activation_success_handler): update the frequency of the fake AP
6154 on successful connection; match hidden APs too since if the
6155 current AP is fake, there might already be a scan result in the
6156 scan list for the desired AP, just without it's SSID filled in yet
6158 2008-01-10 Dan Williams <dcbw@redhat.com>
6160 * src/NetworkManagerAP.c
6161 - (foreach_property_cb): catch more hidden SSID formats
6163 2008-01-10 Dan Williams <dcbw@redhat.com>
6165 Fix gnome.org #464215. Requires the kernel patch titled
6166 "Introduce WEXT scan capabilities" but will handle the patch not being
6167 present, you'll just continue to have problems with hidden SSIDs when
6168 using mac80211-based drivers.
6170 * src/supplicant-manager/nm-supplicant-config.h
6171 src/supplicant-manager/nm-supplicant-config.c
6172 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6173 whether the driver supports SSID scans or not. If it does, and if
6174 the AP is hidden, use ap_scan=1 instead of ap_scan=2
6176 * src/nm-device-802-11-wireless.c
6177 - (constructor): check whether or not the driver supports SSID scans
6178 - (build_supplicant_config): pass driver SSID scan capability when
6179 building the wireless bits of the supplicant config
6181 2008-01-09 Dan Williams <dcbw@redhat.com>
6185 - (device_activation_precheck, check_connection_complete): remove this
6186 virtual function; incomplete connections should be invalid by
6187 definition, complete-ness should be checked in the setting's
6190 * src/nm-serial-device.c
6192 - (real_check_connection_complete): remove
6194 * libnm-util/nm-setting-serial.c
6195 - (verify): new function; ensure there is a PPP setting too
6197 * libnm-util/nm-setting-gsm.c
6198 - (verify): ensure there is a serial setting too
6200 2008-01-06 Dan Williams <dcbw@redhat.com>
6202 * src/dhcp-manager/nm-dhcp-manager.c
6203 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6206 2008-01-04 Dan Williams <dcbw@redhat.com>
6208 * src/named-manager/nm-named-manager.c
6209 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6210 nameservers if the secondary config doesn't have any
6213 2008-01-02 Tambet Ingo <tambet@gmail.com>
6215 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6216 with G_PARAM_CONSTRUCT so that they get the default values.
6218 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6219 the monitoring device and prints out the output for now. Or more precicely, doesn't
6220 do absolutely anything right now since the montoring device argument is never set.
6222 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6223 requires it's own knob to turn it on.
6224 (config_fd): Add NMSettingSerial to the arguments list.
6225 (nm_serial_device_open): Ditto.
6226 (get_reply_got_data): Ignore the terminators at the beginning of the output.
6227 (nm_serial_device_get_io_channel): Implement.
6229 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6230 a new reference every time (and forgetting to release it sometimes) is a pain and
6231 it's not like NMManager could work without dbus.
6232 (nm_manager_add_device): Register the added device on dbus here.
6234 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6237 * src/nm-device.c (constructor): Don't export the device here, instead export
6238 it when it's added to the NMManager's device list.
6240 2007-12-31 Dan Williams <dcbw@redhat.com>
6242 * src/nm-device-interface.c
6243 src/nm-device-interface.h
6244 - (nm_device_interface_check_connection_conflicts): new function
6248 - (nm_device_check_connection_conflicts): new function
6249 - (device_activation_precheck): don't require subclasses to implement
6250 check_connection_complete()
6251 - check_connection() -> check_connection_complete()
6253 * src/nm-device-802-11-wireless.c
6254 - (real_check_connection): remove; unused
6255 - (real_check_connection_conflicts): implement, handle lockdown for
6258 * src/nm-device-802-3-ethernet.c
6259 - (real_check_connection): remove; unused
6262 - (check_connection_allowed): new function
6263 - (nm_manager_activate_device): ensure the connection being requested
6264 is allowed to be activated
6266 * src/nm-serial-device.c
6268 - real_check_connection() -> real_check_connection_complete()
6270 2007-12-27 Dan Williams <dcbw@redhat.com>
6272 * src/nm-device-interface.c
6273 src/nm-device-interface.h
6274 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6275 normalize and expand errors
6276 - (nm_device_interface_init): register errors so they can be marshalled
6278 - (nm_device_interface_activate): ensure that failure of activation
6283 - (device_activation_precheck): implementations of check_connection()
6284 now take a GError and must fill it in if the check fails. Return
6285 more descriptive error if the requested connection is already
6287 - (nm_device_activate): actually try to return descriptive errors on
6290 * src/nm-device-802-11-wireless.c
6291 src/nm-device-802-3-ethernet.c
6292 src/nm-serial-device.c
6294 - (real_check_connection): return more descriptive errors on failure
6296 * src/NetworkManagerPolicy.c
6297 - (nm_policy_device_change_check): print activation errors in the logs
6300 - (nm_manager_error_quark, nm_manager_error_get_type,
6301 nm_manager_class_init): new errors
6302 - (nm_manager_activate_device): handle errors
6303 - (nm_manager_error_new): removed
6304 - (wait_for_connection_expired, connection_added_default_handler,
6305 impl_manager_activate_device): better error handling
6307 2007-12-27 Dan Williams <dcbw@redhat.com>
6309 Fixes gnome.org #466954
6311 * src/supplicant-manager/nm-supplicant-settings-verify.c
6312 - Allow 'frequency' network property
6314 * src/supplicant-manager/nm-supplicant-config.c
6315 src/supplicant-manager/nm-supplicant-config.h
6316 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6317 for callers to specify the frequency an Ad-Hoc network should operate
6318 on. Some drivers require this to successfully create an Ad-Hoc
6321 * src/nm-device-802-11-wireless.c
6322 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6323 guint32 value in MHz
6324 - (constructor, nm_device_802_11_wireless_get_frequency): use
6326 - (find_supported_frequency): new function; find a free supported
6327 frequency for a user-created Ad-Hoc network
6328 - (build_supplicant_config): if no frequency was specified for a user-
6329 created Ad-Hoc network, find a free one to use
6330 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6331 a specific object as user-created
6333 2007-12-27 Dan Williams <dcbw@redhat.com>
6335 * libnm-util/nm-utils.c
6336 libnm-util/nm-utils.h
6337 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6340 2007-12-24 Dan Williams <dcbw@redhat.com>
6342 * libnm-util/nm-setting-wireless.c
6343 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6344 185, 187, 188, 192, and 196
6346 2007-12-24 Dan Williams <dcbw@redhat.com>
6348 * src/nm-device-802-11-wireless.c
6349 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6350 a channel # instead of a frequency
6352 2007-12-24 Dan Williams <dcbw@redhat.com>
6354 * src/NetworkManagerAP.c
6355 src/NetworkManagerAP.h
6356 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6357 - (freq_to_channel): handle split band tables
6358 - (channel_to_freq): handle split band tables, take a band argument
6360 2007-12-24 Dan Williams <dcbw@redhat.com>
6362 * libnm-util/nm-setting-connection.h
6363 libnm-util/nm-setting-connection.c
6364 - Add 'lockdown' member
6366 2007-12-22 Dan Williams <dcbw@redhat.com>
6368 * libnm-util/nm-setting-wireless.c
6369 - (nm_setting_wireless_class_init): add missing 'rate' property
6372 2007-12-18 Dan Williams <dcbw@redhat.com>
6374 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6376 * src/nm-netlink-monitor.c
6377 src/nm-netlink-monitor.h
6378 - Remove handrolled netlink, use libnl instead
6380 * src/nm-device-802-3-ethernet.c
6381 - (constructor, nm_device_802_3_ethernet_carrier_off,
6382 nm_device_802_3_ethernet_carrier_on): use new names
6384 2007-12-17 Dan Williams <dcbw@redhat.com>
6387 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6388 and fixes memory leaks)
6391 - (nm_netlink_get_default_handle): handle new versions of libnl that
6392 automatically handle the netlink PID
6394 2007-12-17 Dan Williams <dcbw@redhat.com>
6396 Patch from Michael Biebl <biebl@debian.org>
6399 src/ppp-manager/Makefile.am
6400 - fix up install dir of pppd plugin
6401 - clean up configure.in a bit
6403 2007-12-12 Dan Williams <dcbw@redhat.com>
6405 * system-settings/src/nm-system-settings.conf
6406 - Allow non-root clients (like the applet) to read settings
6408 2007-12-10 Tambet Ingo <tambet@gmail.com>
6410 * Replace all occurences of 'UMTS' with 'GSM'.
6412 2007-12-07 Dan Williams <dcbw@redhat.com>
6414 * src/nm-serial-device.c
6415 - (real_is_up): serial devices are always "up"
6417 2007-12-07 Dan Williams <dcbw@redhat.com>
6420 src/NetworkManagerSystem.c
6421 - (new_nl_handle): ensure that the same netlink pid is never chosen
6422 twice (gnome.org #491047)
6423 - Make more robust against allocation-related failures should they occur
6425 2007-12-07 Dan Williams <dcbw@redhat.com>
6427 Noticed by Christian Persch <chpe@gnome.org>
6429 Always chain up to parent object in dispose and finalize handlers.
6432 2007-12-07 Dan Williams <dcbw@redhat.com>
6434 * src/nm-device-802-11-wireless.c
6435 - Wrap #include of linux/mii.h to fix redefined structures due to
6436 incorrect kernel headers (gnome.org #350061)
6438 2007-12-06 Tambet Ingo <tambet@gmail.com>
6440 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6441 before doing anything else.
6442 (init_modem): Move modem initialization here.
6444 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6445 (nm_serial_device_flash): Implement.
6447 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6448 changes signal is "StateChanged" and not "Status".
6449 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6451 2007-12-06 Dan Williams <dcbw@redhat.com>
6453 * src/supplicant-manager/nm-supplicant-config.c
6454 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6455 to only send some options when they make sense; also send phase2
6456 option to the supplicant (possible fix for rh #399631)
6458 2007-12-06 Tambet Ingo <tambet@gmail.com>
6460 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6461 arguments: This whole file shouldn't really know anything about NMDevices, it
6462 should deal only with device interfaces. Devices might have different ifaces for
6463 different stuff and this place shouldn't know anything about it.
6465 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6466 (global_state_changed): Implement. In the current NM it's not really important,
6467 but will be required in the case of multiple active devices. (Or even better,
6468 if stuff like that gets moved out from NM).
6470 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6471 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6474 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6475 devices like serial devices (ttyS0 and ppp0 for example).
6476 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6478 (nm_device_set_ip_iface): Implement.
6479 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6480 after setting ip4_config from here ...
6481 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6482 than this function should call nm_system_device_set_from_ip4_config() because no
6483 other code has enough information on which arguments to use. So instead, other code
6484 could just set the new ip4 config using this function and everyone is happy.
6486 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6487 if we happen to get deactivated while something is pending.
6488 (automatic_registration): Handle the response that indicates pending network
6489 registration and wait until the pending registration is done.
6490 (real_deactivate_quickly): If there's a pending operation, cancel it.
6492 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6493 (real_deactivate_quickly): ... and remove it when it's down.
6494 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6496 (nm_serial_device_wait_for_reply): Ditto.
6498 2007-12-05 Tambet Ingo <tambet@gmail.com>
6500 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6501 (get_network_done): Remove newline, nm_info() does it already.
6502 (real_act_stage1_prepare): Turn the modem echo off.
6504 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6505 device, set the route to the device interface. This is a hack.
6507 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6508 return, no need for a new-line.
6509 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6510 Change the device iface here (ugh).
6511 (real_act_stage4_get_ip4_config): Implement.
6512 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6513 Restore the device iface.
6515 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6516 device is not wired or wireless (eg, automatically upped) device.
6518 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6520 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6522 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6523 before calling it's is_device_fn().
6525 2007-12-05 Dan Williams <dcbw@redhat.com>
6527 * libnm-util/nm-utils.c
6528 - (nm_utils_register_value_transformations,
6529 nm_utils_convert_gvalue_hash_to_string): better debug output of
6530 GHashTables of GValues too
6532 2007-12-04 Dan Williams <dcbw@redhat.com>
6534 * initscript/RedHat/NetworkManager.in
6535 - No longer start named; it's D-Bus interface is going away
6537 2007-12-04 Dan Williams <dcbw@redhat.com>
6539 Patch from Michael Biebl <biebl@debian.org>
6541 * system-settings/plugins/ifcfg/Makefile.am
6542 system-settings/src/main.c
6543 system-settings/src/Makefile.am
6544 - Put system settings plugins in NM plugins dir
6546 * src/ppp-manager/Makefile.am
6547 src/ppp-manager/nm-ppp-manager.c
6548 - Move pppd plugin to NM plugins dir
6550 2007-12-04 Dan Williams <dcbw@redhat.com>
6552 * libnm-util/nm-setting-vpn-properties.h
6553 - Clarify usage of the 'data' member of the setting
6555 * libnm-util/nm-setting-vpn-properties.c
6556 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6557 - (set_property): just remove all the settings; don't recreate the has
6558 - (update_one_secret): don't need to create the hash table here since
6559 it should always be present
6561 2007-12-03 Tambet Ingo <tambet@gmail.com>
6563 Implement PIN and PUK requesting.
6565 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6566 (enter_pin): Handle PIN and PUK requests.
6567 (real_act_stage1_prepare): Clear the secret type.
6568 (real_connection_secrets_updated): Implement this class method to get
6569 notified when new secrets arrive.
6570 (nm_umts_device_class_init): Add private data back to the umts device class
6571 to store the required secret type.
6573 2007-12-01 Dan Williams <dcbw@redhat.com>
6575 * system-settings/plugins/ifcfg/parser.c
6576 - (parser_parse_file): don't try to verify NULL connections
6578 2007-12-01 Dan Williams <dcbw@redhat.com>
6580 * system-settings/src/main.c
6581 - (load_connections, add_connection_to_settings): actually export
6582 plugin-provided connections over D-Bus so NM can get them
6584 2007-12-01 Dan Williams <dcbw@redhat.com>
6586 * system-settings/plugins/ifcfg/parser.c
6587 system-settings/plugins/ifcfg/parser.h
6588 system-settings/plugins/ifcfg/plugin.c
6589 - Hook up more inotify bits (untested)
6591 2007-11-29 Dan Williams <dcbw@redhat.com>
6593 * system-settings/src/nm-system-config-interface.h
6594 system-settings/src/nm-system-config-interface.c
6595 - (nm_system_config_interface_init,
6596 nm_system_config_interface_get_connections): add
6598 * system-settings/src/main.c
6599 - (load_plugins, load_connections, main): use a GSList for plugins
6600 to ensure priority ordering
6602 * system-settings/plugins/ifcfg/parser.c
6603 - (ifcfg_error_quark): move to plugin.c, and rename
6605 * system-settings/plugins/ifcfg/plugin.h
6606 system-settings/plugins/ifcfg/plugin.c
6607 - (ifcfg_plugin_error_quark): move here from parser.c
6608 - rework connection loading and initialization
6609 - Add preliminary inotify support for network profile config file
6611 2007-11-28 Tambet Ingo <tambet@gmail.com>
6613 Merge the beginnings of the new GSM card support.
6615 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6616 ppp watch source before killing pppd - If this happens from g_object_unref()
6617 then the ppp manager is already destroyed by the time the watch callback runs.
6619 * src/nm-hal-manager.c: Add a device_type_name string to the device
6620 creators, so that we can print a nice human readable string when a
6623 * src/nm-umts-device.c (automatic_registration_get_network): Query
6624 for the activated network, not much is done with the result thought.
6626 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6627 (ppp_ip4_config): Change the device state to activated here for now.
6628 (real_check_connection): Make sure the connection includes ppp setting.
6630 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6632 * libnm-glib/Makefile.am: Add the new files to build.
6634 * libnm-glib/nm-umts-device.c:
6635 * libnm-glib/nm-umts-device.h: Implement.
6637 2007-11-26 Tambet Ingo <tambet@gmail.com>
6639 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6640 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6642 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6643 the timeout source - this function is only called when the timeout source has
6645 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6646 to be big enough to contain the terminating zero element as well.
6647 The timeout argument is meant to be in seconds now.
6648 (real_deactivate_quickly): Implement.
6650 * src/NetworkManager.conf: Allow root to own
6651 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6653 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6654 (not unsigned ints).
6656 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
6657 small issue with parity bounds - capital letters have lower ascii codes
6658 than lower case letters.
6660 * libnm-util/nm-connection.c (register_default_settings): Register serial
6663 2007-11-22 Tambet Ingo <tambet@gmail.com>
6665 Remove the "index" property from devices as not all device types have this.
6667 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6669 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6670 (wired_device_creator): Get the device interface from hal to create the device.
6671 (wireless_device_creator): Ditto.
6673 * src/nm-device.c (nm_device_init): Remove the index member.
6674 (constructor): Remove the checks for index property, make interface property
6675 a require constructor property.
6676 Use the HAL udi for DBus path for devices.
6677 (nm_device_get_index): Remove.
6678 (set_property): Remove index handling.
6679 (get_property): Ditto.
6680 (nm_device_get_dbus_path): Remove.
6682 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6685 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6686 Access the device index through it's interface.
6687 (nm_device_802_3_ethernet_link_deactivated): Ditto.
6688 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6689 index argument. Add interface argument.
6691 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6692 the useless test_dev argument. Remove index argument. Add interface arugment.
6694 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6695 device index through interface.
6696 (nm_system_set_mtu): Ditto.
6698 * introspection/nm-device.xml: Remove the "Index" property.
6700 2007-11-21 Tambet Ingo <tambet@gmail.com>
6702 * src/nm-serial-device.c:
6703 * src/nm-serial-device.c:
6704 * src/nm-umts-device.c:
6705 * src/nm-umts-device.h: Implement.
6707 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
6708 allocated by libhal.
6709 (modem_device_creator): Implement.
6710 (register_built_in_creators): Register the modem creator.
6712 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
6713 Remove the unused test_dev argument.
6715 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6717 * src/Makefile.am: Add new files to build.
6718 Link in ppp-manager.
6720 * libnm-util/nm-setting-umts.c:
6721 * libnm-util/nm-setting-umts.h:
6722 * libnm-util/nm-setting-serial.c:
6723 * libnm-util/nm-setting-serial.h: Implement.
6725 * libnm-util/Makefile.am: Add new files to build.
6727 2007-11-28 Dan Williams <dcbw@redhat.com>
6729 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6731 Support DHCP-provided static routes.
6733 * src/nm-ip4-config.h
6735 - Add get/set functions for static routes
6737 * src/dhcp-manager/nm-dhcp-manager.c
6738 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6741 * src/NetworkManagerSystem.c
6742 - (nm_system_device_set_from_ip4_config): set any static routes on the
6743 interface when applying the IP4Config
6745 2007-11-28 Dan Williams <dcbw@redhat.com>
6747 * src/nm-device-802-11-wireless.c
6748 - (real_act_stage1_prepare): mark APs created for hidden networks
6751 2007-11-27 Dan Williams <dcbw@redhat.com>
6753 * system-settings/src/nm-system-config-interface.h
6754 - Note how to store secrets on NMSetting objects
6756 * system-settings/src/dbus-settings.c
6757 - (connection_settings_get_secrets): implement
6759 2007-11-27 Dan Williams <dcbw@redhat.com>
6761 * system-settings/plugins/ifcfg/Makefile.am
6762 system-settings/plugins/ifcfg/parser.c
6763 system-settings/plugins/ifcfg/parser.h
6764 system-settings/plugins/ifcfg/plugin.c
6765 - Parse wireless connections too
6767 * system-settings/src/dbus-settings.c
6768 system-settings/src/dbus-settings.h
6769 system-settings/src/main.c
6770 - Handle connection update/removal if the plugin supports it
6772 2007-11-27 Dan Williams <dcbw@redhat.com>
6774 * src/nm-dbus-manager.h
6775 src/nm-hal-manager.c
6776 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6780 src/NetworkManagerDbusUtils.c
6781 src/NetworkManagerDbusUtils.h
6782 - Remove these two source files; they are unused
6784 2007-11-27 Dan Williams <dcbw@redhat.com>
6786 * src/vpn-manager/nm-vpn-manager.c
6787 - (impl_vpn_manager_connect): fix system settings check (found by
6790 2007-11-26 Dan Williams <dcbw@redhat.com>
6792 * Fix warnings so everything compiles with --enable-more-warnings
6794 2007-11-25 Dan Williams <dcbw@redhat.com>
6797 - Rework structure and code to use GModule-loaded plugins and a plugin
6798 interface that plugins export to the system settings service
6800 2007-11-21 Dan Williams <dcbw@redhat.com>
6803 - Add Soren's system settings service. Needs work for distros other
6804 than Fedora; the backends from NM should mostly migrate to here
6805 and be converted to GObjects
6807 2007-11-21 Dan Williams <dcbw@redhat.com>
6809 * libnm-util/nm-setting-vpn-properties.c
6810 - (set_property): must deep-copy the given settings hash, otherwise
6811 double-free errors occur when the setting is disposed of
6813 2007-11-21 Dan Williams <dcbw@redhat.com>
6815 * src/vpn-manager/nm-vpn-act-request.h
6816 src/vpn-manager/nm-vpn-act-request.c
6819 2007-11-20 Dan Williams <dcbw@redhat.com>
6821 * libnm-util/nm-utils.c
6822 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6823 nm_utils_convert_ip4_addr_struct_array_to_string,
6824 nm_utils_register_value_transformations): print out the readable
6825 values of more types of properties of NMSettings subclasses
6827 2007-11-20 Dan Williams <dcbw@redhat.com>
6829 * libnm-util/nm-setting-ip4-config.c
6830 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6831 nm_setting_ip4_config_class_init): apparently dbus-glib can't
6832 marshal GValueArrays inside collections, so switch to types that it
6833 can actually marshal/demarshal
6835 2007-11-16 Dan Williams <dcbw@redhat.com>
6837 * libnm-util/nm-setting-wireless-security.c
6838 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6839 minimal verification of EAP methods too
6840 - (verify): verify phase1 eap methods too
6842 2007-11-15 Dan Williams <dcbw@redhat.com>
6844 * libnm-glib/nm-device.h
6845 libnm-glib/nm-device.c
6846 - (nm_device_get_product, nm_device_get_vendor): should be returning
6849 2007-11-15 Dan Williams <dcbw@redhat.com>
6851 * libnm-glib/nm-device.c
6852 - (get_product_and_vendor): don't try to free things that should be
6855 2007-11-15 Dan Williams <dcbw@redhat.com>
6857 * src/NetworkManagerUtils.c
6858 - (nm_ethernet_address_is_valid): unbreak previous fix
6860 2007-11-15 Dan Williams <dcbw@redhat.com>
6862 * src/supplicant-manager/nm-supplicant-config.c
6863 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6866 2007-11-15 Dan Williams <dcbw@redhat.com>
6868 * src/NetworkManagerUtils.c
6869 - (nm_ethernet_address_is_valid): fix style, clarify
6870 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6872 * src/nm-device-802-11-wireless.c
6873 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6874 - (nm_device_802_11_wireless_get_ssid,
6875 nm_device_802_11_wireless_get_bssid,
6876 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6877 before calling the ioctl; fixes valgrind-reported jump depends on
6878 uninitialized value errors
6880 2007-11-15 Dan Williams <dcbw@redhat.com>
6882 * libnm-util/nm-setting.c
6883 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6884 unecessary to serialize 'name'
6886 * src/nm-activation-request.c
6887 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6890 2007-11-15 Dan Williams <dcbw@redhat.com>
6892 * libnm-util/nm-setting-connection.h
6893 libnm-util/nm-setting-connection.c
6894 - Rename the 'name' property to 'id', because it conflicted with the
6895 NMSetting superclass' 'name' property.
6897 * libnm-util/nm-setting.c
6898 - (nm_setting_to_hash): serialize the 'name' property
6899 - (one_property_cb): ignore 'name' on deserialization of a connection
6901 * src/nm-device-802-11-wireless.c
6902 src/vpn-manager/nm-vpn-connection.c
6903 src/NetworkManagerPolicy.c
6904 - Fix up for NMSettingConnection 'name'->'id' changes
6906 2007-11-13 Dan Williams <dcbw@redhat.com>
6908 * libnm-glib/nm-device-802-11-wireless.h
6909 libnm-glib/nm-device-802-11-wireless.c
6910 - (nm_device_802_11_wireless_get_hw_address): return should be const
6913 libnm-glib/libnm-glib-test.c
6914 - Fixes for above change
6916 2007-11-12 Dan Williams <dcbw@redhat.com>
6918 * src/supplicant-manager/nm-supplicant-settings-verify.c
6919 - Allow fragment_size option
6921 * src/supplicant-manager/nm-supplicant-settings-verify.c
6922 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6923 EAP fragment size than the default to help some TLS connections
6925 2007-11-12 Dan Williams <dcbw@redhat.com>
6927 Make certs actually work. The private key is now a secret, and should be
6928 decrypted when requested by NM. The private key and phase2 private key
6929 passwords are no longer interesting to NM because they should be used by
6930 the settings service to decrypt the private key itself before passing it
6931 to NM, and hence have been removed as fields.
6933 * libnm-util/nm-setting-wireless-security.h
6934 libnm-util/nm-setting-wireless-security.c
6935 - Remove private-key-passwd and phase2-private-key-passwd from
6937 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6938 need_secrets): use property #defines instead strings to keep things
6940 - (need_secrets_tls): if a client certificate is present but no
6941 private key, request the private key
6942 - (set_property, get_property, nm_setting_wireless_security_class_init):
6943 remove private key password stuff, mark private keys as secret
6945 * src/supplicant-manager/nm-supplicant-settings-verify.c
6946 - Remove private_key_passwd and private_key2_passwd from opt_table
6948 2007-11-09 Dan Williams <dcbw@redhat.com>
6950 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6951 Since the vpn-properties are managed and known by the VPN daemons themselves,
6952 libnm-util doesn't know what's secret and what's in the setting's 'data'
6955 * libnm-util/nm-setting.h
6956 libnm-util/nm-setting.c
6957 - Add the ability for subclasses to override update_one_secret
6959 * libnm-util/nm-setting-vpn-properties.c
6960 - Override update_one_secret and just copy the values into the
6963 2007-11-09 Dan Williams <dcbw@redhat.com>
6965 * libnm-glib/nm-settings.h
6966 libnm-glib/nm-settings.c
6967 - (nm_settings_new_error): remove
6968 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6969 clients should use g_set_error() with NM_SETTINGS_ERROR
6971 2007-11-09 Dan Williams <dcbw@redhat.com>
6973 * src/supplicant-manager/nm-supplicant-config.c
6974 - (nm_supplicant_config_add_setting_wireless_security): private key
6975 passwords are never sent to wpa_supplicant, because the supplicant
6976 should never be reading random files from the disk. Clients like
6977 the applet are required to decrypt the private keys and send NM
6978 the decrypted blobs.
6980 2007-11-08 Dan Williams <dcbw@redhat.com>
6982 * libnm-util/nm-setting-wireless-security.h
6983 libnm-util/nm-setting-wireless-security.c
6984 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6985 members to 802-11-wireless-security structure. This should be used
6986 to indicate that the values in private-key and phase2-private-key
6987 are already decrypted by the user agent, and that no
6988 private-key-passwd or phase2-private-key-passwd should be expected.
6989 It is not meant to be a stored configuration value, but meant to
6990 be set when the conneciton is sent to NM over dbus.
6992 2007-11-08 Dan Williams <dcbw@redhat.com>
6994 * libnm-util/nm-connection.h
6995 libnm-util/nm-connection.c
6996 - (nm_connection_need_secrets): add argument to return hints
6998 * src/nm-device-802-11-wireless.c
6999 - (link_timeout_cb, supplicant_connection_timeout_cb,
7000 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7001 nm_connection_need_secrets() change
7003 2007-11-07 Tambet Ingo <tambet@gmail.com>
7005 Rework NMSetting structures: Move each setting to it's own file.
7006 Convert to GObject. Remove home grown setting types and use GTypes.
7007 Use GObject property introspection for hash conversion, enumerating
7010 * libnm-util/nm-setting-connection.[ch]
7011 * libnm-util/nm-setting-ip4-config.[ch]
7012 * libnm-util/nm-setting-ppp.[ch]
7013 * libnm-util/nm-setting-vpn.[ch]
7014 * libnm-util/nm-setting-vpn-properties.[ch]
7015 * libnm-util/nm-setting-wired.[ch]
7016 * libnm-util/nm-setting-wireless.[ch]
7017 * libnm-util/nm-setting-wireless-security.[ch]
7019 New files, each containing a setting.
7021 * libnm-util/nm-setting-template.[ch]: A template for creating new
7022 settings. To use it, just replace 'template' with the new setting
7023 name, and you're half-way done.
7025 * libnm-util/nm-setting.c: Convert to GObject and use GObject
7026 introspection instead of internal types and tables.
7028 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7030 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7031 GValue types defined by dbus-glib for composed types like collections,
7032 structures and maps.
7034 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7035 a setting from connection takes the setting type now. Also, since
7036 the settings are in multiple files, include relevant settings.
7038 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
7041 * src/backends/NetworkManagerGentoo.c:
7042 (nm_system_restart_mdns_responder): Implement restarts for other mdns
7043 providers in Gentoo.
7045 2007-10-31 Dan Williams <dcbw@redhat.com>
7047 * libnm-util/nm-connection.c
7048 - (gvalue_to_string): handle UINT32 arrays
7050 2007-10-31 Dan Williams <dcbw@redhat.com>
7052 * libnm-glib/nm-device.h
7053 libnm-glib/nm-device.c
7054 - (nm_device_get_description): remove
7055 - (nm_device_get_product, nm_device_get_vendor): add
7056 - (nm_device_update_description): new function (private); walk HAL
7057 devices to get product and vendor IDs for a specific device
7059 2007-10-31 Dan Williams <dcbw@redhat.com>
7061 * src/nm-device-802-11-wireless.c
7062 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7064 2007-10-29 Dan Williams <dcbw@redhat.com>
7066 * src/nm-hal-manager.c
7067 - (device_added, device_new_capability): ignore device additions while
7068 asleep. Fixes crash caused when NM goes to sleep, a network device
7069 kernel module is unloaded and reloaded and recognized by NM again.
7071 2007-10-26 Dan Williams <dcbw@redhat.com>
7073 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7075 * src/NetworkManagerAP.c
7076 src/NetworkManagerAP.h
7077 libnm-glib/nm-access-point.c
7078 libnm-glib/nm-access-point.h
7079 - Make 'rate' property a guint32 to better match with WEXT and
7080 wpa_supplicant and to allow representation of higher bitrates
7082 * src/nm-device-802-11-wireless.c
7083 introspection/nm-device-802-11-wireless.xml
7084 libnm-glib/nm-device-802-11-wireless.c
7085 libnm-glib/nm-device-802-11-wireless.h
7086 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7088 * src/nm-device-802-3-ethernet.c
7089 src/nm-device-802-3-ethernet.h
7090 introspection/nm-device-802-3-ethernet.xml
7091 libnm-glib/nm-device-802-3-ethernet.c
7092 libnm-glib/nm-device-802-3-ethernet.h
7093 - Make 'speed' property a guint32 to match other speed/rate types
7094 - Make nm_device_802_3_ethernet_get_speed() static
7097 - Update for the changes above
7099 2007-10-26 Dan Williams <dcbw@redhat.com>
7101 * src/named-manager/nm-named-manager.c
7102 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7103 not calling fclose() twice on some error conditions
7105 2007-10-26 Dan Williams <dcbw@redhat.com>
7107 * src/nm-activation-request.c
7108 - (dispose): clean up indentation; get the right DBusGProxy object to
7109 cancel the GetSecrets pending call on. Need to use the Secrets
7110 proxy, not the regular connection proxy. Otherwise the GetSecrets
7111 pending call doesn't get canceled, and pressing Cancel in the
7112 applet's password dialog could cause get_secrets_cb() to be called
7113 after the activation request has already been destroyed
7115 2007-10-24 Dan Williams <dcbw@redhat.com>
7117 * src/supplicant-manager/nm-supplicant-config.c
7118 - (nm_supplicant_config_add_blob): pass blob data and length for
7120 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7122 2007-10-24 Dan Williams <dcbw@redhat.com>
7124 * src/supplicant-manager/nm-supplicant-settings-verify.c
7125 - (opt_table): max length for certificates should be 65536
7127 2007-10-24 Dan Williams <dcbw@redhat.com>
7129 * src/supplicant-manager/nm-supplicant-interface.c
7130 - (blob_free): correctly free blob data after use
7131 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7133 2007-10-24 Dan Williams <dcbw@redhat.com>
7135 * libnm-util/nm-setting.c
7136 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7137 EAP method need secrets
7139 2007-10-24 Dan Williams <dcbw@redhat.com>
7141 * src/backends/NetworkManagerRedHat.c
7142 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7144 2007-10-23 Dan Williams <dcbw@redhat.com>
7146 * libnm-util/nm-setting.c
7147 libnm-util/nm-setting.c
7148 - (nm_setting_compare): implement
7149 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7150 compare_one_hash_gvalue): compare the contents of a setting
7152 * libnm-util/nm-connection.c
7153 - (nm_connection_compare): implement
7155 2007-10-23 Dan Williams <dcbw@redhat.com>
7157 * src/nm-activation-request.c
7158 - (get_secrets_cb): handle getting a setting back that is more than
7159 just secrets (ie, user changed auth or EAP method or something)
7161 2007-10-23 Dan Williams <dcbw@redhat.com>
7163 * libnm-util/nm-setting.c
7164 libnm-util/nm-setting.h
7165 - (nm_setting_verify): new function; verify one setting
7166 - (nm_settings_verify_all): rename from nm_settings_verify()
7167 - (setting_connection_verify, setting_wireless_verify): allow NULL
7170 * libnm-util/nm-connection.c
7171 - (nm_connection_replace_settings, nm_connection_verify,
7172 nm_connection_new_from_hash): handle nm_settings_verify() rename
7174 2007-10-23 Dan Williams <dcbw@redhat.com>
7176 * src/nm-device-802-11-wireless.c
7177 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7180 2007-10-23 Dan Williams <dcbw@redhat.com>
7182 * src/supplicant-manager/nm-supplicant-settings-verify.c
7183 - eap_allowed, phase2_allowed: harmonize with allowed values from
7186 2007-10-23 Dan Williams <dcbw@redhat.com>
7188 * src/nm-device-802-11-wireless.c
7189 - (real_act_stage2_config): after the first association failure,
7190 if the connection still needs secrets ask the user for them
7191 explicitly. After the fourth association failure due to bad
7192 secrets, fail the connection entirely. Handles the GetSecrets
7193 loop that NM gets into when the provided secrets don't match up
7194 with the connection details.
7196 2007-10-23 Dan Williams <dcbw@redhat.com>
7198 * src/supplicant-manager/nm-supplicant-config.c
7199 - (nm_supplicant_config_add_setting_wireless_security): only add
7200 WPA-specific options when WPA is in use
7202 2007-10-23 Dan Williams <dcbw@redhat.com>
7204 * src/supplicant-manager/nm-supplicant-config.c
7205 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7206 secret doesn't need to be unhexified
7208 2007-10-23 Dan Williams <dcbw@redhat.com>
7210 * libnm-util/nm-setting.c
7211 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7212 before trying to do something with it
7214 2007-10-23 Dan Williams <dcbw@redhat.com>
7216 * src/nm-device-802-11-wireless.c
7217 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7219 2007-10-23 Dan Williams <dcbw@redhat.com>
7221 * src/nm-device-802-11-wireless.c
7222 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7223 non-SSID-broadcasting APs
7225 2007-10-23 Dan Williams <dcbw@redhat.com>
7227 * src/NetworkManagerAP.c
7228 - (match_cipher, security_compatible): remove
7229 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7232 2007-10-23 Dan Williams <dcbw@redhat.com>
7234 * libnm-util/nm-utils.c
7235 libnm-util/nm-utils.h
7236 - (nm_utils_ap_security_compatible): common function for checking
7237 whether a specific AP is compatible with an NMConnection
7239 2007-10-23 Dan Williams <dcbw@redhat.com>
7241 * libnm-util/nm-setting.c
7242 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7243 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7244 need_secrets_password, setting_wireless_security_verify): fix
7245 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7246 secrets logic for each supported EAP method
7248 2007-10-23 Dan Williams <dcbw@redhat.com>
7250 * src/supplicant-manager/nm-supplicant-config.c
7251 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7252 config option name, should be "private_key2_passwd"
7254 2007-10-22 Tambet Ingo <tambet@gmail.com>
7256 Implement support for static IP addresses, additional/overridden DNS and
7257 DNS domain search lists.
7259 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7260 (ip4_addresses_to_gvalue): Implement.
7261 (convert_array_to_byte_array): Implement.
7262 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7263 NM_S_TYPE_IP4_ADDRESSES.
7264 (nm_setting_hash): Ditto.
7265 (default_setting_clear_secrets): Add a default case for the switch: IP address
7266 shouldn't be secret, ever.
7267 (setting_ip4_config_verify): Update, requires addresses in case of manual
7269 (setting_ip4_config_destroy): Free stuff.
7271 * src/nm-device.c (merge_ip4_config): Implement.
7272 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7274 2007-10-22 Dan Williams <dcbw@redhat.com>
7276 * libnm-util/nm-setting.c
7277 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7278 pairwise cipher options for Dynamic WEP
7280 2007-10-21 Dan Williams <dcbw@redhat.com>
7282 * src/NetworkManagerAP.c
7283 src/NetworkManagerAP.h
7284 - Rename 'articifical' -> 'fake' since that's what they are until
7286 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7287 from the attributes in an NMConnection object
7288 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7290 - (nm_ap_match_in_list): find a matching AP in a scan list
7292 * src/nm-device-802-11-wireless.c
7293 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7294 AP when searching the scan list; match on frequency and mode too
7295 - (nm_device_802_11_wireless_get_frequency): implement
7296 - (merge_scanned_ap): replace duplicate matching logic with
7297 nm_ap_match_in_list()
7298 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7299 the user is trying to connect to a hidden network that is not yet
7300 known from the scan list
7301 - (activation_success_handler): now that the card knows the AP's BSSID,
7302 there may already be a scanned AP in the scan list that is what
7303 we really wanted to connect to, but didn't know at the time. Use
7304 that instead of the 'fake' AP created at activation start and get
7305 rid of the 'fake' AP
7306 - (cull_scan_list): don't remove fake APs
7308 2007-10-21 Dan Williams <dcbw@redhat.com>
7310 * src/nm-activation-request.h
7311 src/nm-activation-request.c
7312 - (nm_act_request_set_specific_object): new function; allow setting the
7313 specific object if one isn't set yet
7315 2007-10-20 Dan Williams <dcbw@redhat.com>
7317 * src/supplicant-manager/nm-supplicant-config.h
7318 src/supplicant-manager/nm-supplicant-config.c
7319 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7320 table to store blobs
7321 - (nm_supplicant_config_add_blob): new function; add blob to internal
7323 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7324 - (nm_supplicant_config_add_setting_wireless_security): handle
7325 options that use certificates (ie, blobs)
7327 * src/nm-device-802-11-wireless.c
7328 - (build_supplicant_config): pass a UID (just use the connection path)
7329 to the supplicant config as now required
7331 * src/supplicant-manager/nm-supplicant-interface.c
7332 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7333 there are any blobs to send to wpa_supplicant, send those first
7334 before sending the network configuration
7336 2007-10-19 Dan Williams <dcbw@redhat.com>
7338 Split the GetSecrets() call off to a separate D-Bus interface so that it
7339 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
7340 should be able to call GetSecrets().
7342 * include/NetworkManager.h
7343 - Define the connection secrets D-Bus interface
7345 * src/vpn-manager/nm-vpn-connection.c
7346 - (clear_need_auth): get the right proxy object for the connection
7348 - (get_connection_secrets): use the connection secrets proxy; send
7349 empty hints in get secrets request
7351 * src/nm-activation-request.c
7352 - (nm_act_request_request_connection_secrets): use the connection
7353 secrets proxy; send empty hints in get secrets request
7357 - (connection_get_settings_cb): set the connection secrets proxy on
7358 the connection object too
7359 - (internal_new_connection_cb): create the connection secrets proxy
7361 * introspection/nm-settings-connection.xml
7362 - Define Connection.Secrets interface and move GetSecrets there
7363 - Add a 'hints' argument to GetSecrets
7365 * libnm-glib/nm-settings.c
7366 libnm-glib/nm-settings.h
7367 - (impl_connection_settings_get_secrets): add 'hints' argument
7369 2007-10-19 Dan Williams <dcbw@redhat.com>
7372 - (constructor): add message about what path a device is exported as
7373 to help in debugging rh #339011
7375 2007-10-17 Dan Williams <dcbw@redhat.com>
7377 * libnm-util/nm-utils.h
7378 libnm-util/nm-utils.c
7379 - (nm_utils_security_valid): common function to help find the intersection
7380 of capabilities of devices and (optionally) access points
7382 2007-10-17 Dan Williams <dcbw@redhat.com>
7384 * src/nm-device-802-11-wireless.c
7385 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7386 don't get erroneously cleared
7388 2007-10-17 Dan Williams <dcbw@redhat.com>
7392 src/nm-hal-manager.c
7393 - (device_removed, finalize, nm_manager_remove_device,
7394 nm_manager_sleep): add a 'deactivate' argument to
7395 nm_manager_remove_device() to fully deactivate devices when necessary
7396 (ie, always except when waking up)
7398 2007-10-16 Dan Williams <dcbw@redhat.com>
7400 * libnm-util/nm-setting.c
7401 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7402 also isn't valid phase2 autheap method
7404 2007-10-16 Dan Williams <dcbw@redhat.com>
7406 * libnm-glib/nm-client.c
7407 - (update_wireless_status): consolidate updates of wireless status
7408 - (constructor): use update_wireless_status()
7409 - (manager_running): set wireless status off when NM goes away; requery
7410 the wireless status when NM comes back
7412 2007-10-16 Dan Williams <dcbw@redhat.com>
7414 * libnm-glib/nm-client.c
7415 - (nm_client_activate_device): actually use the fixed-up specific
7418 2007-10-16 Dan Williams <dcbw@redhat.com>
7420 * src/nm-hal-manager.c
7421 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7422 killswitch error messages once
7424 2007-10-16 Dan Williams <dcbw@redhat.com>
7427 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7428 if it's disabled in hardware; don't touch network devices while
7431 2007-10-16 Dan Williams <dcbw@redhat.com>
7433 * libnm-util/nm-client.c
7434 - (nm_client_activate_device): convert NULL specific_object to "/",
7435 which is used in place of NULL
7438 - (impl_manager_activate_device): convert "/" specific_object back into
7441 2007-10-16 Tambet Ingo <tambet@gmail.com>
7443 Implement a generic NMSetting creator from setting name.
7444 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7445 add a virtual function 'populate_fn'.
7447 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7448 (register_default_creators): Register setting creators instead of functions
7449 that create and then populate.
7450 (parse_one_setting): Use the common setting creator and then setting specific
7451 poplulation function.
7453 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7454 they all looked exactly the same.
7455 Add a 'populate_fn' virtual function to NMSetting.
7456 Use default virtual functions in case they are not overriden.
7457 (nm_setting_populate_from_hash): Implement.
7459 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7460 name, use a defined string.
7461 (real_act_stage4_get_ip4_config): Ditto.
7463 2007-10-16 Tambet Ingo <tambet@gmail.com>
7465 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7466 HAL is int, not uint.
7468 2007-10-15 Tambet Ingo <tambet@gmail.com>
7470 Implement killswitch polling through HAL.
7472 * src/nm-manager.c: Add wireless hardware status property. Add
7473 'properties-changed' signal for changes in wireless and wireless hardware
7476 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7477 and update NMManager's wireless hardware state when it has changed.
7478 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7481 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7482 values of wireless state and wireless hardware state. Listen for the
7483 'properties-changed' signals, update the cached values and emit notify.
7485 * include/NetworkManager.h: Fix a typo in a comment.
7487 2007-10-14 Dan Williams <dcbw@redhat.com>
7489 * libnm-util/nm-setting.c
7490 - (setting_wireless_security_need_secrets): handle LEAP secrets
7492 2007-10-13 Dan Williams <dcbw@redhat.com>
7494 * libnm-util/nm-setting.h
7495 libnm-util/nm-setting.c
7496 src/supplicant-manager/nm-supplicant-config.c
7497 - Make the 'proto' field of the 802-11-wireless-security field a
7500 2007-10-12 Tambet Ingo <tambet@gmail.com>
7502 Rework the "properties-changed" signal listening implementation.
7503 Add a generic implementation to NMObject class that listens for
7504 the signal and calls property setters of the target NMObject.
7506 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7508 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7509 code to the end of file so that all the static functions are available
7510 without extra declarations.
7511 Remove the "properties-changed" signal handling and use the framework from
7513 Implement property setters for properties that change with
7514 "properties-changed" signal.
7516 * libnm-glib/nm-access-point.c: Ditto.
7518 2007-10-12 Tambet Ingo <tambet@gmail.com>
7520 Rework the "properties-changed" signal implementation.
7521 In classes that need to use it, just emit "GObject::notify" and the new
7522 framework takes care of the rest to make the signal available on dbus.
7523 The framework queues the notifications and tries to send as many together
7524 in one signal as possible.
7526 * src/nm-properties-changed-signal.c:
7527 * src/nm-properties-changed-signal.h: Implement.
7529 * src/Makefile.am: Add new files to build.
7531 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7534 * src/nm-device-802-11-wireless.c: Ditto.
7536 2007-10-10 Dan Williams <dcbw@redhat.com>
7539 - (wait_for_connection_expired): ensure info is valid
7540 - (connection_added_default_handler): Should only remove pending
7541 connection info when the manager has the connection that it's
7542 waiting for. Fixes segfault in wait_for_connection_info().
7544 2007-10-10 Dan Williams <dcbw@redhat.com>
7546 * libnm-util/nm-setting.c
7547 libnm-util/nm-setting.h
7548 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7549 can use if they choose. Should be filled in by the settings service
7550 on-the-fly with the currently logged in user's username
7552 2007-10-10 Dan Williams <dcbw@redhat.com>
7554 * src/nm-device-802-11-wireless.c
7555 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7556 as such, because even if the manager fills in the SSID, NM still
7557 has to indicate to wpa_supplicant that the AP isn't broadcasting
7560 2007-10-10 Tambet Ingo <tambet@gmail.com>
7562 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7563 code that used NM's own version of dbus signal handling and custom dictionary
7564 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7565 and we get to maintain over 2000 lines less code.
7567 * libnm-util/dbus-dict-helpers.c:
7568 * libnm-util/dbus-dict-helpers.h: Remove.
7570 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7572 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7574 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7577 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7579 * configure.in: Remove test/libnm-util/Makefile creation.
7581 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7583 * test/libnm-util/: Remove the whole directory.
7585 2007-10-10 Tambet Ingo <tambet@gmail.com>
7587 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7588 device_state_changed_idle_id variable or it would contain some random value and the
7589 schedule_change_check calls would not do anything.
7591 2007-10-09 Dan Williams <dcbw@redhat.com>
7593 * src/nm-device-802-11-wireless.c
7594 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7595 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7596 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7597 merging of non-SSID-broadcasting APs
7599 2007-10-09 Tambet Ingo <tambet@gmail.com>
7601 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7602 "guint8 *" since it's usually used with GByteArray->data.
7603 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7605 2007-10-09 Tambet Ingo <tambet@gmail.com>
7607 * src/NetworkManagerUtils.c
7608 (nm_utils_is_empty_ssid):
7609 (nm_utils_escape_ssid):
7610 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7611 lot of places, so they belong to libnm-utils instead.
7613 Now with 100% less compiler warnings:
7615 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7616 (nm_dbus_unescape_object_path): Ditto.
7617 (nm_utils_ssid_to_utf8): Ditto.
7618 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7619 (nm_utils_escape_ssid): Ditto.
7620 (nm_utils_same_ssid): Ditto.
7622 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7623 (add_one_connection_element): Remove an unused variable.
7624 (impl_manager_get_active_connections): Ditto.
7626 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7629 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7630 from the previous commit.
7632 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7633 (real_act_stage1_prepare): Ditto.
7634 (activation_success_handler): Ditto.
7635 (get_property): Ditto.
7637 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7640 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7643 * src/supplicant-manager/nm-supplicant-config.c
7644 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7645 to expected "char *".
7646 (nm_supplicant_config_add_setting_wireless): Ditto.
7647 (nm_supplicant_config_remove_option): Remove, not used.
7649 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7651 (test_wireless_enabled): Ifdef out unused function.
7652 (device_deactivate): Ditto.
7653 (device_state_changed): Ditto.
7654 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7655 (nm_utils_escape_ssid): Ditto.
7657 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7658 (nm_utils_is_empty_ssid): Ditto.
7660 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7663 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7664 (setting_vpn_properties_update_secrets): Ditto.
7665 (int_to_gvalue): Ifdef out for now, not used.
7666 (byte_to_gvalue): Ditto.
7668 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
7671 2007-10-08 Tambet Ingo <tambet@gmail.com>
7673 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7674 about dbus manager, not named manager.
7675 Make sure hal_manager and dbus_mgr are created before trying to unreference.
7677 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7678 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7679 However, the same signal is emitted when we destroy it and there's
7680 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7682 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7683 releasing the DBusGConnection, since proxy needs a conneciton.
7684 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7686 2007-10-08 Dan Williams <dcbw@redhat.com>
7688 * src/NetworkManager.c
7689 - (main): error on unknown command-line options
7691 2007-10-08 Dan Williams <dcbw@redhat.com>
7693 Reimplement the invalid connection list. Don't try to re-activate a
7694 connection that just failed or was canceled.
7697 - (connection_secrets_failed_cb): fail device activation, don't just
7698 deactivate the device. Listeners have to know about the failure.
7700 * src/NetworkManagerPolicy.c
7701 - (nm_policy_auto_get_best_device): exclude invalid connections from
7702 the connection list given to a device's get_best_connection()
7704 - (device_state_changed): tag failed connections as invalid; clear the
7705 tag from successful connections
7707 2007-10-08 Dan Williams <dcbw@redhat.com>
7709 Fix problems with interrupted activation. Previously, choosing an AP
7710 from the menu, then choosing another one before the first connection was
7711 successful wouldn't deactivate the device before starting the new connection
7712 on that same device.
7714 * src/NetworkManagerPolicy.c
7715 - (deactivate_old_device, device_state_changed, state_changed,
7716 nm_policy_new): wrong place to deactivate old devices
7719 - (pending_connection_info_destroy, finalize,
7720 wait_for_connection_expired): decouple destruction of the pending
7721 connection info from the manager device
7722 - (connection_added_default_handler): deactivate any active or
7723 activating device before starting a new activation
7724 - (impl_manager_activate_device): deactivate any active or activating
7725 device before starting a new activation; be sure not to leak
7726 pending connection info if a new activation request arrives but
7727 there's already a pending one in-process
7729 2007-10-08 Dan Williams <dcbw@redhat.com>
7731 * src/NetworkManagerAP.h
7732 src/NetworkManagerAP.c
7733 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
7734 should handle default SSIDs and whether or not to autoconnect
7737 2007-10-08 Dan Williams <dcbw@redhat.com>
7739 * src/NetworkManagerPolicy.c
7740 - (nm_policy_device_change_check): print out connection name where
7743 2007-10-08 Dan Williams <dcbw@redhat.com>
7745 * src/nm-device-802-11-wireless.c
7746 src/nm-device-802-11-wireless.h
7747 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7748 'hidden-ap-found' signal (for internal use only) that allows the
7749 NMManager to fill in the AP's SSID if a connection has that AP's
7750 BSSID in its seen-bssids list
7753 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7754 wireless device's hidden-ap-found signal and fill in the APs SSID
7757 2007-10-07 Dan Williams <dcbw@redhat.com>
7761 - Add a 'connections-added' signal to batch together updates of large
7762 numbers of connections, like when reading from a settings service
7763 the first time. Otherwise, the policy would just activate the first
7764 suitable connection it saw rather than waiting for the full list
7766 - (nm_manager_class_init): register new signal
7767 - (get_type_for_proxy, connection_get_settings_cb,
7768 get_connection_for_proxy): centralize places where a proxy's setting
7769 service is determined
7770 - (free_get_settings_info): if the call being freed is the last call
7771 in a pending call group, fire off the connections-added signal
7772 - (internal_new_connection_cb): add call to a pending call group if
7774 - (list_connections_cb): always create a call group here, because this
7775 call results in a batch of new connections
7776 - (initial_get_connections): start getting system connections first
7777 - (nm_manager_connections_destroy, emit_removed): actually emit the
7778 removed signal when destroying connections
7780 * src/NetworkManagerPolicy.c
7781 - (nm_policy_new, connections_added): handle connections-added signal
7784 2007-10-06 Dan Williams <dcbw@redhat.com>
7786 * src/nm-device-802-11-wireless.c
7787 - (constructor): fix leaked socket
7789 2007-10-06 Dan Williams <dcbw@redhat.com>
7791 * src/NetworkManagerPolicy.c
7792 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
7793 connection in the list returned by nm_manager_get_connections() is
7794 reffed, but they weren't getting unreffed before returning
7796 2007-10-06 Dan Williams <dcbw@redhat.com>
7799 - (connections_to_slist): sort connections first on autoconnect, then
7802 2007-10-06 Dan Williams <dcbw@redhat.com>
7804 * libnm-util/nm-connection.c
7805 - (gvalue_to_string): handle UINT64
7807 2007-10-06 Dan Williams <dcbw@redhat.com>
7809 * src/NetworkManagerPolicy.c
7810 - (connection_updated, nm_policy_new): recheck state when a connection
7813 2007-10-06 Dan Williams <dcbw@redhat.com>
7817 - (nm_manager_get_connection_dbus_path): make static
7818 - (nm_manager_update_connections): remove; unused
7819 - Add a connection-updated signal
7820 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7821 handle connection object updates
7823 2007-10-06 Dan Williams <dcbw@redhat.com>
7825 * src/NetworkManagerPolicy.c
7826 - (connection_removed): deactivate removed connections
7828 2007-10-06 Dan Williams <dcbw@redhat.com>
7830 * libnm-util/nm-connection.c
7831 libnm-util/nm-connection.h
7832 - (nm_connection_replace_settings): new function
7834 2007-10-06 Dan Williams <dcbw@redhat.com>
7836 * libnm-glib/nm-device-802-11-wireless.c
7837 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7838 on error when getting the active access point over D-Bus from NM
7840 2007-10-05 Dan Williams <dcbw@redhat.com>
7842 * libnm-util/nm-setting.c
7843 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7844 to the NMSettingWireless table; it's now a string array not an array
7847 2007-10-05 Dan Williams <dcbw@redhat.com>
7849 * libnm-glib/nm-device-802-11-wireless.c
7850 - Cache properties and update cached properties on D-Bus signals from NM
7852 2007-10-05 Dan Williams <dcbw@redhat.com>
7854 * src/nm-device-802-11-wireless.c
7855 - (set_current_ap): consolidate current_ap handling code into one place
7856 to ensure that PropertiesChanged signals are emitted in all cases
7857 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7858 nm_device_802_11_wireless_dispose): use set_current_ap()
7860 2007-10-05 Dan Williams <dcbw@redhat.com>
7862 * libnm-glib/nm-access-point.c
7863 libnm-glib/nm-access-point.h
7864 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7865 because the value is cached internally now. Callers should not
7866 free the internal value.
7867 - Make signal name defines private
7870 libnm-glib/libnm-glib-test.c
7871 - Don't free value returned from nm_access_point_get_hw_address()
7873 2007-10-04 Dan Williams <dcbw@redhat.com>
7875 * introspection/nm-device-802-11-wireless.xml
7876 src/nm-device-802-11-wireless.h
7877 src/nm-device-802-11-wireless.c
7878 - Add a PropertiesChanged signal for wireless device
7879 - Store currently associated access point
7880 - (periodic_update): generalize; update rate here too and emit the
7881 correct PropertiesChanged signal when stuff changes
7882 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7883 real_activation_cancel_handler): clear current_ap when device is
7885 - (link_to_specific_ap, get_ap_blacklisted,
7886 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7888 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7890 - (real_set_hw_address): emit property changed signal if the card's
7892 - (real_act_stage1_prepare): set the initial current_ap to the AP
7893 the card is supposed to be connecting to
7894 - (activation_success_handler): send out property updates on successful
7896 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7897 for ACTIVE_ACCESS_POINT property because sometimes there won't be
7898 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7899 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7900 is now boxed; add PropertiesChanged signal
7902 2007-10-04 Dan Williams <dcbw@redhat.com>
7904 * libnm-util/nm-connection.c
7905 libnm-util/nm-connection.h
7906 - (nm_connection_verify): new function
7908 2007-10-04 Dan Williams <dcbw@redhat.com>
7910 * libnm-util/nm-setting.c
7911 - (nm_settings_verify): use #defines when possible rather than strings
7912 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7913 - (setting_vpn_verify): tighter validity check on 'service_type'
7915 2007-10-04 Dan Williams <dcbw@redhat.com>
7917 * libnm-glib/nm-settings.c
7918 - (nm_connection_settings_class_init): provide correct type for argument
7919 to the Updated signal so that dbus-glib knows how to marshal it
7921 2007-10-03 Dan Williams <dcbw@redhat.com>
7923 * src/nm-device-802-3-ethernet.c
7924 - (real_get_best_connection): don't create automatic connections
7925 internally; clients should provide a setting that applies to
7926 the device with 'autoconnect: True'. Problem was that these
7927 internally auto-created connections don't have a proxy or service
7928 name becuase they weren't created by a settings daemon, and therefore
7929 clients have no idea what to do with them.
7931 2007-10-03 Dan Williams <dcbw@redhat.com>
7933 * src/nm-device-802-11-wireless.c
7934 src/nm-device-802-11-wireless.h
7935 introspection/nm-device-802-11-wireless.xml
7936 - GetActiveNetworks -> GetAccessPoints
7937 - ActiveNetwork -> ActiveAccessPoint
7938 - NetworkAdded -> AccessPointAdded
7939 - NetowrkRemoved -> AccessPointRemoved
7941 * libnm-glib/nm-device-802-11-wireless.c
7942 libnm-glib/nm-device-802-11-wireless.h
7943 - network-added signal -> access-point-added
7944 - network-removed signal -> access-point-removed
7945 - nm_device_802_11_wireless_get_active_network() ->
7946 nm_device_802_11_wireless_get_active_access_point()
7947 - nm_device_802_11_wireless_get_network_by_path() ->
7948 nm_device_802_11_wireless_get_access_point_by_path()
7949 - nm_device_802_11_wireless_get_networks() ->
7950 nm_device_802_11_wireless_get_access_points()
7952 * libnm-glib/libnm-glib-test.c
7954 src/NetworkManagerPolicy.c
7955 - Fixups for Network -> AccessPoint
7957 2007-10-03 Dan Williams <dcbw@redhat.com>
7959 Add a GetActiveConnections() method on the Manager object.
7963 introspection/nm-manager.xml
7964 - (connection_get_settings_cb): keep connection type around too
7965 - (impl_manager_get_active_connections, add_one_connection_element):
7966 implement; returns all active connections and what devices they
7969 * libnm-glib/nm-client.c
7970 libnm-glib/nm-client.h
7971 introspection/nm-manager-client.xml
7972 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7973 by the caller; free here to avoid memory leak
7974 - (nm_client_get_active_connections): implement; return the list of
7976 - (nm_client_free_active_connection_element): implement; free an element
7977 of the GSList returned by nm_client_get_active_connections()
7979 2007-10-03 Dan Williams <dcbw@redhat.com>
7981 * src/nm-device-802-11-wireless.c
7982 - (nm_device_802_11_wireless_update_bssid): remove
7983 - (get_active_ap): new function; find the AP in the scan list which
7984 matches the current BSSID and SSID of the wireless device
7985 - (nm_device_802_11_periodic_update): get current AP using
7986 get_active_ap() and print AP roam messages
7988 2007-10-01 Dan Williams <dcbw@redhat.com>
7990 * libnm-util/nm-setting.h
7991 - Add a 'timestamp' option to NMSettingConnection
7994 * libnm-util/nm-setting.c
7995 - (uint64_to_gvalue): new function
7996 - (nm_setting_populate_from_hash, nm_setting_hash,
7997 default_setting_clear_secrets): handle UINT64 type
7998 - con_table: add 'timestamp' member
8000 2007-10-01 Dan Williams <dcbw@redhat.com>
8003 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8004 value when the connection can be activated immediately
8006 2007-10-01 Dan Williams <dcbw@redhat.com>
8008 * libnm-glib/nm-device.c
8009 - (nm_device_class_init): actually tell glib about the carrier-changed
8012 2007-10-01 Dan Williams <dcbw@redhat.com>
8015 src/marshallers/Makefile.am
8016 src/marshallers/nm-marshal.list
8017 src/marshallers/nm-marshal-main.c
8018 - Consolidate glib marshallers into one place
8020 * src/dhcp-manager/Makefile.am
8021 src/dhcp-manager/nm-dhcp-manager.c
8022 src/supplicant-manager/Makefile.am
8023 src/supplicant-manager/nm-supplicant-manager.c
8024 src/supplicant-manager/nm-supplicant-interface.c
8025 src/ppp-manager/Makefile.am
8026 src/ppp-manager/nm-ppp-manager.c
8027 src/vpn-manager/Makefile.am
8028 src/vpn-manager/nm-vpn-connection.c
8030 - Use consolidated marshallers
8032 * src/dhcp-manager/nm-dhcp-marshal.list
8033 src/dhcp-manager/nm-dhcp-marshal-main.c
8034 src/supplicant-manager/nm-supplicant-marshal-main.c
8035 src/supplicant-manager/nm-supplicant-marshal.list
8036 src/nm-marshal-main.c
8038 src/ppp-manager/nm-ppp-marshal-main.c
8039 src/ppp-manager/nm-ppp-marshal.list
8040 src/vpn-manager/nm-vpn-marshal-main.c
8041 src/vpn-manager/nm-vpn-marshal.list
8044 2007-10-01 Dan Williams <dcbw@redhat.com>
8046 * include/NetworkManagerVPN.h
8047 - define VPN connection state change reason codes
8049 * src/vpn-manager/Makefile.am
8050 src/vpn-manager/nm-vpn-marshal.list
8051 src/vpn-manager/nm-vpn-marshal-main.c
8052 - Add marshallers for StateChanged signal
8054 * introspection/nm-vpn-connection.xml
8055 - New Banner property
8056 - StateChanged signal now includes a 'reason' argument
8058 * src/vpn-manager/nm-vpn-connection.c
8059 src/vpn-manager/nm-vpn-connection.h
8060 - Add a "Banner" property that contains the returned VPN server login
8061 banner (if any); valid only in the ACTIVATED state
8062 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8063 a 'reason' argument and emits that reason along with the
8064 state-changed signal
8065 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8066 - (nm_vpn_connection_ip4_config_get): save banner for later
8067 - (nm_vpn_connection_get_banner, get_property,
8068 nm_vpn_connection_class_init): implement Banner property
8070 * src/vpn-manager/nm-vpn-service.c
8071 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8072 connection list because elements may get added/removed from it
8073 while iterating over the list
8074 - (connection_state_changed): signal now includes the 'reason' argument
8076 * libnm-glib/nm-vpn-connection.c
8077 libnm-glib/nm-vpn-connection.h
8078 - (nm_vpn_connection_get_banner): new function
8079 - (state_changed_proxy): handle reason argument
8081 2007-09-28 Tambet Ingo <tambet@gmail.com>
8085 Implement device activation through NMManager.
8086 Implement "pending device activation" here - If the connection isn't found,
8087 we try to wait for up to 5 seconds for the connection to be provided.
8088 Add NMConnectionType argument to "connection-added" and "connection-removed"
8090 (nm_manager_get): Remove. Finally.
8092 * src/nm-activation-request.c:
8093 * src/nm-activation-request.h:
8094 Remove all the deferred activation code.
8096 * src/nm-device.c: Remove all the deferred activation code. Once the device
8097 activation is started, it's started. Update the activation virtual function
8100 * src/nm-device-interface.c:
8101 * src/nm-device-interface.h:
8102 Device activation now takes only NMActRequest argument.
8103 Don't expose device activation directly on dbus, it's supposed to go through
8106 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8108 Use the new device activation methods through NMManager.
8110 * introspection/nm-manager-client.xml:
8111 * introspection/nm-manager.xml:
8112 * libnm-glib/nm-client.c:
8113 * libnm-glib/nm-client.h:
8114 Add device activation method.
8116 * libnm-glib/nm-device.c:
8117 * libnm-glib/nm-device.h:
8118 * introspection/nm-device.xml:
8119 Remove device activation method. It's done through NMManager now.
8121 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8122 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8124 2007-09-28 Dan Williams <dcbw@redhat.com>
8126 * libnm-glib/nm-vpn-connection.c
8127 - (nm_vpn_connection_get_state): try to update state if the current
8130 2007-09-27 Dan Williams <dcbw@redhat.com>
8132 Patch from Bill Nottingham
8134 * src/supplicant-manager/nm-supplicant-config.c
8135 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8136 data to the supplicant
8138 2007-09-27 Dan Williams <dcbw@redhat.com>
8140 * src/NetworkManagerSystem.c
8141 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8142 and all address manipulation here should be happening on the
8143 _VPN_ device, not the active device
8145 2007-09-26 Dan Williams <dcbw@redhat.com>
8149 src/nm-activation-request.c
8150 src/nm-activation-request.h
8151 - Move the GetSecrets stuff out of the NMManager instance because it
8152 doesn't really need to be there and complicates things
8155 - (connection_secrets_failed_cb, device_activation_go): connect to the
8156 connection-secrets-failed signal and deactivate the device if
8157 the GetSecrets call fails
8159 * src/nm-device-802-11-wireless.c
8160 - (link_timeout_cb, supplicant_connection_timeout_cb,
8161 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8162 secrets and give correct hints about whether new secrets should be
8163 asked for by the client or not
8165 2007-09-26 Dan Williams <dcbw@redhat.com>
8167 * src/vpn-manager/nm-vpn-connection.c
8168 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8169 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8170 to the secrets-updated signal of the NMConnection since updating
8171 the secrets is done within the scope of the NMVPNConnection object
8173 - (get_connection_secrets): fix an uninialized variable usage error
8175 2007-09-26 Dan Williams <dcbw@redhat.com>
8177 * libnm-util/nm-setting.c
8178 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8179 actually get updated when the user enters them
8181 2007-09-26 Dan Williams <dcbw@redhat.com>
8183 * libnm-glib/nm-vpn-plugin.c
8184 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8186 2007-09-26 Dan Williams <dcbw@redhat.com>
8188 * include/NetworkManagerVPN.h
8189 - Add a NEED_AUTH state
8191 * src/vpn-manager/nm-vpn-connection.c
8192 - Implement the NEED_AUTH state. First ask the VPN service plugin if
8193 the connection needs secrets, and if so, then ask the settings
8194 service to fill in the secrets. Then start the connection.
8196 2007-09-26 Dan Williams <dcbw@redhat.com>
8198 * src/vpn-manager/nm-vpn-manager.c
8199 - (new_vpn_error, impl_vpn_manager_connect): set errors
8201 2007-09-26 Dan Williams <dcbw@redhat.com>
8203 * introspection/nm-vpn-plugin.xml
8204 libnm-glib/nm-vpn-plugin.c
8205 libnm-glib/nm-vpn-plugin.h
8206 - (impl_vpn_plugin_need_secrets): implement a call that should return
8207 the name of the NMSetting in an NMConnection that may require
8208 secrets specific to that VPN plugin
8210 2007-09-26 Dan Williams <dcbw@redhat.com>
8214 - (nm_manager_get_connection_secrets): make static, unused outside
8216 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8218 2007-09-26 Tambet Ingo <tambet@gmail.com>
8220 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8222 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8223 unreference the connection.
8225 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8226 passing properties hash and routes string list, pass NMConnection (in hashed form).
8228 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8229 as GSList, no need to copy stuff around anymore.
8230 (nm_vpn_connection_activate): Update the plugin activation method.
8232 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8233 routes argument to GSList.
8235 2007-09-26 Tambet Ingo <tambet@gmail.com>
8237 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8238 state and try to get the secrets.
8240 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8241 connections from NMManager and let the device to choose the best from the list.
8242 Since the connection list is sorted by system ones first and user ones later,
8243 the devices still prefer system connections like they did before.
8244 (deactivate_old_device): Implement. When a device starts activation, we have a
8245 policy (for now at least) to deactivate any other device that might be either
8246 active or still activating.
8248 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8249 It's set on construction, there will be no other way to access it.
8251 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8252 device events and drive the device, not the other way around.
8254 * src/nm-device-802-3-ethernet.c: Ditto.
8256 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8257 sent along, pass it on to virtual functions.
8259 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8260 for now, but should really be public instead of nm_device_get_iface() since iface
8261 is a property of the DeviceInterface, not Device.
8262 (impl_device_activate): Don't touch NMManager!
8264 2007-09-26 Jürg Billeter <j@bitron.ch>
8266 * initscript/paldo/NetworkManager.in:
8267 * initscript/paldo/NetworkManagerDispatcher.in:
8268 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8269 (nm_system_flush_loopback_routes): update paldo backend
8271 2007-09-26 Tambet Ingo <tambet@gmail.com>
8273 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8274 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8275 which means none of the devices get brought down properly, which in turn leaves
8276 DHCP client running.
8278 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8279 (supplicant_connection_timeout_cb): Ditto.
8281 2007-09-25 Dan Williams <dcbw@redhat.com>
8284 - (device_activation_go): small hack to work around race when
8285 activating deferred connections; should solve this in a better way
8287 2007-09-25 Dan Williams <dcbw@redhat.com>
8289 * introspection/nm-device.xml
8290 libnm-glib/nm-device.c
8291 libnm-glib/nm-device.h
8292 - Add 'Carrier' property to exported NMDevice objects
8294 * src/nm-device-interface.h
8295 src/nm-device-interface.c
8297 - Add a 'carrier' property to internal NMDevice objects
8299 2007-09-25 Dan Williams <dcbw@redhat.com>
8301 * src/nm-device-802-11-wireless.c
8302 - (ap_auth_enforced): also return the encryption status of the AP so
8303 that callers can differentiate easily between unencrypted APs
8304 and encrypted ones, in addition to whether the AP has an
8306 - (link_timeout_cb, supplicant_connection_timeout_cb,
8307 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8308 previously would request secrets from unencrypted APs at times
8310 2007-09-25 Dan Williams <dcbw@redhat.com>
8313 - (nm_manager_update_state): new function; updates state and emits
8314 appropriate signals ensuring a state-change signal for the same state
8315 never gets emitted twice in a row.
8316 - (manager_device_state_changed): handle more device state to get a
8317 better picture of the overall NM state
8319 2007-09-25 Dan Williams <dcbw@redhat.com>
8321 * libnm-glib/nm-settings.c
8322 libnm-glib/nm-settings.h
8323 - (new_error -> nm_settings_new_error): make public so that subclasses
8324 can use the same error domain. Also pass a valid error code to
8325 g_error_new_literal() so that libdbus doesn't assert when converting
8326 the GError into a DBusError
8327 - (impl_settings_list_connections, impl_connection_settings_get_id,
8328 impl_connection_settings_get_settings,
8329 impl_connection_settings_get_secrets): use new error creator
8332 2007-09-25 Dan Williams <dcbw@redhat.com>
8334 * src/NetworkManager.c
8335 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8337 2007-09-25 Dan Williams <dcbw@redhat.com>
8339 * src/supplicant-manager/nm-supplicant-manager.c
8340 - (poke_supplicant_cb, nm_supplicant_manager_init,
8341 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8342 nm_supplicant_manager_startup): when the supplicant isn't running,
8343 try to start it periodically via system bus activation. Fixes
8344 a problem where if wpa_supplicant goes away, NM gets stuck waiting
8345 for the supplicant to come back
8347 2007-09-25 Dan Williams <dcbw@redhat.com>
8349 Ensure that old activation requests are forgotten about; previously
8350 hitting Cancel in the password dialog would deactivate whatever device
8351 that password was requested for, even if that wasn't the currently
8352 activating connection.
8356 - (nm_manager_get_connection_secrets): track the pending call
8357 object so it can be canceled later if needed
8358 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8359 GetSecrets call for a particular connection
8361 * src/nm-activation-request.c
8362 - (dispose): cancel any outstanding GetSecrets calls on the
8365 2007-09-25 Dan Williams <dcbw@redhat.com>
8367 * src/NetworkManagerPolicy.c
8368 - (nm_policy_device_change_check): handle devices that have a
8369 deferred activation. These devices are not really active _yet_,
8370 but need to be treated as such here. Don't interrupt them
8373 * src/nm-device-interface.c
8374 - (impl_device_activate): handle devices that have a deferred activation
8375 like activating or active devices. When multiple active devices
8376 get committed, the device shouldn't be deactivated until the
8377 connection details are available to avoid DoS and such. Currently,
8378 any active, activating, or deferred activation device is deactivated
8379 here before starting the new activation request.
8381 2007-09-25 Dan Williams <dcbw@redhat.com>
8383 Properly re-query secrets from the settings daemon when stuff fails.
8385 * src/nm-device-802-11-wireless.c
8386 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8387 between Shared Key and Open System auth modes
8388 - (link_timeout_cb, supplicant_connection_timeout_cb,
8389 real_act_stage4_ip_config_timeout): clear existing secrets and
8390 request new ones when something fails due to a suspected wrong key
8391 - (real_act_stage2_config): fix for new request_new argument to
8392 nm_manager_get_connection_secrets()
8396 - (nm_manager_get_connection_secrets): return error status; pass
8397 new request_new argument on to the settings daemon
8399 * introspection/nm-settings-connection.xml
8400 - New 'request_new' argument to the GetSecrets call that hints to the
8401 settings daemon to ask the user for completely new secrets
8403 * libnm-glib/nm-settings.c
8404 libnm-glib/nm-settings.h
8405 - (impl_connection_settings_get_secrets): handle new 'request_new'
8408 2007-09-25 Dan Williams <dcbw@redhat.com>
8410 * libnm-util/nm-connection.c
8411 libnm-util/nm-connection.h
8412 - (nm_connection_clear_secrets): new function; clear secrets out of
8413 each NMSetting in an NMConnection
8415 * libnm-util/nm-setting.h
8416 libnm-util/nm-setting.c
8417 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
8418 secrets out of an NMSetting
8419 - (nm_setting_connection_new, nm_setting_ip4_config_new,
8420 nm_setting_wired_new, nm_setting_wireless_new,
8421 nm_setting_wireless_security_new, nm_setting_ppp_new,
8422 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8423 to default handler default_setting_clear_secrets()
8425 2007-09-25 Dan Williams <dcbw@redhat.com>
8427 * src/nm-activation-request.c
8428 src/nm-activation-request.h
8429 - (nm_act_request_is_deferred): new function
8431 2007-09-24 Dan Williams <dcbw@redhat.com>
8433 * src/nm-device-802-11-wireless.c
8434 - (activation_success_handler): update signal strength immediately
8437 2007-09-24 Dan Williams <dcbw@redhat.com>
8439 * libnm-util/nm-setting.c
8440 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8442 2007-09-24 Dan Williams <dcbw@redhat.com>
8444 * src/NetworkManagerPolicy.c
8445 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8446 device by deactivating it because it doesn't have a "best connection".
8447 Since autoconnect=False connections aren't automatically chosen,
8448 NM would interrupt activation of such a connection because it
8449 would never be "best" due to autoconnect=False.
8451 2007-09-24 Dan Williams <dcbw@redhat.com>
8454 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8455 actually has some time to enter a key before the GetSecrets call
8458 2007-09-24 Dan Williams <dcbw@redhat.com>
8460 * introspection/nm-manager.xml
8462 - (impl_manager_legacy_state): fix 'state' method call return value
8464 2007-09-24 Matthias Clasen <mclasen@redhat.com>
8466 * test/Makefile.am: Install nm-tool
8468 2007-09-24 Dan Williams <dcbw@redhat.com>
8470 Patch from Ross Burton <ross@burtonini.com>
8473 callouts/nm-dhcp-client-action.c
8475 src/vpn-manager/nm-vpn-connection.c
8476 libnm-glib/libnm-glib-test.c
8479 2007-09-24 Dan Williams <dcbw@redhat.com>
8481 * libnm-util/nm-utils.h
8482 libnm-util/nm-utils.c
8483 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8486 2007-09-23 Dan Williams <dcbw@redhat.com>
8488 * vpn-daemons/vpnc/properties/nm-vpnc.c
8489 - Update for new VPN properties API bits; instead of passing around
8490 a lot of random things, everything goes into the NMConnection
8493 2007-09-23 Dan Williams <dcbw@redhat.com>
8495 * libnm-util/nm-setting.c
8496 - Correctly dispose of settings objects if creating them from a hash
8499 2007-09-23 Dan Williams <dcbw@redhat.com>
8501 * libnm-util/nm-setting.c
8502 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8503 the hash table in a standard manner. Clients of libnm-util should
8504 only call g_hash_table_remove_all(), never destroy the hash table
8507 2007-09-22 Dan Williams <dcbw@redhat.com>
8509 * src/nm-device-802-11-wireless.c
8510 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8511 real reason to do it so often, and reduces wakeups for clients.
8513 2007-09-21 Dan Williams <dcbw@redhat.com>
8515 * src/nm-device-802-11-wireless.c
8516 - (build_supplicant_config): wpa_supplicant requires the option
8517 key_mgmt=NONE for unencrypted networks
8518 - (real_act_stage2_config): clarify log message on activation
8520 2007-09-21 Dan Williams <dcbw@redhat.com>
8522 * test/nm-supplicant-test.c
8524 - Remove supplicant test binary; no longer applicable
8526 2007-09-21 Dan Williams <dcbw@redhat.com>
8528 * src/supplicant-manager/nm-supplicant-manager.c
8529 - (nm_supplicant_manager_init): poke the supplicant at startup to
8530 activate it on the system bus
8532 2007-09-20 Dan Williams <dcbw@redhat.com>
8534 * initscript/RedHat/NetworkManager.in
8535 - dhcdbd is no longer used, so don't try to start it from the initscripts
8537 2007-09-20 Dan Williams <dcbw@redhat.com>
8540 - (nm_device_is_activating): work around a race between auto-activation
8541 and the user activating the same device that is being auto-activated
8543 2007-09-20 Dan Williams <dcbw@redhat.com>
8545 * src/nm-device-interface.c
8546 - (impl_device_activate): until multiple active device support lands,
8547 ensure only one device can be active at a time
8549 2007-09-20 Dan Williams <dcbw@redhat.com>
8551 * src/supplicant-manager/nm-supplicant-config.c
8552 src/supplicant-manager/nm-supplicant-config.h
8553 - (nm_supplicant_config_add_option): hide secrets from system logs
8555 2007-09-20 Dan Williams <dcbw@redhat.com>
8557 * src/NetworkManagerPolicy.c
8558 - (nm_policy_device_change_check): re-enable the wireless device change
8559 checking code; insted of checking for SSIDs, check for the same
8562 2007-09-20 Dan Williams <dcbw@redhat.com>
8564 * src/nm-device-802-11-wireless.c
8565 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8566 composite link state when determining when to start the disconnection
8567 timer; that link state is already based on the supplicant interface's
8568 status which is exactly what's already being examined, plus the link
8569 state is a conglomeration of various things that we don't want here
8571 2007-09-20 Dan Williams <dcbw@redhat.com>
8573 * libnm-glib/nm-access-point.c
8574 - (handle_property_changed): strength is a UCHAR
8576 2007-09-20 Dan Williams <dcbw@redhat.com>
8578 * src/supplicant-manager/nm-supplicant-config.c
8579 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8580 string list keywords too since that's what wpa_supplicant wants
8582 2007-09-20 Dan Williams <dcbw@redhat.com>
8584 * libnm-util/nm-setting.c
8585 - (convert_strv_to_slist): dupe the values in the list because since
8586 the list is a boxed value, it'll get destroyed when it's container
8587 (like a hash table or whatever) gets destroyed
8589 2007-09-20 Tambet Ingo <tambet@gmail.com>
8591 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8594 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8596 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8597 just use (g_object_set_data_full).
8599 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8600 that NMSettingVPN->routes is a GSList, convert it to char **.
8601 (nm_vpn_connection_ip4_config_get): Free routes when done.
8602 (nm_vpn_connection_activate): Ditto.
8604 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8605 (real_act_stage2_config): Use defined setting names.
8607 2007-09-20 Dan Williams <dcbw@redhat.com>
8609 * src/nm-device-802-11-wireless.c
8612 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8613 so that the device can be deactivated if secrets are wrong
8615 2007-09-20 Dan Williams <dcbw@redhat.com>
8617 * introspection/nm-settings-connection.xml
8618 libnm-glib/nm-settings.c
8619 libnm-glib/nm-settings.h
8620 - Make GetSecrets asynchronous on the server side
8622 2007-09-20 Dan Williams <dcbw@redhat.com>
8626 - (nm_device_activate): actually check if a given connection
8627 exists before assuming it doesn't
8629 2007-09-20 Tambet Ingo <tambet@gmail.com>
8631 * libnm-util/nm-connection.c (register_default_creators): Use defined
8632 setting names. Register NMSettingVPN and NMSettingVPNProperties.
8634 * libnm-util/nm-setting.c: Define property name strings, use them.
8635 Implement NMSettingVPN and NMSettingVPNProperties settings.
8636 Implement NM_S_TYPE_GVALUE_HASH.
8637 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8638 (setting_connection_verify): Rename 'devtype' property to 'type'.
8640 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8643 * src/vpn-manager/nm-vpn-service.c: Ditto.
8645 * src/vpn-manager/nm-vpn-connection.c: Ditto.
8647 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8648 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8650 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8651 names. NMSettingConnection->devtype got renamed to 'type'.
8653 * src/nm-device-802-3-ethernet.c (find_best_connection):
8654 (real_get_best_connection): Ditto.
8656 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8658 * libnm-glib/nm-vpn-manager.[ch]: Update.
8660 2007-09-19 Dan Williams <dcbw@redhat.com>
8662 * src/NetworkManagerAP.c
8663 src/NetworkManagerAP.h
8664 introspection/nm-access-point.xml
8665 - Change strength-changed signal into a properties-changed signal
8666 for all properties, not just strength. Export that signal over dbus
8667 so listeners don't have to poll NM for changes.
8668 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8669 get exported over D-Bus, so break up the logic and let other bits
8670 decided when to export the AP
8671 - (nm_ap_new_from_ap): remove, unused
8673 * src/nm-device-802-11-wireless.c
8674 - (merge_scanned_ap): only export APs that are actually on the device
8675 list, not every AP created internally
8677 * libnm-glib/nm-access-point.c
8678 libnm-glib/nm-access-point.h
8679 - Cache properties internally and only hit DBus when needed. Get
8680 property updates from NM signals
8682 2007-09-16 Dan Williams <dcbw@redhat.com>
8684 * libnm-util/nm-connection.c
8685 libnm-util/nm-connection.h
8686 - (nm_connection_for_each_setting_value): new function; iterate over
8687 each setting's value and call a user-provided function with details
8690 * libnm-util/nm-setting.c
8691 libnm-util/nm-setting.h
8692 - (nm_setting_enumerate_values): new function; enumerate the values
8693 of a specific NMSetting subclass for a user-provided function with
8694 details about that value
8695 - Change wep_tx_keyidx to a uint32
8696 - Create settings value tables for each setting defining their type,
8697 key name, offset into the NMSetting subclass' structure, and whether
8698 they are required and/or a secret
8699 - (nm_setting_populate_from_hash): generic function to populate an
8700 NMSetting from a GHash table, make all settings use it
8701 - (nm_setting_hash): generic function to derive a GHashTable from
8702 an NMSetting object, make all settings use it
8704 2007-09-14 Dan Williams <dcbw@redhat.com>
8706 Remove unused stuff in libnm-util
8709 libnm-util/Makefile.am
8710 libnm-util/cipher-private.h
8711 libnm-util/cipher-wep-ascii.c
8712 libnm-util/cipher-wep-ascii.h
8713 libnm-util/cipher-wep-hex.c
8714 libnm-util/cipher-wep-hex.h
8715 libnm-util/cipher-wep-passphrase.c
8716 libnm-util/cipher-wep-passphrase.h
8717 libnm-util/cipher-wpa-psk-hex.c
8718 libnm-util/cipher-wpa-psk-hex.h
8719 libnm-util/cipher-wpa-psk-passphrase.c
8720 libnm-util/cipher-wpa-psk-passphrase.h
8723 libnm-util/dbus-helpers.c
8724 libnm-util/dbus-helpers.h
8725 libnm-util/gnome-keyring-md5.c
8726 libnm-util/gnome-keyring-md5.h
8729 src/nm-device-802-11-wireless.c
8730 test/libnm-util/Makefile.am
8731 test/libnm-util/test-ciphers.c
8732 test/libnm-util/test-dbus-helpers.c
8733 test/libnm-util/test-inputs.h
8736 2007-09-14 Dan Williams <dcbw@redhat.com>
8738 * libnm-util/dbus-method-dispatcher.c
8739 libnm-util/dbus-method-dispatcher.h
8742 2007-09-14 Dan Williams <dcbw@redhat.com>
8744 Implement deferred activation support in the device class.
8746 * src/nm-device-interface.c
8747 src/nm-device-interface.h
8748 - (nm_device_interface_activate): take more arguments to support
8749 deferred activation; callers must pass one of (connection) OR
8750 (service_name, connection_path)
8751 - (impl_device_activate): connection validation is punted to the device
8752 to be able to handle deferred activation. Yes, this means errors
8753 don't get returned from the Activate() dbus call, and yes, that
8754 should be fixed somehow later.
8758 - (clear_act_request): clear additional deferred activation stuff too
8759 - (deferred_activation_timeout_cb): new function; clean up when
8760 deferred activation times out.
8761 - (deferred_activation_start_cb): new function; when the connection
8762 finally becomes available, start device activation
8763 - (nm_device_activate): attach to the right signals of the activation
8764 request if we need to defer activation until the connection is valid
8766 * src/NetworkManagerPolicy.c
8767 - (nm_policy_device_change_check): update for additional arguments
8768 required for nm_device_interface_activate(). Pass NULL for these
8769 though because this function already knows exactly which
8772 2007-09-14 Dan Williams <dcbw@redhat.com>
8774 Implement deferred activation handling in the NMActRequest class. When a
8775 client wants to activate a device but must create the NMConnection details
8776 on the fly, there likely hasn't been enough time yet for NM to receive the
8777 new connection signal and grab all the connection details. So the
8778 activation is deferred (and bounded by a timer) for a while, and if the
8779 connection appears within the window, it is activated.
8781 * src/nm-activation-request.c
8782 src/nm-activation-request.h
8783 - (nm_act_request_class_init): two new signals to support deferred
8784 activation, to allow the listener to handle both timeout and success
8785 - (nm_act_request_new_deferred): new function, starts the deferred
8786 activation timeout handler and listens to the NMManager for
8787 new-connection signals to notice when the connection comes in
8789 2007-09-14 Dan Williams <dcbw@redhat.com>
8793 - (nm_manager_get_connection_service_name,
8794 nm_manager_get_connection_dbus_path): get details about a connection
8795 known internally by the NMManager
8796 - (nm_manager_class_init): fix connection add/remove signal marshalers
8797 because NMConnection is now a GObject subclass
8798 - Use constant for the gobject data tag used on NMConnection objects for
8799 storing the associated DBusGProxy
8801 2007-09-14 Dan Williams <dcbw@redhat.com>
8806 src/supplicant-manager/Makefile.am
8807 src/dhcp-manager/Makefile.am
8808 src/backends/Makefile.am
8809 src/named-manager/Makefile.am
8810 src/ppp-manager/Makefile.am
8811 src/vpn-manager/Makefile.am
8812 test/libnm-util/Makefile.am
8813 test/test-common/Makefile.am
8814 - Remove utils/; it was unused
8816 2007-09-13 Dan Williams <dcbw@redhat.com>
8818 * libnm-glib/nm-vpn-manager.h
8819 libnm-glib/nm-vpn-manager.c
8820 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8822 2007-09-13 Dan Williams <dcbw@redhat.com>
8824 * src/nm-device-802-3-ethernet.c
8825 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8826 netlink monitor carrier signals on dispose, not bring down. The
8827 carrier signals should be handled over the entire lifetime of the
8828 device anyway, not created/destroyed on up or down.
8830 2007-09-13 Dan Williams <dcbw@redhat.com>
8832 * libnm-glib/nm-device.c
8833 libnm-glib/nm-device.h
8834 - (nm_device_activate): take a connection object path rather than an
8835 NMConnection because NMConnection isn't exported over D-Bus and
8836 therefore it dbus-glib can't automatically get an object path from it
8838 2007-09-13 Dan Williams <dcbw@redhat.com>
8840 * libnm-util/nm-setting.c
8841 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8843 2007-09-13 Tambet Ingo <tambet@gmail.com>
8845 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8847 2007-09-12 Tambet Ingo <tambet@gmail.com>
8849 * src/vpn-manager/nm-vpn-connection.[ch]:
8850 * src/vpn-manager/nm-vpn-manager.[ch]:
8851 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
8852 dbus-glib, GObjects, signals etc.
8854 * libnm-glib/nm-vpn-manager.[ch]:
8855 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8856 so much, rewrite these too.
8858 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8859 the new introspection files.
8861 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8863 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8864 the header with the same name from libnm-utils.
8866 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8868 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8870 * introspection/nm-vpn-plugin.xml: Implement.
8872 * introspection/nm-vpn-connection.xml: Implement.
8874 * introspection/nm-vpn-manager.xml: Implement.
8876 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8877 the named manager argument, it can just as easily get it as the caller.
8878 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8880 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8882 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8884 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8887 * libnm-util/nm-connection.c: Ditto.
8889 * src/NetworkManagerMain.h: Remove, it's finally empty.
8891 * configure.in: Remove utils/ from build.
8893 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8894 of hard-coded strings.
8896 * utils/: Move it over to libnm-util.
8898 * test/Makefile.am: Link against libnm-util now that util/ is gone.
8900 * dispatcher-daemon/Makefile.am: Ditto.
8902 * src/Makefile.am: Ditto.
8904 2007-09-12 Dan Williams <dcbw@redhat.com>
8906 Wireless connections can be made with config data from the applet now.
8910 * src/supplicant-manager/nm-supplicant-config.h
8911 src/supplicant-manager/nm-supplicant-config.c
8912 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8913 - (nm_supplicant_config_add_setting_wireless,
8914 nm_supplicant_config_add_setting_wireless_security): new functions;
8915 add key/value pairs from the settings objects to the supplicant
8918 * src/nm-device-802-11-wireless.c
8919 - (cull_scan_list): fix check to not prune currently associated AP
8920 - (build_supplicant_config, real_act_stage2_config): call the functions
8921 of the NMSupplicantConfig that parse settings objects rather than
8922 doing it manually here
8924 2007-09-12 Dan Williams <dcbw@redhat.com>
8926 * src/supplicant-manager/nm-supplicant-interface.c
8927 src/supplicant-manager/nm-supplicant-marshal.list
8928 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8929 "connection-error" signal arguments should be STRING not CHAR
8931 2007-09-12 Dan Williams <dcbw@redhat.com>
8933 * src/NetworkManagerUtils.c
8934 src/NetworkManagerUtils.h
8935 - (nm_utils_hexstr2bin): new function
8937 2007-09-11 Dan Williams <dcbw@redhat.com>
8940 - (connection_get_settings_cb): emit connection-added signal
8941 - (connection_removed_cb): uncomment bits for system settings service,
8942 send connection-removed when appropriate
8943 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8944 the stack by trying to g_object_set_data() on something that's
8945 not a GObject; handle case where settings service returns
8946 empty settings hash table
8948 2007-09-11 Dan Williams <dcbw@redhat.com>
8950 * src/NetworkManagerPolicy.c
8951 - (connection_added, connection_removed): trigger device change checks
8952 on connection changes
8954 2007-09-11 Dan Williams <dcbw@redhat.com>
8956 * src/nm-activation-request.c
8957 - (connection_secrets_updated_cb): fix c&p error in signal emission
8959 2007-09-11 Dan Williams <dcbw@redhat.com>
8961 * src/nm-device-802-11-wireless.c
8962 - (real_connection_secrets_updated): fix erroneous check
8964 2007-09-11 Dan Williams <dcbw@redhat.com>
8966 * introspection/nm-device.xml
8967 libnm-glib/nm-device.c
8968 libnm-glib/nm-device.c
8969 - Fix Activate call argument borkage; Activate takes 3 arguments
8971 2007-09-11 Dan Williams <dcbw@redhat.com>
8973 * libnm-glib/nm-access-point.c
8974 libnm-glib/nm-access-point.c
8975 - (nm_access_point_get_frequency): now returns guint32 to match
8976 property change on 2007-09-10
8978 2007-09-11 Dan Williams <dcbw@redhat.com>
8980 * src/nm-device-802-11-wireless.c
8981 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8982 somewhere defines 'index' and I missed this one when I fixed the
8983 shadow declaration errors earlier
8985 2007-09-11 Dan Williams <dcbw@redhat.com>
8987 * libnm-util/nm-connection.c
8988 - (nm_connection_update_secrets, need_secrets_check): move
8989 802-11-wireless-security need_secrets checks to the setting object
8990 itself, where it belongs
8992 * libnm-util/nm-setting.c
8993 libnm-util/nm-setting.h
8994 - (nm_setting_need_secrets): new function
8995 - (setting_wireless_security_verify,
8996 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8997 - (setting_wireless_security_need_secrets): mostly copy code over
8998 from nm-connection.c
9000 2007-09-11 Dan Williams <dcbw@redhat.com>
9002 * libnm-util/nm-setting.c
9003 libnm-util/nm-setting.h
9004 - (nm_setting_update_secrets): new function; add a virtual function that
9005 subclasses can implement to update their secrets
9006 - (setting_wireless_security_update_secrets): implement that function
9007 for the 802-11-wireless-security subclass
9009 * libnm-util/nm-connection.c
9010 libnm-util/nm-connection.h
9011 - (nm_connection_update_secrets): update secrets for a Setting and
9012 emit a signal on success
9017 - (connection_get_settings_cb): enable system settings bits
9018 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9019 to request secrets from the settings dbus service and to
9020 push those secrets to the NMConnection itself
9022 * src/nm-activation-request.c
9023 src/nm-activation-request.h
9024 - Attach to the 'secrets-updated' signal of the NMConnection that's
9025 currently being activated, and proxy that signal to other listeners.
9026 Goes through the activation request because the activation request
9027 is the thing that manages the lifetime of the NMConnection that's
9030 * src/nm-device-802-11-wireless.c
9031 - (real_connection_secrets_updated): implement the connection secrets
9032 updated notification and restart activation when secrets are
9034 - (real_act_stage2_config): request secrets from the settings dbus
9035 service if secrets are needed
9039 - (clear_act_request, nm_device_activation_cancel,
9040 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9041 where the activation request is cleared
9042 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9043 updated secrets signal of activation request and add a function
9044 that subclasses can override to handle it easily
9046 2007-09-11 Tambet Ingo <tambet@gmail.com>
9048 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9049 removal of NetworkManagerAPList.
9051 2007-09-10 Dan Williams <dcbw@redhat.com>
9053 * src/NetworkManagerAP.c
9054 src/NetworkManagerAP.h
9055 introspection/nm-access-point.xml
9056 - Change 'freq' property to a guint32 instead of a double since we
9057 weren't using the floating point bits anyway
9059 2007-09-10 Dan Williams <dcbw@redhat.com>
9061 * NetworkManagerAP.c
9063 NetworkManagerPolicy.c
9064 NetworkManagerSystem.c
9065 NetworkManagerUtils.c
9066 NetworkManagerUtils.h
9067 nm-device-802-11-wireless.c
9068 nm-device-802-3-ethernet.c
9071 vpn-manager/nm-dbus-vpn.c
9072 - Warning fixes; casts and removal of unused variables
9074 2007-09-10 Dan Williams <dcbw@redhat.com>
9076 * include/NetworkManager.h
9077 - Kill NMNetworkType; AP types don't matter any more
9079 * src/NetworkManagerAPList.c
9080 src/NetworkManagerAPList.h
9082 - Kill; NMAccessPointList has outlived it's usefulness
9084 * src/NetworkManagerAP.c
9085 src/NetworkManagerAP.h
9086 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9087 functions; check if an NMConnection object is compatible with the
9089 - (freq_to_channel, channel_to_freq): utility functions for
9090 channel <-> frequency conversion
9094 - (nm_device_get_best_connection): pass the specific object around
9095 (which might be the object path of a specific AP to connect to).
9096 The get_best_connection() call should populate this on return
9097 if needed (wireless does).
9099 * src/nm-device-802-3-ethernet.c
9100 - (real_get_best_connection): handle specific_object argument
9102 * src/NetworkManager.c
9103 src/NetworkManagerMain.h
9104 - Remove unused includes
9106 * src/nm-device-802-11-wireless.c
9107 src/nm-device-802-11-wireless.h
9108 - Convert the ap_list into a GSList from an NMAccessPointList
9109 - No need for caching the 'activation_ap' since this is now determined
9110 from the specific_object of the activation request, which is
9111 populated from the get_best_connection() call or from a user request
9112 - (nm_device_802_11_wireless_update_bssid): fix warning
9113 - (get_wireless_capabilities): fix error message format arguments
9114 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9115 - (find_best_connection, real_get_best_connection): implement
9116 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9117 move here from NetworkManagerAPList
9118 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9119 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9120 already verified earlier
9121 - (real_act_stage2_config): use nm_connection_need_secrets()
9123 * src/NetworkManagerPolicy.c
9124 - (nm_policy_auto_get_best_device): handle specific objects
9125 - (create_connection): remove; automatic connection creation functionality
9126 is handled by the Connection objects
9127 - (nm_policy_device_change_check): handle specific_object
9129 * libnm-util/nm-connection.c
9130 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9132 2007-09-10 Dan Williams <dcbw@redhat.com>
9135 - (query_connections): fix uninitialized variable problem that caused
9137 - (nm_manager_add_device): take devices down on startup so that we can
9138 be assured that nm_device_is_up() won't short-circuit the init
9139 process. Hack until the is_up check gets split into two pieces
9140 that aren't behaviorally confusing.
9142 2007-09-09 Dan Williams <dcbw@redhat.com>
9144 * introspection/nm-device.xml
9145 - The 'Activate' method now takes 3 arguments, a service name for the
9146 settings service (user or system), the object path of the connection
9147 to activate, and the specific object to activate, if any
9149 * src/nm-device-interface.c
9150 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9152 - (impl_device_activate): adapt to new Activate arguments; validate
9153 the service name and get the Connection object from the NMManager
9154 before starting to activate the device with the specified connection
9156 * src/nm-device-802-3-ethernet.c
9157 - (real_get_best_connection): find the best connection, or create a
9158 default one if no existing connections can be used
9160 * src/NetworkManagerPolicy.c
9161 - (nm_policy_auto_get_best_device): Get the device's best connection
9162 and only pick the device if it has one
9163 - (nm_policy_device_change_check): disable wireless bits for now until
9164 wireless get_best_connection() can be implemented (replacing "best_ap");
9165 don't create a default connection here as the device subclass will do
9170 - (nm_manager_get): make NMManager a singleton and expose the getter
9172 - Rework internal NMManager connection handling to use the same
9173 routines for both the system and user settings services. Most calls
9174 take a new NMConnectionType argument specifying either system or user
9176 - (nm_manager_get_connection_by_object_path): new function; get a
9177 connection keyed on its object path
9179 * src/NetworkManager.c
9180 - (main): use nm_manager_get()
9182 2007-09-09 Dan Williams <dcbw@redhat.com>
9186 - (nm_device_get_best_connection): new function; get best connection
9187 for the device at that time
9189 2007-09-09 Dan Williams <dcbw@redhat.com>
9191 * src/nm-device-interface.h
9192 - Add NMDeviceInterfaceError with an UnknownConnection error
9194 2007-09-09 Dan Williams <dcbw@redhat.com>
9196 Stupid mistake on my part; object path and interface for settings service
9197 and connection objects can be the same, only the service name must be
9198 different for the system and user settings services.
9200 * include/NetworkManager.h
9202 introspection/nm-settings-connection.xml
9203 introspection/nm-settings.xml
9204 libnm-glib/nm-settings.c
9205 - (nm_connection_settings_init, query_user_connections,
9206 new_connection_cb): Unify NetworkManagerSettings and Connection
9207 interface name and object path
9209 2007-09-06 Dan Williams <dcbw@redhat.com>
9211 * libnm-glib/nm-object.c
9212 - (nm_object_get_string_property, nm_object_get_object_path_property,
9213 nm_object_get_int_property, nm_object_get_uint_property,
9214 nm_object_get_boolean_property, nm_object_get_byte_property,
9215 nm_object_get_double_property, nm_object_get_byte_array_property):
9216 clear GValues after copying their contents, fixes memory leaks
9217 after every property access because dbus-glib copies the values
9218 from the DBusMessage into the GValue already.
9220 2007-09-06 Dan Williams <dcbw@redhat.com>
9222 * introspection/nm-access-point.xml
9223 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9224 them to be. There's some magic property name parsing going on in
9225 dbus-glib that breaks up property names based on studly-caps and
9226 puts - between words.
9228 * libnm-glib/nm-access-point.c
9229 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9232 2007-09-06 Dan Williams <dcbw@redhat.com>
9235 - (nm_manager_user_connections_destroy): clear the user connections hash
9236 table, don't destroy it
9237 - (finalize): only destroy the hash table on NMManager finalization
9239 2007-09-02 Dan Williams <dcbw@redhat.com>
9241 * include/NetworkManager.h
9242 libnm-glib/nm-settings.c
9243 - defines for the user settings daemon D-Bus bits
9245 * src/NetworkManager.c
9246 - Remove stuff that referred to the old NetworkManagerInfo service
9248 * src/vpn-manager/nm-dbus-vpn.h
9249 - Move old NMI defines to the only place they are used still
9251 * libnm-util/nm-connection.c
9252 libnm-util/nm-connection.h
9253 src/nm-activation-request.c
9254 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9258 - Get connections and their settings from the user settings daemon
9259 at the appropriate times
9261 2007-09-02 Dan Williams <dcbw@redhat.com>
9263 * libnm-util/nm-setting.c
9264 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9265 - (setting_wireless_hash): set the right value on the item
9267 2007-09-02 Dan Williams <dcbw@redhat.com>
9271 - Remove, no longer useful
9273 2007-08-30 Dan Williams <dcbw@redhat.com>
9276 src/NetworkManagerDbus.c
9277 src/NetworkManagerDbus.h
9278 src/vpn-manager/nm-dbus-vpn.c
9279 - Remove, no longer necessary. Move last bits to the only place its
9280 used, in nm-dbus-vpn.c
9282 * src/NetworkManagerAPList.c
9284 src/NetworkManager.c
9285 src/nm-device-802-11-wireless.c
9286 src/vpn-manager/nm-vpn-manager.c
9287 src/vpn-manager/nm-vpn-service.c
9288 src/NetworkManagerPolicy.c
9290 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9291 that was message_is_error()
9293 2007-08-30 Dan Williams <dcbw@redhat.com>
9296 - Include config.h to get defines for endiannes (gnome.org #420216)
9298 2007-08-30 Dan Williams <dcbw@redhat.com>
9300 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9302 * src/ppp-manager/Makefile.am
9303 - use -fPIC (gnome.org #471825)
9305 2007-08-29 Dan Williams <dcbw@redhat.com>
9307 * include/NetworkManager.h
9308 - Keep NMConnection object path in sync
9310 * libnm-glib/nm-settings.c
9311 libnm-glib/nm-settings.h
9312 - Break D-Bus object registration out of the init function, because
9313 every object that's exported over D-Bus needs to use the _same_
9314 DBusConnection. Otherwise, each object would get a different object
9315 path tree and wouldn't be callable.
9317 2007-08-29 Dan Williams <dcbw@redhat.com>
9319 * libnm-util/nm-setting.h
9320 libnm-util/nm-setting.c
9321 libnm-util/nm-connection.c
9322 src/NetworkManagerPolicy.c
9323 - 'info' settings object should be 'connection' says the spec
9324 at NetworkManagerConfigurationSpecification
9326 2007-08-29 Dan Williams <dcbw@redhat.com>
9328 * libnm-glib/nm-settings.c
9329 libnm-glib/nm-settings.h
9330 - make the dbus path a property of the object, and autogenerate it.
9331 It can't be composed of the 'id' field becuase that's not available
9332 yet during the GObject creation in nm_connection_settings_init()
9334 2007-08-29 Dan Williams <dcbw@redhat.com>
9336 * introspection/nm-settings-connection.xml
9337 introspection/nm-settings.xml
9338 - Service name -> NetworkManagerUserSettings because two services
9339 can't share part of the same path. I'm not really sure how we'll use
9340 the same code with the system-settings daemon...
9342 2007-08-28 Dan Williams <dcbw@redhat.com>
9344 * src/nm-device-interface.c
9345 src/nm-device-interface.h
9346 - Kill one more bit of NMData
9348 2007-08-28 Dan Williams <dcbw@redhat.com>
9350 * src/NetworkManagerSystem.h
9353 src/nm-hal-manager.c
9354 src/NetworkManager.c
9355 src/nm-device-802-11-wireless.c
9356 src/nm-hal-manager.h
9357 src/nm-device-802-3-ethernet.c
9358 src/vpn-manager/nm-vpn-service.h
9359 src/vpn-manager/nm-vpn-manager.c
9360 src/vpn-manager/nm-vpn-manager.h
9361 src/vpn-manager/nm-vpn-service.c
9362 src/nm-device-802-11-wireless.h
9363 src/NetworkManagerMain.h
9364 src/nm-device-802-3-ethernet.h
9365 src/backends/NetworkManagerGentoo.c
9366 src/backends/NetworkManagerPaldo.c
9367 src/backends/NetworkManagerFrugalware.c
9368 src/backends/NetworkManagerRedHat.c
9369 src/backends/NetworkManagerSlackware.c
9370 src/backends/NetworkManagerGeneric.c
9371 src/backends/NetworkManagerArch.c
9372 src/backends/NetworkManagerSuSE.c
9373 src/backends/NetworkManagerGeneric.h
9374 src/backends/NetworkManagerDebian.c
9377 2007-08-28 Dan Williams <dcbw@redhat.com>
9379 * src/NetworkManagerMain.h
9380 src/nm-device-802-11-wireless.c
9381 src/NetworkManager.c
9382 - Remove invalid AP list from NMData; need to rework this somewhat, but
9383 for now we should set the 'invalid' property on individual APs, and when
9384 we need to invalidate a whole ESS, set the 'invalid' on every member of
9387 2007-08-28 Dan Williams <dcbw@redhat.com>
9389 * src/NetworkManagerAP.c
9390 src/NetworkManagerAP.h
9391 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9392 'autoconnect' property instead
9394 * src/NetworkManager.c
9395 src/NetworkManagerMain.h
9396 src/NetworkManagerPolicy.c
9397 src/NetworkManagerPolicy.h
9398 - Remove the 'allowed_ap_list', which should be replaced by
9399 NMConnection/NMSettings instead, since _those_ are the allowed
9400 things that NM can connect to
9402 * src/nm-device-802-11-wireless.c
9403 - Remove both allowed_ap_list usage and 'fallback' checking
9405 2007-08-28 Dan Williams <dcbw@redhat.com>
9408 src/named-manager/nm-named-manager.c
9409 src/named-manager/nm-named-manager.h
9410 src/NetworkManager.c
9411 src/vpn-manager/nm-vpn-manager.c
9412 src/NetworkManagerMain.h
9413 src/NetworkManagerSystem.c
9414 - Remove the named-manager object from NMData structure in preparation
9415 for NMData's timely death. Make the NMNamedManager the singleton that
9418 2007-08-28 Dan Williams <dcbw@redhat.com>
9420 Remove NMAPSecurity objects, they are replaced with flags on the APs for
9421 each AP's capabilities, and by NMConnection/NMSettings objects for user
9422 defined connections.
9424 * include/NetworkManager.h
9425 - Redefine 802.11 security properties. There are now device capabilities
9426 and AP flags and AP security flags. It was way to unclear before.
9429 src/nm-ap-security-leap.h
9430 src/nm-ap-security-leap.c
9431 src/nm-ap-security-wpa-eap.c
9432 src/nm-ap-security-wpa-eap.h
9433 src/nm-ap-security-private.h
9434 src/nm-ap-security-wpa-psk.c
9435 src/nm-ap-security-wpa-psk.h
9436 src/nm-ap-security-wep.c
9437 src/nm-ap-security-wep.h
9438 src/nm-ap-security.c
9439 src/nm-ap-security.h
9440 - Removed, to be replaced with NMConnection/NMSettings objects
9444 - Removed, to be replaced by code that talks to the new info daemon
9445 interface and gets NMConnection/NMSettings objects
9447 * src/backends/NetworkManagerSuSE.c
9448 - Remove usage of NMAPSecurity; should be replaced by a system-level
9449 info-daemon that does the same thing but talks the new info-daemon
9452 * src/NetworkManagerAP.h
9453 src/NetworkManagerAP.c
9454 src/NetworkManagerAPList.c
9455 libnm-glib/libnm-glib-test.c
9456 - Remove usage of NMAPSecurity objects and adjust to new flags for
9459 * libnm-glib/nm-access-point.c
9460 libnm-glib/nm-access-point.h
9461 introspection/nm-access-point.xml
9463 - Adjust to new flags for AP security
9467 src/vpn-manager/nm-dbus-vpn.c
9468 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9469 stuff which is the only place it's used
9471 * src/nm-device-interface.c
9472 src/nm-device-interface.h
9473 introspection/nm-device.xml
9474 src/nm-activation-request.c
9475 src/nm-activation-request.h
9477 - Add a new 'specific_object' argument that hints to NM what actual
9478 AP or other device-specific thing the connection should apply to.
9479 NMConnection objects can apply to more than one actual device/AP.
9481 * libnm-util/nm-connection.c
9482 * libnm-util/nm-connection.h
9483 - Add 'have_secrets" call stubs
9485 * libnm-util/cipher.h
9486 - Move NM_AUTH_TYPE_* defines here for now
9488 * src/nm-device-802-11-wireless.c
9489 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9492 * src/NetworkManagerDbus.c
9493 * src/NetworkManagerPolicy.c
9494 - Remove usage of update_allowed_networks, should be pushing data in
9497 2007-08-27 Tambet Ingo <tambet@gmail.com>
9499 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9500 dbus-glib frees it when the call is done.
9502 2007-08-26 Dan Williams <dcbw@redhat.com>
9504 * introspection/nm-device.xml
9505 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9507 2007-08-26 Dan Williams <dcbw@redhat.com>
9509 * src/nm-device-802-3-ethernet.c
9510 - (constructor): move connection of interface-connected/disconnected
9511 signals here from real_bring_up(). Should be listening to netlink
9512 for carrier events no matter what the initial state of the device
9515 2007-08-26 Dan Williams <dcbw@redhat.com>
9517 * src/nm-netlink-monitor.c
9518 - (nm_netlink_monitor_class_init): fix marshalling types for
9519 interface-connected/interface-disconnected
9520 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9523 2007-08-26 Dan Williams <dcbw@redhat.com>
9525 Convert to using interface indexes as the primary method of identifying
9526 devices inside NetworkManager. Indexes are (?) stable, but devices can
9527 be renamed at any time. Device object paths now refer to the device
9528 index rather than the name, and you can map those two manually if you like
9529 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9530 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9531 to use interface indexes rather than names.
9533 2007-08-26 Dan Williams <dcbw@redhat.com>
9535 * src/nm-netlink-monitor.h
9536 - Remove one last bit of wireless-event signal
9538 2007-08-26 Dan Williams <dcbw@redhat.com>
9540 * src/nm-netlink-monitor.c
9541 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9542 don't need the 'wireless-event' signal anymore since that's all
9543 handled by wpa_supplicant
9545 2007-08-25 Dan Williams <dcbw@redhat.com>
9547 It's 2007. Remove support for drivers that don't support wireless scanning.
9550 include/NetworkManager.h
9551 src/NetworkManagerUtils.c
9552 src/NetworkManagerPolicy.c
9553 src/nm-device-802-11-wireless.c
9554 - Remove special handling for non-scanning devices and mark them
9555 as unsupported/unhandled
9557 2007-08-20 Dan Williams <dcbw@redhat.com>
9559 * src/nm-device-802-11-wireless.c
9560 src/nm-device-802-3-ethernet.c
9561 - (real_is_up): move device-specific tests before generic IFF_UP test,
9562 because when the card is pulled or the module removed, the device
9563 is already !IFF_UP and then device-specific cleanup (removing
9564 the supplicant interface, periodic checks, etc) never gets done
9566 2007-08-20 Dan Williams <dcbw@redhat.com>
9569 - (nm_manager_remove_device): bring device down before disconnecting
9570 signal handlers, so that the 'state' signal will get broadcast when
9571 the device enters the DOWN state
9572 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9573 of states that cause the NMManager to recheck its state
9575 2007-08-20 Dan Williams <dcbw@redhat.com>
9577 * src/supplicant-manager/nm-supplicant-interface.c
9578 - (interface_disconnect_done): don't try to dispose of the net proxy
9579 when it may already have been disposed of
9581 2007-08-20 Dan Williams <dcbw@redhat.com>
9583 * src/nm-device-802-11-wireless.c
9584 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9585 the SSID isn't available; this can happen when the card is pulled
9586 or the module unloaded, during the post-removal deactivation
9587 paths, when the ioctl returns ENODEV
9589 2007-08-20 Dan Williams <dcbw@redhat.com>
9591 * src/nm-device-802-11-wireless.c
9592 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9593 frequency, and mode match. Applets are now responsible for grouping
9596 2007-08-20 Dan Williams <dcbw@redhat.com>
9598 * src/NetworkManagerAP.c
9599 * src/NetworkManagerAP.h
9600 - (nm_ap_print_self): new function
9602 * src/NetworkManagerAPList.c
9603 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9606 2007-08-17 Dan Williams <dcbw@redhat.com>
9608 * src/nm-device-802-3-ethernet.c
9609 - (real_bring_down): don't try to dispose of stuff that might not
9612 2007-08-17 Dan Williams <dcbw@redhat.com>
9614 * src/NetworkManagerAP.c
9615 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9616 applet. This ensures that the case between the seen-bssids and
9617 the bssids reported by the driver match.
9619 2007-08-17 Dan Williams <dcbw@redhat.com>
9621 * src/nm-device-802-11-wireless.c
9622 - (device_cleanup): disconnect the interface in wpa_supplicant before
9623 we dispose of the interface proxy in NM
9625 2007-08-16 Dan Williams <dcbw@redhat.com>
9627 * libnm-glib/nm-client.c
9628 - (nm_client_init): create VPN connections hash table with key free
9630 - (proxy_vpn_connection_added): VPN connections hash table key should
9631 be a duplicated value, not the same memory address as the VPN
9632 connection name. This is because the VPN connection name could
9633 potentially be freed and set to something else during the lifetime
9634 of the NMVPNConnection object.
9636 2007-08-16 Tambet Ingo <tambet@gmail.com>
9638 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9639 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9640 with the file descriptors. Send a child setup function to change the pppd
9643 2007-08-15 Dan Williams <dcbw@redhat.com>
9645 * src/supplicant-manager/nm-supplicant-interface.c
9646 - (try_remove_iface): new function, ask wpa_supplicant to remove
9648 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9649 disposing of the NMSupplicantInterface. Otherwise weird stuff
9650 happens on hotplug if wpa_supplicant doesn't tear down and readd
9651 the interface internally
9653 2007-08-15 Dan Williams <dcbw@redhat.com>
9655 * src/nm-device-802-11-wireless.c
9656 - (real_bring_down): move most of this function into device_cleanup()
9657 so that it can be called from elsewhere
9658 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9659 and stuff on dispose. These would normally get cleaned up when
9660 the device is marked down and deactivated, but when the device is
9661 hot-unplugged, it's already down and real_down() never gets run
9663 2007-08-15 Dan Williams <dcbw@redhat.com>
9666 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9667 caused a reference leak on device for which NM requested a key
9669 2007-08-15 Dan Williams <dcbw@redhat.com>
9671 * libnm-glib/nm-client.c
9672 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9674 2007-08-15 Tambet Ingo <tambet@gmail.com>
9676 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9677 nothing is using it at the moment, but it'll be all useful and stuff later on.
9679 * libnm-util/nm-setting.h: Define NMSettingPPP.
9681 * libnm-util/nm-setting.c: Implement NMSettingPPP.
9683 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9685 * src/Makefile.am: Add ppp-manager to SUBDIRS.
9687 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9689 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9691 2007-08-14 Tambet Ingo <tambet@gmail.com>
9693 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9695 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9696 an issue with dbus-glib bindings generator. The issue is, the generated C caller
9697 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9698 name and different arguments and it won't compile anymore. To fix this, we now have
9699 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9700 that is new API + compatibility API and used by the daemon. The other,
9701 nm-manager-client.xml is only the new API without compatibility bits and is used
9702 by libnm-glib to make it compile.
9704 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9706 * src/nm-manager.c (impl_manager_legacy_sleep)
9707 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9708 interface functions for 0.6 branch.
9710 2007-08-14 Dan Williams <dcbw@redhat.com>
9712 * src/NetworkManagerAP.c
9713 - (nm_ap_new_from_properties): fix mistaken check of return value
9714 from memcmp (should expect 0)
9716 2007-08-14 Dan Williams <dcbw@redhat.com>
9718 (force-commit to fix wrong comment and partial commit of r2685; this
9719 commit actually applies to r2685)
9721 * src/NetworkManagerUtils.c
9722 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9723 ignores trailing nulls in the SSID to work around mismatches in
9724 expectations between WEXT and what the info-daemon passes back. The
9725 info-daemon would pass back the correct length, but due to the
9726 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9727 the device would always have an SSID + 1 depending on what versions
9728 of wpa_supplicant, the kernel, and NM you have. This was most often
9729 visible by just quitting the applet and relaunching, which caused
9730 NM to reassociated to the same network over again when reloading
9733 * src/NetworkManagerPolicy.c
9734 src/NetworkManagerUtils.h
9735 src/nm-device-802-11-wireless.c
9736 - Update for new parameter to nm_utils_same_ssid()
9738 2007-08-14 Dan Williams <dcbw@redhat.com>
9740 * src/NetworkManagerAP.c
9741 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
9742 I encountered a BSS that wasn't just hiding it's ESSID, it was
9743 setting the BSSID to all 0s. That confused the heck out of NM,
9744 plus it's useless and probably out-of-spec.
9746 2007-08-14 Dan Williams <dcbw@redhat.com>
9748 * callouts/Makefile.am
9749 src/dhcp-manager/nm-dhcp-manager.c
9750 src/dhcp-manager/nm-dhcp-manager.h
9751 src/dhcp-manager/Makefile.am
9752 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9754 2007-08-14 Dan Williams <dcbw@redhat.com>
9756 * src/dhcp-manager/nm-dhcp-manager.c
9757 - (dhclient_run): don't pass -x to dhclient until we figure out if
9758 it's really needed, get rid of unused xtra_args parameter
9760 2007-08-14 Dan Williams <dcbw@redhat.com>
9762 * include/NetworkManagerVPN.h
9763 src/vpn-manager/nm-dbus-vpn.c
9764 src/vpn-manager/nm-dbus-vpn.h
9765 src/vpn-manager/nm-vpn-act-request.c
9766 src/vpn-manager/nm-vpn-act-request.h
9767 src/vpn-manager/nm-vpn-service.c
9768 src/vpn-manager/nm-vpn-service.h
9769 libnm-glib/nm-vpn-connection.c
9770 libnm-glib/nm-vpn-connection.h
9771 libnm-glib/nm-client.h
9772 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
9773 NMVPNServiceState to clarify what they apply to
9774 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9775 NMVPNActStage -> NMVPNConnectionState for the same reason
9777 * libnm-glib/nm-client.c
9778 - Constant + type renames from above
9779 - Properly handle NameOwnerChanged/manager_running signals
9780 for NM service; only emit when state really changes
9781 - Use hash tables correctly so that the key (which was previously owned
9782 by the D-Bus message) now has the same lifetime as the value, since
9783 the key is now taken from the the NMVPNConnection itself. This
9784 really fixes the double-VPN names in the applet
9786 2007-08-13 Dan Williams <dcbw@redhat.com>
9788 Patch from Michael Biebl <biebl@debian.org>
9792 - Update for vpn-properties move
9794 2007-08-13 Dan Williams <dcbw@redhat.com>
9796 * libnm-glib/nm-client.c
9797 - Convert internal VPN connection tracking from a list to a hash table
9798 to easily avoid duplicates
9799 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9800 must be freed by the caller, like nm_client_get_devices()
9801 - (nm_client_remove_vpn_connection): don't let the removal signal
9802 leak through for NMVPNConnection objects that aren't actually
9804 - (manager_running): throw away VPN connection list when NM goes away,
9805 like with the device list
9807 2007-08-13 Dan Williams <dcbw@redhat.com>
9809 * src/dhcp-manager/nm-dhcp-manager.c
9810 - Stop any dhclient instance that might be already running for a
9811 particular interface before starting an NM spawned dhclient. Fixes
9812 dhclient processes left over if NM crashes, stuff like that.
9814 2007-08-13 Dan Williams <dcbw@redhat.com>
9816 * src/NetworkManagerAP.c
9817 - (finalize): don't try to g_array_free (NULL, ...), which happened
9818 when the AP wasn't broadcasting it's SSID
9820 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
9822 * include/NetworkManager.h: added DBus path for connection settings.
9824 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9825 nm_connection_settings_signal_updated,
9826 nm_connection_settings_signal_removed): new functions to wrap the
9828 (nm_connection_settings_init): register GObject with DBus.
9829 (nm_connection_settings_get_dbus_object_path): new function.
9831 * libnm-glib/Makefile.am: added libnmutil to link flags.
9833 2007-08-13 Tambet Ingo <tambet@gmail.com>
9835 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9837 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9838 libnm_glib directory got merged with libnm-glib/.
9840 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9842 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9843 Rename the library from libnm-glib to libnm_glib to maintain the library API
9844 compatibility with 0.6 branch.
9846 * Makefile.am: Remove gnome/ SUBDIR.
9848 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9850 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9852 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9854 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9856 Remove checks for wpa_supplicant binary, it's used over dbus.
9857 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9859 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9860 Link the binaries with libnm_glib.la.
9862 2007-08-12 Dan Williams <dcbw@redhat.com>
9864 * src/NetworkManagerPolicy.c
9865 - (nm_policy_device_change_check): fix policy to deactivate old device
9866 before activating new one, at least until the multiple active
9867 device support lands
9869 2007-08-12 Dan Williams <dcbw@redhat.com>
9871 * src/NetworkManagerPolicy.c
9872 - (nm_policy_new): hook up to connection-added / connection-removed
9873 signals instead of connections-changed
9875 2007-08-12 Dan Williams <dcbw@redhat.com>
9877 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
9878 Robert Frank <rfrank@redhat.com>
9880 * src/dhcp-manager/nm-dhcp-manager.c
9881 src/dhcp-manager/nm-dhcp-manager.c
9883 - Spawn and communicate with dhclient directly, through means of a
9884 custom dhclient callout script. Process callout D-Bus signals
9885 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
9886 sent via gobject signals rather than being driven by the dhcp manager
9889 2007-08-12 Dan Williams <dcbw@redhat.com>
9891 * callouts/nm-dhcp-client-action.c
9892 - (build_message): ignore non-DHCP-related environment variables
9894 2007-08-12 Dan Williams <dcbw@redhat.com>
9898 callouts/Makefile.am
9899 callouts/nm-dhcp-client-action.c
9900 callouts/nm-dhcp-client.conf
9901 - Add dhclient-executed callout that takes the place of dhclient-script
9902 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9905 2007-08-09 Tambet Ingo <tambet@gmail.com>
9907 [Based on patch by Helmut Schaa <hschaa@suse.de>]
9909 * libnm-glib/nm-client.h:
9910 * libnm-glib/nm-object.h:
9911 * libnm-glib/nm-vpn-connection.h:
9912 * libnm-glib/nm-settings.h:
9913 * libnm-glib/nm-device.h:
9914 * libnm-glib/nm-ip4-config.h:
9915 * libnm-glib/nm-access-point.h:
9916 * libnm-glib/nm-device-802-3-ethernet.h:
9917 * libnm-util/nm-setting.h:
9918 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9920 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9922 * libnm-glib/nm-access-point.c: Strength has type char.
9924 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9925 to fix build. GnomeDruid is deprecated in recent libgnomeui.
9927 * introspection/nm-access-point.xml: Strength property is char, not int.
9929 * src/NetworkManagerAP.c (set_property): Set strength from char.
9930 (get_property): Handle hidden APs (with empty SSID).
9931 Get strength value from char.
9932 (nm_ap_class_init): Strength property has char type.
9934 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
9936 * introspection/Makefile.am:
9937 * introspection/nm-settings.xml:
9938 * introspection/nm-settings-connection.xml: added Settings interfaces.
9940 * libnm-glib/nm-settings.[ch]:
9941 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9942 containing the DBus implementation.
9944 2007-07-26 Dan Williams <dcbw@redhat.com>
9946 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9948 * src/NetworkManagerSystem.c
9949 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9950 same subnet (#437396)
9952 2007-07-26 Dan Williams <dcbw@redhat.com>
9954 Patch from Kelemen Gábor <kelemeng@gnome.hu>
9956 * gnome/vpn-properties/nm-vpn-properties.c
9957 - Fix translatable strings (#445865)
9959 2007-07-26 Dan Williams <dcbw@redhat.com>
9961 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9964 - Remove useless junk (#412530)
9966 2007-07-10 Christopher Aillon <caillon@redhat.com>
9968 Patch from Robert Buchholz <rbu@gentoo.org>:
9972 * introspection/Makefile.am:
9973 Make make distcheck work again.
9975 2007-06-27 Dan Williams <dcbw@redhat.com>
9977 * Make SSIDs GByteArrays everywhere
9978 * Rename "essid" -> "ssid" everywhere that's appropriate
9979 * Refcount activation_ap member of the 802.11 wireless device class
9981 2007-06-27 Tambet Ingo <tambet@ximian.com>
9983 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9985 2007-06-22 Tambet Ingo <tambet@ximian.com>
9987 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9988 that we got a new AP when we just update existing AP properties.
9990 2007-06-21 Tambet Ingo <tambet@ximian.com>
9992 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9994 * nm-utils.[ch]: Remove.
9996 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9997 objects for easy property access and dbus connection handling.
9999 * libnm-glib/nm-client.c: Derive from NMObject.
10001 * libnm-glib/nm-device.c: Ditto.
10003 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10005 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10007 * libnm-glib/nm-ip4-config.c: Ditto.
10009 * libnm-glib/nm-access-point.c: Ditto.
10011 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10012 comparision. Currently used by the device activation code to determine if the new
10013 activation is the same as the old one.
10015 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10016 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10017 able to ask password for the AP.
10019 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10020 up if the device is already connected, tear down it's connection (if it isn't the
10021 same as new one) and start the activation.
10023 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10025 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10026 the issue where all APs are always listed as encrypted.
10028 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10029 their own registered paths.
10031 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10032 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10034 2007-06-13 Tambet Ingo <tambet@ximian.com>
10036 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10039 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10040 because the handling code will cause the next state change and signal listeners
10041 get the signals in wrong order.
10043 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10044 correctly in case of pending activation.
10046 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10047 Convert the essid byte array to string correctly, including the terminating NULL.
10049 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10050 mode with correct types.
10052 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10053 constructed info to dbus call instead of the activation request.
10055 2007-06-11 Christopher Aillon <caillon@redhat.com>
10057 Patch from Christian Persch <chpe@gnome.org>
10059 * libnm-glib/Makefile.am:
10060 * dispatcher-daemon/Makefile.am:
10061 Use the correct variables, the correct paths, and correct ordering. (446315)
10063 2007-06-11 Tambet Ingo <tambet@ximian.com>
10065 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10066 argument. The activation request is easy to retrieve.
10068 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10069 just to be a convenient location for devices to store random stuff.
10071 2007-06-11 Christopher Aillon <caillon@redhat.com>
10073 Patch from Alex Smith <alex@alex-smith.me.uk>
10075 * src/backends/NetworkManagerFrugalware.c:
10076 Update the FrugalWare backend to fix a few segfaults. (#392642)
10078 2007-06-08 Tambet Ingo <tambet@ximian.com>
10080 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10082 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10084 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10086 2007-06-06 Tambet Ingo <tambet@ximian.com>
10088 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10090 Implement NMSettingIP4Config.
10091 Finish NMSettingWired by adding all known members.
10092 (setting_wired_verify): Implement.
10093 Finish NMSettingWireless by adding all known members.
10094 (setting_wireless_verify): Implement.
10096 * libnm-util/nm-connection.c: Register "ipv4" setting.
10097 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10098 dump function, we can introspect the GHashTable which is used for sending connections
10101 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10102 Take GByteArray for essid, it's really not a string.
10104 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10105 Start DHCP request if setting is not passed or if it states that DHCP should be used.
10106 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10107 means overriding the values we got from DHCP.
10108 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10109 (nm_device_deactivate_quickly): Ditto.
10111 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10114 2007-05-07 Tambet Ingo <tambet@ximian.com>
10116 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10119 * libnm-glib/nm-device-802-11-wireless.c:
10120 (nm_device_802_3_ethernet_activate): Remove.
10122 * libnm-glib/nm-device-802-3-ethernet.c
10123 (nm_device_802_3_ethernet_activate): Remove.
10125 * libnm-glib/nm-device.c (nm_device_activate): Implement.
10127 * src/nm-device-802-3-ethernet.c: Implement the new activation using
10130 * src/nm-device-802-11-wireless.c: Store an activation AP once the
10131 activation has started.
10132 Implement the new activation using NMConnection.
10134 * src/nm-activation-request.c: Store a generic connection object instead
10135 of a wireless-specific AP.
10137 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10138 on device type, create a device specific connection object suitable for
10141 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10142 specific check to validate the connection and on success start the
10145 * src/nm-device-interface.h: Add a activate virtual function to the
10146 interface definition.
10148 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10149 (impl_device_activate): Implement.
10151 * introspection/nm-device.xml: Add a generic device activation interface
10152 that accepts an abstract NMConnection structure that has device-specific
10155 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10156 activation interface.
10158 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10159 activation interface.
10161 * libnm-util/nm-connection.c:
10162 * libnm-util/nm-connection.h:
10163 * libnm-util/nm-setting.c:
10164 * libnm-util/nm-setting.h: Add.
10166 * libnm-util/Makefile.am: Build the added files.
10168 * src/nm-dbus-manager.c
10169 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10170 DbusConnection argument from 'name-owner-changed' signal. The manager
10171 is already passed as a first argument to the signal and the connection
10172 is easy enough to get from it.
10174 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10175 Update the signature of the function.
10177 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10180 * src/NetworkManager.c: Ditto.
10182 * src/named-manager/nm-named-manager.c
10183 (nm_named_manager_name_owner_changed): Ditto.
10185 * src/supplicant-manager/nm-supplicant-manager.c
10186 (nm_supplicant_manager_name_owner_changed): Ditto.
10188 * src/nm-hal-manager.c (name_owner_changed): Ditto.
10190 * src/dhcp-manager/nm-dhcp-manager.c
10191 (nm_dhcp_manager_name_owner_changed): Ditto.
10193 * src/nm-hal-manager.c: Add a list of device detectors and creators
10194 to make it easier to add new devices. Each device type has it's own
10195 entry in the table so adding new device types is only a matter of
10196 implementing a couple of functions, one for device detection and the
10197 other for device creation.
10199 2007-04-25 Dan Williams <dcbw@redhat.com>
10201 * initscript/RedHat/NetworkManager.in: remove trailing backslash
10202 (gnome.org #432401)
10204 2007-03-30 Dan Williams <dcbw@redhat.com>
10206 * src/NetworkManagerSystem.c
10207 - (nm_system_device_set_ip4_route): clean up and fix argument
10208 to nm_dev_sock_open()
10210 2007-03-28 Tambet Ingo <tambet@ximian.com>
10212 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10213 data to correct types instead of always using string.
10215 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10216 _not_ have NM_802_11_CAP_PROTO_NONE.
10217 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10220 2007-03-27 Tambet Ingo <tambet@ximian.com>
10222 * libnm-glib/Makefile.am: Fix the build issue.
10224 2007-03-26 Tambet Ingo <tambet@ximian.com>
10226 * libnm-glib/nm-vpn-connection.h:
10227 * libnm-glib/nm-vpn-connection.c: Implement.
10229 * libnm-glib/nm-client.c: Add VPN support.
10231 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10234 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10237 2007-03-26 Dan Williams <dcbw@redhat.com>
10239 * src/NetworkManagerAPList.c
10240 * src/nm-device-802-11-wireless.c
10241 * src/NetworkManagerAP.c:
10242 - Store last seen as glong instead of GTimeVal.
10243 - Fix the upper bound of capabilities, it's a bitfield.
10245 2007-03-16 Tambet Ingo <tambet@ximian.com>
10247 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10249 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10250 "manager-running" signal that notifies the appearance/disappearance of NM.
10251 (nm_client_sleep): Implement.
10253 * libnm-glib/nm-device.c:
10254 * libnm-glib/nm-device-802-11-wireless.c:
10255 * libnm-glib/nm-device-802-3-ethernet.c:
10257 Don't inherit from DBusGProxy, add a proxy to private
10258 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10259 for anything but their own dbus interface. DBusGProxy objects support only one
10260 interfaces and to work around this, NMDevice has spearate proxy for each dbus
10261 interface. The nice side effect of this change is that we do not create a new
10262 DBusGProxy object for each property access.
10264 2007-03-15 Tambet Ingo <tambet@ximian.com>
10266 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10267 with zeroes before passing them to functions - the functions never do that and
10268 reading the values back may produce wrong values.
10269 (real_bring_up): Store the signal handler id ...
10270 (real_bring_down): ... So that it can be removed here.
10271 Disconnect the supplicant interface here as well.
10272 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10273 from the access point instead of old $device/Networks/$essid.
10275 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10276 device state is connected (instead of just having link/carrier).
10278 * src/nm-activation-request.c: Don't store NMData in activation request, it's
10279 already easily accessible through the device.
10281 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10282 store it within the object.
10283 (nm_ap_get_dbus_path): Export it to public as well.
10285 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10288 2007-03-12 Dan Williams <dcbw@redhat.com>
10290 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
10291 for non-carrier-detect capable devices, and useless for carrier-detect
10292 devices since we get notifications from netlink about carrier status anyway.
10294 * src/nm-device-802-3-ethernet.c
10295 - remove 'link_source_id' member from private data
10296 - (probe_link): remove and collapse into real_update_link()
10297 - (nm_device_802_3_periodic_update): remove
10298 - (real_is_up): check for sup_iface rather than link_source_id
10299 - (real_bring_up): return gboolean for success/fail; require that
10300 sup_iface be valid for device bringup to succeed
10301 - (real_bring_down): zero out link signal ids
10304 - (nm_device_activate_stage2_device_config): fail activation if device
10306 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10308 - (nm_device_bring_up): return success/fail
10311 - bring_up now returns success/fail
10313 * src/nm-device-802-11-wireless.c
10314 - (real_bring_up): return success from bringup
10316 2007-03-07 Dan Williams <dcbw@redhat.com>
10318 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
10319 * src/nm-ap-security-wpa-psk.c
10320 - (real_write_supplicant_config): work with PSKs that may contain
10321 zeros in the binary format rather than treating it as a string
10323 2007-03-02 Tambet Ingo <tambet@ximian.com>
10325 * libnm-glib/nm-device-802-11-wireless.c
10326 (nm_device_802_11_wireless_get_capabilities): Implement.
10328 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10330 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10332 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10333 reply only if it's not NULL. Not sure why this started happening right now.
10335 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10336 code paths for when devices get removed on shutdown or when a device is just
10338 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10339 gets freed so any signal from a device (disconnected for instance) would invoke
10340 NMState update which would crash.
10341 (nm_manager_remove_device): Bring the device down when it gets removed.
10343 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10344 the unused dev_type.
10346 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10347 reference to the added device, NMManager will own it (if it wants).
10349 * test/nm-tool.c: Rewrite using libnm-glib.
10351 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10352 We get signalled when it changes.
10354 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10357 * libnm-glib/nm-device.c: Cache the device state property.
10359 * libnm-glib/nm-access-point.c: Cache the strength property.
10361 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10362 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10363 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10364 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10365 the device is down, activating, or activated (in case of A/B/G cards).
10366 Remove some old dead ifdef'ed out code that used to configure wireless devices,
10367 it's all done through supplicant now.
10369 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10370 counting issues with pending calls which caused leaks and crashes when
10371 interface was removed (now that the interface actually gets removed).
10373 * src/nm-call-store.c: Make a copy of data before running a foreach
10374 with user callback on it - The most common usage pattern is to cancel
10375 (and thus remove) all pending calls with foreach which would modify
10376 the hash table we're iterating over.
10378 * src/nm-manager.c: When a device is added, make sure it is "up". When
10379 it's removed or disabled due to disabling wireless or networking, bring
10382 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10384 * src/nm-device-802-11-wireless.c:
10385 * src/nm-device-802-3-ethernet.c:
10387 - Remove "init" virtual function, all gobjects have a place for that
10388 already (constructor).
10389 - Replace "start" virtual function with "bring_up", devices can be
10390 brought up and down more than just on startup now.
10391 - Add "is_up" virtual function.
10392 - Implement one way to bring a device down instead of previous 4 different
10393 ways, each of witch did something different.
10395 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10396 all it needs is the device interface.
10398 Get rid of NMData.dev_list (3 members to go).
10399 Get rif of NMData in a lot of places.
10401 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10403 2007-02-23 Dan Williams <dcbw@redhat.com>
10405 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10407 * src/NetworkManagerAP.c
10408 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10409 OR-ing rather than AND-ing
10411 2007-02-20 Tambet Ingo <tambet@ximian.com>
10413 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10414 "network-removed" signals.
10416 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10418 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10419 when receiving the signal from dbus.
10421 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10424 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10425 deactivation of the previously activated device working again.
10427 * src/nm-activation-request.c: Remove NMActStage property and it's getter
10430 * src/nm-device.c (nm_device_is_activated): Remove.
10431 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10433 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10434 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10435 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10436 NM_DBUS_SIGNAL_STATE_CHANGE signal.
10437 Remove NMNetworkStatus and NMActStage enums.
10439 2007-02-19 Tambet Ingo <tambet@ximian.com>
10441 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10442 Handle device state changes and disconnect VPN if it's device deactivates.
10444 * src/nm-dbus-nm.c:
10445 * src/nm-dbus-nm.h:
10446 * src/nm-dbus-device.c:
10447 * src/nm-dbus-device.c:
10448 * src/nm-dbus-net.c:
10449 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10451 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10453 * src/nm-device.c (nm_device_get_by_udi):
10454 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10455 implemented in the correct location (NMManager).
10456 Rip out all the test_device stuff.
10458 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10459 failure handlers, it's all done by NMDevice already.
10461 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10462 Remove the iochannel hack to route the unix signals to the main thread since
10463 we're not threaded anymore.
10465 * src/NetworkManagerAP.c: Implement HWAddress property.
10467 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10468 automatically with dbus-glib.
10470 * src/nm-netlink-monitor.c:
10471 * src/nm-netlink-monitor.h:
10472 - Move it low in the class hierarchy, don't reference any NM types.
10473 - Remove private data from the header.
10474 - Use type safe checks in public API methods.
10475 - Make it a singleton so we don't have to pass the single reference around.
10477 2007-02-16 Tambet Ingo <tambet@ximian.com>
10479 * introspection/nm-ip4-config.xml: Implement.
10481 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10483 * libnm-glib/nm-ip4-config.c:
10484 * libnm-glib/nm-ip4-config.c: Implement.
10486 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10487 securities. APs reference security.
10489 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10490 be exported over DBUS.
10492 * src/nm-device-802-3-ethernet.c: Ditto.
10494 * src/NetworkManagerAP.c:
10495 * src/NetworkManagerAP.h:
10496 - Convert to GObject, export over DBUS.
10498 * src/nm-ip4-config.h:
10499 * src/nm-ip4-config.h:
10500 - Convert to GObject, export over DBUS.
10502 2007-02-12 Dan Williams <dcbw@redhat.com>
10504 Patch from Helmut Schaa <hschaa@suse.de>
10506 * vpn-daemons/pptp/configure.in
10507 vpn-daemons/pptp/Makefile.am
10508 vpn-daemons/openvpn/configure.in
10509 vpn-daemons/openvpn/Makefile.am
10510 vpn-daemons/vpnc/configure.in
10511 vpn-daemons/vpnc/Makefile.am
10512 - Add --without-gnome switch which disables building gnome bits
10514 2007-02-12 Tambet Ingo <tambet@ximian.com>
10516 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10518 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10520 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10523 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10525 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10527 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10530 - Remove old low-level dbus interface implementations and replace them
10531 with dbus-glib one.
10534 - Require dbus-glib >= 0.72.
10535 - Plug in new sources to build.
10538 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10539 to make it more convenient to use from GObject based programs.
10542 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10544 2007-02-09 Tambet Ingo <tambet@ximian.com>
10546 * src/nm-device-802-11-wireless.c:
10547 - Add "network-added" and "network-removed" signals.
10548 - Use gobject boilerplate macros to define the GObject.
10549 - Implement wireless device activation.
10550 - Remove activation_failure_handler and activation_success_handler
10551 and instead listen on state-changed signals and run the same code
10555 - Implment NMDeviceInterface::deactivate.
10556 - Remove activation_failure_handler and activation_success_handler
10557 virtual methods. Each device which is interested in these events
10558 can just listen on it's state changed signals.
10560 * src/NetworkManagerPolicy.c:
10561 - Move a bit more NMData usage to NMManager.
10562 - Remove activation scheduling bits.
10563 - Add listeners for wireless device's "network-added" and
10564 "network-removed" signals.
10565 - Listen device changed signals and deactivate currently activated
10566 device when another device start activating (for now).
10567 - Remove (nm_policy_schedule_device_change_check): There's never a need
10568 for calling this, the policy code knows exactly when this should happen,
10569 by listening on events from NMManager and NMDevices.
10571 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10574 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10575 method on the specific device instead of going to through policy code
10576 and determining the device type by passed in AP's existance.
10578 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10579 abstract NMDevice deactivation.
10581 2007-02-08 Tambet Ingo <tambet@ximian.com>
10583 * src/NetworkManager.c:
10584 - Set up all the shiny new managers.
10586 * src/NetworkManagerPolicy.c:
10587 - Add the beginnings of new NMPolicy code. Instead of requireing all
10588 classes to call into policy code, make the policy code kind of like
10589 a supervisor that monitors what's going on and drives the whole NM.
10591 * src/nm-hal-manager.c:
10592 * src/nm-hal-manager.h:
10593 - Collect all libhal code scattered around NM to this one class.
10594 - Listen libhal and NMManager events and add/remove devices to
10597 * src/nm-manager.c:
10598 * src/nm-manager.h:
10599 - Implment a replacement for NMData. NMData is now officially
10602 2007-02-05 Tambet Ingo <tambet@ximian.com>
10604 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10605 * src/supplicant-manager/nm-supplicant-interface.h
10606 * src/supplicant-manager/nm-supplicant-interface.c
10607 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10608 argument to boolean from enum.
10610 Make NMDevice abstract class, remove almost all references to it's
10611 subclasses (the last place gets removed with new policy manager). Add
10612 NMDeviceInterface (which NMDevice implements) so that when we have
10613 NMDevice exported over DBUS, there's a common NMDevice interface which
10614 all instances have, plus there's a device specific interface for each
10616 Remove functions (nm_device_is_802_3_ethernet) and
10617 (nm_device_is_802_11_wireless). There are already standard GObject macros
10618 for type safe checks.
10619 Use the updated supplican manager API.
10621 * src/nm-device-interface.h:
10622 * src/nm-device-interface.c:
10623 * src/nm-call-store.h:
10624 * src/nm-call-store.c: Implement.
10626 * src/supplicant-manager/nm-supplicant-interface.c:
10627 * src/supplicant-manager/nm-supplicant-interface.h:
10628 * src/supplicant-manager/nm-supplicant-manager.c:
10629 * src/supplicant-manager/nm-supplicant-manager.h:
10630 - Remove all private data type references from public header files.
10631 - Remove all references to other NM classes, this class is just a
10632 proxy between wpa_supplicant and NM so it doesn't have to know
10634 - Convert to dbus-glib bindings.
10635 - Type safe checks for public methods' arguments.
10636 - Store pending DBUS call ids to NMCallStore.
10638 * src/supplicant-manager/nm-supplicant-config.c:
10639 - Store config values in a GHashTable instead of GSList.
10641 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10643 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10646 * src/nm-device.c: Use the new DHCP manager API.
10648 * src/nm-activation-request.c:
10649 * src/nm-activation-request.h:
10650 - Remove all dhcp related properties and methods.
10652 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10654 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10656 * src/dhcp-manager/nm-dhcp-manager.c:
10657 * src/dhcp-manager/nm-dhcp-manager.h:
10658 - Convert it to GObject since we need to signal state changes.
10659 - Remove all references to other NM classes, this class is one
10660 of the lowest classes in our hierarchy.
10661 - One less class to use NMActRequest.
10662 - Make it singleton, one less user of NMData.
10663 - Remove a couple of sleep() calls.
10664 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10665 One less class to use the NM's custom tailored signal handlig.
10667 * Makefile.am: Generate marshallers, add them to build.
10669 2007-02-02 Dan Williams <dcbw@redhat.com>
10675 - Remove last bits referencing gnome applet
10677 2007-02-02 Dan Williams <dcbw@redhat.com>
10679 * src/vpn-manager/nm-vpn-service.c
10680 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10681 and NBNS server addresses
10683 2007-02-02 Tambet Ingo <tambet@ximian.com>
10685 * src/nm-dbus-manager.c:
10686 * src/nm-dbus-manager.h:
10687 - Convert all internal DBUS code to use dbus-glib bindings.
10688 - Remove GObject properties, we don't need them here.
10689 - Don't explicitly set things to NULL after freeing, glib is
10690 happy to do it if asked nicely (G_DEBUG=gc-friendly).
10691 - Make public API argument checks type safe.
10692 - Remove unnecessary (and wrong) cast to GObject for the first
10693 argument to g_signal_* calls - The first argument is a gpointer.
10694 - Export DBusGConnection to other cool classes that (are going to)
10697 2007-01-26 Dan Williams <dcbw@redhat.com>
10699 * libnm-util/dbus-dict-helpers.c
10700 libnm-util/dbus-dict-helpers.h
10701 - Coordinate style with wpa_supplicant version to minimize diff
10702 - Add uint32 array support
10703 - (nmu_dbus_dict_append_uint32_array): new function
10704 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10705 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10706 version; allow adding string array elements individually
10708 * test/libnm-util/test-dbus-dict-helpers.c
10709 - Test uint32 arrays
10711 2007-01-27 Jürg Billeter <j@bitron.ch>
10713 * src/backends/NetworkManagerPaldo.c
10714 - (nm_system_update_dns): clear nscd hosts cache
10716 2007-01-04 Dan Williams <dcbw@redhat.com>
10718 Threading removal related cleanups:
10720 - Use the glib default main context. Remove the device main context
10721 member from NMDevice, and the main_context member from NMData. Change
10722 all the idle and timeout scheduler functions to use plain
10723 g_idle_add() and g_timeout_add().
10725 - As a side-effect of the first change, nm_dbus_manager_get() no longer
10726 takes an argument; fix that up too.
10728 - Remove all locking, which is useless since we no longer use threads. For
10729 example, nm_get_device_by_iface_locked() has been removed. The global
10730 device list lock, the AP List lock, and all static locks in
10731 NetworkManagerPolicy.c have been removed. The locking utility functions
10732 in NetworkManagerUtils.c have also been removed.
10734 - Other cleanups in spacing and code style
10736 2007-01-01 Dan Williams <dcbw@redhat.com>
10738 Found by Bill Moss:
10740 * src/supplicant-manager/nm-supplicant-interface.c
10741 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10742 the supplicant interface wasn't already disconnected. Always
10743 call removeNetwork and disconnect unless the supplicant interface
10744 is in the DISCONNECTED or INACTIVE state.
10746 2006-12-28 Dan Williams <dcbw@redhat.com>
10748 Use a single thread for everything. With the move to wpa_supplicant
10749 and communication over D-Bus, there's no reason for multiple threads.
10750 Almost all of the blocking code has been removed, with one exception in
10751 the DHCP manager and a few in the VPN manager. This commit removes the
10752 per-device worker thread and fixes activation cancellation in the absence
10753 of threads. Further removal of thread-related code would be removing
10754 any locking code (like the device list lock) and simplification of logic
10755 around areas of code or data structures that are currently locked.
10758 dhcp-manager/nm-dhcp-manager.c
10759 nm-device-802-11-wireless.c
10760 nm-device-802-3-ethernet.c
10763 - Remove usage of multiple threads
10765 2006-12-19 Dan Williams <dcbw@redhat.com>
10767 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10768 plus a few other patches from wpa_supplicant bugzilla.
10771 src/NetworkManagerPolicy.c
10772 src/NetworkManagerUtils.c
10773 src/NetworkManagerUtils.h
10774 src/nm-ap-security-leap.c
10775 src/nm-ap-security-wep.c
10776 src/nm-ap-security-wpa-eap.c
10777 src/nm-ap-security-wpa-psk.c
10778 src/nm-ap-security.c
10779 src/nm-ap-security.h
10780 src/nm-device-802-11-wireless.c
10781 src/nm-device-802-11-wireless.h
10782 src/supplicant-manager/nm-supplicant-config.c
10783 src/supplicant-manager/nm-supplicant-config.h
10784 src/supplicant-manager/nm-supplicant-interface.c
10785 src/supplicant-manager/nm-supplicant-interface.h
10786 src/supplicant-manager/nm-supplicant-marshal.list
10787 src/supplicant-manager/nm-supplicant-settings-verify.c
10788 src/supplicant-manager/nm-supplicant-settings-verify.h
10789 - Move all connection management and association handling to
10790 wpa_supplicant over dbus, rather than spawning a private copy
10792 2006-12-19 Dan Williams <dcbw@redhat.com>
10794 * src/NetworkManagerPolicy.c
10795 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10796 better locking of the device change check handler ID. Incorrect
10797 locking was causing lost device change requests
10799 2006-12-18 Dan Williams <dcbw@redhat.com>
10801 * libnm-util/dbus-dict-helpers.c
10802 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10803 _nmu_dbus_dict_entry_get_byte_array): replace usage of
10804 dbus_message_iter_get_array_len() (Gnome.org #382898)
10806 2006-12-18 Dan Williams <dcbw@redhat.com>
10808 * gnome/libnm_glib/libnm_glib.c
10809 - Change dbus_connection_close() -> dbus_connection_unref()
10811 2006-12-11 Dan Williams <dcbw@redhat.com>
10813 * src/supplicant-manager/nm-supplicant-interface.c
10814 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10815 wpa_supplicant interface state
10816 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10817 state before transitioning to READY state
10819 2006-12-04 Dan Williams <dcbw@redhat.com>
10821 * src/nm-device-802-11-wireless.c
10822 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10823 odd length of ESSID returned from ieee80211 stack-based drivers
10825 2006-12-04 Dan Williams <dcbw@redhat.com>
10827 * src/nm-device-802-11-wireless.c
10828 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10829 IE handling blocks that cause mis-parsing of the IE
10831 2006-12-04 Dan Williams <dcbw@redhat.com>
10833 * src/nm-device-802-11-wireless.c
10834 - (init_supplicant_interface): new function; pull supplicant interface
10835 setup code out into standalone function since it must be called from
10836 two different places
10837 - (real_init): sup_mgr is now in private object data; get and track
10838 the supplicant manager object over the NMDevice subclass' lifetime
10839 and register a signal handler for its state signals; only try to
10840 initialize the supplicant interface if the supplicant manager is in
10841 the IDLE state (and therefore is ready for requests)
10842 - (request_wireless_scan): reschedule the scan request if (a) there is
10843 no supplicant interface yet (meaning wpa_supplicant isn't running
10844 or isn't ready yet), or (b) if the supplicant interface isn't ready
10846 - (supplicant_iface_connection_state_cb): new function; stub for
10847 handling supplicant interface connection state signals
10848 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10850 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10851 supplicant manager object that's being tracked starting with this
10854 2006-12-04 Dan Williams <dcbw@redhat.com>
10856 * src/supplicant-manager/nm-supplicant-interface.c
10857 - (nm_supplicant_interface_set_property): track signal handler ID
10858 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10860 2006-12-04 Dan Williams <dcbw@redhat.com>
10862 * src/supplicant-manager/nm-supplicant-interface.[ch]
10863 - (nm_supplicant_interface_get_state): new function
10865 2006-12-04 Dan Williams <dcbw@redhat.com>
10867 * src/supplicant-manager/nm-supplicant-interface.c
10868 - (bssid_properties_cb): don't treat DBus errors as valid
10869 scanned AP messages
10871 2006-12-04 Dan Williams <dcbw@redhat.com>
10873 * src/supplicant-manager/nm-supplicant-interface.[ch]
10874 - (nm_supplicant_interface_get_connection_state): new function
10875 - define new supplicant connection states
10876 - send a signal when the supplicant connection state changes
10878 2006-12-03 Dan Williams <dcbw@redhat.com>
10880 * src/supplicant-manager/Makefile.am
10881 src/supplicant-manager/nm-supplicant-connection.h
10882 src/supplicant-manager/nm-supplicant-connection.c
10883 src/supplicant-manager/nm-supplicant-config.h
10884 src/supplicant-manager/nm-supplicant-config.c
10885 src/supplicant-manager/nm-supplicant-types.h
10886 src/supplicant-manager/nm-supplicant-interface.h
10887 src/supplicant-manager/nm-supplicant-interface.c
10888 - Rename NMSupplicantConnection -> NMSupplicantConfig
10890 2006-12-03 Dan Williams <dcbw@redhat.com>
10892 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
10896 - Move VPN-related translatables to .skip
10898 * vpn-daemons/pptp/po/POTFILES.in
10899 - Update with new translatables
10901 2006-12-02 Dan Williams <dcbw@redhat.com>
10903 Patch from Christian Persch <chpe@gnome.org>
10905 * gnome/applet/Makefile.am
10906 gnome/applet/applet-dbus-devices.c
10907 gnome/applet/applet-notifications.c
10908 gnome/applet/applet.c
10909 gnome/applet/applet.h
10910 gnome/applet/main.c
10911 - Be a GtkStatusIcon on GTK+ >= 2.10
10913 2006-12-02 Dan Williams <dcbw@redhat.com>
10915 * gnome/applet/applet.c
10916 - (nma_update_info): fix two unecessary allocations
10918 2006-12-02 Dan Williams <dcbw@redhat.com>
10920 Patch from Michael Biebl <biebl@teco.edu>
10922 man/NetworkManager.1.in
10923 man/NetworkManagerDispatcher.1.in
10924 man/NetworkManager.8.in
10925 man/NetworkManagerDispatcher.8.in
10926 - Add .SH NAME stanzas
10927 - Move NM & NM Dispatcher manpages to section 8 (admin)
10929 2006-12-02 Dan Williams <dcbw@redhat.com>
10931 Patch from Christian Persch <chpe@gnome.org>
10934 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10936 2006-11-29 Tambet Ingo <tambet@ximian.com>
10938 Patch by Timo Hoenig <thoenig@suse.de>:
10939 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10942 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10943 we can't use the one from the main source directory.
10945 2006-11-27 Dan Williams <dcbw@redhat.com>
10947 Patch from Christian Persch <chpe@gnome.org>
10949 * gnome/applet/applet-dbus-devices.c
10950 - (hal_info_product_cb): fix memleak; free duped string.
10953 2006-11-27 Dan Williams <dcbw@redhat.com>
10955 Patch from Christian Persch <chpe@gnome.org>
10957 * gnome/applet/menu-items.c
10958 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10959 as gtk_progress_set_percentage is deprecated. Should
10960 work as far back as GTK+ 2.4. Gnome.org #379780
10962 2006-11-26 Dan Williams <dcbw@redhat.com>
10964 Scan using wpa_supplicant over DBus.
10966 * src/nm-device-802-11-wireless.c
10967 - remove wireless extensions netlink event handler bits
10968 (wireless_event_helper, nm_device_802_11_wireless_event)
10969 - remove wireless extensions scan event handler bits
10970 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10971 hex2byte, hex2num, request_and_convert_scan_results,
10972 free_process_scan_cb_data, scan_results_timeout,
10973 schedule_scan_results_timeout, cancel_scan_results_timeout)
10974 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10975 and request scans from the supplicant interface rather than directly
10976 - Move functionality of convert_scan_results() to cull_scan_list() and
10977 supplicant_iface_scanned_ap_cb()
10978 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10979 at the scan interval when the current scan has finished
10980 - (supplicant_iface_state_cb): start scanning when the supplicant
10981 interface enters the READY state, and stop scanning when it
10982 enters the DOWN state
10983 - (cull_scan_list): weed out old access points from the scan list
10984 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10985 point into an NMAccessPoint and merge it into the device's scan list
10987 * src/supplicant-manager/nm-supplicant-interface.c
10988 src/supplicant-manager/nm-supplicant-interface.h
10989 - Add a new signal "scan-result" which is issued when the supplicant
10990 notifies NM that a scan has completed
10991 - Add a new signal "scanned-ap" that notifies listeners of a new access
10992 point found in the scan. Called once for each access point that
10993 the supplicant interface object receives from the supplicant as a
10994 result of the "scanResults" method call
10995 - (wpas_iface_query_scan_results): don't wait 4s before querying
10996 for the initial scan results
10997 - (scan_request_cb): new function; send listeners the result
10998 (success, error) of a wireless scan request
10999 - (nm_supplicant_interface_request_scan): new function; ask the
11000 supplicant to perform an immediate wireless scan
11002 2006-11-25 Dan Williams <dcbw@redhat.com>
11004 * src/supplicant-manager/Makefile.am
11005 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11006 add HAL cflags/includes and named-manager includes directory
11008 * src/supplicant-manager/nm-supplicant-interface.h
11009 - New state STARTING to handle transition from INIT to READY where
11010 the addInterface pending call is still outstanding
11012 * src/supplicant-manager/nm-supplicant-interface.c
11013 - track pending calls differently since we may have more than one
11014 going on at any given time
11015 - request scan results from wpa_supplicant; but don't do it more often
11016 than every 4 seconds. Drivers that do background scanning
11017 (like the 'ipw' drivers) send a continuous stream of scan completion
11018 notifications, so we don't want to hammer the supplicant or dbus
11019 with requests for all scan results every time we get a completion
11022 2006-11-25 Dan Williams <dcbw@redhat.com>
11024 * src/supplicant-manager/nm-supplicant-types.h
11025 - new file; move all supplicant manager object typedefs here for
11028 * src/supplicant-manager/nm-supplicant-interface.c
11029 src/supplicant-manager/nm-supplicant-interface.h
11030 - new file; an object that interfaces an NMDevice object to the
11031 supplicant and handles signals from the supplicant. This object
11032 does all necessary DBus communication with wpa_supplicant.
11034 * src/supplicant-manager/nm-supplicant-manager.c
11035 src/supplicant-manager/nm-supplicant-manager.h
11036 - Actually do something. Track the state of the wpa_supplicant service
11037 and deal with its comings & goings. Handle life events of
11038 supplicant interfaces too.
11039 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11041 * src/supplicant-manager/nm-supplicant-connection.h
11042 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11044 * src/supplicant-manager/Makefile.am
11045 - Add new files to build, and add libnm-util to includes
11047 * src/nm-marshal.list
11048 - New marshaler type: VOID:UINT,UINT
11050 * src/nm-device-802-3-ethernet.c
11051 - (real_init): grab a supplicant interface
11052 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11053 - (supplicant_iface_state_cb): new function, stub for handling
11054 supplicant interface state changes
11056 * src/nm-device-802-11-wireless.c
11057 - (real_init): grab a supplicant interface
11058 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11059 - (supplicant_iface_state_cb): new function, stub for handling
11060 supplicant interface state changes
11062 * src/NetworkManager.c
11063 - (main): create and keep the supplicant manager around for the lifetime
11067 - Link to the supplicant manager sub-library and use the supplicant
11070 2006-11-25 Dan Williams <dcbw@redhat.com>
11072 Rework DBus manager signal handling to be more flexible. Previously,
11073 only one signal handler could be registered for a particular interface.
11074 The DBus manager now reference counts DBus bus matches and allows multiple
11075 clients to register signal handlers for the same interface and sender.
11077 * src/NetworkManager.c
11078 - (main): track NMI signal handler ID and remove it when we quit
11080 * src/NetworkManagerMain.h
11081 - Keep track of NMI signal handler ID
11083 * src/nm-dbus-manager.c
11084 src/nm-dbus-manager.h
11085 - rework signal handling; each signal handler references one signal
11086 match, but a signal match may be referenced by one or more
11087 signal handlers. Matches are refcounted and are destroyed when the
11088 last signal handler that references the match is removed. This is
11089 necessary because two signal handlers may end up requiring the same
11090 dbus bus match, so the match must live until the last signal handler
11091 is destroyed (for example, with the wpa_supplicant network interface
11094 * src/dhcp-manager/nm-dhcp-manager.c
11095 - (nm_dhcp_manager_new): track DHCP signal handler id
11096 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11098 * src/vpn-manager/nm-vpn-service.c
11099 - (nm_vpn_service_add_watch): track VPN service signal handler id
11100 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11102 2006-11-25 Dan Williams <dcbw@redhat.com>
11104 Suggested by Helmut Schaa <hschaa@suse.de>
11106 * src/vpn-daemons/nm-vpn-service.c
11107 - (supplicant_child_setup): new function
11108 - (supplicant_exec): make child process use a new process group id
11110 * src/nm-device-802-11-wireless.c
11111 - (nm_vpn_service_child_setup): new function
11112 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11115 2006-11-19 Dan Williams <dcbw@redhat.com>
11117 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
11118 * gnome/vpn-properties/nm-vpn-properties.c
11119 - clean up after renamed VPN connection
11121 2006-11-19 Dan Williams <dcbw@redhat.com>
11123 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
11124 * gnome/applet/applet-dbus-vpn.c
11125 - (nma_dbus_vpn_properties_cb): sort VPN connections
11127 * gnome/vpn-properties/nm-vpn-properties.c
11128 - (init_app): sort VPN connections
11130 2006-11-09 Dan Williams <dcbw@redhat.com>
11132 * src/NetworkManagerAPList.c
11133 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11134 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11135 from the nm_ap_list_get_ap_by_address() call was incorrect and
11136 broke hidden SSID matching. Found by Bill Moss.
11138 2006-10-25 Dan Williams <dcbw@redhat.com>
11141 - (nm_dbus_nm_set_active_device): return an empty success message on
11142 success, rather than falling through to the error case.
11144 2006-10-25 Dan Williams <dcbw@redhat.com>
11146 * src/NetworkManagerUtils.c
11147 - (nm_utils_supplicant_request_with_check): suppress messages for the
11150 2006-10-24 Dan Williams <dcbw@redhat.com>
11152 Reduce the number of times the Gnome applet wakes up, especially when
11153 it's doing absolutely nothing and is hidden. Initial patch by
11156 * gnome/applet/applet-dbus.c
11157 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11158 kill the redraw timeout. When NM starts up, start the redraw
11159 timeout. Also, if we get kicked off the bus for some reason,
11160 start the reconnection timeout if one's not already running.
11161 - (nma_dbus_init): better handling of error conditions, don't leak
11162 a half-initialized dbus connection
11163 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11164 the applet's data, just call nm_dbus_init_helper()
11165 - (nma_start_dbus_connection_watch): new function, starts a periodic
11166 timeout that calls nma_dbus_connection_watcher()
11167 - (nma_dbus_init_helper): if we get a successful connection, kill the
11168 reconnection timeout, and don't start the reconnection timeout
11169 unconditionally anymore
11171 * gnome/applet/applet-dbus.h
11172 - Expose nma_start_dbus_connection_watch()
11174 * gnome/applet/applet.c
11175 - (nma_update_state): no longer static, called from applet-dbus.c for
11176 immediate UI updates on certain events
11177 - (nma_set_running): new function; take over setting applet->running,
11178 when not running (ie, NM is not active), don't activate the redraw
11179 timeout because we're not showing the applet anyway. When we are
11180 running (ie, NM is active), and only when we're running, start the
11182 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11183 kill any reconnection timeout
11184 - (nma_get_instance): move one-off dbus initialization code here since
11185 nm_dbus_init_helper() gets called more than once, possibly by the
11186 reconnection timeout function too. And, when we start up, if we
11187 can't get a connection to the bus, start the reconnection timeout.
11188 But don't start the redraw timeout yet, only do that when we get
11189 NM's state and find out if it's running or not.
11191 * gnome/applet/applet.h
11192 - Add the reconnection GSource ID
11193 - Add prototypes for nma_set_running() and the no-longer-static
11196 2006-10-24 Dan Williams <dcbw@redhat.com>
11198 * src/vpn-daemons/nm-dbus-vpnc.c
11199 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11200 pending call tracker
11201 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11202 pending call tracker; register one-vpn-connection update pending
11203 call in pending call tracker
11204 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11205 update pending call in pending call tracker
11206 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11207 update pending call in pending call tracker; don't block waiting
11210 2006-10-19 Robert Love <rml@novell.com>
11212 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11215 2006-10-14 Dan Williams <dcbw@redhat.com>
11217 * src/dhcp-manager/nm-dhcp-manager.c
11218 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11219 the dbus connection and the device object path rather than
11220 constructing it inside both functions. Saves a bit of memory
11221 and clarifies a failure path.
11222 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11223 and allocate device path here rather than each of the two
11226 2006-10-13 Dan Williams <dcbw@redhat.com>
11228 * src/NetworkManager.c
11229 - (nm_name_owner_changed_handler): handle NMI coming and going,
11230 this somehow droppout in the refactor
11232 2006-10-13 Dan Williams <dcbw@redhat.com>
11234 * Huge DBus refactor:
11235 - Create a "DBus Manager" object which manages the connection and
11236 sends signals on NameOwnerChanged and connection/disconnection events,
11237 handles reconnection to the bus if NM gets kicked off, and abstracts
11239 - Remove DBusConnection members from places where they are no
11240 longer needed due to the refactor, like the dbus-connection
11241 property of the named manager, and from NMData
11242 - Reformats a bunch of the code to gnome style
11243 (8-space tabs, braces on same line as statement, 80-col width).
11244 Consider it open season to reformat any bits to gnome style.
11245 style that aren't already.
11247 2006-10-13 Dan Williams <dcbw@redhat.com>
11249 * src/supplicant-manager/Makefile.am
11252 * src/supplicant-manager/nm-supplicant-manager.[ch]:
11253 - Make it a minimal GObject
11255 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
11256 - Verify settings destined for wpa_supplicant
11258 * src/supplicant-manager/nm-supplicant-connection.[ch]:
11259 - Minimal GObject to track wpa_supplicant controlled device
11262 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
11264 * gnome/applet/applet.c: (nma_update_info),
11265 (nma_act_stage_to_pixbuf), (nma_update_state):
11266 Mark missing strings for translation. Fixes bug #343306.
11268 2006-10-01 Dan Williams <dcbw@redhat.com>
11270 * src/vpn-manager/nm-vpn-manager.c
11271 - (nm_vpn_manager_load_services): split and clean up
11272 for readability and correctness. Restrict VPN service
11273 files to ending in ".name", as was meant from the
11274 beginning (but not coded in). Better error reporting.
11276 2006-10-01 Dan Williams <dcbw@redhat.com>
11279 - Clean up formatting of debug/info/warning log messages
11281 2006-09-27 Robert Love <rml@novell.com>
11283 Patch by Tambet Ingo <tambet@ximian.com>:
11284 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11287 2006-09-07 Dan Williams <dcbw@redhat.com>
11290 test/libnm-util/Makefile.am
11291 test/nm-supplicant-test.c
11292 - Add test program emulating the way NM drives wpa_supplicant
11293 to help debug supplicant issues
11295 2006-08-24 Dan Williams <dcbw@redhat.com>
11299 src/supplicant-manager/Makefile.am
11300 src/supplicant-manager/nm-supplicant-manager.c
11301 src/supplicant-manager/nm-supplicant-manager.h
11302 - Add skeleton bits of the wpa_supplicant manager
11304 2006-08-24 Dan Williams <dcbw@redhat.com>
11306 Patch from Ed Catmur:
11307 * src/NetworkManagerUtils.c
11308 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11309 if netmask is 0 (Gnome #352634)
11311 2006-08-17 Robert Love <rml@novell.com>
11313 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11314 package is now DBUS-enabled and listens for the NM signals.
11316 2006-08-14 Dan Williams <dcbw@redhat.com>
11318 * Patch from Christian Persch <chpe gnome org>
11321 vpn-daemons/openvpn/po/LINGUAS
11322 vpn-daemons/openvpn/configure.in
11323 vpn-daemons/pptp/po/LINGUAS
11324 vpn-daemons/pptp/configure.in
11325 vpn-daemons/vpnc/po/LINGUAS
11326 vpn-daemons/vpnc/configure.in
11327 - Convert to LINGUAS method so translators don't have to modify
11328 configure.in, just stuff in po/. Gnome #343132, requires intltool
11331 2006-08-14 Dan Williams <dcbw@redhat.com>
11333 Patch from Alex Smith <alex.extreme2@gmail.com>
11335 src/backends/Makefile.am
11336 src/backends/NetworkManagerFrugalware.c
11337 - Add support for Frugalware
11339 2006-08-13 Dan Williams <dcbw@redhat.com>
11341 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11342 * src/nm-device-802-11-wireless.c
11343 - (supplicant_exec): spawn wpa_supplicant without debug spew
11346 2006-08-13 Dan Williams <dcbw@redhat.com>
11348 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11349 * src/nm-ap-security.c
11350 src/nm-ap-security.h
11351 - Add authentication_required bits for subclasses to specify whether
11352 or not real authentication is required for connections, i.e. whether
11353 the AP rejects us when an encryption key is wrong or not.
11355 * src/nm-ap-security-wep.c
11356 src/nm-ap-security-wpa-eap.c
11357 src/nm-ap-security-wpa-psk.c
11358 src/nm-ap-security-leap.c
11359 - Implement authentication_required appropriately for each method
11361 * src/nm-device-802-11-wireless.c
11362 - Be smarter about when to request a key; for example, using a wrong key
11363 in WEP shared key mode previously just timed out and did not request
11366 2006-08-13 Dan Williams <dcbw@redhat.com>
11368 * gnome/libnm_glib/libnm_glib.c
11369 - dbus_connection_disconnect() -> dbus_connection_close() for
11372 2006-08-07 Dan Williams <dcbw@redhat.com>
11374 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11375 * src/NetworkManagerSystem.c
11376 - Respect specified MTU. Gnome #344967
11378 2006-08-07 Dan Williams <dcbw@redhat.com>
11380 * src/vpn-manager/nm-vpn-service.c
11381 - Simplify print_vpn_config() arguments
11383 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11384 * src/vpn-manager/Makefile.am
11385 src/vpn-manager/nm-vpn-service.c
11386 - Add new API for passing VPN config options as a dict. Gnome #344967
11388 2006-08-06 Dan Williams <dcbw@redhat.com>
11390 * gnome/applet/applet-dbus-devices.c
11391 gnome/applet/applet-dbus-vpn.c
11392 gnome/applet/applet-dbus.c
11393 gnome/applet/applet-dbus.h
11397 - Make pending call tracking code generic,
11398 so we can use it in NM as well as the applet
11400 2006-08-06 Dan Williams <dcbw@redhat.com>
11402 * src/nm-activation-request.c
11403 - Refcount pending call objects
11405 2006-08-06 Dan Williams <dcbw@redhat.com>
11407 Patch from Christan Chiesa <christanc@gmail.com>
11409 - Tell sha1.c to use bigendian mode on PPC
11411 2006-08-04 Robert Love <rml@novell.com>
11413 Glib Memory Slices!
11414 * configure.in: Require glib 2.10 or later.
11415 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11416 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11417 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11418 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11419 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
11420 Memory Slices are the greatest thing since bread slices.
11421 * src/NetworkManagerAP.c: Also, fix memory leak.
11423 2006-08-01 Robert Love <rml@novell.com>
11425 * gnome/applet/main.c: Shutdown all VPN connections on logout.
11427 2006-07-31 Robert Love <rml@novell.com>
11429 * src/backends/interface_parser.c: Declarations must begin the block.
11431 2006-07-24 Dan Williams <dcbw@redhat.com>
11433 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11434 * src/backends/Makefile.am
11435 src/backends/NetworkManagerArch.c
11436 src/backends/NetworkManagerDebian.c
11437 src/backends/NetworkManagerGeneric.c
11438 src/backends/NetworkManagerGeneric.h
11439 src/backends/NetworkManagerGentoo.c
11440 src/backends/NetworkManagerPaldo.c
11441 src/backends/NetworkManagerRedHat.c
11442 src/backends/NetworkManagerSlackware.c
11443 src/backends/NetworkManagerSuSE.c
11444 - Genericize common backend functions
11446 2006-07-18 Robert Love <rml@novell.com>
11448 * configure.in: Add "--with-notify" option to allow disabling of
11451 2006-07-13 Dan Williams <dcbw@redhat.com>
11453 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11454 * gnome/applet/applet.glade
11455 gnome/applet/Makefile.am
11456 gnome/applet/nm-gconf-wso.c
11457 gnome/applet/nm-gconf-wso-leap.c
11458 gnome/applet/nm-gconf-wso-leap.h
11459 gnome/applet/wireless-security-manager.c
11460 gnome/applet/wso-leap.c
11461 gnome/applet/wso-leap.h
11462 include/NetworkManager.h
11463 libnm-util/dbus-helpers.c
11464 libnm-util/dbus-helpers.h
11466 src/NetworkManagerAP.c
11467 src/nm-ap-security.c
11468 src/nm-ap-security-leap.c
11469 src/nm-ap-security-leap.h
11470 - Add LEAP authentication support
11472 2006-07-13 Dan Williams <dcbw@redhat.com>
11474 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11476 src/backends/NetworkManagerArch.c
11477 src/backends/NetworkManagerDebian.c
11478 src/backends/NetworkManagerGentoo.c
11479 src/backends/NetworkManagerPaldo.c
11480 src/backends/NetworkManagerRedHat.c
11481 src/backends/NetworkManagerSlackware.c
11482 src/backends/NetworkManagerSuSE.c
11483 - Convert hardcoding of 'ip' path to configure-time
11486 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11488 * configure.in: added ru to ALL_LINGUAS
11490 2006-07-10 Dan Williams <dcbw@redhat.com>
11492 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11494 - (real_act_stage3_ip_config_start): don't infinite loop when
11495 dhcdbd isn't running (Gnome #346845)
11497 2006-07-09 Dan Williams <dcbw@redhat.com>
11499 * gnome/applet/applet.c
11500 - (nma_destroy): don't pass NULL to notify_notification_close
11503 2006-07-09 Dan Williams <dcbw@redhat.com>
11505 * gnome/applet/applet.c
11506 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11508 2006-07-04 Tor Krill <tor@krill.nu>
11510 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11511 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11512 (nm_system_restart_mdns_responder), (ArchReadConfig),
11513 (nm_system_device_get_system_config):
11514 - Explicitly check for DHCP configuration
11515 - Check if daemons are running before starting them
11517 2006-06-25 Dan Williams <dcbw@redhat.com>
11519 * libnm-util/dbus-dict-helpers.[ch]
11520 test/libnm-util/test-dbus-dict-helpers.c
11521 - Add string array support
11523 2006-06-24 Dan Williams <dcbw@redhat.com>
11525 * src/dhcp-manager/nm-dhcp-manager.c
11526 - (nm_dhcp_manager_process_signal): clean up spacing
11528 2006-06-21 Dan Williams <dcbw@redhat.com>
11530 * src/nm-dbus-device.c
11531 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11534 2006-06-21 Raivis Dejus <orvils@gmail.com>
11536 * configure.in: Added 'lv' to ALL_LINGUAS
11538 2006-06-19 Dan Williams <dcbw@redhat.com>
11540 * src/NetworkManagerAP.c
11541 - Clarify usage of user_created
11543 * src/nm-ap-security-wep.c
11544 src/nm-ap-security-wpa-eap.c
11545 src/nm-ap-security-wpa-psk.c
11546 src/nm-ap-security.c
11547 src/nm-ap-security.h
11548 - s/user_created/adhoc, because we really do mean adhoc
11550 Patch from Bernard Blackham <bernard@blackham.com.au>
11551 * src/nm-device-802-11-wireless.c
11552 - (supplicant_send_network_config): instead of user_created,
11553 use adhoc, and do AP_SCAN 2 for adhoc networks
11555 2006-06-18 Robert Love <rml@novell.com>
11557 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11558 we have a value to set. Gconf generates a warning if `val' is NULL.
11559 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11560 unless we actually received a valid private key file passphrase or
11561 password. Otherwise, we don't know to later ask the applet to pull
11562 the key from the keyring.
11564 2006-06-17 Dan Williams <dcbw@redhat.com>
11566 * libnm-util/dbus-dict-helpers.[ch]
11567 test/libnm-util/test-dbus-dict-helpers.c
11568 - Fixes for zero-length byte arrays
11569 - Replace return values of 0 with FALSE for clarity
11570 - Test zero-length byte arrays
11572 2006-06-17 Dan Williams <dcbw@redhat.com>
11574 * libnm-util/dbus-dict-helpers.[ch]
11575 test/libnm-util/test-dbus-dict-helpers.c
11576 - Add helpers for byte arrays
11577 - Rework bits of the testcase
11579 2006-06-16 Dan Williams <dcbw@redhat.com>
11581 * libnm-util/Makefile.am
11582 * libnm-util/dbus-dict-helpers.[ch]
11583 - Add some helpers to take the pain out of using dict types in
11586 * test/libnm-util/Makefile.am
11587 * test/libnm-util/test-dbus-dict-helpers.c
11588 - Test cases for the dict helper functions
11590 2006-06-15 Robert Love <rml@novell.com>
11592 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11593 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11594 if there is no key to pass.
11595 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11596 receiving a non-NULL key.
11598 2006-06-14 Robert Love <rml@novell.com>
11600 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11604 2006-06-14 Dan Williams <dcbw@redhat.com>
11606 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11607 * src/nm-device-802-11-wireless.c
11608 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11609 or ones where the driver is unknown
11610 - (supplicant_exec): don't wait for supplicant startup here
11611 - (supplicant_interface_init): finer grained polling for supplicant
11614 2006-06-13 Robert Love <rml@novell.com>
11616 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11617 if it is currently set to TRUE. Otherwise, we will reset the value
11618 when we connect normally.
11619 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11620 the old BSSID is valid, too. The recently added ESSID check may not be
11621 sufficient (we can remove it?). What we really want to catch is the
11622 case of going from all-zeros to the BSSID of some other network, which
11623 happens on failure.
11625 2006-06-09 Dan Williams <dcbw@redhat.com>
11627 * src/NetworkManagerSystem.[ch]
11628 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11629 it was unused and pointless
11630 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11631 fix for set_up_down_with_iface change
11633 * src/vpn-manager/nm-vpn-connection.c
11634 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11636 * src/backends/NetworkManagerPaldo.c
11637 src/backends/NetworkManagerRedHat.c
11638 src/backends/NetworkManagerSuSE.c
11639 src/backends/NetworkManagerArch.c
11640 src/backends/NetworkManagerDebian.c
11641 src/backends/NetworkManagerGentoo.c
11642 - (nm_system_enable_loopback): use set_up_down_with_iface where
11644 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11647 2006-06-09 Dan Williams <dcbw@redhat.com>
11649 Patch from Peter Jones:
11650 * src/nm-device-802-11-wireless.c
11651 - (nm_device_802_11_wireless_update_bssid): make sure that the
11652 SSID hasn't changed from what we expect before automatically
11653 updating the saved BSSID from a new AP
11655 2006-06-08 Robert Love <rml@novell.com>
11657 Add 'fallback' support. NetworkManager will attempt to brute-force
11658 connect to networks marked as fallback if there are no better wireless
11659 connections available. This is useful as a method of last resort, to
11660 work around driver problems, and for use with hidden networks.
11661 * gnome/applet/applet-dbus-devices.c,
11662 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11663 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11664 pass it on via DBUS.
11665 * gnome/applet/applet.c: No fallback by default.
11666 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11667 Update other-network-dialog to add UI checkbox toggling fallback.
11668 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11669 propery from AP object. Add "fallback" property to AP object.
11670 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11671 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11672 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11673 separate function. Add get_best_fallback_ap() for returning an AP
11674 on which to attempt fallback.
11675 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11676 * test/nm-set-fallback: New file. Sets a given network as fallback.
11678 2006-06-07 Robert Love <rml@novell.com>
11680 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11681 checked that the return type was GCONF_VALUE_STRING, not the correct
11682 GCONF_VALUE_BOOL, and thus it never worked.
11683 * src/NetworkManagerAPList.c: Before concluding that two networks are
11684 identical based on their BSSID, make sure that the BSSID in question
11685 is actually valid. Specifically, an empty or all zero BSSID does not
11687 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11688 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11689 similar invariant clean up.
11691 2006-06-02 Robert Love <rml@novell.com>
11693 * gnome/applet/applet.c: Update copyright years. Add Novell.
11695 2006-05-28 Dan Williams <dcbw@redhat.com>
11697 * gnome/applet/applet.glade
11698 gnome/vpn-properties/nm-vpn-properties.glade
11699 - Set window icons on dialogs (Gnome.org #333420)
11701 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
11703 * gnome/vpn-properties/nm-vpn-properties.glade:
11704 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11705 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11706 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11707 - Make the VPN properties pages prettier and more HIG
11708 compliant. Gnome Bug #336913.
11710 2006-05-28 Dan Williams <dcbw@redhat.com>
11712 Patch from Christian Persch <chpe@gnome.org>
11713 * gnome/vpn-properties/nm-vpn-properties.c
11714 * gnome/vpn-properties/nm-vpn-properties.glade
11715 - HIG-ification love (Gnome.org #336846)
11717 2006-05-28 Dan Williams <dcbw@redhat.com>
11719 Patch from Christian Persch <chpe@gnome.org>
11721 gnome/vpn-properties/nm-vpn-properties.c
11722 - (main): Fix option parsing. Gnome.org #336847
11724 2006-05-28 Dan Williams <dcbw@redhat.com>
11726 * gnome/vpn-properties/nm-vpn-properties.c
11727 - (find_vpn_ui_by_service_name): protect against NULL service names
11728 - (update_edit_del_sensitivity): protect against NULL service names
11731 2006-05-28 Dan Williams <dcbw@redhat.com>
11733 Patch from Chris Fuller <crf@grandecom.net>:
11734 * src/nm-device-802-11-wireless.c
11735 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11736 don't dispose of wireless-specific stuff unless it is actually
11737 initialized. Gnome.org #341263
11739 2006-05-28 Dan Williams <dcbw@redhat.com>
11741 * src/NetworkManagerPolicy.c
11742 - (nm_policy_device_change_check): don't switch devices if the "best"
11743 AP is essentially the same as the current activation request, but
11744 the current activation request isn't done activating yet. Fixes
11745 multiple requests for keyring password on startup for Gnome applet.
11748 2006-05-26 Nicolas Trangez <eikke@eikke.com>
11750 * src/NetworkManager.c: use GOptions instead of getopt
11751 * configure.in: bump glib required version to >= 2.6 for GOption
11754 2006-05-25 Robert Love <rml@novell.com>
11756 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11757 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
11758 instead of dumping ifdef's throughout the code.
11759 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11760 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11761 use nm_ioctl_info() in lieu.
11763 2006-05-25 Robert Love <rml@novell.com>
11765 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11766 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11767 not using gcrypt. Otherwise, we get a linker error.
11769 2006-05-25 Robert Love <rml@novell.com>
11771 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11772 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11773 configure flag to disable building of the GNOME-based applet.
11775 2006-05-25 Robert Love <rml@novell.com>
11777 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11778 parameter from link, because it shadows a global variable with some
11779 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
11780 should never have exported to the entire system a common four letter
11781 word. But we here at NetworkManager are team players. Fixes
11784 2006-05-25 Arangel Angov <ufo@linux.net.mk>
11786 * configure.in: Added mk.po, Macedonian translation.
11788 2006-05-24 Robert Love <rml@novell.com>
11790 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11791 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11792 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11794 2006-05-24 Robert Love <rml@novell.com>
11796 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11797 libnm-util/Makefile.am, src/Makefile.am,
11798 vpn-daemons/openvpn/auth-dialog/Makefile.am,
11799 vpn-daemons/openvpn/properties/Makefile.am,
11800 vpn-daemons/pptp/auth-dialog/Makefile.am,
11801 vpn-daemons/pptp/properties/Makefile.am,
11802 vpn-daemons/vpnc/auth-dialog/Makefile.am,
11803 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11804 user passed for --datadir, if anything, when setting the GNOME locale
11805 directory. It should be a function of the specified datadir and not
11808 2006-05-24 Robert Love <rml@novell.com>
11810 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11811 src/NetworkManager.c: Take care to call bindtextdomain with the
11812 location of msgid files.
11813 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11816 2006-05-22 Robert Love <rml@novell.com>
11818 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11819 stage4_timeout on failure unless the wireless network is Ad-Hoc.
11820 99% of the time there is a real problem with wireless, and a
11821 seemingly successful connection via Zeroconf just confuses the user.
11822 And that 1% of the time the network is probably Ad-Hoc, anyhow.
11824 2006-05-22 Robert Love <rml@novell.com>
11826 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11827 autofs on interface up if NIS is configured. On interface down, do
11830 2006-05-22 Robert Love <rml@novell.com>
11832 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11833 to avoid calling g_object_unref() on stale pointers on error in
11834 nma_icons_free(). This happens because we short-circuit loaded the
11835 icons on the first failure but then free all icons. Normally we have
11836 no issue because the icons were zero'ed out malloc, but we have stale
11837 pointer data after nma_icon_theme_changed().
11838 * gnome/applet/main.c: Return error code if nma_new() failed.
11840 2060-05-21 Dan Williams <dcbw@redhat.com>
11842 * initscript/NetworkManager.in
11843 - Ensure both dhcdbd and named are started before NM
11845 2006-05-21 Dan Williams <dcbw@redhat.com>
11848 - Bump version to 0.7 to signify we are in 0.7 development
11850 2006-05-21 Dan Williams <dcbw@redhat.com>
11852 Patch from Adam Schreiber <sadam@clemson.edu>
11853 * gnome/vpn-properties/nm-vpn-properties.c
11854 - (main): correct Gnome program name (gnome.org #342498)
11856 2006-05-21 Dan Williams <dcbw@redhat.com>
11858 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11860 * src/NetworkManagerDbus.[ch]
11861 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11862 clarify that function's argument should be an escaped dbus object
11863 path, and look for path segment end before returning a match
11864 * src/nm-dbus-nm.c:
11865 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11867 2006-05-17 Robert Love <rml@novell.com>
11869 Functionality to differentiate Ad-Hoc networks from infrastructure
11870 networks in the applet, by displaying a special icon:
11871 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11872 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11873 * gnome/applet/menu-items.c: Set a special icon in the scan list for
11874 ad-hoc networks. TODO: Add a third icon representing "encrypted and
11875 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
11876 networks, encrypted or not.
11877 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11878 accessor functions to get and set the mode of a given network,
11879 wireless_network_get_mode() and wireless_network_set_mode().
11881 2006-05-17 Robert Love <rml@novell.com>
11883 Functionality to automatically add BSSIDs to the allowed-MAC list as
11884 one roams from access point to access point on a given network:
11885 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11886 helper function to compare two ether_addr structures and return TRUE
11887 if they contain the same MAC address.
11888 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11890 * src/nm-device-802-11-wireless.c: New function to update the BSSID
11891 stored with the current AP. If the BSSID has indeed changed, we
11892 send it out to the applet, allowing the allowed-MAC list to grow
11893 automatically in response to roaming.
11895 2006-05-16 Robert Love <rml@novell.com>
11897 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11898 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11900 2006-05-13 Dan Williams <dcbw@redhat.com>
11902 * src/nm-device-802-3-ethernet.c
11903 - (real_get_generic_capabilities): Don't ignore devices that can't do
11904 carrier detect (Debian bug #366373)
11906 2006-05-11 Dan Williams <dcbw@redhat.com>
11908 Patch from Michael Biebl <biebl@teco.edu>
11909 * src/backends/NetworkManagerDebian.c
11910 - Debian backend fixups
11912 2006-05-10 Robert Love <rml@novell.com>
11914 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11916 2006-05-09 Robert Love <rml@novell.com>
11918 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11919 private certificate passphrase, if any, in the GNOME Keyring.
11920 * libnm-utils/dbus-helpers.c: Update.
11922 2006-05-05 Dan Williams <dcbw@redhat.com>
11924 * src/nm-device-802-11-wireless.c
11925 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11926 nm_device_802_11_wireless_disable_encryption() since that's all
11927 we use it for anymore; we don't ever set WEP keys ourselves.
11928 - (real_deactivate_quickly): reset SSID and encryption keys
11929 - (real_deactivate): move SSID and encryption key reset to
11930 real_deactivate_quickly(), which gets run before us anyway
11932 2006-05-05 Robert Love <rml@novell.com>
11934 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11935 root has a wacky default of its own (or, more common, a user has a
11936 bad umask and uses su/sudo to restart NetworkManager). Anything
11937 other than 0022 does not do what we want with, for example,
11938 resolv.conf. This problem is amplified by our judicious use of
11939 fopen(), which uses mode 0666 -- implying that the only way to get
11940 the permissions we want is with a umask of 0022.
11942 2006-05-05 Dan Williams <dcbw@redhat.com>
11944 * gnome/libnm_glib/libnm_glib.c
11945 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11946 to reconnect; instead wait a bit more with each reconnect attempt
11947 up to a max of one minute.
11949 2006-05-04 Ryan Lortie <desrt@desrt.ca>
11951 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11952 the WirelessNetwork structure using the proper function instead of
11953 just casting it directly to (const char *) (gnome.org #336991)
11955 2006-05-03 Robert Love <rml@novell.com>
11957 * src/backends/NetworkManagerSuSE.c: Respect the variable
11958 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11959 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11960 to dynamically update /etc/resolv.conf.
11962 2006-05-02 Peter Jones <pjones@redhat.com>
11964 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11966 2006-05-02 Robert Love <rml@novell.com>
11968 Patch by Timo Hoenig;
11969 * tests/nm-online.c: Print pretty status indicator as timeout winds
11970 down. Also fix possible race between DBUS startup and failure
11973 2006-05-01 Robert Love <rml@novell.com>
11975 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11978 2006-04-27 Jeremy Katz <katzj@redhat.com>
11980 * src/nm-device.c (discover_device_type): Actually use the hal
11981 device type instead of ioctl poking
11983 2006-04-26 Robert Love <rml@novell.com>
11985 * tests/nm-online.c: New file. Simple utility that returns exit status
11986 noting whether the connection is offline or online. If offline on
11987 start, it waits 30 seconds (or a command-line given value) for an
11988 online signal. If it times out, it again returns offline. This is
11989 useful for scripts that want to wait for network connections.
11991 2006-04-25 Robert Love <rml@novell.com>
11993 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11994 key mode (the authentication algorithm), e.g. open or shared, when we
11995 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
11996 only shared was broken. If the user specified a shared key, set it
11997 explicitly, otherwise let wpa_supplicant go with the default.
11999 2006-04-24 Dan Williams <dcbw@redhat.com>
12001 * src/nm-device-802-11-wireless.c
12002 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12004 2006-04-24 Dan Williams <dcbw@redhat.com>
12006 Commit the async scanning patch
12008 * src/nm-device-802-11-wireless.c
12009 - get rid of scan_mutex
12010 - (wireless_event_helper): act on wireless scan events
12011 - (real_start): schedule a pending scan
12012 - (link_to_specific_ap): fake the link to the AP during a scan
12013 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12014 strength during scans
12015 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12016 nm_device_set_bitrate): unused with new scanning code, disable
12017 - (nm_device_wireless_schedule_scan): removed
12018 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12019 - (request_and_convert_scan_results): new function; retrieve scan
12020 results from the driver and schedule the processing function
12021 - (scan_results_timeout): timeout triggered when card doesn't send
12022 a scan results wireless event during a certain interval
12023 - (schedule_scan_results_timeout): new function; schedule the scan
12025 - (cancel_scan_results_timeout): new function; cancel the scan
12027 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12028 to do the scanning. Otherwise, just request a scan but don't
12029 grab results here; instead schedule a timeout for scan results and
12030 let netlink notify us of scan completion events
12031 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12032 - (cancel_pending_scan): new function; cancel a pending wireless scan
12033 - (supplicant_status_cb): ignore disconnect events while scanning
12034 - (supplicant_exec): wait a bit longer for the supplicant to start up
12035 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12037 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12039 2006-04-24 Dan Williams <dcbw@redhat.com>
12041 * gnome/applet/applet-dbus.c
12042 - Disable the pending call debug stuff, seems under control now
12044 2006-04-20 Robert Love <rml@novell.com>
12046 Fix bug where hidden ESSID's would not show up in the applet, even
12047 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
12048 because nm_policy_device_list_update_from_allowed_list() would merge
12049 the data, putting a name to the hidden networks, but never notify NMI
12050 of the changes. Simple fix is to invoke the function
12051 nm_dbus_signal_wireless_network_change() if we make a mapping.
12052 * src/NetworkManagerAPList.c: Call the function
12053 nm_dbus_signal_wireless_network_change() if we made a successful
12054 BSSID to ESSID mapping, notifying the applet of the "new" network.
12055 * src/NetworkManagerAPList.h: Update the prototypes for both
12056 nm_ap_list_copy_essids_by_address() and
12057 nm_ap_list_copy_one_essid_by_address().
12059 2006-04-20 Robert Love <rml@novell.com>
12061 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12062 not set. Just return zero.
12064 2006-04-20 Robert Love <rml@novell.com>
12066 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12067 only one copy of nm-vpn-properties is running at a time via the 'ol
12068 X selection trick. This prevents the user from opening two "VPN
12069 Connections" windows from within the applet, which leads to mass
12071 * clipboard.c: New file, implementing simple X selection logic.
12072 * clipboard.h: New file.
12073 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12075 2006-04-18 Nicolas Trangez <eikke@eikke.com>
12077 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12079 initscript/Gentoo/Makefile.am
12080 initscript/Gentoo/NetworkManagerDispatcher.in
12082 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12085 2006-04-16 Dan Williams <dcbw@redhat.com>
12087 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12089 initscript/Slackware/Makefile.am
12090 initscript/Slackware/rc.networkmanager-dispatcher.in
12091 initscript/Slackware/rc.networkmanager.in
12092 - Update slackware initscripts
12094 2006-04-10 Robert Love <rml@novell.com>
12096 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12097 the "delete_event" signal on the druid's parent window and handle it
12098 our way, lest using the WM to close the druid results in a series of
12099 bloody and ultimately lethal errors.
12101 2006-04-10 Robert Love <rml@novell.com>
12103 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12104 'Back' too or else the 'Forward' option is initially disabled despite
12107 2006-04-06 Robert Love <rml@novell.com>
12109 Fix bad but simple bug where an active modem connection did not update
12110 NM's connection state, breaking any app that did online/offline:
12111 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12112 represented whether a dial up connection is active, or not.
12113 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12114 to modem activation and deactivation.
12115 * src/NetworkManagerDbus.c: When asked our state, do not return
12116 disconnected if the modem is active.
12118 2006-04-04 Robert Love <rml@novell.com>
12120 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12121 applet. It just confuses the crap out of people and does not make a
12122 lot of sense, as the daemon still runs.
12124 2006-04-02 Tor Krill <tor@krill.nu>
12126 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12127 in start of service.
12128 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12129 get Archlinux backend up to date.
12131 2006-03-29 Robert Love <rml@novell.com>
12133 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12134 to add support for per-route MSS and improve support for per-interface
12136 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12137 optionally take an MSS parameter and set it for the given route.
12138 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
12139 NMIP4Config's stored MSS, if any.
12140 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12141 the interface's MTU and the route's MSS, respectively. Add functions
12142 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12143 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12145 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12146 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12147 nm_ip4_config_set_mss.
12148 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12150 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12151 Change the retval of nm_system_get_mtu to guint32.
12152 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12153 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
12154 servers can specify MTU's, we should set it here if the MTU was not
12157 2006-03-27 Jürg Billeter <j@bitron.ch>
12160 * initscript/Makefile.am:
12161 * initscript/paldo/Makefile.am:
12162 * initscript/paldo/NetworkManager.in:
12163 * initscript/paldo/NetworkManagerDispatcher.in:
12164 * src/backends/Makefile.am:
12165 * src/backends/NetworkManagerPaldo.c:
12166 - Add paldo support
12168 2006-03-27 Dan Williams <dcbw@redhat.com>
12170 Patch from Christian Persch <chpe@gnome.org>
12171 * gnome/applet/applet.glade
12172 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12174 2006-03-27 Dan Williams <dcbw@redhat.com>
12176 Patch from Diffe <diffie@blazebox.homeip.net>
12177 * src/backends/NetworkManagerSlackware.c
12178 - Don't restart howl, since it's been replaced by Avahi
12179 in most distributions
12181 2006-03-27 Dan Williams <dcbw@redhat.com>
12183 Patch from Tor Krill <bugzilla@krill.nu>
12185 initscript/Makefile.am
12186 src/backends/Makefile.am
12187 src/backends/NetworkManagerArch.c
12188 initscript/Arch/Makefile.am
12189 initscript/Arch/networkmanager-dispatcher.in
12190 initscript/Arch/networkmanager.in
12191 - Add Arch Linux support, fixes gnome.org #335147
12193 2006-03-27 Dan Williams <dcbw@redhat.com>
12195 Patch from Diffe <diffie@blazebox.homeip.net>
12196 * initscript/Slackware/rc.networkmanager
12197 - update, fixed gnome.org #333368
12199 2006-03-27 Robert Love <rml@novell.com>
12201 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12202 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12204 2006-03-27 Robert Love <rml@novell.com>
12206 Patch by Jürg Billeter <j@bitron.ch>:
12207 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12209 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12210 as we prefer glibc over kernel headers, if possible.
12212 2006-03-27 Robert Love <rml@novell.com>
12214 Patch by Jon Escombe <list@dresco.co.uk>:
12215 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12216 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12217 fail, don't bail out. We don't expect all of the various WPA-EAP
12218 values to be present.
12219 * src/nm-ap-security.c: We need to match all capabilities for each
12220 encryption type, not any one of them.
12222 2006-03-27 Robert Love <rml@novell.com>
12224 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12225 restart, not reload, ypbind. Unfortunately there is no superior
12228 2006-03-24 Christopher Aillon <caillon@redhat.com>
12230 * gnome/applet/applet-notifications.c:
12231 When displaying a notification, make sure to get rid of the
12232 previous notification so as to not have competing bubbles,
12233 and stop leaking the old one.
12235 * gnome/applet/applet.c:
12236 * gnome/applet/applet.h:
12237 Add a new 'notification' member to the applet, and zero it out
12238 and free it appropriately.
12240 2006-03-23 Robert Love <rml@novell.com>
12242 Patch by j <j@bootlab.org>:
12243 * gnome/applet/applet.glade: Don't set the invisible_char property,
12244 which simply overrides the GTK default. By and by, this behavior
12245 ought to be fixed in Glade.
12247 2006-03-22 Robert Love <rml@novell.com>
12249 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12251 2006-03-22 Robert Love <rml@novell.com>
12253 Bug fix by Timo Hoenig <thoenig@suse.de>:
12254 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12255 disconnect. Otherwise, we have the daemon surviving DBUS restarts
12256 and the applet going AWOL.
12258 2006-03-22 Robert Love <rml@novell.com>
12260 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12261 preprocessor define and use it instead of open-coded the DHCP
12262 timeout, which is currently 25 seconds, everywhere.
12264 2006-03-22 Robert Love <rml@novell.com>
12266 Implement "Dynamic WEP", which is basically WPA authentication and WEP
12267 key exchange via WPA, ostensibly providing good security without
12268 requiring hardware that supports full WPA. Also, add UI elements to
12269 allow the user to select the pairwise & group cipher for WPA Enterprise
12271 * gnome/applet/applet.glade: Update glade file.
12272 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12273 key type, too, to and from gconf.
12274 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12275 wso_wpa_create_key_type_model(), noting whether we are handling PSK
12276 or EAP configuration, and in the latter case add in "Dynamic WEP" if
12277 the capabilities match.
12278 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12280 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12281 serialize from UI to DBUS.
12282 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12284 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12285 nmu_security_serialize_wpa_eap_with_cipher(), and
12286 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12287 serialize/deserialize the key type via DBUS as the new third DBUS
12289 * libnm-util/dbus-helpers.h: Update prototypes.
12290 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12291 too. If the key type is WEP104, do Dynamic WEP, which means
12292 "IEEE8021X" for "key_mgmt". Also add support for user-specified
12293 pairwise and group ciphers (fixes a FIXME).
12295 2006-03-21 Robert Love <rml@novell.com>
12297 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12298 nm_system_get_mtu(), which returns a user-provided or system-mandated
12299 MTU value for a given device, if any, or zero if no such value
12300 exists. Add nm_system_set_mtu() to set the MTU for a given device
12301 if we have a provided value.
12302 * src/nm-device.c: Set the MTU of devices.
12303 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12304 * src/backends/NetworkManagerDebian.c,
12305 src/backends/NetworkManagerGentoo.c,
12306 src/backends/NetworkManagerRedHat.c,
12307 src/backends/NetworkManagerSlackware.c: Implement stub functions.
12309 2006-03-21 Robert Love <rml@novell.com>
12311 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12312 configuration file.
12314 2006-03-17 Robert Love <rml@novell.com>
12316 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12317 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12318 it, in case it is not running in the first place. We just want its
12319 configuration reloaded. Also, do not "rcypbind stop" on device down.
12321 2006-03-15 Robert Love <rml@novell.com>
12323 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12324 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12325 label "WEP 40/128-bit" is inconsistent because the physical key size
12326 is 40 or 104-bits, to which a 24-bit initialisation vector is
12327 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
12328 to read "40/104" or "64/128". I do not care much which, but most
12329 users think of "silver" and "gold" encryption as 64 and 128-bits, so
12330 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
12331 WEP passphrase support only handles 128-bit keys, and any future
12332 64-bit passphrase support will require a new option (no way to auto-
12333 detect the target key size), explicitly label our passphrase support
12334 "WEP 128-bit Passphrase".
12336 2006-03-15 Robert Love <rml@novell.com>
12338 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12339 the system init scripts (or some other mechanism) starting it (or a
12340 compatible DBUS service) before NetworkManager runs. This means that
12341 distributions might need to update their init scripts. This fixes
12342 possible races and is quite a bit cleaner.
12343 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12344 starting the NetworkManager daemon.
12347 2006-03-14 Robert Love <rml@novell.com>
12349 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12350 before adding anything.
12352 2006-03-13 Robert Love <rml@novell.com>
12354 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12355 widgets, too, if they exist, in case the user hit the back button.
12356 Fixes a bug where the details page contains the widgets of multiple
12357 VPN modules (Novell bug #157048).
12359 2006-03-13 Robert Love <rml@novell.com>
12361 Patch by Timo Hoenig <thoenig@suse.de>:
12362 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12363 daemon survive DBUS restarts, too.
12365 2006-03-10 Robert Love <rml@novell.com>
12367 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12369 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12370 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12371 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12372 in response to "toggled" signal on new toggle.
12374 2006-03-10 Robert Love <rml@novell.com>
12376 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12377 serialization if strings are NULL, lest DBUS get angry.
12379 2006-03-10 Robert Love <rml@novell.com>
12381 * src/nm-ap-security-wpa-eap.c: Don't log the password.
12383 2006-03-09 Robert Love <rml@novell.com>
12385 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12388 2006-03-09 Dan Williams <dcbw@redhat.com>
12390 Track pending call requests in the applet, and report how many are
12391 outstanding, and how long each completed one takes.
12393 * gnome/applet/applet-dbus-devices.c
12394 gnome/applet/applet-dbus-vpn.c
12395 - Track pending calls
12397 * gnome/applet/applet-dbus.[ch]
12398 - Remove some unused enums
12399 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12400 new functions to track dbus pending calls and spit out some
12401 statistics about them
12403 2006-03-09 Robert Love <rml@novell.com>
12405 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12406 nm_ap_set_timestamp() take the second and micro-second parameters as
12407 direct arguments, which avoids both a dynamic memory allocation and a
12408 structure-to-structure copy! Add a new interface, the aptly named
12409 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12410 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12411 the return from nm_ap_get_timestamp(). New users should use the new
12412 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12413 the extreme benefit to performance.
12414 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12415 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12417 2006-03-08 Robert Love <rml@novell.com>
12419 * gnome/applet/applet.glade: Hide the password entry text with
12422 2006-03-08 Robert Love <rml@novell.com>
12424 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12425 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12426 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12427 a second argument, NMData.
12428 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12429 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12430 config files as trusted.
12432 2006-03-06 Robert Love <rml@novell.com>
12434 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12435 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12436 to exit the applet. As a sweet side-effect, idea courtesy of Chris
12437 Rivera, detect if the applet was auto-started. If so, ask the user
12438 if he or she would like to stop automatically running the applet on
12439 login. If so, disable autostart.
12441 2006-03-06 Robert Love <rml@novell.com>
12443 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
12444 directory in CFLAGS so developers can actually use NetworkManager.h.
12446 2006-03-06 Robert Love <rml@novell.com>
12448 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12449 open-coded integer constants. Add state_to_string() to map a given
12450 state to a textual description, and provide that when notifying of
12452 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12453 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
12454 this header directly, but it is currently not installed on most
12457 2006-03-05 Dan Williams <dcbw@redhat.com>
12459 Process netlink messages in device subclasses rather than in
12460 NetworkManager.c. Also add support for recognizing Wireless Events.
12463 - Find GLIB_GENMARSHAL
12466 - Since we're marshalling custom types for wireless event signals,
12467 we get to create our own marshallers using GLIB_GENMARSHAL
12469 * src/NetworkManager.c
12470 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12471 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12472 cut down somewhat. We no longer process signals here.
12473 - (nm_data_new): create the netlink monitor here, and remove a
12474 useless call to nm_policy_schedule_device_change_check()
12475 - (nm_data_free): get rid of the netlink monitor here
12476 - (nm_device_link_activated, nm_device_link_deactivated): removed
12477 - (main): don't create the netlink monitor here, let nm_data_new
12478 do that. Call nm_policy_schedule_device_change_check() right
12479 before we jump to the mainloop to figure out which device
12482 * src/NetworkManagerSystem.[ch]
12483 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12484 convert back and forth from interface names to interface
12487 * src/nm-device-802-11-wireless.c
12488 - (real_init): connect to wireless-event signals from the netlink
12490 - (nm_device_802_11_wireless_event): new function, schedule handler
12491 for wireless event signals from the netlink monitor object. We
12492 want the handler to run in the device's context
12493 - (wireless_event_helper): handle wireless-event signals from netlink
12494 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12497 * src/nm-device-802-11-wireless.h
12498 - remove unused prototype for nm_device_802_11_wireless_new
12500 * src/nm-device-802-3-ethernet.c
12501 - (real_init): new function; set up signal handlers for link events
12502 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12503 handler for netlink link activated events on device's main loop
12504 - (link_activated_helper): when we get a link activated event, set
12505 the device's link to be active
12506 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12507 handler for netlink link deactivated events on device's main loop
12508 - (link_deactivated_helper): when we get a link deactivated event, set
12509 the device's link to be inactive
12510 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12513 * src/nm-device-802-3-ethernet.h
12514 - remove unused prototype for nm_device_802_3_ethernet_new
12516 * src/nm-device.[ch]
12517 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12518 but locks the device list
12519 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12521 * src/nm-netlink-monitor.[ch]
12522 - (nm_netlink_monitor_class_install_signals): New signal
12524 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12526 - (nm_netlink_monitor_event_handler): expand for wireless events too
12528 * src/nm-marshal-main.c
12529 - Include generated nm-marshal.c and nm-marshal.h
12531 * src/nm-marshal.list
12532 - List of custom marshal functions
12534 2006-03-05 Dan Williams <dcbw@redhat.com>
12536 * gnome/applet/applet-notifications.h
12537 - Protect prototype of nma_send_event_notification() because it
12538 includes libnotify-specific types
12539 - Include libnotify/libnotify.h too, since we technically need it
12541 * gnome/applet/applet.c
12542 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12543 - (nma_show_vpn_login_banner_dialog): add some error checking
12545 2006-03-04 Dan Williams <dcbw@redhat.com>
12547 Clean up activation cancellation. Should be a lot faster now. Observed
12548 an issue with wireless devices between stage 2 and 3 of activation, where
12549 activation would be cancelled, but the device thread wouldn't notice until
12550 the supplicant association timed out. Reorganize activation such that
12551 a cancellation handler gets immediately scheduled in the device's thread,
12552 and devices have a chance to perform any custom cleanup too.
12554 * src/nm-device.[ch]
12555 - (activation_cancel_handler): new device-type-specific function
12556 for cleaning up device-type-specific stuff on cancellation
12557 - (cancel_activation): removed
12558 - (nm_device_activation_cancel): subsume functionality of
12559 real_cancel_activation, but instead of doing anything, punt
12560 operation to a handler that's run in device-thread context
12561 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12563 - (activation_handle_cancel_helper): cancellation handler run in
12564 device-thread context, calls device-type-specific cancelation,
12565 then tears down the activation request
12566 - (real_activation_cancel_handler): generic cancellation handler,
12567 deals with cancelling any in-process DHCP request
12568 - (nm_device_activate_stage1_device_prepare,
12569 nm_device_activate_stage2_device_config,
12570 nm_device_activate_stage3_ip_config_start,
12571 nm_device_activate_stage4_ip_config_get,
12572 nm_device_activate_stage4_ip_config_timeout,
12573 nm_device_activate_stage5_ip_commit): don't call
12574 nm_device_schedule_activation_handle_cancel() any more, since
12575 cancellation will have been already scheduled for us by
12576 nm_device_activation_cancel(). Just exit the function and
12577 assume that the cancel handler will be called next.
12579 * src/nm-device-802-3-ethernet.c
12580 - (real_act_stage2_config): remove; didn't do anything anyway
12582 * src/nm-device-802-11-wireless.c
12583 - (supplicant_status_cb): ensure we don't do anything if the activation
12585 - (real_activation_cancel_handler): implement; cancel user key request
12586 on activation cancellation
12588 2006-03-04 Dan Williams <dcbw@redhat.com>
12590 * src/nm-device-802-11-wireless.c
12591 - (supplicant_send_network_config): assume that drivers that don't
12592 support WPA pretty much suck, and can't handle NM scanning
12593 along with wpa_supplicant.
12595 2006-03-03 Robert Love <rml@novell.com>
12597 * configure.in: Bump version to 0.6.0.
12600 2006-03-03 Robert Love <rml@novell.com>
12602 * configure.in: Require DBUS 0.60 or later.
12604 2006-03-03 Dan Williams <dcbw@redhat.com>
12606 Fix a crash if an "Other wireless network" was chosen, failed, then
12607 chosen again from the applet's menu. If the other network wasn't
12608 noticed in a scan, it wouldn't have any capabilities, but would still
12609 be listed because the user forced the network. To fix this, we set
12610 sensible capabilities on the forced network, which will get overwritten
12611 with the correct ones if the network shows up later in a scan.
12613 * src/nm-ap-security.h
12614 - Add a new "get_default_capabilities_func" member to the
12617 * src/nm-ap-security.c
12618 - (nm_ap_security_get_default_capabilities): new function
12620 * src/nm-ap-security.c
12621 src/nm-ap-security-wep.c
12622 src/nm-ap-security-wpa-psk.c
12623 src/nm-ap-security-wpa-eap.c
12624 - Implement get_default_capabilities_func() for all, which
12625 uses the information contained in a specific NMAPSecurity
12626 object to determine default AP capabilites necessary
12627 to support that object
12629 As a secondary measure, we now prune artificial access points that fail
12630 to be activated right away. The thing failed, and we have no scan data for
12631 it, so it's pretty much useless since security information is only saved
12632 in the applets when a connection is successful.
12634 * src/NetworkManagerAPList.c
12635 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12636 not artificial. If we see it, it's no longer a figment of the
12637 user's imagination :)
12639 * src/NetworkManagerPolicy.c
12640 - (nm_policy_activation_failed): send along the failed AP if we
12643 * src/nm-device-802-11-wireless.c
12644 - (real_activation_failure_handler): remove artificial APs from
12645 the device list, because activation failed
12647 2006-03-02 Robert Love <rml@novell.com>
12649 Add support for retrieving both the per-device speed and the
12650 per-network maximum supported rate. Then change the getProperties
12651 DBUS API for both networks and devices to report this informaiton.
12652 Finally, display the information via both nm-applet and nm-tool:
12653 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12655 * gnome/applet/applet.c: Display the device's speed in the 'Connection
12656 Information' dialog.
12657 * gnome/applet/applet.glade: Update the UI to show per-device speed.
12658 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12659 network_device_get_speed() and network_device_set_speed() for
12660 retrieving and setting, respectively, a network device's current
12662 * src/nm-dbus-device.c: Send the device's speed on getProperties.
12663 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12664 in the function nm_device_802_11_wireless_get_bitrate() -- it does
12665 not matter (yet) what the units are, because we only feed it its own
12666 output. Implement SIOCGIRATE and set the per-network maximum
12667 supported rate during scanning.
12668 * src/nm-device-802-11-wireless.h: Export the function
12669 nm_device_802_11_wireless_get_bitrate().
12670 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12671 function nm_device_802_3_ethernet_get_speed() for returning an
12672 802.3's current speed, in Mb/s.
12673 * test/nm-tool.c: Display the per-device current speed, if available,
12674 and the per-network maximum rate.
12676 2006-03-02 Dan Williams <dcbw@redhat.com>
12678 * src/nm-device-802-11-wireless.c
12679 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12680 card when it gets initialized. Since devices don't get added to
12681 the scan list until they are initialized, this function wasn't
12682 setting the intitial scan interval correctly, and was leaving
12683 it at 0. This caused cards to get many scan requests in a short
12684 amount of time when they were initialized
12686 2006-03-02 Robert Love <rml@novell.com>
12688 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12689 active device. But do not do what we used to do and override the
12690 state, which caused the dreaded icon race of '05.
12692 2006-03-02 Robert Love <rml@novell.com>
12694 Commit Dan's update of my previous commit:
12695 * src/nm-device-802-11-wireless.c: Always set the mode, because the
12696 set_mode() function itself does the check. But do only set the
12697 frequency if in Ad-Hoc mode.
12699 2006-03-02 Robert Love <rml@novell.com>
12701 Patch by Brian Magnuson <magnuson@rcn.com>:
12702 * src/nm-device-802-11-wireless.c: During scanning, only set the
12703 wireless mode to infrastructure if it is not currently in
12704 infrastructure mode. For some driver, setting the mode is a costly
12705 operation, apparently.
12707 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
12709 * Makefile.am: use the correct dir for autostart mechanism.
12711 2006-02-28 Dan Williams <dcbw@redhat.com>
12713 Patch from Brian Magnuson <magnuson@rcn.com>
12714 * gnome/applet/applet.c
12715 - (nma_show_vpn_failure_dialog): fix errors left over from
12716 libnotify support changes
12718 2006-02-28 Dan Williams <dcbw@redhat.com>
12720 * src/vpn-manager/nm-vpn-act-request.[ch]
12721 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12723 - (nm_vpn_act_request_is_failed): new function; return whether or
12724 not the vpn activation request has failed
12726 * src/vpn-manager/nm-vpn-manager.c
12727 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12728 daemon to kill the connection when the activation request fails.
12729 Fixes issue where NM would get confused if the VPN activation
12730 request timed out, and would not allow further VPN connections
12733 2006-02-28 Dan Williams <dcbw@redhat.com>
12735 * gnome/applet/applet.c
12736 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12737 overlapping connection requests, disable all VPN menu items
12738 but the active VPN connection
12740 2006-02-28 Dan Williams <dcbw@redhat.com>
12742 * src/vpn-manager/nm-vpn-connection.c
12743 - (nm_vpn_connection_set_parent_device): fix C&P error which
12744 called g_object_unref() on the connection's parent device
12745 when it should have been ref-ed instead. Fixes crash with
12746 repeated vpn connect requests
12748 2006-02-28 Christopher Aillon <caillon@redhat.com>
12750 * gnome/applet/applet.glade:
12751 Mark a few strings non-translatable, since they shouldn't be.
12753 2006-02-28 Dan Williams <dcbw@redhat.com>
12755 * src/vpn-manager/nm-vpn-service.c
12756 - (nm_vpn_service_start_connection): if the vpn service daemon is
12757 already running, don't blindly ask it to connect, but wait until
12758 it's in the STOPPED state first. Fixes an assertion when user
12759 starts a second vpn connection without stopping the first.
12760 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12761 dbus service exists before continuing with the connection
12762 process, and reduce latency while waiting for it to become
12764 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12765 waiting for the vpn service daemon to become available
12766 - General log message cleanups; show progress via "Stage x of 4"
12767 rather than not telling anyone how many stages there are
12769 2006-02-28 Robert Love <rml@novell.com>
12771 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12772 * src/backends/NetworkManagerSuSE.c: Implement the interface
12773 nm_system_should_modify_resolv_conf() for SUSE.
12774 * src/backends/NetworkManagerDebian.c,
12775 src/backends/NetworkManagerGentoo.c,
12776 src/backends/NetworkManagerRedHat.c,
12777 src/backends/NetworkManagerSlackware.c: Add stub.
12778 * src/named-manager/Makefile.am: Grab includes from src.
12779 * src/named-manager/nm-named-manager.c: Allow backends to disable the
12780 automatic updating of resolv.conf. This is useful for testing,
12781 broken static configurations, and administrator lock-down.
12783 2006-02-28 Dan Williams <dcbw@redhat.com>
12785 * src/nm-device-802-11-wireless.c
12786 - Move all the wpa_supplicant-related management stuff into its
12787 own struct, just for oranization's sake
12788 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12789 to a GIOChannel/GSource
12790 - (supplicant_log_stdout): new function; grab output from the
12791 wpa_supplicant stdout pipe and write it to our logs.
12793 2006-02-27 Christopher Aillon <caillon@redhat.com>
12795 * src/nm-device-802-11-wireless.c:
12796 Err, fix thinko in my previous commit.
12798 2006-02-28 Robert Love <rml@novell.com>
12800 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12802 2006-02-28 Robert Love <rml@novell.com>
12804 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12805 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12806 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12807 deserializers are responsible for freeing the returned DBUS strings.
12809 2006-02-27 Christopher Aillon <caillon@redhat.com>
12811 * src/nm-device-802-11-wireless.c:
12812 The scan list is being pruned prematurely. We should prune after
12813 the device has gone MIA for three scans, not one. Split out the
12814 interval to realtime seconds function to better serve this.
12816 2006-02-27 Robert Love <rml@novell.com>
12818 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12819 Open the pid file O_TRUNC, so if it already exists we truncate it to
12820 zero length. Also, be more verbose about warnings generated during
12821 writing out the pid file. Finally, always write out the pid file if
12822 in daemon mode. Use "--pid-file" to override the default.
12824 2006-02-27 Robert Love <rml@novell.com>
12826 Patch by R. Vinay <rvinay@novell.com>:
12827 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12828 'last_attempt_success' when removing a VPN connection, too. (Fixes
12829 Novell bug #153628).
12831 2006-02-27 Robert Love <rml@novell.com>
12833 * gnome/applet/applet.glade: Set "activates_default" on passphrase
12834 entry so user can hit <ENTER> after entering passphrase (Novell bug
12837 2006-02-27 Dan Williams <dcbw@redhat.com>
12840 - Mass search/replace of:
12842 NMWirelessApplet -> NMApplet
12843 NM_*_WIRELESS_APPLET -> NM_*_APPLET
12844 (it ain't just for wireless anymore, ma!)
12845 - Fix duplicate function name printing when using nm_warning
12846 - wireless-applet.glade -> applet.glade
12848 2006-02-27 Dan Williams <dcbw@redhat.com>
12850 * dispatcher-daemon/NetworkManagerDispatcher.c
12851 - Accept --pid-file with a path to a pidfile, write it out on
12852 startup, and delete it on shutdown
12854 * src/NetworkManager.c
12855 - Accept --pid-file with a path to a pidfile, write it out on
12856 startup, and delete it on shutdown
12857 - Move nm_print_usage() lower
12859 * initscripts/RedHat/NetworkManager.in
12860 - Use new --pid-file option
12861 - Fix service stopping to wait a bit for NM to quit
12863 * initscripts/RedHat/NetworkManagerDispatcher.in
12864 - Use new --pid-file option
12866 2006-02-26 Dan Williams <dcbw@redhat.com>
12869 - make and install nm-crash-logger
12871 * src/nm-logging.[ch]
12872 - New files; consolidate logging and crash handling
12874 * src/nm-crash-logger.c
12876 - Standalong crashlogger for NM, grab a backtrace
12879 * src/NetworkManager.[ch]
12880 - Remove signal handling and put it into nm-logging.c
12882 2006-02-26 Dan Williams <dcbw@redhat.com>
12885 gnome/applet/Makefile.am
12886 - Conditionalize all the notify stuff
12888 Merge most of Chris Aillon's notification patch:
12890 * gnome/applet/applet-notifications.[ch]
12891 - New files; show a notification
12893 * gnome/applet/applet-dbus-devices.[ch]
12894 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12895 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12896 new functions, do the right thing when a device change occurs
12898 * gnome/applet/applet-dbus.c
12899 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12900 signals, so we can handle them specially
12902 * gnome/applet/applet.[ch]
12903 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12904 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12905 - (nmwa_notify_state): remove
12906 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12907 notification work is now done when the appropriate dbus signals
12909 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12910 defer execution of the notification/dialog stuff. That was an
12911 artifact of the previous multi-threaded nature of the applet
12912 and is now pointless.
12913 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12914 no longer needed. Function folded into applet-notifications.c
12916 * src/NetworkManagerPolicy.c
12917 - (nm_policy_activation_finish): send the AP along with the device
12918 status change signal, if the connection is wireless. Should
12919 fix the race where applet would show a connection to "unknown"
12921 2006-02-25 Robert Love <rml@novell.com>
12923 Add WPA Enterprise support:
12924 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12925 nm-gconf-wso-wpa-eap.h.
12926 * gnome/applet/nm-gconf-wso-wpa-eap.c,
12927 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
12928 serialization and deserialization.
12929 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12930 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12931 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12932 * gnome/applet/wireless-applet.glade: Add UI for configurating security
12933 settings related to WPA Enterprise.
12934 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12935 instantiate WPA Enterprise wireless-security-option.
12936 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12937 Implement WPA Enterprise wireless-security-option object.
12938 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12940 * libnm-util/cipher-wpa-psk-hex.c,
12941 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12942 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12943 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12944 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12945 including the cipher to DBUS method, and
12946 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12948 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12949 nm-ap-security-wpa-eap.h
12950 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12951 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12952 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12953 files. Implement NMAPSecurityWPA_EAP object.
12954 * src/nm-ap-security-wpa-psk.c: Cleanup.
12955 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12956 an NMAPSecurityWPA_EAP object via the method
12957 nm_ap_security_wpa_eap_new_deserialize().
12958 * src/nm-dbus-nm.c: Cleanup.
12959 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12960 WPA Enterprise support.
12962 2006-02-24 Robert Love <rml@novell.com>
12964 Patch from Timo Hoenig <thoenig@suse.de>:
12965 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12967 2006-02-24 Robert Love <rml@novell.com>
12969 Patch from Dan Winship <danw@novell.com>:
12970 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
12971 area to transparent.
12973 2006-02-21 Dan Williams <dcbw@redhat.com>
12975 * gnome/applet/applet.[ch]
12976 gnome/applet/applet-dbus.c
12977 - Implement notification support for VPN messages too
12979 2006-02-21 Dan Williams <dcbw@redhat.com>
12981 * gnome/applet/applet-dbus-info.c
12982 - Clean up warning messages to not double-print the function
12984 2006-02-21 Dan Williams <dcbw@redhat.com>
12986 * gnome/applet/applet-compat.c
12987 - (convert_one_entry): accept entries without a key_type and
12988 convert them to unencrypted networks
12990 2006-02-21 Dan Williams <dcbw@redhat.com>
12992 * gnome/libnm_glib/libnm_glib.c
12993 - Use __func__ everywhere we can
12995 - Use dbus pending calls rather than blocking
12996 - Reduce busywaits for our thread to start and stop
12997 (gnome.org #330562)
12998 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12999 stomp on others using the default shared dbus connection.
13000 Fixes #rh177546# and gnome.org #326572
13002 2006-02-21 Dan Williams <dcbw@redhat.com>
13004 Patch from Rodney Dawes <dobey@novell.com>
13006 gnome/applet/Makefile.am
13007 gnome/applet/applet.c
13008 - Add libnotify support if '--enable-notify=yes' is passed
13011 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
13013 * configure.in (ALL_LINGUAS): ko added. (Korean)
13015 2006-02-15 Robert Love <rml@novell.com>
13017 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13018 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13019 and WPA_SUPPLICANT_CONTROL_SOCKET.
13021 2006-02-15 Robert Love <rml@novell.com>
13023 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13024 information about what connection stage we are at, provide the total
13025 number of stages, e.g. "Stage 2 of 5", so users know how far along
13026 they are if they experience problems.
13028 2006-02-15 Robert Love <rml@novell.com>
13030 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13031 define to $sysconfdir.
13032 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13033 editing dialog, vpn_edit_widget, which fixes a bug where editing one
13034 type of VPN and then editing another results in a mangled dialog
13035 box containing the widgets from both VPNs (fixes Novell #150854).
13036 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13038 2006-02-14 Robert Love <rml@novell.com>
13040 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13041 syslog's file descriptor.
13043 2006-02-14 Robert Love <rml@novell.com>
13045 Fix bug around since the change to "deal with APs changing settings on
13046 us," checked in on the fifth of February in the year of the dog,
13047 wherein connecting to non-broadcast encrypted networks always fails
13048 because nm_ap_get_encrypted() always returns FALSE, even when the user
13049 provided a key, because the newly-created fake AP does not have any
13050 capabilities set, which is a sypmtom of security settings not matching
13051 capabilities (Novell bug #150784):
13052 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13053 nm_ap_add_capabilities_from_security(), which sets the given AP's
13054 capabilities off the given security settings. Also improve our
13055 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13056 NM_AUTH_CIPHER_AUTO.
13057 * src/nm-device-802-11-wireless.c: Call the function
13058 nm_ap_add_capabilities_from_security() to ensure that capabilities
13059 match newly updated security settings.
13061 2006-02-14 Robert Love <rml@novell.com>
13063 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13064 error as a string, not an integer, if possible; do not print the
13065 function name twice; always give the interface, if possible; misc.
13068 2006-02-12 Dan Williams <dcbw@redhat.com>
13070 Patch from Tom Parker <palfrey@tevp.net>
13071 * src/NetworkManagerSystem.h
13072 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13075 * src/backends/NetworkManagerDebian.c
13076 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13079 2006-02-12 Dan Williams <dcbw@redhat.com>
13081 * vpn-daemons/openvpn/intltool-extract.in
13082 vpn-daemons/openvpn/intltool-merge.in
13083 vpn-daemons/openvpn/intltool-update.in
13084 vpn-daemons/pptp/intltool-extract.in
13085 vpn-daemons/pptp/intltool-merge.in
13086 vpn-daemons/pptp/intltool-update.in
13087 - Remove from CVS, they should get created by intltoolize,
13090 2006-02-12 Dan Williams <dcbw@redhat.com>
13092 * vpn-daemons/pptp/src/pppd/patchlevel.h
13093 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13094 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13095 Makefile-defined VERSION
13097 2006-02-09 Dan Williams <dcbw@redhat.com>
13099 Patch from: Vinay A R <rvinay@novell.com>
13100 * src/vpn-manager/nm-vpn-act-request.[ch]
13101 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13102 IPSec VPNs require them for std gateway.
13103 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13104 and 'user_routes_count'
13105 - (nm_vpn_act_request_get_user_routes): new function; gets user
13106 defined routes from NMVPNActRequest object, returns the string
13109 * src/vpn-manager/nm-vpn-manager.[ch]
13110 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13111 for 'user_routes' and 'user_routes_count'
13113 * src/vpn-manager/nm-dbus-vpn.c
13114 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13115 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13117 * src/vpn-manager/nm-vpn-service.c
13118 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13121 Modifications by Dan:
13122 * src/vpn-manager/nm-vpn-service.c
13123 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13126 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13127 * vpn-daemons/pptp/src/nm-pptp-service.c
13128 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13129 - Grab user routes from dbus message
13130 - Free all string arrays we got from dbus
13132 2006-02-07 Robert Love <rml@novell.com>
13134 Patch by Stefan Seyfried <seife@suse.de>:
13135 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13137 2006-02-06 Robert Love <rml@novell.com>
13139 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13141 2006-02-06 Robert Love <rml@novell.com>
13143 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13144 test ">=" is never false. If no newline is found, we loop forever.
13145 We can just check for ">" because the following if() will see the
13146 zero-th argument if the while() gets that far.
13148 2006-02-05 Dan Williams <dcbw@redhat.com>
13150 Refine handling of non-broadcast networks.
13152 * src/NetworkManagerAPList.c
13153 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13154 property from scanned AP to the AP from the device list
13156 * src/nm-device-802-11-wireless.c
13157 - (supplicant_send_network_config): use ap_scan=1 for all networks
13158 except non-SSID-broadcasting and Ad-Hoc networks. Use
13159 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
13160 networks since those don't have APs.
13161 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13162 AP as non-SSID-broadcasting
13163 - (process_scan_results): don't handle non-SSID-broadcasting here
13165 2006-02-05 Dan Williams <dcbw@redhat.com>
13167 * src/nm-device-802-11-wireless.c
13168 - (get_supplicant_timeout): new function; return
13169 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13170 14 channels. These are likely a/b/g cards, like Atheros, and
13171 slow as hell to scan.
13172 - (supplicant_timeout_cb, supplicant_monitor_start): use
13173 get_supplicant_timeout()
13175 2006-02-05 Dan Williams <dcbw@redhat.com>
13177 * src/dhcp-manager/nm-dhcp-manager.c
13178 - Loose a commit race with Robert; make sure size check
13179 uses size of DHCP_SERVICE_LEN, not hardcoded 15
13181 2006-02-05 Robert Love <rml@novell.com>
13183 Patch by Christoph Brill <chrisbrill@gmx.net>:
13184 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13185 with DHCP_SERVICE_NAME.
13187 2006-02-05 Dan Williams <dcbw@redhat.com>
13189 Remove anything having to do with device_setup_func from the
13190 AP security objects, since it's no longer used.
13192 * src/nm-ap-security.h
13193 - Kill device_setup_func and nm_ap_security_device_setup()
13195 * src/nm-ap-security-wep.c
13196 src/nm-ap-security-wpa-psk.c
13197 - (real_device_setup): remove
13199 * src/nm-ap-security.c
13200 - (real_device_setup): remove
13201 - (nm_ap_security_device_setup): remove
13203 * src/nm-device-802-11-wireless.[ch]
13204 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13205 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13206 and done by wpa_supplicant now anyway
13208 2006-02-05 Dan Williams <dcbw@redhat.com>
13210 * src/nm-device-802-11-wireless.c
13211 - (ap_need_key, real_act_stage2_config): deal with APs changing
13212 settings on us. Previously NM would loop asking for the
13213 key but getting the same one back. Now, if the NMI-supplied
13214 cipher doesn't overlap with the scanned AP capabilities,
13215 we request a completely new key from the user.
13217 2006-02-05 Dan Williams <dcbw@redhat.com>
13219 * src/NetworkManagerUtils.c
13220 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13221 Handle newline killing better
13223 2006-02-05 Dan Williams <dcbw@redhat.com>
13225 * gnome/applet/nm-gconf-wso.c
13226 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
13227 of unencrypted access point security info.
13229 2006-02-03 Robert Love <rml@novell.com>
13231 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13232 user's encryption key, so we print the err_msg_cmd not the command,
13233 if available. So long as SUPPLICANT_DEBUG is default, this makes
13236 2006-02-03 Christopher Aillon <caillon@redhat.com>
13238 * initscript/RedHat/NetworkManagerDispatcher.in:
13239 * initscript/RedHat/NetworkManager.in: modify the pidfile location
13240 Patch from Dan Walsh <dwalsh@redhat.com>
13242 2006-02-03 Robert Love <rml@novell.com>
13244 * dispatcher-daemon/NetworkManagerDispatcher.c,
13245 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13246 but use the sysconfdir.
13248 2006-02-03 Robert Love <rml@novell.com>
13250 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13251 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13253 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13254 nm_ip4_config_get_hostname() and
13255 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13256 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
13257 leak g_strdup() result.
13259 2006-02-03 Robert Love <rml@novell.com>
13261 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13262 broadcast == TRUE. Also, copy broadcast and artificial properties
13263 from source network to destination in nm_ap_copy().
13264 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13265 since we now default new networks to non-hidden.
13267 2006-02-03 Dan Williams <dcbw@redhat.com>
13269 * gnome/applet/main.c
13270 - (main): change the NEVER->ALWAYS so we start at the
13271 beginning of the session, if being session-managed
13273 2006-02-03 Dan Williams <dcbw@redhat.com>
13275 * gnome/applet/main.c
13276 - (main): in a variation on Robert's patch, change
13277 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
13280 2006-02-02 Robert Love <rml@novell.com>
13282 * src/Makefile.am: If we aren't going to create the run directory at,
13283 uh, run-time, create it during install. Then users just doing
13284 'make install' are cool, too. While we are here, create the
13285 dispatcher.d directory, too.
13286 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13287 the exact run directory.
13288 * Makefile.am: Install nm-applet.desktop.
13290 2006-02-02 Robert Love <rml@novell.com>
13292 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13293 structure, which denotes whether or not the AP is hidden. This is a
13294 superset of 'artificial' -- we need 'broadcast' because a hidden AP
13295 can show up in the scan list. Add nm_ap_get_broadcast() and
13296 nm_ap_set_broadcast() accessor interfaces.
13297 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13298 nm_ap_set_broadcast().
13299 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13300 "getProperties" method, which denotes whether or not the given
13302 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13303 an artificial network. Set broadcast to TRUE when scanning returns
13304 an ESSID and FALSE when not.
13305 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13306 from "getProperties" method on a network. Possible TODO is to
13307 somehow display this.
13308 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13310 2006-02-02 Dan Williams <dcbw@redhat.com>
13312 * src/nm-device-802-11-wireless.c
13313 - (supplicant_interface_init): don't try to create
13314 /var/run/NetworkManager, since that should be done by
13315 the distro package. Causes problems for stuff like SELinux
13317 2006-02-02 Robert Love <rml@novell.com>
13319 Patch by Sureshkumar T <tsureshkumar@novell.com>:
13320 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13321 Check for and handle empty string for iface.
13323 2006-02-01 Robert Love <rml@novell.com>
13325 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13328 2006-01-31 Dan Williams <dcbw@redhat.com>
13330 * nm-applet.desktop
13331 - Add --sm-disable to Exec arguments, presuming that when
13332 using autostart, we don't want session management
13334 2006-01-31 Robert Love <rml@novell.com>
13336 * src/NetworkManagerAP.c: Add two new manufacturer default network
13337 names: linksys-a and linksys-g. These are found (at least) on the
13338 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13341 2006-01-31 Robert Love <rml@novell.com>
13343 * src/NetworkManagerAP.c: Optimize the function
13344 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
13345 machine code. This is the first in a series of code tweaks aiming to
13346 generate better machine code and make NetworkManager all the better.
13347 Just kidding. Who has time to go through the assembly generated for
13348 every function? I certainly don't. I have a wife, a kid, a job,
13349 a mortgage, a mistress. But this function was so bad, I was called
13350 to arms. Like the book.
13352 2006-01-31 Robert Love <rml@novell.com>
13354 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13355 AP is not broadcasting, to scan with probe request frames. Required
13356 for non-broadcast networks.
13358 2006-01-31 Robert Love <rml@novell.com>
13360 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13361 preprocessor define (still 20s). Fix message text in nm_info()
13362 s/too too/took too/.
13364 2006-01-30 Dan Williams <dcbw@redhat.com>
13366 * src/nm-device-802-11-wireless.c
13367 - (supplicant_monitor_start): increase connect/auth timeout to
13368 20 seconds from 10 seconds
13370 2006-01-30 Dan Williams <dcbw@redhat.com>
13373 - Define LOCALSTATEDIR
13375 * src/nm-device-802-11-wireless.c
13376 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13377 socket where we want it to
13379 * src/wpa_ctrl.[ch]
13380 - (wpa_ctrl_open): accept location to put local control socket
13382 2006-01-30 Robert Love <rml@novell.com>
13384 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13385 get_ip4_string() for "domain_name".
13387 2006-01-30 Robert Love <rml@novell.com>
13389 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13390 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13391 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13392 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13393 support for "Automatic" pairwise and group cipher configuration by
13394 letting wpa_supplicant handle the details. Add UI elements, new
13395 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
13396 charm. Note this does more than add a nice feature, it fixes a bug.
13397 Apparently, some people have AP's where the pairwise cipher does not
13398 match the group cipher. Insane, but true.
13400 2006-01-30 Dan Williams <dcbw@redhat.com>
13402 * gnome/applet/applet-dbus-devices.c
13403 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13404 functions, grab device driver name from NetworkManager
13405 - (nmwa_dbus_device_properties_cb): call functions to get driver
13407 * gnome/applet/applet.c
13408 - (nmwa_update_info): show driver name in Connection Information
13411 * gnome/applet/nm-device.[ch]
13412 - (network_device_get_driver, network_device_set_driver): add
13413 accessors for driver name
13415 * gnome/applet/wireless-applet.glade
13416 - Add line for driver name to Connection Information dialog
13418 * src/nm-dbus-device.c
13419 - (nm_dbus_device_get_driver): new function to return driver name
13420 - (nm_dbus_device_methods): hook up driver name function to dbus
13423 - (get_driver_name): new function
13424 - (detail_device): grab and show driver name
13426 2006-01-30 Robert Love <rml@novell.com>
13428 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13429 does not parse the markup if it is not part of the format.
13431 2006-01-30 Robert Love <rml@novell.com>
13433 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13434 FALSE, we have no security options for this dialog, so we throw up
13435 an error dialog instead of a broken passphrase dialog. Fixes
13437 * gnome/applet/wireless-security-manager.c,
13438 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13439 does not add any security options, not even NONE, print a warning
13440 and return FALSE. This let's functions constructing a dialog bail
13441 out if the device's capabilities and the network's requirements have
13444 2006-01-27 Robert Love <rml@novell.com>
13446 * configure.in: Require wpa_supplicant. Detect location of binary and
13447 use it. Override with "--with-wpa_supplicant=foo".
13448 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13449 path to wpa_supplicant but use the auto-detected or user-provided
13450 value from configure.
13452 2006-01-27 Robert Love <rml@novell.com>
13454 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13455 but the DHCP server did not return a hostname, try to look up our
13456 name via DNS and set the system hostname to that.
13458 2006-01-27 Dan Williams <dcbw@redhat.com>
13460 * src/backends/NetworkManagerRedHat.c
13461 - Add NM_CONTROLLED system network script support for RH/Fedora
13463 2006-01-27 Dan Williams <dcbw@redhat.com>
13465 * src/backends/NetworkManagerGentoo.c
13466 - (nm_system_device_get_disabled): add missing function.
13469 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
13471 * configure.in: Added vi in ALL_LINGUAS line.
13473 2006-01-26 Robert Love <rml@novell.com>
13475 * src/Makefile.am, src/kernel-types.h: Now that two different source
13476 files are feeling the crack-addled leakage of kernel types such as
13477 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13478 types in user-space -- define a header and include it as needed.
13479 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13480 * src/nm-device-802-3-ethernet.h: Remove defines.
13481 * src/wpa.c: Remove defines and include kernel-types.h.
13483 2006-01-26 Robert Love <rml@novell.com>
13485 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13488 2006-01-26 Robert Love <rml@novell.com>
13490 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13491 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13492 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13493 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13494 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13495 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13496 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13497 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13498 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13499 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13500 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13501 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13502 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13503 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13504 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13505 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13506 Kill unused variables, labels, and static functions. Don't pass
13507 string literals as the format string for printf-like functions.
13509 2006-01-25 Dan Williams <dcbw@redhat.com>
13511 * gnome/applet/wireless-applet.glade
13512 - Remove WPA2 Checkbox
13514 * gnome/applet/wireless-security-manager.c
13515 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13516 This means the Wireless Security menu now has two WPA options,
13517 one for "WPA Personal" and one for "WPA2 Personal"
13519 * gnome/applet/wso-wpa-psk.[ch]
13520 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13521 'wpa2' argument to determine WPA version to use
13522 - (append_dbus_params_func): pass stored WPA version to cipher
13523 rather than using the (removed) checkbox
13525 2006-01-24 Robert Love <rml@novell.com>
13527 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13528 before we g_strdup(), not the ultimate string.
13530 2006-01-23 Dan Williams <dcbw@redhat.com>
13532 * src/NetworkManagerAP.[ch]
13533 - (nm_ap_new_from_ap): copy original essid too
13534 - (nm_ap_unref): free original essid
13535 - (nm_ap_get_orig_essid): new function
13536 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13537 but keep original essid around too
13539 * src/nm-device-802-11-wireless.c
13540 - (supplicant_send_network_config): send wpa_supplicant the
13541 _original_ essid, and not as a string, but in hex. Should
13542 allow us to connect to more APs that use wierd character
13543 encodings for their essids
13545 * utils/nm-utils.[ch]
13546 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13547 to UTF-8. If it's not already valid UTF-8, we check LANG and
13548 use the current locale as a hint for what encoding the essid
13549 might be in. Obviously not 100% accurate, but the idea here is
13550 that if a user's locale is ex. ja_JP, they are more likely than
13551 not to be in Japan, where access points will likely be in some
13554 2006-01-23 Dan Williams <dcbw@redhat.com>
13556 * libnm-util/cipher-private.h
13557 libnm-util/cipher.c
13558 libnm-util/cipher.h
13559 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13561 2006-01-23 Robert Love <rml@novell.com>
13563 Patch by Timo Hoenig <thoenig@suse.de>:
13564 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13565 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13566 by DHCP and pass it to the backends, allowing distribution-specific
13567 behavior with respect to the DHCP-supplied hostname (if nothing else,
13568 some distributions might not want to set the hostname).
13569 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13570 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13571 Also update our NIS behavior.
13572 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13573 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13574 Add stub functions.
13576 2006-01-23 Robert Love <rml@novell.com>
13578 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13579 gnome-session does autostart. TODO: We need to install this to
13580 $prefix/share/autostart/.
13582 2006-01-22 Dan Williams <dcbw@redhat.com>
13584 * src/NetworkManagerAP.[ch]
13586 src/nm-device-802-11-wireless.c
13587 - Make nm_ap_get_essid return "const char *"
13589 2006-01-22 Dan Williams <dcbw@redhat.com>
13591 * src/NetworkManagerAP.[ch]
13592 - (nm_ap_get_matched, nm_ap_set_matched): remove
13594 * src/NetworkManagerAPList.[ch]
13595 - (nm_ap_list_diff): removed
13596 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13597 deal with access points changing essids on us
13599 * src/nm-device-802-11-wireless.c
13600 - (add_new_ap_to_device_list): move AP dbus signal logic to
13601 src/NetworkManagerAPList.c
13602 - (real_can_interrupt_activation): new function; allow interruption
13603 of device activation if we are waiting for a network key
13605 * src/NetworkManagerPolicy.c
13606 - (nm_policy_device_change_check): allow interruption of currently
13607 activating devices if the device allows it. Previous behavior
13608 would refuse to activate a just-plugged wired device if a
13609 wireless device was waiting for a key.
13611 * src/nm-device.[ch]
13612 - (nm_device_can_interrupt_activation): new function; ask devices
13613 whether their activation can be interrupted
13615 2006-01-20 Robert Love <rml@novell.com>
13617 * Makefile.am, configure.in: Add new man subdirectory.
13618 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13619 man/Makefile.am: Add man pages for NetworkManager and its
13620 crime-solving bumbling buddy, NetworkManagerDispatcher.
13621 * man/.cvsignore: Add.
13622 * initscript/Debian/NetworkManager,
13623 initscript/Gentoo/NetworkManager.in,
13624 initscript/RedHat/NetworkManager.in,
13625 initscript/RedHat/NetworkManagerDispatcher.in,
13626 initscript/SUSE/networkmanager-dispatcher.in,
13627 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13629 2006-01-20 Robert Love <rml@novell.com>
13631 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13632 instead of queuing. This prevents the running of multiple NM
13633 daemons concurrently, which does not work whatsoever and results in
13634 neither daemon working correctly. Also, we don't handle queuing and
13635 name-owner-changes, anyhow.
13637 2006-01-20 Robert Love <rml@novell.com>
13639 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13640 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13643 2006-01-19 Robert Love <rml@novell.com>
13645 * configure.in: Require hal 0.5.0 or later.
13647 2006-01-18 Robert Love <rml@novell.com>
13649 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13650 Allow backends to flag a device (in whatever distro-dependent way
13651 they so desire) as disabled. NM will ignore any such device.
13652 * src/backends/NetworkManagerDebian.c,
13653 src/backends/NetworkManagerRedHat.c,
13654 src/backends/NetworkManagerSlackware.c: Add stub function
13655 nm_system_device_get_disabled() that always returns FALSE (enabled).
13656 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13657 SUSE-specific configuration structure. Fill it in from the
13658 NM_CONTROLLED variable in the system networking scripts. If this var
13659 exists and is "no", we ignore the device.
13661 2006-01-17 Robert Love <rml@novell.com>
13663 * configure.in: Remove 'no' language. Replaced by 'nb', which is
13664 identical for NM. For a full discussion, see the thread at
13665 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13667 2006-01-17 Dan Williams <dcbw@redhat.com>
13670 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13671 function. Fixes crash when wired DHCP fails.
13673 2006-01-16 Robert Love <rml@novell.com>
13675 * src/Makefile.am: Don't install NMLoadModules
13676 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13677 from src/ to test/ as no one uses it anymore. Note that I would be
13678 fine with removing it altogether.
13680 2006-01-16 Robert Love <rml@novell.com>
13682 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13683 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13684 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13685 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13686 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13687 src/nm-netlink-monitor.c: Don't miss any initializers on structure
13688 declarations, ever.
13689 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13690 NM_STATE_DISCONNECTED is zero).
13692 2006-01-16 Robert Love <rml@novell.com>
13694 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
13695 uninitialized parameter and buffer overflow. Novell #143496.
13697 2006-01-16 Dan Williams <dcbw@redhat.com>
13699 Apply the PtP Address bits of a patch from Tim Niemueller
13701 * src/nm-ip4-config.[ch]
13702 - Add ip4_ptp_address member to object
13703 - (nm_ip4_config_copy): copy ptp address too
13704 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13706 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13707 rather than local tunnel ip address
13709 * src/vpn-manager/nm-vpn-service.c
13710 - (print_vpn_config): update for PtP address
13711 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13712 DBusMessageIters in preparation for getting routes from the VPN
13713 service daemons too
13715 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13716 - (send_config_info): update for PtP address, clean up code
13717 - (main): update for PtP address, clean up code, fix typo
13719 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13720 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13722 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13723 - (pptp_ip_up): update for PtP address
13725 * vpn-daemons/pptp/src/nm-pptp-service.c
13726 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13728 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13729 - (print_vpn_config): update for PtP address
13730 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13732 2006-01-16 Dan Williams <dcbw@redhat.com>
13734 * gnome/applet/applet.c
13735 - (nmwa_add_networks_helper): don't indicate an active network
13736 if NM is disconnected or asleep
13738 2006-01-16 Dan Williams <dcbw@redhat.com>
13740 * src/NetworkManagerPolicy.c
13741 - (nm_policy_device_change_check): switch devices if we lose the link
13742 on an ethernet device.
13744 2006-01-16 Dan Williams <dcbw@redhat.com>
13746 * gnome/applet/wso-wpa-psk-hex.[ch]
13747 - Renamed -> wso-wpa-psk.[ch]
13749 * gnome/applet/wso-wpa-psk.[ch]
13752 * gnome/applet/wso-wpa-psk-passphrase.[ch]
13753 - Removed, rolled into wso-wpa-psk.[ch]
13755 * gnome/applet/Makefile.am
13756 - Updated for above changes
13758 * gnome/applet/wireless-applet.glade
13759 - Consolidate WPA-PSK options into one notebook
13760 widget, and make dialogs invisible by default
13761 to fix screen oddities
13763 * gnome/applet/wireless-security-manager.c
13764 - (wsm_set_capabilities): create the new wpa-psk widget rather
13765 than both the old hex & passphrase ones
13767 2006-01-16 Dan Williams <dcbw@redhat.com>
13769 * gnome/applet/other-network-dialog.c
13770 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13772 2006-01-16 Dan Williams <dcbw@redhat.com>
13774 * gnome/applet/applet.c
13775 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13776 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13777 prevention to realize window before trying to get server
13780 * gnome/applet/other-network-dialog.c
13781 - (nmwa_other_network_dialog_run): fix up focus-stealing
13782 prevention to realize window before trying to get server
13785 * gnome/applet/passphrase-dialog.c
13786 - (nmi_passphrase_dialog_new): fix up focus-stealing
13787 prevention to realize window before trying to get server
13790 2006-01-16 Robert Love <rml@novell.com>
13792 Patch from Timo Hoenig <thoenig@suse.de:
13793 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13794 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13795 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13796 libnm-util/dbus-helpers.h: add checks whether headers are used
13797 within a C++ build.
13799 2006-01-16 Dan Williams <dcbw@redhat.com>
13801 * gnome/applet/wireless-security-option.c
13802 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13804 2006-01-16 Dan Williams <dcbw@redhat.com>
13806 * libnm-util/cipher-wpa-psk-passphrase.c
13807 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13808 be 8 - 63 characters inclusive
13810 2006-01-16 Dan Williams <dcbw@redhat.com>
13813 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13815 2006-01-13 Robert Love <rml@novell.com>
13817 Patch by T Sureshkumar <tsureshkuman@novell.com>:
13818 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13819 modules that do not use an interface.
13821 2006-01-13 Dan Williams <dcbw@redhat.com>
13825 - Allow subclasses to implement deactivate_quickly()
13826 - (nm_device_deactivate_quickly): call subclass
13827 deactivate_quickly() methods
13828 - (nm_device_set_active_link): small cleanups, and don't
13829 deactivate the device right away because we risk a deadlock
13830 when called from device thread, waiting for the device
13831 thread to cancel activation
13833 * src/nm-device-802-11-wireless.c
13834 - (real_deactivate_quickly): new function
13835 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13836 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13837 so that we kill the supplicant when we sleep too
13838 - (supplicant_interface_init): work around naive naming attempts of
13839 wpa_ctrl when naming sockets
13841 2006-01-13 Dan Williams <dcbw@redhat.com>
13843 * src/nm-device-802-11-wireless.c
13844 - (supplicant_cleanup): delete old device control sockets too
13845 - (supplicant_get_device_socket_path): new function to consolidate
13846 locations that need a path to a device's control socket
13848 2006-01-12 Robert Love <rml@novell.com>
13850 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13851 description so that the description is unique for each
13852 pair (device,provider). Fixes Novell #142773.
13854 2006-01-12 Dan Williams <dcbw@redhat.com>
13856 * src/nm-device-802-11-wireless.c
13857 - (supplicant_exec): ensure GError is correctly initialized
13858 Reported by Diego González (gnome.org #326708)
13860 2006-01-11 Robert Love <rml@novell.com>
13862 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13863 define if_mii(), open code the same results, and do so without any
13866 2006-01-11 Robert Love <rml@novell.com>
13868 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13869 that wso_foo_new() returned non-NULL. Instead, only append the new
13870 wso to wsm->options if the wso is non-NULL. The crux is that we
13871 assume that the relevant key types are implied by WEP and WPA as
13872 appropriate. To be sure, they should be, but we should not expect
13873 drivers to not be oozing piles of wolf fecal matter.
13875 2006-01-11 Robert Love <rml@novell.com>
13877 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13878 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13879 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13880 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13881 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13882 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13883 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13884 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13885 comparing values within DBL_EPSILON. Also fix shadowed variable
13888 2006-01-11 Dan Williams <dcbw@redhat.com>
13890 Add options for WPA2 and WPA1+CCMP (AES).
13892 * gnome/applet/wireless-applet.glade
13893 - Add UI bits for WPA+CCMP
13895 * gnome/applet/other-network-dialog.c
13896 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13897 and don't allow creation of WPA2 Ad-Hoc networks since
13898 wpa_supplicant doesn't support them
13900 * gnome/applet/wireless-security-manager.c
13901 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13902 on to the specific wireless security option being created
13904 * gnome/applet/wireless-security-option.[ch]
13905 - (wso_wpa_create_key_type_model): new utility function to create
13906 the model required for WPA Key Type combo box
13908 * gnome/applet/wso-private.h
13909 gnome/applet/wireless-security-option.h
13910 - Move private function prototypes into wso-private.h
13912 * gnome/applet/wso-wpa-psk-hex.[ch]
13913 gnome/applet/wso-wpa-psk-passphrase.[ch]
13914 - (append_dbus_params_func): get WPA version from checkbox and pass
13915 it to the dbus serialization helper
13916 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13917 key type combo changes
13918 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13921 * libnm-util/cipher-wpa-psk-hex.c
13922 libnm-util/cipher-wpa-psk-passphrase.c
13923 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13924 new function; allow the cipher to be changed after object creation
13926 * src/nm-ap-security-wpa-psk.c
13927 - (set_description): Do WPA2 descriptions too
13929 * src/nm-ap-security.c
13930 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13932 2006-01-11 Robert Love <rml@novell.com>
13934 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13935 is defined in <linux/mii.h> to return the mii_ioctl_data structure
13936 from the ifreq structure in lieu of an open coded solution. Removes
13937 a life-threatening type-punning.
13938 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13939 types, ever, whatsoever, baby.
13941 2006-01-11 Robert Love <rml@novell.com>
13943 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13944 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13945 assignments to applet->nm_state into a new nmwa_set_state() function
13946 for both cleanliness and to help debugging.
13948 2006-01-10 Robert Love <rml@novell.com>
13950 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
13951 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13952 seconds, exclusive. That is, we want to sleep x seconds such that
13955 2006-01-10 Robert Love <rml@novell.com>
13957 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13958 the attr fields according to the example in the email available at
13959 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13960 Conversely, we do have to free 'name', so we do so, fixing a leak.
13962 2006-01-10 Robert Love <rml@novell.com>
13964 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13965 sure that we close the socket!
13967 2006-01-10 Robert Love <rml@novell.com>
13969 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13970 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13971 src/nm-device.c: Fix a FIXME! Reimplement the function
13972 nm_device_update_hw_address() in device subclass variants,
13973 nm_device_802_3_ethernet_set_address() and
13974 nm_device_802_11_wireless_set_address(), hook them up, and use them.
13975 This fixes the existing bug where MAC addresses are all zeros.
13977 2006-01-10 Robert Love <rml@novell.com>
13979 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13980 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13981 option to give users ability to globally disconnect and put NM to
13982 sleep. This is useful as a 'lockdown mode' for flying, security, and
13985 2006-01-09 Robert Love <rml@novell.com>
13987 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
13988 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13989 User-space does not supply these types, so we have to define them
13990 ourselves. The relevant kernel maintainer refused to accept a patch
13991 switching these headers to the proper C99 types.
13993 2006-01-09 Dan Williams <dcbw@redhat.com>
13995 Apply Robert's 'tray icon redo' patch with fixes
13996 * gnome/applet/applet.c
13997 gnome/applet/applet.h
13998 - Instead of using a menu bar + menu item, simulate menu
13999 behavior using a popup menu. Highlight the area around
14000 the icon more like a menu too, by playing with the
14001 applet's size requisition
14003 2006-01-09 Timo Hoenig <thoenig@suse.de>
14004 * libnm-util/dbus-helpers.c
14005 libnm-util/dbus-helpers.h
14006 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14007 to 'exception_namespace' (:namespace is a keyword in
14010 2006-01-09 Dan Williams <dcbw@redhat.com>
14012 * src/NetworkManagerPolicy.c
14013 - (nm_policy_device_change_check): don't autoswitch away from
14014 Ad-Hoc networks, since there's really no concept of
14018 - (nm_dbus_nm_create_wireless_network): mark created networks
14021 * src/nm-device-802-11-wireless.c
14022 - (real_activation_success_handler): add user-created Ad-Hoc
14023 networks to the device's scan list
14025 2006-01-08 Dan Williams <dcbw@redhat.com>
14027 We now require a patch for wpa_supplicant to support Ad-Hoc
14029 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14031 * src/nm-device-802-11-wireless.c
14032 - (supplicant_send_network_config): turn off wpa_supplicant's
14033 scanning. Fixes Ad-Hoc networks.
14035 2006-01-08 Dan Williams <dcbw@redhat.com>
14037 * src/nm-ap-security.c
14038 src/nm-ap-security.h
14039 - Add a user_created argument to the write_supplicant_config
14042 * src/nm-ap-security-wep.c
14043 src/nm-ap-security-wpa-psk.c
14044 src/nm-device-802-11-wireless.c
14045 - Make Ad-Hoc mode somewhat work, at least write the
14046 correct options to wpa_supplicant
14048 2006-01-08 Dan Williams <dcbw@redhat.com>
14050 * src/nm-device-802-11-wireless.c
14051 - Remove unused code from the old device activation path
14053 2006-01-08 Dan Williams <dcbw@redhat.com>
14055 * libnm-util/dbus-helpers.c
14056 - (nmu_security_serialize_wpa_psk): pass a blank key through
14057 dbus when key == NULL
14059 2006-01-08 Dan Williams <dcbw@redhat.com>
14061 * gnome/applet/nm-gconf-wso-wpa-psk.c
14062 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14063 correct arguments to nmu_security_deserialize_wpa_psk()
14065 * src/nm-ap-security-wpa-psk.c
14066 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14067 arguments to nmu_security_deserialize_wpa_psk()
14069 2006-01-08 Dan Williams <dcbw@redhat.com>
14071 * gnome/applet/wso-wpa-psk-hex.c
14072 gnome/applet/wso-wpa-psk-passphrase.c
14073 - Hook up the append_dbus_params_func() function
14075 2006-01-08 Dan Williams <dcbw@redhat.com>
14077 * src/nm-device-802-11-wireless.c
14078 - (get_wireless_capabilities): correctly detect driver WPA
14081 2006-01-08 Dan Williams <dcbw@redhat.com>
14083 * gnome/applet/Makefile.am
14084 gnome/applet/wso-wpa-psk-hex.c
14085 gnome/applet/wso-wpa-psk-hex.h
14086 - New files, implement WPA-PSK Hex key input
14088 * gnome/applet/wireless-applet.glade
14089 - Change existing wpa-psk stuff to wpa-psk-hex
14090 - Add new widgets for wpa-psk-passphrase
14092 * gnome/applet/wireless-security-manager.c
14093 - (wsm_set_capabilities): enable WPA options
14095 * gnome/applet/wso-wpa-psk-passphrase.c
14096 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14097 for WPA-PSK passphrase
14099 2006-01-08 Dan Williams <dcbw@redhat.com>
14101 * include/NetworkManager.h
14102 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14103 applet/info-daemons
14105 * gnome/applet/passphrase-dialog.c
14106 - Use the constant. Fixes a bug where the arguments to
14107 dbus_message_new_error() were incorrect
14109 * src/nm-dbus-nmi.c
14112 2006-01-07 Dan Williams <dcbw@redhat.com>
14114 * src/nm-device-802-11-wireless.c
14115 - Add a link timeout so we allow the supplicant time to
14116 reassociate if it can, before we deactivate the card
14117 - Fix up link status and link updating so things work better
14119 2006-01-07 Dan Williams <dcbw@redhat.com>
14121 * src/nm-device-802-11-wireless.c
14122 - Switch over to using wpa_supplicant
14123 - Add a timeout of 10s for association of the supplicant
14124 - Start the monitor callback of the supplicant
14126 2006-01-07 Dan Williams <dcbw@redhat.com>
14128 * src/NetworkManagerUtils.c
14129 - (nm_utils_supplicant_request,
14130 nm_utils_supplicant_request_with_check):
14131 pass correct buffer length to wpa_ctrl_request()
14133 2006-01-07 Dan Williams <dcbw@redhat.com>
14135 * src/nm-device-private.h
14137 - (nm_device_activate_schedule_stage3_ip_config_start): make
14138 this function available to subclasses
14140 2006-01-06 Robert Love <rml@novell.com>
14142 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14143 user plugging in a network cable signals their preference for to
14144 switch, unless the user explicitly selected a wireless network and
14145 therefore signaled their preference for said wireless network over
14146 wired. In other words, do exactly what makes sense.
14148 2006-01-06 Robert Love <rml@novell.com>
14150 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14151 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14152 src/NetworkManagerWireless.h: Remove, no longer used and they keep
14153 showing up in my greps.
14155 2006-01-06 Robert Love <rml@novell.com>
14157 * gnome/applet/applet-dbus-devices.c,
14158 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14159 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14160 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
14161 New Network' both failed in the non-encrypted case because we were
14162 not appending the security options to the DBUS message. And
14163 'Connect to Other' was also failing in the encrypted case because
14164 we were not incrementing to the next DBUS parameter. All fixed.
14165 Thanks to dcdw for some debugging help.
14167 2006-01-06 Robert Love <rml@novell.com>
14169 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14170 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14171 hangup code and add per-device hangup. Tie last commit into the
14172 GNOME applet. TODO: Save, understand, and respond to the state of
14173 each dialup device.
14175 2006-01-06 Robert Love <rml@novell.com>
14177 Patch by Timo Hoenig <thoenig@suse.de>:
14178 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14179 hangup specific dialup devices.
14180 * src/backends/NetworkManagerDebian.c,
14181 src/backends/NetworkManagerGentoo.c,
14182 src/backends/NetworkManagerRedHat.c,
14183 src/backends/NetworkManagerSlackware.c: Add stub backend.
14184 * src/backends/NetworkManagerRedHat.c,
14185 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14186 hangup specific dialup devices.
14188 2006-01-04 Robert Love <rml@novell.com>
14190 * gnome/applet/applet-dbus-devices.c,
14191 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14192 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14195 2006-01-04 Dan Williams <dcbw@redhat.com>
14197 First dump of wpa_supplicant-related code. It's not hooked up to
14198 anything yet though. Thanks to Kay Sievers for
14199 wpa_supplicant_wrapper.c, which formed the basis for this work,
14200 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14204 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14206 * src/NetworkManagerUtils.[ch]
14207 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14208 Add convenience functions for talking to wpa_supplicant
14210 * src/nm-ap-security.[ch]
14211 src/nm-ap-security-wep.c
14212 src/nm-ap-security-wpa-psk.[ch]
14213 - Update and implement real_write_supplicant_config functions
14214 in all security types
14215 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14216 nm-ap-security-wpa-psk.c
14218 * src/nm-device-802-11-wireless.c
14219 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14220 wpa_supplicant_start, wpa_supplicant_interface_init,
14221 wpa_supplicant_send_network_config): add functions to talk to
14222 wpa_supplicant and write network config to it
14224 2006-01-04 Robert Love <rml@novell.com>
14226 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14227 values so that distribution-backends can differentiate between the
14228 various types (modem, ISDN, et cetera) of dialup device that they
14230 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14233 2006-01-03 Dan Williams <dcbw@redhat.com>
14235 * src/NetworkManagerPolicy.c
14237 src/nm-device-802-11-wireless.c
14238 - Move wireless-specific activation failure and success code
14239 into wireless device class
14241 2006-01-03 Robert Love <rml@novell.com>
14243 Patch by Preggna S:
14244 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14245 IPsec does not require that a VPN client be bound to an interface,
14246 due to the use of the in-kernel IPSec bits. So make the tunnel
14249 2006-01-03 Dan Williams <dcbw@redhat.com>
14251 * src/NetworkManagerAP.c
14252 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14253 the WPA IE specifies that WEP is supported
14255 * src/nm-device-802-11-wireless.c
14256 - (process_scan_results): don't mark an AP as supporting WEP
14257 if there's already other encryption capability info
14259 2006-01-03 Dan Williams <dcbw@redhat.com>
14261 * src/dhcp-manager/nm-dhcp-manager.c
14262 - Recognize activation cancellation when waiting for DHCP
14263 configuration from dhcdbd
14264 - Ignore non-dhcdbd messages
14267 - (real_act_stage3_ip_config_start): return to correct behavior
14268 of letting the dhcp-manager notify us of failure or
14269 success rather than incorrectly doing that ourselves
14270 - (nm_device_activate_stage4_ip_config_get): deal with
14271 activation cancellation a bit earlier
14273 2006-01-03 Dan Williams <dcbw@redhat.com>
14275 * src/nm-device-802-11-wireless.c
14277 - Add hooks to subclasses for stage3_ip_config_start and
14278 stage4_ip_config_timeout
14280 * src/nm-device-802-3-ethernet.c
14281 - (real_get_generic_capabilities): make devices NM-supported
14284 2006-01-03 Robert Love <rml@novell.com>
14286 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14287 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14288 latter cannot differentiate between error and the address -1; misc.
14291 2006-01-03 Dan Williams <dcbw@redhat.com>
14293 * src/NetworkManager.c
14294 - Move link-checking/probing into the device subclasses
14297 * src/nm-device.[ch]
14298 src/nm-device-802-11-wireless.c
14299 src/nm-device-802-3-ethernet.c
14300 - Do periodic link checking in device subclasses rather
14301 than being triggered from NetworkManager.c
14302 - discover_wireless_capabilities -> get_wireless_capabilities
14303 - discover_generic_capabilities -> get_generic_capabilities
14304 - Device subclass activation routines now return a value of type
14305 NMActStageReturn to indicate what step to perform next
14306 - Devices now override stage4_get_ip4_config if they choose
14308 2006-01-01 Dan Williams <dcbw@redhat.com>
14310 * src/nm-device-802-11-wireless.c
14311 - (real_init): don't chain up to parent init because we don't
14312 need to do that anymore
14315 - (discover_device_type): fix arguments to ioctl() to correctly
14316 pass interface name
14317 - (nm_device_new): consolidate generic device initialization into
14319 - (real_init): remove, consolidated to nm_device_new()
14320 - (nm_device_deactivate, real_deactivate): consolidate
14322 2006-01-01 Dan Williams <dcbw@redhat.com>
14324 * src/nm-activation-request.c
14325 - Change dhcp_state member of the NMActRequest structure
14326 from guint8 to guint32
14328 * src/dhcp-manager/nm-dhcp-manager.[ch]
14329 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14330 than guint8 to match the dbus argument. Turns out we were
14331 overwriting memory since we were passing in only a guint8
14333 2005-12-31 Dan Williams <dcbw@redhat.com>
14335 * refactor NMDevice into a GObject-based framework with separate
14336 objects for wired and wireless. The following files are no
14337 longer used but should stick around for a bit so we don't
14338 loose code through the cracks:
14339 NetworkManagerDevice.c
14340 NetworkManagerDevice.h
14341 NetworkManagerWireless.c
14342 NetworkManagerWireless.h
14344 The intent here is to allow each device type to manage its own
14345 connection & activation life-cycle, ie to allow wireless devices
14346 to interface with wpa_supplicant, etc. There's a fair bit of
14347 encapsulation breakage right now that should gradually get pulled
14348 back into each device, along with things like periodic property
14349 updates and link probing.
14351 2005-12-29 Dan Williams <dcbw@redhat.com>
14353 * include/NetworkManager.h
14354 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14355 between networks that don't have any encryption at all
14357 2005-12-29 Dan Williams <dcbw@redhat.com>
14359 * test/test-common.c
14362 - Move to a test-common subdirectory
14364 * test/libnm-util/test-ciphers.c
14365 - Move test data to test-inputs.h
14366 - Test WPA ciphers too
14368 * test/libnm-util/test-dbus-helpers.c
14369 - Test serialization/deserialization of ciphers
14371 2005-12-29 Dan Williams <dcbw@redhat.com>
14373 * gnome/applet/applet-dbus-devices.c
14374 - Replace 'enc' parameter with 'capabilities' for wireless networks
14375 in dbus calls to NM
14376 - Set capabilities on WirelessNetwork objects
14377 - Receive and save type-specific device capabilities too
14379 * gnome/applet/applet-dbus-info.c
14380 gnome/applet/applet-dbus.c
14381 - Passphrase dialog no longer a singleton; new instance gets created
14382 on each request. Updates to deal with that.
14384 * gnome/applet/applet.c
14385 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14386 than single 'encrypted' flag
14387 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14389 - Passphrase dialog updates per above
14391 * gnome/applet/menu-items.c
14392 - (network_menu_item_update): use AP capabilities to determine
14395 * gnome/applet/nm-device.[ch]
14396 - Add accessors for type-specific device capabilities
14398 * gnome/applet/other-network-dialog.c
14399 - Rework to respect device capabilities. i.e., if the device doesn't
14400 support WPA, remove that option from the security dropdown
14402 * gnome/applet/passphrase-dialog.c
14403 - Massive rework so that a new instance is created each time
14404 it's used, to support wireless network capabilities
14406 * gnome/applet/wireless-network.[ch]
14407 - Add accessors and members for wireless network capabilities
14409 * gnome/applet/wireless-security-manager.[ch]
14410 - (wsm_set_capabilities): called after creation to set which
14411 security options get shown to the user
14413 2005-12-29 Dan Williams <dcbw@redhat.com>
14415 * libnm-util/cipher-wpa-psk-passphrase.c
14416 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14419 2005-12-23 Dan Williams <dcbw@redhat.com>
14421 * gnome/applet/applet-dbus-info.c
14422 - (nmi_dbus_get_key_for_network): if there's no entry in
14423 GConf for a network, assume we want a new key
14424 - (nmi_save_network_info): serialize wireless security info
14425 into GConf so its saved
14428 - Fix warning as we may not be passed security info when
14429 connecting to a wireless network
14431 2005-12-23 Dan Williams <dcbw@redhat.com>
14433 * gnome/applet/applet-compat.c
14434 - Fix bugs in GConf entry conversion
14436 * gnome/applet/applet-dbus-info.c
14437 - (nmi_dbus_get_network_properties): handle case of the BSSID
14438 list being zero-length
14440 * libnm-util/cipher-*
14441 libnm-util/dbus-helpers.c
14442 - All ciphers must now return hashed keys as UTF-8 valid
14443 hexadecimal strings, ie "8f3dae4023". They are pushed
14444 through dbus as strings too.
14445 - Consolidate various functions that do bin->hex and hex->bin
14446 conversion into cipher.c
14448 * src/nm-ap-security-wep.c
14449 src/nm-ap-security-wpa-psk.c
14450 - Handle NULL keys since we may not know keys right away
14452 * src/nm-dbus-nmi.c
14453 - (nm_dbus_get_network_data_cb): actually advance to the start
14454 of the wireless security info before we try to deserialize it
14456 * libnm-util/test-ciphers.c
14457 - Update cipher tests for the change to UTF-8 hexadecimal strings
14459 2005-12-22 Dan Williams <dcbw@redhat.com>
14461 * gnome/applet/applet-compat.[ch]
14462 - Convert old-format GConf and keyring entries
14463 when the applet starts up.
14465 * gnome/applet/applet.c
14466 - (nmwa_get_instance): Call the conversion function
14467 on startup before dbus is initialized
14469 2005-12-22 Dan Williams <dcbw@redhat.com>
14471 * gnome/applet/applet-dbus-info.c
14472 - Remove nmi_dbus_create_error_message() in favor of
14473 nmu_create_dbus_error_message()
14474 - (nmi_dbus_get_network_properties): Error message cleanups
14475 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14476 gconf key rather than 'addresses', since they really are BSSIDs
14477 - (nmi_dbus_get_network_properties): Dispose of the security
14478 object when we're done with it
14480 2005-12-21 Dan Williams <dcbw@redhat.com>
14482 * Consolidate the info-daemon's "updateNetworkInfo" and
14483 "addNetworkAddress" calls into just "updateNetworkInfo"
14485 2005-12-21 Dan Williams <dcbw@redhat.com>
14487 * Make connection after key retrieval work again
14489 2005-12-21 Dan Williams <dcbw@redhat.com>
14491 * gnome/applet/nm-gconf-wso*
14492 - Make the serialize functions return gboolean
14495 * gnome/applet/nm-gconf-wso.c
14496 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14497 parent class handling so we don't segfault
14499 * src/NetworkManagerAP.[ch]
14500 - (nm_ap_get_capabilities): new function, return capabilities
14501 now that something can use them
14502 - (nm_ap_set_encrypted): assume that an access point supports
14503 both WEP104 and WEP40 if its set encrypted. FIXME: can
14504 we even tell whether it just supports WEP40?
14506 * src/NetworkManagerDevice.c
14507 - (ap_need_key): resurrect and update for the New World Order
14508 - (nm_device_wireless_get_activation_ap): if we're not given
14509 security info to use, create some based on access point
14512 * src/nm-ap-security-wep.c
14513 - (nm_ap_security_wep_new_from_ap): create a new object
14514 based on a certain access point's capabilities
14516 * src/nm-ap-security.c
14517 - (nm_ap_security_new_from_ap): delegate creation of a new
14518 object based on access point capabilities to a subclass
14519 - (nm_ap_security_copy_properties): don't segfault if we
14520 don't have a key yet
14523 - (nm_dbus_nm_set_active_device): provide more informative
14524 output when errors occur. Also construct security info
14525 for a given access point if we weren't given any
14527 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14529 * configure.in: Added Lithuanian to ALL_LINGUAS.
14531 2005-12-21 Dan Williams <dcbw@redhat.com>
14534 - Add some testcases for WEP ciphers
14536 2005-12-17 Dan Williams <dcbw@redhat.com>
14540 2005-12-17 Dan Williams <dcbw@redhat.com>
14542 * include/NetworkManager.h
14543 - Finally kill NMEncKeyType
14545 * gnome/applet/applet-dbus-info.c
14546 - (nmi_save_network_info): convert to NMGConfWSO
14548 * gnome/applet/nm-gconf-wso-*.c
14549 - Implement gconf serialization functions
14551 * src/NetworkManagerPolicy.c
14552 - (nm_policy_activation_finish): fix up meaning of
14553 automatic/user_requested
14555 2005-12-17 Dan Williams <dcbw@redhat.com>
14558 - More applet cleanups
14559 - Use the dbus-method-dispatcher
14561 * libnm-util/dbus-method-dispatcher.[ch]
14562 - Generalize the implementation from NM in
14563 NetworkManagerUtils.c
14565 2005-12-16 Dan Williams <dcbw@redhat.com>
14568 - Fix up the passphrase dialog to use all the
14569 WirelessSecurityOption stuff (untested)
14571 2005-12-16 Dan Williams <dcbw@redhat.com>
14573 * Move nm_gconf_get_*_helper() functions to separate files,
14574 gconf-helpers.c & gconf-helpers.h
14576 * New NMGConfWSO objects for managing the gconf side of things.
14577 Eventually these should be merged with the
14578 WirelessSecurityOption objects and a common base (that can
14579 serialize/deserialize from dbus & gconf) should be
14580 refactored out, but for now they are separate.
14582 2005-12-16 Robert Love <rml@novell.com>
14584 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14585 binaries unless they exist (nm_spawn_process() emits a warning if
14586 asked to spawn a non-existant process).
14588 2005-12-16 Dan Williams <dcbw@redhat.com>
14590 * gnome/applet/applet-dbus-info.c
14591 - Clean up lots of gconf-related code
14593 2005-12-16 Robert Love <rml@novell.com>
14595 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14597 2005-12-16 Dan Williams <dcbw@redhat.com>
14599 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14601 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14602 bits still to be done)
14604 2005-12-16 Dan Williams <dcbw@redhat.com>
14606 * Finally move info-daemon related stuff out of
14607 NetworkManagerDbus.c to nm-dbus-nmi.c
14609 2005-12-16 Dan Williams <dcbw@redhat.com>
14611 * Kill auth_method for access points, since that's now done
14612 by NMAPSecurity objects
14614 * Add a copy-constructor of sorts to NMAPSecurity
14615 (how do you do this properly in glib???)
14617 2005-12-15 Dan Williams <dcbw@redhat.com>
14619 * Exorcise encryption key hashing on APs
14620 * Use libnm-util's serialization/deserialization in both the
14622 * Random other stuff
14624 2005-12-15 Robert Love <rml@novell.com>
14626 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14627 is being added to the icon naming spec, so let's use that (Tango CVS
14628 has the icon). Because it is new, however, we fall back to the
14629 current "gnome-lockscreen" if the new icon is not around, thus
14630 behavior is the same.
14631 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
14634 2005-12-15 Robert Love <rml@novell.com>
14636 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14637 well, help to give. Couple other misc. bits.
14639 2005-12-15 Dan Williams <dcbw@redhat.com>
14641 * libnm-util/dbus-helpers.[ch]
14642 - Make this the one-stop-shop for serializing/deserializing
14643 AP & connection security settings over dbus. Both NM
14644 and applets should use this to ensure consistent dbus
14645 API going forwared.
14647 2005-12-15 Robert Love <rml@novell.com>
14649 Patch by Timo Hoenig <thoenig@suse.de>:
14650 * src/NetworkManagerDbus.c
14651 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14652 if HAL jumps off the system bus. Otherwise libdbus
14653 (dbus_connection_dispatch) will try to run the filter
14654 function of our libhal context which is already freed.
14656 2005-12-15 Alexander Shopov <ash@contact.bg>
14658 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14660 2005-12-14 Dan Williams <dcbw@redhat.com>
14662 * include/NetworkManager.h
14663 src/NetworkManagerWireless.c
14664 - Rearrange 802.11 wireless-specific capabilities again
14667 - Forgot to add wpa.c/wpa.h to the makefiles
14669 * src/NetworkManagerAP.[ch]
14670 - Implement access point capabilities and parse the
14671 WPA/RSN IEs into the capability bitfield
14672 - Switch the "encrypted" attribute to utilize the bitfield
14673 and capabilities rather than being independent
14675 * src/NetworkManagerDevice.c
14676 - (nm_device_wireless_get_activation_ap): break it horribly
14677 until we can push NMAPSecurity objects into access point
14678 objects and through the activation chain
14679 - Stuff WPA & RSN IEs into AP capabilities
14682 - Take a shot at actually making setActiveDevice work
14685 - Make the API a bit saner
14687 2005-12-14 Dan Williams <dcbw@redhat.com>
14689 * include/NetworkManager.h
14690 - Add 802.11-specific capability for 802.1x key
14694 - Pull in WPA IE and RSN IE parsing code from
14695 wpa_supplicant so we can determine access point
14697 - Move WPA-related constants here from NetworkManagerAP.h
14698 and NetworkManagerDevice.c
14700 * src/NetworkManagerDevice.c
14701 src/NetworkManagerAP.[ch]
14702 - Use WPA-related constants from wpa.h
14704 2005-12-14 Dan Williams <dcbw@redhat.com>
14706 * include/NetworkManager.h
14707 - Update and split 802.11 wireless-specific capabilities from
14708 generic device capabilities
14710 * src/NetworkManagerDevice.c
14711 src/NetworkManagerDevicePrivate.h
14712 - (nm_device_wireless_discover_capabilities): Move 802.11
14713 wireless-specific capability checks to
14714 NetworkManagerWireless.c
14715 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14716 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14718 * src/NetworkManagerWireless.[ch]
14719 - (nm_802_11_wireless_discover_capabilities): Check extended
14720 802.11 wireless-specific capabilities of the driver
14722 2005-12-14 Robert Love <rml@novell.com>
14724 Patch from Stefan Scheler <sscheler@suse.de>:
14725 * src/NetworkManagerDevice.c: call backend code to activate and
14727 * src/NetworkManagerSystem.h: add new NIS interfaces.
14728 * src/backends/NetworkManagerDebian.c,
14729 src/backends/NetworkManagerGentoo.c,
14730 src/backends/NetworkManagerRedHat.c,
14731 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14733 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14735 2005-12-14 Dan Williams <dcbw@redhat.com>
14737 * src/nm-ap-security*.[ch]
14738 - Add AP security abstractions to NetworkManager
14740 * src/nm-dbus-device.c
14741 - Begin to parse new format dbus messages from the applet
14742 and construct an AP security object from the message
14744 * libnm-util/dbus-helpers.c
14745 - Use message iters so we can append the key as a fixed
14746 array of bytes, which actually works rather than
14747 using dbus_message_append_args() as we were before
14749 2005-12-14 Dan Williams <dcbw@redhat.com>
14751 * src/NetworkManagerDbus.c
14752 gnome/applet/applet-dbus.c
14753 - Fix up dbus service replacement options. The applet
14754 should allow replacement, NM itself should not.
14756 2005-12-13 Robert Love <rml@novell.com>
14758 * src/named-manager/nm-named-manager.c: Revert earlier commit.
14759 Instead, fail silently if config is NULL by not asserting and not
14760 returning FALSE. Also, make sure we always fclose() the file.
14762 2005-12-13 Robert Love <rml@novell.com>
14764 Patch by Stefan Scheler <sscheler@suse.de>:
14765 * src/nm-ip4-config.h, src/nm-ip4-config.c,
14766 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14767 via DHCP. Still need the backends to commit the NIS domain name and
14768 and servers to yp.conf as needed.
14770 2005-12-13 Robert Love <rml@novell.com>
14772 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14773 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14775 2005-12-13 Robert Love <rml@novell.com>
14777 * src/named-manager/nm-named-manager.c: Don't unref the config until
14778 after we call rewrite_resolv_conf(), because get_last_default_domain()
14779 needs to access the config. Fixes "rewrite_resolv_conf: assertion
14780 `config != NULL' failed" assertion failures and "Could not commit DNS
14783 2005-12-12 Dan Williams <dcbw@redhat.com>
14785 * libnm-util/dbus-helpers.[ch]
14786 libnm-util/Makefile.am
14787 - new helper calls to consolidate locations where
14788 NM's setDevice method is called
14790 * gnome/applet/applet-dbus-devices.c
14791 gnome/applet/wireless-security-option.c
14793 - Implement dbus message param append function for
14794 all wireless security options
14796 2005-12-12 Robert Love <rml@novell.com>
14798 * libnm-util/cipher-wep-passphrase.c,
14799 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14800 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14801 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14802 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14803 When handling keys, we don't care what the sign is. The compiler
14804 guarantees us that we get our 8-bits, which is all we care about.
14805 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
14807 2005-12-12 Dan Williams <dcbw@redhat.com>
14809 * gnome/applet/applet-dbus-devices.[ch]
14810 gnome/applet/applet.c
14811 gnome/applet/other-network-dialog.c
14812 gnome/applet/wireless-security-manager.[ch]
14813 gnome/applet/wireless-security-option.[ch]
14815 - Push the wireless security options further into the applet
14817 2005-12-12 Robert Love <rml@novell.com>
14819 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14820 return any name servers. That is perfectly valid. (Novell #134369).
14822 2005-12-11 Dan Williams <dcbw@redhat.com>
14824 * gnome/applet/wso-*
14825 gnome/applet/wireless-security-option.*
14826 gnome/applet/Makefile.am
14827 - split each security option out so we can eventually
14828 have each one build up their own dbus message
14829 arguments to send to NM
14831 2005-12-11 Dan Williams <dcbw@redhat.com>
14833 * Make validation of the key work correctly
14835 2005-12-11 Dan Williams <dcbw@redhat.com>
14837 * Hook more bits of the Other Network Dialog up to the
14838 wireless security manager stuff, and restructure
14839 bits of the dialog so there's less code.
14841 2005-12-10 Dan Williams <dcbw@redhat.com>
14843 * gnome/applet/Makefile.am
14844 - Add libnm-util to includes
14845 - Add libnm-util to link list
14846 - Add wireless-security-common.* to compile list
14848 * gnome/applet/other-network-dialog.c
14849 - Convert to using the WirelessSecurityManager code and
14852 * gnome/applet/passphrase-dialog.c
14853 - Comment out references to stuff in the glade file that
14854 cause runtime errors until it can be fixed up
14855 to use the WirelessSecurityManager code
14857 * gnome/applet/wireless-applet.glade
14858 - Rename some widgets
14859 - Add widgets for the WirelessSecurityManager code
14860 - Remove passphrase-related stuff since that's now
14861 handled by the WirelessSecurityManager code
14863 2005-12-10 Dan Williams <dcbw@redhat.com>
14865 * gnome/applet/applet-dbus-devices.c
14866 - Print out error message details for dbus pending call callbacks
14867 - Move nmwa_dbus_update_devices() up
14869 * gnome/applet/applet-dbus-vpn.c
14870 - Print out error message details for dbus pending call callbacks
14872 2005-12-10 Dan Williams <dcbw@redhat.com>
14876 - Remove cipher-manager.* because we don't need it
14877 - Forgot to add gnome-keyring-md5 files to compile list
14879 2005-12-09 Dan Williams <dcbw@redhat.com>
14884 - Add a utility library for clients of NetworkManager. It's
14885 only targetted at applets for the moment, and contains
14886 a generalized 802.11 cipher framework for different
14887 types of keys (WEP & WPA Hex, ASCII, Passphrase)
14889 2005-12-09 Robert Love <rml@novell.com>
14891 * src/NetworkManagerDevice.c: handle error better in
14892 nm_device_set_mode().
14894 2005-12-08 Robert Love <rml@novell.com>
14896 * include/NetworkManager.h: add WPA capabilities constants
14897 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14898 or WPA2 and add the capabilities bits as appropriate.
14900 2005-12-08 Robert Love <rml@novell.com>
14902 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14903 NetworkManagerDispatcher.
14904 * configure.in, initscript/SUSE/.cvsignore,
14905 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14908 2005-12-08 Robert Love <rml@novell.com>
14910 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14912 2005-12-08 Robert Love <rml@novell.com>
14914 * src/NetworkManagerDevice.c: We want to fall back on and default to
14915 IW_MODE_AUTO, not -1, which is more in line with our previous
14916 behavior. Otherwise, we try to set the wireless mode to -1 in
14917 nm_device_set_mode().
14919 2005-12-07 Robert Love <rml@novell.com>
14921 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14922 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14923 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14924 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14925 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14926 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
14929 2005-12-07 Robert Love <rml@novell.com>
14931 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14932 supplied IP is invalid, fall back to DHCP.
14934 2005-12-07 Dan Williams <dcbw@redhat.com>
14936 * Convert NETWORK_MODE_* constants to IW_MODE_*
14937 * Make all the get_mode/set_mode functions take and return 'int'
14938 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14940 2005-12-07 Robert Love <rml@novell.com>
14942 * src/NetworkManagerDevice.c: strncpy() buffer check.
14943 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14945 2005-12-06 Dan Williams <dcbw@redhat.com>
14947 * gnome/applet/applet-dbus.c
14948 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14950 * gnome/applet/applet-dbus-vpn.c
14951 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14952 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14953 to TRUE here if stage was ACTIVATED
14955 2005-12-06 Dan Williams <dcbw@redhat.com>
14957 * Change nm_device_is_* functions to better names:
14958 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14959 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14961 2005-12-06 Dan Williams <dcbw@redhat.com>
14963 * Change naming of NMDeviceType to something more sensible:
14964 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14965 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14966 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14968 2005-12-06 Dan Williams <dcbw@redhat.com>
14970 * Move NetworkManager.h -> include/NetworkManager.h
14971 * Split out VPN stuff into include/NetworkManagerVPN.h
14972 * Fix up makefiles to include new location
14973 * Fix up sources to include NetworkManagerVPN.h
14975 2005-12-06 Dan Williams <dcbw@redhat.com>
14977 Various changes in the applet to move VPN connection "state" -> "stage",
14978 which it actually is. I'd like to change the signal as well when we
14979 break compat in the near future.
14981 2005-12-06 Dan Williams <dcbw@redhat.com>
14983 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14984 * initscript/Slackware/rc.networkmanager
14987 * src/backends/NetworkManagerSlackware.c
14988 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14991 2005-12-05 Robert Love <rml@novell.com>
14993 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14994 to free, particularly here as it just barfs.
14996 2005-12-05 Dan Williams <dcbw@redhat.com>
14998 * gnome/applet/applet-dbus.c
14999 - Work with dbus 0.6 too
15001 2005-12-03 Dan Williams <dcbw@redhat.com>
15003 * src/NetworkManagerUtils.[ch]
15004 src/nm-ip4-config.c
15005 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15006 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15008 2005-12-01 Robert Love <rml@novell.com>
15010 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15011 need a NULL for the '...' parameter, too, to fill the so-called
15014 2005-12-01 Robert Love <rml@novell.com>
15016 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15017 interface is already gone, so don't call rtnl_link_change() to down
15018 it (which will segfault, anyhow).
15020 2005-11-22 Robert Love <rml@novell.com>
15022 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15023 gateway is not set, just print a little note. Configurations without
15024 gateways are valid.
15026 2005-11-22 Robert Love <rml@novell.com>
15030 2005-11-20 Ilkka Tuohela <hile@iki.fi>
15032 * configure.in: Added Finnish translation to ALL_LINGUAS
15034 2005-11-14 Robert Love <rml@novell.com>
15036 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15037 Niemueller <tim@niemueller.de>.
15039 2005-11-08 Dan Williams <dcbw@redhat.com>
15041 Patch from Bill Moss <bmoss@clemson.edu>
15042 * src/NetworkManagerDevice.c
15043 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15044 of nm_policy_schedule_activation_finish() to prevent a
15045 race condition that causes the link to be dropped
15047 2005-11-08 Dan Williams <dcbw@redhat.com>
15049 Patch from Bill Moss <bmoss@clemson.edu>
15050 * src/NetworkManagerAPList.c
15051 src/NetworkManagerDevice.c
15052 src/NetworkManagerDbus.c
15053 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15054 we get more readable ether/mac addresses
15056 2005-11-02 Christopher Aillon <caillon@redhat.com>
15058 * gnome/applet/main.c: Don't set the restart command. This fixes
15059 the issue where the restart command was getting copies of all its
15060 arguments for each time the applet was restarted.
15062 2005-11-02 Robert Love <rml@novell.com>
15064 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15065 if the widget state differs from our saved state. This ensures we
15066 do not enter an endless loop of death and destruction. Also, this
15067 guarantees us that we enforce the widget state.
15069 2005-11-02 Robert Love <rml@novell.com>
15071 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15072 * gnome/applet/applet-dbus-devices.c: invoke the new function
15073 nmwa_enable_wireless_set_active() to ensure that the state of the
15074 'Enable Wireless' checkbox matches the daemon's state. This is a
15075 concern because the daemon remembers the state.
15077 2005-11-02 Robert Love <rml@novell.com>
15079 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15080 Enabled", as checkboxes should be actions/commands not positive
15081 statements, otherwise they are confusing in the unselected case. See
15082 examples in GNOME HIG, Chapter 6.
15084 2005-11-02 Robert Love <rml@novell.com>
15086 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
15087 show a list of wireless networks or the wireless devices or the
15088 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
15089 a bad bug: If wireless is disabled and the user picks a wireless
15090 network, NM will switch to the network, only to immediately switch
15091 back, as wireless is disabled. This also reassures people that NM
15092 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
15094 2005-11-02 Christopher Aillon <caillon@redhat.com>
15096 * gnome/applet/applet.c:
15097 * gnome/applet/applet.h:
15098 Partial backout of Dan's timeout animation patch.
15099 Timeout IDs cannot legally be 0, so revert the code in place to handle
15100 a timeout ID of 0 to denote the timeout isn't running.
15102 2005-11-02 Christopher Aillon <caillon@redhat.com>
15104 * src/NetworkManagerPolicy.c:
15105 (nm_policy_device_change_check) Clarify wireless switch nm_info text
15107 2005-10-28 Robert Love <rml@novell.com>
15109 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15110 "Import Saved Configuration..." to make it clear that importing is
15111 not the next step, but an option. As an aside, a nice TODO would be
15112 to move Importing out of the vpn-specific dialog and into the main
15113 property editor, as Importing goes with Adding, but that will require
15114 some rearchitecting of the VPN stuff I suspect.
15116 2005-10-27 Dan Williams <dcbw@redhat.com>
15118 Start using libnl. You need 1.0-pre3 or higher. Eventually
15119 we should replace most of the distro-specific backend code
15122 Get it here: http://people.suug.ch/~tgr/libnl/
15126 - Add checks for libnl pkgconfig file
15127 - Use LIBNL_LIBS & LIBNL_CFLAGS
15129 * src/NetworkManagerSystem.c
15130 src/nm-ip4-config.[ch]
15131 - Use libnl rather than ioctl() for most things
15132 - Remove unused functions
15134 2005-10-27 Robert Love <rml@novell.com>
15136 * src/backends/NetworkManagerSuSE.c: fix warning message text
15138 2005-10-27 Christopher Aillon <caillon@redhat.com>
15140 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15142 2005-10-27 Christopher Aillon <caillon@redhat.com>
15144 * gnome/applet/applet.c: The applet's about dialog can advertise our
15145 project page <http://www.gnome.org/projects/NetworkManager/>
15147 2005-10-26 Christopher Aillon <caillon@redhat.com>
15149 * gnome/applet.c: Also use translator credits if we don't have
15150 the new GtkAboutDialog (older versions of GTK+)
15152 2005-10-26 Robert Love <rml@novell.com>
15154 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15155 failure; correct usage text for "--no-daemon"
15157 2005-10-25 Dan Williams <dcbw@redhat.com>
15159 * src/NetworkManagerDevice.c
15160 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15162 - (free_process_scan_cb_data): unref the device when freeing results
15163 - (nm_device_wireless_process_scan_results): free scan results a bit later
15164 so we don't unref the device underneath ourselves
15166 2005-10-25 Dan Williams <dcbw@redhat.com>
15168 * Back out 2005-10-24 commit from Tor Krill. Patch
15169 causes nameservers never to be removed from named.
15171 2005-10-24 Dan Williams <dcbw@redhat.com>
15173 Clean up wireless scanning and wireless link probing.
15175 * src/NetworkManagerDevice.c
15176 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15177 just see if there's an activation request on the device, and check the
15178 current link against the activation request access point's ESSID.
15179 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15180 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15181 don't call process_scan_results() on zero-length data
15182 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
15183 15 seconds (from 10)
15185 2005-10-24 Dan Williams <dcbw@redhat.com>
15187 Cleanup some applet stuff:
15189 - Animation timeouts. If NM died while the applet was animating,
15190 the applet would not hide itself. This is now fixed.
15192 - Remove some dead code
15194 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15195 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15197 - Track animation timeout using a gboolean rather than the timeout's
15198 ID, since timeout IDs can legally be 0.
15200 2005-10-24 Dan Williams <dcbw@redhat.com>
15202 * src/backends/interface_parser.c
15203 - Add void to function declarations that need it
15204 to match patch from Engin AYDOGAN
15206 * src/backends/interface_parser.h
15207 - Remove unused prototype for ifparser_interfaces()
15209 Patch from Engin AYDOGAN <engin@bzzzt.biz>
15210 * src/backends/interface_parser.h:
15211 - Compile fixes for gcc 4.0.2 (add void)
15213 2005-10-24 Dan Williams <dcbw@redhat.com>
15215 Patch from Tor Krill <tor@krill.nu>
15216 * src/named-manager/nm-named-manager.c
15217 - Write more than just the first nameserver to /etc/resolv.conf
15218 - Write out valid /etc/resolv.conf on exit
15220 2005-10-21 Christopher Aillon <caillon@redhat.com>
15222 * gnome/applet/applet-dbus-vpn.c:
15223 Get rid of spurious newlines in debug console output
15225 2005-10-21 Christopher Aillon <caillon@redhat.com>
15227 * src/backends/NetworkManagerGentoo.c:
15228 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
15230 2005-10-20 Robert Love <rml@novell.com>
15232 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15233 direct comparison of floating point values, which is never correct.
15234 Also some misc. cleanup.
15236 2005-10-19 Robert Love <rml@novell.com>
15238 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15240 2005-10-19 Robert Love <rml@novell.com>
15242 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15243 sensitivity of the buttons. Specificaly, do the right thing if
15244 there are no entries.
15246 2005-10-19 Christopher Aillon <caillon@redhat.com>
15248 * configure.in: Update check for adequate wireless-tools
15249 with an AC_TRY_COMPILE for the new symbols we use.
15251 2005-10-19 Dan Williams <dcbw@redhat.com>
15253 * src/NetworkManagerDevice.c
15254 - (process_scan_results): don't drop the last (or only)
15255 access point we see
15257 2005-10-19 Christopher Aillon <caillon@redhat.com>
15259 * src/backends/NetworkManagerSlackware.c:
15260 Patch from Nico <lordllucifer@gmail.com>
15261 - Update the Slackware backend.
15263 2005-10-18 Christopher Aillon <caillon@redhat.com>
15265 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15266 if we've got GLib 2.8.0
15268 2005-10-18 Robert Love <rml@novell.com>
15270 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15271 function nm_schedule_state_change_signal_broadcast() when we
15272 deactivate a device, too.
15274 2005-10-18 Robert Love <rml@novell.com>
15276 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15277 be used uninitialized.
15279 2005-10-18 Christopher Aillon <caillon@redhat.com>
15281 * test/libnm_glib_test.c: Test unregistering, too.
15283 2005-10-17 Christopher Aillon <caillon@redhat.com>
15285 * configure.in: Bump to 0.5.0
15287 2005-10-17 Dan Williams <dcbw@redhat.com>
15290 - Remove WPA-related constants so they aren't part of the
15293 2005-10-17 Christopher Aillon <caillon@redhat.com>
15295 * gnome/applet/applet.c:
15296 * gnome/applet/applet.h:
15297 Desensitize the 'Connection Information' menu item when there is
15298 no active connection.
15300 2005-10-17 Christopher Aillon <caillon@redhat.com>
15302 * gnome/libnm_glib/libnm_glib.c:
15303 Make libnm_glib_unregister_callback () actually unregister the callback
15305 2005-10-17 Robert Love <rml@novell.com>
15307 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15308 two seconds -- tries is updated every 1/10 of a second, not every
15311 2005-10-17 Christopher Aillon <caillon@redhat.com>
15313 * gnome/applet/applet-dbus-info.c:
15314 Let D-BUS know that we haven't handled a message when we haven't.
15316 2005-10-17 Robert Love <rml@novell.com>
15318 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15319 in order to remain 64-bit clean.
15321 2005-10-17 Christopher Aillon <caillon@redhat.com>
15323 * gnome/applet/applet-dbus-info.c:
15324 Find network encryption keys asynchronously
15326 2005-10-17 Robert Love <rml@novell.com>
15328 * src/backends/NetworkManagerDebian.c,
15329 src/backends/NetworkManagerRedHat,
15330 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15333 2005-10-17 Robert Love <rml@novell.com>
15335 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15338 2005-10-17 Christopher Aillon <caillon@redhat.com>
15340 * src/NetworkManagerDevice.c: (process_scan_results)
15341 Fix logic that checks to see whether we have an ESSID.
15343 2005-10-15 Dan Williams <dcbw@redhat.com>
15345 Move scanning code into NetworkManager rather than use iwlib's
15346 iw_scan() function, so that we can figure out AP capabilities.
15349 - Add AP capability bits
15351 * src/NetworkManagerAP.[ch]
15352 - Add capability field to NMAccessPoint structure
15353 - Add WPA & RSN Information Element fields and accessor
15354 functions to NMAccessPoint
15356 * src/NetworkManagerDevice.c
15357 - Remove usage of iw_scan
15358 - Add scanning code to NetworkManager rather than use
15359 iw_scan() from iwlib
15361 * src/NetworkManagerUtils.[ch]
15362 - (nm_dispose_scan_results): remove, unused
15364 2005-10-14 Christopher Aillon <caillon@redhat.com>
15366 * gnome/libnm_glib/libnm_glib.c:
15367 * gnome/libnm_glib/libnm_glib.h:
15368 Use guint instead of gint for callback IDs.
15370 2005-10-12 Christopher Aillon <caillon@redhat.com>
15372 * gnome/applet/applet.c:
15373 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
15374 every 1000ms. It will unconditionally call nmwa_update_state which
15375 kills the existing animation timeout and registers a new one with a
15376 callback to draw a new frame every 100ms. There are 11 connecting
15377 icon frames, so the last 2 frames kept getting dropped. Only reset
15378 the animation timeout if we aren't animating.
15380 2005-10-11 Dan Williams <dcbw@redhat.com>
15382 * gnome/applet/applet-dbus-devices.c
15383 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15384 We want to grab the product & vendor from net.physical_dev
15385 rather than info.parent.
15387 2005-10-11 Dan Williams <dcbw@redhat.com>
15389 * src/NetworkManagerDevice.c
15390 - Use the driver's WE version for scanning rather than
15391 the WE version NM was compiled with. Fixes random
15392 crashes in iw_scan () in iwlib.
15394 2005-10-10 Dan Williams <dcbw@redhat.com>
15396 * Remove nm_system_load_device_modules() from backend files
15397 and from NetworkManager.c
15399 2005-10-10 Dan Williams <dcbw@redhat.com>
15401 * src/NetworkManagerPolicy.c
15402 - Fix some bugs introduced by the capabilities patch
15404 2005-10-10 Dan Williams <dcbw@redhat.com>
15406 * gnome/applet/applet-dbus-info.c
15407 - (nmi_dbus_get_network_key): hide the menu when putting up
15408 the keyring dialog. (not sure if the code is right...)
15410 2005-10-09 Dan Williams <dcbw@redhat.com>
15412 Patch from Bill Moss <bmoss@clemson.edu>
15413 * src/NetworkManagerDevice.c
15414 - (nm_device_set_user_key_for_network): don't try to set auth
15415 mode on the AP from the allowed list if it's NULL
15417 2005-10-09 Dan Williams <dcbw@redhat.com>
15419 * Replace the "driver support level" stuff with capabilities. The
15420 capability field is a bitfield that is more flexible than the
15421 old driver support level thing. It's mostly so we can easily
15422 figure out what supports WPA and what doesn't, but should be
15423 quite useful later.
15425 2005-10-09 Dan Williams <dcbw@redhat.com>
15432 - Added new "nm-tool" tool that gives quite a bit more
15435 2005-10-07 Robert Love <rml@novell.com>
15437 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15438 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15439 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15440 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15443 2005-10-07 Robert Love <rml@novell.com>
15445 * configure.in: Change our compile flags for the betterment of mankind.
15446 Add "-Wstrict-prototypes" because we comply anyhow and missing a
15447 prototype is very bad on 64-bit platforms as types default to int but
15448 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15449 "-Wmissing-declarations" to warn if we define an exported function
15450 but fail to put it in a header.
15452 2005-10-07 Robert Love <rml@novell.com>
15454 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15455 by the name nm_update_device_wireless_timeouts() and once tried,
15456 without success, to steal my pet turtle.
15458 2005-10-07 Robert Love <rml@novell.com>
15460 * Cleanup prototypes: put some functions in header files and mark
15461 others as 'static' -- feel free to invert
15462 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15463 nm_vpn_manager_vpn_connection_list_copy()
15464 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15465 nm_vpn_service_get_dbus_connection()
15466 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15467 nm_vpn_manager_vpn_connection_list_copy()
15468 * src/vpn-manager/nm-vpn-service.c: make
15469 nm_vpn_service_act_request_failed() and
15470 nm_vpn_service_stage2_daemon_wait() static
15471 * src/vpn-manager/nm-vpn-service.h: add prototype for
15472 nm_vpn_service_get_dbus_connection()
15474 2005-10-06 Christopher Aillon <caillon@redhat.com>
15476 * gnome/applet/applet.c:
15477 * gnome/applet/applet.h:
15478 * gnome/applet/icons/Makefile.am:
15479 Convey information about the current connection stage in the
15480 icons themselves instead of creating a separate progress bar.
15482 2005-10-04 Robert Love <rml@novell.com>
15484 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15485 convert an ether_addr structure's MAC into a string, because the
15486 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15487 versus 07:3B:04, while the former will not.
15489 2005-10-04 Robert Love <rml@novell.com>
15491 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15492 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15493 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15494 default route in the 'Connection Information' dialog, send primary
15495 and secondary name servers in in "getProperties" DBUS method, add
15496 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15497 secondary domain name servers are crucial pieces of information
15498 that a user might need in debugging a network problem.
15500 2005-10-04 Robert Love <rml@novell.com>
15502 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15503 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15504 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15505 default route in the 'Connection Information' dialog, send default
15506 route in "getProperties" DBUS method, add network_device_set_route(),
15507 and network_device_get_route(). The Gateway is a crucial piece of
15508 connection-related information that a user might need in debugging a
15511 2005-10-03 Robert Love <rml@novell.com>
15513 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15516 2005-10-02 Dan Williams <dcbw@redhat.com>
15518 * Shorten time taken to sleep by fastpathing bits of device deactivation
15519 necessary for sleep.
15521 * Fix issue where deactivating a device might deactivate the active
15522 VPN connection, even if the VPN was not using the device.
15524 2005-10-02 Dan Williams <dcbw@redhat.com>
15526 * gnome/applet/applet.c
15527 - Adjust signal strength -> icon mapping values slightly
15528 (so that 51% signal doesn't show a 75% icon) by adding
15529 5% to the values. ex: > 5% now shows 25% icon, > 30%
15530 shows 50% icon, etc.
15532 2005-09-29 Robert Love <rml@novell.com>
15534 * src/NetworkManager.c: removed unused variable.
15536 2005-09-28 Dan Williams <dcbw@redhat.com>
15538 Support for named + DBus, using Red Hat DBus patches for named. You
15539 can find those patches here, with "dbus" in the patch's filename:
15541 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15543 Don't forget the named dbus service file either.
15545 Instead of writing a config file and spawing a named process, NM will
15546 use an already-running dbus-enabled named if it finds one. NM will
15547 update named's forwarder configuration on the fly using dbus.
15549 If there is no dbus-enabled named running, NM will automatically fall
15550 back to writing the most-recent DNS server information to /etc/resolv.conf
15551 and calling nm_system_update_dns() to kick the system's resolver.
15553 Accordingly, all named-related configure-time options have been removed.
15555 2005-09-26 Robert Love <rml@novell.com>
15557 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15559 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15560 bug in error path if "ASKPASSWORD" is "no".
15562 2005-09-26 Robert Love <rml@novell.com>
15564 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15565 comment in /etc/resolv.conf -- ';' is not.
15567 2005-09-19 Dan Williams <dcbw@redhat.com>
15569 * src/backends/NetworkManagerRedHat.c:
15570 * src/backends/NetworkManagerDebian.c:
15571 * src/backends/NetworkManagerSlackware.c:
15572 * src/backends/NetworkManagerGentoo.c:
15573 * src/backends/NetworkManagerSUSE.c:
15574 Fix invocations of "/sbin/ip address" to use short form instead
15576 2005-09-19 Christopher Aillon <caillon@redhat.com>
15578 * src/nm-dbus-device.c: Don't assert when getting
15579 addresses of a not yet connected interface.
15581 * gnome/applet/applet.c: Free icons if loading fails.
15582 Use translator-credits so translators can make themselves known.
15584 2005-09-15 Christopher Aillon <caillon@redhat.com>
15586 * src/NetworkManagerAP.c:
15587 * src/NetworkManagerAP.h:
15588 * src/NetworkManagerDevice.c:
15589 Set a blacklist for certain common manufacturer default ESSIDs:
15590 APs with these ESSIDs are extremely likely to be completely
15591 different networks: connecting to one should not make NM
15592 auto-connect to every other AP with the same default ESSID.
15594 2005-09-12 Christopher Aillon <caillon@redhat.com>
15596 * gnome/applet/wireless-applet.glade:
15597 The passphrase entry should also activate the default
15599 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15601 * gnome/applet/applet-dbus-devices.c:
15602 * gnome/applet/applet.c:
15603 * gnome/applet/nm-device.c:
15604 * gnome/applet/nm-device.h:
15605 * src/NetworkManagerUtils.c:
15606 * src/NetworkManagerUtils.h:
15607 * src/nm-dbus-device.c:
15608 I've got a fever, and the only cure for it is less ioctl.
15609 Make NM push IP data rather than make the applet open a socket
15612 2005-09-10 Christopher Aillon <caillon@redhat.com>
15614 * gnome/applet/applet.c:
15615 * gnome/applet/applet-dbus-devices.c:
15616 * gnome/applet/applet-dbus-info.c:
15617 * gnome/applet/passphrase-dialog.c:
15618 * gnome/libnm_glib/libnm_glib.c:
15619 * gnome/vpn-properties/nm-vpn-properties.c:
15621 * src/backends/NetworkManagerRedHat.c:
15622 * src/named-manager/nm-named-manager.c:
15623 * src/NetworkManagerAPList.c:
15624 * src/NetworkManager.c:
15625 * src/NetworkManagerDbus.c:
15626 * src/NetworkManagerDevice.c:
15627 * src/NetworkManagerPolicy.c:
15628 * src/NetworkManagerSystem.c:
15629 * src/nm-dbus-device.c:
15630 * src/nm-dbus-nm.c:
15631 * src/vpn-manager/nm-vpn-manager.c:
15632 * src/vpn-manager/nm-vpn-service.c:
15633 * test/libnm_glib_test.c:
15634 * test/nminfotest.c:
15635 * test/nmtestdevices.c:
15636 Fix a bunch of 'unused variable' compiler warnings
15638 * NetworkManager.h:
15639 * gnome/applet/applet-dbus-info.c:
15640 * gnome/applet/applet-dbus-info.h:
15641 * gnome/applet/applet.c:
15642 * gnome/applet/applet.h:
15643 * src/NetworkManager.c:
15644 * src/NetworkManagerDbus.c:
15645 * src/NetworkManagerDbus.h:
15646 * src/NetworkManagerDevice.c:
15647 * src/NetworkManagerDevice.h:
15648 * src/NetworkManagerMain.h:
15649 * src/NetworkManagerWireless.c:
15650 * src/NetworkManagerWireless.h:
15651 * src/nm-dbus-nm.c:
15652 Make NetworkManager be smart about how frequently to scan
15653 based on its current state. Remove the UI for choosing when
15654 to scan. Scanning still may disabled completely by the user
15655 via the "Wireless Enabled" menu item.
15657 2005-09-09 Christopher Aillon <caillon@redhat.com>
15659 * gnome/applet/applet.c:
15660 Also overlay the vpn connecting icons onto the wired icon,
15663 * gnome/vpn-properties/nm-vpn-properties.glade:
15664 Clean up a few strings to use better grammar and proper casing.
15666 2005-09-08 Christopher Aillon <caillon@redhat.com>
15668 * gnome/applet/vpn-connection.c:
15669 * gnome/applet/vpn-connection.h:
15670 Add nmwa_vpn_connection_is_activating ()
15672 * gnome/applet/applet.c:
15673 * gnome/applet/applet.h:
15674 * gnome/applet/icons/nm-vpn-connecting*.png:
15675 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15676 the user know something's happening between clicking the VPN item and it
15677 actually being connected.
15679 2005-09-07 Christopher Aillon <caillon@redhat.com>
15681 * gnome/applet/applet-dbus-info.c: need to free attributes in the
15682 failure case as well.
15684 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
15686 * gnome/panel/eggtrayicon.[ch]:
15687 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15689 2005-09-07 Dan Williams <dcbw@redhat.com>
15691 Patch from Bill Moss <bmoss@clemson.edu>
15692 * src/applet-dbus.c
15693 - (nmwa_dbus_filter): strip whitespace from beginning
15694 and end of VPN login banner
15696 2005-09-07 Dan Williams <dcbw@redhat.com>
15698 * The great VPN Manager rewrite of 2005
15700 2005-09-07 Christopher Aillon <caillon@redhat.com>
15702 * gnome/applet/menu-items.c:
15703 * gnome/applet/nm-device.c:
15704 * gnome/applet/wireless-network.c:
15705 * gnome/libnm_glib/libnm_glib.c:
15706 * src/NetworkManagerDbusUtils.c:
15707 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15708 g_malloc0 doesn't return NULL
15710 2005-09-06 Dan Williams <dcbw@redhat.com>
15712 Patch from Tomislav Vujec <tvujec@redhat.com>
15713 * src/NetworkManagerDevice.c
15714 - (nm_get_device_by_udi): don't return a device when we
15715 actually didn't find what we were looking for
15717 2005-09-06 Christopher Aillon <caillon@redhat.com>
15719 * gnome/applet/applet-dbus-devices.c:
15720 * gnome/applet/applet-dbus-devices.h:
15721 * gnome/applet/applet-dbus.c:
15722 * src/NetworkManagerDbus.c:
15723 * src/NetworkManagerDbus.h:
15724 * src/NetworkManagerDevice.c:
15725 * src/nm-dbus-device.c:
15726 Make NM push updates about active device strength when it changes,
15727 rather than having the applet poll every 2s.
15729 2005-09-05 Christopher Aillon <caillon@redhat.com>
15731 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15732 network_device_set_strength
15734 2005-09-04 Dan Williams <dcbw@redhat.com>
15736 Patch from Bill Nottingham <notting@redhat.com>
15737 * src/NetworkManagerDevice.c
15738 - (nm_device_activation_cancel): reset the quit_activation flag
15740 2005-09-04 Dan Williams <dcbw@redhat.com>
15742 * src/nm-activation-request.c
15743 - (nm_act_request_unref): actually free the structure,
15744 which we didn't seem to be doing before
15746 2005-09-04 Dan Williams <dcbw@redhat.com>
15748 Patch from John Palmieri <johnp@redhat.com>
15749 * gnome/applet/applet-dbus-devices.c
15750 - Fix up unreffing of DBusMessage objects
15752 2005-09-04 Dan Williams <dcbw@redhat.com>
15754 Patch from John Palmieri <johnp@redhat.com>
15755 * gnome/applet/nm-device.c
15756 - (nm_device_unref): clear network_device's memory _before_ freeing it
15758 2005-09-02 Christopher Aillon <caillon@redhat.com>
15760 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15762 2005-09-02 Bill Nottingham <notting@redhat.com>
15764 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15766 2005-09-01 Dan Williams <dcbw@redhat.com>
15768 * src/NetworkManager.c
15769 - (nm_remove_device_from_list): rename to nm_remove_device
15770 - (nm_hal_device_removed): call nm_remove_device()
15772 * src/NetworkManagerDevice.c
15773 - Change the NMWirelessScanCB member 'reschedule' which
15774 wasn't used to 'force' to indicate that we need to
15775 force a scan when adding a device
15778 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15779 from the device list
15780 - (nm_dbus_nm_wake): Re-add all devices to the device list
15782 2005-09-01 Robert Love <rml@novell.com>
15784 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15785 and the check "!iface" in the error case is probably never true.
15787 2005-09-01 Dan Williams <dcbw@redhat.com>
15789 Patch from Bill Nottingham <notting@redhat.com>
15790 * src/backends/NetworkManagerRedHat.c
15791 - Add initial dialup support to Red Hat/Fedora backend
15793 2005-09-01 Dan Williams <dcbw@redhat.com>
15795 * gnome/applet/applet-dbus-devices.c
15796 - Sort both wireless networks and devices again, which got
15797 broken when removing threading
15799 2005-09-01 Christopher Aillon <caillon@redhat.com>
15801 * gnome/applet/applet.c:
15802 Only show the "Stop/Start All Wireless Devices" menuitem
15803 if we actually have wireless devices.
15805 * gnome/applet/applet-dbus-info.c:
15806 * gnome/applet/applet.c:
15807 * gnome/applet/other-network-dialog.c:
15808 * gnome/applet/vpn-password-dialog.c:
15809 Drop the gtk_dialog_run () calls in favor of connecting to
15810 "response" signals, needed now that the applet is not threaded.
15812 2005-08-31 Dan Williams <dcbw@redhat.com>
15814 Patch from Bill Moss <bmoss@clemson.edu>
15815 * src/NetworkManagerDevice.c
15816 - (nm_device_wireless_scan): fix scan timeout values
15818 2005-08-30 Dan Williams <dcbw@redhat.com>
15820 * gnome/applet/wireless-applet.glade
15821 - HIG-ify the Other Wireless Networks dialog a bit more
15822 - Fix some potential segfaults in the info dialog
15824 2005-08-30 Dan Williams <dcbw@redhat.com>
15826 * gnome/applet/applet-dbus-devices.c
15827 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15829 2005-08-30 Dan Williams <dcbw@redhat.com>
15831 * gnome/applet/applet-dbus.[ch]
15832 - Remove all the nmwa_dbus_call_method_xxxx functions since
15833 they weren't being used anyway
15835 2005-08-30 Bastien Nocera <hadess@hadess.net>
15837 * test/nmtestdevices.c: (print_usage), (main):
15838 Check the number of arguments, and fix a typo
15840 2005-08-29 Dan Williams <dcbw@redhat.com>
15842 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15843 * gnome/applet/applet.c
15844 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15846 2005-08-29 Dan Williams <dcbw@redhat.com>
15849 - Don't use threads any more. Anything that blocks
15850 (like gtk_dialog_run()) will have to get fixed up which
15851 should happen quickly. We really only had threads to make
15852 the animation smooth, and when everything got converted over
15853 to DBus Pending Calls, the need for threads kind of went away
15855 2005-08-29 Christopher Aillon <caillon@redhat.com>
15857 * gnome/applet/applet.c: Draw VPN connections as radio items
15858 since we don't yet support multiple VPNs.
15859 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15860 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15862 2005-08-29 Dan Williams <dcbw@redhat.com>
15864 Patch from j@bootlab.org
15865 - Make --without-named work
15866 - Make --with-dhcdbd work correctly
15868 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
15870 * configure.in: Added "ca" to ALL_LINGUAS.
15872 2005-08-26 Christopher Aillon <caillon@redhat.com>
15874 * Fix up VPN state handling between the applet and NetworkManager,
15875 so that the applet doesn't show a VPN as connected when one
15877 - The applet no longer has a pointer to the active VPN's
15878 name, but tracks each VPNs state individually
15879 - NM no longer has a "getActiveVPNConnection" method
15880 - NM no longer broadcasts the "VPNConnectionChange" signal
15881 - NM now broadcasts a "VPNConnectionStateChange" signal
15882 whenever the state of a VPN changes
15884 2005-08-26 Dan Williams <dcbw@redhat.com>
15886 * gnome/applet/applet-dbus-devices.c
15887 gnome/applet/applet-dbus-vpn.c
15888 - Remove calls to dbus_pending_call_ref() because we already
15889 "own" the pending call
15890 - Remove calls to dbus_pending_call_get_completed() because
15891 when we are in the callback, the pending call is completed
15894 2005-08-22 Dan Williams <dcbw@redhat.com>
15896 Patch by Bill Moss <bmoss@clemson.edu>
15897 * src/dhcp-manager/nm-dhcp-manager.c
15898 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15899 some time to send out a RELEASE if they like
15901 2005-08-22 Dan Williams <dcbw@redhat.com>
15903 Noticed by Bill Moss <bmoss@clemson.edu>
15904 * src/NetworkManagerDbus.c
15905 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15906 instead of just cancelling its activation
15908 * src/NetworkManagerDevice.c
15909 - (nm_device_deactivate): some small cleanups
15910 - (nm_device_set_user_key_for_network): deactivate the device
15911 instead of just cancelling its activation
15913 2005-08-22 Dan Williams <dcbw@redhat.com>
15915 Noticed by Bill Moss <bmoss@clemson.edu>
15916 * src/NetworkManagerDevice.c
15917 - (nm_device_wireless_scan): fix scan timeout, we were
15918 waiting way too long for scans to complete
15920 2005-08-22 Dan Williams <dcbw@redhat.com>
15922 Patch from j@bootlab.org:
15923 * src/backends/NetworkManagerDebian.c
15924 - Make the Debian backend work for static IP again
15926 2005-08-20 Christopher Aillon <caillon@redhat.com>
15928 * gnome/applet/other-network-dialog.c:
15929 The "Create New Network" and "Connect to Other Network"
15930 dialogs share alot of code, but shouldn't share a window
15931 title. Give them different ones.
15933 * gnome/applet/wireless-applet.glade:
15934 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15935 Some more minor UI tweaks.
15937 2005-08-19 Christopher Aillon <caillon@redhat.com>
15939 * gnome/applet/other-network-dialog.c:
15940 * gnome/applet/wireless-applet.glade:
15941 Also need mnemonic widgets, and underline enabled.
15943 2005-08-19 Dan Williams <dcbw@redhat.com>
15945 * vpn-daemons/vpnc/nm-vpnc-service.c
15946 - (vpnc_watch_cb): remove no-longer-relevant comment
15947 - (write_config_option): new function, helper to write
15948 config options to vpnc's stdin
15949 - (nm_vpnc_config_write): use the new helper, make the
15952 2005-08-19 Christopher Aillon <caillon@redhat.com>
15954 * gnome/applet/passphrase-dialog.c:
15955 * gnome/applet/wireless-applet.glade:
15956 Make the passphrase dialog response based, and treat
15957 responses other than OK (such as Esc, [X]) as a cancel.
15959 2005-08-18 Christopher Aillon <caillon@redhat.com>
15961 * initscript/Gentoo/NetworkManager:
15962 * initscript/RedHat/NetworkManager:
15963 * initscript/RedHat/NetworkManagerDispatcher:
15964 * initscript/SUSE/networkmanager:
15965 CVS remove these in place of .in replacements
15968 * initscript/Gentoo/NetworkManager.in:
15969 * initscript/RedHat/NetworkManager.in:
15970 * initscript/RedHat/NetworkManagerDispatcher.in:
15971 * initscript/SUSE/networkmanager.in:
15972 These scripts now are generated so they work still when
15973 NM is built using a bindir other than /usr/bin
15975 2005-08-18 Dan Williams <dcbw@redhat.com>
15977 * gnome/applet/main.c
15978 - Revert previous change for --no-session since
15979 --sm-disable does the same thing
15981 2005-08-18 Dan Williams <dcbw@redhat.com>
15983 * gnome/applet/applet-dbus-info.c
15984 - (nmi_dbus_create_error_message): new function
15985 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15986 functions. Also don't check for both device _and_ network before
15987 asking for a user's key, because we may not have gotten all our
15988 networks back from NM quite yet (due to the dbus pending calls
15989 coming in later). Fixes a hang in NM/nm-applet.
15991 * src/NetworkManagerDbus.c
15992 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15993 slightly more sane manner, even though we are still broken for
15994 certain other error conditions.
15995 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15996 to the info-daemon too
15998 * src/NetworkManagerDevice.c
15999 - Fix some debug messages to be info messages instead
16001 2005-08-18 Dan Williams <dcbw@redhat.com>
16003 * gnome/applet/main.c
16004 - Add new "--no-session" parameter that disables applet
16005 session management, ie for testing
16007 2005-08-18 Christopher Aillon <caillon@redhat.com>
16009 * gnome/applet/other-network-dialog.c:
16010 * gnome/applet/wireless-applet.glade: More mnemonics
16012 2005-08-17 Robert Love <rml@novell.com>
16014 * initscript/SUSE/networkmanager: update
16016 2005-08-17 Dan Williams <dcbw@redhat.com>
16018 * Tag NM_0_4_1_RELEASE
16020 2005-08-17 Christopher Aillon <caillon@redhat.com>
16022 * gnome/applet/applet.c: More translatable string cleanup
16025 2005-08-17 Dan Williams <dcbw@redhat.com>
16027 * gnome/applet/applet-dbus-info.c
16028 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16029 from the dbus message, which tells us to unconditionally
16030 ask the user for a new key. Otherwise, we pull the key from
16031 the keyring and return it. If we fail to get the key from the
16032 keyring, we ask the user for a new key.
16033 - (nmi_dbus_get_network_key): new function to grab the key for
16034 an essid from the keyring.
16035 - (nmi_dbus_get_network_properties): don't access the keyring here.
16036 Also, don't return any key in the dbus message.
16038 * src/NetworkManagerDbus.[ch]
16039 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16040 indicate that we unconditionally want a new key. This function
16041 is now also used to get keys from the info-daemon which are
16042 pre-stored, not just for asking the user for a new key. The
16043 "new_key" parameter indicates whether or not we wish to ask the
16044 user for a new key.
16045 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16046 info-daemon in the return message, so use NULL instead. The
16047 key will be filled in at connect time by calling
16048 nm_dbus_get_user_key_for_network()
16050 * src/NetworkManagerDevice.c
16051 - (nm_device_wireless_configure): update for "new_key" param to
16052 nm_dbus_get_user_key_for_network(). We initially set new_key
16053 to FALSE to see if we have a stored key in the info-daemon, but
16054 if the connection is unsuccessful at this stage we request a
16057 2005-08-17 Dan Williams <dcbw@redhat.com>
16059 * gnome/applet/icons/nm-no-connection.png
16060 gnome/applet/icons/nm-device-wired.png
16061 - Use Diana's new RJ45 connector icons
16063 2005-08-17 Dan Williams <dcbw@redhat.com>
16065 * src/NetworkManagerPolicy.c
16066 - (nm_policy_device_change_check): clarify switching rules if
16067 both new and old devices are valid; mainly, don't switch
16068 away from user-requested wireless connection back to a wired
16071 2005-08-17 Dan Williams <dcbw@redhat.com>
16073 * gnome/applet/Makefile.am
16074 - Relocate the applet to /usr/bin since it is no longer
16075 executed by anything, but directly by the user
16077 2005-08-17 Dan Williams <dcbw@redhat.com>
16079 Patch from Bill Moss <bmoss@clemson.edu>
16081 * gnome/applet/applet-dbus-info.[ch]
16082 - (nmi_save_network_info): save timestamp for network if it
16083 was a change requested by the user
16084 - (nmi_dbus_update_network_info): get user_requested from dbus
16085 message and pass to nmi_save_network_info()
16087 * gnome/applet/applet.c
16088 - (nmwa_update_network_timestamp): remove
16089 - (nmwa_menu_item_activate): don't set timestamp on networks
16090 here, only after a successful connect in nmi_save_network_info()
16092 * src/NetworkManagerDbus.[ch]
16093 - (nm_dbus_update_network_info): pass user_requested into the
16096 * src/NetworkManagerPolicy.c
16097 - (nm_policy_activation_finish): pass user_requested to
16098 nm_dbus_update_network_info()
16100 2005-08-16 Robert Love <rml@novell.com>
16102 * gnome/applet/applet.c: Better "Dial Up" menu item.
16104 2005-08-16 Robert Love <rml@novell.com>
16106 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16107 "Connection Information" menu item.
16109 2005-08-16 Dan Williams <dcbw@redhat.com>
16111 Patch from j@bootlab.org
16112 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16114 * configure.in: allow specifying the path to dhcdbd
16116 2005-08-16 Robert Love <rml@novell.com>
16118 Patch from j@bootlab.org
16119 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16120 src/backends/interface_parser.h: Debian dialup support.
16122 2005-08-16 Christopher Aillon <caillon@redhat.com>
16124 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16125 * gnome/applet/applet.c: Add some mnemonics for VPNC
16127 * vpn-daemons/.cvsignore: fix this up a little bit
16129 2005-08-16 Robert Love <rml@novell.com>
16131 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16134 2005-08-16 Christopher Aillon <caillon@redhat.com>
16136 * gnome/applet/applet.c: Split markup out of translatable strings
16137 and clean up logic a little bit. (fixes #309012)
16139 2005-08-15 Christopher Aillon <caillon@redhat.com>
16141 * gnome/vpn-properties/nm-vpn-properties.c:
16142 * gnome/vpn-properties/nm-vpn-ui-interface.h:
16143 * vpn-daemons/vpnc/properties/nm-vpnc.c:
16144 Makeshift fix to remove newlines from translatable strings.
16145 Note that we now return an allocated string, so callers of
16146 get_confirmation_details () must now call g_free () on the
16147 result. (fixes #309033).
16149 2005-08-12 Robert Love <rml@novell.com>
16151 * gnome/applet/applet-dbus.c: remove newlines from translatable
16152 strings--not needed here anyway. (fix b.g.o #309011)
16153 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16155 2005-08-11 Robert Love <rml@novell.com>
16157 * gnome/applet/applet.c: mark string as translatable.
16159 2005-08-11 Robert Love <rml@novell.com>
16161 * initscript/SUSE/networkmanager: update.
16163 2005-08-11 Dan Williams <dcbw@redhat.com>
16165 * src/nm-dhcp-manager.c
16166 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16167 an gateway returned from DHCP, try to use the address of the DHCP
16168 server as the gateway instead. Found by Ralf Ertzinger.
16170 2005-08-10 Robert Love <rml@novell.com>
16172 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16173 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16175 2005-08-10 Dan Williams <dcbw@redhat.com>
16177 Patch from Bill Moss <bmoss@clemson.edu>
16178 * Consolidate writes of access point information updates to the info daemon
16179 so that we only do it when the connection to the access point was
16180 successful. Also consolidates updates to GConf in the Gnome applet.
16182 * src/nm-netlink-monitor.c
16183 - Silence compile warning when calling g_object_new()
16185 2005-08-08 Dan Williams <dcbw@redhat.com>
16187 Patch from Steev <steev@steev.net>:
16188 * src/backends/NetworkManagerGentoo.c
16189 - Stub new dialup backend functions
16191 2005-08-08 Dan Williams <dcbw@redhat.com>
16193 Patch from Colin Slater:
16194 * src/backends/NetworkManagerGentoo.c
16195 - (nm_system_update_dns): Fix exit status check for restarting
16198 2005-08-05 Robert Love <rml@novell.com>
16200 * NetworkManager.h,
16201 gnome/applet/applet-dbus-devices.c,
16202 gnome/applet/applet-dbus-devices.h,
16203 gnome/applet/applet-dbus.c,
16204 gnome/applet/applet.c,
16205 gnome/applet/applet.h,
16206 src/NetworkManager.c,
16207 src/NetworkManagerMain.h,
16208 src/NetworkManagerSystem.h,
16209 src/backends/NetworkManagerRedHat.c,
16210 src/backends/NetworkManagerSuSE.c,
16211 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16213 2005-08-05 Robert Love <rml@novell.com>
16215 * gnome/applet/other-network-dialog.c: default the adhoc network to the
16216 machine's hostname to make adhoc creation idiot-proof.
16218 2005-08-04 Robert Love <rml@novell.com>
16220 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16223 2005-08-04 Dan Williams <dcbw@redhat.com>
16225 * gnome/applet/applet-dbus-info.c
16226 gnome/applet/applet-dbus-info.h
16227 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16228 to store key, key type, and auth method rather than just auth method
16229 - (nmi_dbus_update_network_info): new function
16230 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16232 * gnome/applet/passphrase-dialog.c
16233 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16234 of saving the info ourselves
16236 * gnome/libnm_glib/libnm_glib.c
16237 - Remove the stupid version check for dbus
16239 * src/NetworkManagerAP.c
16240 src/NetworkManagerAP.h
16241 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16243 * src/NetworkManagerDbus.c
16244 src/NetworkManagerDbus.h
16245 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16246 more than just the auth method
16248 * src/NetworkManagerDevice.c
16249 - Update network info at the appropriate times
16251 2005-07-29 Ray Strode <rstrode@redhat.com>
16253 * src/NetworkManager.c (nm_info_handler): don't use input as format
16254 string (Spotted by Ian Jackson).
16256 2005-07-27 Dan Williams <dcbw@redhat.com>
16260 - Random cleanups of spacing
16262 * gnome/applet/applet.h
16263 gnome/applet/other-network-dialog.c
16264 gnome/applet/passphrase-dialog.c
16265 - Conslidate usage of NMWAEncryptionKeyTypes enum
16267 Patch from Bill Moss:
16268 - Make Other Wireless Networks work again with encryption keys
16270 2005-07-26 Dan Williams <dcbw@redhat.com>
16272 Patch from Steev <steev@steev.net>:
16273 * src/backends/NetworkManagerGentoo.c
16274 src/backends/Makefile.am
16275 - Fix up Gentoo backend
16277 2005-07-26 Robert Love <rml@novell.com>
16279 * src/backends/NetworkManagerSuSE.c: misc. cleanup
16281 2005-07-25 Robert Love <rml@novell.com>
16283 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16284 in the same group as the wireless networks, since they are all
16285 mutually exclusive.
16287 2005-07-24 Ray Strode <rstrode@redhat.com>
16289 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
16290 remove unneeded NULL arg from g_object_new(). Any
16291 warnings caused by not having the extra NULL are just a
16292 result of a bug in glib 2.7.0 - 2.7.2.
16294 2005-07-22 Robert Love <rml@novell.com>
16296 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16298 2005-07-22 Robert Love <rml@novell.com>
16300 * src/nm-netlink-monitor.c: g_object_new() needs at least three
16301 parameters (gcc 4.0.2 warning fix).
16303 2005-07-18 Robert Love <rml@novell.com>
16305 Suggested by Aaron Bockover (abockover@novell.com)
16306 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16308 * gnome/applet/passphrase-dialog.c: ditto
16309 * gnome/applet/wireless-applet.glade: ditto
16311 2005-07-13 Dan Williams <dcbw@redhat.com>
16313 Patch from Ray Strode <halfline@gmail.com>
16314 * vpn-daemons/vpnc/nm-vpnc-service.c
16315 - Don't let vpnc daemonize, fixes some races with PID file reading
16317 2005-07-13 Dan Williams <dcbw@redhat.com>
16319 Patch from Ray Strode <halfline@gmail.com>
16320 * Random cleanups for strict CFLAGS
16322 2005-07-07 Dan Williams <dcbw@redhat.com>
16324 Patch from Derek Atkins <warlord@MIT.EDU>
16325 * src/nm-dbus-net.c:
16326 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16328 2005-07-07 Dan Williams <dcbw@redhat.com>
16330 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16331 * src/backends/NetworkManagerGentoo.c
16332 - Gentoo backend Static IP nameserver fixes
16333 - General Gentoo backend goodness
16335 2005-07-07 Dan Williams <dcbw@redhat.com>
16337 Patch from Bastien Nocera:
16338 * gnome/applet/applet.c
16339 - Fix up error reporting when icons or glade files are missing
16341 2005-07-07 Robert Love <rml@novell.com>
16343 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16344 are not any VPN connections above it.
16346 2005-07-07 Robert Love <rml@novell.com>
16348 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16350 2005-07-05 Robert Love <rml@novell.com>
16352 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16355 2005-07-05 Robert Love <rml@novell.com>
16357 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16358 on wired or unencrypted wireless.
16360 2005-07-01 Robert Love <rml@novell.com>
16362 * src/NetworkManagerSystem.c: Print the error via strerror().
16364 2005-06-30 Robert Love <rml@novell.com>
16366 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16367 then exit if the glade file is not found. currently the application
16370 2005-06-30 Robert Love <rml@novell.com>
16372 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16373 explicitly up all interfaces on wake from sleep.
16375 2005-06-30 Robert Love <rml@novell.com>
16377 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16378 with information about the currently active connection.
16379 * gnome/applet/applet.h: (ditto)
16380 * gnome/applet/wireless-applet.glade: (ditto), new file
16382 2005-06-30 Robert Love <rml@novell.com>
16384 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16385 * src/nm-dbus-nm.c: print when we sleep and wake up.
16386 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16387 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16388 in /sbin unless D-BUS is, folks).
16389 * README: update to reflect nm-applet replacing NetworkManagerInfo.
16391 2005-06-27 Robert Love <rml@novell.com>
16393 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16396 2005-06-27 Robert Love <rml@novell.com>
16398 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16401 2005-06-26 Robert Love <rml@novell.com>
16403 * src/NetworkManagerDevice.c: be specific about which device in
16406 2005-06-23 Adam Weinberger <adamw@gnome.org>
16408 * src/nm-netlink-monitor.c: correct spelling error.
16410 2005-06-23 Robert Love <rml@novell.com>
16412 * gnome/applet/applet-dbus-info.c: gnome keyring support!
16413 * gnome/applet/passphrase-dialog.c: more of that keyring!
16415 2005-06-23 Robert Love <rml@novell.com>
16417 * configure.in: remove extraneous GNOMEKEYRING directives.
16418 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16419 * gnome/applet/applet.c: nmwa_icons_init: make style local.
16420 * gnome/applet/passphrase-dialog.c: whitespace.
16422 2005-06-23 Robert Love <rml@novell.com>
16424 * src/NetworkManagerDevice.c: division in assignment was flipped.
16426 2005-06-23 David Zeuthen <david@fubar.dk>
16428 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16429 signal to the child to indicate that we got what we wanted when we
16430 see two new-lines right after each other.
16431 (nmwa_vpn_request_password): Pass a structure with several members
16432 instead of just the passwords
16434 2005-06-23 Dan Williams <dcbw@redhat.com>
16436 * src/NetworkManager.c
16437 src/NetworkManagerMain.h
16438 - (nm_get_hal_ctx): new function, move Hal initialization code here
16439 - (nm_hal_init): new function, init libhal context then add devices
16440 - (nm_hal_deinit): new function, clean up libhal context
16441 - (nm_data_free): Move Hal cleanup here
16442 - (main): check whether Hal is running, and if so, get a list of
16443 network devices from it
16445 * src/NetworkManagerDbus.c
16446 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16447 and when it appears, get a list of network devices from it. If
16448 Hal goes away, clean up the libhal context
16450 2005-06-22 Robert Love <rml@novell.com>
16452 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16453 permissions of scripts before executing.
16455 2005-06-21 Robert Love <rml@novell.com>
16457 * initscript/SUSE/networkmanager: update.
16458 * src/backends/NetworkManagerSuSE.c: cleanup.
16460 2005-06-21 Robert Love <rml@novell.com>
16462 * gnome/applet/applet.c: use menu mnemonics.
16463 * gnome/applet/menu-items.c: (ditto)
16465 2005-06-21 Robert Love <rml@novell.com>
16467 * applet/applet-dbus-devices.c: mark non-static functions static.
16468 * applet/applet-dbus-vpn.c: (ditto)
16469 * applet/applet.c: (ditto)
16470 * applet/nm-device.h: (ditto)
16471 * applet/other-network-dialog.c: (ditto)
16472 * applet/passphrase-dialog.c: (ditto)
16473 * NetworkManager.c: (ditto)
16474 * NetworkManagerDbus.c: (ditto)
16475 * NetworkManagerDevice.c: (ditto)
16476 * NetworkManagerPolicy.c: (ditto)
16477 * NetworkManagerUtils.c: (ditto)
16478 * NetworkManagerWireless.c: (ditto)
16479 * NetworkManagerWireless.h: (ditto)
16480 * nm-netlink-monitor.c: (ditto)
16481 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16482 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16483 * autoip.c: include autoip.h.
16484 * autoip.h: new file. define get_autoip().
16485 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16486 * NetworkManagerDbus.h: remove duplicate definitions.
16488 2005-06-20 Robert Love <rml@novell.com>
16490 * Makefile.am: Add missing intltool-foo.in generated files to
16491 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16492 with the start of stuff to cleanup on 'distclea'.
16493 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16494 stuff right and 'distcheck' works.
16495 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16496 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16497 Makefile.am for each. And systray/Makefile needs to be redone.
16499 2005-06-19 Dan Williams <dcbw@redhat.com>
16501 * src/NetworkManagerDevice.c
16502 - (nm_device_wireless_process_scan_results): scan every 20s when
16503 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16505 2005-06-19 Dan Williams <dcbw@redhat.com>
16507 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16509 2005-06-18 Ray Strode <rstrode@redhat.com>
16511 * src/nm-netlink-monitor.c
16512 (nm_netlink_monitor_event_handler): check for the presence
16513 of either error condition not both.
16515 (nm_netlink_monitor_error_handler): emit error signal if
16518 (nm_netlink_monitor_event_handler),
16519 (nm_netlink_monitor_error_handler),
16520 (nm_netlink_monitor_disconnect_handler): if an
16521 assertion fails disconnect the event handler to prevent
16524 * src/nm-netlink-monitor.h: add new error condition
16525 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16527 2005-06-18 Ray Strode <rstrode@redhat.com>
16529 * src/nm-netlink-monitor.c
16530 (nm_netlink_monitor_event_handler): remove bogus < 0
16531 check on unsigned value and return early if the kernel
16532 didn't send any bytes.
16534 2005-06-17 Robert Love <rml@novell.com>
16536 * initscript/SUSE/networkmanager: Change the Provides and default
16539 2005-06-16 Dan Williams <dcbw@redhat.com>
16541 Patch from Robert Love:
16542 * gnome/applet/applet.c
16543 - Beautify some applet menu item names
16545 2005-06-17 David Zeuthen <davidz@redhat.com>
16547 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16548 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16549 Also add new methods can_export, import_file and export.
16551 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16554 * gnome/vpn-properties/nm-vpn-properties.c:
16555 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16556 nm-vpn-ui-interface.h.
16557 (update_edit_del_sensitivity): Also update "Export" sensitivity
16558 (add_vpn_connection): Also add new SVC_NAME column
16559 (import_settings): New function
16560 (retrieve_data_from_selected_connection): New function
16561 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16563 (export_cb): New function
16564 (init_app): Also setup the "export" widget
16565 (main): Support the --import-service and --import-file commandline
16568 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16571 2005-06-16 Dan Williams <dcbw@redhat.com>
16573 Patch from Robert Love:
16574 * gnome/applet/menu-items.c
16575 - (network_menu_item_new): pass -1 as wireless network
16576 menu items height size request rather than ascent / 2
16578 2005-06-16 Dan Williams <dcbw@redhat.com>
16580 * Clean up wording in Wireless Scan Methods menu items and constants
16582 2005-06-16 Robert Love <rml@novell.com>
16585 - remove gtkcell* files
16587 2005-06-15 Dan Williams <dcbw@redhat.com>
16589 Patch from Robert Love: make the applet stetic
16591 * gnome/applet/Makefile.am
16592 - Don't compile the gtkcellview and gtkcellrendererprogress files
16594 * gnome/applet/gtkcellview.h
16595 gnome/applet/gtkcellview.c
16596 gnome/applet/gtkcellrendererprogress.h
16597 gnome/applet/gtkcellrendererprogress.c
16600 * gnome/applet/menu-items.c
16601 - Progress bars are 5:1 size ratio
16602 - Use GTK progress bars rather than internal ones
16604 2005-06-15 Dan Williams <dcbw@redhat.com>
16606 Patch from Robert Love:
16607 * initscript/SUSE/networkmanager
16610 2005-06-15 Dan Williams <dcbw@redhat.com>
16612 * src/backends/NetworkManagerSuSE.c
16613 src/backends/NetworkManagerRedHat.c
16614 src/backends/NetworkManagerDebian.c
16615 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16617 2005-06-15 Dan Williams <dcbw@redhat.com>
16619 * src/backends/NetworkManagerDebian.c
16620 - Add nm_system_device_get_use_dhcp() to debian backend
16622 Patch from Kay Sievers:
16623 * src/backends/NetworkManagerSuSE.c
16624 - Update debian backend for static IP nameservers
16626 * src/NetworkManagerDevice.c
16627 - Actually set the device to use static IP or DHCP rather
16630 2005-06-15 Dan Williams <dcbw@redhat.com>
16632 Patch from Thom May:
16633 * src/backends/NetworkManagerDebian.c
16634 - Update debian backend for static IP nameservers
16636 2005-06-15 Dan Williams <dcbw@redhat.com>
16638 Patches from Robert Love:
16639 * gnome/applet/wireless-applet.glade
16640 - Tighten up wording
16642 * src/NetworkManagerDevice.c
16643 - Remove misplaced ';'
16646 initscript/Makefile.am
16647 initscript/SUSE/Makefile.am
16648 initscript/SUSE/networkmanager
16649 - Add SUSE initscript
16651 2005-06-12 David Zeuthen <davidz@redhat.com>
16653 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16655 * gnome/vpn-properties/nm-vpn-properties.glade: New file
16657 * gnome/vpn-properties/nm-vpn-properties.c: New file
16659 * gnome/vpn-properties/Makefile.am: New file
16661 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16664 * src/vpn-manager/nm-vpn-manager.c
16665 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16666 instead of just a single one
16668 * src/vpn-manager/nm-dbus-vpn.c:
16669 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16671 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16673 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
16674 Change the interface here to give a list of passwords. Also, don't
16675 require username, but do require service
16677 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16678 the binary for the auth-dialog and use that instead of putting up a
16679 dialog asking for a single password
16681 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16682 however do remember the service
16684 * gnome/applet/main.c (main): Setup i18n
16686 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16687 connection to '%s'" to the tooltip if we are connected using VPN
16688 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16689 key to determine whether we the auth-dialog needs to
16690 reprompt. Also cope with the fact that the auth-dialog now returns
16691 an array of passwords.
16692 (nmwa_menu_configure_vpn_item_activate): New handler for
16693 "Configure VPN..." menu item
16694 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16695 (is_vpn_available): New function to determine if we got any
16696 NM-compatible VPN software installed
16697 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16698 items only if we have NM-compatible VPN software installed
16699 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16700 logic for detecting when VPN connections are removed
16702 * gnome/applet/applet-dbus.h: Removed the prototypes for
16703 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16704 since these are defined elsewhere
16706 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16707 function used to keep track of whether the last attempt succeded
16708 (nmwa_dbus_filter): Update last_attempt according to whether the
16709 VPN connection could be established or not
16711 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
16712 Change prototype to take an array of passwords, not just a single
16715 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16716 update service, not user
16717 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16718 dbus_active_vpn_name is not NULL before using it
16719 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16720 string array instead of assuming a single password
16722 * gnome/applet/applet-dbus-info.c:
16723 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16724 user name; don't read from gconf
16726 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
16729 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16731 * configure.in: Add checks for gmodule-2.0.
16732 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16733 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16734 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
16737 * vpn-daemons/Makefile.am: Removed
16739 * vpn-daemons/README: New file to describe extensions points for VPN
16742 2005-06-10 Dan Williams <dcbw@redhat.com>
16744 * src/backends/NetworkManagerRedHat.c
16745 - (get_current_profile_name): new function, grab current network profile name from
16746 /etc/sysconfig/network
16747 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16748 update an IP4 Config structure's settings from it
16749 - (nm_system_device_get_system_config): if we're using static IP on this device,
16750 get DNS info from current network profile
16752 2005-06-09 Dan Williams <dcbw@redhat.com>
16754 Patch from Robert Love:
16755 * src/NetworkManagerDevice.c
16756 src/NetworkManagerUtils.c
16757 - 64-bit build fixes
16759 2005-06-09 Dan Williams <dcbw@redhat.com>
16761 Patch from Kay Sievers and Robert Love:
16763 src/backends/Makefile.am
16764 src/backends/NetworkManagerSuSE.c
16767 2005-06-09 Dan Williams <dcbw@redhat.com>
16770 - Add NMWirelessScanMethod enum for scan methods
16772 * gnome/applet/applet-dbus-devices.c
16773 - (nmwa_dbus_update_scanning_enabled_cb): remove
16774 - (nmwa_dbus_update_scanning_enabled): remove
16775 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16776 since it got removed
16777 - (nmwa_dbus_enable_scanning): remove
16779 * gnome/applet/applet-dbus-info.c
16780 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16781 update the wireless scanning method from NMI
16782 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16783 method value to NetworkManager
16784 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16786 * gnome/applet/applet-dbus-info.h
16787 - Add prototype for nmi_dbus_signal_update_scan_method
16789 * gnome/applet/applet.c
16790 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16791 Wireless Scanning menu based on current wireless scan method
16792 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16793 signal for Wireless Scanning menu items, tell NetworkManager the new method
16794 and update our menu items to make sure the right one is checked
16795 - (nmwa_set_scanning_enabled_cb): remove
16796 - (nmwa_context_menu_update): remove references to pause_scanning_item
16797 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16799 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16801 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16802 so we get notified of preference values too
16803 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16805 * gnome/applet/applet.h
16806 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16807 - Add wireless scan method member to applet data
16808 - Remove pause_scanning_item, add Wireless Scanning submenu
16810 * src/NetworkManager.c
16811 - (nm_data_new): default to NM_SCAN_METHOD_ON
16812 - (main): grab scanning method from NMI if we can
16814 * src/NetworkManagerDbus.c
16815 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16816 nm_dbus_update_wireless_scan_method()
16817 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16819 - (nm_dbus_nmi_is_running): redundant function, removed
16820 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16821 when NMI comes back
16823 * src/NetworkManagerDevice.c
16824 - (nm_device_is_activated): return TRUE if the device is activated
16825 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16826 and we are activated
16829 - (nm_dbus_nm_set_scanning_enabled): removed
16830 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16831 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16833 2005-06-09 Dan Williams <dcbw@redhat.com>
16836 src/vpn-manager/nm-vpn-service.c
16837 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16839 2005-05-27 Dan Williams <dcbw@redhat.com>
16841 * vpn-daemons/vpnc/nm-vpnc-service.c
16842 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16843 Should fix the bug where the VPN connection terminates the first time.
16845 2005-05-20 Dan Williams <dcbw@redhat.com>
16848 - Differentiate VPN config signals between bad VPN config options
16851 * gnome/applet/applet-dbus-info.h
16852 - Add prototypes for wireless network and vpn connection update functions
16854 * gnome/applet/applet-dbus.c
16855 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16857 * gnome/applet/applet.c
16858 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16860 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16861 propogation to NetworkManager
16862 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16863 notify propogation to NetworkManager
16865 * src/NetworkManagerDbus.c
16866 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16867 are updating so a network can be removed from it if necessary
16869 * src/vpn-manager/nm-vpn-manager.c
16870 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16872 * vpn-daemons/vpnc/nm-vpnc-service.c
16873 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16874 - (nm_vpnc_dbus_signal_launch_failed): remove
16875 - (nm_vpnc_dbus_signal_connect_failed): remove
16876 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16877 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16878 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16879 for new generalized error signal function, remove config file stuff
16880 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16881 we can write configuration options to it
16882 - (nm_vpnc_config_file_generate): removed
16883 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16884 - (nm_vpnc_config_options_validate): validate the config options we receive
16885 from NetworkManager to block potential exploits
16886 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16888 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16891 2005-05-16 Dan Williams <dcbw@redhat.com>
16893 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16894 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16897 2005-05-16 Dan Williams <dcbw@redhat.com>
16899 Patch from Tomislav Vujec <tvujec@redhat.com>
16900 * gnome/applet/applet-dbus-info.c
16901 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16902 GConf and pass them to NetworkManager. New key is 'routes' under
16903 the VPN connection, and should be a string list
16905 * src/NetworkManagerSystem.c
16906 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16907 set them on the device when we set the rest of the VPN config. Ensure
16908 they are in the correct format since they are passed directly to the
16911 * src/backends/NetworkManagerRedHat.c
16912 src/backends/NetworkManagerDebian.c
16913 - (nm_system_device_add_route_via_device_with_iface): new function
16915 * src/vpn-manager/nm-dbus-vpn.c
16916 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16918 * src/vpn-manager/nm-vpn-manager.c
16919 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16920 them into the IP4 config functions
16922 2005-05-15 Dan Williams <dcbw@redhat.com>
16924 From Filip Miletic:
16928 - Serbian translation added
16930 2005-05-15 Dan Williams <dcbw@redhat.com>
16932 * dispatcher-daemon/NetworkManagerDispatcher.c
16933 - (main): sync arguments with NetworkManager and the applet, now use
16934 "--no-daemon" rather than "daemon=no"
16935 - (nmd_print_usage): Fix script path in usage message
16937 2005-05-15 Dan Williams <dcbw@redhat.com>
16939 * src/NetworkManagerDevice.[ch]
16940 src/NetworkManagerPolicy.c
16941 src/NetworkManager.c
16943 - Remove the "just_added" parameter from nm_device_deactivate(). We no
16944 longer send the DeviceNoLongerActive signal unconditionally, but only
16945 when the device is actually active.
16947 * dispatcher-daemon/NetworkManagerDispatcher.c
16948 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16949 and simplify the logic
16950 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16951 we free it later on
16953 * initscript/RedHat/Makefile.am
16954 initscript/RedHat/NetworkManagerDispatcher
16955 - Add initscript for NetworkManagerDispatcher
16958 Patch from Bill Moss:
16959 * dispatcher-daemon/NetworkManagerDispatcher.c
16960 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16962 * src/NetworkManagerDbus.c
16963 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
16964 and DeviceNowActive gets signaled, then the device has a new IP address
16965 anyway. There's no need for a separate signal.
16967 * src/NetworkManagerDevice.c
16968 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16970 * src/NetworkManagerPolicy.c
16971 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16972 activates successfully. This kind of went missing when I reworked the
16975 2005-05-15 Dan Williams <dcbw@redhat.com>
16978 - Check for dhcdbd and error if its not found
16980 * src/dhcp-manager/Makefile.am
16981 src/dhcp-manager/nm-dhcp-manager.c
16982 - Use path to dhcdbd that configure found
16984 2005-05-14 Dan Williams <dcbw@redhat.com>
16986 * gnome/applet/nm-device.c
16987 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16988 sort wireless networks alphabetically
16990 * gnome/applet/applet-dbus-devices.c
16991 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16992 before copying them over to the GUI
16994 2005-05-14 Dan Williams <dcbw@redhat.com>
16996 * src/NetworkManager.c
16997 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16998 fixes a deadlock on shutdown with a VPN connection active. This function locks
16999 the device list, as does nm_get_active_device() which is called from
17000 nm_vpn_manager_deactivate_vpn_connection().
17002 2005-05-14 Dan Williams <dcbw@redhat.com>
17005 - Add signals for VPN Launch and Connect failures
17007 * gnome/applet/applet-dbus.c
17008 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17010 * gnome/applet/applet.c
17011 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17012 function to handle all VPN failure messages
17013 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
17014 function to hanlde all VPN failure messages
17015 - (show_warning_dialog): work around focus-stealing prevention
17017 * gnome/applet/other-network-dialog.c
17018 gnome/applet/passphrase-dialog.c
17019 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17020 problem where it never enabled for ASCII Key and Hex Key types
17022 * gnome/applet/wireless-applet.glade
17023 - Add window title to Other Wireless Network Dialog
17025 * src/vpn-manager/nm-dbus-vpn.c
17026 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17027 function to handle all VPN failure messages
17029 * src/vpn-manager/nm-vpn-manager.c
17030 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17032 * vpn-daemons/vpnc/nm-vpnc-service.c
17033 - (nm_vpnc_dbus_signal_launch_failed): new function
17034 - (nm_vpnc_dbus_signal_connect_failed): new function
17035 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17036 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17037 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17038 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17040 2005-05-11 Dan Williams <dcbw@redhat.com>
17042 * vpn-daemons/vpnc/nm-vpnc-service.c
17043 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17044 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17045 file exists before trying to write it out.
17047 2005-05-10 Dan Williams <dcbw@redhat.com>
17049 * gnome/applet/applet-dbus-device.c
17050 - (nmwa_dbus_set_device): remove check for valid key and key type, which
17051 prevented just entering ESSID and leaving key and key type up to
17052 NetworkManager (which should have them already cached)
17054 2005-05-08 Dan Williams <dcbw@redhat.com>
17056 * src/NetworkManagerPolicy.c
17057 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17058 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17059 fix a situation where NM is told to terminate and the device stops activation,
17060 but the main thread isn't aware of that because it would never have run
17061 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17064 * src/NetworkManagerDevice.c
17065 - (nm_device_probe_wired_link_state): cosmetic fixes
17066 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17067 we've failed to activate or been canceled.
17068 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17070 2005-05-08 Dan Williams <dcbw@redhat.com>
17072 * src/NetworkManagerWireless.c
17073 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17074 value of WEXT quality structures, and add a debug message when we cannot
17075 determine any quality % at all
17077 2005-05-08 Dan Williams <dcbw@redhat.com>
17079 * src/dhcp-manager/nm-dhcp-manager.c
17080 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17083 2005-05-06 Dan Williams <dcbw@redhat.com>
17085 * gnome/applet/applet-dbus-device.c
17086 gnome/applet/applet-dbus-info.c
17087 gnome/applet/applet-dbus.c
17088 gnome/applet/applet.c
17089 gnome/applet/applet.h
17090 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17092 * gnome/applet/applet-dbus.c
17093 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17094 so we notice when wired device's carriers come back on. Should
17095 fix issue with wired devices being grayed out even if the cable
17096 is in, for devices that support carrier detection.
17098 * gnome/applet/applet.c
17099 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17100 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17102 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17103 Fix situation where applet wouldn't respond to menu selections
17105 * src/NetworkManager.c
17106 src/NetworkManagerDevice.c
17107 src/NetworkManagerDbus.c
17108 src/NetworkManagerDbus.h
17109 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17111 * src/NetworkManagerDbus.c
17112 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17113 Remove, no longer used or relevant
17114 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17115 - (nm_dbus_schedule_device_status_change_signal): add
17117 * src/NetworkManagerDevice.c
17118 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17119 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17120 ie don't deactivate them unless explicitly told to by the user. Also send
17121 CARRIER_OFF / CARRIER_ON signals when link changes
17122 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17123 Don't print error message when device is no longer around
17124 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17125 not just during activation
17127 * src/NetworkManagerPolicy.c
17128 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17129 auto-device-selection.
17130 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17132 * src/NetworkManagerSystem.c
17133 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17134 is no longer present (Bill Moss)
17136 * src/backends/shvar.c
17137 - (svOpenFile): Open read-only to make SELinux happy
17139 * src/backends/NetworkManagerRedHat.c
17140 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17141 the path to the ifcfg-* files
17143 2005-05-05 Dan Williams <dcbw@redhat.com>
17145 * Expose activation stages to NetworkManager clients, like the applet
17146 * Add Diana's progress icons to the applet, cued off NM activation stage
17147 * Use more descriptive tooltips, cued off NM activation stage
17149 2005-05-05 Ray Strode <rstrode@redhat.com>
17151 * src/nm-netlink-monitor.c:
17152 - Use clear_event_source instead of g_nullify_pointer() again.
17154 2005-05-05 Dan Williams <dcbw@redhat.com>
17156 * gnome/applet/main.c
17157 - Fix session management so the applet is actually managed now
17159 * gnome/applet/passphrase-dialog.c
17160 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17162 2005-05-05 Dan Williams <dcbw@redhat.com>
17164 Patch from Bill Moss:
17165 * gnome/libnm_glib/libnm_glib.c
17166 - Fix for dbus-0.33
17168 2005-05-05 Dan Williams <dcbw@redhat.com>
17170 Suggestion from Bill Moss:
17171 * src/NetworkManagerSystem.c
17172 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17175 * src/NetworkManager.c
17176 - (nm_data_free): move destruction of the various managers after
17177 release of device list, because deactivating and freeing a device
17178 requires at least the named manager
17179 - (nm_poll_and_update_wireless_link_state):
17180 (nm_device_link_activated):
17181 (nm_device_link_deactivated):
17182 don't grab the device list lock when actually updating device
17183 link status or strength, since nm_device_set_link_active()
17184 needs to call nm_get_active_device(), which also locks the device list.
17186 * src/NetworkManagerDevice.c
17187 - (nm_device_set_link_active): if a device's link switches from off->on,
17188 and it's wired, and the active device is wireless (or there is no
17189 active device), activate the new device whose link just came on
17190 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17191 my only calling the link to the current ap "failed" when more than 2
17192 consecutive link checks have failed
17194 2005-05-04 Dan Williams <dcbw@redhat.com>
17196 * src/NetworkManagerDevice.c
17197 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17198 but let link_to_specific_ap() do the locking where it needs
17200 Patch from Bill Moss:
17201 * src/NetworkManagerSystem.c
17202 - Set MTU of VPN devices to 1412
17204 2005-05-04 Dan Williams <dcbw@redhat.com>
17206 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17208 * Fix some holes in device activation and retaining the currently connected
17211 2005-05-03 Dan Williams <dcbw@redhat.com>
17213 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
17214 This means that NetworkManager shouldn't have DHCP issues anymore. It also
17215 means you need dhcdbd, which you can get here (get the latest one):
17217 http://people.redhat.com/jvdias/dhcdbd/
17219 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17220 interface as dhcdbd.
17222 * Rewrite device activation to facilitate the new DHCP infrastructure and
17223 future improvements. Its now "activation request" based, ie there is a single
17224 activation request composed of the device, access point, and other info which
17225 follows the entire activation process. There are 5 stages of the activation
17226 process which correspond to:
17228 1) Device preparation
17229 2) Device configuration (bring it up, set ESSID/Key/etc)
17230 3) IP Config Start (fire off DHCP if we're using it)
17231 4) IP Config Get (grab config from DHCP or static config files)
17232 5) IP Config Commit (set device's IP address, DNS, etc)
17234 Note that there is no longer a "scanning" step, since the access point must
17235 be known _before_ activation starts. If the access point drops out or does
17236 not exist for some reason, the entire activation process fails and must be
17237 restarted for a different access point or device.
17239 Patch from Bill Moss:
17240 * gnome/applet/applet.c
17241 - Fix type of vpn_failure dialog -> vpn_banner dialog
17243 2005-04-27 Dan Williams <dcbw@redhat.com>
17245 * gnome/applet/applet-dbus-vpn.c
17246 gnome/applet/applet.c
17247 gnome/applet/applet.h
17248 - Fix up active VPN handling so that we reliably know when a VPN
17249 connection has been deactivated
17251 * src/vpn-manager/nm-vpn-manager.c
17252 - Remove duplicate VPNConnectionChange signal
17254 2005-04-27 Dan Williams <dcbw@redhat.com>
17256 Patch from Peter Jones:
17257 * Remove usage of varargs to fix crashes on PPC (RH #154336)
17259 Patch from Bill Moss:
17260 * src/NetworkManagerSystem.c
17261 - Fix checking of return value from ioctl()
17263 2005-04-27 Dan Williams <dcbw@redhat.com>
17265 * Fix choosing of wireless networks and "Other wireless network..." from the applet
17266 * Warn and exit if icons cannot be found
17268 2005-04-27 Dan Williams <dcbw@redhat.com>
17270 Patch from Tom Parker:
17271 * Update debian backend
17273 2005-04-27 Dan Williams <dcbw@redhat.com>
17275 * Merge the applet and the info-daemon, and move the converged
17276 applet under gnome/applet
17277 * Move libnm_glib to gnome/libnm_glib
17278 * Convert most dbus calls between the applet, info-daemon, and NM
17280 * Fix a few things valgrind noticed
17281 * Make NM broadcast state more reliably
17283 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
17285 * configure.in: Added ne in ALL_LINGUAS
17287 2005-04-15 Dan Williams <dcbw@redhat.com>
17289 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17290 code for dbus 0.2x versions
17292 2005-04-15 Dan Williams <dcbw@redhat.com>
17294 Patches from Tom Parker:
17296 - Join with worker thread rather than polling for its exit
17298 Patch from Bill Moss:
17299 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17301 2005-04-15 Dan Williams <dcbw@redhat.com>
17303 - Fixes to pass 'make distcheck'
17305 2005-04-15 Dan Williams <dcbw@redhat.com>
17307 Initial VPN Support
17309 - reworks device IP configuration, backend files have changed and will need
17310 to be updated for all distributions. I will try to do what I can for
17311 them, but I cannot test them.
17313 - Move named directory to src/named-manager
17314 - Make backends directory self-contained
17316 2005-04-06 Dan Williams <dcbw@redhat.com>
17318 Add debug code for socket/file descriptor leaks. We register every socket
17319 that we open (except for stuff in dhcpcd/) for tracking, and print out the
17320 list of sockets that we forgot to close on shutdown. This also consolidates
17321 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17323 2005-04-06 Dan Williams <dcbw@redhat.com>
17326 - (dhcp_interface_free): fix a file descriptor leak that may have
17327 caused network drivers to not unload due to refcounts > 0
17329 2005-04-04 Dan Williams <dcbw@redhat.com>
17331 * panel-applet/NMWirelessAppletDbus.c
17332 - (nmwa_dbus_call_nm_method): remove some commented code
17334 * src/NetworkManagerAPList.[ch]
17335 - (nm_ap_list_remove_ap_by_essid): new function
17337 * src/NetworkManagerDevice.c
17338 - (nm_device_wireless_force_use): remove access points from the ignore list
17339 when the user forces them
17341 * src/nm-dbus-device.c
17342 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17344 2005-04-04 Dan Williams <dcbw@redhat.com>
17346 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17348 2005-04-04 Dan Williams <dcbw@redhat.com>
17350 * src/NetworkManagerDevice.c:
17351 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17352 of only erroring after the second consecutive scan times out. Also
17353 don't exit when the card requires more time than we can give it, just
17354 log the event and continue.
17356 2005-04-01 Steve Murphy <murf@e-tools.com>
17358 * configure.in: Added "rw" to ALL_LINGUAS.
17360 2005-04-01 Dan Williams <dcbw@redhat.com>
17362 Perform scans during device activation, if needed. Both activation
17363 and scans run in the same GMainContext. Therefore, if an access point
17364 is not found by the time the device starts activation, it will not
17365 be available until after activation. We now try to scan during
17366 activation (in nm_wa_test) every 15s so that all available access
17367 points are more likely to be found and available for the activation
17370 Also change nm_wireless_link_state_handle() to only update the "best"
17371 AP if we are not forcing a device and if we are not about to change
17372 state. This attempts to work around a race when forcing a device,
17373 where the forced AP would get cleared out too soon by the link state
17374 checking timeout in the main thread, and the activation attempt with
17375 that AP would fail.
17377 2005-04-01 Dan Williams <dcbw@redhat.com>
17380 - Update with new translatables
17382 2005-03-31 Dan Williams <dcbw@redhat.com>
17384 * panel-applet/NMWirelessAppletDbus.c
17385 - Fix device names now that hal has changed device parenting for
17388 2005-03-31 Dan Williams <dcbw@redhat.com>
17390 Tighten up handling of wireless devices that don't support wireless
17391 scanning (ie, Orinoco). Due to restructuring of code, these devices
17392 hadn't been doing pseudo-scanning for a while either and would just
17393 spin waiting for an access point. They are now manual devices where
17394 the user must choose the access point from the menu every time. All
17395 "allowed" access points are listed in the applet's menu regardless
17396 of whether or not they can be seen by the card, since it can't scan
17399 * src/NetworkManager.c
17400 - (nm_wireless_link_state_handle): new function, but only update
17401 the "best" ap for non-scanning devices when its not activating,
17402 and when no device is being forced on the card
17403 - (nm_link_state_monitor): split wireless link state handling out
17404 into separate function
17406 * src/NetworkManagerDevice.c
17407 - (nm_device_copy_allowed_to_dev_list): new function
17408 - (nm_device_new): populate non-scanning cards' AP lists with
17409 access points from the "allowed" list
17410 - (nm_device_new): don't start a scanning timeout for devices that
17412 - (nm_device_activation_schedule_finish): new parameter, should be
17413 the AP that failed to be connected to, pass it on to the
17414 activation finish function in NetworkManagerPolicy.c
17415 - (nm_device_activate_wireless): don't ever try to get a new AP
17416 for non-scanning devices, just fail. The user must choose
17417 a new access point manually.
17418 - (nm_device_activate): grab the AP that failed connection and
17420 - (nm_device_update_best_ap): Clear the best AP if we don't have
17421 a link to it, user must manually choose a new one
17422 - (nm_device_do_pseudo_scan): remove function
17423 - (nm_device_wireless_process_scan_results): remove bits for non-
17424 scanning cards since they never get here
17425 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17426 and fake the scan list for test devices a bit earlier
17428 * src/NetworkManagerPolicy.c
17429 - (nm_policy_activation_finish): use the failed_ap that we get
17430 passed rather than getting the best_ap from the card, which
17431 may have changed since we were scheduled
17432 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17433 update their scan list directly from the allowed list when
17434 we get updates to the allowed list from NetworkManagerInfo
17436 * src/NetworkManagerPolicy.h
17437 - New member for failed access point in NMActivationResult
17439 -------------------------------------
17441 Driver Notification patch: notifies the user when their driver
17442 sucks. Gives them the option to ignore further insertions
17443 of the card that has the sucky driver.
17446 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17447 enum and replace it with NO_CARRIER_DETECT and
17450 * panel-applet/NMWirelessApplet.[ch]
17451 - Merge essid.glade -> wireless-applet.glade
17452 - Implement the "Your driver sucks" notification dialog
17454 * panel-applet/NMWirelessAppletDbus.c
17455 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17456 - Grab hardware address for each device from NM too
17457 - Check whether the driver for each device sucks or not whenever
17458 a new device is noticed
17460 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17461 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17463 * src/NetworkManager.c
17464 - Fix a double-unref on device removal
17466 * src/NetworkManagerUtils.c
17467 - Set appropriate driver support level on a device that doesn't
17468 support scanning or carrier detection
17470 * src/nm-dbus-device.c
17471 - New "getHWAddress" dbus method on devices
17472 - getSupportsCarrierDetect -> getDriverSupportLevel
17474 2005-03-31 Dan Williams <dcbw@redhat.com>
17476 * src/NetworkManagerDevice.c
17477 - (nm_device_wireless_scan): Fix leak of scan results in some
17480 2005-03-29 Dan Williams <dcbw@redhat.com>
17482 * src/NetworkManager.c
17483 - (nm_poll_and_update_wireless_link_state): make code less indented
17485 Patch from Bill Moss:
17486 * src/NetworkManager.c
17487 - (nm_device_update_link_state): Update signal strength on wireless
17488 devices every time we update link state too.
17490 2005-03-29 Dan Williams <dcbw@redhat.com>
17492 * src/NetworkManagerDevice.c
17493 - (nm_device_set_essid): Work around Orinoco cards which need
17494 extra time after setting the ESSID
17496 2005-03-29 Dan Williams <dcbw@redhat.com>
17498 * src/NetworkManagerDevice.c
17499 - Merge one more bit of Peter Jones' completion patch
17501 2005-03-29 Dan Williams <dcbw@redhat.com>
17503 * src/NetworkManagerDevice.c
17504 - (nm_device_force_use): Fix possible segfault
17506 2005-03-29 Dan Williams <dcbw@redhat.com>
17508 * src/NetworkManagerDevice.c
17509 - Use iw_get_ext() where we should rather than iw_set_ext()
17511 2005-03-29 Dan Williams <dcbw@redhat.com>
17513 * src/NetworkManagerDevice.c
17514 - (nm_device_set_up_down): remove check for unsupported devices
17515 that caused NM to not bring devices up when they were
17516 added to the device list.
17518 2005-03-28 Dan Williams <dcbw@redhat.com>
17520 * src/NetworkManagerDevice.c
17521 - (mdio_read): Fix two bugs that caused all devices to fail
17522 the MII carrier detection support checks
17524 2005-03-26 Dan Williams <dcbw@redhat.com>
17526 * src/NetworkManagerDevice.c
17527 - (nm_device_wireless_scan): Remove duplicated scanning code
17529 2005-03-25 Dan Williams <dcbw@redhat.com>
17531 * panel-applet/NMWirelessApplet.c
17532 - (nmwa_about_cb): Add some more contributors
17533 - (nmwa_update_state): show the applet when there's no connection
17534 - Enable the "Stop/Resume all wireless devices" option in the
17536 - New "no connection" icon
17538 * src/NetworkManager.c
17539 - (nm_poll_and_update_wireless_link_state): don't do anything if
17540 wireless is disabled or we're asleep
17542 * src/NetworkManagerDHCP.c
17543 - Remove trailing "\n" on debug messages
17545 * src/NetworkManagerDbus.c
17546 - (nm_dbus_network_status_from_data): new state "asleep"
17548 * src/NetworkManagerDevice.c
17549 - Merge most of Peter Jones' "completion" patch that greatly reduces
17550 latency and wait times for most operations
17551 - (nm_device_wireless_scan): Don't scan when asleep
17553 * src/NetworkManagerPolicy.c
17554 - (nm_policy_get_best_device): return no device when asleep
17555 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17556 for all wireless devices on update, not just active device
17558 * src/NetworkManagerUtils.c
17559 - Merge Peter Jones' "completion" patch
17562 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17563 we're told to disable them
17564 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17567 - New variants of the warn/info/error/debug print functions that can take
17568 variables rather than static strings
17570 2005-03-24 Dan Williams <dcbw@redhat.com>
17572 * src/NetworkManagerUtils.c
17573 - (nm_get_device_driver_name): driver names are now on the parents of
17574 "Network Interface" objects, so look for them there
17576 2005-03-24 Dan Williams <dcbw@redhat.com>
17579 - Escape some forgotten object paths before we shove them through dbus
17581 2005-03-24 Dan Williams <dcbw@redhat.com>
17583 * dhcpcd/dhcpcd.[ch]
17584 src/NetworkManagerDHCP.c
17585 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17586 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17588 * src/NetworkManagerDbus.c
17591 * src/nm-dbus-dhcp.c
17592 - Make the API suck less. There is now only 1 type of each function,
17593 ie only "getInteger" and no longer also "getIntegerv". All types
17594 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17595 that will never have more than 1 element. This should simplify
17598 * test/nm-dhcp-opt-test.c
17599 - Make the tool not segfault
17600 - adapt to new DHCP Options API
17602 2005-03-22 Dan Williams <dcbw@redhat.com>
17604 * src/NetworkManager.c
17605 - (nm_wired_link_deactivated): actually ignore netlink events from
17608 2005-03-22 Dan Williams <dcbw@redhat.com>
17610 * src/NetworkManager.c
17611 - (nm_wired_link_activated): actually ignore netlink events from
17614 2005-03-17 Dan Williams <dcbw@redhat.com>
17616 Patch from Tom Parker:
17617 * src/nm-netlink-monitor.c
17619 * info-daemon/NetworkManagerInfoDbus.c
17620 - (nmi_dbus_update_network_auth_method): free GConf values
17622 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17623 * src/NetworkManagerDevice.c
17624 - (nm_device_set_wireless_config): wait for successful
17625 association longer for some cards (Atheros a/b/g)
17627 2005-03-15 Ray Strode <rstrode@redhat.com>
17629 * src/NetworkManager.c:
17630 (sigterm_pipe_handler):
17633 2005-03-15 Ray Strode <rstrode@redhat.com>
17635 * src/NetworkManagerDbus.c:
17636 Fix some sign weirdness that gcc4 doesn't like,
17637 and add a header file so PPC can hopefully find
17640 2005-03-14 Ray Strode <rstrode@redhat.com>
17642 Fourth (probably working) cut at porting to
17643 dbus 0.30 api and new hal. This cut adds
17644 some new logging macros to make debugging
17647 * dispatcher-daemon/NetworkManagerDispatcher.c:
17648 * info-daemon/NetworkmanagerInfo.c:
17649 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17650 * info-daemon/NetworkManagerInfoVPN.c:
17651 * src/NetworkManager.c:
17652 * src/NetworkManagerAP.c:
17653 * src/NetworkManagerAPList.c:
17654 * src/NetworkManagerDHCP.c:
17655 * src/NetworkManagerDbus.c:
17656 * src/NetworkManagerDevice.c:
17657 * src/NetworkManagerPolicy.c:
17658 * src/NetworkManagerSystem.c:
17659 * src/NetworkManagerUtils.c:
17660 * src/NetworkManagerWireless.c:
17662 * src/nm-dbus-nm.c:
17663 * src/backends/NetworkManagerDebian.c:
17664 * src/backends/NetworkManagerGentoo.c:
17665 * src/backends/NetworkManagerRedHat.c:
17666 * src/backends/NetworkManagerSlackware.c:
17667 use new logging macros.
17669 * dispatcher-daemon/NetworkManagerDispatcher.c:
17670 (nmd_dbus_filter): s/dbus_free/g_free/
17672 * info-daemon/Makefile.am: link in utils library.
17673 * info-daemon/NetworkmanagerInfo.c: use new logging
17675 (nmi_dbus_get_network): don't assume enumerations
17677 (nmi_dbus_nmi_message_handler): don't free what
17678 doesn't belong to us.
17680 * libnm_glib/libnm_glib.c:
17681 (libnm_glib_get_nm_status):
17682 (libnm_glib_init): don't free what doesn't
17684 (libnm_glib_dbus): strdup result, so it doesn't get
17685 lost when message is unref'd.
17687 * panel-applet/NMWirelessAppletDbus.c:
17688 (nmwa_dbus_update_devices): s/dbus_free/g_free/
17690 * src/NetworkManager.c:
17691 (nm_monitor_wired_link_state): request initial status
17692 dump of all cards when we start up, instead of relying
17693 on /sys/.../carrier.
17694 (nm_info_handler), (nm_set_up_log_handlers):
17695 log handlers to specify what syslog priorites
17696 the logging macros default to.
17698 * src/NetworkManagerAPList.c:
17699 (nm_ap_list_populate_from_nmi):
17700 s/dbus_free_string_array/g_strfreev/
17702 * src/NetworkManagerDbus.c:
17703 (nm_dbus_get_network_object):
17704 validate d-bus message argument types.
17705 Advance message iterator after reading argument,
17706 prepend instead of append to GSList.
17708 * src/NetworkManagerDevice.c:
17709 (nm_device_probe_wired_link_status):
17710 remove redundant /sys in /sys path. remove wrong
17711 contents == NULL means has carrier assumption.
17713 * src/nm-netlink-monitor.c
17714 (nm_netlink_monitor_request_status): implement
17715 function to ask kernel to dump interface link
17716 status over netlink socket.
17718 * test/*.c: s/dbus_free/g_free/
17720 * utils/nm-utils.h:
17721 (nm_print_backtrace): new macro to print backtrace.
17722 (nm_get_timestamp): new macro to get sub-second precise
17724 (nm_info), (nm_debug), (nm_warning), (nm_error):
17725 new logging functions. nm_info just prints,
17726 nm_debug includes timestamp and function,
17727 nm_warning includes function, nm_error includes
17728 backtrace and sigtrap.
17730 2005-03-11 Ray Strode <rstrode@redhat.com>
17732 Third (unfinished, partially working) cut at porting to
17733 dbus 0.30 api and new hal.
17735 * info-daemon/NetworkManagerInfoDbus.c:
17736 don't free null arrays.
17738 * panel-applet/NMWirelessAppletDbus.c:
17739 * src/nm-dbus-device.c:
17740 * src/nm-dbus-net.c:
17741 * src/NetworkManagerDbus.c: more
17742 STRING -> OBJECT_PATH fun
17743 * src/NetworkManagerDevice.c:
17744 * src/NetworkManagerDevice.h:
17745 (rename nm_device_get_link_active): rename to
17746 nm_device_has_active_link
17747 (nm_device_wireless_link_active): rename to
17748 nm_device_probe_wireless_link_state
17749 (nm_device_wired_link_active): rename to
17750 nm_device_probe_wired_link_state. Rewrite to
17751 use carrier file since hal doesn't maintain
17752 link state anymore.
17753 (nm_device_update_link_active): rename to
17754 nm_device_update_link_state
17755 * src/NetworkManagerPolicy.c
17756 (nm_policy_activation_finish): check for NULL
17760 * src/NetworkManagerMain.h:
17761 * src/NetworkManager.c:
17762 * src/nm-netlink-monitor.c:
17763 * src/nm-netlink-monitor.h: New class to support
17764 monitoring wired ethernet link status, since HAL
17765 doesn't export that information anymore.
17767 2005-03-09 Ray Strode <rstrode@redhat.com>
17769 Second (unfinished, unworking) cut at porting to
17772 * dispatcher-daemon/NetworkManagerDispatcher.c:
17773 * info-daemon/NetworkManagerInfoDbus.c:
17774 * panel-applet/NMWirelessAppletDbus.c:
17775 * src/NetworkManagerDbusUtils.c:
17776 * src/NetworkManagerDbusUtils.h:
17777 * src/nm-dbus-device.c:
17778 * src/nm-dbus-nm.c:
17779 * test/nmtest.c: support dbus "object path" type
17783 * info-daemon/Makefile.am:
17784 * libnm_glib/Makefile.am:
17785 * panel-applet/Makefile.am:
17786 * dispatcher-daemon/Makefile.am
17788 * test/Makefile.am:
17789 * utils/Makefile.am:
17790 * utils/nm-utils.c:
17791 * utils/nm-utils.h: new utils static lib
17793 2005-03-07 Ray Strode <rstrode@redhat.com>
17795 * info-daemon/NetworkManagerInfoDbus.c:
17796 * libnm_glib/libnm_glib.c:
17797 * panel-applet/NMWirelessAppletDbus.c:
17798 * src/NetworkManager.c:
17799 * src/NetworkManagerDbus.c:
17800 * src/NetworkManagerDevice.c:
17801 * src/NetworkManagerUtils.c:
17802 * src/nm-dbus-device.c:
17803 * src/nm-dbus-dhcp.c:
17804 * src/nm-dbus-net.c:
17805 * src/nm-dbus-nm.c:
17806 * test/nminfotest.c:
17807 First (unfinished, unworking) cut at porting to dbus 0.30 api.
17809 2005-03-04 Dan Williams <dcbw@redhat.com>
17814 2005-03-04 Dan Williams <dcbw@redhat.com>
17816 Patch from Peter Jones:
17817 - Make stuff work with gcc 4.0
17819 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
17821 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17823 2005-02-27 Jim Huang <jserv@kaffe.org>
17825 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17827 2005-02-27 Dan Williams <dcbw@redhat.com>
17829 Patch from Bill Moss:
17830 * panel-applet/NMWirelessAppletDbus.c
17831 - Make sure strength for current access point is up-to-date when we
17832 update the gui data model
17834 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
17836 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17838 2005-02-27 Dan Williams <dcbw@redhat.com>
17840 * src/backends/NetworkManagerRedHat.c
17841 - (nm_system_init): Kill any dhclient processes lying around as well
17842 as stopping 'nifd' if its already been started. NetworkManager
17843 subsumes the functions of nifd (kicking mDNSResponder, autoip)
17845 2005-02-27 Dan Williams <dcbw@redhat.com>
17847 * panel-applet/NMWirelessApplet.c
17848 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17849 dbus data model, not the GUI data model twice.
17851 2005-02-27 Dan Williams <dcbw@redhat.com>
17853 * panel-applet/NMWirelessApplet.[ch]
17854 panel-applet/NMWirelessAppletDbus.[ch]
17855 - Move to incremental network updates. Instead of blowing away our list
17856 of devices every time we get a signal from NetworkManager, we now
17857 incrementally add/remove networks when NetworkManager notifies us that
17858 a new network has appeared or disappered. Strength updates now happen
17859 on-the-fly for each access point as well. There are now two copies of
17860 data from NetworkManager: one for the dbus side, and one for the gui side.
17861 When the dbus side data is modified, it is copied over to the gui side
17862 so we don't have to hold the data_mutex for long periods of time (and
17863 therefore block animation of the applet's icon).
17864 - Clean up some memleaks too
17866 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17867 - Minor code beautification
17869 * src/NetworkManagerAPList.c
17870 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17871 completely new and whether or not an existing one's strength was updated.
17872 Try to fix multiple access points and signal strength by using the highest
17873 signal strength in each scan for any given ESSID.
17875 * src/NetworkManagerDbus.[ch]
17876 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17877 wireless networks; now we have only WirelessNetworkUpdate which includes
17878 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17879 - Kill usage of DbusMessageIter
17881 * src/NetworkManagerDevice.c
17882 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17883 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
17884 AP rather than all-at-once. Also don't ever remove the AP a card is
17885 currently associated with from the network list.
17886 - Update for new signals during scan, send out Appeared, Disappeared, or
17887 StrengthChanged when necessary.
17889 2005-02-25 Dan Williams <dcbw@redhat.com>
17892 - Line break the README
17894 2005-02-25 Dan Williams <dcbw@redhat.com>
17896 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17897 - Remove usage of gtk_window_set_default_size()
17899 * panel-applet/essid.glade
17900 - Stick default size here
17901 - Add in random crap that current glade wants to add in now
17903 2005-02-25 Dan Williams <dcbw@redhat.com>
17905 * src/backends/NetworkManagerRedHat.c
17906 - For non-caching-nameserver/non-named case, ensure that nscd is running
17907 and that we actually tell nscd to reload the hosts cache when it changes
17909 2005-02-25 Dan Williams <dcbw@redhat.com>
17911 * info-daemon/NetworkManagerInfoDbus.c
17912 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17914 * test/nminfotest.c
17915 - Whack usage of DbusMessageIter
17916 - Clean up DbusError and DbusMessage handling and freeing
17917 - Remove unused unregister handler
17920 - Whack usage of DbusMessageIter
17922 * test/nmtestdevices.c
17923 - Whack usage of DbusMessageIter
17925 2005-02-25 Dan Williams <dcbw@redhat.com>
17928 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17931 2005-02-25 Dan Williams <dcbw@redhat.com>
17933 * named/nm-named-manager.c
17934 - Ensure that pid and watch variables for child named process get cleared out
17935 when the child goes away.
17937 2005-02-22 Dan Williams <dcbw@redhat.com>
17939 * src/NetworkManagerPolicy.c
17940 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17941 and NULL out data->active_device so that we have to choose another one.
17942 This may make NetworkManager keep attempting to connect to a wired network
17943 if it fails, but if it keeps failing the wired network has more problems than
17944 just NetworkManager.
17946 * src/backends/NetworkManagerRedHat.c
17947 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17950 * named/nm-named-manager.c
17951 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17952 named so that the distro can flush whatever name service caching
17955 2005-02-21 Dan Williams <dcbw@redhat.com>
17957 * src/NetworkManagerDHCP.[ch]
17958 - (nm_device_dhcp_remove_timeouts): new function
17960 * src/NetworkManagerDevice.c
17961 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17962 remove the DHCP timeouts.
17964 2005-02-21 Dan Williams <dcbw@redhat.com>
17966 * panel-applet/NMWirelessApplet.[ch]
17967 panel-applet/menu-info.[ch]
17968 - Give the panel applet some major love: menu items are no longer
17969 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17970 This allows the applet to actually reflect theme changes correctly,
17971 since themeing of subclassed items in GTK _sucks_.
17973 2005-02-18 Dan Williams <dcbw@redhat.com>
17975 * libnm_glib/libnm_glib.[ch]
17976 test/libnm_glib_test.c
17977 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17978 and its data, and doesn't have to free the callback data anymore
17980 2005-02-18 Dan Williams <dcbw@redhat.com>
17982 * panel-applet/NMWirelessApplet.c
17983 - Revert 2005-02-18 William Jon McCann fix for standard
17984 copyright string until it passes 'make distcheck'.
17985 With standard copyright string, xgettext complains
17986 about "Non-ASCII string at ...".
17988 2005-02-18 Dan Williams <dcbw@redhat.com>
17990 * panel-applet/essid.glade
17991 panel-applet/NMWirelessAppletOtherNetworksDialog.c
17992 - Correct spelling of "adaptor"->"adapter"
17994 2005-02-18 William Jon McCann <mccann@jhu.edu>
17996 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17997 (nmwa_about_cb): Use standard copyright string. Update comment
17998 text to reflect that it is a notification area applet. Remove
17999 leading newline in authors list.
18000 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18001 instead of on parent menu item activation. Fixes #167550.
18003 2005-02-18 William Jon McCann <mccann@jhu.edu>
18005 * panel-applet/essid.glade: Capitalize items as per HIG.
18008 2005-02-16 William Jon McCann <mccann@jhu.edu>
18010 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18011 files for GTK 2.4 or lower, since now public in GTK 2.6.
18013 * panel-applet/essid.glade: Don't specify window size.
18015 2005-02-17 Dan Williams <dcbw@redhat.com>
18017 Caught by Bill Moss:
18019 - Time remaining for DHCP transaction calculation was incorrectly
18020 inside a #ifdef DEBUG
18022 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
18024 * configure.in: Added fr (French) to ALL_LINGUAS.
18026 2005-02-14 Dan Williams <dcbw@redhat.com>
18028 * src/NetworkManagerDHCP.c
18029 - (set_domain_searches): Fix free of invalid pointer
18031 2005-02-14 Dan Williams <dcbw@redhat.com>
18033 Patch from Peter Jones:
18035 - Ensure we return RET_DHCP_CEASED everywhere we should
18036 * dhcpcd/udpipgen.c
18037 - Use faster TOS for IP packets
18038 - Don't set ip_id since we're UDP
18040 Patch from Tomislav Vujec:
18041 * src/nm-dbus-dhcp.c
18042 test/nm-dhcp-opt-test.c
18043 - Clean up warnings to enable cvs tree compilation.
18045 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
18049 - Add the Croatian locale.
18051 2005-02-14 Colin Walters <walters@verbum.org>
18053 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18054 list of domains to search.
18056 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18058 2005-02-13 Dan Williams <dcbw@redhat.com>
18061 - Debug output cleanups of DHCP option printing and parsing.
18063 2005-02-13 Dan Williams <dcbw@redhat.com>
18065 Patch from Dan Reed: DHCP options D-BUS API
18066 Exposes the DHCP options that a device receives to clients over D-BUS.
18072 - Correct names, option length, and types for DHCP options
18074 * dhcpcd/dhcpcd.[ch]
18075 - Clarify function names that access DHCP options & data
18077 * src/NetworkManagerDHCP.c
18078 - Use new DHCP data access functions
18080 * src/NetworkManagerDbus.c
18081 - Message handler for DHCP functions
18083 * src/nm-dbus-dhcp.[ch] (new)
18084 - DHCP dbus methods
18086 * test/nm-dhcp-opt-test.c
18087 - Test DHCP D-BUS API and return all present DHCP options
18089 2005-02-12 Dan Williams <dcbw@redhat.com>
18092 test/nmclienttest.c
18094 - Move nmclienttest.c -> nmtest.c
18096 2005-02-12 Dan Williams <dcbw@redhat.com>
18098 * dhcpcd/buildmsg.c
18099 - Pad DHCP packets until they are at least 300 bytes in size.
18101 2005-02-11 Dan Williams <dcbw@redhat.com>
18104 - (dhcp_init): only print out client ID and class ID if they are specified
18106 * src/NetworkManagerDbus.[ch]
18107 src/nm-dbus-nm.[ch]
18108 src/nm-dbus-device.[ch]
18109 src/nm-dbus-net.[ch]
18110 - Move NM, Device, and Net functions to separate files and use the
18111 dbus method list stuff in NetworkManagerDbusUtils.c to do
18114 * src/NetworkManagerDbusUtils.c
18115 - Add new validate_method called before each dispatch (if present)
18116 that can validate the method call
18118 * src/NetworkManagerWireless.c
18119 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18120 levels never to be evaluated
18122 Patch from j@bootlab.org
18123 * src/NetworkManagerDevice.c
18124 - Add typedef for "u64"
18126 * src/backends/NetworkManagerDebian.c
18127 - Copy in Dave Woodhouse's fixes for IPv6
18129 2005-02-11 Dan Williams <dcbw@redhat.com>
18131 Patch from Dave Woodhouse for IPv6:
18132 * src/NetworkManagerUtils.c
18133 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18134 and multicast addresses
18136 * src/NetworkManagerDevice.c
18137 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18138 after bringing up a card.
18140 2005-02-10 Dan Williams <dcbw@redhat.com>
18142 Patch from Dave Woodhouse:
18143 * src/NetworkManagerSystem.h
18144 src/backends/NetworkManagerDebian.c
18145 src/backends/NetworkManagerGentoo.c
18146 src/backends/NetworkManagerSlackware.c
18147 - New nm_system_device_add_ip6_link_address() function to add link-local
18148 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
18150 * src/backends/NetworkManagerRedHat.c
18151 - (nm_system_device_add_ip6_link_address): implement
18152 - (nm_system_device_flush_addresses): revert to previous behavior of
18153 flushing all addresses
18155 2005-02-10 Dan Williams <dcbw@redhat.com>
18157 Patch from Tom Parker:
18158 * src/NetworkManagerDevice.c
18159 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18160 mii.h headers are broken, and instead use our own typedefs
18162 2005-02-10 Dan Williams <dcbw@redhat.com>
18164 * dhcpcd/buildmsg.c
18165 - (fill_host_and_class_id): only fill in client and class IDs if
18166 they are set by callers.
18169 - (class_id_setup): don't autogenerate a class ID, only use one
18170 we're given, if any.
18171 - (client_id_setup): don't autogenerate a client ID, only use one
18172 we're given, if any.
18175 - (dhcp_interface_init): ensure that client options are correctly
18178 * src/NetworkManagerDHCP.c
18179 - (nm_device_dhcp_request): pass hostname to dhcp library
18181 2005-02-10 Dan Williams <dcbw@redhat.com>
18184 - #rh147661# Don't send kernel version in DHCP requests
18186 * src/NetworkManagerSystem.h
18187 src/backends/NetworkManagerDebian.c
18188 src/backends/NetworkManagerGentoo.c
18189 src/backends/NetworkManagerRedHat.c
18190 src/backends/NetworkManagerSlackware.c
18191 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18192 functions, they are no longer used anyway
18194 * src/backends/NetworkManagerRedHat.c
18195 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18196 addresses in an attempt to keep IPv6 local-scope addresses around
18198 2005-02-10 Dan Williams <dcbw@redhat.com>
18200 * src/NetworkManager.c
18201 - (nm_create_device_and_add_to_list): change the add message slightly
18203 * src/NetworkManagerUtils.c
18204 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18205 Return driver name to calling function
18206 - (nm_get_driver_support_level): print out the driver a device is using
18207 during the support check
18209 Patch from Dave Woodhouse:
18210 * dhcpcd/udpipgen.c
18211 - (in_cksum): copy last byte of odd-sized packets into a
18212 'u_short' rather than a 'u_char', should fix wrong checksums
18213 on big-endian platforms
18215 2005-02-09 Dan Williams <dcbw@redhat.com>
18217 * Clean up usage of GSList objects and looping through their members
18218 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18220 * Fix problem where even if scanning was turned off, card would still
18221 cycle through frequencies.
18223 2005-02-08 Dan Williams <dcbw@redhat.com>
18225 * panel-applet/NMWirelessApplet.c
18228 2005-02-08 Dan Williams <dcbw@redhat.com>
18230 Patch from Bill Moss
18231 * panel-applet/NMWirelessApplet.c
18232 - Restore correct ESSID in tooltips
18234 2005-02-07 Dan Williams <dcbw@redhat.com>
18236 * panel-applet/NMWirelessApplet.[ch]
18237 - Add a context menu that contains:
18238 Pause/Resume Wireless Scanning
18239 Stop/Start All Wireless Devices
18241 - Grab active device strength off active device,
18244 * panel-applet/NMWirelessAppletDbus.[ch]
18245 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18246 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18247 - Update active device strength every 2 seconds, not every 1 second
18249 * panel-applet/menu-info.c
18250 - Only disable wired devices in the menu when they support carrier detection,
18251 and don't currently have a link. Non-carrier-detect devices will always
18255 src/NetworkManagerDbusUtils.[ch]
18256 - Add new new dbus utils sources
18258 * src/NetworkManager.c
18259 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18260 with the boolean parameter
18261 - Set scanning_enabled & wireless_enabled to TRUE
18263 * src/NetworkManagerDbus.c
18264 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18265 - Implement scanning & wireless enable/disable calls
18266 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18268 * src/NetworkManagerDevice.c
18269 - New link detection stuff again...
18270 o Create device's mainloop earlier (but don't run it earlier)
18271 o Hook up new carrier-detect support stuff
18272 o Add in the ethtool & mii support detection code
18273 - Don't scan if scanning is disabled
18275 * src/NetworkManagerPolicy.c
18276 - Never automatically choose a device that doesn't support carrier detection
18277 - Don't automatically choose a wireless device if wireless is disabled
18279 2005-02-07 Dan Williams <dcbw@redhat.com>
18281 * libnm_glib/libnm_glib.c
18282 - Small cleanup in element list iteration
18284 2005-02-07 Dan Williams <dcbw@redhat.com>
18286 * src/NetworkManagerWireless.c
18287 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18288 to be in line with the WEXT quality specification
18290 2005-02-02 Dan Williams <dcbw@redhat.com>
18292 Patch from Nathan Fredrickson <nathan@silverorange.com>
18293 * Fix up compile for deprecation of libgnomeui
18294 - Switch to <glib/gi18n.h> from <libintl.h>
18295 - Remove <libgnomeui/libgnomeui.h> includes
18296 - Use gtk_window_set_default_icon_from_file() rather than
18297 gnome_window_set_default_icon_from_file()
18299 * named/nm-named-manager.c
18300 - (generate_named_conf): Fix return-nothing in non-void
18303 2005-02-02 Dan Williams <dcbw@redhat.com>
18305 * Clean up unused variables and the like
18307 2005-02-02 Dan Williams <dcbw@redhat.com>
18309 * src/NetworkManagerAPList.c
18310 - (nm_ap_list_merge_scanned_ap): merge strength too
18312 * src/NetworkManagerUtils.c
18313 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18314 of locking issues by printing out prettier information than g_mutex_lock
18315 - Print out names of mutexes registered with nm_register_mutex_desc()
18316 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18317 us to seemingly block here for too long
18319 * src/NetworkManager.c
18320 src/NetworkManagerAPList.c
18321 src/NetworkManagerDevice.c
18322 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18323 so we get better debug information printed
18325 * src/NetworkManagerDbus.c
18326 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18327 since it sometimes has locking side effects
18328 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18330 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18331 we don't need a switch. This gets called often enough that we can't block
18332 until the scan mutex is acquired, because we'll block on device activation
18333 and a few other things, which hangs main thread for too long.
18335 * src/NetworkManagerPolicy.c
18336 - (nm_policy_auto_get_best_device): reduce the possiblity that
18337 nm_device_need_ap_switch() will be called
18339 2005-02-02 Dan Williams <dcbw@redhat.com>
18341 * panel-applet/NMWirelessApplet.c
18342 - Display name of wireless network we are connecting to or connected to
18343 in the tooltip of the applet
18345 2005-02-02 Dan Williams <dcbw@redhat.com>
18347 * src/NetworkManagerDHCP.c
18348 - Hopefully fix double-default-route problem by cleaning up the default
18349 route added by DHCP code right before the DHCP transaction begins
18351 2005-02-02 Dan Williams <dcbw@redhat.com>
18353 * named/nm-named-manager.c
18354 - Write out valid resolv.conf when we exit
18356 2005-02-01 Dan Williams <dcbw@redhat.com>
18358 Patch from Colin Walters:
18359 * named/nm-named-manager.c
18360 - Make multi-domain search options work
18362 2005-01-31 Dan Williams <dcbw@redhat.com>
18364 * info-daemon/NetworkManagerInfoDbus.c
18365 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18367 * src/NetworkManagerDevice.c
18368 - (nm_device_new): Don't store the entire range struct, use only what we need
18369 (which is currently avg_quality, max_quality, and frequencies). Also
18370 zero device structure when we've free'd it to maybe expose errors down
18372 - (nm_device_update_signal_strength): grab the scan mutex before getting
18373 quality data from the card since quality will be useless during a scan.
18374 Call updated wireless qual-to-percent function with values stored in
18375 nm_device_new() earlier.
18376 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18377 nm_device_get_bad_crypt_packets())
18378 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18380 - (get_initial_auth_method): always use the Auth method that's in the allowed
18381 list if available. Problem was this: when the WEP key is wrong, NM will
18382 try OS then SK modes, and then get stuck in SK mode after that. This
18384 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18387 * src/NetworkManagerWireless.c
18388 - (nm_wireless_qual_to_percent): try to make this function actually work and
18389 mimic iwlib behavior. Use card's idea of quality divided by max_qual
18390 if that's all present, otherwise fall back to signal-to-noise ratios.
18392 2005-01-29 Dan Williams <dcbw@redhat.com>
18394 * initscript/RedHat/NetworkManager
18395 - Don't spit out sysctl stuff to console
18397 * libnm_glib/libnm_glib.c
18398 - (libnm_glib_init): call dbus_g_thread_init()
18400 * panel-applet/NMWirelessAppletDbus.c
18401 - (nmwa_dbus_worker): call dbus_g_thread_init()
18403 * src/NetworkManager.c
18404 - (main): call dbus_g_thread_init()
18406 * src/NetworkManagerAPList.c
18407 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18408 so we can actually see what's there in a normal syslog
18410 * src/NetworkManagerDevice.c
18411 - (nm_device_activate_wireless): print out the "waiting for access point"
18412 message only once, then say what access point we actually got after
18414 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18415 function, wait until the scan is done. Scans may change the ESSID of
18416 the card, making this function think we need to switch access points
18417 - (nm_device_wireless_process_scan_results): for artificial access points
18418 don't check against the card's ESSID, but the best_ap's ESSID. This
18419 prevents collisions with the scanning code, which may change the card's
18420 ESSID and cause the access point to get dropped from the device's AP
18421 list. Also increase the keep-around time to 2m from 60s since the max
18422 scan interval could be 60s in some cases.
18424 * src/NetworkManagerPolicy.c
18425 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18426 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18427 the new properties and ESSIDs to the device's AP list. Fixes some races
18428 between NM and NMI.
18430 2005-01-27 Dan Williams <dcbw@redhat.com>
18432 * info-daemon/NetworkManagerInfoDbus.c
18433 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18434 GConf, make a minimal entry for it (essid & timestamp)
18436 * src/NetworkManagerAPList.c
18437 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18438 NetworkManagerInfo isn't running
18440 * src/NetworkManagerDbus.[ch]
18441 - (nm_dbus_nmi_is_running): new function
18443 * src/NetworkManagerDevice.c
18444 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18445 address to garbage.
18447 * src/NetworkManagerPolicy.c
18448 - (nm_policy_activation_finish): On successful activation, make sure
18449 the "best" AP has a MAC address, and don't tell NMI to add the
18450 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18451 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18452 access point after refreshing our allowed list if it doesn't already
18453 have a "best" access point.
18455 2005-01-25 Dan Williams <dcbw@redhat.com>
18457 * panel-applet/NMWirelessAppletDbus.c
18458 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18459 so we check for NM_DBUS_SERVICE rather than not for it
18461 * libnm_glib/libnm_glib.c
18462 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18463 ServiceOwnerChanged signal
18465 2005-01-25 Dan Williams <dcbw@redhat.com>
18468 - Check DBUS version in configure, and set the C macros
18469 DBUS_VERSION_[MAJOR,MINOR,MICRO]
18471 * info-daemon/NetworkManagerInfoDbus.c
18472 - Remove #if 0-d section of code that quit NMI if NM went away.
18474 * panel-applet/NMWirelessAppletDbus.c
18475 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18477 * src/NetworkManager.c
18478 src/NetworkManagerMain.h
18479 src/NetworkManagerDbus.c
18480 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18481 - Make updating of our Allowed Wireless Network lists from NMI
18482 an idle function in the main thread now, with a high priority.
18484 2005-01-24 Dan Williams <dcbw@redhat.com>
18486 * panel-applet/gtkcellview.[ch]
18487 panel-applet/menu-info.c
18488 - Fix GTK version checks to be <= rather than <
18491 - Include the libtool archive of libnm_glib rather than
18492 trying to pull in the .so
18494 2005-01-24 Dan Williams <dcbw@redhat.com>
18496 * src/NetworkManagerDevice.c
18497 src/NetworkManagerDevicePrivate.h
18498 - Block nm_device_new() until our device's worker thread has had a
18499 chance to start up. Fixes a race between main thread and worker
18500 thread starting that caused activation requests to get lost.
18502 2005-01-24 Dan Williams <dcbw@redhat.com>
18504 * initscript/RedHat/NetworkManager
18505 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18506 to add the NM startup script at priority 50, which was
18509 2005-01-24 Colin Walters <walters@redhat.com>
18511 * named/named.conf: Use any port for query source instead of
18512 restricting to port 53.
18514 2005-01-24 Dan Williams <dcbw@redhat.com>
18516 * initscript/RedHat/NetworkManager
18517 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18518 to add the NM startup script at priority 50, which was
18521 2005-01-24 Dan Williams <dcbw@redhat.com>
18523 Patch from Tom Parker <palfrey@tevp.net>
18524 * Fix up compile warnings & errors in the wireless applet
18526 2005-01-24 Dan Williams <dcbw@redhat.com>
18528 * panel-applet/NMWirelessApplet.c
18529 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18531 2005-01-24 Dan Williams <dcbw@redhat.com>
18533 * panel-applet/gtkcellview.[ch]
18534 - Only compile these files for GTK 2.4 or lower, since
18535 GtkCellView is now public in GTK 2.6. Fixes crasher
18536 when choosing "Other Wireless Networks" from the panel
18539 2005-01-21 Dan Williams <dcbw@redhat.com>
18541 * src/NetworkManager.c
18542 - Daemonize earlier so that glib doesn't get confused (?)
18544 2005-01-21 Dan Williams <dcbw@redhat.com>
18546 * panel-applet/NMWirelessApplet.[ch]
18547 panel-applet/NMWirelessAppletDbus.c
18548 panel-applet/menu-info.c
18549 src/NetworkManagerDevice.c
18550 - Disable wired devices in the menu when they have no link.
18552 2005-01-21 Dan Williams <dcbw@redhat.com>
18554 * Cache last-known-good wireless authentication method in
18555 NetworkManagerInfo, and use that method first during
18556 wireless device activation. Should speed up devices that
18557 need Shared Key authentication method since Open System is
18560 * Remove the hack to not do full activation on wired connections
18561 that are active when we launch, it causes too many problems
18562 with name resolution and was a hack in the first place.
18564 * Re-work wireless device activation again somewhat to have a
18565 clearer chain of events and to use last-known-good
18566 authentication method of the access point. Also provide
18567 better status throughout activation to ensure the applet
18568 can tell the user exactly what's going on.
18570 * Remove the "find wireless network" code and now simply attempt
18571 to activate with that access point. This reduces the delay
18572 between selecting "Other wireless Network" and actually
18573 connecting to that network.
18575 * Correctly stop the device's worker thread when its removed.
18577 2005-01-21 Dan Williams <dcbw@redhat.com>
18580 - Clean up some of the debug messages
18582 2005-01-21 Dan Williams <dcbw@redhat.com>
18584 * Add new icons, more frames of animation
18585 * Remove some hacks to get the panel applet to display correct
18586 status, an NM update will soon follow that will fix the
18589 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18591 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18592 the first include for working i18n. Also, don't include it in .h files
18593 * panel-applet/NMWirelessApplet.h: Same
18594 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18595 * panel-applet/menu-info.c: Same
18597 2005-01-18 Dan Williams <dcbw@redhat.com>
18600 - Remove some debug messages
18601 - Wrap others in #ifdef DEBUG/#endif
18603 * src/NetworkManager.c
18604 - Remove some debug messages
18605 - Clarify some debug messages
18606 - Remove code related to old single-thread wireless scanning
18608 * src/NetworkManagerAP.[ch]
18609 - New AP property "last_seen" to track how recently an AP was
18611 - Start using 'const' more in function arguments
18613 * src/NetworkManagerAPList.[ch]
18614 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18615 of an AP found in an AP list from a source AP, or if not found
18616 in the list add the source AP
18617 - (nm_ap_list_combine): remove, no longer needed
18619 * src/NetworkManagerDevice.c
18620 - Each device now has a "worker" thread from start to end of its life.
18621 Scanning for wireless devices now happens in that thread,
18622 not in a single "wireless scanning thread" for all devices as
18623 previously. Activation consists of adding an idle handler to the
18624 thread's main loop/context, which gets run at the next available
18626 - Wireless scanning is also simplified, there is now only one list of
18627 access points per wireless device, and APs older than 60s are
18628 removed from the list. Previously, we kept results for the last
18629 3 scans and merged whole lists, which was complicated.
18630 - Cleaned up activation debug messages.
18631 - Wireless activation and access-point search routines now use Open System
18632 authentication before trying Shared Key.
18633 - Removed some code in nm_device_update_best_ap() that could cause cards
18634 to loose their link to the access point.
18635 - Scanning now uses a backoff algorithm, where the inverval becomes
18636 progressively longer between scans when the list of scanned access
18637 points doesn't change. A change will revert to the shortest scan
18640 * src/NetworkManagerWireless.[ch]
18641 - Remove code related to old single-thread wireless scanning
18643 2005-01-18 Colin Walters <walters@redhat.com>
18645 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18646 of older nameservers.
18648 2005-01-18 Colin Walters <walters@redhat.com>
18650 * named/nm-named-manager.c (generate_named_conf): Many fixes
18651 to config file generation.
18652 (safer_kill): Remove, was too much trouble for little gain.
18653 (nm_named_manager_start): Run named as NM_NAMED_USER.
18655 * configure.in: Add option --with-named-user.
18657 2005-01-14 Colin Walters <walters@redhat.com>
18659 Patch from ed@catmur.co.uk (Ed Catmur)
18661 * named/nm-named-manager.c: Add "context" property.
18662 Use it to add child watch source in specific GMainContext.
18664 * src/NetworkManager.c (nm_data_new): Initialize
18665 named with correct main context. Start named only
18668 2005-01-14 Colin Walters <walters@redhat.com>
18670 * named/nm-named-manager.c (generate_named_conf): Write config
18671 and pid files into NM_NAMED_DATA_DIR; this allows things to
18672 work better with FC3 named SELinux policy. Also fix up silly
18675 * configure.in: Add --with-named-dir option.
18677 2005-01-14 Colin Walters <walters@redhat.com>
18679 * configure.in: Make named support require passing --with-named.
18681 * named/nm-named-manager.c: Support writing resolv.conf directly
18682 without running named.
18684 2005-01-13 Dan Williams <dcbw@redhat.com>
18686 * named/nm-named-manager.c
18687 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18689 * src/NetworkManagerDevice.c
18690 - Rework wireless link detection code to be more reliable
18692 2005-01-12 Dan Williams <dcbw@redhat.com>
18694 * initscripts/RedHat/NetworkManager
18695 - Change initial level to "-" rather than "345" so that
18696 we don't activate ourselves by default on install
18698 2005-01-12 Dan Williams <dcbw@redhat.com>
18701 - Client library for applications using glib
18705 - Split NM_CFLAGS and NM_LIBS into separate variables
18706 like DBUS_*, HAL_* and GLIB_*
18708 * src/NetworkManager.c
18709 src/NetworkManagerMain.h
18710 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18711 broadcast a status changed signal over DBUS from the main thread.
18712 Still unused anywhere for the moment.
18714 Patch from j@bootlab.org
18715 * panel_applet/NMWirelessAppletDbus.c
18716 src/NetworkManagerDbus.c
18717 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18718 for the "getMode" method call
18720 2005-01-10 Dan Williams <dcbw@redhat.com>
18722 * src/NetworkManagerDevice.c
18723 - Minor fixups & corrections to "auto" frequency mode, make it
18724 less chatty with syslog
18726 2005-01-10 Dan Williams <dcbw@redhat.com>
18728 * src/NetworkManagerDevice.c
18729 - Implement "auto" frequency/channel support, since cards like Atheros
18730 can't use other frequencies at all when you've told it to use a
18731 specific one, even for scanning.
18732 - Grab the scan mutex around places where we can't tolerate wireless
18733 settings changing underneath us, like nm_device_wireless_network_exists()
18734 and nm_device_activate_wireless()
18736 * src/NetworkManagerWireless.c
18737 - Back scan interval off to 20s instead of 14s
18739 2005-01-09 Dan Williams <dcbw@redhat.com>
18741 * src/NetworkManagerDevice.c
18742 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18743 already set. Stops some drivers like Atmel from continually
18744 reloading the firmware, which they do upon every configuration
18747 2005-01-09 Dan Williams <dcbw@redhat.com>
18750 - Use correct timeout value
18752 * info-daemon/NetworkManagerInfoDbus.c
18753 src/NetworkManagerDbus.c
18754 - Consolidate communication between NM and NMI by doing only 1 dbus
18755 method call to get Wireless Network info from NMI instead of 6
18757 * src/NetworkManager.c
18758 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18759 when we didn't have an AP to use, we'd wait for one forever without
18762 * src/NetworkManagerDevice.c
18763 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18764 activation, dhcp might not have started yet but we don't quit activation
18765 before starting it, so the quit signal gets lost
18767 2005-01-07 Dan Williams <dcbw@redhat.com>
18770 - Rework the DHCP client code to be much less chatty when
18771 it receives non-DHCP UDP packets during the DHCP run
18772 (reported by and preliminary patches from Bill Moss)
18774 * Move wireless scanning to a separate thread. This thread forwards the
18775 results to the main thread when done where they are integrated into
18776 the device's access point lists. This keeps the main thread (which
18777 does all the DBUS communication) from being blocked for long periods
18778 of time by wireless scanning.
18780 * Make state modification an idle routine in the main loop, and trigger
18781 state changes rather than polling for them.
18783 * src/backends/NetworkManagerGentoo.c
18784 - Fix up invalid C90 code (reported by Christoph Ruessler)
18786 * src/NetworkManagerDevice.c
18787 - Revert IPv6 patch for wired devices from 2004-12-22 for
18788 router advertisements, causing problems and infinite loop
18789 during "best" device determination due to link going up/down
18790 (reported by Bill Moss)
18792 Apply patch from Peter Jones
18793 * src/NetworkManagerDevice.c
18794 - Shortcut for link-checking for ipw2x00 cards
18795 - Split out association check into separate routine
18797 2004-01-05 Colin Walters <walters@redhat.com>
18799 * named/named.conf: Add PID_FILE.
18801 * named/nm-named-manager.c: Always generate a pid
18802 file, since older BIND versions don't support
18805 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
18807 * configure.in (ALL_LINGUAS): Added ja (Japanese).
18809 2004-12-22 Dan Williams <dcbw@redhat.com>
18811 * src/NetworkManagerDevice.c
18812 - Silently fail when setting bitrate doesn't work
18815 Patches from j@bootlab.org:
18816 * src/backends/NetworkManagerDebian
18817 - Update backend to match functionality in RedHat backend
18818 * src/NetworkManagerDevice.c
18819 - Take down then bring up wired devices after connection so
18820 they send out ipv6 router advertisements
18822 2004-12-21 Colin Walters <walters@verbum.org>
18824 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18825 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18827 2004-12-21 Colin Walters <walters@redhat.com>
18829 * configure.in: Correct named detection.
18831 2004-12-21 Colin Walters <walters@redhat.com>
18833 * src/NetworkManager.c (nm_data_new): Initialize named.
18834 Also, set up a signal handler for SIGINT/SIGTERM, and exit
18835 the mainloop when these signals are received.
18836 (nm_data_free): Unref named.
18837 (sigterm_handler, sigterm_pipe_handler): New functions for
18840 * src/NetworkManagerMain.h (NMData): Add signal handling and
18843 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18846 * src/NetworkManagerDHCP.c (set_nameservers): New function;
18847 set nameservers from DHCP response data.
18848 (set_domain_search): Set domain search from DHCP response.
18849 (nm_device_dhcp_configure): Invoke them.
18851 * src/NetworkManagerSystem.c
18852 (nm_system_device_update_resolv_conf): Delete. Deleting
18853 code is totally sweet.
18855 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18857 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18858 implements an object which controls a nameserver. Currently
18861 * configure.in: Check for named.
18863 * Makefile.am (SUBDIRS): Add named dir.
18865 * named/named.conf: New template config file.
18867 2004-12-20 Colin Walters <walters@redhat.com>
18869 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18872 2004-12-17 Dan Williams <dcbw@redhat.com>
18874 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
18875 link-local addresses instead of doing DHCP.
18877 * In the panel applet, there's a new "Create new Wireless Network..." item
18879 * The panel applet also sticks around now even if NetworkManager dies, but
18880 it doesn't hide its icon when NM isn't around. Not hiding the icon is
18881 a bug, I'll fix that later.
18883 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18884 lookups after a switch rather than actually doing them.
18886 * Clean up some of those warnings in nm_ap_list_* functions
18888 * Delay between scans changed to 15s instead of 10s
18890 2004-12-15 Dan Williams <dcbw@redhat.com>
18892 Patch from Tom Parker
18893 * Add autoip/Link Local Addressing support when we fail to get a DHCP
18896 * Longer pause after setting ESSID on cards that support a larger number
18897 of channels to give the card time to find the right channel
18899 * Add system hook to restart mDNSResponder (or whatever the local implementation
18900 of Multicast DNS is) when we activate interfaces
18902 2004-12-15 Dan Williams <dcbw@redhat.com>
18904 * Rework the DHCP code again to revert to sending full ethernet frames
18905 rather then relying on the kernel to do the right thing with our
18908 2004-12-06 Dan Williams <dcbw@redhat.com>
18911 - Fix some minor errors in dhcp_handle_transaction() that caused
18912 unexpected early timeouts of DHCP transactions
18915 - DHCP retransmit time from 4s -> 5s
18917 2004-12-05 Dan Williams <dcbw@redhat.com>
18919 * Major rework of the DHCP code, taking some cues from pump. We don't
18920 write raw Ethernet packets anymore, which simplifies the code quite
18921 a bit. The new code should be more robust, not hang in recvfrom()
18922 as much, and generally work better. This also means that we need
18923 to force HAL/dbus to use a created GMainContext rather than the
18924 default context, since having the DHCP renew/rebind thread using
18925 its own GMainContext seemed to give dbus a fit. There is also more
18926 debugging information printed from the DHCP loop to help with future
18929 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18930 assume that the default gateway should be the DHCP server.
18932 Patch from Matthew Schick <matt oss-institute org>
18933 * src/backends/NetworkManagerGentoo.c
18934 - Fix compilation error due to missing "ip4_broadcast"
18936 2004-12-03 Dan Williams <dcbw@redhat.com>
18938 * initscript/Makefile.am
18939 * initscript/Debian/NetworkManager
18940 * initscript/Gentoo/NetworkManager
18941 * initscript/RedHat/NetworkManager
18942 * initscript/NMLaunchHelper.c
18943 - Remove NMLaunchHelper, if you need to wait until the network
18944 comes up, use the dead code from CVS.
18946 2004-12-01 Colin Walters <walters@redhat.com>
18948 * configure.in: Suck in gcc warnings code from Rhythmbox,
18949 but use fewer default flags, and in particular add -Wno-unused,
18950 since the codebase has a lot of unused variables.
18952 * test/nmtestdevices.c (create_device):
18953 * test/nminfotest.c (get_network_string_property)
18954 (get_networks_of_type):
18955 * test/nmclienttest.c (main):
18956 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
18957 * initscript/NMLaunchHelper.c (get_nm_status):
18958 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
18959 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
18960 Fix declarations after statements.
18962 2004-12-01 Colin Walters <walters@redhat.com>
18964 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18965 (nmi_dbus_get_vpn_userpass): New method.
18966 (nmi_dbus_nmi_message_handler): Invoke it.
18968 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18970 * info-daemon/NetworkManagerInfoVPN.h,
18971 info-daemon/NetworkManagerInfoVPN.c: New files; responds
18972 to requests for VPN passwords.
18974 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18976 2004-12-01 Colin Walters <walters@redhat.com>
18978 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18981 2004-12-01 Colin Walters <walters@redhat.com>
18983 * panel-applet/NMWirelessAppletDbus.c
18984 (nmwa_dbus_update_active_device_strength): Fix missing
18987 2004-12-01 Colin Walters <walters@redhat.com>
18989 * panel-applet/NMWirelessApplet.c: Add missing include.
18991 2004-12-01 Colin Walters <walters@redhat.com>
18993 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18994 Remove useless CLAMP (); the value is unsigned, and the case tests
18995 qual->qual < 100, so the value must always be between 0 and 100.
18997 2004-12-01 Colin Walters <walters@redhat.com>
18999 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19001 2004-11-22 Colin Walters <walters@verbum.org>
19003 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19004 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19005 which is essentially a noop since nscd caches hosts on disk too.
19007 2004-11-22 Colin Walters <walters@redhat.com>
19009 * src/Makefile.am (NetworkManager_SOURCES): Add
19010 NetworkManagerDevicePrivate.h.
19012 2004-11-22 Dan Williams <dcbw@redhat.com>
19014 * src/NetworkManagerDevicePrivate.h
19015 - Split out the NMDevice struct to a different file so that stuff like
19016 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19020 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19021 need to cancel the dhcp request during the send and recv
19024 - Move the DHCP option enum to dhcpcd.h
19026 * src/NetworkManagerDHCP.c
19027 - Split out the actual IP/netmask/etc setting code
19028 - New Renew/Rebind functions
19029 - New timer setup function for renew/rebind operations
19031 * src/NetworkManagerDevice.c
19032 - For device activation, if we are using DHCP then keep the activation thread
19033 alive until device deactivation. We need to renew/rebind the DHCP address
19034 after the T1 (renew) and T2 (rebind) times have expired.
19035 - Increase some timeouts after bringing wireless cards up/down
19037 2004-11-17 Dan Williams <dcbw@redhat.com>
19039 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19040 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
19041 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
19042 show known access points that don't broadcast their ESSID in the menus without
19043 any user intervention whatsoever.
19045 * info-daemon/NetworkManagerInfoDbus.c
19046 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19047 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19049 * src/NetworkManagerAP.[ch]
19050 - Add a "user_addresses" data member to the NMAccessPoint structure
19051 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19052 the user_addresses data member
19054 * src/NetworkManagerAPList.c
19055 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19056 the AP's reported address
19057 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19059 * src/NetworkManagerDHCP.c
19060 - Increase DHCP timeout from 25s -> 30s
19062 * src/NetworkManagerDbus.[ch]
19063 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19066 * src/NetworkManagerDevice.c
19067 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19068 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
19069 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19070 So, we take the card down to clear it out.
19071 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19072 too, since that's where the user_addresses are
19074 * src/NetworkManagerPolicy.c
19075 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19076 that wireless networks' user_addresses list upon successful activation
19078 2004-11-16 Dan Williams <dcbw@redhat.com>
19080 * src/NetworkManagerDevice.[ch]
19081 - (nm_device_clear_activation_fail): new function
19083 * src/NetworkManagerPolicy.c
19084 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19085 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19087 2004-11-16 Dan Williams <dcbw@redhat.com>
19089 * src/NetworkManagerDevice.c
19090 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19091 leak the structure, better updating of now_scanning status
19092 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19094 2004-11-15 Dan Williams <dcbw@redhat.com>
19096 Major rework of link detection code. We now use DHCP
19097 as part of the link detection which proves to be much more robust,
19098 and also supports Open System authentication for wireless networks.
19100 We no longer use external DHCP client programs. Instead, we use
19101 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19102 which was written by:
19103 Yoichi Hariguchi <yoichi@fore.com>
19104 Sergei Viznyuk <sv@phystech.com>
19105 http://www.phystech.com/download/
19106 It resides in the "dhcpcd" directory and was refactored into a general
19107 purpose DHCP client library by me.
19109 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19110 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19112 2004-11-15 Dan Williams <dcbw@redhat.com>
19114 Patch from Tom Parker <palfrey@tevp.net>:
19116 * src/NetworkManagerDevice.c
19117 - Less output to console when no access
19118 points are found during a scan
19120 2004-11-15 Dan Williams <dcbw@redhat.com>
19122 Patch from Tom Parker <palfrey@tevp.net>:
19124 * src/backends/interface_parser.c
19126 - Check for inp == NULL
19129 2004-11-13 Colin Walters <walters@redhat.com>
19131 Patch from Tom Parker <palfrey@tevp.net>:
19133 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19135 * src/backends/NetworkManagerRedHat.c: Switch to
19136 including shvar.h instead of shvar.c.
19138 * src/backends/NetworkManagerDebian.c: Don't include
19139 interface_parser.c in source file.
19141 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19142 and interface_parser.[ch].
19143 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19144 Include shvar.c and shvar.h here.
19145 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19146 interface_parser.c and interface_parser.h here.
19148 2004-11-12 Colin Walters <walters@redhat.com>
19150 * configure.in: Strip out TARGET_DISTRO and
19151 SYSTEM_BACKEND_FILE variables. Switch to Automake
19154 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19155 (libnmbackend_la_SOURCES): Use Automake conditionals
19156 to add distro-specific files.
19158 * initscript/Makefile.am (SUBDIRS): Update to
19161 2004-11-12 Colin Walters <walters@redhat.com>
19163 Patches from j bootlab org
19165 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
19166 Add interface_parser.[ch].
19168 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19169 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19171 2004-11-12 Colin Walters <walters@redhat.com>
19173 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19174 call to nmi_dbus_is_running too, not necessary anymore.
19175 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19178 2004-11-11 Colin Walters <walters@verbum.org>
19180 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19182 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19183 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19184 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19185 This avoids a race condition that made it pretty easily
19186 possible to get two NetworkManagerInfo daemons running.
19188 2004-11-11 Colin Walters <walters@verbum.org>
19190 * src/NetworkManager.c (main): Use daemon(3).
19192 * info-daemon/NetworkManagerInfo.c (main): Ditto.
19194 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19196 2004-11-10 Dan Williams <dcbw@redhat.com>
19198 Patches from j bootlab org
19199 * src/NetworkManagerDevice.c
19200 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19201 whether the card has a link or not, some cards are slow
19202 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19204 * info-daemon/NetworkManagerInfoPassphraseDialog.c
19205 - Disable the "Login" button on the passphrase dialog until the user
19206 enters a valid passphrase or key
19208 Patches from Tom Parker <palfrey tevp net>
19209 * src/backends/NetworkManagerDebian.c
19210 - Add static IP support to the debian backend
19212 * src/backends/interface_parser.[ch]
19213 - Parse debian interface config files
19215 2004-11-08 Dan Williams <dcbw@redhat.com>
19217 * src/NetworkManagerDevice.c
19218 - Some random fprintf->syslog conversions
19219 - (nm_device_wireless_network_exists): double-check for network
19220 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19222 * src/NetworkManagerWireless.[ch]
19223 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19224 so that the binary->ascii conversion works (if unsigned, the bitshift
19225 will fill with zeros, which is what's required). Also mask bitshift
19226 result with 0xF for futher assurance.
19228 2004-11-06 Dan Williams <dcbw@redhat.com>
19230 * src/NetworkManagerUtils.c
19231 - (nm_get_wireless_driver_support_level): default to
19232 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19233 flip this when changing from whitelist->blacklist of
19236 2004-11-05 Dan Williams <dcbw@redhat.com>
19238 Patch from Robert Paskowitz:
19239 * src/backends/NetworkManagerGentoo.c
19240 - Update static IP config code
19242 2004-11-05 Dan Williams <dcbw@redhat.com>
19244 * info-daemon/NetworkManagerInfoDbus.c
19245 src/NetworkManagerDbus.[ch]
19246 src/NetworkManagerDevice.c
19247 - Keep track of the # of attempts to get the WEP key
19248 from the user and pass that along to the info daemon
19250 2004-11-05 Dan Williams <dcbw@redhat.com>
19252 * src/NetworkManagerUtils.c
19253 - Blacklist wireless cards rather than whitelisting them.
19254 - Grab driver name from HAL rather than trying to find it
19257 2004-11-03 Dan Williams <dcbw@redhat.com>
19259 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19260 - Disable OK button until valid data is entered
19261 for encryption stuff too
19263 * panel-applet/NMWirelessApplet.c
19264 - Report card strength for current AP if the card
19265 doesn't report strength data for scanned access
19268 * src/NetworkManagerDevice.c
19269 - Smooth out cards reported quality, Atmel card was
19270 intermittently reporting no quality data but soon
19273 * src/NetworkManagerWireless.c
19274 - Better quality data percentage calculation. Atmel
19275 cards (mine at least) seem to report the quality
19276 in percentage format already, so honor that
19278 Patch from <j@bootlab.org>
19280 info-daemon/NetworkManagerInfoPassphraseDialog.c
19281 info-daemon/passphrase.glade
19282 panel-applet/NMWirelessAppletOtherNetworkDialog.c
19283 panel-applet/essid.glade
19284 src/NetworkManagerAP.c
19285 src/NetworkManagerDevice.c
19286 src/NetworkManagerWireless.[ch]
19287 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19289 2004-11-03 Dan Williams <dcbw@redhat.com>
19291 * src/NetworkManagerDevice.[ch]
19292 - (nm_device_set_enc_key): Add parameter to set Authentication
19293 Mode (Open System, Shared Key, or None). We're still using
19294 Shared Key for now though.
19296 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
19298 * panel-applet/menu-info.c: change from bold text to light
19299 colored, may cause problems with some themes, i've tested a lot
19300 and they seem fine.
19302 * panel-applet/NMWirelessApplet.c: fix strength tooltip
19304 2004-11-01 Colin Walters <walters@verbum.org>
19306 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19307 (nm_wireless_128bit_key_from_passphrase): Add const.
19309 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19310 (nm_ap_set_enc_key_source): Add const.
19312 2004-11-01 Colin Walters <walters@verbum.org>
19314 * .cvsignore: Update.
19316 2004-10-29 Dan Williams <dcbw@redhat.com>
19318 * src/NetworkManagerDevice.c
19319 - (nm_device_wireless_network_exists): Actually use the encryption
19320 key we got from the applet when attempting to find a wireless network
19321 - Don't bring devices down so much since on some cards it triggers
19322 firmware hotplugs each time
19324 * src/NetworkManagerDbus.c
19325 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19328 2004-10-29 Dan Williams <dcbw@redhat.com>
19330 * src/NetworkManager.c
19331 - (nm_hal_device_property_modified): unlock a locked active
19332 wireless device when a wired connection gets a link.
19333 (Means you'll switch to wired whenever you plug in no
19336 2004-10-29 Dan Williams <dcbw@redhat.com>
19338 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19339 - New files, implement the "Other wireless network" dialog
19341 * panel-applet/NMWirelessApplet.c
19342 - Move "other wireless network" dialog to separate file
19344 * panel-applet/NMWirelessAppletDbus.[ch]
19345 - Take key and key_type paramaters for the set_device function
19347 * panel-applet/essid.glade
19348 - Add UI bits for encryption settings
19350 * src/NetworkManagerDbus.c
19351 - Retrieve key and key_type params for "setActiveDevice" method call
19353 - unref AP returned from nm_device_get_best_ap() when needed
19355 * src/NetworkManagerDevice.c
19356 - (nm_device_get_best_ap): ref the ap before returning it
19357 - unref AP returned from nm_device_get_best_ap() when needed
19358 - (nm_device_activate_wireless): add "ap" parameter so we don't
19359 need to call nm_device_get_best_ap() here, it was pretty much
19361 - (AP_NEED_KEY): break second link check condition out into separate
19362 function, and fix segfault when ap->enc_key_source was NULL
19363 - (nm_device_find_and_use_essid): take key and key_type parameters and
19364 pass them along to nm_device_wireless_network_exists(). If the
19365 network does exist, set the passed-in key+key_type on the AP
19367 * src/NetworkManagerPolicy.c
19368 - unref AP returned from nm_device_get_best_ap() when needed
19370 2004-10-28 Dan Williams <dcbw@redhat.com>
19372 * src/NetworkManagerUtils.c
19373 - (nm_spawn_process): Fix a potential dereference of NULL
19375 Patches from Peter Jones:
19377 * src/NetworkManagerDevice.c
19378 - (nm_device_test_wireless_extensions): Better check for
19381 * src/NetworkManagerUtils.c
19382 - (nm_spawn_process): Pass in valid stdout and stderr so
19383 executed programs don't randomly SIGPIPE and fail
19384 - (nm_get_wired_driver_support_level): quash hal warning
19385 when checking for USB ethernet device
19387 2004-10-27 Dan Williams <dcbw@redhat.com>
19389 * info-daemon/NetworkManagerInfo.c
19390 info-daemon/NetworkManagerInfoDbus.c
19391 info-daemon/NetworkManagerInfoPassphraseDialog.c
19392 panel-applet/NMWirelessApplet.c
19393 - Properly escape gconf keys
19395 * src/NetworkManager.c
19396 - remove unused variables
19398 * src/NetworkManagerAP.c
19399 - (nm_ap_new_from_ap): Don't redundantly set new APs
19400 refcount since it got set in nm_ap_new()
19402 * src/NetworkManagerAPList.c
19403 - (nm_ap_list_combine): Give up ownership of newly created
19404 access points to the ap list, fixes memleak
19406 * src/NetworkManagerDevice.c
19407 - Remove cached_ap_list4 member since its not really needed
19408 - (nm_device_wireless_network_exists): Try to get correct
19409 encryption status of a found AP if its already in our
19411 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19412 memory allocs/deallocs a bit clearer and shorter-lived
19414 2004-10-26 Ray Strode <rstrode@redhat.com>
19416 * panel-applet/NMWirelessApplet.c:
19417 (custom_essid_item_selected): kill some compiler
19420 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19422 * info-daemon/NetworkManagerInfoDbus.c
19423 - (nmi_dbus_is_running): New function for determining if nmi is already running
19424 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19426 2004-10-23 Dan Williams <dcbw@redhat.com>
19428 * info-daemon/NetworkManagerInfoDbus.c
19429 - Trap the "DeviceActivationFailed" signal
19431 * docs/NetworkManager DBUS API.txt
19432 - Add "DeviceActivationFailed" signal
19434 * panel-applet/NMWirelessAppletDbus.c
19435 - Quash the "NetworkManager service not available" message
19437 * src/NetworkManagerDbus.[ch]
19438 - Add the "DeviceActivationFailed" signal
19440 * src/NetworkManagerDevice.c
19441 - Add support for activation_failed flag
19442 - Fix deadlock where activation thread didn't clean itself up, making
19443 main thread still believe it was alive forever (didn't reset activation
19444 flags like activating, just_activated, etc when IP configuration
19447 * src/NetworkManagerPolicy.c
19448 - Implement logic for DeviceActivationFailed signal, and when activation fails
19449 for wireless networks, try to fall back to some other access point
19451 2004-10-23 Dan Williams <dcbw@redhat.com>
19453 * panel-applet/NMWirelessApplet.[ch]
19454 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19455 to the applet object, so we can get tooltips
19456 - Add tooltips (RH #136866)
19458 * src/NetworkManagerDevice.c
19459 - When trying to find a wireless network, try to connect with encryption
19460 turned on first, so that we can more accurately detect whether or not
19461 we need to use encryption for the actual association later on
19463 2004-10-21 Dan Williams <dcbw@redhat.com>
19465 * Add some support for telling NetworkManagerInfo to tell the user
19466 that they are using a device that's not fully supported
19468 * Fix some assertions in debug messages due to null access point args
19470 2004-10-21 Dan Williams <dcbw@redhat.com>
19472 * src/NetworkManagerDevice.c
19473 - Don't try to activate/bring up/down unsupported
19476 * src/NetworkManagerUtils.c
19477 - Fix case of PCI ID checks for driver support levels
19479 2004-10-21 Dan Williams <dcbw@redhat.com>
19482 - New file, now contains commonly used structures and bits
19483 for the dbus API of NetworkManager
19486 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19488 * src/NetworkManager.h
19489 - Rename -> src/NetworkManagerMain.c
19491 * Various fixups all around to use NetworkManager.h and new
19492 src/NetworkManagerMain.h, remove redundant bits that got
19493 moved into NetworkManager.h
19495 * src/NetworkManagerDevice.[ch]
19496 src/NetworkManagerUtils.[ch]
19497 src/NetworkManagerPolicy.c
19498 src/NetworkManagerDbus.c
19499 - Whitelist wireless drivers, and blacklist some wired
19500 drivers. Also blacklist cipsec and ethernet-over-usb
19501 devices at this time (RH #135722, RH #135648)
19502 - Don't leak unsupported devices out over dbus, or allow
19503 them to be set as the active device. Skip over them
19504 during automatic device picking
19506 * test/nmclienttest.c
19507 - Clean up the dbus code a lot
19509 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19511 * configure.in: post release bump.
19513 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19516 * NEWS: Released NetworkManager-0.3.1
19518 2004-10-18 Dan Williams <dcbw@redhat.com>
19520 Patches from Thom May:
19521 * test/nmtestdevices.c
19522 - Include <string.h>
19523 * src/backends/NetworkManagerDebian.c:
19524 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19525 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19526 Move to using g_strdup_printf rather than arbitrary buffers
19527 - (nm_system_device_setup_static_ip4_config) Implement function.
19528 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19530 2004-10-17 Dan Williams <dcbw@redhat.com>
19532 * info-daemon/NetworkManagerInfoDbus.c
19533 - Display name of network in the "network not found" dialog
19535 * panel-applet/NMWirelessAppletDbus.c
19536 - (nmwa_dbus_call_nm_method): new function replaces all other
19537 nmwa_dbus_get_[string|string_array|int|boolean] methods
19538 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19539 consolidated into nmwa_dbus_get_object_name()
19541 2004-10-15 Dan Williams <dcbw@redhat.com>
19543 * src/NetworkManagerDbus.c
19544 info-daemon/NetworkManagerInfoDbus.c
19545 - Display an error dialog when the user tries to use an
19546 "Other wireless network" that's not found.
19548 2004-10-15 Dan Williams <dcbw@redhat.com>
19550 * panel-applet/NMWirelessApplet.[ch]
19551 - Fix up corner cases in applet state, making it
19552 look more responsive. Change state to "connecting" when
19553 the user is forcing a device too.
19555 2004-10-15 Dan Williams <dcbw@redhat.com>
19557 * src/NetworkManagerAPList.c
19558 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19560 * src/NetworkManagerDbus.c
19561 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19563 * src/NetworkManagerDevice.c
19564 - Disown APs after the device's AP list takes ownership
19566 2004-10-15 Dan Williams <dcbw@redhat.com>
19568 * panel-applet/NMWirelessApplet.c
19569 - Update our applet state from the GUI thread
19571 * panel-applet/NMWirelessAppletDbus.c
19572 - Greatly simplify the locking to make the GUI thread
19573 smoother. Update a private copy of the device list
19574 and active device and only when done talking to
19575 NetworkManager turn it over to the GUI thread.
19577 2004-10-15 Dan Williams <dcbw@redhat.com>
19579 * src/NetworkManagerAP.[ch]
19580 - Add "artificial" get/set functions, set for APs that
19581 aren't discovered as part of a scan but instead
19582 discovered by force-setting the ESSID
19584 * src/NetworkManagerDevice.[ch]
19585 - (nm_device_wireless_network_exists): pass back whether
19586 or not the discovered AP was encrypted. Also, try
19587 falling back to encrypted mode on the card if unencrypted
19588 association doesn't work
19589 - (nm_device_find_and_use_essid): If the network requested
19590 did in fact exists, but it wasn't in our scan list, add
19591 an "artificial" entry for it. Some Cisco cards don't
19592 see non-ESSID-broadcasting APs in their scan but can still
19593 associate with them if you know the ESSID, this works around
19595 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19596 to scan if the card is currently associated with that AP
19598 2004-10-15 Dan Williams <dcbw@redhat.com>
19600 ---- We have a website ----
19601 http://people.redhat.com/dcbw/NetworkManager
19603 Patch from Robert Paskowitz:
19604 * src/NetworkManager.c
19605 - (main): Make sure we are run as root
19606 * src/NetworkManagerDevice.c
19607 - Fix type in ad-hoc setting function
19609 Patch from Thom May:
19610 * src/backends/NetworkManagerDebian.c
19611 - Make Debian backend compile again
19613 2004-10-14 Dan Williams <dcbw@redhat.com>
19615 * Tagged NetworkManager-0_3
19617 2004-10-14 Dan Williams <dcbw@redhat.com>
19619 Patch from Robert Paskowitz:
19621 src/NetworkManagerDevice.[ch]
19622 src/backends/NetworkManagerDebian.c
19623 src/backends/NetworkManagerGentoo.c
19624 src/backends/NetworkManagerRedHat.c
19625 src/backends/NetworkManagerSlackware.c
19626 - Add support for grabbing and using a broadcast address
19627 from system config files
19628 - Some Gentoo backend fixes for grabbing network config
19629 - Fix LOG_WARN->LOG_WARNING
19631 2004-10-14 Dan Williams <dcbw@redhat.com>
19633 * NEWS: a few small fixes in the credits
19635 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
19637 * NEWS: prep for release.
19639 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
19641 * panel-applet/NMWirelessAppletDbus.c
19642 (nmwa_dbus_update_device_wireless_networks): remove warnings.
19644 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
19646 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19647 applet->state == APPLET_STATE_NO_NM animation.
19649 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19650 set the text correctly.
19652 2004-10-14 Dan Williams <dcbw@redhat.com>
19654 * src/NetworkManager.c
19655 - Only accept and manager 802.3 and 802.11 devices
19657 * src/NetworkManagerDbus.[ch]
19658 - (nm_dbus_nm_set_active_device): move most of the actual activation
19659 logic into NetworkManagerDevice.c
19660 - (nm_dbus_network_status_from_data): new function
19661 - (nm_dbus_signal_network_status_change): new function, unused for now
19662 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19664 * src/NetworkManagerDevice.[ch]
19665 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
19668 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19670 * info-daemon/NetworkManagerInfo.c
19671 - (main): Added session management
19673 2004-10-14 Dan Williams <dcbw@redhat.com>
19675 * panel-applet/NMWirelessAppletDbus.[ch]
19676 - Expose network_device_[un]ref()
19677 - Expose wireless_network_[un]ref()
19678 - (wireless_network_new_with_essid): new function, create and return
19679 a wireless network with a particular essid
19681 * panel-applet/NMWirelessApplet.c
19682 - Hook up the "other network" dialog to do something
19684 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
19686 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
19687 doesn't work yet, but it looks okay.
19689 * panel-applet/icons/*png: Resize to 22x22 and install in the
19692 2004-10-13 Dan Williams <dcbw@redhat.com>
19694 * panel-applet/NMWirelessApplet.c
19695 - Add function to print out applet_state in a readable
19698 * src/NetworkManager.c
19699 - (main): Don't segfault when nm_dbus_init() fails, we had
19700 a left-over call to hal_shutdown() into which we passed NULL
19702 * src/NetworkManagerAP.c
19703 - (nm_ap_set_essid): Allow NULL essids
19705 * src/NetworkManagerAPList.[ch]
19706 - More use of nm_ap_list_[un]lock ()
19707 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19708 network/essid, just return nothing. Also skip over NULL
19709 essid access points in the list when searching
19710 - (nm_ap_list_get_ap_by_address): new function
19711 - (nm_ap_list_update_network): set the access point's key source to
19712 NULL when the key returned from NetworkManagerInfo is NULL or
19714 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19715 copy timestamp over too
19716 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19717 find the correct ESSID for a blank-essid access point by searching
19718 through another list and matching access point MAC addresses
19719 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19721 * src/NetworkManagerDbus.c
19722 - (nm_dbus_nm_set_active_device): deal with random networks the user
19723 may specify. This is mainly for access points that don't
19724 broadcast their essid. So if the user tells us to associate with
19725 some random ESSID that's not in our access point list, we find
19726 out if the access point does in fact exist (by attempting association
19727 and then matching that access point's MAC address with the essid the
19728 user gave us) and then we switch to it.
19729 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19730 to the returned list of networks for the "getNetworks" method
19732 * src/NetworkManagerDevice.[ch]
19733 - Extra debugging info for link detection
19734 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19735 based on MAC address
19736 - (nm_device_get_path_for_ap): ignore blank-essid access points
19737 - (nm_device_wireless_network_exists): new function, find out whether
19738 a random ESSID exists by attempting to associate with it
19739 - (nm_device_do_normal_scan): allow blank-essid access points in our
19740 device list as long as they have an AP MAC address we can use.
19741 Also send WirelessNetwork[Dis]Appeared signals for non-active
19742 devices too. Lets the applet update more frequently.
19744 * src/backends/NetworkManagerGentoo.c
19745 - Patch from: Robert Paskowitz
19746 - Update backend code for Gentoo
19747 - Implement nm_system_device_update_config_info ()
19749 * test/nmclienttest.c
19750 - (set_network_device): new function, takes a command-line argument
19751 and tells NetworkManager to use that wireless network
19753 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19755 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19756 if the notification icon crashes 5 times within 5 seconds of each respawn
19758 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
19760 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19763 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
19765 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19767 * panel-applet/NMWirelessApplet.c: (animation_timeout),
19768 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19769 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19770 Change the name of the icons.
19772 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19773 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19774 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19775 (nm_menu_wireless_expose_event): Really bad hack to get the style
19776 to draw in the right color.
19778 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19780 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
19781 Notification if it crashes
19783 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
19785 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
19786 (nmwa_dbus_get_string): remove unused functions
19788 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19789 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19790 remove unused functions
19792 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19794 2004-10-12 Dan Williams <dcbw@redhat.com>
19796 * panel-applet/NMWirelessAppletDbus.c
19798 wireless_network_new
19799 wireless_network_copy
19801 network_device_copy
19803 * src/NetworkManagerDevice.[ch]
19805 nm_device_set_mode_managed
19806 nm_device_set_mode_adhoc
19807 - Use these functions where appropriate
19808 - When creating a new wireless device, force the card
19809 to managed/Infrastructure mode as soon as possible
19811 2004-10-12 Dan Williams <dcbw@redhat.com>
19813 * src/NetworkManagerDevice.c
19814 - Force wireless cards into Infrastructure mode before we use them
19816 2004-10-12 Dan Williams <dcbw@redhat.com>
19819 - Remove bit about static IP address support
19821 * src/NetworkManagerUtils.c
19822 - (nm_spawn_process): Add some error reporting
19824 * src/NetworkManagerDevice.c
19825 - (nm_device_activation_configure_ip): hook up to the static config
19826 routines in the backends
19828 * src/backends/NetworkManagerRedHat.c
19829 - (nm_system_device_update_config_info): use shvar.c routines to
19830 parse the config file iformation, not our own
19831 - (nm_system_device_setup_static_ip4_config): new function, based
19832 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
19833 with a static IP address and gateway
19835 * src/backends/shvar.[ch]
19836 - Parser (filched from initscripts package) for ifcfg-* files
19838 * src/backends/NetworkManagerSystem.h
19839 src/backends/NetworkManagerGentoo.c
19840 src/backends/NetworkManagerDebian.c
19841 src/backends/NetworkManagerSlackware.c
19842 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19844 2004-10-11 Dan Williams <dcbw@redhat.com>
19847 - Remove bit about more robust AP diffing since I just implemented it
19849 2004-10-11 Dan Williams <dcbw@redhat.com>
19851 * src/NetworkManagerAP.c
19852 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19853 enough RAM to allocate new AP structures, but return NULL instead
19855 * src/NetworkManagerAPList.[ch]
19856 - (nm_ap_list_is_empty): new function
19857 - (nm_ap_list_combine): new function, combine two access point lists
19858 - (nm_ap_list_copy_keys): new function, copy keys from one list
19861 * src/NetworkManagerDevice.[ch]
19862 - Rename some functions to be clearer:
19863 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19864 nm_device_just_activated -> nm_device_is_just_activated
19865 nm_device_activating -> nm_device_is_activating
19866 nm_device_now_scanning -> nm_device_is_scanning
19867 - Cache the last 4 scans so that the access point list is more stable.
19868 We combine the lastest two scans and use that as the AP list,
19869 and diff that combined list against the combination of the earliest
19870 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19872 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19874 * info-daemon/NWManagerInfo.h
19875 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19877 * info-daemon/NWManagerInfoDbus.c
19878 - (shutdown_callback): new function
19879 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19880 if NetworkManager goes away. Kill the timeout
19881 if NetworkManager restarts before the 30 seconds
19883 - (nmi_dbus_service_init):
19884 - call gtk_main_quit if NetworkManager is not running
19885 - add filters to monitor dbus service creations and
19888 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19890 * panel-applet/NMWirelessApplet.c
19891 - (nmwa_update_state): Hide notification icon if we are only
19892 showing one wired card and no wireless interfaces
19893 (Red Hat Bug #134895)
19895 * panel-applet/NMWirelessAppletDbus.c
19896 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19898 * info-daemon/NWManagerInfo.c
19899 - (main): Terminated the notification_icon_cmd array with a NULL
19901 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
19903 * configure.in (ALL_LINGUAS): Added de (German).
19905 2004-10-08 Dan Williams <dcbw@redaht.com>
19907 * src/NetworkManagerDevice.c
19908 - Be a bit more robust about link checking, ie make sure that
19909 the WEP key we were given actually has some data in it
19911 2004-10-08 Dan Williams <dcbw@redhat.com>
19913 * info-daemon/NetworkManagerInfo.c (main):
19914 - Initialize GError object to NULL
19916 2004-10-08 Dan Williams <dcbw@redhat.com>
19918 * panel-applet/NMWirelessAppletDbus.c
19919 - Die if NetworkManagerInfo dies, since it manages our lifetime
19921 2004-10-08 Dan Williams <dcbw@redhat.com>
19923 * info-daemon/NetworkManagerInfo.[ch]
19924 info-dameon/NetworkManagerInfoDbus.[ch]
19925 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19926 - Preserve original label text in the passphrase dialog so that
19927 it actually gets updated with the new network name the next
19928 time around. Previously, we were overwriting it so you'd get
19929 the wrong network name to enter a key for
19930 - Add a "Key Type" combo to the passphrase dialog, user selects
19931 encryption key type now, type is stored in GConf too
19932 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19934 * src/NetworkManagerAP.[ch]
19935 - Remove all the encyption method magic. It's now set by the user
19936 and NetworkManager retrieves the type of encryption key from
19939 * src/NetworkManagerAPList.[ch]
19940 src/NetworkManagerDbus.[ch]
19941 - Adjust to new way of setting encryption key and method
19942 - Pull encryption method down from NMI along with key
19944 * src/NetworkManagerDevice.[ch]
19945 - Removed encryption method fallback magic as the method is now
19946 determined by the user. This greatly simplifies the connection
19948 - More robust connection/link logic. Besides removing the encryption
19949 method fallback magic, check whether or not the card is receiving
19950 invalidly encrypted packets, which usually indicates that we have
19952 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19954 * test/nminfotest.c
19955 - Test out new "Key Type" stuff in the NMI passphrase dialog
19957 2004-10-07 Dan Williams <dcbw@redhat.com>
19959 * info-daemon/NetworkManagerInfo.conf
19960 - Allow root user to run NMI too
19962 2004-10-06 Dan Williams <dcbw@redhat.com>
19964 * src/NetworkManagerDevice.[ch]
19965 src/NetworkManagerDbus.c
19966 doc/NetworkManager DBUS API.txt
19967 - Add a new status tag "scanning", which is set when there
19968 is no active network connection, but NetworkManager is
19969 looking for an access point to associate with
19971 * panel-applet/main.c
19972 - Cast the applet appropriately for gtk_widget_show_all ()
19974 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
19976 * panel-applet/eggtrayicon.[ch]:
19977 * panel-applet/main.c: Add missing file
19979 2004-10-04 Dan Williams <dcbw@redhat.com>
19981 * src/NetworkManagerDevice.[ch]
19982 - Add a slightly more robust method of determining if the WEP key
19983 is correct or not, by checking the WEP-discarded packet count
19986 * info-daemon/NetworkManagerInfo.c
19987 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19988 un-escape values we pull out rather than escaping them
19990 2004-10-03 Marcel Telka <marcel@telka.sk>
19992 * configure.in (ALL_LINGUAS): Added sk.
19994 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
19996 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19997 and feel. We should be back to working, and have a good, clean
20000 2004-09-30 Dan Williams <dcbw@redhat.com>
20002 * info-daemon/NetworkManagerInfo.c
20003 info-daemon/NetworkManagerInfoDbus.c
20005 - Escape ESSIDs in gconf
20007 * src/NetworkManagerDevice.c
20008 - Fix pseudo-scanning to use netowrk list from info daemon
20010 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
20012 * configure.in: Add a temporary --enable-notification-icon. This
20013 will prolly go away.
20015 * info-daemon/Makefile.am:
20016 * info-daemon/NetworkManagerInfo.c:
20017 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20019 * panel-applet/Makefile.am:
20020 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20021 * panel-applet/NMWirelessApplet.h:
20023 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
20025 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
20026 before 'select custom ESSID'.
20028 * panel-applet/menu-info.c: Start rewrite for better headers. Not
20029 fully complete, but syncing in prep for merge.
20031 * panel-applet/icons/*png: New images
20033 2004-09-28 Dan Williams <dcbw@redhat.com>
20035 * src/NetworkManager.c
20036 src/NetworkManagerDevice.c
20037 src/NetworkManagerPolicy.c
20038 - Don't blow away an active wired connection on startup
20040 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
20044 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20046 * info-daemon/NetworkManagerInfoDbus.c: added service name to
20049 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
20051 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20052 have a wireless card.
20054 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
20056 * panel-applet/NMWirelessApplet.c: move the custom essid item.
20057 Also, get the right device strings.
20059 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
20061 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20062 the logic to make this right.
20064 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20065 devices so that wired networks are always first.
20067 2004-09-22 <clarkbw@cvs.gnome.org>
20069 * initscript/Debian/.cvsignore:
20070 * initscript/Slackware/.cvsignore:
20071 Added new cvsignores for Makefile, Makefile.in
20074 Added nmtestdevices
20076 * src/NetworkManagerDevice.c:
20077 * src/NetworkManager.c:
20078 Updated the wireless/wired HAL device strings from net.ethernet to
20079 net.80203 or net.80211 depending on wired or wireless respectively
20081 * examples/python/NetworkManager.py:
20082 s/Quality/Strength/
20084 * examples/python/systray/network_tray.py:
20085 Lots of little changes and fixes. been rotting for a while so I
20086 figured I'd finally sync them all with CVS
20088 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
20090 * configure.in: Add graphics
20092 * panel-applet/Makefile.am: Add graphics
20094 * panel-applet/icons/*: Add graphics
20096 * panel-applet/NMWirelessApplet.c: Use new menu times to display
20097 the icons fully lined up.
20099 * panel-applet/menu-info.c:
20100 * panel-applet/menu-info.h: Add another menu type.
20102 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
20104 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20106 * panel-applet/menu-item.[ch]: Wireless menu item.
20108 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
20110 * info-daemon/NetworkManagerInfo.conf
20111 - Created a more robust security policy for the DBus service
20112 - everything is denied by default
20113 - root can own and send to the service
20114 - users logged in at the console can send to the service
20116 2004-09-13 Dan Williams <dcbw@redhat.com>
20118 * src/NetworkManagerDevice.c
20119 - (nm_device_get_essid): use iw_get_basic_config() rather than
20120 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20123 2004-09-13 Dan Williams <dcbw@redhat.com>
20127 * docs/NetworkManager DBUS API.txt
20128 - Update for new signal strength changes
20130 * panel-applet/NMWirelessApplet.c
20131 - Make panel icon show strength of the current connection
20132 - Cleanups and memleak fixes
20134 * panel-applet/NMWirelessApplet.h
20135 - Add data members for signal strength on devices and networks
20137 * panel-applet/NMWirelessAppletDbus.c
20138 - Free more DBusErrors
20139 - Update for new signal strength changes
20140 - Make devices and networks more like real objects, use ref/unref methods
20141 - Actually unlock the mutex when updating the active device
20143 * src/NetworkManagerAP.c
20144 - Change AP functions and data members from "quality"->"strength"
20146 * src/NetworkManagerDbus.c
20147 - Kill "getMaxQuality" and "getQuality" methods
20148 - Add "getStrength" methods for Networks and Devices
20150 * src/NetworkManagerDevice.[ch]
20151 - Add accessors for device strength
20152 - Add functions to update strength for a device. Note that not all drivers
20153 actually support signal strength for scanned access points (Atmel drivers
20155 - Calculate signal strength for each AP during scan
20157 * src/NetworkManagerWireless.[ch]
20158 - Add function to return signal strength % from a device and a raw quality struct
20160 * test/nmclienttest.c
20161 - Update for new signal strength changes
20163 2004-09-11 Dan Williams <dcbw@redhat.com>
20165 * src/NetworkManager.c
20166 - Fix race condition between initscripts and NM on card insertion
20167 which could cause a card to keep an IP address and routes around
20168 even when it was not the active device
20170 * src/NetworkManagerDbus.c
20171 - Fix compile errors, free more DBusErrors
20173 2004-09-11 Dan Williams <dcbw@redhat.com>
20175 * docs/NetworkManager DBUS API.txt
20176 - Add an explanation of NM's API
20178 * src/NetworkManagerDbus.c
20179 - Free some more DBusErrors if needed
20181 2004-09-11 Dan Williams <dcbw@redhat.com>
20183 * panel-applet/NMWirelessApplet.c
20184 panel-applet/NMWirelessAppletDbus.c
20185 - Start using NetworkDevice/WirelessNetwork structures in more places
20186 - Update for unified device/network forcing in NetworkManager
20188 * src/NetworkManager.c
20189 - some code consolidation
20191 * src/NetworkManagerDbus.c
20192 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20193 or two arguments: the first is the NM ID of the device to switch to,
20194 and the second (optional) argument is the ESSID of a wireless network
20196 - Get rid of "setNetwork" method due to above change
20198 * src/NetworkManagerDevice.c
20199 - (nm_device_new): perform scan and update best AP on device creation
20200 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20201 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20202 spin waiting for cancellation to finish before returning
20204 * src/NetworkManagerPolicy.c
20205 - Changes here clarify the situations in which a device switch occurs, and
20206 make sure to keep using a forced device and network if the user gives
20208 - Remove old unused code
20210 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
20212 * configure.in: Added Danish (da) to ALL_LINGUAS.
20214 2004-09-09 Dan Williams <dcbw@redhat.com>
20216 * panel-applet/NMWirelessAppletDbus.c
20217 - Pull fresh devices and networks from NM when wireless networks
20218 change. Provides faster feedback of a forced wireless network
20220 * src/NetworkManagerDbus.c
20221 - Return error when "getMaxQuality" is called on a wired device
20222 - Make best_ap freezing actually work again, and signal cancellation
20223 of activation if there's already a device activation when the user
20224 freezes the best_ap
20226 * src/NetworkManagerDevice.c
20227 - Don't clear out the best_ap for wireless devices when the link goes
20228 down, that's done elsewhere
20229 - Kill any dhcp daemons when cancelling device activation since they
20230 may be stuck waiting for a DHCP address, and since we're cancelling
20231 activation we don't care about that anymore
20233 * src/NetworkManagerPolicy.c
20234 - Make sure to unref the device we ref earlier (we refed it to make sure
20235 it stuck around during device activation and such)
20236 - If we were going to change the best device, but its activating currently
20237 (and therefore the change didn't occur due to the check earlier)
20238 we mark the state changed to we come back to it later when device
20239 activation has canceled and its no longer activating
20241 * src/backends/NetworkManagerRedHat.c
20242 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20244 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
20246 * info-daemon/passphrase.glade:
20247 set passphrase input to activates_default : True
20249 * examples/python/systray/network_tray.py
20250 (network_tray.sort_networks):
20252 Added support for having wireless always scanning
20254 2004-09-09 Dan Williams <dcbw@redhat.com>
20256 NOTE: this commit changes the behavior of wireless devices in
20257 NetworkManager. They are now up all the time, scanning all
20258 the time. Only the active device has an IP address and routing
20259 information set up however. Also, NetworkManager will no longer
20260 opportunistically switch wireless networks when a better one
20261 comes in range, it will remain associated with one wireless network
20262 until that one drops out.
20264 * panel-applet/NMWirelessApplet.c
20265 panel-applet/NMWirelessAppletDbus.c
20266 - List all wireless cards and their respective networks
20268 * src/NMLoadModules
20269 - Use full path to /sbin/ip
20271 * src/NetworkManager.c
20272 - Keep wireless devices up all the time so they can scan
20274 * src/NetworkManagerDbus.c
20275 - On a WirelessNetworkUpdate signal from NMI, don't update
20278 * src/NetworkManagerDevice.c
20279 - (nm_device_set_link_active): clear out the best ap for
20280 wireless devices when the link is set to FALSE
20281 - Scan on all wireless cards, all the time
20282 - (nm_device_activation_worker): split out the wireless card
20283 link-waiting code to a separate function
20284 - Keep wireless cards up even if device activation fails
20285 - Don't update the "best" ap as much
20287 * src/NetworkManagerPolicy.c
20288 - Don't update the best ap when checking if its frozen,
20289 let link checking clear out a frozen best ap for us
20291 * src/NetworkManagerWireless.c
20292 - Scan on all wireless cards, all the time
20294 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
20296 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20298 2004-09-09 Ankit Patel <ankit@redhat.com>
20300 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20302 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
20304 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20306 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
20308 * examples/python/NetworkManager.py:
20309 added CONNECTED, CONNECTING, and DISCONNECTED states
20310 added methods to return number of devices of a single type
20312 * examples/python/systray/network_tray.py:
20313 did some tweaks to get the menu looking near what it is supposed
20314 to look like. Also did a Airo card hack to make it show the
20317 2004-09-08 Dan Williams <dcbw@redhat.com>
20319 * panel-applet/no-networkmanager.png
20320 panel-applet/Makefile.am
20321 panel-applet/NMWirelessApplet.c
20322 - Add a "NetworkManager not running" icon and use it
20323 - Use new consolidated GConf keys rather than Preferred/Trusted
20327 * info-daemon/NetworkManagerInfo.c
20328 info-daemon/NetworkManagerInfoDbus.[ch]
20329 info-daemon/NetworkManagerInfoPassphraseDialog.c
20330 - There are now no longer two separate lists of wireless networks,
20331 but one list where each network is "trusted" or not trusted
20332 - Add a "getNetworkTrusted" dbus method
20333 - "WirelessNetworkUpdate" signal now sent rather than
20334 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20335 - Start freeing some dbus errors (not completed yet)
20337 * info-daemon/passphrase.glade
20338 - Remove the "don't show" hints for pager and taskbar
20339 - Add a title since its going to be in the taskbar
20341 * src/NetworkManager.[ch]
20342 src/NetworkManagerAPList.[ch]
20343 - There are now no longer two separate lists of wireless networks,
20344 but one list where each network is "trusted" or not trusted
20346 * src/NetworkManagerAP.[ch]
20347 - Add get/set "trusted" accessors and data bit
20349 * src/NetworkManagerDbus.[ch]
20350 - Add function to get "trusted" status of a network from NetworkManagerInfo
20351 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20353 * src/NetworkManagerDevice.[ch]
20354 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20355 - (nm_device_new): Get device config from backend when initializing devices
20356 - (nm_device_activation_worker): Split out device configuration on
20357 activation to deal with static/dynamic IP differences, and try encryption
20358 fallbacks on a device if the encryption method for the best AP is not good
20359 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20360 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20362 * src/NetworkManagerWireless.c
20363 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20365 * src/backends/NetworkManagerRedHat.c
20366 src/backends/NetworkManagerSystem.h
20367 - (nm_system_device_update_config_info): Add function to get device configuration
20368 from system data in ifcfg-* files
20370 * src/backends/NetworkManagerDebian.c
20371 src/backends/NetworkManagerGentoo.c
20372 src/backends/NetworkManagerSlackware.c
20373 - Add stub functions for getting device configuration
20375 2004-09-07 Dan Williams <dcbw@redhat.com>
20377 * src/backends/NetworkManagerRedhat.c
20378 src/backends/NetworkManagerSlackware.c
20379 - Use full path to /sbin/ip everywhere
20381 2004-09-07 Dan Williams <dcbw@redhat.com>
20383 Patch from: Narayan Newton <narayan_newton@yahoo.com>
20386 initscript/Makefile.am
20387 initscript/Slackware/Makfile.am
20388 initscript/Slackware/rc.networkmanager
20390 src/backends/NetworkManagerSlackware.c
20391 - Add Slackware support
20393 2004-09-07 Dan Williams <dcbw@redhat.com>
20395 Patches below from:
20397 Mark Roach <mrroach@okmaybe.com>
20398 Thom May <thom@debian.org>
20401 initscript/Debian/NetworkManager
20402 initscript/Debian/Makefile.am
20403 - Initscript for Debian
20405 * src/backends/NetworkManagerDebian.c
20406 - Add missing system init function to allow compilation
20409 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
20411 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20413 2004-09-03 Akagic Amila <bono@linux.org.ba>
20415 * configure.in: Added 'bs' to ALL_LINGUAS.
20417 2004-09-02 Colin Walters <walters@verbum.org>
20419 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20420 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20421 g_strdup_printf instead of arbitrarily sized buffers.
20423 2004-09-01 Colin Walters <walters@verbum.org>
20425 * NetworkManager.pc.in: New file.
20427 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20429 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
20431 * configure.in: Punjabi(pa) is added to po/.
20433 2004-08-31 Dan Williams <dcbw@redhat.com>
20435 * Remove 'debug' extern global from all files since we now
20438 * src/NetworkManager.[ch]
20439 - Break out routine that get the net.interface property from HAL,
20440 removing that logic from nm_create_device_and_add_to_list()
20441 - (nm_create_device_and_add_to_list): make this a bit more general so
20442 it doesn't do the talking to HAL. Also add arguments to facilitate
20443 the create of test devices.
20444 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20445 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20446 which makes NetworkManager listen for dbus commands to create test
20447 devices, which have no backing hardware. Use when you're on a plane
20448 for example, and/or forgot your wireless card at home. Test devices
20449 _cannot_ be created unless NM is started with --enable-test-devices.
20451 * src/NetworkManagerDbus.[ch]
20452 - New "getLinkActive" method for devices
20453 - New "setLinkActive" method for devices (only works on test devices)
20454 - New "createTestDevice" method on NetworkManager object to create a test
20455 device of a specified type (ie wired, wireless). UDI is created from
20456 scratch, as is the interface name. Only works when NM is started with
20457 --enable-test-devices switch.
20458 - New "removeTestDevice" method on NetworkManager object which removes a
20459 test device. Only works when NM is started with --enable-test-devices
20461 * src/NetworkManagerDevice.[ch]
20462 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
20463 whether a device is a test device or not, and what its link status is.
20464 - Deal with test devices in most functions. For those that work directly on hardware
20465 special-case test devices.
20466 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20468 - (nm_device_update_link_active): split out logic for wired and wireless device link
20469 checking to separate functions to facilitate test device link checking.
20470 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20471 don't make a distinction between System Authentication and Encryption
20472 (namely Cisco aironet), we use Open System auth when setting a WEP key
20473 on the card. We don't deal with Shared Key auth yet.
20474 - (nm_device_activation_worker): split the activation cancel check logic out into
20475 a separate routine nm_device_activation_cancel_if_needed()
20476 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20477 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20478 a list of fake access points that they can "see"
20479 - (nm_device_is_test_device): return whether or not a device is a test device
20481 * src/NetworkManagerPolicy.c
20482 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20483 previously if you "locked"/forced NM to use a wireless device but then
20484 selected a wireless network for NM to use, it would switch to a wired device.
20485 So, if the active device is wireless and it has a "forced" best AP, use it
20486 if the "forced" best AP is still valid
20487 - (nm_state_modification_monitor): deal with NULL best devices, for example
20488 there were no usable network devices, or the last one was removed
20490 * src/backends/NetworkManager*.c
20491 - Deal with test devices, mostly just return success for operations like getting
20494 * test/nmtestdevices.c
20495 - Test tool to create/remove/link-switch test devices
20497 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20499 * examples/python/NetworkManager.py:
20500 added convience functions has_wired_device and has_wireless_device
20502 * examples/python/systray/network_tray.py:
20503 cleaned up a bunch of cruft, added support for listing wireless
20504 networks just like the real applet. This is probably all I'm
20505 going to work on this applet from now on.
20506 TODO: add support for actually changing networks and devices
20508 * examples/python/NetworkManager.py (NetworkManager.get_device):
20509 changed "nm.networks" into a dict from a list so I can store all
20510 the cool information about networks in there
20512 * examples/python/systray/network_tray.py:
20513 Added nice message when you try to run without running make first
20515 * examples/python/NetworkManager.py:
20516 Bug fixes to the code so we get all the device information
20517 that we need in get_device()
20519 * examples/python/NMTester.py:
20520 Fixed _print_device_list to print_device_list
20522 2004-08-29 Seth Nickell <seth@gnome.org>
20526 Actually properly setup the Debian backend in configure.
20528 2004-08-29 Colin Walters <walters@verbum.org>
20530 * test/nminfotest.c: Include string.h and stdlib.h.
20531 (get_network_string_property, get_networks_of_type): Return NULL.
20533 * test/nmclienttest.c (get_device_name, get_active_device): Return
20536 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20537 use strlen, fgets always NULL-terminates the string.
20539 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20540 dbus_message_get_member): Remove /* in comment.
20542 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20544 * src/NetworkManager.c (quit): Unused, delete.
20545 (nm_data_free): Cast arg to GFunc.
20547 * panel-applet/NMWirelessAppletDbus.c: Need to include
20548 string.h, and dbus-glib-lowlevel.h (the latter is needed
20549 for dbus_connection_setup_with_g_main at present).
20550 (nmwa_dbus_update_wireless_network_list): Parenthesize
20551 assignment in conditional.
20552 (nmwa_dbus_worker): Return NULL.
20554 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20555 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20556 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20557 (nmwa_populate_menu): Return NULL on failure, instead of just
20560 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20562 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20565 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20568 2004-08-29 Colin Walters <walters@verbum.org>
20570 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20571 a GTimeVal instead of time_t. This is easier to work with,
20572 since time_t may be a long or double, we don't know.
20574 * src/NetworkManagerDbus.h: Update prototype.
20576 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20578 (nm_ap_get_timestamp): Update to return GTimeVal.
20579 (nm_ap_set_timestamp): Update to take GTimeVal.
20581 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20582 to handle GTimeVal.
20584 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20586 (nm_ap_list_print_members): Fix warnings in printf format.
20588 2004-08-29 Colin Walters <walters@verbum.org>
20590 * panel-applet/NMWirelessApplet.c: Include config.h.
20592 2004-08-29 Colin Walters <walters@verbum.org>
20594 * configure.in: Generate config.h.
20596 * configure.in: Dump dependency on OpenSSL; we can't
20597 use it since this package is GPL:
20598 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20599 Instead, check for libgcrypt, use it if available,
20600 otherwise use included MD5 code.
20602 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20603 Suck in from gnome-keyring, munge a bit.
20605 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20606 gnome-keyring-md5.h gnome-keyring-md5.c.
20607 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20609 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20610 libgcrypt or included gnome-keyring md5 bits.
20611 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20613 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20615 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20617 2004-08-27 Bryan Clark <bclark@redhat.com>
20619 * examples/python/systray/Makefile:
20621 Updated the clean section
20623 * examples/python/systray/trayiconmodule.c:
20624 * examples/python/systray/trayicon.override:
20625 * examples/python/systray/network_tray.py:
20626 * examples/python/systray/eggtrayicon.h:
20627 * examples/python/systray/eggtrayicon.c:
20628 * examples/python/systray/Makefile:
20629 * examples/python/README:
20630 * examples/python/NetworkManager.py:
20631 * examples/python/NMTester.py:
20633 Initial commit of these python example files
20635 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20637 * panel-applet/NMWirelessApplet.c
20638 - Make current device bold
20639 - Show more user-friendly device name if we got one from hal
20641 * panel-applet/NMWirelessAppletDbus.c
20642 - Grab "info.product" key from hal for network devices
20643 - Cache the current active device
20645 2004-08-27 Adam Weinberger <adamw@gnome.org>
20647 * configure.in: Added en_CA to ALL_LINGUAS.
20649 2004-08-27 Christian Rose <menthos@menthos.com>
20651 * configure.in: Added "sv" to ALL_LINGUAS.
20653 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20655 * Tag NetworkManager-0.2
20657 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
20659 * initscripts/Makefile.am
20660 * configure.in: Make pass distcheck
20662 * po/ChangeLog: added
20664 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20666 * panel-applet/NMWirelessApplet.c
20667 - Remove debugging code
20668 - Enable device switching from menus
20670 * panel-applet/NMWirelessAppletDbus.[ch]
20671 - Method for asking NM to switch devices
20673 * src/NetworkManagerDevice.c
20674 - Set dev->activating earlier, avoids race between
20675 the dbus signal of "DeviceActivating" and setting
20676 dev->activating (which is what NM's "status" method call
20679 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20681 * panel-applet/NMWirelessApplet.[ch]
20682 - Rework menu code to add devices to menu, and to show
20683 signal strength for each access point. Code cleanups
20686 * panel-applet/NMWirelessAppletDbus.c
20687 - Grab network devices from NetworkManager too
20688 - Grab quality information from NM for wireless networks
20690 * src/NetworkManagerDbus.[ch]
20691 - Add dbus methods for getting the HAL UDI from a device and
20692 for getting its base quality, if its wireless
20693 - Consolidate some functions (wireless network notifications,
20694 device notifications)
20695 - Add method for requesting NM to use a particular device
20697 * src/NetworkManager.c
20698 - Change for function consolidations from NetworkManagerDbus.c
20699 - Implement active device locking and user-requested devices
20700 (ie, tell NM to use a particular device instead of the one
20703 * src/NetworkManagerDevice.c
20704 - Add method for getting the base quality of a device, if its
20706 - Grab device base quailty info from iwlib during scans
20708 * src/NetworkManagerPolicy.c
20709 - Use a user-requested device rather than the auto-chosen device
20712 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
20714 * Makefile.am: add po as a supdir
20716 * autogen.sh: use gnome-autogen.sh
20718 * initscript/Gentoo/.cvsignore:
20719 * initscript/RedHat/.cvsignore: Shut up cvs
20721 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20723 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20724 (nmwa_fill): Use gettext.
20726 * configure.in: add gettext support
20728 * po/NetworkManager.pot:
20731 2004-08-26 Seth Nickell <seth@gnome.org>
20733 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20734 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20735 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20736 (nmwa_dispose_menu_items), (nmwa_populate_menu),
20737 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20738 * panel-applet/NMWirelessApplet.h:
20740 Use a menu bar instead of a button for the main clickable
20743 2004-08-25 Dan Williams <dcbw@redhat.com>
20745 * src/NetworkManagerDevice.c
20746 - (nm_device_set_enc_key): always set device to "open" mode instead of
20747 turning encryption off, because the Cisco driver doesn't associate
20748 with WEP-enabled access points unless we are in "open"
20750 2004-08-25 Dan Williams <dcbw@redhat.com>
20752 * src/NetworkManagerWireless.c
20753 - Don't try to defererence blank passphrases
20755 2004-08-25 Dan Williams <dcbw@redhat.com>
20757 * panel-applet/NMWirelessApplet.c
20758 - Rebuild the menu whenever a user clicks
20760 2004-08-25 Dan Williams <dcbw@redhat.com>
20762 * panel-applet/NMWirelessApplet.c
20763 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20764 when NM isn't around or when its not connected
20766 * src/NetworkManagerDevice.c
20767 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20770 2004-08-25 Dan Williams <dcbw@redhat.com>
20772 * panel-applet/NMWirelessAppletDbus.c
20773 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20774 for getting encryption, and don't stop on "val" once we've gotten it
20775 from NetworkManager. Short form: encryption should now show up.
20777 2004-08-25 Dan Williams <dcbw@redhat.com>
20779 * panel-applet/NMWirelessApplet.c
20780 - Set ESSID on a gconf trusted network too when force-setting the wireless
20781 network to associate with
20783 2004-08-25 Dan Williams <dcbw@redhat.com>
20786 - Rework the panel applet to do all DBUS communication in a separate
20789 2004-08-25 Dan Williams <dcbw@redhat.com>
20791 * info-daemon/NetworkManagerInfo.[ch]
20792 - Remove "get_next_priority" function
20794 * info-daemon/NetworkManagerInfoDbus.[ch]
20795 - Convert "priority" functions to "timestamp"
20797 2004-08-25 Dan Williams <dcbw@redhat.com>
20799 * src/NetworkManagerAP.[ch]
20800 - Add a "enc_method_good" member and accessors to an Access Point
20801 to signal when we've found the correct encryption method
20802 for an access point
20803 - Add a "timestamp" member and accessors, remove "priority" member
20804 and accessors (use timestamps instead)
20805 - Rename "wep_key"->"enc_key"
20806 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20807 for a specified encryption method using the access points
20808 source encryption key/passphrase
20810 * src/NetworkManagerAPList.c
20811 - When updating a network with dbus, grab timestamp now instead of
20814 * src/NetworkManagerDBus.[ch]
20815 - Add signal for "DeviceActivating"
20816 - Switch priority->timestamp
20818 * src/NetworkManagerDevice.c
20819 - Change references of "wep_key" -> "enc_key" or "key"
20820 - Signal DeviceActivating when starting activation
20821 - When activating a wireless device, if the access point we are connecting
20822 to is encrypted, and we have a source key, try to generate a mangled
20823 key and use that (ie, generate real WEP key from a passphrase)
20824 - Rework device activation to fallback to other encryption methods if
20825 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20826 first, then if that doesn't work fall back to direct hex key).
20827 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20828 priority. We now prefer the latest access point used, rather than using
20830 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20831 points we've just discovered, and merge in correct info from the global
20834 2004-08-25 Seth Nickell <seth@gnome.org>
20836 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20840 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20841 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20842 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20843 (nm_system_delete_default_route),
20844 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20845 (nm_system_load_device_modules):
20847 2004-08-24 Dan Willemsen <dan@willemsen.us>
20849 * src/NetworkManager.c
20850 src/backends/NetworkManagerGentoo.c
20851 src/backends/NetworkManagerRedHat.c
20852 src/backends/NetworkManagerSystem.h
20853 - Implement preliminary Gentoo support, adding a
20854 nm_system_init function to the backend specification
20857 - Distribution auto-detection, lowercase any user-fed
20860 * initscript/.cvsignore
20861 initscript/Makefile.am
20862 initscript/RedHat/Makefile.am
20863 initscript/RedHat/NetworkManager
20864 initscript/Gentoo/Makefile.am
20865 initscript/Gentoo/NetworkManager
20866 - Refactored initscript code separately for each
20869 2004-08-23 Dan Williams <dcbw@redhat.com>
20873 src/NetworkManagerDevice.c
20874 src/NetworkManager.c
20875 src/NetworkManagerUtils.[ch]
20876 src/backends/NetworkManagerSystem.h
20877 src/backends/NetworkManagerRedHat.c
20878 src/backends/NetworkManagerGentoo.c
20879 - Refactor system-specific code into separate backends for
20882 2004-08-23 Dan Willemsen <dan@willemsen.us>
20884 * dispatcher-daemon/NetworkManagerDispatcher.c
20885 info-daemon/NetworkManagerInfo.[ch]
20886 info-daemon/NetworkManagerInfoDbus.c
20887 info-daemon/NetworkManagerInfoPassphraseDialog.c
20888 src/NetworkManager.c
20889 src/NetworkManagerAP.c
20890 src/NetworkManagerAPList.c
20891 src/NetworkManagerDbus.c
20892 src/NetworkManagerDevice.c
20893 src/NetworkManagerPolicy.c
20894 src/NetworkManagerUtils.[ch]
20895 src/NetworkManagerWireless.c
20896 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20898 * src/NetworkManager.c
20899 - Fixed usage wording for --no-daemon
20901 2004-08-23 Dan Williams <dcbw@redhat.com>
20903 * panel-applet/NMWirelessApplet.c
20904 - Update our state every second to get more responsive panel icon
20905 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20906 was causing our marching ants status blips to never move when
20907 looking for a wireless network
20909 * src/NetworkManagerDevice.c
20910 - (nm_device_activation_begin): return if activation has already begun
20911 - (nm_device_do_normal_scan): merge WEP key and priority from the
20912 trusted/preferred network into the device's access point when the
20913 scan list is processed
20915 2004-08-23 Dan Williams <dcbw@redhat.com>
20917 * initscript/NetworkManager
20918 - Use NMLaunchHelper rather than sleeping
20920 * initscript/NMLaunchHelper.c
20922 - Add helper program that exits only when NM activates a device,
20923 or 10 seconds have passed, whichever happens first. This
20924 stops the boot processes until we have a network connection,
20925 which NM can't do because it daemonizes and brings the connection
20926 up in the background. Allows stuff like NFS to not die.
20928 2004-08-20 Dan Williams <dcbw@redhat.com>
20930 * info-daemon/NetworkManagerInfoPassphraseDialog.c
20931 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20932 for a network, set the essid as well since it may not exist yet
20933 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20934 since WEP keys/passphrases are long and prone to entry-error
20936 * panel-applet/Makefile.am
20937 panel-applet/wired.png
20938 - Add (pulled from system-config-network temporarily)
20940 * panel-applet/NMWirelessApplet.[ch]
20941 - Show wired picture when a wired connection is used
20942 - Rename wireless icon enums, adding WIRELESS
20944 * src/NetworkManagerDevice.c
20945 - (nm_device_activate_wireless): unset encryption before bringing
20946 down the card and setting the essid
20947 - (nm_device_activatin_worker): request a key from the user if the
20948 AP we are connecting to is encrypted but we don't have a key
20950 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20951 strcmp() that prevented a user-entered key from actually getting
20954 2004-08-16 Dan Williams <dcbw@redhat.com>
20956 * initscript/NetworkManager
20957 - Check for /sbin/ip
20958 - Do sysctl magic that network service does
20959 - sleep 4s after start to allow network time to come up [hack]
20963 - Load all network device kernel modules (hal doesn't know devices
20964 are ethernet until the module is loaded, and therefore we don't know)
20966 * src/NetworkManager.c
20967 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20968 network devices, and bring up the loopback device explicitly
20970 * src/NetworkManagerUtils.[ch]
20971 - (nm_enable_loopback): new function
20973 2004-08-13 Dan Williams <dcbw@redhat.com>
20976 panel-applet/Makefile.am
20977 - Fix up cleanfiles and server_DATA/server_in_files
20980 - Update with some comments on theory of operation
20986 2004-08-12 Dan Williams <dcbw@redhat.com>
20988 * info-daemon/passphrase.glade
20989 - Set window title to " "
20991 * panel-applet/Makefile.am
20992 panel-applet/keyring.png
20993 - Deliver to correct place
20995 * panel-applet/NMWirelessApplet.[ch]
20997 - Remove applet->have_active_device as its no longer used
20998 - (nmwa_load_theme): load keyring.png too
20999 - (error_dialog): remove
21000 - (show_warning_dialog): subsume functionality of error dialog too
21001 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21002 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21004 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21005 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21006 and when we get broadcasts of changed wireless access points only, not when the
21007 user clicks on the button to display the menu (too long of a wait)
21008 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21009 networks that are encrypted
21010 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21011 menu item with g_object_set_data()
21013 * panel-applet/NMWirelessAppletDbus.[ch]
21014 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21015 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21016 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21017 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21018 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21019 activation/deactivation signals and rebuild the menu when they happen
21021 * src/NetworkManager.c
21022 - (main): use new nm_spawn_process() rather than system()
21024 * src/NetworkManagerDbus.c
21025 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21026 instead. Since we can now force best_aps to stick around, the AP structure to which
21027 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21028 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
21029 to freeze the best_ap.
21031 * src/NetworkManagerDevice.[ch]
21032 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21033 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21034 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21037 * src/NetworkManagerUtils.[ch]
21038 - (nm_spawn_process): add replacement for system() usage
21040 2004-08-11 Dan Williams <dcbw@redhat.com>
21042 * panel-applet/NMWirelessApplet.[ch]
21043 - Fix up copyright and credits to include Bastien and Eskil,
21044 who created the gnome-applets wireless applet, from whose
21045 skeleton this one was created
21046 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21047 pixmap to draw is computed during nmwa_update_state()
21048 - Applet now shows itself all the time due to panel packing issues
21049 which caused the applet to previously never come back after hiding.
21050 When a wired device is the active device, the applet shows "not connected"
21052 * panel-applet/NMWirelessAppletDbus.[ch]
21053 - Clean up error messages and show what function they are from
21054 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21055 - Add new device type getters, and a status getter
21057 * src/NetworkManagerDbus.c
21058 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21059 network is actually in the device's ap list
21060 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21062 * src/NetworkManagerDevice.c
21063 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21066 * test/nmclienttest.c
21067 - Report status of NetworkManager too
21069 2004-08-11 Dan Williams <dcbw@redhat.com>
21071 * info-daemon/NetworkManagerInfo.c:
21072 - (main): clean up Seth's code style
21074 * info-daemon/NetworkManagerInfoDbus.c:
21075 - Use the more aptly-named path/service/interface constants from NetworkManager
21076 - Don't return empty strings ("") as object paths ever, instead return errors
21078 * panel-applet/NMWirelessApplet.c:
21079 - Clean up Seth's code style
21081 * src/NetworkManager.[ch]
21082 - (nm_remove_device_from_list): remove anything having to do with pending_device
21083 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21085 * src/NetworkManagerAPList.[ch]
21086 - Move Iter struct right above the iter functions to preserve opacity
21087 - (nm_ap_list_remove_ap): implement
21088 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21089 remove AP if NetworkManagerInfo doesn't know anything about it
21090 - (nm_ap_list_diff): user NMAPList iterators
21091 - (nm_ap_list_print_members): implement debugging function
21093 * src/NetworkManagerDbus.[ch]
21094 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21095 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21096 and move the actual key setting stuff into NetworkManagerDevice.c
21097 - (nm_dbus_get_network_priority): return -1 now on errors
21098 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21099 get lost, and force the active device to update its "best" ap when AP lists change
21100 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21101 method call due to pending_device member removal
21103 * src/NetworkManagerDevice.[ch]
21104 - Move NMDevice structure to the top
21105 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21106 - Remove Pending Action stuff from everywhere
21107 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21108 activation for us. This thread blocks until all conditions for activation have
21109 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21110 then setup up the interface and runs dhclient. We have to do this because there
21111 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21112 run our main loop and respond to dbus method calls or HAL device removals/inserts
21113 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21114 can tell nm_device_activation_worker() that we've got a key
21115 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21116 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21117 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21118 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21120 * src/NetworkManagerPolicy.c
21121 - Remove anything to do with pending_device
21122 - Adjust device activation to deal with activation-in-worker-thread
21124 * src/NetworkManagerUtils.c
21125 - Clean up locking debugging a bit
21127 * src/NetworkManagerWireless.[ch]
21128 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
21129 was badly named and is better as a device function
21131 * panel-applet/.cvsignore: add
21133 2004-08-09 Seth Nickell <seth@gnome.org>
21135 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21136 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21138 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21140 Don't load the menus until clicked on (also removes a call outside
21141 normal code paths at first load).
21143 Hide applet when NM is not present.
21145 Improve printf debugging stuff.
21147 2004-08-09 Dan Williams <dcbw@redhat.com>
21149 * dispatcher-daemon/NetworkManagerDispatcher.c:
21150 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21151 - Use constants for NetworkManager interface, service, and path
21153 2004-08-09 Dan Williams <dcbw@redhat.com>
21155 * src/NetworkManagerDbus.c:
21156 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21157 instead return an error message
21158 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21159 on a wired device. Also never return an empty object path, instead return an error message
21161 2004-08-06 Seth Nickell <seth@gnome.org>
21163 * panel-applet/NMWirelessApplet.c: (nmwa_new):
21165 Check the error code when getting a connection.
21167 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21169 Check if the NM service exists when initializing (rather than
21170 assuming it does not).
21172 * src/NetworkManagerDbus.c: (nm_dbus_init):
21174 Don't acquire the well-known service name until we have
21175 registered object/path handlers and can actually receive
21178 2004-08-06 Dan Williams <dcbw@redhat.com>
21183 * src/NetworkManagerPolicy.c
21184 src/NetworkManager.c
21185 - Get access point lists from NetworkManagerInfo on-demand,
21186 and look for ServiceCreate/ServiceDeleted signals to see when
21187 we should query NMI for lists
21188 * src/NetworkManagerAPList.c
21189 - Make sure to init the list's mutex
21190 - Convert traversals of the list over to the list iter functions
21192 * src/NetworkManagerDbus.[ch]
21193 - Use more aptly-named path/service/interface constants
21194 - Treat both active and pending devices the same for "getActiveDevice"
21195 - Add a "status" method returning "connected", "connecting", or "disconnected"
21197 * src/NetworkManagerDevice.c
21198 - Honor "ignored" network list when picking best ap to use
21200 2004-08-06 Seth Nickell <seth@gnome.org>
21204 Autogenerated, remove from CVS.
21208 Don't hardcode automake version.
21211 * info-daemon/Makefile.am:
21212 * info-daemon/NetworkManagerInfo.c: (main):
21214 Use GnomeProgram et al. for doing session management.
21215 Use popt stuff for argument parsing rather than doing
21218 2004-08-05 Dan Williams <dcbw@redhat.com>
21220 * test/nminfotest.c
21221 - Update to new NMI dbus API, check different network types
21223 * info-daemon/NetworkManagerInfoDbus.c
21224 - Update to new NM dbus API, ie network type sent in query message
21226 2004-08-05 Dan Williams <dcbw@redhat.com>
21228 * An assload of changes
21230 2004-08-02 Dan Williams <dcbw@redhat.com>
21233 - new task: proper logging support
21235 * info-daemon/NetworkManagerInfo.c
21236 - Correct spelling of "canceled"
21237 - Correct casting of objects for g_signal_connect()
21239 * info-daemon/NetworkManagerInfoDbus.c
21240 - Add defines for NetworkManager namespace and object path, and use them
21241 - Add filter function to trap new signals from NetworkManager:
21242 WirelessNetworkAppeared, WirelessNetworkDisappeared
21244 * info-daemon/passphrase.glade
21245 - Change name of "ok" button to "Login to Network..."
21248 * src/NetworkManager.c
21249 - Code and debug message cleanups
21250 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21251 - (nm_add_initial_devices) Check returned string array of devices
21252 and don't try to add devices if array is NULL
21253 - (main) Initialize libhal a bit later, make code a bit clearer
21255 * src/NetworkManagerAP.[ch]
21256 - New accessor and data member "matched": used to speed up AP list
21258 - New accessor and data member "enc_method": will be used during key
21259 fallback to cache which passphrase->key conversion actually works
21260 so we don't have to do it every time
21262 * src/NetworkManagerAPList.[ch]
21263 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21264 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21265 between them, and send WirelessNetworkAppeared/Disappeared signals over
21266 dbus in response to those differences
21268 * src/NetworkManagerDbus.[ch]
21269 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21270 make an object path for that access point (NOTE that we don't yet check to
21271 make sure that access point is actually in the device's AP list yet)
21272 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21273 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21274 New: signal appearance/disappearance of wireless networks
21275 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21278 * src/NetworkManagerDevice.[ch]
21279 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21280 - (nm_device_ap_list_get) New: return the AP list (static function)
21281 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21282 new one resulting from the scan with the old one
21284 * src/NetworkManagerWireless.c
21285 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21287 * test/nminfotest.c
21288 - #define object paths and namespaces and use the #defines rather than static strings
21289 - Test out user-key functionality of NetworkManagerInfo too
21291 2004-07-29 Dan Williams <dcbw@redhat.com>
21293 * info-daemon/NetworkManagerInfoDbus.c
21294 src/NetworkManagerDbus.c
21295 - Update to current DBus (ie don't use decomposed paths when registering
21296 object paths/fallbacks)
21298 2004-07-27 Dan Williams <dcbw@redhat.com>
21300 * Remove various Makefile.in files
21303 - Add some more items
21306 - Add checks for OpenSSL/md5 headers and libs
21309 - Use OpenSSL CFLAGS
21311 * src/NetworkManagerAP.[ch]
21312 - Remove 'stamp' functions, replace with 'invalid' functions
21313 to support user cancelling WEP key entry
21315 * src/NetworkManagerDbus.c
21316 - Remove 'stamp' return functions
21317 - Treat returned user key as a passphrase and convert to a WEP key,
21318 but don't actually use the WEP key yet. We use the returned user
21319 key as a hexadecimal WEP key until we can figure out a UI for
21320 passphrase-vs-hex key
21322 * src/NetworkManagerWireless.[ch]
21323 - Add passphrase-to-128bit-key function
21325 2004-07-27 Dan Williams <dcbw@redhat.com>
21328 - Add a couple of items
21330 2004-07-27 Dan Williams <dcbw@redhat.com>
21332 * info-daemon/NetworkManagerInfo.c
21333 - Update allowed network's GConf key when user enters a WEP key explicitly
21335 * info-daemon/NetworkManagerDbus.c
21336 - Fix some comments
21337 - nmi_dbus_get_allowed_networks(): kill warning
21339 2004-07-27 Dan Williams <dcbw@redhat.com>
21341 * initscript/Makefile.in
21344 * initscript/Makefile.am
21345 - Add correct rules to install the init.d initscript
21347 * info-daemon/NetworkManagerInfoDbus.c
21348 - Remove debug fprintf
21350 * src/NetworkManagerDbus.[ch]
21351 - Remove debug fprintfs
21352 - Add macros for NetworkManagerInfo object path/namespace
21353 - Use said macros instead of constant strings
21355 2004-07-27 Dan Williams <dcbw@redhat.com>
21357 * initscript/.cvsignore
21360 * info-daemon/Makefile.am
21361 - Install .glade files and keyring.png
21362 - Fix stupid omission of a \ that caused half the flags not to be
21365 * info-daemon/NetworkManagerInfo.c
21366 - gtk_signal_connect->g_signal_connect
21367 - Alert NetworkManagerInfo to new glade file location
21369 2004-07-27 Dan Williams <dcbw@redhat.com>
21371 * test/nmclienttest.c
21373 - Add missing <dbus/dbus.h> headers
21374 - Add GPL message at top
21376 2004-07-27 Dan Williams <dcbw@redhat.com>
21378 * src/NetworkManagerAPList.[ch]
21380 - Add. Deal with allowed network list additions, deletions, and updates
21382 * dispatcher-daemon/NetworkManagerDispatcher.c
21383 - Add missing <dbus/dbus.h> header
21385 * info-daemon/NetworkManagerInfo.[ch]
21386 - Add missing <dbus/dbus.h> header
21387 - Implement the GConf notify callback to signal NetworkManager of an allowed
21389 - Better error checking
21391 * info-daemon/NetworkManagerInfoDbus.[ch]
21392 - Add missing <dbus/dbus.h> header
21393 - Convert to using dbus_message_append_args/dbus_message_get_args
21394 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21395 that an allowed network changed. We don't want to signal on individual
21396 keys _inside_ an allowed network really, just want NM to query the info
21397 daemon for updated info on all keys.
21398 - Better error checking
21400 * src/NetworkManager.[ch]
21401 - Add missing <dbus/dbus.h> header
21402 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21403 - Zero out NMData structure on free
21404 - No longer use a thread for allowed_ap_list updating, instead its now done
21405 through dbus queries against NetworkManagerInfo
21406 - Populate allowed_ap_list initially before adding existing network devices
21407 to the device list, so wireless devices can get their "best" AP
21409 * src/NetworkManagerDbus.[ch]
21410 - Convert to using dbus_message_append_args/dbus_message_get_args
21411 - Better error checking
21412 - Implement Allowed Network info functions to request allowed network
21413 info from NetworkManagerInfo
21414 - Implement the filter function to process signals from NetworkManagerInfo
21415 about changing allowed networks
21417 * src/NetworkManagerDevice.c
21418 - Fix file descriptor leak in nm_device_update_ip4_address()
21420 2004-07-27 Dan Williams <dcbw@redhat.com>
21425 dispatcher-daemon/.cvsignore
21426 info-daemon/.cvsignore
21427 - Add .cvsignore files to reduce noise when diffing
21429 2004-07-24 Dan Williams <dcbw@redhat.com>
21431 * src/NetworkManager.[ch]
21432 src/NetworkManagerDbus.[ch]
21433 src/NetworkManagerDevice.[ch]
21434 src/NetworkManagerPolicy.c
21435 src/NetworkManagerWireless.[ch]
21436 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21437 - Pass the NMData application data structure through all calls
21438 that need it so we can get rid of nm_get_global_data()
21439 - Change deallocation of the allowed_ap_list GSList in preparation
21440 for not completely clearing it every time we get an update,
21441 but instead getting incremental updates via GConf/dbus
21443 2004-07-22 Dan Williams <dcbw@redhat.com>
21446 - Add checks for GConf libs & headers & flags
21448 * info-daemon/Makefile.am
21449 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21451 * info-daemon/NetworkManagerInfo.[ch]
21452 - Don't use gquarks for data storage, just use normal data storage
21453 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21455 * info-daemon/NetworkManagerDbus.[ch]
21456 - Add method call for getting allowed networks
21457 - Add method calls for getting an allowed network's essid, priority, and key
21458 - Hook the method calls up to GConf
21459 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21460 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21462 * src/NetworkManagerDbus.[ch]
21463 - Switch for enumeration of networks to using essid instead
21467 - Add test program for NetworkManagerInfo
21469 2004-07-19 Dan Williams <dcbw@redhat.com>
21471 * src/NetworkManagerDbus.c
21472 - Switch from indexed device paths to names. Less code, more efficient.
21473 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21475 2004-07-19 Dan Williams <dcbw@redhat.com>
21477 * dispatcher-daemon/NetworkManagerDispatcher.c
21478 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21480 2004-07-19 Dan Williams <dcbw@redhat.com>
21483 - Add info-daemon directory
21486 - Check for glade libs and headers
21487 - Add info-daemon directory
21489 * src/NetworkManagerAP.c
21490 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21491 copied over to the new AP.
21493 * src/NetworkManagerDbus.c
21494 src/NetworkManagerDbus.h
21495 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21496 - Remove nm_dbus_signal_need_key_for_network()
21497 - Add disabled code for asynchronous user wep key callbacks
21498 - Add functions for getting, setting, and cancelling user key operations
21499 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21500 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21502 * src/NetworkManagerDevice.c
21503 src/NetworkManagerDevice.h
21504 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21505 logic is in device activation now
21506 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21507 key is wrong) trigger get-user-key pending action
21508 - Implement get-user-key pending action stuff, tie to dbus messages
21509 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21510 - Add nm_device_ap_list_get_ap_by_essid()
21511 - Instead of copying "best" access points, ref them instead so that the key we set
21514 * src/NetworkManagerPolicy.c
21515 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21516 - Don't cancel pending actions on a device if its the same device as last iteration
21517 - Only promote pending_device->active_device if activation was successfull
21520 - Rename nmclienttest->nmtest
21522 * info-daemon/Makefile.am
21523 info-daemon/NetworkManagerInfo.c
21524 info-daemon/NetworkManagerInfo.h
21525 info-daemon/NetworkManagerInfoDbus.c
21526 info-daemon/NetworkManagerInfoDbus.h
21527 info-daemon/passphrase.glade
21528 info-daemon/NetworkManagerInfo.conf
21529 info-daemon/keyring.png
21530 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21531 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21532 lists to NetworkManager by proxying user's GConf
21535 2004-07-15 Dan Williams <dcbw@redhat.com>
21540 * src/NetworkManager.c
21541 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21542 that doing the deactivation ourselves
21543 - Cancel an pending actions on a device if its being removed
21544 - Break up link state checking a bit, make non-active wireless cards
21545 deactivated to save power
21546 - Remove unused variables
21548 * src/NetworkManager.h
21549 - Add support for "pending" device
21551 * src/NetworkManagerAP.h
21552 src/NetworkManagerAP.c
21553 - Add support for determining whether and AP has encryption enabled or not
21554 - AP address is now "struct ether_addr" rather than a string
21556 * src/NetworkManagerDbus.h
21557 src/NetworkManagerDbus.c
21558 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21559 - Changes for AP address from struct ether_addr->string
21561 * src/NetworkManagerDevice.h
21562 src/NetworkManagerDevice.c
21563 - Remove unused variables, fix warnings
21564 - Add support for Pending Actions (things that block a device from being "active"
21565 until they are completed).
21566 - First pending action: Get a WEP key from the user
21567 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21568 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21569 - Update wireless link checking to try to determine if the AP we are associated
21570 with is correct, but the WEP key we are using is just wrong. If its wrong,
21571 trigger the GetUserKey pending action on the device
21572 - If dhclient can't get an IP address, it brings the device down. Bring it back
21573 up in that case, otherwise we can't scan or link-check on it
21574 - Add IP address change notifications at appropriate points (still needs some work)
21575 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21577 * src/NetworkManagerPolicy.h
21578 src/NetworkManagerPolicy.c
21579 - Split out "best" access point determiniation into separate function
21580 - Make device activation 2-stage: first the device is pending, then
21581 in the next iteration through it becomes "active" unless it has
21584 * src/NetworkManagerUtils.h
21585 src/NetworkManagerUtils.c
21586 - Clean up unused variables and warnings
21587 - Wrap our debug macros in {} to prevent possible confusion
21589 * src/NetworkManagerWireless.c
21590 - Forgot to return current best priority, which lead to last available AP always
21591 being chosen no matter what its priority was. Corrected.
21593 2004-07-15 Dan Williams <dcbw@redhat.com>
21595 * dispatcher-daemon/Makefile.am
21598 * dispatcher-daemon/NetworkManagerDispatcher.c
21599 - Remove unused variables due to warnings
21600 - Fix some comments
21601 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21603 2004-07-06 Dan Williams <dcbw@redhat.com>
21605 * src/NetworkManager.c
21606 - Add IPv4 address update for active device during link state check
21607 - Don't allow wireless cards to be powered up when they are not the
21610 * src/NetworkManagerDbus.c
21611 src/NetworkManagerDbus.h
21612 - Add DBUS IPv4 address change signal
21613 - Add DBUS IPv4 address get method for devices
21615 * src/NetworkManagerDevice.c
21616 - Make setting the WEP key actually work
21617 - Move IP address get/set/update stuff here, per-device
21618 - Power down/bring down wireless device when deactivated
21619 - For scanning wireless devices, if first scan returned ENODATA, try again
21621 * src/NetworkManagerPolicy.c
21622 - Only set the WEP key for an allowed access point if there is one.
21623 We were setting it to be blank if one wasn't specified.
21625 * src/NetworkManagerUtils.h
21626 src/NetworkManagerUtils.c
21627 - Move the IP address stuff to NetworkManagerDevice.c
21629 * dispatcher-daemon/NetworkManagerDispatcher.c
21630 - Add device IPv4 address change notification stuff
21632 2004-07-05 Dan Williams <dcbw@redhat.com>
21634 * dispatcher-daemon/NetworkManagerDispatcher.c
21635 - A bit more descriptive state message
21636 - Don't segfault when reading directory
21638 * src/NetworkManager.h
21639 - Remove NMData desired_ap member, its now
21640 per-device rather than global
21642 * src/NetworkManager.c
21643 - Remove references to desired_ap
21644 - Move the allowed AP list refresh stuff into a thread
21646 * src/NetworkManagerDevice.c
21647 src/NetworkManagerDevice.h
21648 - Each wireless device now has a "best ap"
21649 - Make device activate/deactivate functions per-device
21650 - Make wireless scanning per-device
21651 - Add IPv4 address discover functions, stub IPv6 ones
21652 - Move ethernet address validation functions to NetworkManagerUtils.c
21653 - Add wireless access point accessor function
21654 - Get/Set functions for "best ap"
21656 * src/NetworkManagerPolicy.c
21657 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21658 - Deal with per-device "best ap" rather than data->desired_apa
21659 - Implement allowed access point worker thread
21660 - Add nm_policy_essid_is_allowed() function
21662 * src/NetworkManagerUtils.c
21663 src/NetworkManagerUtils.h
21664 - Add nm_ethernet_address_is_valid() function
21665 - Add IPv4/IPv6 address get functions
21667 * src/NetworkManagerWireless.c
21668 src/NetworkManagerWireless.h
21669 - Move scanning stuff into NetworkManagerDevice.c, per-device
21671 2004-06-29 Dan Williams <dcbw@redhat.com>
21673 * dispatcher-daemon/NetworkManagerDispatcher.c
21674 - Implement script callout functionality
21676 2004-06-24 Dan Williams <dcbw@redhat.com>
21680 - Flush device routes and ip addresses when added to the device list
21682 * NetworkManagerDbus.c
21684 - Add missing returns in the two signal functions
21686 * NetworkManagerPolicy.c
21687 - Spacing and variable cleanups
21689 2004-06-24 Dan Williams <dcbw@redhat.com>
21694 dispatcher-daemon/Makefile.am
21695 dispatcher-daemon/Makefile.in
21696 dispatcher-daemon/NetworkManagerDispatcher.c
21697 - Add a daemon that receives signals from NetworkManager
21698 and will (eventually) call scripts in /etc/somewhere
21699 when devices go up or down.
21703 - Flush device routes and ip addresses when added to the device list
21705 * NetworkManagerDbus.c
21707 - Add missing returns in the two signal functions
21709 * NetworkManagerPolicy.c
21710 - Spacing and variable cleanups
21711 - Rename nm_policy_switch_interface->nm_policy_switch_device
21712 - nm_policy_switch_device():
21713 Use kill (pid) instead of system ("kill <pid>")
21714 - nm_state_modification_monitor():
21715 Add wireless essid to output of debug statements
21716 Correct typo in device compare to switch or not (should be !=)
21717 Don't sleep after sending "no longer active" signal, was useless
21719 2004-06-24 Dan Williams <dcbw@redhat.com>