1 2008-11-02 Dan Williams <dcbw@redhat.com>
3 * src/NetworkManagerAP.c
4 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
5 setting as unencrypted; fixes a bug where NM wouldn't ask for new
6 secrets when connecting to an encrypted network failed
8 2008-10-30 Dan Williams <dcbw@redhat.com>
10 * libnm-util/libnm-util.ver
11 libnm-util/nm-setting-ip6-config.c
12 libnm-util/nm-setting-ip6-config.h
13 libnm-util/Makefile.am
14 - Make properties private and add accessor functions
15 - Hide IPv6 stuff from public API, it's incomplete and completely unused
17 * libnm-util/nm-connection.c
20 - Ignore IPv6 stuff for now
22 2008-10-30 Dan Williams <dcbw@redhat.com>
24 * libnm-util/libnm-util.ver
25 libnm-util/nm-setting-8021x.c
26 libnm-util/nm-setting-8021x.h
27 - Make properties private and add accessor functions
29 * src/supplicant-manager/nm-supplicant-config.c
30 system-settings/plugins/ifcfg-suse/parser.c
31 - Use 802.1x setting accessors
33 2008-10-30 Dan Williams <dcbw@redhat.com>
35 * libnm-util/libnm-util.ver
36 libnm-util/nm-setting-wireless-security.c
37 libnm-util/nm-setting-wireless-security.h
38 - Make properties private and add accessor functions
40 * libnm-util/nm-setting-wireless.c
41 src/NetworkManagerAP.c
43 src/supplicant-manager/nm-supplicant-config.c
44 system-settings/plugins/ifcfg-fedora/reader.c
45 system-settings/plugins/ifcfg-suse/parser.c
46 - Use wireless security accessors
48 2008-10-30 Dan Williams <dcbw@redhat.com>
50 * src/nm-device-ethernet.c
53 src/ppp-manager/nm-ppp-manager.c
54 - Harmonize return checking of ioctl
56 * system-settings/plugins/ifcfg-fedora/reader.c
57 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
59 2008-10-30 Dan Williams <dcbw@redhat.com>
61 * src/ppp-manager/nm-ppp-manager.c
62 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
63 ppp_generic module to create it (bgo #533064)
65 2008-10-30 Dan Williams <dcbw@redhat.com>
67 Patch from Alexander Sack <asac@canonical.com>
69 Fix "ppp connections don't honour ip4 connection settings"
71 * src/nm-device-ethernet.c
72 - (real_act_stage4_get_ip4_config): merge ip4config settings
73 with results from ppp manager
75 * src/nm-serial-device.c
76 - (real_act_stage4_get_ip4_config): merge ip4config settings
77 with results from ppp manager
79 2008-10-29 Dan Williams <dcbw@redhat.com>
81 * libnm-util/libnm-util.ver
82 libnm-util/nm-setting-ip4-config.c
83 libnm-util/nm-setting-ip4-config.h
84 - Make properties private and add accessor functions
86 * callouts/nm-dispatcher-action.c
87 libnm-glib/libnm-glib-test.c
89 src/NetworkManagerPolicy.c
90 src/NetworkManagerSystem.c
91 src/NetworkManagerUtils.c
92 src/dhcp-manager/nm-dhcp-dhclient.c
93 src/dhcp-manager/nm-dhcp-manager.c
94 src/dnsmasq-manager/nm-dnsmasq-manager.c
97 src/nm-hso-gsm-device.c
100 src/ppp-manager/nm-ppp-manager.c
101 src/vpn-manager/nm-vpn-connection.c
102 system-settings/plugins/ifcfg-fedora/reader.c
103 system-settings/plugins/ifcfg-suse/parser.c
104 system-settings/plugins/ifcfg-suse/plugin.c
105 system-settings/plugins/ifupdown/parser.c
107 vpn-daemons/vpnc/properties/nm-vpnc.c
108 - Use IP4 accessor functions
110 2008-10-29 Tambet Ingo <tambet@gmail.com>
112 Half of it by Dan Williams <dcbw@redhat.com>
114 * libnm-util/libnm-util.ver
115 libnm-util/nm-setting-vpn.c
116 libnm-util/nm-setting-vpn.h
117 - Make properties private and add accessor functions.
119 * src/vpn-manager/nm-vpn-connection.c
120 src/vpn-manager/nm-vpn-manager.c
121 system-settings/plugins/keyfile/reader.c
122 vpn-daemons/openvpn/properties/auth-helpers.c
123 vpn-daemons/openvpn/properties/import-export.c
124 vpn-daemons/openvpn/properties/nm-openvpn.c
125 vpn-daemons/openvpn/src/nm-openvpn-service.c
126 vpn-daemons/pptp/auth-dialog/main.c
127 vpn-daemons/pptp/properties/advanced-dialog.c
128 vpn-daemons/pptp/properties/nm-pptp.c
129 vpn-daemons/pptp/src/nm-pptp-service.c
130 vpn-daemons/vpnc/properties/nm-vpnc.c
131 vpn-daemons/vpnc/src/nm-vpnc-service.c
132 - Use VPN setting accessors.
134 2008-10-28 Dan Williams <dcbw@redhat.com>
136 Patch from Tambet Ingo <tambet@gmail.com>
138 * libnm-util/libnm-util.ver
139 libnm-util/nm-setting-wireless.c
140 libnm-util/nm-setting-wireless.h
141 - Make properties private and add accessor functions
143 * src/NetworkManagerAP.c
146 src/supplicant-manager/nm-supplicant-config.c
147 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
148 system-settings/plugins/ifcfg-fedora/reader.c
149 system-settings/plugins/ifcfg-suse/parser.c
150 system-settings/plugins/ifupdown/parser.c
151 - Use wireless setting accessors
153 2008-10-27 Dan Williams <dcbw@redhat.com>
155 Patch from Tambet Ingo <tambet@gmail.com>
157 * libnm-util/libnm-util.ver
158 libnm-util/nm-setting-ppp.c
159 libnm-util/nm-setting-ppp.h
160 - Make properties private and add accessor functions
162 * src/ppp-manager/nm-ppp-manager.c
163 - Use ppp setting accessors
165 2008-10-27 Dan Williams <dcbw@redhat.com>
167 Patch from Tambet Ingo <tambet@gmail.com>
169 * libnm-util/nm-setting.h
170 libnm-util/nm-setting.c
171 - Make properties private and add accessor functions
173 * libnm-util/nm-connection.c
174 libnm-util/nm-setting-8021x.c
175 libnm-util/nm-setting-cdma.c
176 libnm-util/nm-setting-connection.c
177 libnm-util/nm-setting-gsm.c
178 libnm-util/nm-setting-ip4-config.c
179 libnm-util/nm-setting-ip6-config.c
180 libnm-util/nm-setting-ppp.c
181 libnm-util/nm-setting-pppoe.c
182 libnm-util/nm-setting-serial.c
183 libnm-util/nm-setting-template.c
184 libnm-util/nm-setting-vpn.c
185 libnm-util/nm-setting-wired.c
186 libnm-util/nm-setting-wireless-security.c
187 libnm-util/nm-setting-wireless.c
188 system-settings/plugins/keyfile/reader.c
189 system-settings/plugins/keyfile/writer.c
190 - Use setting accessors
192 2008-10-27 Dan Williams <dcbw@redhat.com>
194 * libnm-util/libnm-util.ver
195 libnm-util/nm-setting-connection.c
196 libnm-util/nm-setting-connection.h
197 - Add a 'read-only' property that indicates the connection cannot be
200 * system-settings/plugins/ifcfg-fedora/reader.c
201 system-settings/plugins/ifcfg-suse/parser.c
202 system-settings/plugins/ifupdown/parser.c
203 - These plugins are read-only at the moment
205 * system-settings/plugins/keyfile/reader.c
206 system-settings/plugins/keyfile/writer.c
207 - Read-only shouldn't get saved out to files or read in from them
209 2008-10-27 Tambet Ingo <tambet@gmail.com>
211 * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
212 correct speed reporting for fast devices (kernel >= 2.6.27).
214 2008-10-26 Dan Williams <dcbw@redhat.com>
216 Attempt to compensate for modems that don't enable full AT parsing before
217 the PIN has been entered.
219 * src/nm-gsm-device.c
220 - (init_modem): accept different init strings
221 - (init_done): try different init strings on failure
222 - (check_pin_done): on PIN success, do full modem init
224 2008-10-26 Dan Williams <dcbw@redhat.com>
226 Patch from Tambet Ingo <tambet@gmail.com>
228 * libnm-util/libnm-util.ver
229 libnm-util/nm-setting-connection.c
230 libnm-util/nm-setting-connection.h
231 - Make properties private and add accessor functions
233 * src/NetworkManagerPolicy.c
235 src/nm-device-ethernet.c
236 src/nm-device-interface.c
240 src/ppp-manager/nm-ppp-manager.c
241 src/vpn-manager/nm-vpn-connection.c
242 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
243 system-settings/plugins/ifcfg-fedora/plugin.c
244 system-settings/plugins/ifcfg-fedora/reader.c
245 system-settings/plugins/ifcfg-suse/parser.c
246 system-settings/plugins/ifupdown/parser.c
247 system-settings/plugins/keyfile/nm-keyfile-connection.c
248 system-settings/plugins/keyfile/plugin.c
249 system-settings/plugins/keyfile/writer.c
250 system-settings/src/main.c
251 - Use those accessors
253 2008-10-26 Dan Williams <dcbw@redhat.com>
255 Patch from Tambet Ingo <tambet@gmail.com>
257 * libnm-util/libnm-util.ver
258 libnm-util/nm-setting-gsm.c
259 libnm-util/nm-setting-gsm.h
260 - Make properties private and add accessor functions
262 * src/nm-gsm-device.c
263 src/nm-hso-gsm-device.c
264 src/ppp-manager/nm-ppp-manager.c
265 - Use those accessors
267 2008-10-26 Dan Williams <dcbw@redhat.com>
269 Patch from Tambet Ingo <tambet@gmail.com>
271 * libnm-util/libnm-util.ver
272 libnm-util/nm-setting-cdma.c
273 libnm-util/nm-setting-cdma.h
274 - Make properties private and add accessor functions
276 * src/nm-cdma-device.c
277 src/ppp-manager/nm-ppp-manager.c
278 - Use those accessors
280 2008-10-26 Dan Williams <dcbw@redhat.com>
282 Patch from Tambet Ingo <tambet@gmail.com>
284 * libnm-util/libnm-util.ver
285 libnm-util/nm-setting-pppoe.c
286 libnm-util/nm-setting-pppoe.h
287 - Make properties private and add accessor functions
289 * src/nm-device-ethernet.c
290 src/ppp-manager/nm-ppp-manager.c
291 - Use those accessors
293 2008-10-26 Dan Williams <dcbw@redhat.com>
295 Patch from Tambet Ingo <tambet@gmail.com>
297 * libnm-util/libnm-util.ver
298 libnm-util/nm-setting-wired.c
299 libnm-util/nm-setting-wired.h
300 - Make properties private and add accessor functions
302 * src/nm-device-ethernet.c
303 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
304 system-settings/plugins/ifcfg-suse/parser.c
305 system-settings/src/main.c
306 - Use those accessors
308 2008-10-26 Dan Williams <dcbw@redhat.com>
310 Patch from Tambet Ingo <tambet@gmail.com>
312 * libnm-util/libnm-util.ver
313 libnm-util/nm-setting-serial.c
314 libnm-util/nm-setting-serial.h
315 src/nm-serial-device.c
316 - Make properties private and use accessors instead
318 2008-10-26 Dan Williams <dcbw@redhat.com>
320 * src/supplicant-manager/nm-supplicant-interface.c
321 src/supplicant-manager/nm-supplicant-interface.h
322 src/supplicant-manager/nm-supplicant-manager.c
323 src/supplicant-manager/nm-supplicant-manager.h
324 - Add state-to-string conversion functions
326 * src/nm-device-wifi.c
327 src/nm-device-ethernet.c
328 - Normalize state info logging and use strings instead of numbers
330 2008-10-26 Dan Williams <dcbw@redhat.com>
332 * src/NetworkManagerPolicy.c
333 - (update_routing_and_dns): ignore host routes when determining whether
334 a VPN connection should own the default route (bgo #552594)
336 2008-10-24 Dan Williams <dcbw@redhat.com>
338 * src/nm-gsm-device.c
339 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
341 2008-10-23 Dan Williams <dcbw@redhat.com>
343 * src/ppp-manager/nm-ppp-manager.c
344 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
345 add really important stuff to the command line to ensure that NM
346 overrides /etc/ppp/options (bgo #556781)
348 2008-10-22 Dan Williams <dcbw@redhat.com>
350 * src/NetworkManagerSystem.c
352 - Use the device's IP interface where appropriate (Per Hallsmark)
354 2008-10-22 Dan Williams <dcbw@redhat.com>
356 * src/nm-gsm-device.c
357 - (schedule_automatic_registration_again): use a short timeout here
358 instead of an idle handler to avoid using too much CPU polling for
359 something we should be waiting a bit for anyway
361 2008-10-22 Dan Williams <dcbw@redhat.com>
363 * include/NetworkManager.h
364 introspection/nm-device.xml
365 - Add device state change reason for carrier changes
367 * src/nm-device-ethernet.c
368 - (set_carrier): use the carrier change reason when changing device
369 state in response to carrier changes
371 2008-10-21 Dan Williams <dcbw@redhat.com>
373 * src/NetworkManagerPolicy.c
374 - (update_etc_hosts): don't leak errors, and ensure that
375 g_file_set_contents() gets a valid error placeholder (rh #461933)
377 2008-10-21 Dan Williams <dcbw@redhat.com>
380 - (free_get_settings_info): don't use the DBusGProxy which could be
381 disposed of by the time the function is called
382 - (internal_new_connection_cb): save connection scope
383 - (connection_get_settings_cb): don't replace a connection unless it's
384 actually different from the existing one; fixes an issue where
385 killing the settings service wouldn't deactivate an active connection
386 provided by that settings service, because it was using a connection
387 that had already been replaced in the system or user hash
389 2008-10-21 Dan Williams <dcbw@redhat.com>
391 * src/NetworkManager.c
392 - (main): keep the DHCP manager around since it's a singleton; fixes
393 a use-after-free exposed by r4196 since the DHCP manager singleton
394 variable isn't cleared when the DHCP manager object is finalized
396 2008-10-20 Dan Williams <dcbw@redhat.com>
398 * libnm-util/nm-setting-wireless-security.c
399 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
401 2008-10-20 Dan Williams <dcbw@redhat.com>
403 * src/supplicant-manager/nm-supplicant-config.c
404 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
406 2008-10-20 Dan Williams <dcbw@redhat.com>
408 * src/dhcp-manager/nm-dhcp-manager.c
409 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
410 manager object already refs it once
411 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
412 also get cleaned up by nm_dhcp_device_destroy() to prevent
415 2008-10-20 Dan Williams <dcbw@redhat.com>
418 - (initial_get_connections): use private dbus manager, don't keep
419 ref-ing the singleton. Fixes mismatched refcounts of the dbus
422 2008-10-18 Dan Williams <dcbw@redhat.com>
424 * libnm-glib/nm-settings.c
425 libnm-glib/nm-settings.h
426 - Rename the "get_secrets" virtual function "service_get_secrets" to
427 clarify when it's used; NMExportedConnetion is a base-class for both
428 the client and service side, which is sort of confusing, and
429 get_secrets only makes sense on the service side.
431 * libnm-glib/nm-dbus-connection.c
432 - (get_secrets): remove, unused, and clients need to do extra work to
433 get secrets anyway since the call can block on the remote side
435 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
436 system-settings/plugins/keyfile/nm-keyfile-connection.c
437 - Fix up for get_secrets -> service_get_secrets
439 2008-10-16 Dan Williams <dcbw@redhat.com>
441 * src/nm-device-wifi.c
442 - (constructor): correctly determine encryption capabilities
444 2008-10-15 Dan Williams <dcbw@redhat.com>
446 * src/nm-device-wifi.c
447 - (wireless_qual_to_percent): fix quality calculation in a fallback case
450 2008-10-15 Dan Williams <dcbw@redhat.com>
452 * src/NetworkManagerSystem.c
453 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
454 if the ip4_dest is in a smaller subnet contained within a subnet
455 the machine is currently on, the destination is in the same subnet
456 - (nm_system_device_set_ip4_route): move subnet checks to callers
457 - (add_vpn_gateway_route): check if the VPN gateway is in the same
458 subnet as the parent device, and if so, don't add the direct
459 host route via the parent device's gateway (bgo #481620)
460 - (nm_system_apply_ip4_config): check whether the route to be added
461 is contained within a subnet the device is already on
463 2008-10-11 Dan Williams <dcbw@redhat.com>
465 * include/NetworkManager.h
466 introspection/nm-device.xml
467 include/NetworkManagerVPN.h
468 - Add a few more state reasons for the device deactivated state
470 * src/nm-device-interface.c
471 src/nm-device-interface.h
472 - (nm_device_interface_deactivate): add a 'reason' argument
476 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
477 - (nm_device_state_changed): pass the state change reason to
478 nm_device_take_down()
479 - (nm_device_set_managed): take a 'reason' argument, and pass it along
480 to the state change function
484 - (remove_one_device, handle_unmanaged_devices, sync_devices,
485 impl_manager_sleep): pass a reason code to nm_device_set_managed()
486 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
487 something reasonable along to VPN deactivation
489 * src/vpn-manager/nm-vpn-manager.c
490 src/vpn-manager/nm-vpn-manager.h
491 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
492 pass that along to nm_vpn_connection_disconnect()
494 2008-10-11 Dan Williams <dcbw@redhat.com>
496 * src/nm-device-wifi.c
497 - (can_scan): remove old madwifi hack for not scanning while connected
499 2008-10-11 Dan Williams <dcbw@redhat.com>
501 Add support for VPN subnet gateways (bgo #549196)
503 * include/NetworkManager.h
504 - Add key for internal VPN subnet gateway
506 * src/vpn-manager/nm-vpn-connection.c
507 - (ip_address_to_string): return a const from a static buffer so we
508 don't leak a lot of strings
509 - (print_vpn_config): print internal VPN gateway as well
510 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
512 - (nm_vpn_connection_get_ip4_internal_gateway): new function
514 * src/NetworkManagerSystem.c
515 src/NetworkManagerSystem.h
516 - (nm_system_device_replace_default_ip4_route): split into two, one for
517 VPN connections and one for normal devices
518 - (replace_default_ip4_route): break out route stuff into its own function
519 - (nm_system_replace_default_ip4_route_vpn,
520 nm_system_replace_default_ip4_route): simplify by having two cases,
521 one for VPNs and one for normal devices
523 * src/NetworkManagerPolicy.c
524 - (update_routing_and_dns): simplify, use split default route replacement
527 2008-10-10 Dan Williams <dcbw@redhat.com>
529 Rework default route handling to consolidate decisions in the policy,
530 and to take active VPN connections into account when changing the default
533 * src/NetworkManager.c
534 - (main): pass the vpn_manager to the policy so it knows about active
535 VPN connections; clean up the named manager which wasn't done before
537 * src/NetworkManagerPolicy.c
538 src/NetworkManagerPolicy.h
539 - (nm_policy_new): get a clue about the vpn_manager
540 - (update_default_route): remove, fold into update_routing_and_dns()
541 - (update_routing_and_dns): handle active VPN connections too; an
542 active VPN connection becomes the default route if it does not have
543 server-specified or user-specified custom routes. Otherwise, the
544 best active device gets the default route
545 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
546 nm_policy_destroy): track VPN connection activation and deactivation
547 and update the default route when appropriate
549 * src/NetworkManagerSystem.c
550 src/NetworkManagerSystem.h
551 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
552 in the VPN connection itself
553 - (nm_system_vpn_device_set_from_ip4_config,
554 nm_system_device_set_from_ip4_config): merge together to make
555 nm_system_apply_ip4_config()
556 - (add_vpn_gateway_route): add a route to the VPN's external gateway
557 via the parent device
558 - (nm_system_apply_ip4_config): simplify
559 - (add_ip4_route_to_gateway): new function; add a direct route to the
561 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
562 route stuff out into add_ip4_route_to_gateway() for clarity
565 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
567 * src/vpn-manager/nm-vpn-connection.c
568 src/vpn-manager/nm-vpn-connection.h
569 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
570 nm_vpn_connection_get_parent_device): add
571 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
573 - (connection_state_changed): update the named manager now that
574 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
577 * src/vpn-manager/nm-vpn-manager.c
578 src/vpn-manager/nm-vpn-manager.h
579 - Add a 'connection-activated' signal
580 - (nm_vpn_manager_get_active_connections): new function; mainly for the
581 policy to find out about active VPN connections
583 2008-10-10 Tambet Ingo <tambet@gmail.com>
585 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
586 a daemon to prevent NM logging spew on console on startup and shutdown (due
587 to dependency loop between NM and syslog).
589 2008-10-10 Alexander Sack <asac@ubuntu.com>
591 Implement managed mode. We bind devices configured in /etc/network/interfaces
592 to their connections by updating wired/wireless setting with the
593 mac address of the device.
595 * system-settings/plugins/ifupdown/plugin.c
596 - (get_net_address_for_udi): implement function to retrieve MAC
597 address of udi from hal in GByteArray format
598 - (bind_device_to_connection): bind mac address of device to
599 wired/wireless system connection
600 - (hal_device_added_cb): call bind_device_to_connection for
601 system connections with a matching interface.name
602 - (hal_device_added_cb): ensure that all code paths
603 properly free the "iface" string.
605 2008-10-10 Alexander Sack <asac@ubuntu.com>
607 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
608 mode of the ifupdown system config plugin.
610 * system-settings/plugins/ifupdown/plugin.c
611 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
612 private unmanage_well_known state field accordingly
614 2008-10-10 Alexander Sack <asac@ubuntu.com>
616 Implement unmanaged mode that will prevent all devices in the
617 well_known_udis set from being touched by NetworkManager
619 * system-settings/plugins/ifupdown/plugin.c
620 - (typedef struct SCPluginIfupdownPrivate): add gboolean
621 unmanage_well_known field used to turn on/off unmanaged
623 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
624 signal when well_known_udis get added/removed
625 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
626 if we are in unmanaged mode
628 2008-10-10 Alexander Sack <asac@ubuntu.com>
630 Add support to track network devices that have a configuration
631 with a matching interface.name in /etc/network/interfaces
633 * system-settings/plugins/ifupdown/plugin.c
634 - (typedef struct SCPluginIfupdownPrivate): add hash table
635 to track |well_known_udis|
636 - (get_iface_for_udi): helper function to get interface.name
638 - (hal_device_added_cb, hal_device_removed_cb): callbacks
639 that add and remove devices to and from the well_known_udis
640 set depending on whether their |interface.name| matches
641 any interface definition in /etc/network/interfaces
642 - (SCPluginIfupdown_init): connect callbacks from above with
643 hal_mgr and setup well_known_udis hashtable
644 - (GObject__dispose): destroy well_known_udis hashtable
645 - (hal_device_added_cb2): implement wrapper callback with GFunc
646 signature. user_data is supposed to be a triple (hal_mgr,
648 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
649 startup and call hal_device_added_cb2
651 2008-10-10 Alexander Sack <asac@ubuntu.com>
653 Remove implementation for not used NMSystemConfigInterface callback functions
656 * system-settings/plugins/ifupdown/plugin.c
657 - (SCPluginIfupdown_unmanaged_devices_changed): removed
658 - (SCPluginIfupdown_connection_added): removed
660 2008-10-08 Dan Williams <dcbw@redhat.com>
662 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
664 * src/NetworkManagerUtils.c
665 - (nm_utils_call_dispatcher): add a 'hostname' action
667 * src/NetworkManagerPolicy.c
668 - (set_system_hostname): dispatch hostname changes
670 * callouts/nm-dispatcher-action.c
671 - (nm_dispatcher_action): handle 'hostname' actions
673 2008-10-08 Dan Williams <dcbw@redhat.com>
675 * src/NetworkManagerSystem.c
676 - (find_route): ref the route so it doesn't get destroyed when the cache
678 - (nm_system_device_set_priority): unref the route here after it's done
681 2008-10-08 Dan Williams <dcbw@redhat.com>
683 * src/nm-serial-device.c
684 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
686 2008-10-08 Tambet Ingo <tambet@gmail.com>
688 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
689 connection with new settings before saving it.
691 2008-10-06 Dan Williams <dcbw@redhat.com>
693 * src/nm-ip4-config.c
695 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
697 * src/nm-device-interface.c
698 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
699 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
700 by using '/' for the object path
703 - (src/nm-device.c): marshal missing/unexported ip4-config through
704 dbus as '/' since dbus-glib can't handle NULL objects nor can
705 dbus handle NULL object paths
707 2008-10-03 Alexander Sack <asac@ubuntu.com>
709 Implement system hostname support for debian/ubuntu
711 * system-settings/plugins/ifupdown/plugin.c
712 - (GObject__get_property): extend announced capabilities; add
713 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
714 - (GObject__set_property,write_system_hostname): implement
715 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
716 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
717 update_system_hostname, get_hostname):
718 implement hostname property that watches and
721 2008-10-03 Alexander Sack <asac@ubuntu.com>
723 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
724 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
725 system-settings/plugins/ifcfg-fedora/Makefile.am
726 system-settings/src/nm-inotify-helper.c
727 system-settings/src/nm-inotify-helper.h
729 - Move ifcfg-fedora inotify helpers to the system settings service so
730 they are available to all plugins
732 2008-10-03 Alexander Sack <asac@ubuntu.com>
734 Implement support for wep-tx-keyidx in ifupdown system
737 * system-settings/plugins/ifupdown/parser.c
738 - (update_wireless_security_setting_from_if_block): introduce
739 free_type_mapping func table; rename a few local
740 variables to improve readability; add wpa security mapping
741 for wep-tx-keyidx property
742 - (string_to_gpointerint): new function used for the auto_type_mapping
743 of new wep-tx-keyidx property
744 - (slist_free_all): free func used for mapped slist types
746 2008-10-03 Alexander Sack <asac@ubuntu.com>
748 * system-settings/src/main.c:
749 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
750 always used as the hash key; fixes a crash when removing wired
753 2008-10-02 Dan Williams <dcbw@redhat.com>
755 * src/nm-gsm-device.c
756 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
757 pass the required GSM secret along via user_data rather than keeping
758 it around in the private data where it sometimes didn't get cleared
759 - (real_get_ppp_name): implement using the GSM username
761 2008-10-02 Dan Williams <dcbw@redhat.com>
763 * src/ppp-manager/nm-ppp-manager.c
764 src/ppp-manager/nm-ppp-manager.h
765 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
766 the settings daemon for completely new ones
767 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
768 local PPP peer name; allow PPP debuging by launching NM with
769 the environment variable NM_PPP_DEBUG defined
770 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
771 create_pppd_cmd_line()
773 * src/nm-serial-device.c
774 src/nm-serial-device.h
775 - New 'get_ppp_name' function for subclasses to implement to return the
777 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
778 and pass that name to the PPP manager
780 * src/nm-device-ethernet.c
781 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
784 * src/nm-cdma-device.c
785 - (real_get_ppp_name): implement using the CDMA username
787 2008-10-02 Dan Williams <dcbw@redhat.com>
789 Patch from Alexander Sack <asac ubuntu com>
791 * system-settings/plugins/ifupdown/parser.c
792 - Implement more graceful ip4 config parsing for cases where
793 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
794 by using default values
796 2008-10-02 Dan Williams <dcbw@redhat.com>
798 * src/NetworkManagerPolicy.c
799 - (device_state_changed): when marking a connection invalid, clear its
800 secrets too so that fresh secrets get requested the next time
802 2008-10-01 Dan Williams <dcbw@redhat.com>
804 * system-settings/src/dbus-settings.c
805 - (nm_sysconfig_settings_init): cache system hostname on startup as
806 a fallback if no plugin provides a hostname
807 - (get_property): fall back to cached hostname if no plugin provides
810 2008-10-01 Dan Williams <dcbw@redhat.com>
812 Fix setting value comparison issue that caused some settings to look the
813 same when they were really different (rh #464417)
815 * libnm-util/nm-param-spec-specialized.c
816 - (type_is_fixed_size): return fundamental size of the fixed type too
817 - (nm_gvalues_compare_collection): use the fundamental fixed type size
818 in the comparison so that the _entire_ fixed type collection gets
819 compared rather than just the first 'len1' bytes
821 2008-09-30 Dan Williams <dcbw@redhat.com>
823 * src/NetworkManagerPolicy.c
824 - (lookup_thread_worker): don't store the idle handler ID becuase the
825 idle handler could have already run and freed the LookupThread
828 2008-09-30 Tambet Ingo <tambet@gmail.com>
830 * src/nm-device.c (nm_device_get_priority): Implement.
831 (nm_device_set_ip4_config): Send the device priority to system ip4
834 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
835 Add priority argument and if it's >= 0, set the priority of the network
836 route added automatically by netlink (or kernel?).
837 (nm_system_device_set_priority): Implement.
839 * src/NetworkManagerPolicy.c (get_best_device): Use
840 nm_device_get_priority() instead of home-grown version. Revert the
841 meaning, best priority is the lowest one.
843 2008-09-29 Dan Williams <dcbw@redhat.com>
845 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
846 when it returns EAGAIN (rh #362421)
848 * src/nm-device-wifi.c
849 - (wireless_get_range): try GIWRANGE a few times until the card responds
850 - (real_get_generic_capabilities, constructor): use wireless_get_range()
852 2008-09-28 Dan Williams <dcbw@redhat.com>
854 * src/nm-serial-device.c
855 src/nm-serial-device.h
856 - (nm_serial_device_close): stop PPP manager here so that PPP gets
857 cleaned at the right times when subclasses close the serial port too
858 - (nm_serial_device_send_command): use a default send delay; don't
859 spin forever on EAGAIN
860 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
861 remove, no longer used
862 - (find_response): return the matched response if any
863 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
865 - (wait_for_reply_done): pass the matched response to the callback
866 - (wait_for_reply_got_data): save the matched response; simplify timeout
868 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
869 const since they never get modified
870 - (cleanup_device): split out common cleanup stuff to a new function
871 - (real_deactivate_quickly, finalize): use cleanup_device()
873 * src/nm-gsm-device.c
874 - (modem_get_reply): remove, unused
875 - (set_apn): give the card a bit more time to respond
876 - (manual_registration_again, schedule_manual_registration_again,
877 manual_registration_response, manual_registration): handle manual
878 registration timeouts better by retrying registration a few times
879 because cards are a bit slow after CFUN=1
880 - (automatic_registration_get_network, get_network_response): use
881 modem_wait_for_reply() because it interacts better with the serial
882 buffer and does more intelligent matching; need to wait for 'OK'
883 rather than just matching terminators
884 - (schedule_automatic_registration_again,
885 automatic_registration_response, automatic_registration): retry
886 registration a few times on timeout or "searching" because cards
887 take a bit to find a network after being powered up with CFUN=1
888 - (power_up_response, power_up, init_full_done, enter_pin,
889 check_pin_done): power up the card with CFUN=1 before trying to
890 register with the network
891 - (init_modem_full, init_modem): use more standard 3G init strings
893 * src/nm-hso-gsm-device.c
894 - (modem_get_reply): remove, unused
895 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
896 modem_wait_for_reply() to match actual responses instead of single
897 termination characters; it doesn't leave stuff in the serial buffer
898 that might confuse later calls
899 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
900 to ensure that the call is really disconnected and not leave extra
901 stuff in the serial buffer
903 * src/nm-cdma-device.c
904 - (power_up_response, power_up, init_done): try Sierra-style modem
905 power up before attempting to connect
907 2008-09-27 Dan Williams <dcbw@redhat.com>
909 * libnm-util/nm-setting-gsm.c
910 - (verify): verify GSM network ID
912 2008-09-25 Dan Williams <dcbw@redhat.com>
914 * libnm-util/nm-setting-gsm.c
915 libnm-util/nm-setting-gsm.h
916 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
917 technology terms (bgo #551361)
919 2008-09-25 Dan Williams <dcbw@redhat.com>
921 Fix bgo #549401 (inspired by patch from Alexander Sack)
923 * src/nm-device-ethernet.c
924 - (finish_supplicant_task): clean up scheduled tasks and free memory
925 - (remove_supplicant_interface_error_handler): remove the supplicant
926 error idle callback too
927 - (supplicant_interface_release): rename from supplicant_interface_clean
928 to match nm-device-wifi.c; clean up supplicant interface-related
929 state tasks when the supplicant interface is disposed of
930 - (schedule_state_handler): add scheduled tasks to a list so they can
932 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
933 supplicant_iface_connection_state_cb_handler): use
934 finish_supplicant_task() to clean up each completed task
935 - (supplicant_iface_connection_error_cb_handler,
936 supplicant_connection_timeout_cb): clear source id when the task is
938 - (supplicant_iface_connection_error_cb): save scheduled task id for
940 - (nm_device_ethernet_dispose): clean up any pending supplicant state
943 * src/nm-device-wifi.c
944 - (finish_supplicant_task): clean up scheduled tasks and free memory
945 - (remove_supplicant_interface_error_handler): remove the supplicant
946 error idle callback too
947 - (supplicant_interface_release): clean up supplicant interface-related
948 state tasks when the supplicant interface is disposed of
949 - (schedule_state_handler): add scheduled tasks to a list so they can
951 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
952 supplicant_iface_connection_state_cb_handler): use
953 finish_supplicant_task() to clean up each completed task
954 - (supplicant_iface_connection_error_cb_handler): clear source id when
956 - (supplicant_iface_connection_error_cb): save scheduled task id for
958 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
960 2008-09-24 Tambet Ingo <tambet@gmail.com>
962 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
963 method and get/set hostname property.
965 2008-09-24 Tambet Ingo <tambet@gmail.com>
967 * src/supplicant-manager/nm-supplicant-interface.c
968 (nm_supplicant_interface_disconnect): Don't increment the reference
969 count when disconnecting. The problem is on shutdown, when the replies
970 to these commands do not arrive before NM exits, resulting on never
971 calling supplicant interface's dispose(), which removes the interface
974 2008-09-24 Tambet Ingo <tambet@gmail.com>
976 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
977 all the public function arguments.
979 2008-09-22 Tambet Ingo <tambet@gmail.com>
981 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
982 "Failure" signal from VPN plugins, store the failure reason, and
983 use it when the state is changed to failure.
985 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
988 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
989 reason to the end of the list to not break the API.
990 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
991 so it can be shared by plugins and daemon.
993 2008-09-18 Dan Williams <dcbw@redhat.com>
995 Patch from Alexander Sack <asac@ubuntu.com>
998 system-settings/plugins/Makefile.am
999 system-settings/plugins/ifupdown/Makefile.am
1000 system-settings/plugins/ifupdown/interface_parser.c
1001 system-settings/plugins/ifupdown/interface_parser.h
1002 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1003 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1004 system-settings/plugins/ifupdown/parser.c
1005 system-settings/plugins/ifupdown/parser.h
1006 system-settings/plugins/ifupdown/plugin.c
1007 system-settings/plugins/ifupdown/plugin.h
1008 - Implement a Debian/Ubuntu legacy network configuration plugin
1011 2008-09-18 Dan Williams <dcbw@redhat.com>
1013 Implement support for honoring configured and automatic hostnames, and for
1014 setting the configured hostname.
1016 * introspection/nm-ip4-config.xml
1019 src/dhcp-manager/nm-dhcp-manager.c
1020 - Remove useless hostname property; it's not really part of the IPv4
1023 * introspection/nm-settings-system.xml
1024 libnm-glib/nm-dbus-settings-system.c
1025 libnm-glib/nm-dbus-settings-system.h
1026 - Add SetHostname() call to system settings D-Bus interface
1027 - Add Hostname property to system settings D-Bus interface
1028 - (nm_dbus_settings_system_save_hostname,
1029 nm_dbus_settings_system_get_hostname): implement
1033 - (nm_device_get_dhcp4_config): implement
1037 - Fetch and track system settings service hostname changes, and proxy
1038 the changes via a GObject property of the manager
1040 * system-settings/src/nm-system-config-interface.c
1041 system-settings/src/nm-system-config-interface.h
1042 - Replace nm_system_config_interface_supports_add() with a capabilities
1045 * system-settings/src/nm-system-config-error.c
1046 system-settings/src/nm-system-config-error.h
1047 - Add additional errors
1049 * system-settings/src/dbus-settings.c
1050 system-settings/src/dbus-settings.h
1051 - (get_property, nm_sysconfig_settings_class_init): add hostname
1052 property; first plugin returning a hostname wins
1053 - (impl_settings_add_connection): use plugin capabilities instead of
1054 nm_system_config_interface_supports_add()
1055 - (impl_settings_save_hostname): implement hostname saving
1057 * src/NetworkManagerPolicy.c
1058 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1059 lookup_thread_die): implement an asynchronous hostname lookup thread
1060 which given an IPv4 address tries to look up the hostname for that
1061 address with reverse DNS
1062 - (get_best_device): split out best device code from
1063 update_routing_and_dns()
1064 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1065 to preserve the 127.0.0.1 reverse mapping that so many things require
1066 - (set_system_hostname): set a given hostname
1067 - (update_system_hostname): implement hostname policy; a configured
1068 hostname (from the system settings service) is used if available,
1069 otherwise an automatically determined hostname from DHCP, VPN, etc.
1070 If there was no automatically determined hostname, reverse DNS of
1071 the best device's IP address will be used, and as a last resort the
1072 hostname 'localhost.localdomain' is set.
1073 - (update_routing_and_dns): use get_best_device(); update the system
1074 hostname when the network config changes
1075 - (hostname_changed): update system hostname if the system settings
1076 service signals a hostname change
1077 - (nm_policy_new): list for system settings service hostname changes
1078 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1081 * system-settings/plugins/keyfile/plugin.c
1082 system-settings/plugins/ifcfg-suse/plugin.c
1083 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1084 capabilities properties
1086 * system-settings/plugins/ifcfg-fedora/shvar.c
1087 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1088 writes out /etc/sysconfig/network now
1090 * system-settings/plugins/ifcfg-fedora/plugin.c
1091 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1092 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1093 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1094 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1095 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1096 hostname get/set and capabilities get
1098 2008-09-18 Dan Williams <dcbw@redhat.com>
1100 * libnm-util/nm-setting-wireless.c
1101 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1102 group ciphers if the wireless-security setting explicitly specified
1103 them, effectively making the default be "all ciphers" (idea from
1106 2008-09-15 Dan Williams <dcbw@redhat.com>
1108 Patch from Alexander Sack <asac@ubuntu.com>
1110 * src/named-manager/nm-named-manager.c
1111 - (dispatch_resolvconf): respect resolvconf exit code
1113 2008-09-12 Tambet Ingo <tambet@gmail.com>
1115 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1116 again. Add some debugging.
1118 2008-09-11 Dan Williams <dcbw@redhat.com>
1120 * system-settings/plugins/keyfile/plugin.c
1121 - (update_connection_settings): update connection manually, since
1122 nm_exported_connection_update() does authentication
1123 - (dir_changed): update_connection_settings() doesn't need to return
1126 2008-09-09 Dan Williams <dcbw@redhat.com>
1128 * libnm-glib/nm-vpn-plugin-ui-interface.c
1129 libnm-glib/nm-vpn-plugin-ui-interface.h
1130 libnm-glib/libnm_glib_vpn.ver
1131 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1132 should clean up resources related to the connection (like keyring
1134 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1135 should save user-scope secrets (like to the keyring)
1137 2008-09-08 Dan Williams <dcbw@redhat.com>
1139 Patch from Alexander Sack <asac@ubuntu.com>
1141 * libnm-util/crypto_gnutls.c
1142 libnm-util/crypto_nss.c
1143 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1145 * libnm-util/nm-utils.c
1146 libnm-util/nm-utils.h
1147 libnm-util/libnm-util.ver
1148 - (nm_utils_init): initialize libnm-util
1149 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1151 * libnm-util/nm-setting-8021x.c
1152 - (nm_setting_802_1x_class_init): init libnm-util when needed
1154 2008-09-05 Dan Williams <dcbw@redhat.com>
1156 Patch from Roy Marples <roy@marples.name> and others
1159 src/named-manager/nm-named-manager.c
1160 - Add support for resolvconf; use --with-resolvconf at configure time
1163 2008-09-05 Dan Williams <dcbw@redhat.com>
1165 * libnm-util/crypto_nss.c
1166 libnm-util/crypto_gnutls.c
1168 - (crypto_init): return error when init fails
1170 2008-09-05 Dan Williams <dcbw@redhat.com>
1172 * libnm-glib/nm-device-wifi.c
1173 - (access_point_removed_proxy): clean up the active access point too
1174 just in case the active ap changed signal didn't come through yet
1175 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1177 2008-09-05 Dan Williams <dcbw@redhat.com>
1179 * libnm-glib/nm-client.c
1180 - (constructor): get initial state after we know whether NM is running
1183 2008-09-05 Dan Williams <dcbw@redhat.com>
1185 * libnm-glib/nm-ip4-config.c
1186 libnm-glib/nm-dhcp4-config.c
1187 - (finalize): clean up the DBusGProxy
1189 2008-09-04 Dan Williams <dcbw@redhat.com>
1191 * src/nm-ip4-config.c
1193 - (nm_ip4_config_new): don't export over D-Bus here
1194 - (nm_ip4_config_export): new function; export the config over D-Bus
1195 - (nm_ip4_config_is_exported): new function
1198 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1199 objects by balancing the IP4Config constructor; the device holds
1200 a reference to the IP4Config already
1201 - (nm_device_set_ip4_config): export the IP4Config when needed
1203 2008-09-04 Dan Williams <dcbw@redhat.com>
1205 * src/supplicant-manager/nm-supplicant-settings-verify.c
1206 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1208 2008-09-04 Dan Williams <dcbw@redhat.com>
1210 * libnm-util/nm-setting-vpn.c
1211 libnm-util/nm-setting-vpn.h
1212 - Split VPN secrets from VPN data so that settings services can actually
1213 figure out that they are secrets and store them accordingly
1215 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1216 system-settings/plugins/keyfile/reader.c
1217 system-settings/plugins/keyfile/reader.h
1218 system-settings/plugins/keyfile/writer.c
1219 - Store VPN secrets separately from VPN data so that they can be fetched
1221 - Implement the get_secrets() call so that (a) secrets don't leak out
1222 to unprivileged callers, and (b) secrets can be sent to privileged
1225 * vpn-daemons/vpnc/src/nm-vpnc-service.c
1226 - Handle split VPN secrets
1228 2008-08-27 Dan Williams <dcbw@redhat.com>
1230 * system-settings/plugins/ifcfg-fedora/reader.c
1231 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1233 2008-08-27 Dan Williams <dcbw@redhat.com>
1235 Ensure zombie children get cleaned up. To get notifications when children
1236 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1237 that requires calling waitpid() yourself if you've removed the child watch
1238 handler before the process has actually died, which NM needs to do in a few
1239 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1240 cleans up after the child when required. Should fix problems trying to
1241 activate mobile broadband connections after a previous failure.
1243 * src/dhcp-manager/nm-dhcp-dhclient.c
1244 src/dhcp-manager/nm-dhcp-dhcpcd.c
1245 - Use G_SPAWN_DO_NOT_REAP_CHILD
1247 * src/dhcp-manager/nm-dhcp-manager.c
1248 - (nm_dhcp_device_destroy): ensure child is cleaned up
1249 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1250 block on child quitting, since the non-blocking functionality was
1253 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1254 - (dm_watch_cb): child is already reaped here
1255 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1258 - (aipd_cleanup): block until child is dead
1260 * src/named-manager/nm-named-manager.c
1261 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1262 event bothering to watch the child
1264 * src/ppp-manager/nm-ppp-manager.c
1265 - (ppp_watch_cb): child is already reaped here
1266 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1268 * src/vpn-manager/nm-vpn-service.c
1269 - (vpn_service_watch_cb): child is already reaped here
1270 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1271 status of the child is actually tracked
1272 - (ensure_killed, finalize): block until child is dead
1274 2008-08-26 Dan Williams <dcbw@redhat.com>
1276 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1277 - (update): Update filename of the connection if the connection id
1280 * system-settings/plugins/keyfile/plugin.c
1281 - (dir_changed): first pass at handling connection renames correctly
1283 * system-settings/plugins/keyfile/writer.c
1284 system-settings/plugins/keyfile/writer.h
1285 - (write_connection): replace '/' with '*' when writing out the filename
1286 from the connection id
1288 2008-08-26 Dan Williams <dcbw@redhat.com>
1290 Add connection UUIDs, since connection names can be changed, and since
1291 old-style connection IDs could change over the life of the connection. The
1292 UUID should be assigned at connection creation time, be stable for a given
1293 connection, and should be unique among all connections for a given settings
1297 libnm-util/Makefile.am
1300 * introspection/nm-exported-connection.xml
1301 - Remove "GetID" method
1303 * libnm-glib/nm-dbus-connection.c
1304 libnm-glib/nm-settings.c
1305 libnm-glib/nm-settings.h
1306 - Remove id-related stuff
1308 * libnm-util/nm-utils.c
1309 libnm-util/nm-utils.h
1310 libnm-util/libnm-util.ver
1311 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1312 utility functions to generate UUIDs
1314 * libnm-util/nm-setting-connection.c
1315 libnm-util/nm-setting-connection.h
1316 - Add 'uuid' member to the connection setting
1317 - (verify): require valid 'uuid' for a valid connection
1319 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1320 system-settings/plugins/ifcfg-fedora/reader.c
1321 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1322 system-settings/plugins/ifcfg-suse/parser.c
1323 system-settings/plugins/keyfile/nm-keyfile-connection.c
1324 system-settings/src/main.c
1325 - Remove id-related stuff
1326 - Give connections UUIDs where needed
1328 2008-08-25 Dan Williams <dcbw@redhat.com>
1330 * libnm-util/crypto_gnutls.c
1331 libnm-util/crypto_nss.c
1332 - (crypto_init, crypto_deinit): refcount init/deinit
1333 - (crypto_md5_hash): allow NULL salt
1335 2008-08-22 Michael Biebl <mbiebl@gmail.com>
1337 * libnm-glib/Makefile.am
1338 libnm-util/Makefile.am
1339 libnm-glib/libnm_glib.ver
1340 libnm-glib/libnm_glib_vpn.ver
1341 libnm-util/libnm-util.ver
1342 - Use linker version scripts to control the list of exported
1343 symbols. List each exported symbol explicitely.
1344 * libnm-util/Makefile.am
1345 - Fix compilation of the test-crypto binary. The crypto
1346 functions are no longer part of the libnm-util API. Add
1347 crypto_*.c to test_crypto_SOURCES and link against the correct
1350 2008-08-19 Dan Williams <dcbw@redhat.com>
1354 - Don't build test/test-common
1355 - Remove unused stuff
1357 * test/nm-set-fallback
1358 test/nmtestdevices.c
1359 test/test-common/.cvsignore
1360 test/test-common/Makefile.am
1361 test/test-common/test-common.c
1362 test/test-common/test-common.h
1365 2008-08-18 Dan Williams <dcbw@redhat.com>
1367 * libnm-util/nm-utils.c
1368 libnm-util/nm-utils.h
1369 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1370 export anything that needs to be converted with this function
1372 * src/dhcp-manager/nm-dhcp-manager.c
1373 - (garray_to_string): convert a byte array to a UTF-8 string with
1374 minimal validation; the DHCP client sends it in ASCII anyway
1375 - (get_option, copy_option): use garray_to_string()
1377 2008-08-18 Dan Williams <dcbw@redhat.com>
1379 * include/NetworkManager.h
1380 introspection/nm-device.xml
1381 - Add a "missing firmware" device state reason
1383 * src/NetworkManagerSystem.c
1384 src/NetworkManagerSystem.h
1385 - (nm_system_device_set_up_down): add a no_firmware argument
1386 - (nm_system_device_set_up_down_with_iface): if the result of setting
1387 IFF_UP is ENOENT, that almost always means missing firmware
1389 * src/backends/NetworkManagerGeneric.c
1390 src/nm-device-ethernet.c
1391 src/nm-device-private.h
1392 src/nm-device-wifi.c
1395 src/nm-hso-gsm-device.c
1396 src/vpn-manager/nm-vpn-connection.c
1397 - Pass no_firmware along; check it where appropriate
1399 2008-08-18 Dan Williams <dcbw@redhat.com>
1401 Patch from Robert Buchholz <rbu@gentoo.org>
1405 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1406 1003.1-1988, allowing for file names longer than 99 characters
1408 2008-08-17 Dan Williams <dcbw@redhat.com>
1410 * include/NetworkManager.h
1411 introspection/nm-device.xml
1413 - Finer-grained GSM registration failure error codes
1415 2008-08-17 Dan Williams <dcbw@redhat.com>
1417 * callouts/Makefile.am
1419 - Move dispatcher directory creation to callouts/Makefile.am
1421 * system-settings/plugins/keyfile/Makefile.am
1422 - Create keyfile connections directory in DESTDIR (bgo #546833)
1424 2008-08-15 Dan Williams <dcbw@redhat.com>
1426 Do connection sharing in a cleaner manner; all required iptables rules
1427 are now stored in the activation request and pertain only to the device
1428 which is being shared to other computers. (rh #458625)
1430 * src/nm-activation-request.c
1431 src/nm-activation-request.h
1432 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1433 the activation request which will get torn down automatically when
1434 the activation request dies
1435 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1436 is started, and tear them down when sharing is stopped
1439 - (start_sharing): start up sharing by doing the required iptables magic
1440 - (share_init): poke the right bits of the kernel and load the right
1442 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1443 connection if it's a 'shared' connection
1445 * src/NetworkManagerPolicy.c
1446 - Remove all sharing stuff; done in the device code itself
1448 2008-08-15 Dan Williams <dcbw@redhat.com>
1450 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1451 - (create_dm_cmd_line): send the right router address
1453 2008-08-15 Dan Williams <dcbw@redhat.com>
1455 * src/ppp-manager/nm-ppp-manager.c
1456 - (pppd_timed_out): ensure timeouts fail the connection
1458 2008-08-14 Dan Williams <dcbw@redhat.com>
1460 * src/nm-properties-changed-signal.c
1461 src/nm-properties-changed-signal.h
1462 - Add a property spec flag for "don't export this property" in
1463 property changed signals
1465 * src/nm-hso-gsm-device.c
1467 src/nm-cdma-device.c
1468 - Don't export monitor interface or netdev interface properties
1470 2008-08-14 Dan Williams <dcbw@redhat.com>
1472 * src/NetworkManagerPolicy.c
1473 - (update_routing_and_dns): 'hso' devices can be default even if they
1474 don't have a gateway
1476 2008-08-14 Dan Williams <dcbw@redhat.com>
1479 - (nm_device_deactivate_quickly): tear down activation request after
1480 calling device-specific deactivation
1482 * src/nm-hso-gsm-device.c
1483 - (real_deactivate_quickly): terminate connection when deactivating
1485 2008-08-14 Dan Williams <dcbw@redhat.com>
1487 * src/nm-activation-request.h
1488 - Add HSO secrets caller
1490 * src/nm-gsm-device.c
1492 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1493 something to the callback function
1494 - (set_apn, set_apn_done): call class dial function, not a static one
1495 - (nm_gsm_device_class_init): add a class 'dial' function
1497 * src/nm-hal-manager.c
1498 - (get_hso_netdev): find the hso-driven hardware's net device
1499 - (modem_device_creator): recognize hso-driven hardware and create the
1500 right type of device object for it
1503 src/nm-hso-gsm-device.c
1504 src/nm-hso-gsm-device.h
1505 - Implement support for devices driven by the 'hso' driver as a subclass
1508 2008-08-14 Dan Williams <dcbw@redhat.com>
1510 * src/NetworkManagerSystem.c
1511 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1512 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1513 success if the operation really was successful
1515 2008-08-14 Dan Williams <dcbw@redhat.com>
1517 * src/nm-netlink-monitor.c
1518 src/nm-netlink-monitor.h
1519 src/nm-device-ethernet.c
1520 - (nm_netlink_monitor_request_status): return an error on failure
1521 - (constructor): don't segfault on missing error
1523 2008-08-13 Dan Williams <dcbw@redhat.com>
1525 * callouts/nm-dispatcher-action.c
1526 - Add IP4 config info to script environment
1528 2008-08-12 Dan Williams <dcbw@redhat.com>
1531 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1532 that want to use DHCP hostnames should use dispatcher scripts
1535 * src/NetworkManagerSystem.h
1536 src/backends/NetworkManagerArch.c
1537 src/backends/NetworkManagerDebian.c
1538 src/backends/NetworkManagerFrugalware.c
1539 src/backends/NetworkManagerGeneric.c
1540 src/backends/NetworkManagerGeneric.h
1541 src/backends/NetworkManagerGentoo.c
1542 src/backends/NetworkManagerMandriva.c
1543 src/backends/NetworkManagerPaldo.c
1544 src/backends/NetworkManagerRedHat.c
1545 src/backends/NetworkManagerSlackware.c
1546 src/backends/NetworkManagerSuSE.c
1547 - Remove nm_system_set_hostname(), no longer used
1549 * src/backends/Makefile.am
1550 src/backends/shvar.c
1551 src/backends/shvar.h
1552 - Remove shvar.*; no longer used
1554 2008-08-12 Dan Williams <dcbw@redhat.com>
1556 Revert most of the 'hostname' patch. Too much stuff still breaks when
1557 hostname is updated at runtime. Distros or users who want hostname updates
1558 can use dispatcher scripts to update the hostname if they need it.
1560 2008-08-12 Dan Williams <dcbw@redhat.com>
1562 * introspection/nm-settings-system.xml
1563 system-settings/src/dbus-settings.c
1564 system-settings/src/dbus-settings.h
1565 - Add a 'Hostname' property (rw) which represents the configured
1566 hostname and domain of the system, if any
1568 * system-settings/src/nm-system-config-error.c
1569 system-settings/src/nm-system-config-error.h
1570 system-settings/src/nm-system-config-interface.c
1571 system-settings/src/nm-system-config-interface.h
1572 - Add a 'hostname' property to the plugin interface
1573 - Add a method to send updated hostname to plugins to save in their
1574 backing configuration store
1576 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1577 system-settings/plugins/keyfile/plugin.c
1578 system-settings/plugins/keyfile/writer.c
1579 system-settings/plugins/keyfile/writer.h
1580 system-settings/plugins/ifcfg-suse/plugin.c
1581 - Add minimal hostname support
1583 * system-settings/plugins/ifcfg-fedora/plugin.c
1584 - Add support for updating system hostname in /etc/sysconfig/network
1586 2008-08-12 Dan Williams <dcbw@redhat.com>
1588 * system-settings/plugins/ifcfg-fedora/shvar.c
1589 system-settings/plugins/ifcfg-fedora/shvar.c
1590 - Fix double-free caused by svSetValue() followed by svCloseFile()
1592 2008-08-12 Tambet Ingo <tambet@gmail.com>
1594 * Makefile.am: Fix distcheck.
1596 2008-08-12 Tambet Ingo <tambet@gmail.com>
1598 * libnm-glib/*.c. Document some more.
1600 2008-08-12 Tambet Ingo <tambet@gmail.com>
1602 Start documenting libnm-glib public API using gtk-doc.
1604 * libnm-glib/nm-serial-device.c:
1605 * libnm-glib/nm-object.c:
1606 * libnm-glib/nm-gsm-device.c:
1607 * libnm-glib/nm-device.c:
1608 * libnm-glib/nm-device-wifi.c:
1609 * libnm-glib/nm-device-ethernet.c:
1610 * libnm-glib/nm-client.c:
1611 * libnm-glib/nm-cdma-device.c: Document the public API.
1613 * docs/libnm-glib/libnm-glib.types: Implement.
1615 * docs/libnm-glib/Makefile.am: Implement.
1619 * Makefile.am: Add gtk-doc support.
1621 2008-08-12 Tambet Ingo <tambet@gmail.com>
1623 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1625 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1626 the composite result of all the IP4 configurations and call a distro
1627 specific update_resolv_conf().
1628 (update_resolv_conf): Implement one for directly writing to
1629 /etc/resolv.conf and one for opensuse to call netconfig.
1631 2008-08-11 Dan Williams <dcbw@redhat.com>
1633 * src/ppp-manager/nm-ppp-manager.c
1634 - (impl_ppp_manager_need_secrets): pass interface as required
1636 2008-08-11 Dan Williams <dcbw@redhat.com>
1638 Merge the vpn-properties setting with the vpn setting since it was pointless
1639 to keep both of them around. Convert the vpn 'data' hash table to a hash
1640 of string:string (instead of string:variant) so that system settings plugins
1641 can have an easier time dealing with the arbitrary key/value pairs.
1643 2008-08-11 Dan Williams <dcbw@redhat.com>
1645 * libnm-util/nm-utils.c
1646 - (nm_utils_register_value_transformations): add value transform for
1647 a hash table of string:string
1649 2008-08-10 Dan Williams <dcbw@redhat.com>
1651 * libnm-glib/nm-vpn-plugin.c
1652 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1653 an idle handler so the Connect reply gets delivered before the
1654 stop StateChanged signal
1656 2008-08-10 Dan Williams <dcbw@redhat.com>
1658 * src/nm-ip4-config.c
1659 - (get_property): use common ip4 address/route conversion functions
1660 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1661 copy the new route here, not take ownership
1663 2008-08-08 Tambet Ingo <tambet@gmail.com>
1665 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1666 Update the IP4 setting's method name.
1668 2008-08-07 Dan Williams <dcbw@redhat.com>
1670 * introspection/nm-ip4-config.xml
1671 libnm-glib/libnm-glib-test.c
1672 libnm-glib/nm-ip4-config.c
1673 libnm-glib/nm-ip4-config.h
1674 src/NetworkManagerSystem.h
1675 src/backends/NetworkManagerArch.c
1676 src/backends/NetworkManagerDebian.c
1677 src/backends/NetworkManagerFrugalware.c
1678 src/backends/NetworkManagerGeneric.c
1679 src/backends/NetworkManagerGeneric.h
1680 src/backends/NetworkManagerGentoo.c
1681 src/backends/NetworkManagerMandriva.c
1682 src/backends/NetworkManagerPaldo.c
1683 src/backends/NetworkManagerRedHat.c
1684 src/backends/NetworkManagerSlackware.c
1685 src/backends/NetworkManagerSuSE.c
1686 src/dhcp-manager/nm-dhcp-manager.c
1690 - Remove NIS logic; should be done from dispatcher scripts instead
1692 2008-08-07 Dan Williams <dcbw@redhat.com>
1694 * src/dhcp-manager/nm-dhcp-manager.c
1695 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1696 mis-handling of DHCP responses that returned more than one router
1697 (found by Grant Williamson)
1699 2008-08-07 Dan Williams <dcbw@redhat.com>
1701 * callouts/nm-dispatcher-action.c
1702 - (nm_dispatcher_action): grab device path and create the device; pass
1703 the device's DHCP4 config to script caller
1704 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1707 * libnm-glib/nm-dhcp4-config.c
1708 libnm-glib/nm-dhcp4-config.h
1709 - (nm_dhcp4_config_get_options): expose
1710 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1712 2008-08-07 Dan Williams <dcbw@redhat.com>
1714 * include/NetworkManager.h
1715 - Add the DHCP4Config D-Bus interface
1717 * libnm-glib/Makefile.am
1718 libnm-glib/nm-dhcp4-config.c
1719 libnm-glib/nm-dhcp4-config.h
1720 - Handle DHCP4 config objects exported by NM over D-Bus
1722 * libnm-glib/nm-device.c
1723 libnm-glib/nm-device.h
1724 - Add a 'dhcp4-config' property
1726 * libnm-glib/libnm-glib-test.c
1727 - Print out DHCP4 config for devices
1728 - Fix some crashes when no connections are active
1730 * src/nm-device-interface.c
1732 src/nm-dhcp4-config.c
1733 src/nm-dhcp4-config.h
1734 - Treat dhcp4-config object as an object path at the D-Bus interface so
1735 that when it doesn't exist we can proxy it as "/" which dbus-glib
1736 doesn't let us do when the property type is G_TYPE_OBJECT
1738 2008-08-07 Dan Williams <dcbw@redhat.com>
1740 * src/NetworkManager.c
1741 src/NetworkManagerSystem.h
1742 src/backends/NetworkManagerArch.c
1743 src/backends/NetworkManagerDebian.c
1744 src/backends/NetworkManagerFrugalware.c
1745 src/backends/NetworkManagerGeneric.c
1746 src/backends/NetworkManagerGeneric.h
1747 src/backends/NetworkManagerGentoo.c
1748 src/backends/NetworkManagerMandriva.c
1749 src/backends/NetworkManagerPaldo.c
1750 src/backends/NetworkManagerRedHat.c
1751 src/backends/NetworkManagerSlackware.c
1752 src/backends/NetworkManagerSuSE.c
1753 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1755 2008-08-06 Dan Williams <dcbw@redhat.com>
1757 * libnm-glib/nm-ip4-config.c
1758 libnm-glib/nm-ip4-config.h
1759 - Add 'routes' property
1761 * libnm-util/nm-setting-vpn.c
1762 libnm-util/nm-setting-vpn.h
1763 - Remove 'routes' property
1765 * libnm-util/nm-setting-ip4-config.c
1766 libnm-util/nm-setting-ip4-config.h
1767 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1768 - Add 'ignore-auto-routes' property
1769 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
1770 accomodate route metrics
1771 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1773 * libnm-util/nm-utils.c
1774 libnm-util/nm-utils.h
1775 - Add helpers for marshalling IP4 routes
1777 * src/NetworkManagerUtils.c
1778 - (nm_utils_merge_ip4_config): handle property renames and new route
1781 * src/NetworkManagerSystem.c
1782 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1783 nm_system_vpn_device_set_from_ip4_config): respect route metrics
1785 * src/dhcp-manager/nm-dhcp-manager.c
1786 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1788 * system-settings/plugins/ifcfg-fedora/reader.c
1789 system-settings/plugins/ifcfg-fedora/writer.c
1790 - Handle routes separately from addresses now that routes have a different
1793 * introspection/nm-ip4-config.xml
1796 - Rename internal routing functions
1797 - 'static-routes' renamed to 'routes'
1799 2008-08-04 Dan Williams <dcbw@redhat.com>
1801 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1803 * src/NetworkManager.c
1806 - More explicitly make the NMManager a singleton
1808 2008-08-04 Dan Williams <dcbw@redhat.com>
1810 * libnm-util/nm-connection.c
1811 libnm-util/nm-connection.h
1812 - (nm_connection_verify): return error on missing 'connection' setting
1813 (found by Sjoerd Simons)
1815 2008-08-04 Dan Williams <dcbw@redhat.com>
1817 Handle multiple concurrent PPP connections.
1819 * src/ppp-manager/nm-ppp-manager.c
1820 src/ppp-manager/nm-ppp-manager.h
1821 - (constructor): only PPP Manager request bus name once; each
1822 NMPPPManager object gets a unique object path
1823 - (nm_ppp_manager_class_init, get_property, set_property,
1824 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1826 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1827 remove timeout until PPP manager gets an IP4 config
1828 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1829 the plugin can call back to this specific PPP manager instance
1831 * src/nm-device-ethernet.c
1832 src/nm-serial-device.c
1833 - Pass parent device in nm_ppp_manager_new()
1835 * src/nm-gsm-device.c
1836 src/nm-cdma-device.c
1837 - (device_state_changed): don't close serial device on NEED_AUTH
1838 state changed, that's not a failure case like the rest are
1840 * src/ppp-manager/nm-pppd-plugin.c
1841 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1842 binds one interface to any pppd process, thus the correct index
1843 is always 0; send PHASE_DEAD on error to alert NM immediately of
1844 problems; try harder to get a peer address in spite of pppd
1845 - (plugin_init): use 'ipparam' as the object path back to our specific
1846 PPP manager instance
1848 2008-08-04 Dan Williams <dcbw@redhat.com>
1850 * src/ppp-manager/nm-ppp-manager.c
1851 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1852 since the GSM and CDMA settings now implement need_secrets, we can
1853 rely on them to do the right thing. Where secrets are not required,
1854 just pass empty strings back to the pppd plugin.
1855 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1856 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1857 on successful IP4 config receipt
1859 2008-08-04 Dan Williams <dcbw@redhat.com>
1861 * libnm-util/nm-setting-cdma.c
1862 libnm-util/nm-setting-gsm.c
1863 - (verify): validate username & password if they exist
1864 - (need_secrets): if username given, require a password too
1866 2008-08-04 Dan Williams <dcbw@redhat.com>
1868 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1869 - (create_dm_cmd_line): really don't listen on lo, despite what the
1870 manpage says about --listen-address without --interface
1873 2008-08-01 Dan Williams <dcbw@redhat.com>
1875 * libnm-glib/nm-device.c
1876 - (proxy_get_string): util function for querying a HAL property
1877 - (get_ancestor_device): split out from get_product_and_vendor()
1878 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1879 from PCI devices by querying subsys properties
1880 - (nm_device_update_description): simplify
1882 2008-08-01 Dan Williams <dcbw@redhat.com>
1884 * libnm-util/nm-setting-ip4-config.c
1885 libnm-util/nm-setting-ip4-config.h
1886 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1887 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
1888 settings, and they don't necessarily use DHCP.
1890 * src/NetworkManagerPolicy.c
1892 system-settings/plugins/ifcfg-fedora/reader.c
1893 system-settings/plugins/ifcfg-suse/parser.c
1894 - Fixup for method changes
1896 2008-07-31 Dan Williams <dcbw@redhat.com>
1898 * src/nm-activation-request.c
1899 src/vpn-manager/nm-vpn-connection.c
1900 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1901 itself should be attached to the activation request or the VPN
1902 connection, not the NMConnection object, since the call is not
1903 expected to live as long as the NMConnection itself
1905 2008-07-31 Dan Williams <dcbw@redhat.com>
1907 * src/nm-device-wifi.c
1908 - (real_act_stage2_config): fix issue where association would continue
1909 even though secrets were needed; 'goto out' was in wrong scope and
1910 result of handle_auth_or_fail() should have been dumped directly to
1911 'ret' to ensure that the association was postponed until secrets
1914 2008-07-31 Dan Williams <dcbw@redhat.com>
1916 * system-settings/plugins/ifcfg-fedora/plugin.c
1917 system-settings/plugins/ifcfg-fedora/reader.c
1918 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1921 2008-07-29 Dan Williams <dcbw@redhat.com>
1923 * src/nm-gsm-device.c
1924 - (automatic_registration_response, automatic_registration): recognize
1925 denied registration and reorder responses
1927 2008-07-29 Dan Williams <dcbw@redhat.com>
1929 * src/nm-serial-device.c
1930 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
1931 time(2) is used for current time, which returns seconds, we shouldn't
1932 be multiplying by 1000.
1934 2008-07-28 Dan Williams <dcbw@redhat.com>
1936 Patch from Fabrice Bellet <fabrice@bellet.info>
1938 * src/NetworkManagerSystem.c
1939 - (route_in_same_subnet): mask addresses and compare them so that the
1940 function actually does what it says it's going to do (rh #456685)
1942 2008-07-27 Dan Williams <dcbw@redhat.com>
1944 * libnm-util/nm-setting-ip6-config.c
1945 - (set_property): add missing break that caused routes to be overwritten
1948 * libnm-util/nm-setting-ip6-config.c
1949 - (verify): validate routes and return GError everywhere on invalid setting
1950 - (finalize): don't leak routes
1951 - (set_property): add missing break that caused routes to be overwritten
1954 2008-07-27 Dan Williams <dcbw@redhat.com>
1957 - Relicense to LGPLv2+
1959 2008-07-27 Dan Williams <dcbw@redhat.com>
1961 * system-settings/plugins/ifcfg-fedora/reader.c
1962 - (make_ip4_setting): fix parsing automatic configs
1964 2008-07-27 Dan Williams <dcbw@redhat.com>
1966 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1968 src/ppp-manager/nm-ppp-manager.c
1969 - Ensure child process gets reaped. The child watch function may be
1970 removed from the mainloop before the child gets killed, so we have
1971 to make sure the child is reaped when it's told to die intentionally
1973 2008-07-27 Dan Williams <dcbw@redhat.com>
1975 Patch from Roy Marples <roy@marples.name>
1977 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1978 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1980 2008-07-27 Dan Williams <dcbw@redhat.com>
1982 * src/nm-gsm-device.c
1983 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1984 Huawei devices turn echo back on after CPIN (rh #456770)
1986 2008-07-24 Tambet Ingo <tambet@gmail.com>
1988 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1989 format argument to g_set_error() call.
1991 * src/backends/interface_parser.[ch]: Remove.
1993 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1995 2008-07-21 Dan Williams <dcbw@redhat.com>
1997 * src/ppp-manager/nm-ppp-manager.c
1998 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1999 to prevent pppd from picking up some random local address from an
2000 interface that doesn't have anything to do with the one we're
2001 interested in (rh #455348)
2003 2008-07-17 Dan Williams <dcbw@redhat.com>
2005 * libnm-util/nm-utils.c
2006 - (string_to_utf8): general function for conversion to UTF-8 assisted
2008 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2009 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2011 2008-07-17 Dan Williams <dcbw@redhat.com>
2013 * introspection/Makefile.am
2014 introspection/nm-device.xml
2015 introspection/nm-dhcp4-config.xml
2016 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2018 * src/nm-device-interface.c
2019 src/nm-device-interface.h
2020 - Add the DHCP4Config property
2023 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2024 D-Bus clients when it changes
2026 * src/nm-dhcp4-config.c
2027 src/nm-dhcp4-config.h
2028 - Simple object to store DHCP4 options, export them over D-Bus, and
2029 notify when they change
2031 * src/dhcp-manager/nm-dhcp-manager.c
2032 src/dhcp-manager/nm-dhcp-manager.h
2033 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2034 filter server-returned DHCP options into an NMDHCP4Config object
2036 2008-07-16 Dan Williams <dcbw@redhat.com>
2038 * introspection/nm-device.xml
2039 - Add device state reasons
2041 2008-07-16 Dan Williams <dcbw@redhat.com>
2043 Patch from Roy Marples <roy@marples.name>
2046 - Add --with-dhcp-client option
2048 * src/dhcp-manager/Makefile.am
2049 - pass DHCP_CLIENT_PATH on compile line
2051 * src/dhcp-manager/nm-dhcp-manager.c
2052 src/dhcp-manager/nm-dhcp-manager.h
2053 - Genericize for both dhcpcd and dhclient
2055 * src/dhcp-manager/nm-dhcp-dhclient.c
2056 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2058 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2059 - Implement support for dhcpcd too
2061 2008-07-16 Tambet Ingo <tambet@gmail.com>
2063 * system-settings/src/nm-system-config-interface.c
2064 (nm_system_config_interface_supports_add): Implement.
2065 (nm_system_config_interface_add_connection): Return a boolean to notify
2068 * system-settings/src/nm-polkit-helpers.c:
2069 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2072 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2073 Return an error when none of the plugins support add or if addition
2074 failed for some reason.
2076 * system-settings/src/nm-system-config-error.h:
2077 * system-settings/src/nm-system-config-error.c: New files, mostly moved
2078 here from nm-polkit-helpers.[ch].
2080 * system-settings/src/Makefile.am: Build new files.
2082 * system-settings/plugins/keyfile/reader.c
2083 (read_array_of_array_of_uint): Make it more general so that it would
2084 work for routes as well.
2086 * system-settings/plugins/keyfile/writer.c
2087 (write_array_of_array_of_uint): Ditto.
2088 Fix the netmask/prefix writing.
2090 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2091 boolean to notify errors.
2093 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2094 Return more specific error.
2097 2008-07-11 Dan Williams <dcbw@redhat.com>
2099 Modify the NMDevice::state-changed signal to include the previous state
2100 and reason. Enables the applet to provide more information why device
2103 2008-07-09 Dan Williams <dcbw@redhat.com>
2105 * callouts/Makefile.am
2106 callouts/nm-avahi-autoipd-action.c
2107 callouts/nm-avahi-autoipd.conf
2108 - avahi-autoipd callout to send options back to NM
2115 src/nm-device-private.h
2117 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2120 2008-07-07 Dan Williams <dcbw@redhat.com>
2122 * system-settings/plugins/ifcfg-fedora/reader.c
2123 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2124 handle PREFIX too; clean up
2126 2008-07-07 Dan Williams <dcbw@redhat.com>
2128 Convert to using IPv4 prefixes instead of netmasks.
2130 2008-07-03 Dan Williams <dcbw@redhat.com>
2132 * libnm-util/nm-setting-ip4-config.c
2133 libnm-util/nm-setting-ip4-config.h
2134 - Add properties for DHCP Client Identifier and DHCP Hostname
2136 * src/dhcp-manager/nm-dhcp-manager.c
2137 src/dhcp-manager/nm-dhcp-manager.h
2138 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2139 setting as an argument to pass on to the dhclient config file
2141 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2143 - (dhclient_run): punt config file handling to create_dhclient_config()
2144 - (create_dhclient_config): create an interface-specific dhclient
2145 config file since there may need to be interface-specific options
2147 - (merge_dhclient_config): merge normal distro dhclient config file and
2148 add options from the connection
2149 - (nm_dhcp_device_new): generate the interface specific dhclient
2150 config file path once
2151 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2152 dhclient config file path
2155 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2156 DHCP manager when starting DHCP
2158 2008-07-02 Dan Williams <dcbw@redhat.com>
2160 * libnm-util/nm-setting-8021x.c
2161 - (verify): allow forcing the PEAP label to 0
2163 2008-07-02 Dan Williams <dcbw@redhat.com>
2165 * introspection/nm-active-connection.xml
2166 introspection/nm-vpn-connection.xml
2167 libnm-glib/nm-active-connection.c
2168 src/nm-activation-request.c
2169 src/nm-active-connection.h
2170 src/vpn-manager/nm-vpn-connection.c
2171 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2172 and libnm-glib API since sharing didn't get implemented that way
2174 2008-07-02 Dan Williams <dcbw@redhat.com>
2176 * src/nm-device-wifi.c
2177 - (can_scan): don't scan when a shared connection is activated since
2178 that makes drivers mad (causing disconnects); also NM doesn't need
2179 to hedge against disconnects by keeping up-to-date network topology
2180 because the connection originates from the local machine, and thus
2181 there should be no disconnects
2183 2008-07-01 Dan Williams <dcbw@redhat.com>
2185 Fix mobile broadband username/password issues. NM was never requesting
2186 mobile broadband secrets, nor was it passing back the username and password
2189 * marshallers/nm-marshal.list
2190 - Add some new types for activation request objects
2192 * src/nm-activation-request.c
2193 src/nm-activation-request.h
2194 - (get_secrets_cb): pass the caller type in the signal
2195 - (nm_act_request_request_connection_secrets): take a caller type, so
2196 that GetSecrets() reply handlers know who asked for the secrets in
2197 the first place; use secret hints too so the settings service can
2198 figure out exactly what NM wants (ie, PIN or the PPP password)
2200 * src/ppp-manager/nm-ppp-manager.c
2201 src/ppp-manager/nm-ppp-manager.h
2202 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2203 detect needed secrets when the secret could be blank, like GSM/CDMA
2204 passwords. So always ask for secrets, and send a hint as to what
2205 secret we really want.
2206 - (nm_ppp_manager_update_secrets): make function more generic by making
2207 the device specific class figure out the username and password, and
2208 accept an error argument to return back over D-Bus
2210 * src/nm-device-wifi.c
2211 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2212 nm_act_request_request_connection_secrets()
2213 - (real_connection_secrets_updated): update for 'caller' changes
2217 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2218 for 'caller' changes
2220 * src/nm-device-ethernet.c
2221 - (real_connection_secrets_updated): update for 'caller' changes and
2222 move logic for getting PPPoE username and password here before
2223 calling nm_ppp_manager_update_secrets()
2224 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2225 nm_act_request_request_connection_secrets()
2227 * src/nm-cdma-device.c
2228 - (real_connection_secrets_updated): pass username and password back
2229 to the PPP manager when required
2231 * src/nm-gsm-device.c
2232 - (enter_pin): send the required secret name to the settings service
2233 - (real_connection_secrets_updated): pass username and password back
2234 to the PPP manager when required
2236 2008-06-30 Dan Williams <dcbw@redhat.com>
2238 * src/nm-device-wifi.c
2239 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2241 2008-06-30 Dan Williams <dcbw@redhat.com>
2243 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
2244 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2245 priv->supplicant.iface. When either condition is false, the device should
2246 transition back to UNAVAILABLE because it cannot be used.
2248 * src/nm-device-wifi.c
2249 - (constructor): cleanup; connect to supplicant manager here since the
2250 supplicant manager is always around
2251 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2252 ensure the supplicant manager is in the IDLE state
2253 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2254 cancel any pending scans too
2255 - (real_bring_up): don't set up the supplicnat interface here, because
2256 we need the supplicant interface at times when the device may not
2258 - (real_take_down): just remove the periodic source
2259 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2260 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2261 do anything if there's no supplicant interface
2262 - (cleanup_association_attempt): cleanup
2263 - (supplicant_iface_state_cb_handler): request an immediate scan when
2264 the interface enters the READY state; transition to UNAVAILABLE
2265 state when the interface goes down because the device can't be used
2266 without a supplicant interface
2267 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2268 up and transition to UNAVAILABLE; if the supplicant becomes ready,
2269 acquire the supplicant interface and transition to DISCONNECTED
2270 if the radio isn't killed
2271 - (nm_device_wifi_dispose): move most of device_cleanup() here
2272 - (state_changed_cb): release any existing supplicant interface; if the
2273 radio is enabled then try to acquire a new supplicant interface;
2274 if the radio is enabled and a supplicant interface has been acquired,
2275 we can transition to DISCONNECTED
2276 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2277 don't enable the radio, because HAL probably lied to us about the
2278 killswitch being off. If bringing the hardware up worked, then
2279 try to grab a supplicant interface, and if that was successful,
2280 transition to DISCONNECTED
2282 2008-06-30 Dan Williams <dcbw@redhat.com>
2284 * src/supplicant-manager/nm-supplicant-interface.c
2285 - (request_scan_results, nm_supplicant_interface_dispose,
2286 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2287 the id of the timeout, not a GSource
2289 2008-06-30 Tambet Ingo <tambet@gmail.com>
2291 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
2292 bunch of typoes introduced by "Patch from David Cantrell
2293 <dcantrell@redhat.com> and me".
2295 2008-06-30 Tambet Ingo <tambet@gmail.com>
2297 * src/nm-serial-device.c:
2298 * src/nm-gsm-device.c:
2299 * src/nm-cdma-device.c: Move the pending call handling to a common location
2300 in serial device. Handle setting device state to failed in one place as well.
2302 2008-06-29 Dan Williams <dcbw@redhat.com>
2304 * src/nm-hal-manager.c
2305 - Rework killswitch handling to query killswitch status immediately
2306 when the first killswitch is added, so that rfkill state is
2307 known as early as possible
2308 - Also treat failure of GetPower() as rfkill when the dbus method
2309 call times out (but not when the HAL callout returns an error)
2311 2008-06-26 Dan Williams <dcbw@redhat.com>
2313 Patch from David Cantrell <dcantrell@redhat.com> and me
2315 * include/nm-dbus-glib-types.h
2316 - Add IP6 address types
2318 * libnm-util/Makefile.am
2319 libnm-util/nm-setting-ip6-config.c
2320 libnm-util/nm-setting-ip6-config.h
2321 - Add IP6 settings object
2323 * libnm-util/nm-connection.c
2324 - (register_default_settings): register ip6 settings object
2326 * libnm-util/nm-utils.c
2327 libnm-util/nm-utils.h
2328 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2329 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2330 ip6 address conversion functions
2332 2008-06-26 Dan Williams <dcbw@redhat.com>
2334 Patch from David Cantrell <dcantrell@redhat.com>
2336 * Use inet_ntop() and inet_pton() everwhere and check for errors
2338 2008-06-26 Dan Williams <dcbw@redhat.com>
2340 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2342 2008-06-26 Dan Williams <dcbw@redhat.com>
2344 Patch from Adel Gadllah <adel.gadllah@gmail.com>
2346 * src/nm-device-wifi.c
2347 - (link_timeout_cb): don't ignore disconnects due to scanning
2348 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2349 a longer timeout when scanning; avoids case where supplicant can't
2350 find the AP and just keeps scanning forever but isn't connected
2352 2008-06-26 Dan Williams <dcbw@redhat.com>
2354 Patch from Michael Biebl <biebl@debian.org>
2356 * Clean up build system stuff
2358 2008-06-23 Christian Persch <chpe@gnome.org>
2360 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2361 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2362 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2364 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2366 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2367 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2368 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2370 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2371 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2372 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2373 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2374 * vpn-daemons/pptp/properties/vpnui_opt.c:
2375 (vpnui_opt_connect_signals):
2376 * vpn-daemons/pptp/properties/vpnui_opt.h:
2377 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2378 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2379 deprecated gtk type macros. Bug #539325.
2381 2008-06-20 Dan Williams <dcbw@redhat.com>
2383 * libnm-glib/nm-vpn-plugin-ui-interface.c
2384 libnm-glib/nm-vpn-plugin-ui-interface.h
2385 - 'validity-changed' -> 'changed' to work better with the connection
2386 editor. Plugin UI widgets should emit 'changed' whenever their
2387 UI values change in a meaningful way.
2388 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2389 update_connection member now returns validity of the UI widget
2391 2008-06-20 Tambet Ingo <tambet@gmail.com>
2393 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2395 2008-06-17 Dan Williams <dcbw@redhat.com>
2397 * libnm-glib/nm-vpn-plugin-ui-interface.c
2398 libnm-glib/nm-vpn-plugin-ui-interface.h
2399 - Add "desc" property for longer descriptions of the VPN plugin
2401 2008-06-16 Dan Williams <dcbw@redhat.com>
2404 libnm-glib/libnm_glib_vpn.pc.in
2405 - add a .pc file for libnm_glib_vpn
2407 * libnm-glib/nm-vpn-plugin-ui-interface.c
2408 libnm-glib/nm-vpn-plugin-ui-interface.h
2409 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2410 rework it substantially
2412 2008-06-12 Dan Williams <dcbw@redhat.com>
2414 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2415 and add error enums to each NMSetting subclass. Each NMSetting subclass now
2416 returns a descriptive GError when verification fails.
2418 2008-06-11 Dan Williams <dcbw@redhat.com>
2420 Patch from Tambet Ingo <tambet@gmail.com>
2422 * libnm-util/nm-setting-gsm.c
2423 - (verify): validate APN
2425 * src/nm-gsm-device.c
2426 - (manual_registration_done): start setting APN if needed
2427 - (set_apn, set_apn_done): set the APN
2428 - (do_dial): use the APN when dialing
2430 2008-06-11 Dan Williams <dcbw@redhat.com>
2432 * src/NetworkManagerSystem.c
2433 - (nm_system_device_set_ip4_route,
2434 nm_system_device_replace_default_ip4_route): check for the right
2435 return value from rtnl_route_add() to know when to add a gateway
2438 2008-06-11 Dan Williams <dcbw@redhat.com>
2440 * src/NetworkManagerPolicy.c
2441 - do_ipt_cmd -> do_cmd
2442 - (sharing_init): use do_cmd() instead of system()
2444 2008-06-10 Dan Williams <dcbw@redhat.com>
2446 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2447 and use "wifi" everwhere instead.
2449 2008-06-10 Dan Williams <dcbw@redhat.com>
2451 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2453 2008-06-10 Dan Williams <dcbw@redhat.com>
2455 Patch from Tambet Ingo <tambet@gmail.com>
2457 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2460 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2461 a signal to emit these changes over dbus.
2463 * src/Makefile.am: Genereate nm-serial-device-glue.
2465 * libnm-glib/nm-serial-device.[ch]: Implement.
2467 * libnm-glib/nm-cdma-device.[ch]
2468 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2470 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2472 * introspection/nm-device-serial.xml: Implement.
2474 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2476 * introspection/Makefile.am: Add nm-device-serial.xml.
2478 * include/NetworkManager.h: Add a DBus interface for serial device.
2480 2008-06-10 Dan Williams <dcbw@redhat.com>
2483 - Add TARGET_* define to config.h to distinguish distros
2485 * src/dhcp-manager/nm-dhcp-manager.c
2486 - (dhclient_run): use distro-specific path for dhclient config file
2488 2008-06-09 Dan Williams <dcbw@redhat.com>
2490 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2491 src/dnsmasq-manager/nm-dnsmasq-manager.h
2492 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2493 calculate the addresses passed to dnsmasq instead of hard-coding
2497 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2498 IP addresses for shared connections to guard against shared
2499 connection address collisions
2500 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2502 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2505 2008-06-09 Dan Williams <dcbw@redhat.com>
2507 * src/NetworkManagerPolicy.c
2508 - (update_routing_and_dns): set the default connection _after_ unsetting
2509 default on all non-default connections so that two connections can
2510 never be default at the same time
2511 - (device_state_changed): start and stop connection sharing when
2513 - (active_connection_default_changed): restart or stop sharing when
2514 the default connection changes to keep shared connections always
2515 NAT-ed through the default connection
2516 - (check_sharing): handle activation/deactivation of shared connections
2517 - (sharing_restart): atom-bomb approach to connection sharing until we
2518 can use libnl; reinit all sharing when the default connection or
2519 shared connections change
2520 - (sharing_init, sharing_stop): evil functions that init and deinit
2523 2008-06-09 Dan Williams <dcbw@redhat.com>
2525 * src/nm-activation-request.c
2526 src/nm-activation-request.h
2527 - (nm_act_request_set_shared, nm_act_request_get_shared,
2528 nm_act_request_get_device): new functions to facilitate connection
2531 2008-06-09 Dan Williams <dcbw@redhat.com>
2534 - (clear_act_request): unset the 'default' property of the activation
2535 request when clearing it to ensure the property changed signal gets
2536 delivered and handled
2538 2008-06-09 Dan Williams <dcbw@redhat.com>
2540 * libnm-glib/nm-device-802-11-wireless.c
2541 - (access_point_removed_proxy): actually unref the AP after removing
2542 it from the device's AP list. Fixes refcounting bug for APs that
2543 caused them to get mixed up in the applet's menu.
2545 2008-06-09 Tambet Ingo <tambet@gmail.com>
2547 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2548 (nm_dhcp_device_destroy): Destroy the device options hash table.
2550 2008-06-06 Dan Williams <dcbw@redhat.com>
2552 * system-settings/src/nm-polkit-helpers.c
2553 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2554 unref the context if the initialization fails; also avoid spew when
2557 2008-06-06 Dan Williams <dcbw@redhat.com>
2559 Patch from Tambet Ingo <tambet@gmail.com>
2561 * src/NetworkManagerSystem.c
2562 src/NetworkManagerSystem.h
2563 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2564 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2565 - (nm_system_device_set_ip4_route): clean up
2566 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2569 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2571 * src/vpn-manager/nm-vpn-connection.c
2572 - (ip_address_to_string): new function
2573 - (print_vpn_config): use ip_address_to_string
2574 - (merge_vpn_routes): add user-defined routes to the ip4 config
2575 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2577 * include/NetworkManagerVPN.h
2580 2008-06-05 Dan Williams <dcbw@redhat.com>
2582 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2585 - Show which device is the default device
2587 2008-06-05 Tambet Ingo <tambet@gmail.com>
2591 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2592 Free data returned from dbus method call.
2594 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2595 dbus_g_method_get_sender() returns a duplicated string, free it
2597 (check_polkit_privileges): Looks like policykit sometimes returns
2598 error and non-null return value, don't leak errors in that case.
2600 * system-settings/src/main.c (find_plugin): Don't leak existing
2602 (load_stuff): Don't leak device list and list items.
2603 (have_connection_for_device): Don't leak connection list.
2605 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2606 Free the data received from g_keyfile_get_*.
2608 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2609 the key when the security object is updated.
2611 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2612 Free data returned from dbus method call.
2613 (iface_state_cb): Ditto.
2614 (add_network_cb): Ditto.
2615 (nm_supplicant_interface_add_cb): Don't make another copy of already
2616 duplicated object path.
2617 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2620 * src/supplicant-manager/nm-supplicant-config.c
2621 (ADD_STRING_LIST_VAL): Fix a memory leak.
2623 * src/nm-manager.c (free_get_settings_info): Free the allocated
2625 (list_connections_cb): Free data returned from dbus method call.
2626 (system_settings_get_unmanaged_devices_cb): Ditto.
2628 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2630 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
2631 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
2632 * src/backends/shvar.c (svCloseFile): Free the duplicated content
2635 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2636 arguments after the object is created.
2638 2008-06-04 Dan Williams <dcbw@redhat.com>
2640 * libnm-util/Makefile.am
2641 - Don't distribute nm-param-spec-specialized.h
2643 2008-06-02 Tambet Ingo <tambet@gmail.com>
2645 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2647 * src/nm-ip4-config.[ch]: Store the static routes as a list of
2648 NMIP4Address, update the getters and setters.
2650 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2651 Use the updated NMIP4Config routes api.
2653 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2654 static routes as well.
2656 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2657 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2660 2008-05-30 Dan Williams <dcbw@redhat.com>
2662 * src/named-manager/nm-named-manager.c
2663 src/named-manager/nm-named-manager.h
2664 - Remove stale/obsolete bits for controlling bind over DBus
2666 2008-05-29 Dan Williams <dcbw@redhat.com>
2668 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2669 src/dnsmasq-manager/nm-dnsmasq-manager.h
2670 - (nm_dnsmasq_manager_new): move iface argument here
2671 - (constructor): remove, not needed
2672 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2673 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2676 - (real_act_stage4_get_ip4_config,
2677 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2680 2008-05-29 Dan Williams <dcbw@redhat.com>
2683 - (dnsmasq_state_changed_cb): new function; fail the connection if
2684 something happens to dnsmasq
2685 - (nm_device_new_ip4_shared_config): new function; create a new
2686 ip4-config for shared connections. Shared connections always use a
2687 fixed static IP address.
2688 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2689 autoip connections by actually using the returned ip4-config and
2691 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2693 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2696 2008-05-29 Dan Williams <dcbw@redhat.com>
2698 * src/nm-device-802-11-wireless.c
2699 - (real_get_best_auto_connection): auto-activate 'shared' method
2702 2008-05-29 Dan Williams <dcbw@redhat.com>
2704 * libnm-util/nm-setting-ip4-config.c
2705 libnm-util/nm-setting-ip4-config.h
2706 - Add a 'shared' method to indicate that this connection should be
2707 brought up with a DHCP and proxy DNS server to facilitate
2709 - (verify): 'shared' method doesn't allow DNS or searches either
2711 2008-05-29 Dan Williams <dcbw@redhat.com>
2715 src/dnsmasq-manager/Makefile.am
2716 src/dnsmasq-manager/nm-dnsmasq-manager.c
2717 src/dnsmasq-manager/nm-dnsmasq-manager.h
2718 - Add a dnsmasq daemon manager to facilitate connection sharing
2720 2008-05-29 Dan Williams <dcbw@redhat.com>
2722 * src/nm-device-private.h
2723 - Remove unused prototypes and clean up
2726 - Remove anything related to system_config_data, which is no longer used
2727 - (nm_device_new_ip4_autoip_config): make static
2729 2008-05-29 Tambet Ingo <tambet@gmail.com>
2731 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2732 (file_changed): Fix a bug where suse system settings plugin didn't
2733 update the connections automatically when the files changed.
2735 2008-05-28 Dan Williams <dcbw@redhat.com>
2737 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2739 2008-05-28 Dan Williams <dcbw@redhat.com>
2741 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2743 * src/NetworkManagerSystem.c
2744 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2745 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2746 was causing -EINVAL errors since the libnl code actually does flush
2747 the routes on VPN interfaces now
2749 * src/backends/NetworkManagerArch.c
2750 src/backends/NetworkManagerDebian.c
2751 src/backends/NetworkManagerFrugalware.c
2752 src/backends/NetworkManagerGeneric.c
2753 src/backends/NetworkManagerGentoo.c
2754 src/backends/NetworkManagerMandriva.c
2755 src/backends/NetworkManagerPaldo.c
2756 src/backends/NetworkManagerRedHat.c
2757 src/backends/NetworkManagerSlackware.c
2758 src/backends/NetworkManagerSuSE.c
2759 - (nm_system_device_flush_ip4_routes,
2760 nm_system_device_flush_ip4_routes_with_iface): remove
2762 2008-05-28 Dan Williams <dcbw@redhat.com>
2764 * libnm-util/nm-setting-wireless.c
2765 libnm-util/nm-setting-wireless.h
2766 - (set_property, get_property, nm_setting_wireless_class_init): add the
2767 'adhoc-create' property, which when TRUE indicates that NM should
2768 create this connection as an adhoc wifi network if it's not found
2769 as an adhoc network during scanning. Can be used to auto-create
2770 adhoc networks when used in combination with autoconnect.
2772 2008-05-28 Tambet Ingo <tambet@gmail.com>
2774 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2776 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2777 checked, it doesn't work on some devices.
2779 2008-05-28 Tambet Ingo <tambet@gmail.com>
2781 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
2782 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2784 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2785 Use inet_aton() everywhere to improve error detection.
2786 Don't fall back to 'dhcp_server_identifier' if the gateway is not
2789 2008-05-26 Tambet Ingo <tambet@gmail.com>
2791 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2794 2008-05-26 Tambet Ingo <tambet@gmail.com>
2796 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2797 reference counting issue.
2799 2008-05-23 Dan Williams <dcbw@redhat.com>
2801 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2803 * src/backends/NetworkManagerGeneric.c
2804 - (nm_generic_enable_loopback): use libnl
2806 2008-05-23 Dan Williams <dcbw@redhat.com>
2808 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2810 * src/NetworkManagerSystem.h
2811 src/backends/NetworkManagerArch.c
2812 src/backends/NetworkManagerDebian.c
2813 src/backends/NetworkManagerFrugalware.c
2814 src/backends/NetworkManagerGentoo.c
2815 src/backends/NetworkManagerMandriva.c
2816 src/backends/NetworkManagerPaldo.c
2817 src/backends/NetworkManagerRedHat.c
2818 src/backends/NetworkManagerSlackware.c
2819 src/backends/NetworkManagerSuSE.c
2820 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2821 nm_system_flush_arp_cache): remove, unused
2823 * src/backends/NetworkManagerGeneric.c
2824 src/backends/NetworkManagerGeneric.h
2825 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2826 nm_generic_flush_arp_cache): remove, unused
2828 2008-05-23 Dan Williams <dcbw@redhat.com>
2830 * system-settings/plugins/ifcfg-fedora/reader.c
2831 - (make_ip4_setting): honor PEERDNS setting
2833 2008-05-23 Dan Williams <dcbw@redhat.com>
2835 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2837 * src/NetworkManagerSystem.c
2838 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
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_flush_ip4_addresses,
2851 nm_system_device_flush_ip4_addresses_with_iface): remove
2853 * src/backends/NetworkManagerGeneric.c
2854 - (nm_generic_device_flush_ip4_addresses,
2855 nm_generic_device_flush_ip4_addresses_with_iface): remove
2857 2008-05-23 Dan Williams <dcbw@redhat.com>
2859 * src/supplicant-manager/nm-supplicant-settings-verify.c
2860 - Switch 'bssid' from bytes to keyword type
2861 - (validate_type_keyword): allow NULL keyword lists
2863 * src/supplicant-manager/nm-supplicant-config.c
2864 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2865 a byte array to string form, which is what the supplicant expects
2867 2008-05-23 Tambet Ingo <tambet@gmail.com>
2869 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2870 information received from DHCP.
2872 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2873 to make it possible to ignore the DNS information (both servers and
2874 searches) returned by DHCP server.
2876 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2877 name servers and searches if "ignore_dhcp_dns" is set.
2879 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2880 (nm_ip4_config_reset_searches): Implement.
2882 2008-05-22 Dan Williams <dcbw@redhat.com>
2884 Remove anything mDNS related. This is better done from a distro-specific
2885 dispatcher script. Plus, any distro using avahi doesn't need to restart
2886 avahi, since avahi can handle interface changes just fine using netlink.
2889 - Remove --with-mdns-provider
2891 * src/NetworkManagerPolicy.c
2892 - (global_state_changed): don't restart the mdns provider
2894 * src/NetworkManagerSystem.h
2895 src/backends/NetworkManagerArch.c
2896 src/backends/NetworkManagerDebian.c
2897 src/backends/NetworkManagerFrugalware.c
2898 src/backends/NetworkManagerGentoo.c
2899 src/backends/NetworkManagerMandriva.c
2900 src/backends/NetworkManagerPaldo.c
2901 src/backends/NetworkManagerRedHat.c
2902 src/backends/NetworkManagerSlackware.c
2903 src/backends/NetworkManagerSuSE.c
2904 - (nm_system_restart_mdns_responder): remove
2906 * src/backends/NetworkManagerGeneric.c
2907 src/backends/NetworkManagerGeneric.h
2908 - (nm_generic_restart_mdns_responder): remove
2910 2008-05-22 Dan Williams <dcbw@redhat.com>
2913 - clean up crypto options; just use --with-crypto=nss or
2914 --with-crypto=gnutls
2916 2008-05-22 Tambet Ingo <tambet@gmail.com>
2918 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2919 anymore, do it right away.
2921 2008-05-22 Tambet Ingo <tambet@gmail.com>
2923 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2924 serial device open when we're not connecting or connected.
2926 * src/nm-cdma-device.c (device_state_changed): Ditto.
2928 2008-05-22 Tambet Ingo <tambet@gmail.com>
2930 Don't remove all devices on waking up, sync with HAL.
2932 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2933 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2934 (hal_manager_hal_reappeared_cb): Just call sync_devices.
2936 2008-05-21 Tambet Ingo <tambet@gmail.com>
2938 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2939 If the default gateway is unreachable, add a route to gateway and try
2942 2008-05-20 Dan Williams <dcbw@redhat.com>
2944 * system-settings/plugins/ifcfg-fedora/reader.c
2945 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2947 2008-05-19 Dan Williams <dcbw@redhat.com>
2949 * system-settings/plugins/ifcfg-fedora/reader.c
2950 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2951 if the ifcfg doesn't specify one (rh #446527)
2953 2008-05-19 Dan Williams <dcbw@redhat.com>
2955 Make the system settings service exit when the bus goes away. Since it's
2956 a bus-activated service, it's lifetime is limited to the bus that activated
2959 * system-settings/src/Makefile.am
2960 system-settings/src/nm-system-config-hal-manager-private.h
2961 - Remove nm-system-config-hal-manager-private.h
2963 * system-settings/src/nm-system-config-hal-manager.c
2964 - (nm_system_config_hal_manager_reinit_dbus,
2965 nm_system_config_hal_manager_deinit_dbus): remove
2967 * system-settings/src/main.c
2968 - (dbus_reconnect): remove
2969 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2970 - (destroy_cb): just quit when the bus goes away
2971 - (start_dbus_service, dbus_init): simplify
2972 - (main): destroy the wired devices hash table after destroying
2973 the HAL manager so we don't have to disconnect signals from the
2976 2008-05-15 Tambet Ingo <tambet@gmail.com>
2978 Move crypto functions from nm-applet to libnm-util.
2980 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2981 (nm_setting_802_1x_set_client_cert)
2982 (nm_setting_802_1x_set_phase2_ca_cert)
2983 (nm_setting_802_1x_set_phase2_client_cert)
2984 (nm_setting_802_1x_set_private_key)
2985 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2986 file (or private key and it's password), read the certificate data.
2988 * libnm-util/crypto_nss.c:
2989 * libnm-util/crypto_gnutls.c:
2990 * libnm-util/crypto.[ch]: Move here from nm-applet.
2992 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2994 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2995 Imlement WPA-EAP configuration reading from sysconfig.
2997 2008-05-16 Dan Williams <dcbw@redhat.com>
2999 * src/nm-device-802-11-wireless.c
3000 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3003 2008-05-14 Dan Williams <dcbw@redhat.com>
3005 Fix Linus' bug in rh #134886
3007 * src/nm-device-802-3-ethernet.c
3008 - (constructor): request initial carrier state
3010 * src/nm-netlink-monitor.c
3011 - (nm_netlink_monitor_request_status): schedule emission of carrier
3012 signals after refilling the link cache. Because the refill is a
3013 synchronous operation, the normal message hander won't get called
3014 since libnl has already consumed the messages.
3015 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3017 2008-05-14 Dan Williams <dcbw@redhat.com>
3019 * src/NetworkManagerSystem.c
3020 - (nm_system_device_is_up_with_iface): clean up
3022 2008-05-13 Dan Williams <dcbw@redhat.com>
3024 Fix refcounting issues over sleep/wake when a VPN connection was active that
3025 caused NM to try registering an object path for a device upon wake that was
3026 the same as an already registered object path.
3029 - (nm_device_take_down): properly handle cases where the device is
3030 no longer active but was just active, and therefore must be
3031 deactivated. When a device moves to unmanaged mode, this function
3032 previously would not deactivate the device, because the state was
3033 already unmanaged by the time this function was called.
3035 * src/vpn-manager/nm-vpn-connection.c
3036 - (device_state_changed): properly handle multiple devices states in
3037 which the device is now deactivated. Code previously didn't handle
3038 transitions to the UNAVAILABLE (like rfkill or carrier off) and
3041 2008-05-13 Dan Williams <dcbw@redhat.com>
3043 * src/nm-device-private.h
3045 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3047 * src/nm-device-802-11-wireless.c
3048 - (nm_device_802_11_wireless_set_enabled): take devices up
3049 and down as appropriate for the rfkill state
3051 2008-05-13 Dan Williams <dcbw@redhat.com>
3053 * marshallers/nm-marshal.list
3054 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3056 * system-settings/plugins/ifcfg-fedora/Makefile.am
3057 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3058 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3059 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3060 events. Solely for use watching ifcfg files to pick up changes
3061 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3063 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3064 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3065 file contents change
3066 - (finalize): clean up inotify watches
3067 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3068 and the connection ifcfg for changes on their hardlinks
3069 - (files_changed_cb): proxy the changed signal back out to listeners
3071 * system-settings/plugins/ifcfg-fedora/plugin.c
3073 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3075 - (read_one_connection): connect to change signals on the new connection
3076 - (dir_changed, connection_changed_handler,
3077 handle_connection_remove_or_new): break out connection change
3078 handling and connection new/remove handling so it can be used from
3079 both the GFileMonitor callback and the NMIfcfgConnection changed
3082 * system-settings/plugins/ifcfg-fedora/reader.c
3083 system-settings/plugins/ifcfg-fedora/reader.h
3084 - (connection_from_file): return the keyfile path the connection would use
3086 2008-05-13 Tambet Ingo <tambet@gmail.com>
3088 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
3089 single PolKitContext which is shared by all. PolKitContext::unref leaks
3090 just about everything, including all open file descriptiors and results
3091 in 99% cpu usage when data arrives to any of the fds that don't belong
3092 to any context anymore.
3094 2008-05-12 Dan Williams <dcbw@redhat.com>
3096 * gfilemonitor/glocaldirectorymonitor.c
3097 gfilemonitor/glocaldirectorymonitor.h
3098 - (g_local_directory_monitor_constructor): actually subscribe to the
3100 - (_g_local_directory_monitor_new): ensure that inotify is started up
3102 * gfilemonitor/glocalfilemonitor.c
3103 gfilemonitor/glocalfilemonitor.h
3104 - (g_local_file_monitor_constructor): actually subscribe to the watch
3105 - (_g_local_file_monitor_new): ensure that inotify is started up
3107 2008-05-11 Dan Williams <dcbw@redhat.com>
3110 - record PolicyKit version
3112 * system-settings/src/nm-polkit-helpers.c
3113 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3114 with PolicyKit <= 0.6
3116 2008-05-11 Dan Williams <dcbw@redhat.com>
3118 Update Fedora system-settings plugin to support latest API and use
3119 GFileMonitor rather than home-rolled inotify code.
3121 * system-settings/plugins/ifcfg-fedora/Makefile.am
3122 system-settings/plugins/ifcfg-fedora/common.h
3123 system-settings/plugins/ifcfg-fedora/plugin.c
3124 - Update to latest system settings plugin API; use GIO instead of
3125 custom inotify code; use NMIfcfgConnection objects instead of
3126 ConnectionData structures tacked onto NMConnection objects
3128 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3129 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3130 - Implement an NMExportedConnection subclass mapping ifcfg files to
3133 * system-settings/plugins/ifcfg-fedora/reader.c
3134 system-settings/plugins/ifcfg-fedora/reader.h
3135 - Move ifcfg parsing bits here from parser.c
3137 * system-settings/plugins/ifcfg-fedora/parser.c
3138 system-settings/plugins/ifcfg-fedora/parser.h
3139 - Remove; most code moved to reader.c
3141 2008-05-11 Dan Williams <dcbw@redhat.com>
3146 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3147 implementation, so that the same change monitoring code can be used
3148 on systems without glib-2.14 (like Fedora 8)
3150 * system-settings/plugins/keyfile/Makefile.am
3151 system-settings/plugins/keyfile/plugin.c
3152 system-settings/plugins/ifcfg-suse/Makefile.am
3153 system-settings/plugins/ifcfg-suse/plugin.c
3154 - Use private gfilemonitor code if GIO is not present
3156 2008-05-09 Tambet Ingo <tambet@gmail.com>
3158 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3159 NMExportedConnection's 'update' and 'delete' and return error with
3160 descriptive message.
3162 2008-05-08 Dan Williams <dcbw@redhat.com>
3164 Patch from Markus Becker <mab@comnets.uni-bremen.de>
3166 * src/nm-gsm-device.c
3167 src/nm-cdma-device.c
3168 - (real_get_best_auto_connection): implement; allow autoconnection
3169 to GSM & CDMA devices
3171 2008-05-08 Tambet Ingo <tambet@gmail.com>
3173 Use PolicyKit to authorize the system settings' AddConnection method
3174 and the system settings connections' Update and Delete methods.
3176 * libnm-glib/nm-settings.c (impl_exported_connection_update)
3177 (impl_exported_connection_delete, nm_exported_connection_update)
3178 (nm_exported_connection_delete): Return boolean and fill GError
3179 to notify the callers of the reasons why it might have failed.
3181 * libnm-glib/nm-dbus-settings-system.c
3182 (nm_dbus_settings_system_add_connection): Return the error from dbus
3183 call so that the callers can see why it failed.
3185 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
3188 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3190 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3191 abstract base class that checks PolicyKit permissions.
3193 * system-settings/src/dbus-settings.c:
3194 (impl_settings_add_connection): Check the policy before carring out
3197 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3198 Inherit from NMSysconfigConnection, check the policies before
3199 allowing updating or removing.
3201 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3202 Inherit from NMSysconfigConnection.
3204 * introspection/nm-exported-connection.xml: Annotate "Update" and
3205 "Delete" methods with async flag so that the implementations can get
3206 access to DBusGMethodInvocation.
3208 * system-settings/src/dbus-settings.c
3209 (settings_add_connection_check_privileges): Implement.
3210 (impl_settings_add_connection): Check the privileges before adding a new
3211 connection. Improve error reporting.
3213 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3214 async so that the implementation can access DBusGMethodInvocation.
3216 * configure.in: Check for PolicyKit.
3218 * policy/org.freedesktop.network-manager-settings.system.policy:
3221 * policy/Makefile.am: Install the policy file.
3223 * configure.in: Add 'policy' subdir.
3225 2008-05-08 Tambet Ingo <tambet@gmail.com>
3227 Rewrite the suse system settings plugin.
3229 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3231 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3233 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3235 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3237 * system-settings/src/dbus-settings.c: Fix connection reference counting.
3239 * system-settings/src/main.c (load_plugins): Improve error reporting.
3241 * system-settings/src/sha1.[ch] Add.
3243 * system-settings/src/Makefile.am: Add sha1[ch] to build.
3245 2008-05-07 Dan Williams <dcbw@redhat.com>
3247 * system-settings/plugins/keyfile/reader.c
3248 - (read_one_setting_value): handle IP address items separately
3249 - (read_array_of_uint): read IPv4 DNS option as a string array
3250 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3253 * system-settings/plugins/keyfile/writer.c
3254 - (write_setting_value): handle IP address items separately
3255 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3256 not an array of uint, so that it's user-editable
3257 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3258 arrays, so they are user-editable
3260 2008-05-07 Dan Williams <dcbw@redhat.com>
3262 * system-settings/plugins/keyfile/Makefile.am
3263 - Change location of the keyfile plugin settings to
3264 /etc/NetworkManager/system-connections
3266 2008-05-05 Tambet Ingo <tambet@gmail.com>
3268 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3270 * system-settings/plugins/keyfile/plugin.c: Work with
3271 NMKeyfileConnections.
3273 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3274 Plugins are supposed to return NMExportedConnections now and handle the
3275 updated(), removed(), and GetSecrets().
3276 Store the internal list of connections in hash table to make it easier
3279 2008-05-07 Tambet Ingo <tambet@gmail.com>
3281 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3282 for multiple IP addresses.
3284 2008-05-07 Tambet Ingo <tambet@gmail.com>
3286 Patch from André Lemos.
3288 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3291 2008-05-06 Dan Williams <dcbw@redhat.com>
3293 * src/dhcp-manager/nm-dhcp-manager.c
3294 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3295 NMIP4Config to support multiple IP addresses
3297 * src/NetworkManagerUtils.c
3298 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3300 * src/nm-ip4-config.c
3302 - Store a list of IPv4 address/netmask/gateway tuples
3303 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3304 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3305 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3306 nm_ip4_config_set_address): remove
3307 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3308 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3309 new functions; handle multiple IPv4 addresses
3312 src/ppp-manager/nm-ppp-manager.c
3313 src/vpn-manager/nm-vpn-connection.c
3314 src/NetworkManagerPolicy.c
3316 libnm-glib/libnm-glib-test.c
3317 - update for changes to NMIP4Config for multiple IPv4 addresses
3319 * src/NetworkManagerSystem.c
3320 - (nm_system_device_set_ip4_route): don't add the route if any address
3321 is on the same subnet as the destination
3322 - (check_one_address): ignore the exact match, just match family and
3324 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3326 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3327 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3329 * introspection/nm-ip4-config.xml
3330 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3331 - Add 'addresses' property which is an array of (uuu) tuples of
3332 address/netmask/gateway
3334 * libnm-util/nm-setting-ip4-config.c
3335 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3337 * libnm-glib/nm-ip4-config.c
3338 libnm-glib/nm-ip4-config.h
3339 - Handle D-Bus interface changes to support multiple IP addresses
3341 2008-05-06 Dan Williams <dcbw@redhat.com>
3343 * libnm-util/nm-utils.c
3344 libnm-util/nm-utils.h
3345 - (nm_utils_ip4_addresses_from_gvalue,
3346 nm_utils_ip4_addresses_to_gvalue): new functions
3348 2008-05-06 Tambet Ingo <tambet@gmail.com>
3350 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3351 the returned connection paths.
3353 2008-05-05 Tambet Ingo <tambet@gmail.com>
3355 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
3356 "PropertiesChanged" signal signature.
3358 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3359 defined in nm-dbus-glib-types.h.
3360 Don't register the connection on dbus, we're a proxy class to
3361 communicate with an already registered connection over dbus.
3363 2008-04-30 Tambet Ingo <tambet@gmail.com>
3365 Implement new subclasses of NMSettings and NMExportedConnection to make
3366 it easier for the applet to access and modify system settings.
3368 * libnm-glib/nm-dbus-connection.[ch]:
3369 * libnm-glib/nm-dbus-settings.[ch]:
3370 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3372 * libnm-glib/Makefile.am: Add the new files to build, generate some more
3375 * include/NetworkManager.h: Define the system settings DBus interface.
3377 2008-04-30 Tambet Ingo <tambet@gmail.com>
3379 Implement additional C API for exported connections to make them identical
3380 with the DBus API. Change the (list_connections) virtual function to be
3381 more usable from C - instead of requiring implementers to return a GPtrArray
3382 of dbus paths, return a list of connections.
3384 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3385 (nm_settings_list_connections):
3386 (nm_exported_connection_new):
3387 (nm_exported_connection_update):
3388 (nm_exported_connection_delete): Implement.
3390 (impl_settings_list_connections):
3391 (impl_exported_connection_update):
3392 (impl_exported_connection_delete): Use the new public functions to make
3393 sure the C and dbus interfaces stay in sync.
3395 * system-settings/src/dbus-settings.c (list_connections): Return a list of
3398 2008-05-02 Dan Williams <dcbw@redhat.com>
3400 * system-settings/plugins/ifcfg-fedora/plugin.c
3401 - (dispose): use right unref call on the DBusGConnection
3403 2008-05-02 Dan Williams <dcbw@redhat.com>
3405 * src/nm-serial-device.c
3406 - (find_terminator): don't compare the whole line, just the size of the
3407 terminator, since some modems put stuff after the terminator, like
3410 2008-05-01 Dan Williams <dcbw@redhat.com>
3412 Patch from Michael Biebl <biebl@debian.org>
3414 * callouts/Makefile.am
3415 callouts/org.freedesktop.nm_dispatcher.service.in
3416 system-settings/src/Makefile.am
3417 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3418 - use the right install location for dbus-activated stuff
3420 2008-04-30 Dan Williams <dcbw@redhat.com>
3422 * src/nm-gsm-device.c
3423 - (enter_pin): fix setting name passed to applets when asking for a GSM
3426 2008-04-30 Dan Williams <dcbw@redhat.com>
3429 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3431 2008-04-30 Dan Williams <dcbw@redhat.com>
3433 * src/nm-device-802-3-ethernet.c
3434 src/nm-device-802-11-wireless.c
3435 - (real_is_up): return true instead of chaining up to unimplemented
3438 2008-04-30 Dan Williams <dcbw@redhat.com>
3440 * src/NetworkManagerSystem.c
3441 src/NetworkManagerSystem.h
3442 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3443 functions to check device flags for IFF_UP
3445 * src/nm-serial-device.c
3446 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3449 * src/nm-device-802-3-ethernet.c
3450 src/nm-device-802-11-wireless.c
3451 - (real_hw_is_up): call nm_system_device_is_up()
3454 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3455 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3458 2008-04-29 Dan Williams <dcbw@redhat.com>
3460 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3462 * marshallers/nm-marshal.list
3465 * src/NetworkManager.c
3466 - (main): let the NMManager handle the NMHalManager
3468 * src/nm-hal-manager.c
3469 src/nm-hal-manager.h
3470 - convert to a GObject, and emit singals when stuff changes. Let the
3471 NMManager handle the signals, instead of the NMHalManager calling
3476 - (remove_one_device): consolidate device removals here
3477 - (dispose): use remove_one_device()
3478 - (nm_manager_get_device_by_udi): make static
3479 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3480 manager for devices at startup or wakeup time
3481 - (nm_manager_new): create and monitor the HAL manager
3482 - (hal_manager_udi_added_cb): new function; do what
3483 nm_manager_add_device() used to do when signalled by the hal manager
3484 - (hal_manager_udi_removed_cb): new function; do what
3485 nm_manager_remove_device() used to do when signalled by the hal
3487 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3489 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3490 in our device list that aren't known to HAL
3491 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3492 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3494 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3495 nm_manager_activation_pending, nm_manager_wireless_enabled,
3496 nm_manager_wireless_hardware_enabled,
3497 nm_manager_set_wireless_hardware_enabled): remove, unused
3499 2008-04-28 Dan Williams <dcbw@redhat.com>
3501 Fix the device up/down ambiguities. Up/down state used to be a
3502 conglomeration of hardware state (IFF_UP) and any device-specific things
3503 (supplicant, periodic timers, etc) that the device used to indicate
3504 readiness. Unfortunately, if the hardware was already IFF_UP for some
3505 reason, then the device specific stuff wouldn't get run, and the device
3510 - Create hw_is_up, hw_bring_up, and hw_take_down
3511 - Rename bring_down -> take_down
3512 - (real_hw_is_up): check interface flags for IFF_UP
3513 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3514 - (nm_device_is_up): make static; only used locally
3515 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3516 if the device is already up; if the device isn't up, bring it up
3517 - (nm_device_hw_take_down): just take down hardware
3518 - (nm_device_bring_up): bring up HW first, then device specific stuff
3519 - (nm_device_take_down): always deactivate device when called; always
3520 try to take hardware down too
3521 - (nm_device_state_changed): take device down when entering unmanaged
3522 state from a higher state
3524 * src/nm-device-802-11-wireless.c
3525 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3527 - (real_take_down, supplicant_iface_state_cb_handler,
3528 supplicant_iface_connection_state_cb_handler,
3529 supplicant_mgr_state_cb_handler): fix some messages
3531 * src/nm-device-802-3-ethernet.c
3532 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3535 2008-04-28 Dan Williams <dcbw@redhat.com>
3539 - (nm_manager_error_get_type): add new error
3540 - (nm_manager_remove_device): don't bother taking down the device here,
3541 the state change from unmanaging the device will do it
3542 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3543 uses it; when going to sleep, just unmanage the device instead of
3544 taking it down, because stuff will cleaned up correctly when the
3545 device gets unmanaged
3547 2008-04-28 Dan Williams <dcbw@redhat.com>
3549 * src/nm-hal-manager.c
3550 - (add_initial_devices): convert to a GSourceFunc prototype
3551 - (nm_manager_state_changed): when coming out of sleep, punt the
3552 device re-addition to an idle handler to let D-Bus events go out
3553 first, fixing a potential dbus-glib assert if the old device was
3554 not yet disposed (due to references held while emitting the D-Bus
3555 signals) but the new device was found, because the mainloop didn't
3556 run between signal emission and add_initial_devices()
3558 2008-04-27 Dan Williams <dcbw@redhat.com>
3560 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3562 * initscript/paldo/NetworkManager.in
3563 initscript/SUSE/networkmanager.in
3564 - Remove last bits of dhcdbd
3566 2008-04-27 Dan Williams <dcbw@redhat.com>
3568 * src/nm-device-802-11-wireless.c
3569 - (link_timeout_cb): don't ask for secrets when disconnected during
3570 association/authentication phase, drivers are still just too crappy
3572 2008-04-27 Dan Williams <dcbw@redhat.com>
3576 dispatcher-daemon/Makefile.am
3577 dispatcher-daemon/NetworkManagerDispatcher.c
3578 initscript/Arch/Makefile.am
3579 initscript/Arch/networkmanager-dispatcher.in
3580 initscript/Gentoo/Makefile.am
3581 initscript/Gentoo/NetworkManagerDispatcher.in
3582 initscript/Mandriva/Makefile.am
3583 initscript/Mandriva/networkmanagerdispatcher.in
3584 initscript/RedHat/Makefile.am
3585 initscript/RedHat/NetworkManagerDispatcher.in
3586 initscript/SUSE/Makefile.am
3587 initscript/SUSE/networkmanager-dispatcher.in
3588 initscript/Slackware/Makefile.am
3589 initscript/Slackware/rc.networkmanager-dispatcher.in
3590 initscript/paldo/Makefile.am
3591 initscript/paldo/NetworkManagerDispatcher.in
3593 man/NetworkManagerDispatcher.8.in
3594 - Remove the dispatcher daemon
3596 2008-04-27 Dan Williams <dcbw@redhat.com>
3598 * callouts/Makefile.am
3599 callouts/nm-dispatcher-action.c
3600 callouts/nm-dispatcher-action.h
3601 callouts/nm-dispatcher.conf
3602 callouts/nm-dispatcher.xml
3603 callouts/org.freedesktop.nm_dispatcher.service
3604 - Re-implement the dispatcher as a system-bus activated service that
3605 NM calls on-demand, rather than an always running daemon
3608 - Add callouts dir to includes to pick up dispatcher defines
3611 - (nm_device_state_changed): call dispatcher on device activated/
3614 * src/vpn-manager/nm-vpn-connection.c
3615 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3618 * src/NetworkManagerUtils.c
3619 src/NetworkManagerUtils.h
3620 - (nm_utils_call_dispatcher): helper to call dispatcher
3622 2008-04-27 Dan Williams <dcbw@redhat.com>
3624 * src/NetworkManagerUtils.c
3625 src/NetworkManagerUtils.h
3626 - remove unneeded includes
3627 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3628 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3629 nm_timeval_cmp, nm_timeval_add): remove, unused
3630 - clean up formatting
3631 - (nm_spawn_process): de-uglify
3633 * src/nm-device-802-11-wireless.c
3634 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3636 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
3638 * initscript/Gentoo/NetworkManager.in:
3639 Fix for starting the daemon.
3641 2008-04-25 Dan Williams <dcbw@redhat.com>
3643 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3645 * src/NetworkManagerSystem.c
3646 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3648 2008-04-25 Dan Williams <dcbw@redhat.com>
3650 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3652 * src/NetworkManagerSystem.c
3653 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3654 implementation of nm_system_device_replace_default_route()
3656 * src/NetworkManagerPolicy.c
3657 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3659 * src/backends/NetworkManagerArch.c
3660 src/backends/NetworkManagerDebian.c
3661 src/backends/NetworkManagerFrugalware.c
3662 src/backends/NetworkManagerGeneric.c
3663 src/backends/NetworkManagerGeneric.h
3664 src/backends/NetworkManagerGentoo.c
3665 src/backends/NetworkManagerMandriva.c
3666 src/backends/NetworkManagerPaldo.c
3667 src/backends/NetworkManagerRedHat.c
3668 src/backends/NetworkManagerSlackware.c
3669 src/backends/NetworkManagerSuSE.c
3670 - (nm_system_device_replace_default_route): remove
3672 2008-04-25 Dan Williams <dcbw@redhat.com>
3674 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3676 * src/NetworkManagerSystem.c
3677 - (validate_ip4_route): remove; use nl_addr_parse() instead
3678 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3679 replace nm_system_device_add_route_via_device_with_iface() in the
3682 * src/backends/NetworkManagerArch.c
3683 src/backends/NetworkManagerDebian.c
3684 src/backends/NetworkManagerFrugalware.c
3685 src/backends/NetworkManagerGeneric.c
3686 src/backends/NetworkManagerGeneric.h
3687 src/backends/NetworkManagerGentoo.c
3688 src/backends/NetworkManagerMandriva.c
3689 src/backends/NetworkManagerPaldo.c
3690 src/backends/NetworkManagerRedHat.c
3691 src/backends/NetworkManagerSlackware.c
3692 src/backends/NetworkManagerSuSE.c
3693 - Remove nm_system_device_add_route_via_device_with_iface()
3695 2008-04-25 Dan Williams <dcbw@redhat.com>
3697 * system-settings/plugins/ifcfg-fedora/parser.c
3698 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3700 2008-04-24 Dan Williams <dcbw@redhat.com>
3702 * dispatcher-daemon/NetworkManagerDispatcher.c
3703 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3705 2008-04-24 Dan Williams <dcbw@redhat.com>
3707 * initscript/RedHat/NetworkManager.in
3708 initscript/RedHat/NetworkManagerDispatcher.in
3709 - Be active at runlevel 2
3710 - Adjust priorities earlier
3712 2008-04-22 Dan Williams <dcbw@redhat.com>
3714 * src/NetworkManagerPolicy.c
3715 - (update_routing_and_dns): when checking for a gateway, look at the
3716 composite IP4 config, not the connection's ip4-config setting, which
3717 doesn't include DHCP-returned information
3719 2008-04-22 Tambet Ingo <tambet@gmail.com>
3721 Implement GKeyFile system settings plugin.
3722 Implement writing system settings (currently supported only by GKeyFile plugin).
3724 * system-settings/src/main.c:
3725 * system-settings/src/dbus-settings.c: Move the communication with plugins
3726 from main.c to dbus-settings.c. Makes it possible to talk to all registered
3727 plugins for adding/updating/removing connections.
3729 * system-settings/src/nm-system-config-interface.c
3730 (nm_system_config_interface_add_connection): Implement
3731 (nm_system_config_interface_update_connection): Implement.
3732 (nm_system_config_interface_remove_connection): Implement.
3734 * system-settings/plugins/keyfile/Makefile.am:
3735 * system-settings/plugins/keyfile/plugin.[ch]:
3736 * system-settings/plugins/keyfile/writer.[ch]:
3737 * system-settings/plugins/keyfile/reader.[ch]: Implement.
3739 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3741 * configure.in: Generate GKeyFile Makefile.
3743 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3744 corruption, need to duplicate the returned string.
3745 (impl_exported_connection_update): Implement.
3746 (impl_exported_connection_delete): Implement.
3748 * introspection/nm-settings-system.xml: Add "AddConnection" method.
3750 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3752 2008-04-22 Dan Williams <dcbw@redhat.com>
3754 Patch from Charles R. Anderson (cra@wpi.edu)
3756 * src/NetworkManagerPolicy.c
3757 - (update_routing_and_dns): don't select devices without a gateway
3758 as having the default route (rh #437338)
3760 2008-04-21 Dan Williams <dcbw@redhat.com>
3762 * src/nm-activation-request.c
3763 src/nm-activation-request.h
3764 - (dispose): ensure to disconnect from the device's state-changed signal
3765 when appropriate so the signal doesn't get handled by an already
3766 disposed NMActRequest
3767 - (device_state_changed): update is_default here too just to make sure
3768 default is only True when the child device is activated
3769 - (nm_act_request_set_default): new function
3771 * src/NetworkManagerPolicy.c
3772 - (update_routing_and_dns): set 'default' on the active connection which
3773 has the default route and DNS
3775 2008-04-21 Dan Williams <dcbw@redhat.com>
3777 * src/NetworkManagerPolicy.c
3778 - (device_state_changed): update routing and DNS when a device goes
3779 into unmanaged or unavailable states too (like rfkill or carrier loss)
3781 2008-04-21 Dan Williams <dcbw@redhat.com>
3783 * include/NetworkManager.h
3784 - Add NMActiveConnectionState enum
3786 * introspection/nm-active-connection.xml
3787 introspection/nm-vpn-connection.xml
3788 - Add 'State' property for overall active connection state
3789 - Add 'Default' property, when True means this active connection
3790 has the default route
3791 - Add PropertyChanged signals so changes actually go out over the bus
3793 * src/nm-active-connection.h
3794 - Add defines for State & Default properties
3796 * src/nm-activation-request.c
3797 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3798 signal to determine active connection state
3800 * src/vpn-manager/nm-vpn-connection.c
3801 src/vpn-manager/nm-vpn-connection.h
3802 src/vpn-manager/nm-vpn-manager.c
3803 src/vpn-manager/nm-vpn-service.c
3804 - Rename old 'state' to 'vpn-state'
3805 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3806 - Add 'state' and 'default' properties, hook up to the vpn connection's
3807 'vpn-state-changed' signal
3809 * libnm-glib/nm-active-connection.c
3810 libnm-glib/nm-active-connection.h
3811 - Add new 'state' and 'default' properties and accessors
3813 * libnm-glib/nm-vpn-connection.c
3814 libnm-glib/nm-vpn-connection.h
3815 - Rename old 'state' property to 'vpn-state'
3816 - Add new 'state' and 'default' properties and accessors
3818 2008-04-21 Dan Williams <dcbw@redhat.com>
3820 * src/nm-ip4-config.c
3821 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3822 not specified (rh #443474)
3824 2008-04-20 Dan Williams <dcbw@redhat.com>
3826 * src/NetworkManagerUtils.c
3827 src/NetworkManagerUtils.h
3828 - (nm_utils_merge_ip4_config): new function; merge settings from an
3829 NMSettingIP4Config to an NMIP4Config object
3832 - (merge_ip4_config): move to NetworkManagerUtils.c
3834 * src/vpn-manager/nm-vpn-connection.c
3835 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3838 2008-04-18 Dan Williams <dcbw@redhat.com>
3840 * libnm-util/nm-setting-ppp.c
3841 libnm-util/nm-setting-ppp.h
3842 - Add 'no-vj-comp' option for TCP header compression
3843 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3846 2008-04-18 Dan Williams <dcbw@redhat.com>
3848 * libnm-util/nm-setting-ppp.c
3849 libnm-util/nm-setting-ppp.h
3850 src/ppp-manager/nm-ppp-manager.c
3851 - Add 'refuse-pap' and 'refuse-mschapv2' options
3853 2008-04-18 Dan Williams <dcbw@redhat.com>
3855 * libnm-util/nm-setting-ppp.c
3856 libnm-util/nm-setting-ppp.h
3857 src/ppp-manager/nm-ppp-manager.c
3858 - Remove the 'usepeerdns' option and always request DNS servers from
3859 the PPP server; the connection chooses to use/override/ignore the
3860 DNS servers returned from the PPP server
3862 2008-04-18 Dan Williams <dcbw@redhat.com>
3864 * libnm-util/nm-setting-ppp.c
3865 libnm-util/nm-setting-ppp.h
3866 src/ppp-manager/nm-ppp-manager.c
3867 - Remove the 'require-mppc' option, because pppd doesn't support it and
3868 it seems to have been an erroneous addition to the PPTP plugin in
3869 the first place (from which the ppp-manager is derived)
3871 2008-04-17 Dan Williams <dcbw@redhat.com>
3873 * libnm-util/nm-setting-pppoe.c
3874 - (verify): require a PPP setting too
3876 * src/ppp-manager/nm-ppp-manager.c
3877 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3880 2008-04-17 Dan Williams <dcbw@redhat.com>
3883 - (nm_device_state_changed): do deactivation and and promotion to
3884 unavailable here, so that the device gets cleaned up before the
3885 manager runs and starts emitting signals; do the
3886 FAILED->DISCONNECTED transition from an idle handler rather than
3887 immediately to guard against recursion
3888 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3889 FAILED->DISCONNECTED handler if it's scheduled
3891 2008-04-17 Dan Williams <dcbw@redhat.com>
3893 * src/nm-device-802-11-wireless.c
3894 - (state_changed_cb): clear AP list when device transitions to
3895 unavailable or unmanaged
3896 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3897 since this is already done in device_cleanup()
3898 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3899 isn't available or managed
3900 - (device_cleanup): use remove_all_aps()
3901 - (remove_all_aps): consolidate code removing all APs
3903 2008-04-17 Dan Williams <dcbw@redhat.com>
3905 * src/nm-serial-device.c
3906 src/nm-serial-device.h
3907 - (wait_for_reply_got_data): break input into lines, and search each
3908 line for responses _and_ terminator strings; also make sure that
3909 the read loop doesn't continue after the timeout is supposed to fire
3910 - (nm_serial_device_wait_for_reply): take an array of terminators too
3912 * src/nm-gsm-device.c
3913 src/nm-cdma-device.c
3914 - Send terminators to nm_serial_device_wait_for_reply()
3916 2008-04-16 Dan Williams <dcbw@redhat.com>
3918 Patch from 陈鑫 <znscnchen@gmail.com>
3920 * src/ppp-manager/nm-pppd-plugin.c
3921 - (get_credentials): return correct value for success; handle case where
3922 pppd just does some checking but doesn't want a password
3923 - (plugin_init): make CHAP work too
3925 2008-04-16 Dan Williams <dcbw@redhat.com>
3927 Patch from 陈鑫 <znscnchen@gmail.com>
3929 * src/ppp-manager/nm-ppp-manager.c
3930 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3932 2008-04-16 Dan Williams <dcbw@redhat.com>
3934 Patch from 陈鑫 <znscnchen@gmail.com>
3936 * src/nm-device-802-3-ethernet.c
3937 - (real_deactivate_quickly): clear the IP interface name on
3938 deactivation, otherwise the wrong interface might get used later
3939 for routing and IP management
3941 2008-04-15 Dan Williams <dcbw@redhat.com>
3943 * libnm-glib/nm-device.c
3944 - (get_product_and_vendor): handle serial devices correctly
3945 - (nm_device_update_description): pass device to get_product_and_vendor()
3947 2008-04-15 Dan Williams <dcbw@redhat.com>
3949 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3951 * src/NetworkManagerSystem.h
3952 src/backends/NetworkManagerArch.c
3953 src/backends/NetworkManagerDebian.c
3954 src/backends/NetworkManagerFrugalware.c
3955 src/backends/NetworkManagerGeneric.c
3956 src/backends/NetworkManagerGeneric.h
3957 src/backends/NetworkManagerGentoo.c
3958 src/backends/NetworkManagerMandriva.c
3959 src/backends/NetworkManagerPaldo.c
3960 src/backends/NetworkManagerRedHat.c
3961 src/backends/NetworkManagerSlackware.c
3962 src/backends/NetworkManagerSuSE.c
3964 - (nm_generic_device_add_ip6_link_address,
3965 nm_system_device_add_ip6_link_address): remove
3967 2008-04-15 Dan Williams <dcbw@redhat.com>
3969 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3971 * src/backends/NetworkManagerArch.c
3972 src/backends/NetworkManagerDebian.c
3973 src/backends/NetworkManagerFrugalware.c
3974 src/backends/NetworkManagerGeneric.c
3975 src/backends/NetworkManagerGeneric.h
3976 src/backends/NetworkManagerGentoo.c
3977 src/backends/NetworkManagerMandriva.c
3978 src/backends/NetworkManagerPaldo.c
3979 src/backends/NetworkManagerRedHat.c
3980 src/backends/NetworkManagerSlackware.c
3981 src/backends/NetworkManagerSuSE.c
3982 src/NetworkManagerSystem.h
3983 - flush_routes -> flush_ip4_routes
3984 - flush_addresses -> flush_ip4_addresses
3986 * src/NetworkManagerSystem.c
3988 src/vpn-manager/nm-vpn-connection.c
3989 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3991 2008-04-15 Dan Williams <dcbw@redhat.com>
3993 Remove exposure of wireless-tools mode types in the API.
3995 * include/NetworkManager.h
3996 - Define NM80211Mode enum
3998 * introspection/generic-types.xml
3999 - Describe NM_802_11_MODE enum
4000 - Remove IW_MODE_* enum
4002 * introspection/nm-access-point.xml
4003 libnm-glib/nm-access-point.c
4004 libnm-glib/nm-access-point.h
4005 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4007 * introspection/nm-device-802-11-wireless.xml
4008 libnm-glib/nm-device-802-11-wireless.c
4009 libnm-glib/nm-device-802-11-wireless.h
4010 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4012 * libnm-util/nm-setting-wireless.c
4013 src/NetworkManagerAP.c
4014 src/NetworkManagerAP.h
4015 src/nm-device-802-11-wireless.c
4016 src/nm-device-802-11-wireless.h
4018 - Use NM80211Mode not IW_MODE_*
4020 2008-04-15 Dan Williams <dcbw@redhat.com>
4022 Enhance nm-online based on a patch from Bill Nottingham.
4026 - Add help messages and option summary
4027 - Add long-format options
4028 - Add a '-x' option to exit if NM isn't running or isn't connecting
4030 2008-04-15 Tambet Ingo <tambet@gmail.com>
4032 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4034 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4036 2008-04-15 Dan Williams <dcbw@redhat.com>
4038 * nm-setting-ip4-config.c
4039 - (ip4_addresses_from_gvalue): handle NULL address array
4041 * nm-setting-8021x.c
4042 - (verify_tls, verify_ttls): warn on failed verification
4044 2008-04-10 Dan Williams <dcbw@redhat.com>
4046 * src/nm-gsm-device.c
4047 - (automatic_registration): accept "+CREG: 0,0"
4048 - (automatic_registration_response): fail on "+CREG: 0,0"
4050 2008-04-10 Tambet Ingo <tambet@gmail.com>
4052 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4054 2008-04-10 Tambet Ingo <tambet@gmail.com>
4056 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
4057 Make it compile again by commenting out broken code that at first didn't work and
4058 now didn't compile either.
4060 2008-04-08 Dan Williams <dcbw@redhat.com>
4062 * libnm-glib/nm-object-cache.c
4063 libnm-glib/nm-settings.c
4064 src/dhcp-manager/nm-dhcp-manager.c
4065 system-settings/plugins/ifcfg-fedora/plugin.c
4066 system-settings/plugins/ifcfg-suse/plugin.c
4067 system-settings/src/nm-system-config-hal-manager.c
4068 libnm-util/nm-utils.c
4069 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4070 not threadsafe anyway
4072 2008-04-08 Dan Williams <dcbw@redhat.com>
4074 * system-settings/src/main.c
4075 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4076 callbacks take a device type too
4078 2008-04-08 Dan Williams <dcbw@redhat.com>
4080 The system settings service will now create a new default DHCP connection
4081 for wired devices that have no existing applicable connection.
4083 * system-settings/src/nm-system-config-hal-manager.c
4084 system-settings/src/nm-system-config-hal-manager.h
4085 - (nm_system_config_hal_manager_get_type_for_udi): new function
4087 * system-settings/src/dbus-settings.c
4088 system-settings/src/dbus-settings.h
4089 - (nm_sysconfig_settings_get_connections): new function
4090 - (nm_sysconfig_settings_is_device_managed): new function
4092 * system-settings/src/main.c
4093 - (load_stuff): check for wired devices that need a default connection
4094 - (get_details_for_udi): get interface and MAC address from HAL
4095 - (add_default_dhcp_connection): add a default connection for a wired
4097 - (device_added_cb, device_removed_cb): do the right thing with
4098 wired devices and their default connections on HAL device events
4100 2008-04-07 Dan Williams <dcbw@redhat.com>
4102 * libnm-glib/nm-device.c
4103 libnm-glib/nm-device.h
4104 - Proxy the 'managed' property
4106 2008-04-07 Dan Williams <dcbw@redhat.com>
4108 * src/nm-gsm-device.c
4109 src/nm-cdma-device.c
4110 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4111 handler to transition to DISCONNECTED
4113 2008-04-07 Dan Williams <dcbw@redhat.com>
4115 Patch from Bill Nottingham
4117 * dispatcher-daemon/NetworkManagerDispatcher.c
4118 - ignore backup/packaging crufy (rh #440143)
4120 2008-04-07 Dan Williams <dcbw@redhat.com>
4122 * include/NetworkManager.h
4123 - Remove the DOWN and CANCELLED device states
4124 - Add UNMANAGED and UNAVAILABLE device states
4125 - Document the device states
4127 * introspection/nm-device.xml
4128 src/nm-device-interface.c
4129 src/nm-device-interface.h
4130 - Add the 'managed' property
4133 - (detail_device): print out device state
4135 * src/NetworkManagerSystem.h
4136 src/backends/NetworkManagerArch.c
4137 src/backends/NetworkManagerDebian.c
4138 src/backends/NetworkManagerFrugalware.c
4139 src/backends/NetworkManagerGentoo.c
4140 src/backends/NetworkManagerMandriva.c
4141 src/backends/NetworkManagerPaldo.c
4142 src/backends/NetworkManagerRedHat.c
4143 src/backends/NetworkManagerSlackware.c
4144 src/backends/NetworkManagerSuSE.c
4145 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4146 nm_system_device_free_system_config): remove; they were unused and
4147 their functionality should be re-implemented in each distro's
4148 system settings service plugin
4150 * src/nm-gsm-device.c
4152 src/nm-cdma-device.c
4153 src/nm-cdma-device.h
4154 - (*_new): take the 'managed' argument
4157 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4158 - (nm_device_init): start in unmanaged state, not disconnected
4159 - (constructor): don't start device until the system settings service
4160 has had a chance to figure out if the device is managed or not
4161 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4162 don't set device state here, let callers handle that as appropriate
4163 - (nm_device_dispose): don't touch the device if it's not managed
4164 - (set_property, get_property, nm_device_class_init): implement the
4166 - (nm_device_state_changed): bring the device up if its now managed,
4167 and deactivate it if it used to be active
4168 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4169 with the managed state
4171 * src/nm-hal-manager.c
4172 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4173 take initial managed state and pass it along to device constructors
4174 - (create_device_and_add_to_list): get managed state and pass to
4177 * src/nm-device-802-11-wireless.c
4178 - (real_can_activate): fold in most of
4179 nm_device_802_11_wireless_can_activate()
4180 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4181 - (link_timeout_cb): instead of deactivating, change device state and
4182 let the device state handler to it
4183 - (real_update_hw_address): clean up
4184 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4185 handler to transition to DISCONNECTED if the device isn't rfkilled
4187 * src/nm-device-802-3-ethernet.c
4188 - (set_carrier): move above callers and get rid of prototype
4189 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4190 idle handler to transition to DISCONNECTED if the device has a
4192 - (real_update_hw_address): clean up
4193 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4194 deactivation directly as deactivation doesn't change state anymore
4196 * src/NetworkManagerPolicy.c
4197 - (schedule_activate_check): yay, remove wireless_enabled hack since
4198 the NMManager and wireless devices work that out themselves now
4199 - (device_state_changed): change to a switch and update for new device
4201 - (device_carrier_changed): remove; device handles this now through
4203 - (device_added): don't care about carrier any more; the initial
4204 activation check will happen when the device transitions to
4208 - (dispose): clear unmanaged devices
4209 - (handle_unmanaged_devices): update unmanaged device list and toggle
4210 the managed property on each device when needed
4211 - (system_settings_properties_changed_cb): handle signals from the
4212 system settings service
4213 - (system_settings_get_unmanaged_devices_cb): handle callback from
4214 getting the unmanaged device list method call
4215 - (query_unmanaged_devices): ask the system settings service for its
4216 list of unmanaged devices
4217 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4219 - (manager_set_wireless_enabled): push rfkill state down to wireless
4220 devices directly and let them handle the necessary state transitions
4221 - (manager_device_state_changed): update for new device states
4222 - (nm_manager_add_device): set initial rfkill state on wireless devices
4223 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4224 - (nm_manager_activate_connection): return error if the device is
4226 - (nm_manager_sleep): handle new device states correctly; don't change
4227 the state of unavailable/unmanaged devices
4229 * libnm-glib/nm-device-802-11-wireless.c
4230 - (state_changed_cb): update for new device states
4232 2008-04-07 Dan Williams <dcbw@redhat.com>
4234 * marshallers/nm-marshal.list
4235 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4237 2008-04-07 Dan Williams <dcbw@redhat.com>
4239 * system-settings/src/main.c
4240 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4241 plugins to the dbus settings object
4242 - (load_stuff): start the dbus service after grabbing unmanaged devices
4243 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4244 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4245 - (main): switch default logging to syslog with a 'debug' option to
4246 output to console; start up the HAL manager
4248 2008-04-07 Dan Williams <dcbw@redhat.com>
4250 * introspection/nm-settings-system.xml
4251 introspection/Makefile.am
4252 - Define the unmanaged devices interface for the system settings service
4254 * system-settings/src/nm-system-config-hal-manager.c
4255 system-settings/src/nm-system-config-hal-manager.h
4256 system-settings/src/nm-system-config-hal-manager-private.h
4257 system-settings/src/Makefile.am
4258 - Add a lightweight HAL manager object for tracking network devices for
4259 the purpose of determining unmanaged devices and which devices need
4260 the default DHCP connections
4262 * system-settings/src/nm-system-config-interface.c
4263 system-settings/src/nm-system-config-interface.h
4264 - (nm_system_config_interface_init): add the HAL manager as an argument
4265 - (nm_system_config_interface_get_unmanaged_devices): implement
4266 - Define 'unmanaged-devices-changed' signal
4268 * system-settings/src/dbus-settings.c
4269 system-settings/src/dbus-settings.h
4270 - Implement the unmanaged devices interface; some cleanups
4272 * system-settings/plugins/ifcfg-suse/plugin.c
4273 - Fixup for plugin interface changes
4275 * system-settings/plugins/ifcfg-fedora/plugin.c
4276 - (get_ether_device_udi): new function; find the device that has
4277 a specified MAC address and return its UDI
4278 - (get_udi_for_connection): new function; try to find the specific
4279 device a connection is locked to, if any
4280 - (device_added_cb, device_removed_cb): update unmanaged device list in
4281 response to HAL events
4282 - (get_unmanaged_devices): new function; return unmanaged device list
4283 - (build_one_connection): set the connection's locked device, if any
4284 - (write_auto_wired_connection): remove
4285 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4286 - (handle_connection_changed): alert listeners that the unmanaged device
4288 - (init): fixup for plugin interface changes, implement unmanaged devices
4290 * system-settings/plugins/ifcfg-fedora/parser.c
4291 system-settings/plugins/ifcfg-fedora/parser.h
4292 - (connection_data_free): clean up connection UDI
4294 2008-04-07 Dan Williams <dcbw@redhat.com>
4296 * system-settings/plugins/ifcfg-fedora/parser.c
4297 - (make_ip4_setting): fix parsing of DNS servers
4299 2008-04-05 Dan Williams <dcbw@redhat.com>
4303 marshallers/Makefile.am
4304 marshallers/nm-marshal-main.c
4305 marshallers/nm-marshal.list
4306 - Consolidate marshallers
4308 * libnm-glib/nm-marshal-main.c
4309 libnm-glib/nm-marshal.list
4310 src/marshallers/Makefile.am
4311 src/marshallers/nm-marshal-main.c
4312 src/marshallers/nm-marshal.list
4315 * libnm-glib/Makefile.am
4317 src/dhcp-manager/Makefile.am
4318 src/ppp-manager/Makefile.am
4319 src/supplicant-manager/Makefile.am
4320 src/vpn-manager/Makefile.am
4321 - Use consolidated marshallers
4323 2008-04-04 Dan Williams <dcbw@redhat.com>
4325 * src/nm-hal-manager.c
4326 src/nm-hal-manager.h
4327 - (hal_init): don't look for hardware here
4328 - (nm_hal_manager_start): new function; look for hardware here instead,
4329 which can be done at a later time than hal_init()
4331 * src/NetworkManager.c
4332 - (main): start HAL manager after entering the main loop
4334 2008-04-03 Dan Williams <dcbw@redhat.com>
4336 * libnm-glib/nm-settings.c
4337 libnm-glib/nm-settings.h
4338 - (nm_exported_connection_get_id): new function
4339 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4341 2008-04-02 Dan Williams <dcbw@redhat.com>
4343 * src/nm-device-interface.c
4344 src/nm-device-interface.h
4347 - Rename check_connection_conflicts() to check_connection_compatible()
4349 * src/nm-device-802-11-wireless.c
4350 - (real_check_connection_conflicts): remove
4351 - (real_check_connection_compatible): implement; match MAC address
4353 * src/nm-device-802-3-ethernet.c
4354 - (real_check_connection_conflicts): remove
4355 - (real_check_connection_compatible): implement; match MAC address
4356 - (real_get_best_auto_connection): correctly handle PPPoE cases
4359 - (check_connection_allowed): remove; unused until PolicyKit integration
4360 - (internal_activate_device): check whether the connection is compatible
4361 with the device before trying to activate it
4363 2008-04-02 Dan Williams <dcbw@redhat.com>
4365 * system-settings/plugins/ifcfg-fedora/parser.c
4366 - (read_mac_address): new function; read in MAC address and stuff it
4368 - (add_one_wep_key): remove debug spew
4369 - (make_wireless_security_setting): validate the default TX key; don't
4370 add the wireless-security setting if the connection doesn't need
4371 security; don't leak the keys shvarFile on error cases
4372 - (make_wireless_setting, make_wired_setting): populate device's MAC
4375 2008-04-02 Dan Williams <dcbw@redhat.com>
4377 * libnm-util/nm-setting-connection.c
4378 libnm-util/nm-setting-connection.h
4379 - (set_property, get_property, nm_setting_connection_class_init): remove
4380 the 'lockdown' property; it's functionality will be replaced by
4383 2008-04-01 Dan Williams <dcbw@redhat.com>
4385 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4388 initscript/Makefile.am
4389 initscript/Mandriva/Makefile.am
4390 initscript/Mandriva/networkmanager.in
4391 initscript/Mandriva/networkmanagerdispatcher.in
4392 src/backends/Makefile.am
4393 src/backends/NetworkManagerMandriva.c
4394 system-settings/plugins/Makefile.am
4395 - Add Mandriva support
4397 2008-03-31 Dan Williams <dcbw@redhat.com>
4399 * src/vpn-manager/nm-vpn-service.c
4400 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4401 errors can be passed back to the caller; also no longer scheduled
4402 as an idle handler, but called directly; and bump up VPN service
4403 spawn timeout, 2s is really short
4404 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4405 but call it directly so that errors are reported on return from
4406 ActivateConnection() and don't get lost. If scheduled as an idle
4407 handler, clients don't have the time to query NM for the new VPN
4408 connection's properties before the VPN connection is torn down again
4409 if the service couldn't be launched, and therefore launch errors
4412 2008-03-31 Dan Williams <dcbw@redhat.com>
4414 * src/vpn-manager/nm-vpn-connection.c
4415 - (device_state_changed): send correct state on device failure too
4416 - (plugin_state_changed): failed state means unexpected disconnection,
4417 thus if the service goes away while the VPN connection is activated
4418 that's a failure too
4420 2008-03-31 Dan Williams <dcbw@redhat.com>
4422 * src/vpn-manager/nm-vpn-manager.c
4423 src/vpn-manager/nm-vpn-manager.h
4424 - Make VPNManager errors more available; add a service-start-failed error
4426 2008-03-31 Dan Williams <dcbw@redhat.com>
4428 * libnm-glib/nm-client.c
4429 libnm-glib/nm-client.h
4430 - (activate_cb): pass the new active connection to callback; fix
4431 message when no callback is specified
4433 2008-03-30 Dan Williams <dcbw@redhat.com>
4435 * libnm-util/nm-setting-wireless-security.c
4436 - (need_secrets): only require key0 if the transmit key index is also
4438 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4440 2008-03-29 Dan Williams <dcbw@redhat.com>
4442 * libnm-util/nm-setting-8021x.c
4443 libnm-util/nm-setting-ip4-config.c
4444 libnm-util/nm-setting-vpn-properties.c
4445 libnm-util/nm-setting-vpn.c
4446 libnm-util/nm-setting-wireless-security.c
4447 libnm-util/nm-setting-wireless.c
4448 libnm-util/nm-utils.c
4449 src/dhcp-manager/nm-dhcp-manager.c
4450 src/nm-activation-request.c
4453 src/nm-properties-changed-signal.c
4454 src/ppp-manager/nm-pppd-plugin.c
4455 src/supplicant-manager/nm-supplicant-interface.c
4456 src/vpn-manager/nm-vpn-connection.c
4457 - consistently use nm-dbus-glib-types.h
4459 2008-03-29 Dan Williams <dcbw@redhat.com>
4461 * src/vpn-manager/nm-vpn-connection.c
4462 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4465 * src/nm-activation-request.c
4466 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4469 2008-03-29 Dan Williams <dcbw@redhat.com>
4471 * libnm-glib/nm-device-802-11-wireless.c
4472 - (access_point_added_proxy): create new APs if not found
4474 2008-03-29 Dan Williams <dcbw@redhat.com>
4476 * libnm-glib/nm-client.c
4477 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4480 2008-03-29 Dan Williams <dcbw@redhat.com>
4482 * system-settings/plugins/ifcfg-fedora/parser.c
4483 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4484 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4486 2008-03-29 Dan Williams <dcbw@redhat.com>
4488 * system-settings/plugins/ifcfg-fedora/parser.c
4489 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4491 2008-03-27 Dan Williams <dcbw@redhat.com>
4494 - (nm_object_queue_notify): don't notify multiple times for the same
4497 * nm-object-private.h
4498 - (handle_ptr_array_return): return NULL if the given array is NULL or
4499 if it has zero elements
4502 - (finalize): use g_ptr_array_foreach() when freeing domains
4503 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4505 * nm-active-connection.c
4506 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4508 * nm-device-802-11-wireless.c
4509 nm-device-802-11-wireless.h
4510 - (nm_device_802_11_wireless_get_access_points): return const; use
4511 handle_ptr_array_return()
4514 - (nm_object_array_demarshal): always create an array, even of length
4515 zero, to distinguish between "NM returned no items" and "haven't
4519 - (dispose): free active connections too
4520 - (proxy_name_owner_changed): free active connections too when NM goes
4522 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4523 - (nm_client_get_active_connections): use handle_ptr_array_return()
4525 2008-03-26 Dan Williams <dcbw@redhat.com>
4527 Rework VPN connection handling for a more consistent D-Bus API. The
4528 VPNManager object has been removed, and active VPN connections are now the
4529 same as any other active connection. The Manager object's ActivateConnection
4530 and DeactivateConnection methods are used to start and stop a VPN connection,
4531 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4532 When activating a VPN connection, pass the path of the active connection
4533 to which the VPN connection is tied in the 'specific_object' argument.
4535 Consequently, the libnm-glib API has been reworked to match this arrangement,
4536 with the VPNManager object removed, and the NMVPNConnection objects now
4537 being subclasses of NMActiveConnection.
4539 2008-03-25 Dan Williams <dcbw@redhat.com>
4541 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4543 * initscript/Arch/networkmanager.in
4544 initscript/Arch/networkmanager-dispatcher.in
4545 - Updates for Arch Linux (gnome.org #523701)
4547 2008-03-25 Dan Williams <dcbw@redhat.com>
4549 * libnm-glib/nm-ip4-config.c
4550 libnm-glib/nm-active-connection.c
4551 libnm-glib/nm-access-point.c
4552 - Use nm_object_queue_notify() instead of g_object_notify()
4554 * libnm-glib/nm-device.c
4555 - (demarshal_ip4_config): distinguish between successful but missing
4556 ip4-config request, and unsuccessful and missing ip4-config request
4557 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4559 - Use nm_object_queue_notify() instead of g_object_notify()
4561 * libnm-glib/nm-device-802-11-wireless.c
4562 - (demarshal_active_ap): distinguish between successfull but missing
4563 active-ap request, and unsuccessful and missing active-ap request
4564 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4566 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4567 for the NMClient to notify the device that wireless is disabled,
4568 and therefore to clear the AP list and active AP
4569 - Use nm_object_queue_notify() instead of g_object_notify()
4571 * libnm-glib/nm-client.c
4572 - (poke_wireless_devices_with_rf_status): new function
4573 - (update_wireless_status): notify wireless devices of the rfkill status
4574 so they can clean up if needed
4575 - Use nm_object_queue_notify() instead of g_object_notify()
4577 2008-03-25 Dan Williams <dcbw@redhat.com>
4579 * libnm-glib/nm-object.c
4580 libnm-glib/nm-object-private.h
4581 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4582 signals to an idle handler
4583 - (nm_object_get_property): add a timeout to the D-Bus method call
4585 2008-03-25 Dan Williams <dcbw@redhat.com>
4587 * introspection/nm-device-cdma.xml
4588 introspection/nm-device-gsm.xml
4589 introspection/Makefile.am
4590 introspection/all.xml
4591 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4593 * src/nm-gsm-device.h
4595 src/nm-cdma-device.h
4596 src/nm-cdma-device.c
4598 - Implement PropertiesChanged signals
4600 * libnm-glib/nm-cdma-device.c
4601 libnm-glib/nm-cdma-device.c
4602 - Attach to PropertiesChanged signals
4604 2008-03-24 Dan Williams <dcbw@redhat.com>
4606 * libnm-glib/nm-client.c
4607 - (client_device_added_proxy): add new devices to the internal device
4608 list so they appear to clients
4610 2008-03-24 Dan Williams <dcbw@redhat.com>
4612 Massive fixup of libnm-glib to:
4613 a) have all objects (with the exception of VPN) cache their properties and
4614 update them asynchronously on PropertiesChanged signals from NM
4615 b) return internal const data for most attributes/properties instead of
4616 allocated values that the caller must free
4617 c) cache wrapped objects such that a given D-Bus path will always map to the
4618 same GObject returned by libnm-glib
4619 d) remove a few signals and move them to GObject property notifications
4620 e) match recent NM D-Bus API changes for activation/deactivation
4621 f) remove some private functions from libnm-glib headers
4623 2008-03-20 Dan Williams <dcbw@redhat.com>
4626 - (nm_manager_update_state, manager_device_state_changed,
4627 nm_manager_activate_device, connection_added_default_handler,
4628 impl_manager_activate_connection, impl_manager_deactivate_connection):
4629 queue PropertyChanged singals when the active connections change
4631 2008-03-20 Dan Williams <dcbw@redhat.com>
4633 * introspection/nm-manager.xml
4634 introspection/nm-manager-client.xml
4635 - (ActivateConnection): return the object path of the active connection
4637 - (GetActiveConnections): remove
4638 - (DeactivateConnection): new function; deactivate a currently active
4640 - Add an ActiveConnections property which returns an array of
4641 active connection object paths
4643 * introspection/nm-device.xml
4644 - (Deactivate): remove
4646 * introspection/all.xml
4647 - Add ActiveConnection introspection
4649 * introspection/nm-active-connection.xml
4650 - Add the ActiveConnection object
4652 * include/NetworkManager.h
4653 - Add the Connection.Active D-Bus interface
4655 * src/nm-device-interface.c
4656 - (impl_device_deactivate): remove
4658 * src/nm-activation-request.c
4659 src/nm-activation-request.c
4661 - Implement the Connection.Active D-Bus interface
4664 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4665 - (nm_manager_activate_device): return the active connection path
4666 - (connection_added_default_handler, impl_manager_activate_connection):
4667 return the active connection to the caller
4668 - (add_one_connection_element, impl_manager_get_active_connections):
4670 - (impl_manager_deactivate_connection): new function; deactivate an
4673 * libnm-glib/nm-device.c
4674 libnm-glib/nm-device.h
4675 - Remove Deactivate() function
4677 2008-03-19 Dan Williams <dcbw@redhat.com>
4679 * introspection/nm-manager.xml
4680 introspection/nm-manager-client.xml
4681 - Rename the ActivateDevice method to ActivateConnection to better
4682 reflect it's usage; it's arguments get reordered a bit too
4683 - Convert GetActiveConnections method return from a struct to a dict
4685 * include/NetworkManager.h
4686 - Define the dict keys for return value of GetActiveConnections
4689 - impl_manager_activate_device -> impl_manager_activate_connection
4690 - (add_one_connection_element): return a populated hash table, not
4693 * libnm-glib/nm-client.c
4694 libnm-glib/nm-client.h
4695 - nm_client_activate_device -> nm_client_activate_connection
4696 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4697 - (nm_client_get_active_connections): return a GSList of GHashTables,
4698 instead of the custom structures. Each element of the returned list
4699 must be freed with nm_client_free_active_connections_element()
4701 2008-03-18 Dan Williams <dcbw@redhat.com>
4703 * system-settings/plugins/ifcfg-fedora/parser.c
4704 system-settings/plugins/ifcfg-fedora/parser.h
4705 system-settings/plugins/ifcfg-fedora/plugin.c
4706 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4707 profiles. DNS servers and searches must now be stored in the ifcfg
4710 2008-03-18 Tambet Ingo <tambet@gmail.com>
4712 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4713 print out username and password, it's supposed to be a secret.
4715 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
4716 request and set the device state accordingly.
4718 2008-03-18 Tambet Ingo <tambet@gmail.com>
4720 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4722 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4724 2008-03-18 Dan Williams <dcbw@redhat.com>
4726 * src/vpn-manager/nm-vpn-connection.c
4727 - (get_secrets_cb): handle new GetSecrets return format
4729 2008-03-18 Dan Williams <dcbw@redhat.com>
4731 Adapt system settings service for split 802.1x.
4733 * system-settings/src/nm-system-config-interface.h
4734 - clarify return value of get_secrets()
4736 * system-settings/src/dbus-settings.c
4737 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4738 - (check_for_secrets): check if there actually secrets returned by a
4740 - (exported_connection_get_secrets): just return the plugin-returned
4741 hash of settings' secrets if it looks valid
4743 * system-settings/plugins/ifcfg-fedora/plugin.c
4744 - (get_secrets): add split secrets with correct format to reply hash
4746 * system-settings/plugins/ifcfg-fedora/parser.c
4747 system-settings/plugins/ifcfg-fedora/parser.h
4748 - (copy_one_cdata_secret, connection_data_copy_secrets,
4749 connection_data_free, connection_data_add): keep secrets for
4750 different settings in different hashes
4752 2008-03-17 Tambet Ingo <tambet@gmail.com>
4754 Clean up activating device deactivation.
4756 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4757 should be done whether the device activation gets cancelled or the device
4758 is just getting deactivated.
4759 (nm_device_activation_cancel): Remove.
4760 (nm_device_deactivate_quickly): Handle the case where device is activating.
4762 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4763 It does the exact same thing as real_deactivate_quickly().
4765 2008-03-17 Dan Williams <dcbw@redhat.com>
4767 Split the 802.1x bits out of the wireless-security setting so they are
4768 generalized enough for wired 802.1x to use too.
4770 * introspection/nm-exported-connection.xml
4771 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4772 of just a hash of the secrets for one setting
4774 * libnm-util/nm-setting-wireless-security.c
4775 libnm-util/nm-setting-wireless-security.h
4776 - Remove 802.1x-specific stuff
4777 - Added leap-username and leap-password properties for old-school LEAP
4781 - (connection_secrets_updated_cb): take a list of updated settings names,
4784 * src/supplicant-manager/nm-supplicant-config.c
4785 src/supplicant-manager/nm-supplicant-config.h
4786 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4787 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4788 to nm_supplicant_config_add_setting_8021x()
4789 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4790 the supplicant config
4792 * src/nm-device-802-11-wireless.c
4793 - (build_supplicant_config): pass in the 802.1x setting too, if any
4794 - (real_connection_secrets_updated): take a list of updated settings
4797 * src/nm-device-802-3-ethernet.c
4798 src/nm-cdma-device.c
4800 - (real_connection_secrets_updated_cb): take a list of updated settings
4803 * src/nm-activation-request.c
4804 src/nm-activation-request.h
4805 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4806 now passes a list of updated settings names, not just one
4807 - (update_one_setting): new function; handle one updated setting
4808 - (get_secrets_cb): handle multiple settings returned from the
4809 settings service; have to be careful of ordering here as there are
4810 some dependencies between settings (ex. wireless-security and 802.1x
4813 * src/marshallers/nm-marshal.list
4814 - new marshaller for connection-secrets-updated signal
4816 * libnm-util/nm-setting-8021x.c
4817 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4819 - (verify): a valid 'eap' property is now required
4821 * libnm-util/nm-connection.c
4822 - (register_default_settings): add priorities to settings; there are
4823 some dependencies between settings, and during the need_secrets
4824 calls this priority needs to be respected. For example, only the
4825 wireless-security setting knows whether or not the connection is
4826 going to use 802.1x or now, so it must be asked for secrets before
4827 any existing 802.1x setting is
4828 - (nm_connection_lookup_setting_type): expose
4830 * libnm-util/nm-setting-wireless.c
4831 - (verify): should verify even if all_settings is NULL; otherwise won't
4832 catch the case where there is missing security
4834 * libnm-util/nm-setting-wireless-security.c
4835 - Remove everything to do with 802.1x
4836 - Add old-school LEAP specific properties for username and password
4837 - (need_secrets): rework LEAP secrets checking
4838 - (verify): rework for LEAP and 802.1x verification
4840 2008-03-17 Dan Williams <dcbw@redhat.com>
4842 * src/NetworkManagerPolicy.c
4843 - (auto_activate_device): always remove the current activation check
4844 from the pending activation list, otherwise when the policy gets
4845 destroyed on NM exit it will attempt to free the already freed
4848 2008-03-14 Tambet Ingo <tambet@gmail.com>
4850 * src/backends/NetworkManagerSlackware.c
4851 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4853 * src/backends/NetworkManagerSuSE.c: Add missing includes.
4855 2008-03-14 Dan Williams <dcbw@redhat.com>
4858 - (nm_device_interface_get_iface): g_object_get() will return an
4859 allocated value, so this function must not return const
4860 - (nm_device_interface_activate): free returned iface
4862 2008-03-14 Tambet Ingo <tambet@gmail.com>
4864 * libnm-util/Makefile.am: Add new files to build.
4866 * libnm-util/nm-connection.c: Register NMSetting8021x.
4868 * libnm-util/nm-setting-8021x.c
4869 * libnm-util/nm-setting-8021x.h: Implement.
4871 2008-03-14 Tambet Ingo <tambet@gmail.com>
4873 * libnm-util/Makefile.am: Add new files to build.
4875 * libnm-util/nm-connection.c: Register NMSetting8021x.
4877 * libnm-util/nm-setting-8021x.c
4878 * libnm-util/nm-setting-8021x.h: Implement.
4880 2008-03-14 Tambet Ingo <tambet@gmail.com>
4882 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4885 2008-03-14 Dan Williams <dcbw@redhat.com>
4887 * include/wireless-helper.h
4889 - One place for all the junk needed for #including wireless.h
4892 src/NetworkManagerAP.c
4895 libnm-util/nm-utils.c
4896 libnm-util/nm-setting-wireless.c
4897 libnm-glib/nm-device-802-11-wireless.c
4898 libnm-glib/nm-access-point.c
4899 libnm-glib/libnm-glib-test.c
4900 - include wireless-helper.h, not iwlib.h
4903 - Don't need libiw really, just need to check for wireless.h
4905 * src/kernel-types.h
4906 - Remove; used types moved into wpa.c
4908 * src/nm-device-802-11-wireless.c
4909 - (nm_device_802_11_wireless_update_signal_strength,
4910 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4911 nm_device_802_11_wireless_set_mode,
4912 nm_device_802_11_wireless_get_frequency,
4913 nm_device_802_11_wireless_get_ssid,
4914 nm_device_802_11_wireless_set_ssid,
4915 nm_device_802_11_wireless_get_bitrate,
4916 nm_device_802_11_wireless_get_bssid,
4917 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4918 instead of iwlib functions
4920 2008-03-14 Dan Williams <dcbw@redhat.com>
4922 * src/ppp-manager/nm-ppp-manager.c
4923 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4924 should only take the DBusGMethodInvocation argument, not user/pass
4925 too. With dbus-glib, async functions only take 2 C arguments since
4926 the real dbus method arguments get passed back with
4927 dbus_g_method_return()
4929 2008-03-13 Tambet Ingo <tambet@gmail.com>
4931 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
4932 Adapt the changes of NMSettingIP4Config.
4934 2008-03-13 Dan Williams <dcbw@redhat.com>
4936 * src/NetworkManagerUtils.c
4937 src/NetworkManagerUtils.h
4938 - (nm_ether_ntop): replacement for iw_ether_ntop()
4940 * src/NetworkManagerAP.c
4941 src/nm-device-802-11-wireless.c
4942 src/nm-device-802-3-ethernet.c
4943 - s/iw_ether_ntop/nm_ether_ntop/g
4945 2008-03-13 Dan Williams <dcbw@redhat.com>
4947 * src/NetworkManagerPolicy.c
4948 - (update_routing_and_dns): never set the default route through an
4949 IPv4LL addressed device
4951 2008-03-13 Dan Williams <dcbw@redhat.com>
4953 * NetworkManagerUtils.c
4954 NetworkManagerUtils.h
4955 - Remove NMSock stuff
4956 - Remove the completion stuff
4961 NetworkManagerSystem.c
4963 nm-device-802-11-wireless.c
4964 nm-device-802-3-ethernet.c
4965 - Remove NMSock and completion stuff
4966 - Remove nm_ioctl_info()
4968 2008-03-12 Dan Williams <dcbw@redhat.com>
4971 - (merge_ip4_config): avoid duplicates
4973 2008-03-12 Dan Williams <dcbw@redhat.com>
4975 * libnm-util/nm-setting-ip4-config.c
4976 libnm-util/nm-setting-ip4-config.h
4977 - Remove 'manual' and 'autoip' properties
4978 - Add 'method' property
4979 - (verify): fix verification with 'method'
4980 - (finalize): free 'method'
4981 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4985 - (real_act_stage3_ip_config_start): check IP4Config method
4986 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4988 - (merge_ip4_config): IP settings are valid with DHCP too
4989 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4990 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4992 * src/nm-device-802-11-wireless.c
4993 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4994 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4997 * system-settings/plugins/ifcfg-fedora/parser.c
4998 system-settings/plugins/ifcfg-suse/parser.c
4999 - (make_ip4_setting): fix up for 'method'
5001 2008-03-12 Dan Williams <dcbw@redhat.com>
5003 * system-settings/plugins/ifcfg-fedora/parser.c
5004 system-settings/plugins/ifcfg-fedora/parser.h
5005 - (get_ifcfg_name): ignore more file suffixes
5006 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5008 2008-03-12 Dan Williams <dcbw@redhat.com>
5011 - Bring in the bits of gnome-common we actually use (all 15 lines)
5013 2008-03-12 Dan Williams <dcbw@redhat.com>
5015 * system-settings/plugins/ifcfg-fedora/plugin.c
5016 - (write_auto_wired_connection): new function; write out an auto
5017 wired connection file since the applet isn't doing it any more
5018 - (reload_all_connections): write out the auto wired connection file
5019 if there aren't any wired connections already
5020 - (init): don't leak a GError
5022 2008-03-12 Dan Williams <dcbw@redhat.com>
5024 * src/nm-device-interface.c
5025 - (nm_device_interface_activate): print the ID of the connection
5026 that's about to be activated
5028 2008-03-12 Dan Williams <dcbw@redhat.com>
5030 Harmonize the 802.11 bitrate API
5032 * introspection/nm-access-point.xml
5033 - 'Rate' -> 'MaxBitrate'; clarify units
5035 * introspection/nm-device-802-11-wireless.xml
5036 - Clarify units of 'Bitrate'
5038 * src/NetworkManagerAP.c
5039 src/NetworkManagerAP.h
5040 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5041 property to 'max-bitrate'
5042 - (foreach_property_cb): convert rate to Kb/s
5044 * src/nm-device-802-11-wireless.c
5045 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5047 * libnm-glib/nm-access-point.c
5048 libnm-glib/nm-access-point.h
5049 - 'rate' -> 'max-bitrate'
5052 libnm-glib/libnm-glib-test.c
5053 - Fix up for these changes
5055 2008-03-12 Dan Williams <dcbw@redhat.com>
5058 - (nm_device_set_ip4_config): don't send property notifications when
5059 the ip4 config is set to NULL; it causes a PropertyChanged signal
5060 which dbus-glib can't parse because the value is NULL, which isn't
5061 a legal object path. Setting the IP4 config to NULL is only
5062 valid when deactivating a device anyway, so the device state change
5063 will alert listeners that the ip4 config is invalid.
5065 2008-03-12 Dan Williams <dcbw@redhat.com>
5067 * src/nm-properties-changed-signal.c
5068 - (add_to_string): better handling of NULL objects
5070 2008-03-12 Dan Williams <dcbw@redhat.com>
5072 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5073 convert the libnm-glib NMDevice8023Ethernet to cached properties
5075 * introspection/nm-device-802-3-ethernet.xml
5076 - New 'Carrier' property
5077 - New 'PropertiesChanged' signal
5079 * introspection/nm-device.xml
5080 - Remove 'Carrier' property
5081 - Remove 'CarrierChanged' signal
5083 * src/nm-device-interface.c
5084 src/nm-device-interface.h
5085 - (nm_device_interface_init): remove 'carrier' property and
5086 'carrier-changed' signal
5090 - (nm_device_get_carrier, nm_device_set_carrier): remove
5091 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5092 the link here; wired device will handle that
5093 - (handle_dhcp_lease_change): don't bother updating link here
5094 - (get_property, nm_device_class_init): remove carrier property
5096 * src/nm-device-802-11-wireless.c
5097 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5098 real_update_link(); wireless devices don't use carrier at all
5099 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5100 supplicant_iface_connection_state_cb_handler,
5101 supplicant_mgr_state_cb_handler): remove anything to do with carrier
5103 * src/nm-device-802-3-ethernet.c
5104 src/nm-device-802-3-ethernet.h
5105 - (nm_device_802_3_ethernet_carrier_on,
5106 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5107 instead of nm_device_set_carrier()
5108 - (device_state_changed): update link from sysfs on activation;
5109 replaces real_update_link()
5110 - (real_update_link): remove, replaced by device_state_changed()
5111 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5112 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5113 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5114 new get_carrier function
5115 - (get_property): add 'carrier' property
5116 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5117 hook into property-changed signal helper
5119 * src/NetworkManagerPolicy.c
5120 - (device_carrier_changed): will only ever be called with a wired device
5121 - (device_added): only hook up to carrier-changed for wired devices
5123 * libnm-glib/nm-device.c
5124 libnm-glib/nm-device.h
5125 - (constructor, nm_device_class_init): remove carrier-changed signal
5126 - (device_carrier_changed_proxy): remove; unused
5127 - (nm_device_get_carrier): remove; carrier a property of wired devices
5129 * libnm-glib/nm-device-802-3-ethernet.c
5130 libnm-glib/nm-device-802-3-ethernet.h
5131 - Convert to cached properties like AP and Wireless objects
5132 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5133 instead of a 'char *', return value should not be freed
5134 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5135 - (constructor): hook into properties-changed helper
5136 - (set_property, get_property): new functions
5137 - (nm_device_802_3_ethernet_class_init): export GObject properties
5140 - (detail_device): strdup the wired hardware address too since it's
5143 * libnm-glib/libnm-glib-test.c
5144 - (dump_wired): strdup the wired hardware address too since it's
5147 2008-03-12 Dan Williams <dcbw@redhat.com>
5149 * libnm-util/nm-setting-ip4-config.c
5150 libnm-util/nm-setting-ip4-config.h
5151 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5152 the 'autoip' property from the spec
5154 2008-03-11 Dan Williams <dcbw@redhat.com>
5156 * src/backends/NetworkManagerGeneric.c
5157 src/backends/NetworkManagerGeneric.h
5158 - (nm_generic_device_get_use_dhcp): remove
5160 2008-03-11 Dan Williams <dcbw@redhat.com>
5163 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5164 already in nm_device_set_ip4_config()
5165 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5166 due to a DHCP rebind fails
5167 - (nm_device_set_ip4_config): send property notifications when the
5169 - (get_property): only report IP4Config property during valid states
5171 * src/NetworkManagerPolicy.c
5172 - (update_routing_and_dns): ignore devices that don't have an ip4
5173 config; add parameter 'force_update' to allow callers to specify
5174 that changes should be made even if the default device doesn't change
5175 - (device_ip4_config_changed): update DNS and routing when the device's
5176 IP4Config changes, like for DHCP updates
5177 - (device_added): listen for ip4-config property changes
5179 2008-03-11 Dan Williams <dcbw@redhat.com>
5181 Fix address handling as a result of DHCP rebind/renew/reboot.
5183 * src/NetworkManagerSystem.c
5184 - (check_one_address): delete an address if it doesn't match a given
5185 one for the same interface
5186 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5187 be smarter about flushing addresses (only flush ones that don't
5188 match the one we're about to apply)
5190 * src/backends/NetworkManagerDebian.c
5191 src/backends/NetworkManagerSuSE.c
5192 src/backends/NetworkManagerArch.c
5193 src/backends/NetworkManagerSlackware.c
5194 src/backends/NetworkManagerRedHat.c
5195 src/backends/NetworkManagerPaldo.c
5196 src/backends/NetworkManagerFrugalware.c
5197 src/backends/NetworkManagerGentoo.c
5198 - (nm_system_delete_default_route): remove
5200 * src/backends/NetworkManagerGeneric.c
5201 src/backends/NetworkManagerGeneric.h
5202 - (nm_generic_enable_loopback): fix the loopback device label
5203 - (nm_generic_delete_default_route): remove; no longer used
5205 2008-03-11 Dan Williams <dcbw@redhat.com>
5207 * src/nm-device-interface.h
5208 - Delimit property name words with '-', otherwise g_object_notify()
5209 doesn't work the way we expect
5211 2008-03-11 Tambet Ingo <tambet@gmail.com>
5213 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5215 2008-03-11 Dan Williams <dcbw@redhat.com>
5217 * src/NetworkManagerPolicy.c
5218 - (update_routing_and_dns): don't change anything if the default device
5219 hasn't changed; print something out when switching the default route
5222 2008-03-10 Tambet Ingo <tambet@gmail.com>
5226 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5227 setting. Use "nic-$eth".
5229 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5230 the device is activating here to fix a race condition.
5232 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5234 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5235 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5236 (nm_ppp_manager_start): Take activation request instead of connection, we might
5237 need it for asking secrets.
5238 (nm_ppp_manager_update_secrets): Implement.
5240 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5241 ppp manager start. It might be needed for asking secrets.
5243 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5244 (ppp_state_changed): Handle pppd daemon disappearing.
5245 (pppoe_stage2_config): Send activation request to ppp manager start.
5247 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5249 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5250 username and password.
5252 2008-03-10 Dan Williams <dcbw@redhat.com>
5255 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5256 response to a DHCP lease change
5257 - (dhcp_state_changed): handle DHCP lease changes while activated
5258 - (nm_device_set_ip4_config): remove a previously set named config
5259 when setting an ip4 config
5261 2008-03-10 Dan Williams <dcbw@redhat.com>
5263 * src/nm-serial-device.c
5264 - (nm_serial_device_send_command): report errno on error
5265 - (get_reply_got_data): limit the size of the overall buffer
5266 - (wait_for_reply_info_destroy): destroy result string
5267 - (wait_for_reply_got_data): append received data to an overall buffer
5268 until timeout, filled buffer, or error instead of keeping a per-call
5269 buffer. Some devices send data slowly enough that this function
5270 gets called multiple times for the same command stream.
5271 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5272 wait_for_reply_got_data() here
5274 2008-03-10 Dan Williams <dcbw@redhat.com>
5276 * src/nm-cdma-device.c
5277 - (do_dial, init_modem): handle errors from
5278 nm_serial_device_send_command_string()
5280 * src/nm-gsm-device.c
5281 - (do_dial, manual_registration, automatic_registration_get_network,
5282 automatic_registration, enter_pin, check_pin, init_modem): handle
5283 errors from nm_serial_device_send_command_string()
5285 2008-03-10 Dan Williams <dcbw@redhat.com>
5287 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5289 * src/named-manager/nm-named-manager.c
5290 - (compute_searches): prefer searches before domains
5291 - (compute_domain): new function
5292 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5293 - (merge_one_ip4_config): if there are no searches in the source config,
5294 merge domains of the source config into the target config
5295 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5297 2008-03-10 Dan Williams <dcbw@redhat.com>
5299 * src/nm-serial-device.c
5300 - (get_reply_got_data): clean up indentation, shrink serial buffer
5301 - (wait_for_reply_got_data): try to handle slower serial devices where
5302 the reply is broken up into multiple reads by concatenating replies
5303 together until either an error is received or the search string is
5306 2008-03-10 Dan Williams <dcbw@redhat.com>
5309 - (nm_device_bring_down): deactivate the device if it's activating too,
5310 not just if it's already activated. This makes sure that everything
5311 from an association attempt is cleaned up (like DHCP for example)
5313 2008-03-10 Dan Williams <dcbw@redhat.com>
5315 * src/nm-serial-device.c
5316 - (config_fd): report error from TCSETA
5317 - (nm_serial_device_open): fail when config_fd() fails
5319 2008-03-10 Dan Williams <dcbw@redhat.com>
5321 * src/nm-ip4-config.c
5322 - (nm_ip4_config_init): allocate searches list
5323 - (finalize): free searches list
5325 2008-03-09 Dan Williams <dcbw@redhat.com>
5327 Patch from Bas Zoetekouw <bas@debian.org>
5329 * src/dhcp-manager/nm-dhcp-manager.c
5330 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5332 2008-03-09 Dan Williams <dcbw@redhat.com>
5334 Patch from Bas Zoetekouw <bas@debian.org>
5336 * src/nm-ip4-config.c
5338 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5339 nm_ip4_config_get_num_searches): add 'searches' as distinct from
5340 domains. 'searches' is the correct way to store multiple search
5341 domains, whereas 'domains' is really just supposed to store one
5342 domain. Some sites abuse the DHCP 'domain-name' option to push
5343 search domains to the client.
5344 - (nm_ip4_config_add_domain): group with related functions (my patch)
5346 2008-03-09 Dan Williams <dcbw@redhat.com>
5348 * src/dhcp-manager/nm-dhcp-manager.c
5349 - (dhclient_run): send interface-specific config files to dhclient
5351 2008-03-07 Dan Williams <dcbw@redhat.com>
5353 * system-settings/plugins/ifcfg-fedora/parser.c
5354 - (is_wireless_device): new function; test a device for wireless
5356 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5357 test the device for wireless extensions to determine the type
5359 2008-03-07 Dan Williams <dcbw@redhat.com>
5361 Change manager's StateChange signal to StateChanged for consistency.
5363 * introspection/nm-manager.xml
5364 - Add 'StateChanged' signal
5365 - Move 'StateChange' down to the deprecated section
5367 * src/nm-hal-manager.c
5368 - (nm_hal_manager_new): connect to 'state-changed' instead
5370 * src/NetworkManagerPolicy.c
5371 - (nm_policy_new): connect to 'state-changed' instead
5375 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5376 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5379 * libnm-glib/nm-client.c
5380 libnm-glib/nm-client.h
5381 - (constructor, nm_client_class_init, client_state_changed_proxy):
5382 track and proxy 'state-changed' instead of 'state-change'
5384 2008-03-07 Dan Williams <dcbw@redhat.com>
5386 First pass of multiple active device support. Expect bugs.
5388 * src/nm-ip4-config.c
5390 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5391 there are better ways to do this in the named manager
5395 - (nm_device_can_activate): return whether the device can activate a
5396 connection right now; taking into account things like carrier state
5398 - (nm_device_get_best_auto_connection): renamed from
5399 nm_device_get_best_connection
5400 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5401 device subclasses themselves, so that each device can override the
5402 MTU from it's NMSetting subclass if needed
5403 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5404 in NetworkManagerSystem.c, not here
5406 * src/named-manager/nm-named-manager.c
5407 src/named-manager/nm-named-manager.h
5408 - (nm_named_manager_name_owner_changed,
5409 nm_named_manager_dbus_connection_changed): fix for changes to
5410 rewrite_resolv_conf()
5411 - (compute_nameservers): don't need the NMNamedManager at all, remove
5413 - (merge_one_ip4_config): new function; merge ip4 configs together
5414 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5415 ip4 configs; the VPN config takes precedence, then the best
5416 device config, then the rest of the configs
5417 - (get_domain_for_config): take the NMNamedManager as an argument
5418 to check whether the config is the VPN config
5419 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5420 attribute from ip4 configs
5421 - (add_all_ip4_configs_to_named): add all the configs in priority order
5422 - (remove_ip4_config_from_named): fix for changes to
5423 get_domain_for_config()
5424 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5425 based on its type; callers must pass in the type now
5426 - (get_last_default_domain): remove, unused
5427 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5429 * src/nm-device-802-11-wireless.c
5430 - (real_can_activate): new function
5431 - (real_get_best_auto_connection): renamed from real_get_best_connection
5432 - (real_act_stage4_get_ip4_config): handle MTU override
5434 * src/nm-device-802-3-ethernet.c
5435 - (real_can_activate): new function
5436 - (real_get_best_auto_connection): renamed from real_get_best_connection
5437 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5439 * src/vpn-manager/nm-vpn-connection.c
5440 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5441 attribute on the ip4 config
5443 * src/NetworkManagerPolicy.c
5444 - (nm_policy_auto_get_best_device): remove
5445 - (nm_policy_device_change_check): remove
5446 - (update_default_route): new function; set the default route via
5447 the specified device
5448 - (get_device_priority): new function; return the priority number of
5449 a device type WRT which one should have the default route. Order is
5450 (highest to lowest) wired, wireless, GSM, CDMA.
5451 - (update_routing_and_dns): new function; determine which device should
5452 have the default route, then update the routing table and DNS
5453 - (maybe_auto_activate_device): new function; if a device is now
5454 available for activation, find out what connection it would like to
5456 - (schedule_activate_check): new function; if a device can be activated
5457 now, schedule the activation. Each device may have only one
5458 pending activation at a given time.
5459 - (device_state_changed): if activation was canceled, try again,
5460 possibly with another connection; if the device was activated,
5461 update routing and DNS; if the device was deactivated, try again
5462 with another connection
5463 - (device_carrier_changed): if there is no carrier, deactivate the
5464 device; otherwise schedule an activation check for the device
5465 - (wireless_networks_changed): schedule an activation check for the
5467 - (device_added): keep track of the signal handler IDs so they can
5468 be removed when the device goes away
5469 - (device_removed): remove any signal handlers that might be attached
5470 to the device; update routing and DNS
5471 - (schedule_activate_all): new function
5472 - (connections_added, connection_added, connection_updated): when
5473 connections change, schedule all devices for an activation check
5474 - (connection_removed): when a device is deactivated because its
5475 connection was removed, schedule another activation check for it
5476 - (nm_policy_destroy): destroy pending activations and disconnect
5477 all device signal handlers
5480 - (nm_manager_activate_device): if the device was already actived,
5482 - (deactivate_old_device): remove
5483 - (connection_added_default_handler, impl_manager_activate_device):
5484 don't deactivate other devices when activating this one
5486 * src/backends/NetworkManagerGentoo.c
5487 src/backends/NetworkManagerFrugalware.c
5488 src/backends/NetworkManagerPaldo.c
5489 src/backends/NetworkManagerRedHat.c
5490 src/backends/NetworkManagerSlackware.c
5491 src/backends/NetworkManagerArch.c
5492 src/backends/NetworkManagerSuSE.c
5493 src/backends/NetworkManagerDebian.c
5494 - (nm_system_get_mtu): remove; MTU should be provided through the
5495 distro's system settings service plugin instead
5496 - (nm_system_device_add_default_route_via_device): remove
5497 - (nm_system_device_add_default_route_via_device_with_iface): remove
5498 - (nm_system_device_replace_default_route): new function; call
5499 generic implementation
5501 * src/backends/NetworkManagerGeneric.c
5502 src/backends/NetworkManagerGeneric.h
5503 - (nm_generic_device_add_default_route_via_device,
5504 nm_generic_device_add_default_route_via_device_with_iface): remove
5505 - (nm_generic_device_replace_default_route): replace the default route
5506 with the given route via some gateway
5508 * src/NetworkManagerSystem.c
5509 src/NetworkManagerSystem.h
5510 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5511 to routing and DNS; but set the MTU here
5512 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5513 ip_iface of the active device; use the standard MTU setting function
5514 - (nm_system_set_mtu): remove
5515 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5517 2008-03-07 Tambet Ingo <tambet@gmail.com>
5519 Rework the interaction between ppp manager and pppd plugin. Register a well
5520 known DBUS service in manager and let the plugin call it's methods instead
5521 of listening plugin's signals.
5523 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5524 of emitting signals.
5526 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5528 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5530 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5531 nm_ppp_manager_start().
5533 * introspection/nm-ppp-manager.xml: New file.
5535 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5536 the case correctly where driver is trying to send -1 for the speed, which gets
5537 casted to u16 and thus is always > 0.
5539 2008-03-07 Dan Williams <dcbw@redhat.com>
5541 * src/nm-hal-manager.c
5542 - (nm_get_device_driver_name): use net.originating_device first, fall
5543 back to physical device. HAL has deprecated physical_device.
5545 * libnm-glib/nm-device.c
5546 - (get_product_and_vendor): use net.originating_device first, fall
5547 back to physical device. HAL has deprecated physical_device.
5548 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5550 2008-03-07 Dan Williams <dcbw@redhat.com>
5553 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5554 last commit; fix that
5555 - (get_link_cache): print error string
5557 2008-03-07 Dan Williams <dcbw@redhat.com>
5560 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5561 don't need this hack any more (Benoit Boissinot)
5563 2008-03-06 Dan Williams <dcbw@redhat.com>
5566 - Die gnome-common, die
5568 2008-03-04 Dan Williams <dcbw@redhat.com>
5570 Patch from Michael Biebl <biebl@debian.org>
5572 * NetworkManager.pc.in
5573 - doesn't actually depend on dbus-1
5575 * libnm-util/nm-utils.h
5576 - remove unused #include <dbus/dbus.h>
5578 * libnm-glib/libnm_glib.pc.in
5579 - depends on glib and dbus-glib
5581 2008-03-02 Dan Williams <dcbw@redhat.com>
5583 * src/NetworkManagerPolicy.c
5584 - s/device_state_changed_idle_id/update_state_id/
5586 2008-03-02 Dan Williams <dcbw@redhat.com>
5590 src/nm-device-802-11-wireless.c
5591 src/nm-device-802-3-ethernet.c
5592 src/NetworkManagerPolicy.c
5593 - s/link_active/carrier
5594 - nm_device_set_active_link() -> nm_device_set_carrier()
5595 - nm_device_has_active_link() -> nm_device_get_carrier()
5597 2008-03-02 Dan Williams <dcbw@redhat.com>
5599 * system-settings/plugins/ifcfg-fedora/parser.c
5600 - (make_wireless_setting): fail connection creation on missing SSID
5602 2008-02-29 Dan Williams <dcbw@redhat.com>
5604 * src/NetworkManagerPolicy.c
5605 - (nm_policy_device_change_check): ensure that a previously active
5606 device with a system connection has a link before denying a switch
5607 to a user connection
5609 2008-02-29 Dan Williams <dcbw@redhat.com>
5611 * src/nm-device-802-11-wireless.c
5612 - (link_timeout_cb): try again if scanning; deactivate the device when
5613 activated if the link dies
5614 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5617 2008-02-29 Dan Williams <dcbw@redhat.com>
5619 * src/nm-device-802-11-wireless.c
5620 src/nm-device-802-11-wireless.h
5621 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5622 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5623 - (device_cleanup): reset the scan interval lower when the device
5625 - (can_scan): base decision mostly off device state, not supplicant
5626 interface state since the supplicant interface state isn't a
5627 great indicator of whether the device is active or not
5628 - (request_wireless_scan): clean up; schedule the next scan here
5629 - (schedule_scan): only back the scan interval off if a new scan
5630 actually gets scheduled; and make scan intervals tighter when the
5631 device is disconnected
5632 - (supplicant_iface_state_cb_handler): fold in the bits of
5633 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5635 - (activation_success_handler): reset scan interval to something
5638 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
5640 reviewed by: Steev <steev@steev.net>
5643 * src/backends/NetworkManagerGentoo.c:
5644 (nm_system_restart_mdns_responder):
5645 Howl is no longer a supported mDNS provider
5647 2008-02-28 Tambet Ingo <tambet@gmail.com>
5649 Get rid of a bunch of unused distro specific functions.
5651 2008-02-28 Tambet Ingo <tambet@gmail.com>
5653 Implement suse plugin for system settings daemon.
5655 * system-settings/plugins/ifcfg-suse/*: Implement.
5657 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5660 * configure.in: Check (without failing) for gio.
5661 Create ifcfg-suse plugin's Makefile.
5663 2008-02-20 Dan Williams <dcbw@redhat.com>
5665 * libnm-util/nm-connection.c
5666 libnm-util/nm-connection.h
5667 - (nm_connection_compare): accept compare flags and pass them to the
5668 setting compare function
5670 * libnm-util/nm-setting.c
5671 libnm-util/nm-setting.h
5672 - (nm_setting_compare): accept compare flags; ignore properties that are
5675 * libnm-util/nm-setting-connection.c
5676 libnm-util/nm-setting-wireless.c
5677 libnm-util/nm-setting-ppp.c
5678 libnm-util/nm-setting-wired.c
5679 - Mark some setting properties as ignorable when doing a fuzzy compare
5682 - (device_activation_precheck): use exact compare
5684 2008-02-20 Dan Williams <dcbw@redhat.com>
5686 * src/NetworkManagerPolicy.c
5687 - (nm_policy_device_change_check): get scope off the connection, not
5688 using the manager helper
5692 - (get_scope_for_proxy): rename from get_type_for_proxy()
5693 - (connection_get_settings_cb): set scope and path on connection, not
5694 using GObject data items
5695 - (get_connection_for_proxy): don't need to return path, since that
5696 can be gotten from the connection
5697 - (get_connection_for_proxy): get path off the connection, not from
5699 - (connection_removed_cb, connection_updated_cb): don't need to get
5700 path from get_connection_for_proxy(); get scope off the connection
5701 instead of using GObject data items
5702 - (connection_added_default_handler, add_one_connection_element): use
5703 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5704 - (nm_manager_get_connection_dbus_path): remove
5705 - (nm_manager_get_connection_scope): remove
5707 2008-02-20 Dan Williams <dcbw@redhat.com>
5709 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5712 * Add 'path' and 'scope' properties to NMConnection since both NM and the
5713 applet were having to hack this in anyway. Remove the 'path' stuff from
5714 NMExportedConnection
5716 * Internally rename NMConnectionType -> NMConnectionScope
5718 * Provide default implementations of the 'get_id' and 'get_settings' methods
5719 of NMExportedConnection
5721 2008-02-15 Dan Williams <dcbw@redhat.com>
5723 * src/nm-device-802-11-wireless.c
5724 - (device_cleanup): release the AP list here too so that the AP list
5725 doesn't survive across suspend/resume and up/down. There is some
5726 room for optimization, for example blow the list away when the card
5727 brought back up, but only if the device has only been down for a
5730 2008-02-15 Dan Williams <dcbw@redhat.com>
5732 * src/nm-hal-manager.c
5733 - (modem_device_creator): recognize new HAL modem capabilities
5735 2008-02-12 Dan Williams <dcbw@redhat.com>
5737 * system-settings/plugins/ifcfg-fedora/plugin.c
5738 - (watch_path): handle IN_DELETE_SELF too
5739 - (handle_connection_changed): notify when removing a connection
5740 - (stuff_changed): don't warn on unknown inotify watches; handle the
5741 case of a file moving out of the profile directory
5743 2008-02-12 Dan Williams <dcbw@redhat.com>
5745 * system-settings/plugins/ifcfg-fedora/parser.c
5746 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5748 2008-02-12 Dan Williams <dcbw@redhat.com>
5750 * libnm-util/nm-utils.c
5751 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5752 just any empty array
5754 2008-02-12 Dan Williams <dcbw@redhat.com>
5756 * system-settings/src/nm-system-config-interface.c
5757 system-settings/src/nm-system-config-interface.h
5758 - (load_connections): get_connections() should now return an allocated
5759 GSList that the system settings service will free
5761 * system-settings/plugins/ifcfg-fedora/plugin.c
5762 system-settings/plugins/ifcfg-fedora/parser.h
5763 system-settings/plugins/ifcfg-fedora/parser.c
5764 - Fix up inotify issues; handle keys-* files, handle new files appearing
5765 in the profile directory, handle resolv.conf file changes
5767 2008-02-10 Dan Williams <dcbw@redhat.com>
5769 * src/nm-device-802-3-ethernet.c
5770 - (real_bring_up): save the supplicant interface state signal id
5771 - (real_bring_down): disconnect from the supplicant interface state
5774 2008-02-07 Dan Williams <dcbw@redhat.com>
5776 * initscript/RedHat/NetworkManager.in
5777 initscript/RedHat/NetworkManagerDispatcher.in
5778 - Add new-style LSB init headers
5780 2008-02-07 Dan Williams <dcbw@redhat.com>
5782 * system-settings/src/dbus-settings.c
5783 system-settings/src/dbus-settings.h
5784 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5786 - (connection_settings_get_secrets): consolidate error returns into
5787 one place; use the new get_secrets() plugin interface function to
5788 get secrets from the plugin itself rather than using GObject data
5791 * system-settings/src/main.c
5792 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5793 load_connections): keep a private list of the plugin-returned
5794 connections, don't use the plugin's GSList
5796 * system-settings/plugins/ifcfg-fedora/plugin.c
5797 - (watch_path): watch the path, not the filename (duh)
5798 - (reload_all_connections): use the direct hash/equal functions; the
5799 ones for int aren't appropriate here
5800 - (get_secrets, system_config_interface_init): implement the
5801 get_secrets() function
5802 - (build_one_connection, find_connection_by_path): ifcfg file path is
5803 now in the connection's ConnectionData instead of being a GObject
5805 - (handle_profile_item_changed): ifcfg file path is now in the
5806 connection's ConnectionData instead of being a GObject data property;
5807 be sure to copy secrets over from the new connection to the existing
5808 connection when updating the connection's settings
5809 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5812 * system-settings/plugins/ifcfg-fedora/parser.c
5813 system-settings/plugins/ifcfg-fedora/parser.h
5814 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5815 connection_data_copy_secrets, connection_data_free,
5816 connection_data_add): new functions; connection data manipulation
5817 - (make_wireless_security_setting): stuff secrets into the
5818 connection data, not as GObject data items; make sure to close
5820 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5821 connection data to the connection
5823 2008-02-07 Dan Williams <dcbw@redhat.com>
5825 * system-settings/src/nm-system-config-interface.c
5826 system-settings/src/nm-system-config-interface.h
5827 - Add a get_secrets() interface function to retrieve secrets for a
5828 specific setting of a specific connection. Document the interface
5831 2008-02-07 Dan Williams <dcbw@redhat.com>
5833 * src/nm-device-802-11-wireless.c
5834 - (handle_auth_or_fail): new function; consolidate device activation
5835 failure check after a certain number of failures getting secrets
5836 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5837 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5838 the connection if secrets were requested more than a few times
5839 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5840 tries here; otherwise they are cleared before the IP configure
5841 timeout, which happens with open system WEP when key is wrong
5842 - (activation_success_handler): clear wireless secrets tries here too
5844 2008-02-07 Dan Williams <dcbw@redhat.com>
5846 * src/NetworkManagerPolicy.c
5847 - (connection_updated): clear invalid tag when connection gets updated
5848 to allow that connection to be tried again
5849 - (nm_policy_new): save signal ids so they can be disconnected when
5850 the policy is destroyed
5851 - (nm_policy_destroy): stop any in-progress state change idle handler,
5852 and disconnect all signals from the manager object so that none
5853 of the policy functions gets called after the policy is destroyed
5855 2008-02-06 Dan Williams <dcbw@redhat.com>
5858 - (finalize): remove devices a bit earlier; clean up system settings
5860 - (nm_manager_name_owner_changed): clean up system settings poke when
5861 the service appears, and try to restart it if it fails
5862 - (poke_system_settings_daemon_cb): try to get the system settings
5863 service started through D-Bus service activation
5864 - (initial_get_connections): start the system settings daemon if it's
5867 2008-02-05 Dan Williams <dcbw@redhat.com>
5869 * src/supplicant-manager/nm-supplicant-config.c
5870 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5871 broadcast networks too
5873 2008-02-04 Dan Williams <dcbw@redhat.com>
5875 * system-settings/plugins/ifcfg-fedora/parser.c
5876 - (make_wireless_security_setting): fix spelling; unencrypted networks
5877 need key_mgmt set too
5878 - (parser_parse_file): validate ifcfg file name and don't try to parse
5879 .bak files; ensure that an error is set whenever NULL gets returned
5881 2008-02-04 Dan Williams <dcbw@redhat.com>
5883 * system-settings/src/Makefile.am
5884 - Install D-Bus service activation file for the system settings
5887 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5888 - D-Bus service activation file for system settings service
5890 2008-02-04 Dan Williams <dcbw@redhat.com>
5892 * system-settings/src/main.c
5893 - (parse_config_file): parse a config file
5894 - (main): accept --config option and read plugins from config file
5896 2008-02-04 Dan Williams <dcbw@redhat.com>
5898 * system-settings/plugins/ifcfg-fedora/plugin.c
5899 - Change reported name to 'ifcfg-fedora'
5900 - Use IFCFG_PLUGIN_NAME
5902 * system-settings/plugins/ifcfg-fedora/plugin.c
5903 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5905 2008-02-04 Dan Williams <dcbw@redhat.com>
5907 * system-settings/plugins/ifcfg-fedora/parser.c
5908 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5909 - (make_connection_setting): use get_ifcfg_name()
5910 - (make_wireless_security_setting): handle shadow key files
5911 - (get_one_wep_key): treat empty string as NULL
5913 2008-02-04 Dan Williams <dcbw@redhat.com>
5915 * src/supplicant-manager/nm-supplicant-manager.c
5916 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5917 glib automatically reschedule
5918 - (nm_supplicant_manager_init): immediately try to start the supplicant
5919 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5922 2008-02-01 Dan Williams <dcbw@redhat.com>
5924 * src/NetworkManagerPolicy.c
5925 - (device_state_changed): schedule a change check when a device gets
5926 deactivated so something happens if you disconnect GSM/CDMA
5928 2008-01-31 Dan Williams <dcbw@redhat.com>
5930 * src/nm-device-802-11-wireless.h
5931 src/nm-device-802-11-wireless.c
5932 - (ap_list_get_ap_by_ssid, is_associated,
5933 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5934 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5935 - (nm_device_802_11_wireless_get_activation_ap): collapse
5936 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5939 2008-01-30 Dan Williams <dcbw@redhat.com>
5941 * system-settings/plugins/ifcfg
5942 * system-settings/plugins/ifcfg-fedora
5943 - Move the ifcfg plugin to ifcfg-fedora
5945 2008-01-24 Dan Williams <dcbw@redhat.com>
5947 * libnm-glib/nm-device-802-11-wireless.c
5948 - (get_access_point): move the "/" check here; check for invalid path
5950 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5951 to get_access_point()
5952 - (access_point_added_proxy, access_point_removed_proxy): don't try
5953 to send signals for non-existent access points
5955 2008-01-24 Dan Williams <dcbw@redhat.com>
5957 * libnm-glib/nm-device-802-11-wireless.c
5958 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5960 2008-01-23 Dan Williams <dcbw@redhat.com>
5962 * libnm-glib/libnm_glib.c
5963 - (libnm_glib_init): make thread joinable
5964 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5966 2008-01-23 Dan Williams <dcbw@redhat.com>
5968 * test/libnm_glib_test.c
5969 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5970 - (main): set up signal handlers; call libnm_glib_shutdown
5972 2008-01-21 Dan Williams <dcbw@redhat.com>
5974 * include/NetworkManager.h
5975 - Add CDMA mobile broadband card device type
5977 * src/nm-hal-manager.c
5978 - (modem_device_creator): handle both CDMA and GSM modems; the device
5979 must now be tagged with 'cdma' or 'gsm' capability
5981 * src/nm-cdma-device.c
5982 src/nm-cdma-device.h
5984 - Add the CDMA mobile broadband card device class
5986 * libnm-util/nm-connection.c
5987 - (register_default_settings): add NMSettingCdma
5989 * libnm-util/nm-setting-cdma.c
5990 libnm-util/nm-setting-cdma.h
5991 libnm-util/Makefile.am
5992 - Add the CDMA mobile broadband card setting class
5994 * libnm-glib/nm-cdma-device.c
5995 libnm-glib/nm-cdma-device.h
5996 libnm-glib/Makefile.am
5997 - Add the CDMA mobile broadband card GLib proxy class
5999 * libnm-glib/nm-client.c
6000 - (get_device): handle CDMA devices too
6002 2008-01-21 Dan Williams <dcbw@redhat.com>
6004 * src/ppp-manager/nm-ppp-manager.c
6005 - (ip4_config_get): set peer address too
6007 * src/ppp-manager/nm-pppd-plugin.c
6008 - (nm_ip_up): try harder to get the peer's address
6010 * src/NetworkManagerSystem.c
6011 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6012 address, use that too. Otherwise, some PPP connections won't work.
6014 2008-01-19 Dan Williams <dcbw@redhat.com>
6016 * src/NetworkManagerPolicy.c
6017 - (nm_policy_device_change_check): system connections override user
6018 connections; don't activate a user connection if there's a currently
6019 active system connection, and new, better system connections always
6020 interrupt user connections
6022 2008-01-19 Dan Williams <dcbw@redhat.com>
6025 - (nm_manager_get_connection_type): new function
6027 2008-01-19 Dan Williams <dcbw@redhat.com>
6029 * src/nm-device-802-11-wireless.c
6030 - (real_get_best_connection): collapse find_best_connection() into this
6033 2008-01-19 Dan Williams <dcbw@redhat.com>
6035 * src/nm-device-802-3-ethernet.c
6036 - (real_get_best_connection): collapse find_best_connection() into this
6039 2008-01-18 Dan Williams <dcbw@redhat.com>
6041 * src/nm-device-802-3-ethernet.c
6042 - (find_best_connection): check MAC address too
6043 - (real_get_best_connection): let autoconnect=True connections activate
6044 for devices that don't have carrier detection
6046 * src/nm-device-802-11-wireless.c
6047 - (find_best_connection): check MAC address too
6049 2008-01-18 Dan Williams <dcbw@redhat.com>
6051 * system-settings/plugins/ifcfg/parser.c
6052 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6054 2008-01-17 Dan Williams <dcbw@redhat.com>
6056 * src/nm-device-802-3-ethernet.c
6057 - (nm_device_802_3_ethernet_carrier_on,
6058 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6059 carrier events that might come in for devices that don't support
6062 2008-01-17 Dan Williams <dcbw@redhat.com>
6064 * src/nm-device-interface.c
6065 - (nm_device_interface_check_connection_conflicts): need to actually
6066 get the interface, not cast to the object
6069 - (nm_device_check_connection_conflicts): need to get the device class,
6070 not cast the device to the device class
6072 2008-01-17 Dan Williams <dcbw@redhat.com>
6074 * src/nm-device-802-11-wireless.c
6075 - (real_check_connection_conflicts): ignore connections that aren't
6076 wireless connections
6078 2008-01-17 Dan Williams <dcbw@redhat.com>
6080 * src/NetworkManagerPolicy.c
6081 - (nm_policy_device_change_check): clear change check idle here
6082 - (device_change_check_done): remove
6083 - (schedule_change_check): simplify
6085 2008-01-17 Dan Williams <dcbw@redhat.com>
6088 - (check_connection_allowed): take an NMDeviceInterface instead of
6089 an NMDevice object as an argument
6090 - (nm_manager_activate_device): pass an NMDeviceInterface to
6091 check_connection_allowed()
6093 2008-01-13 Dan Williams <dcbw@redhat.com>
6095 * libnm-glib/nm-device-802-11-wireless.c
6096 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6098 2008-01-12 Dan Williams <dcbw@redhat.com>
6100 * src/nm-device-802-11-wireless.c
6101 - (activation_success_handler): if a match was found in the scan list
6102 and that match is a hidden AP, update that AP's SSID
6104 2008-01-11 Dan Williams <dcbw@redhat.com>
6106 * src/NetworkManagerAP.c
6107 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6109 * src/nm-device-802-11-wireless.c
6110 - (get_active_ap): do two passes over the scan list if the caller
6111 requests that hidden APs get matched too; during the second pass
6112 when matching hidden APs, ignore the SSID since hidden APs in the
6113 scan list don't have an SSID yet
6114 - (periodic_update): move some checks to
6115 nm_device_802_11_periodic_update() because not all callers need them
6116 - (nm_device_802_11_periodic_update): move some checks here from
6118 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6119 matching on incoming scan results, because the fake AP's flags
6120 might be slightly different (yet still compatible) with the incoming
6121 scan result's flags and they might actually be the same AP; update
6122 the rate on merged APs too
6123 - (activation_success_handler): update the frequency of the fake AP
6124 on successful connection; match hidden APs too since if the
6125 current AP is fake, there might already be a scan result in the
6126 scan list for the desired AP, just without it's SSID filled in yet
6128 2008-01-10 Dan Williams <dcbw@redhat.com>
6130 * src/NetworkManagerAP.c
6131 - (foreach_property_cb): catch more hidden SSID formats
6133 2008-01-10 Dan Williams <dcbw@redhat.com>
6135 Fix gnome.org #464215. Requires the kernel patch titled
6136 "Introduce WEXT scan capabilities" but will handle the patch not being
6137 present, you'll just continue to have problems with hidden SSIDs when
6138 using mac80211-based drivers.
6140 * src/supplicant-manager/nm-supplicant-config.h
6141 src/supplicant-manager/nm-supplicant-config.c
6142 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6143 whether the driver supports SSID scans or not. If it does, and if
6144 the AP is hidden, use ap_scan=1 instead of ap_scan=2
6146 * src/nm-device-802-11-wireless.c
6147 - (constructor): check whether or not the driver supports SSID scans
6148 - (build_supplicant_config): pass driver SSID scan capability when
6149 building the wireless bits of the supplicant config
6151 2008-01-09 Dan Williams <dcbw@redhat.com>
6155 - (device_activation_precheck, check_connection_complete): remove this
6156 virtual function; incomplete connections should be invalid by
6157 definition, complete-ness should be checked in the setting's
6160 * src/nm-serial-device.c
6162 - (real_check_connection_complete): remove
6164 * libnm-util/nm-setting-serial.c
6165 - (verify): new function; ensure there is a PPP setting too
6167 * libnm-util/nm-setting-gsm.c
6168 - (verify): ensure there is a serial setting too
6170 2008-01-06 Dan Williams <dcbw@redhat.com>
6172 * src/dhcp-manager/nm-dhcp-manager.c
6173 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6176 2008-01-04 Dan Williams <dcbw@redhat.com>
6178 * src/named-manager/nm-named-manager.c
6179 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6180 nameservers if the secondary config doesn't have any
6183 2008-01-02 Tambet Ingo <tambet@gmail.com>
6185 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6186 with G_PARAM_CONSTRUCT so that they get the default values.
6188 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6189 the monitoring device and prints out the output for now. Or more precicely, doesn't
6190 do absolutely anything right now since the montoring device argument is never set.
6192 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6193 requires it's own knob to turn it on.
6194 (config_fd): Add NMSettingSerial to the arguments list.
6195 (nm_serial_device_open): Ditto.
6196 (get_reply_got_data): Ignore the terminators at the beginning of the output.
6197 (nm_serial_device_get_io_channel): Implement.
6199 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6200 a new reference every time (and forgetting to release it sometimes) is a pain and
6201 it's not like NMManager could work without dbus.
6202 (nm_manager_add_device): Register the added device on dbus here.
6204 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6207 * src/nm-device.c (constructor): Don't export the device here, instead export
6208 it when it's added to the NMManager's device list.
6210 2007-12-31 Dan Williams <dcbw@redhat.com>
6212 * src/nm-device-interface.c
6213 src/nm-device-interface.h
6214 - (nm_device_interface_check_connection_conflicts): new function
6218 - (nm_device_check_connection_conflicts): new function
6219 - (device_activation_precheck): don't require subclasses to implement
6220 check_connection_complete()
6221 - check_connection() -> check_connection_complete()
6223 * src/nm-device-802-11-wireless.c
6224 - (real_check_connection): remove; unused
6225 - (real_check_connection_conflicts): implement, handle lockdown for
6228 * src/nm-device-802-3-ethernet.c
6229 - (real_check_connection): remove; unused
6232 - (check_connection_allowed): new function
6233 - (nm_manager_activate_device): ensure the connection being requested
6234 is allowed to be activated
6236 * src/nm-serial-device.c
6238 - real_check_connection() -> real_check_connection_complete()
6240 2007-12-27 Dan Williams <dcbw@redhat.com>
6242 * src/nm-device-interface.c
6243 src/nm-device-interface.h
6244 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6245 normalize and expand errors
6246 - (nm_device_interface_init): register errors so they can be marshalled
6248 - (nm_device_interface_activate): ensure that failure of activation
6253 - (device_activation_precheck): implementations of check_connection()
6254 now take a GError and must fill it in if the check fails. Return
6255 more descriptive error if the requested connection is already
6257 - (nm_device_activate): actually try to return descriptive errors on
6260 * src/nm-device-802-11-wireless.c
6261 src/nm-device-802-3-ethernet.c
6262 src/nm-serial-device.c
6264 - (real_check_connection): return more descriptive errors on failure
6266 * src/NetworkManagerPolicy.c
6267 - (nm_policy_device_change_check): print activation errors in the logs
6270 - (nm_manager_error_quark, nm_manager_error_get_type,
6271 nm_manager_class_init): new errors
6272 - (nm_manager_activate_device): handle errors
6273 - (nm_manager_error_new): removed
6274 - (wait_for_connection_expired, connection_added_default_handler,
6275 impl_manager_activate_device): better error handling
6277 2007-12-27 Dan Williams <dcbw@redhat.com>
6279 Fixes gnome.org #466954
6281 * src/supplicant-manager/nm-supplicant-settings-verify.c
6282 - Allow 'frequency' network property
6284 * src/supplicant-manager/nm-supplicant-config.c
6285 src/supplicant-manager/nm-supplicant-config.h
6286 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6287 for callers to specify the frequency an Ad-Hoc network should operate
6288 on. Some drivers require this to successfully create an Ad-Hoc
6291 * src/nm-device-802-11-wireless.c
6292 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6293 guint32 value in MHz
6294 - (constructor, nm_device_802_11_wireless_get_frequency): use
6296 - (find_supported_frequency): new function; find a free supported
6297 frequency for a user-created Ad-Hoc network
6298 - (build_supplicant_config): if no frequency was specified for a user-
6299 created Ad-Hoc network, find a free one to use
6300 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6301 a specific object as user-created
6303 2007-12-27 Dan Williams <dcbw@redhat.com>
6305 * libnm-util/nm-utils.c
6306 libnm-util/nm-utils.h
6307 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6310 2007-12-24 Dan Williams <dcbw@redhat.com>
6312 * libnm-util/nm-setting-wireless.c
6313 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6314 185, 187, 188, 192, and 196
6316 2007-12-24 Dan Williams <dcbw@redhat.com>
6318 * src/nm-device-802-11-wireless.c
6319 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6320 a channel # instead of a frequency
6322 2007-12-24 Dan Williams <dcbw@redhat.com>
6324 * src/NetworkManagerAP.c
6325 src/NetworkManagerAP.h
6326 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6327 - (freq_to_channel): handle split band tables
6328 - (channel_to_freq): handle split band tables, take a band argument
6330 2007-12-24 Dan Williams <dcbw@redhat.com>
6332 * libnm-util/nm-setting-connection.h
6333 libnm-util/nm-setting-connection.c
6334 - Add 'lockdown' member
6336 2007-12-22 Dan Williams <dcbw@redhat.com>
6338 * libnm-util/nm-setting-wireless.c
6339 - (nm_setting_wireless_class_init): add missing 'rate' property
6342 2007-12-18 Dan Williams <dcbw@redhat.com>
6344 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6346 * src/nm-netlink-monitor.c
6347 src/nm-netlink-monitor.h
6348 - Remove handrolled netlink, use libnl instead
6350 * src/nm-device-802-3-ethernet.c
6351 - (constructor, nm_device_802_3_ethernet_carrier_off,
6352 nm_device_802_3_ethernet_carrier_on): use new names
6354 2007-12-17 Dan Williams <dcbw@redhat.com>
6357 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6358 and fixes memory leaks)
6361 - (nm_netlink_get_default_handle): handle new versions of libnl that
6362 automatically handle the netlink PID
6364 2007-12-17 Dan Williams <dcbw@redhat.com>
6366 Patch from Michael Biebl <biebl@debian.org>
6369 src/ppp-manager/Makefile.am
6370 - fix up install dir of pppd plugin
6371 - clean up configure.in a bit
6373 2007-12-12 Dan Williams <dcbw@redhat.com>
6375 * system-settings/src/nm-system-settings.conf
6376 - Allow non-root clients (like the applet) to read settings
6378 2007-12-10 Tambet Ingo <tambet@gmail.com>
6380 * Replace all occurences of 'UMTS' with 'GSM'.
6382 2007-12-07 Dan Williams <dcbw@redhat.com>
6384 * src/nm-serial-device.c
6385 - (real_is_up): serial devices are always "up"
6387 2007-12-07 Dan Williams <dcbw@redhat.com>
6390 src/NetworkManagerSystem.c
6391 - (new_nl_handle): ensure that the same netlink pid is never chosen
6392 twice (gnome.org #491047)
6393 - Make more robust against allocation-related failures should they occur
6395 2007-12-07 Dan Williams <dcbw@redhat.com>
6397 Noticed by Christian Persch <chpe@gnome.org>
6399 Always chain up to parent object in dispose and finalize handlers.
6402 2007-12-07 Dan Williams <dcbw@redhat.com>
6404 * src/nm-device-802-11-wireless.c
6405 - Wrap #include of linux/mii.h to fix redefined structures due to
6406 incorrect kernel headers (gnome.org #350061)
6408 2007-12-06 Tambet Ingo <tambet@gmail.com>
6410 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6411 before doing anything else.
6412 (init_modem): Move modem initialization here.
6414 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6415 (nm_serial_device_flash): Implement.
6417 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6418 changes signal is "StateChanged" and not "Status".
6419 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6421 2007-12-06 Dan Williams <dcbw@redhat.com>
6423 * src/supplicant-manager/nm-supplicant-config.c
6424 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6425 to only send some options when they make sense; also send phase2
6426 option to the supplicant (possible fix for rh #399631)
6428 2007-12-06 Tambet Ingo <tambet@gmail.com>
6430 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6431 arguments: This whole file shouldn't really know anything about NMDevices, it
6432 should deal only with device interfaces. Devices might have different ifaces for
6433 different stuff and this place shouldn't know anything about it.
6435 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6436 (global_state_changed): Implement. In the current NM it's not really important,
6437 but will be required in the case of multiple active devices. (Or even better,
6438 if stuff like that gets moved out from NM).
6440 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6441 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6444 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6445 devices like serial devices (ttyS0 and ppp0 for example).
6446 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6448 (nm_device_set_ip_iface): Implement.
6449 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6450 after setting ip4_config from here ...
6451 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6452 than this function should call nm_system_device_set_from_ip4_config() because no
6453 other code has enough information on which arguments to use. So instead, other code
6454 could just set the new ip4 config using this function and everyone is happy.
6456 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6457 if we happen to get deactivated while something is pending.
6458 (automatic_registration): Handle the response that indicates pending network
6459 registration and wait until the pending registration is done.
6460 (real_deactivate_quickly): If there's a pending operation, cancel it.
6462 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6463 (real_deactivate_quickly): ... and remove it when it's down.
6464 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6466 (nm_serial_device_wait_for_reply): Ditto.
6468 2007-12-05 Tambet Ingo <tambet@gmail.com>
6470 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6471 (get_network_done): Remove newline, nm_info() does it already.
6472 (real_act_stage1_prepare): Turn the modem echo off.
6474 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6475 device, set the route to the device interface. This is a hack.
6477 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6478 return, no need for a new-line.
6479 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6480 Change the device iface here (ugh).
6481 (real_act_stage4_get_ip4_config): Implement.
6482 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6483 Restore the device iface.
6485 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6486 device is not wired or wireless (eg, automatically upped) device.
6488 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6490 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6492 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6493 before calling it's is_device_fn().
6495 2007-12-05 Dan Williams <dcbw@redhat.com>
6497 * libnm-util/nm-utils.c
6498 - (nm_utils_register_value_transformations,
6499 nm_utils_convert_gvalue_hash_to_string): better debug output of
6500 GHashTables of GValues too
6502 2007-12-04 Dan Williams <dcbw@redhat.com>
6504 * initscript/RedHat/NetworkManager.in
6505 - No longer start named; it's D-Bus interface is going away
6507 2007-12-04 Dan Williams <dcbw@redhat.com>
6509 Patch from Michael Biebl <biebl@debian.org>
6511 * system-settings/plugins/ifcfg/Makefile.am
6512 system-settings/src/main.c
6513 system-settings/src/Makefile.am
6514 - Put system settings plugins in NM plugins dir
6516 * src/ppp-manager/Makefile.am
6517 src/ppp-manager/nm-ppp-manager.c
6518 - Move pppd plugin to NM plugins dir
6520 2007-12-04 Dan Williams <dcbw@redhat.com>
6522 * libnm-util/nm-setting-vpn-properties.h
6523 - Clarify usage of the 'data' member of the setting
6525 * libnm-util/nm-setting-vpn-properties.c
6526 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6527 - (set_property): just remove all the settings; don't recreate the has
6528 - (update_one_secret): don't need to create the hash table here since
6529 it should always be present
6531 2007-12-03 Tambet Ingo <tambet@gmail.com>
6533 Implement PIN and PUK requesting.
6535 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6536 (enter_pin): Handle PIN and PUK requests.
6537 (real_act_stage1_prepare): Clear the secret type.
6538 (real_connection_secrets_updated): Implement this class method to get
6539 notified when new secrets arrive.
6540 (nm_umts_device_class_init): Add private data back to the umts device class
6541 to store the required secret type.
6543 2007-12-01 Dan Williams <dcbw@redhat.com>
6545 * system-settings/plugins/ifcfg/parser.c
6546 - (parser_parse_file): don't try to verify NULL connections
6548 2007-12-01 Dan Williams <dcbw@redhat.com>
6550 * system-settings/src/main.c
6551 - (load_connections, add_connection_to_settings): actually export
6552 plugin-provided connections over D-Bus so NM can get them
6554 2007-12-01 Dan Williams <dcbw@redhat.com>
6556 * system-settings/plugins/ifcfg/parser.c
6557 system-settings/plugins/ifcfg/parser.h
6558 system-settings/plugins/ifcfg/plugin.c
6559 - Hook up more inotify bits (untested)
6561 2007-11-29 Dan Williams <dcbw@redhat.com>
6563 * system-settings/src/nm-system-config-interface.h
6564 system-settings/src/nm-system-config-interface.c
6565 - (nm_system_config_interface_init,
6566 nm_system_config_interface_get_connections): add
6568 * system-settings/src/main.c
6569 - (load_plugins, load_connections, main): use a GSList for plugins
6570 to ensure priority ordering
6572 * system-settings/plugins/ifcfg/parser.c
6573 - (ifcfg_error_quark): move to plugin.c, and rename
6575 * system-settings/plugins/ifcfg/plugin.h
6576 system-settings/plugins/ifcfg/plugin.c
6577 - (ifcfg_plugin_error_quark): move here from parser.c
6578 - rework connection loading and initialization
6579 - Add preliminary inotify support for network profile config file
6581 2007-11-28 Tambet Ingo <tambet@gmail.com>
6583 Merge the beginnings of the new GSM card support.
6585 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6586 ppp watch source before killing pppd - If this happens from g_object_unref()
6587 then the ppp manager is already destroyed by the time the watch callback runs.
6589 * src/nm-hal-manager.c: Add a device_type_name string to the device
6590 creators, so that we can print a nice human readable string when a
6593 * src/nm-umts-device.c (automatic_registration_get_network): Query
6594 for the activated network, not much is done with the result thought.
6596 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6597 (ppp_ip4_config): Change the device state to activated here for now.
6598 (real_check_connection): Make sure the connection includes ppp setting.
6600 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6602 * libnm-glib/Makefile.am: Add the new files to build.
6604 * libnm-glib/nm-umts-device.c:
6605 * libnm-glib/nm-umts-device.h: Implement.
6607 2007-11-26 Tambet Ingo <tambet@gmail.com>
6609 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6610 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6612 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6613 the timeout source - this function is only called when the timeout source has
6615 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6616 to be big enough to contain the terminating zero element as well.
6617 The timeout argument is meant to be in seconds now.
6618 (real_deactivate_quickly): Implement.
6620 * src/NetworkManager.conf: Allow root to own
6621 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6623 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6624 (not unsigned ints).
6626 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
6627 small issue with parity bounds - capital letters have lower ascii codes
6628 than lower case letters.
6630 * libnm-util/nm-connection.c (register_default_settings): Register serial
6633 2007-11-22 Tambet Ingo <tambet@gmail.com>
6635 Remove the "index" property from devices as not all device types have this.
6637 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6639 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6640 (wired_device_creator): Get the device interface from hal to create the device.
6641 (wireless_device_creator): Ditto.
6643 * src/nm-device.c (nm_device_init): Remove the index member.
6644 (constructor): Remove the checks for index property, make interface property
6645 a require constructor property.
6646 Use the HAL udi for DBus path for devices.
6647 (nm_device_get_index): Remove.
6648 (set_property): Remove index handling.
6649 (get_property): Ditto.
6650 (nm_device_get_dbus_path): Remove.
6652 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6655 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6656 Access the device index through it's interface.
6657 (nm_device_802_3_ethernet_link_deactivated): Ditto.
6658 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6659 index argument. Add interface argument.
6661 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6662 the useless test_dev argument. Remove index argument. Add interface arugment.
6664 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6665 device index through interface.
6666 (nm_system_set_mtu): Ditto.
6668 * introspection/nm-device.xml: Remove the "Index" property.
6670 2007-11-21 Tambet Ingo <tambet@gmail.com>
6672 * src/nm-serial-device.c:
6673 * src/nm-serial-device.c:
6674 * src/nm-umts-device.c:
6675 * src/nm-umts-device.h: Implement.
6677 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
6678 allocated by libhal.
6679 (modem_device_creator): Implement.
6680 (register_built_in_creators): Register the modem creator.
6682 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
6683 Remove the unused test_dev argument.
6685 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6687 * src/Makefile.am: Add new files to build.
6688 Link in ppp-manager.
6690 * libnm-util/nm-setting-umts.c:
6691 * libnm-util/nm-setting-umts.h:
6692 * libnm-util/nm-setting-serial.c:
6693 * libnm-util/nm-setting-serial.h: Implement.
6695 * libnm-util/Makefile.am: Add new files to build.
6697 2007-11-28 Dan Williams <dcbw@redhat.com>
6699 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6701 Support DHCP-provided static routes.
6703 * src/nm-ip4-config.h
6705 - Add get/set functions for static routes
6707 * src/dhcp-manager/nm-dhcp-manager.c
6708 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6711 * src/NetworkManagerSystem.c
6712 - (nm_system_device_set_from_ip4_config): set any static routes on the
6713 interface when applying the IP4Config
6715 2007-11-28 Dan Williams <dcbw@redhat.com>
6717 * src/nm-device-802-11-wireless.c
6718 - (real_act_stage1_prepare): mark APs created for hidden networks
6721 2007-11-27 Dan Williams <dcbw@redhat.com>
6723 * system-settings/src/nm-system-config-interface.h
6724 - Note how to store secrets on NMSetting objects
6726 * system-settings/src/dbus-settings.c
6727 - (connection_settings_get_secrets): implement
6729 2007-11-27 Dan Williams <dcbw@redhat.com>
6731 * system-settings/plugins/ifcfg/Makefile.am
6732 system-settings/plugins/ifcfg/parser.c
6733 system-settings/plugins/ifcfg/parser.h
6734 system-settings/plugins/ifcfg/plugin.c
6735 - Parse wireless connections too
6737 * system-settings/src/dbus-settings.c
6738 system-settings/src/dbus-settings.h
6739 system-settings/src/main.c
6740 - Handle connection update/removal if the plugin supports it
6742 2007-11-27 Dan Williams <dcbw@redhat.com>
6744 * src/nm-dbus-manager.h
6745 src/nm-hal-manager.c
6746 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6750 src/NetworkManagerDbusUtils.c
6751 src/NetworkManagerDbusUtils.h
6752 - Remove these two source files; they are unused
6754 2007-11-27 Dan Williams <dcbw@redhat.com>
6756 * src/vpn-manager/nm-vpn-manager.c
6757 - (impl_vpn_manager_connect): fix system settings check (found by
6760 2007-11-26 Dan Williams <dcbw@redhat.com>
6762 * Fix warnings so everything compiles with --enable-more-warnings
6764 2007-11-25 Dan Williams <dcbw@redhat.com>
6767 - Rework structure and code to use GModule-loaded plugins and a plugin
6768 interface that plugins export to the system settings service
6770 2007-11-21 Dan Williams <dcbw@redhat.com>
6773 - Add Soren's system settings service. Needs work for distros other
6774 than Fedora; the backends from NM should mostly migrate to here
6775 and be converted to GObjects
6777 2007-11-21 Dan Williams <dcbw@redhat.com>
6779 * libnm-util/nm-setting-vpn-properties.c
6780 - (set_property): must deep-copy the given settings hash, otherwise
6781 double-free errors occur when the setting is disposed of
6783 2007-11-21 Dan Williams <dcbw@redhat.com>
6785 * src/vpn-manager/nm-vpn-act-request.h
6786 src/vpn-manager/nm-vpn-act-request.c
6789 2007-11-20 Dan Williams <dcbw@redhat.com>
6791 * libnm-util/nm-utils.c
6792 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6793 nm_utils_convert_ip4_addr_struct_array_to_string,
6794 nm_utils_register_value_transformations): print out the readable
6795 values of more types of properties of NMSettings subclasses
6797 2007-11-20 Dan Williams <dcbw@redhat.com>
6799 * libnm-util/nm-setting-ip4-config.c
6800 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6801 nm_setting_ip4_config_class_init): apparently dbus-glib can't
6802 marshal GValueArrays inside collections, so switch to types that it
6803 can actually marshal/demarshal
6805 2007-11-16 Dan Williams <dcbw@redhat.com>
6807 * libnm-util/nm-setting-wireless-security.c
6808 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6809 minimal verification of EAP methods too
6810 - (verify): verify phase1 eap methods too
6812 2007-11-15 Dan Williams <dcbw@redhat.com>
6814 * libnm-glib/nm-device.h
6815 libnm-glib/nm-device.c
6816 - (nm_device_get_product, nm_device_get_vendor): should be returning
6819 2007-11-15 Dan Williams <dcbw@redhat.com>
6821 * libnm-glib/nm-device.c
6822 - (get_product_and_vendor): don't try to free things that should be
6825 2007-11-15 Dan Williams <dcbw@redhat.com>
6827 * src/NetworkManagerUtils.c
6828 - (nm_ethernet_address_is_valid): unbreak previous fix
6830 2007-11-15 Dan Williams <dcbw@redhat.com>
6832 * src/supplicant-manager/nm-supplicant-config.c
6833 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6836 2007-11-15 Dan Williams <dcbw@redhat.com>
6838 * src/NetworkManagerUtils.c
6839 - (nm_ethernet_address_is_valid): fix style, clarify
6840 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6842 * src/nm-device-802-11-wireless.c
6843 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6844 - (nm_device_802_11_wireless_get_ssid,
6845 nm_device_802_11_wireless_get_bssid,
6846 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6847 before calling the ioctl; fixes valgrind-reported jump depends on
6848 uninitialized value errors
6850 2007-11-15 Dan Williams <dcbw@redhat.com>
6852 * libnm-util/nm-setting.c
6853 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6854 unecessary to serialize 'name'
6856 * src/nm-activation-request.c
6857 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6860 2007-11-15 Dan Williams <dcbw@redhat.com>
6862 * libnm-util/nm-setting-connection.h
6863 libnm-util/nm-setting-connection.c
6864 - Rename the 'name' property to 'id', because it conflicted with the
6865 NMSetting superclass' 'name' property.
6867 * libnm-util/nm-setting.c
6868 - (nm_setting_to_hash): serialize the 'name' property
6869 - (one_property_cb): ignore 'name' on deserialization of a connection
6871 * src/nm-device-802-11-wireless.c
6872 src/vpn-manager/nm-vpn-connection.c
6873 src/NetworkManagerPolicy.c
6874 - Fix up for NMSettingConnection 'name'->'id' changes
6876 2007-11-13 Dan Williams <dcbw@redhat.com>
6878 * libnm-glib/nm-device-802-11-wireless.h
6879 libnm-glib/nm-device-802-11-wireless.c
6880 - (nm_device_802_11_wireless_get_hw_address): return should be const
6883 libnm-glib/libnm-glib-test.c
6884 - Fixes for above change
6886 2007-11-12 Dan Williams <dcbw@redhat.com>
6888 * src/supplicant-manager/nm-supplicant-settings-verify.c
6889 - Allow fragment_size option
6891 * src/supplicant-manager/nm-supplicant-settings-verify.c
6892 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6893 EAP fragment size than the default to help some TLS connections
6895 2007-11-12 Dan Williams <dcbw@redhat.com>
6897 Make certs actually work. The private key is now a secret, and should be
6898 decrypted when requested by NM. The private key and phase2 private key
6899 passwords are no longer interesting to NM because they should be used by
6900 the settings service to decrypt the private key itself before passing it
6901 to NM, and hence have been removed as fields.
6903 * libnm-util/nm-setting-wireless-security.h
6904 libnm-util/nm-setting-wireless-security.c
6905 - Remove private-key-passwd and phase2-private-key-passwd from
6907 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6908 need_secrets): use property #defines instead strings to keep things
6910 - (need_secrets_tls): if a client certificate is present but no
6911 private key, request the private key
6912 - (set_property, get_property, nm_setting_wireless_security_class_init):
6913 remove private key password stuff, mark private keys as secret
6915 * src/supplicant-manager/nm-supplicant-settings-verify.c
6916 - Remove private_key_passwd and private_key2_passwd from opt_table
6918 2007-11-09 Dan Williams <dcbw@redhat.com>
6920 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6921 Since the vpn-properties are managed and known by the VPN daemons themselves,
6922 libnm-util doesn't know what's secret and what's in the setting's 'data'
6925 * libnm-util/nm-setting.h
6926 libnm-util/nm-setting.c
6927 - Add the ability for subclasses to override update_one_secret
6929 * libnm-util/nm-setting-vpn-properties.c
6930 - Override update_one_secret and just copy the values into the
6933 2007-11-09 Dan Williams <dcbw@redhat.com>
6935 * libnm-glib/nm-settings.h
6936 libnm-glib/nm-settings.c
6937 - (nm_settings_new_error): remove
6938 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6939 clients should use g_set_error() with NM_SETTINGS_ERROR
6941 2007-11-09 Dan Williams <dcbw@redhat.com>
6943 * src/supplicant-manager/nm-supplicant-config.c
6944 - (nm_supplicant_config_add_setting_wireless_security): private key
6945 passwords are never sent to wpa_supplicant, because the supplicant
6946 should never be reading random files from the disk. Clients like
6947 the applet are required to decrypt the private keys and send NM
6948 the decrypted blobs.
6950 2007-11-08 Dan Williams <dcbw@redhat.com>
6952 * libnm-util/nm-setting-wireless-security.h
6953 libnm-util/nm-setting-wireless-security.c
6954 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6955 members to 802-11-wireless-security structure. This should be used
6956 to indicate that the values in private-key and phase2-private-key
6957 are already decrypted by the user agent, and that no
6958 private-key-passwd or phase2-private-key-passwd should be expected.
6959 It is not meant to be a stored configuration value, but meant to
6960 be set when the conneciton is sent to NM over dbus.
6962 2007-11-08 Dan Williams <dcbw@redhat.com>
6964 * libnm-util/nm-connection.h
6965 libnm-util/nm-connection.c
6966 - (nm_connection_need_secrets): add argument to return hints
6968 * src/nm-device-802-11-wireless.c
6969 - (link_timeout_cb, supplicant_connection_timeout_cb,
6970 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6971 nm_connection_need_secrets() change
6973 2007-11-07 Tambet Ingo <tambet@gmail.com>
6975 Rework NMSetting structures: Move each setting to it's own file.
6976 Convert to GObject. Remove home grown setting types and use GTypes.
6977 Use GObject property introspection for hash conversion, enumerating
6980 * libnm-util/nm-setting-connection.[ch]
6981 * libnm-util/nm-setting-ip4-config.[ch]
6982 * libnm-util/nm-setting-ppp.[ch]
6983 * libnm-util/nm-setting-vpn.[ch]
6984 * libnm-util/nm-setting-vpn-properties.[ch]
6985 * libnm-util/nm-setting-wired.[ch]
6986 * libnm-util/nm-setting-wireless.[ch]
6987 * libnm-util/nm-setting-wireless-security.[ch]
6989 New files, each containing a setting.
6991 * libnm-util/nm-setting-template.[ch]: A template for creating new
6992 settings. To use it, just replace 'template' with the new setting
6993 name, and you're half-way done.
6995 * libnm-util/nm-setting.c: Convert to GObject and use GObject
6996 introspection instead of internal types and tables.
6998 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7000 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7001 GValue types defined by dbus-glib for composed types like collections,
7002 structures and maps.
7004 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7005 a setting from connection takes the setting type now. Also, since
7006 the settings are in multiple files, include relevant settings.
7008 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
7011 * src/backends/NetworkManagerGentoo.c:
7012 (nm_system_restart_mdns_responder): Implement restarts for other mdns
7013 providers in Gentoo.
7015 2007-10-31 Dan Williams <dcbw@redhat.com>
7017 * libnm-util/nm-connection.c
7018 - (gvalue_to_string): handle UINT32 arrays
7020 2007-10-31 Dan Williams <dcbw@redhat.com>
7022 * libnm-glib/nm-device.h
7023 libnm-glib/nm-device.c
7024 - (nm_device_get_description): remove
7025 - (nm_device_get_product, nm_device_get_vendor): add
7026 - (nm_device_update_description): new function (private); walk HAL
7027 devices to get product and vendor IDs for a specific device
7029 2007-10-31 Dan Williams <dcbw@redhat.com>
7031 * src/nm-device-802-11-wireless.c
7032 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7034 2007-10-29 Dan Williams <dcbw@redhat.com>
7036 * src/nm-hal-manager.c
7037 - (device_added, device_new_capability): ignore device additions while
7038 asleep. Fixes crash caused when NM goes to sleep, a network device
7039 kernel module is unloaded and reloaded and recognized by NM again.
7041 2007-10-26 Dan Williams <dcbw@redhat.com>
7043 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7045 * src/NetworkManagerAP.c
7046 src/NetworkManagerAP.h
7047 libnm-glib/nm-access-point.c
7048 libnm-glib/nm-access-point.h
7049 - Make 'rate' property a guint32 to better match with WEXT and
7050 wpa_supplicant and to allow representation of higher bitrates
7052 * src/nm-device-802-11-wireless.c
7053 introspection/nm-device-802-11-wireless.xml
7054 libnm-glib/nm-device-802-11-wireless.c
7055 libnm-glib/nm-device-802-11-wireless.h
7056 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7058 * src/nm-device-802-3-ethernet.c
7059 src/nm-device-802-3-ethernet.h
7060 introspection/nm-device-802-3-ethernet.xml
7061 libnm-glib/nm-device-802-3-ethernet.c
7062 libnm-glib/nm-device-802-3-ethernet.h
7063 - Make 'speed' property a guint32 to match other speed/rate types
7064 - Make nm_device_802_3_ethernet_get_speed() static
7067 - Update for the changes above
7069 2007-10-26 Dan Williams <dcbw@redhat.com>
7071 * src/named-manager/nm-named-manager.c
7072 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7073 not calling fclose() twice on some error conditions
7075 2007-10-26 Dan Williams <dcbw@redhat.com>
7077 * src/nm-activation-request.c
7078 - (dispose): clean up indentation; get the right DBusGProxy object to
7079 cancel the GetSecrets pending call on. Need to use the Secrets
7080 proxy, not the regular connection proxy. Otherwise the GetSecrets
7081 pending call doesn't get canceled, and pressing Cancel in the
7082 applet's password dialog could cause get_secrets_cb() to be called
7083 after the activation request has already been destroyed
7085 2007-10-24 Dan Williams <dcbw@redhat.com>
7087 * src/supplicant-manager/nm-supplicant-config.c
7088 - (nm_supplicant_config_add_blob): pass blob data and length for
7090 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7092 2007-10-24 Dan Williams <dcbw@redhat.com>
7094 * src/supplicant-manager/nm-supplicant-settings-verify.c
7095 - (opt_table): max length for certificates should be 65536
7097 2007-10-24 Dan Williams <dcbw@redhat.com>
7099 * src/supplicant-manager/nm-supplicant-interface.c
7100 - (blob_free): correctly free blob data after use
7101 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7103 2007-10-24 Dan Williams <dcbw@redhat.com>
7105 * libnm-util/nm-setting.c
7106 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7107 EAP method need secrets
7109 2007-10-24 Dan Williams <dcbw@redhat.com>
7111 * src/backends/NetworkManagerRedHat.c
7112 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7114 2007-10-23 Dan Williams <dcbw@redhat.com>
7116 * libnm-util/nm-setting.c
7117 libnm-util/nm-setting.c
7118 - (nm_setting_compare): implement
7119 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7120 compare_one_hash_gvalue): compare the contents of a setting
7122 * libnm-util/nm-connection.c
7123 - (nm_connection_compare): implement
7125 2007-10-23 Dan Williams <dcbw@redhat.com>
7127 * src/nm-activation-request.c
7128 - (get_secrets_cb): handle getting a setting back that is more than
7129 just secrets (ie, user changed auth or EAP method or something)
7131 2007-10-23 Dan Williams <dcbw@redhat.com>
7133 * libnm-util/nm-setting.c
7134 libnm-util/nm-setting.h
7135 - (nm_setting_verify): new function; verify one setting
7136 - (nm_settings_verify_all): rename from nm_settings_verify()
7137 - (setting_connection_verify, setting_wireless_verify): allow NULL
7140 * libnm-util/nm-connection.c
7141 - (nm_connection_replace_settings, nm_connection_verify,
7142 nm_connection_new_from_hash): handle nm_settings_verify() rename
7144 2007-10-23 Dan Williams <dcbw@redhat.com>
7146 * src/nm-device-802-11-wireless.c
7147 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7150 2007-10-23 Dan Williams <dcbw@redhat.com>
7152 * src/supplicant-manager/nm-supplicant-settings-verify.c
7153 - eap_allowed, phase2_allowed: harmonize with allowed values from
7156 2007-10-23 Dan Williams <dcbw@redhat.com>
7158 * src/nm-device-802-11-wireless.c
7159 - (real_act_stage2_config): after the first association failure,
7160 if the connection still needs secrets ask the user for them
7161 explicitly. After the fourth association failure due to bad
7162 secrets, fail the connection entirely. Handles the GetSecrets
7163 loop that NM gets into when the provided secrets don't match up
7164 with the connection details.
7166 2007-10-23 Dan Williams <dcbw@redhat.com>
7168 * src/supplicant-manager/nm-supplicant-config.c
7169 - (nm_supplicant_config_add_setting_wireless_security): only add
7170 WPA-specific options when WPA is in use
7172 2007-10-23 Dan Williams <dcbw@redhat.com>
7174 * src/supplicant-manager/nm-supplicant-config.c
7175 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7176 secret doesn't need to be unhexified
7178 2007-10-23 Dan Williams <dcbw@redhat.com>
7180 * libnm-util/nm-setting.c
7181 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7182 before trying to do something with it
7184 2007-10-23 Dan Williams <dcbw@redhat.com>
7186 * src/nm-device-802-11-wireless.c
7187 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7189 2007-10-23 Dan Williams <dcbw@redhat.com>
7191 * src/nm-device-802-11-wireless.c
7192 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7193 non-SSID-broadcasting APs
7195 2007-10-23 Dan Williams <dcbw@redhat.com>
7197 * src/NetworkManagerAP.c
7198 - (match_cipher, security_compatible): remove
7199 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7202 2007-10-23 Dan Williams <dcbw@redhat.com>
7204 * libnm-util/nm-utils.c
7205 libnm-util/nm-utils.h
7206 - (nm_utils_ap_security_compatible): common function for checking
7207 whether a specific AP is compatible with an NMConnection
7209 2007-10-23 Dan Williams <dcbw@redhat.com>
7211 * libnm-util/nm-setting.c
7212 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7213 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7214 need_secrets_password, setting_wireless_security_verify): fix
7215 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7216 secrets logic for each supported EAP method
7218 2007-10-23 Dan Williams <dcbw@redhat.com>
7220 * src/supplicant-manager/nm-supplicant-config.c
7221 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7222 config option name, should be "private_key2_passwd"
7224 2007-10-22 Tambet Ingo <tambet@gmail.com>
7226 Implement support for static IP addresses, additional/overridden DNS and
7227 DNS domain search lists.
7229 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7230 (ip4_addresses_to_gvalue): Implement.
7231 (convert_array_to_byte_array): Implement.
7232 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7233 NM_S_TYPE_IP4_ADDRESSES.
7234 (nm_setting_hash): Ditto.
7235 (default_setting_clear_secrets): Add a default case for the switch: IP address
7236 shouldn't be secret, ever.
7237 (setting_ip4_config_verify): Update, requires addresses in case of manual
7239 (setting_ip4_config_destroy): Free stuff.
7241 * src/nm-device.c (merge_ip4_config): Implement.
7242 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7244 2007-10-22 Dan Williams <dcbw@redhat.com>
7246 * libnm-util/nm-setting.c
7247 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7248 pairwise cipher options for Dynamic WEP
7250 2007-10-21 Dan Williams <dcbw@redhat.com>
7252 * src/NetworkManagerAP.c
7253 src/NetworkManagerAP.h
7254 - Rename 'articifical' -> 'fake' since that's what they are until
7256 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7257 from the attributes in an NMConnection object
7258 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7260 - (nm_ap_match_in_list): find a matching AP in a scan list
7262 * src/nm-device-802-11-wireless.c
7263 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7264 AP when searching the scan list; match on frequency and mode too
7265 - (nm_device_802_11_wireless_get_frequency): implement
7266 - (merge_scanned_ap): replace duplicate matching logic with
7267 nm_ap_match_in_list()
7268 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7269 the user is trying to connect to a hidden network that is not yet
7270 known from the scan list
7271 - (activation_success_handler): now that the card knows the AP's BSSID,
7272 there may already be a scanned AP in the scan list that is what
7273 we really wanted to connect to, but didn't know at the time. Use
7274 that instead of the 'fake' AP created at activation start and get
7275 rid of the 'fake' AP
7276 - (cull_scan_list): don't remove fake APs
7278 2007-10-21 Dan Williams <dcbw@redhat.com>
7280 * src/nm-activation-request.h
7281 src/nm-activation-request.c
7282 - (nm_act_request_set_specific_object): new function; allow setting the
7283 specific object if one isn't set yet
7285 2007-10-20 Dan Williams <dcbw@redhat.com>
7287 * src/supplicant-manager/nm-supplicant-config.h
7288 src/supplicant-manager/nm-supplicant-config.c
7289 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7290 table to store blobs
7291 - (nm_supplicant_config_add_blob): new function; add blob to internal
7293 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7294 - (nm_supplicant_config_add_setting_wireless_security): handle
7295 options that use certificates (ie, blobs)
7297 * src/nm-device-802-11-wireless.c
7298 - (build_supplicant_config): pass a UID (just use the connection path)
7299 to the supplicant config as now required
7301 * src/supplicant-manager/nm-supplicant-interface.c
7302 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7303 there are any blobs to send to wpa_supplicant, send those first
7304 before sending the network configuration
7306 2007-10-19 Dan Williams <dcbw@redhat.com>
7308 Split the GetSecrets() call off to a separate D-Bus interface so that it
7309 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
7310 should be able to call GetSecrets().
7312 * include/NetworkManager.h
7313 - Define the connection secrets D-Bus interface
7315 * src/vpn-manager/nm-vpn-connection.c
7316 - (clear_need_auth): get the right proxy object for the connection
7318 - (get_connection_secrets): use the connection secrets proxy; send
7319 empty hints in get secrets request
7321 * src/nm-activation-request.c
7322 - (nm_act_request_request_connection_secrets): use the connection
7323 secrets proxy; send empty hints in get secrets request
7327 - (connection_get_settings_cb): set the connection secrets proxy on
7328 the connection object too
7329 - (internal_new_connection_cb): create the connection secrets proxy
7331 * introspection/nm-settings-connection.xml
7332 - Define Connection.Secrets interface and move GetSecrets there
7333 - Add a 'hints' argument to GetSecrets
7335 * libnm-glib/nm-settings.c
7336 libnm-glib/nm-settings.h
7337 - (impl_connection_settings_get_secrets): add 'hints' argument
7339 2007-10-19 Dan Williams <dcbw@redhat.com>
7342 - (constructor): add message about what path a device is exported as
7343 to help in debugging rh #339011
7345 2007-10-17 Dan Williams <dcbw@redhat.com>
7347 * libnm-util/nm-utils.h
7348 libnm-util/nm-utils.c
7349 - (nm_utils_security_valid): common function to help find the intersection
7350 of capabilities of devices and (optionally) access points
7352 2007-10-17 Dan Williams <dcbw@redhat.com>
7354 * src/nm-device-802-11-wireless.c
7355 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7356 don't get erroneously cleared
7358 2007-10-17 Dan Williams <dcbw@redhat.com>
7362 src/nm-hal-manager.c
7363 - (device_removed, finalize, nm_manager_remove_device,
7364 nm_manager_sleep): add a 'deactivate' argument to
7365 nm_manager_remove_device() to fully deactivate devices when necessary
7366 (ie, always except when waking up)
7368 2007-10-16 Dan Williams <dcbw@redhat.com>
7370 * libnm-util/nm-setting.c
7371 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7372 also isn't valid phase2 autheap method
7374 2007-10-16 Dan Williams <dcbw@redhat.com>
7376 * libnm-glib/nm-client.c
7377 - (update_wireless_status): consolidate updates of wireless status
7378 - (constructor): use update_wireless_status()
7379 - (manager_running): set wireless status off when NM goes away; requery
7380 the wireless status when NM comes back
7382 2007-10-16 Dan Williams <dcbw@redhat.com>
7384 * libnm-glib/nm-client.c
7385 - (nm_client_activate_device): actually use the fixed-up specific
7388 2007-10-16 Dan Williams <dcbw@redhat.com>
7390 * src/nm-hal-manager.c
7391 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7392 killswitch error messages once
7394 2007-10-16 Dan Williams <dcbw@redhat.com>
7397 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7398 if it's disabled in hardware; don't touch network devices while
7401 2007-10-16 Dan Williams <dcbw@redhat.com>
7403 * libnm-util/nm-client.c
7404 - (nm_client_activate_device): convert NULL specific_object to "/",
7405 which is used in place of NULL
7408 - (impl_manager_activate_device): convert "/" specific_object back into
7411 2007-10-16 Tambet Ingo <tambet@gmail.com>
7413 Implement a generic NMSetting creator from setting name.
7414 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7415 add a virtual function 'populate_fn'.
7417 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7418 (register_default_creators): Register setting creators instead of functions
7419 that create and then populate.
7420 (parse_one_setting): Use the common setting creator and then setting specific
7421 poplulation function.
7423 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7424 they all looked exactly the same.
7425 Add a 'populate_fn' virtual function to NMSetting.
7426 Use default virtual functions in case they are not overriden.
7427 (nm_setting_populate_from_hash): Implement.
7429 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7430 name, use a defined string.
7431 (real_act_stage4_get_ip4_config): Ditto.
7433 2007-10-16 Tambet Ingo <tambet@gmail.com>
7435 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7436 HAL is int, not uint.
7438 2007-10-15 Tambet Ingo <tambet@gmail.com>
7440 Implement killswitch polling through HAL.
7442 * src/nm-manager.c: Add wireless hardware status property. Add
7443 'properties-changed' signal for changes in wireless and wireless hardware
7446 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7447 and update NMManager's wireless hardware state when it has changed.
7448 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7451 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7452 values of wireless state and wireless hardware state. Listen for the
7453 'properties-changed' signals, update the cached values and emit notify.
7455 * include/NetworkManager.h: Fix a typo in a comment.
7457 2007-10-14 Dan Williams <dcbw@redhat.com>
7459 * libnm-util/nm-setting.c
7460 - (setting_wireless_security_need_secrets): handle LEAP secrets
7462 2007-10-13 Dan Williams <dcbw@redhat.com>
7464 * libnm-util/nm-setting.h
7465 libnm-util/nm-setting.c
7466 src/supplicant-manager/nm-supplicant-config.c
7467 - Make the 'proto' field of the 802-11-wireless-security field a
7470 2007-10-12 Tambet Ingo <tambet@gmail.com>
7472 Rework the "properties-changed" signal listening implementation.
7473 Add a generic implementation to NMObject class that listens for
7474 the signal and calls property setters of the target NMObject.
7476 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7478 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7479 code to the end of file so that all the static functions are available
7480 without extra declarations.
7481 Remove the "properties-changed" signal handling and use the framework from
7483 Implement property setters for properties that change with
7484 "properties-changed" signal.
7486 * libnm-glib/nm-access-point.c: Ditto.
7488 2007-10-12 Tambet Ingo <tambet@gmail.com>
7490 Rework the "properties-changed" signal implementation.
7491 In classes that need to use it, just emit "GObject::notify" and the new
7492 framework takes care of the rest to make the signal available on dbus.
7493 The framework queues the notifications and tries to send as many together
7494 in one signal as possible.
7496 * src/nm-properties-changed-signal.c:
7497 * src/nm-properties-changed-signal.h: Implement.
7499 * src/Makefile.am: Add new files to build.
7501 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7504 * src/nm-device-802-11-wireless.c: Ditto.
7506 2007-10-10 Dan Williams <dcbw@redhat.com>
7509 - (wait_for_connection_expired): ensure info is valid
7510 - (connection_added_default_handler): Should only remove pending
7511 connection info when the manager has the connection that it's
7512 waiting for. Fixes segfault in wait_for_connection_info().
7514 2007-10-10 Dan Williams <dcbw@redhat.com>
7516 * libnm-util/nm-setting.c
7517 libnm-util/nm-setting.h
7518 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7519 can use if they choose. Should be filled in by the settings service
7520 on-the-fly with the currently logged in user's username
7522 2007-10-10 Dan Williams <dcbw@redhat.com>
7524 * src/nm-device-802-11-wireless.c
7525 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7526 as such, because even if the manager fills in the SSID, NM still
7527 has to indicate to wpa_supplicant that the AP isn't broadcasting
7530 2007-10-10 Tambet Ingo <tambet@gmail.com>
7532 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7533 code that used NM's own version of dbus signal handling and custom dictionary
7534 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7535 and we get to maintain over 2000 lines less code.
7537 * libnm-util/dbus-dict-helpers.c:
7538 * libnm-util/dbus-dict-helpers.h: Remove.
7540 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7542 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7544 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7547 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7549 * configure.in: Remove test/libnm-util/Makefile creation.
7551 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7553 * test/libnm-util/: Remove the whole directory.
7555 2007-10-10 Tambet Ingo <tambet@gmail.com>
7557 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7558 device_state_changed_idle_id variable or it would contain some random value and the
7559 schedule_change_check calls would not do anything.
7561 2007-10-09 Dan Williams <dcbw@redhat.com>
7563 * src/nm-device-802-11-wireless.c
7564 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7565 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7566 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7567 merging of non-SSID-broadcasting APs
7569 2007-10-09 Tambet Ingo <tambet@gmail.com>
7571 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7572 "guint8 *" since it's usually used with GByteArray->data.
7573 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7575 2007-10-09 Tambet Ingo <tambet@gmail.com>
7577 * src/NetworkManagerUtils.c
7578 (nm_utils_is_empty_ssid):
7579 (nm_utils_escape_ssid):
7580 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7581 lot of places, so they belong to libnm-utils instead.
7583 Now with 100% less compiler warnings:
7585 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7586 (nm_dbus_unescape_object_path): Ditto.
7587 (nm_utils_ssid_to_utf8): Ditto.
7588 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7589 (nm_utils_escape_ssid): Ditto.
7590 (nm_utils_same_ssid): Ditto.
7592 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7593 (add_one_connection_element): Remove an unused variable.
7594 (impl_manager_get_active_connections): Ditto.
7596 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7599 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7600 from the previous commit.
7602 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7603 (real_act_stage1_prepare): Ditto.
7604 (activation_success_handler): Ditto.
7605 (get_property): Ditto.
7607 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7610 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7613 * src/supplicant-manager/nm-supplicant-config.c
7614 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7615 to expected "char *".
7616 (nm_supplicant_config_add_setting_wireless): Ditto.
7617 (nm_supplicant_config_remove_option): Remove, not used.
7619 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7621 (test_wireless_enabled): Ifdef out unused function.
7622 (device_deactivate): Ditto.
7623 (device_state_changed): Ditto.
7624 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7625 (nm_utils_escape_ssid): Ditto.
7627 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7628 (nm_utils_is_empty_ssid): Ditto.
7630 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7633 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7634 (setting_vpn_properties_update_secrets): Ditto.
7635 (int_to_gvalue): Ifdef out for now, not used.
7636 (byte_to_gvalue): Ditto.
7638 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
7641 2007-10-08 Tambet Ingo <tambet@gmail.com>
7643 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7644 about dbus manager, not named manager.
7645 Make sure hal_manager and dbus_mgr are created before trying to unreference.
7647 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7648 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7649 However, the same signal is emitted when we destroy it and there's
7650 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7652 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7653 releasing the DBusGConnection, since proxy needs a conneciton.
7654 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7656 2007-10-08 Dan Williams <dcbw@redhat.com>
7658 * src/NetworkManager.c
7659 - (main): error on unknown command-line options
7661 2007-10-08 Dan Williams <dcbw@redhat.com>
7663 Reimplement the invalid connection list. Don't try to re-activate a
7664 connection that just failed or was canceled.
7667 - (connection_secrets_failed_cb): fail device activation, don't just
7668 deactivate the device. Listeners have to know about the failure.
7670 * src/NetworkManagerPolicy.c
7671 - (nm_policy_auto_get_best_device): exclude invalid connections from
7672 the connection list given to a device's get_best_connection()
7674 - (device_state_changed): tag failed connections as invalid; clear the
7675 tag from successful connections
7677 2007-10-08 Dan Williams <dcbw@redhat.com>
7679 Fix problems with interrupted activation. Previously, choosing an AP
7680 from the menu, then choosing another one before the first connection was
7681 successful wouldn't deactivate the device before starting the new connection
7682 on that same device.
7684 * src/NetworkManagerPolicy.c
7685 - (deactivate_old_device, device_state_changed, state_changed,
7686 nm_policy_new): wrong place to deactivate old devices
7689 - (pending_connection_info_destroy, finalize,
7690 wait_for_connection_expired): decouple destruction of the pending
7691 connection info from the manager device
7692 - (connection_added_default_handler): deactivate any active or
7693 activating device before starting a new activation
7694 - (impl_manager_activate_device): deactivate any active or activating
7695 device before starting a new activation; be sure not to leak
7696 pending connection info if a new activation request arrives but
7697 there's already a pending one in-process
7699 2007-10-08 Dan Williams <dcbw@redhat.com>
7701 * src/NetworkManagerAP.h
7702 src/NetworkManagerAP.c
7703 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
7704 should handle default SSIDs and whether or not to autoconnect
7707 2007-10-08 Dan Williams <dcbw@redhat.com>
7709 * src/NetworkManagerPolicy.c
7710 - (nm_policy_device_change_check): print out connection name where
7713 2007-10-08 Dan Williams <dcbw@redhat.com>
7715 * src/nm-device-802-11-wireless.c
7716 src/nm-device-802-11-wireless.h
7717 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7718 'hidden-ap-found' signal (for internal use only) that allows the
7719 NMManager to fill in the AP's SSID if a connection has that AP's
7720 BSSID in its seen-bssids list
7723 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7724 wireless device's hidden-ap-found signal and fill in the APs SSID
7727 2007-10-07 Dan Williams <dcbw@redhat.com>
7731 - Add a 'connections-added' signal to batch together updates of large
7732 numbers of connections, like when reading from a settings service
7733 the first time. Otherwise, the policy would just activate the first
7734 suitable connection it saw rather than waiting for the full list
7736 - (nm_manager_class_init): register new signal
7737 - (get_type_for_proxy, connection_get_settings_cb,
7738 get_connection_for_proxy): centralize places where a proxy's setting
7739 service is determined
7740 - (free_get_settings_info): if the call being freed is the last call
7741 in a pending call group, fire off the connections-added signal
7742 - (internal_new_connection_cb): add call to a pending call group if
7744 - (list_connections_cb): always create a call group here, because this
7745 call results in a batch of new connections
7746 - (initial_get_connections): start getting system connections first
7747 - (nm_manager_connections_destroy, emit_removed): actually emit the
7748 removed signal when destroying connections
7750 * src/NetworkManagerPolicy.c
7751 - (nm_policy_new, connections_added): handle connections-added signal
7754 2007-10-06 Dan Williams <dcbw@redhat.com>
7756 * src/nm-device-802-11-wireless.c
7757 - (constructor): fix leaked socket
7759 2007-10-06 Dan Williams <dcbw@redhat.com>
7761 * src/NetworkManagerPolicy.c
7762 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
7763 connection in the list returned by nm_manager_get_connections() is
7764 reffed, but they weren't getting unreffed before returning
7766 2007-10-06 Dan Williams <dcbw@redhat.com>
7769 - (connections_to_slist): sort connections first on autoconnect, then
7772 2007-10-06 Dan Williams <dcbw@redhat.com>
7774 * libnm-util/nm-connection.c
7775 - (gvalue_to_string): handle UINT64
7777 2007-10-06 Dan Williams <dcbw@redhat.com>
7779 * src/NetworkManagerPolicy.c
7780 - (connection_updated, nm_policy_new): recheck state when a connection
7783 2007-10-06 Dan Williams <dcbw@redhat.com>
7787 - (nm_manager_get_connection_dbus_path): make static
7788 - (nm_manager_update_connections): remove; unused
7789 - Add a connection-updated signal
7790 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7791 handle connection object updates
7793 2007-10-06 Dan Williams <dcbw@redhat.com>
7795 * src/NetworkManagerPolicy.c
7796 - (connection_removed): deactivate removed connections
7798 2007-10-06 Dan Williams <dcbw@redhat.com>
7800 * libnm-util/nm-connection.c
7801 libnm-util/nm-connection.h
7802 - (nm_connection_replace_settings): new function
7804 2007-10-06 Dan Williams <dcbw@redhat.com>
7806 * libnm-glib/nm-device-802-11-wireless.c
7807 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7808 on error when getting the active access point over D-Bus from NM
7810 2007-10-05 Dan Williams <dcbw@redhat.com>
7812 * libnm-util/nm-setting.c
7813 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7814 to the NMSettingWireless table; it's now a string array not an array
7817 2007-10-05 Dan Williams <dcbw@redhat.com>
7819 * libnm-glib/nm-device-802-11-wireless.c
7820 - Cache properties and update cached properties on D-Bus signals from NM
7822 2007-10-05 Dan Williams <dcbw@redhat.com>
7824 * src/nm-device-802-11-wireless.c
7825 - (set_current_ap): consolidate current_ap handling code into one place
7826 to ensure that PropertiesChanged signals are emitted in all cases
7827 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7828 nm_device_802_11_wireless_dispose): use set_current_ap()
7830 2007-10-05 Dan Williams <dcbw@redhat.com>
7832 * libnm-glib/nm-access-point.c
7833 libnm-glib/nm-access-point.h
7834 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7835 because the value is cached internally now. Callers should not
7836 free the internal value.
7837 - Make signal name defines private
7840 libnm-glib/libnm-glib-test.c
7841 - Don't free value returned from nm_access_point_get_hw_address()
7843 2007-10-04 Dan Williams <dcbw@redhat.com>
7845 * introspection/nm-device-802-11-wireless.xml
7846 src/nm-device-802-11-wireless.h
7847 src/nm-device-802-11-wireless.c
7848 - Add a PropertiesChanged signal for wireless device
7849 - Store currently associated access point
7850 - (periodic_update): generalize; update rate here too and emit the
7851 correct PropertiesChanged signal when stuff changes
7852 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7853 real_activation_cancel_handler): clear current_ap when device is
7855 - (link_to_specific_ap, get_ap_blacklisted,
7856 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7858 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7860 - (real_set_hw_address): emit property changed signal if the card's
7862 - (real_act_stage1_prepare): set the initial current_ap to the AP
7863 the card is supposed to be connecting to
7864 - (activation_success_handler): send out property updates on successful
7866 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7867 for ACTIVE_ACCESS_POINT property because sometimes there won't be
7868 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7869 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7870 is now boxed; add PropertiesChanged signal
7872 2007-10-04 Dan Williams <dcbw@redhat.com>
7874 * libnm-util/nm-connection.c
7875 libnm-util/nm-connection.h
7876 - (nm_connection_verify): new function
7878 2007-10-04 Dan Williams <dcbw@redhat.com>
7880 * libnm-util/nm-setting.c
7881 - (nm_settings_verify): use #defines when possible rather than strings
7882 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7883 - (setting_vpn_verify): tighter validity check on 'service_type'
7885 2007-10-04 Dan Williams <dcbw@redhat.com>
7887 * libnm-glib/nm-settings.c
7888 - (nm_connection_settings_class_init): provide correct type for argument
7889 to the Updated signal so that dbus-glib knows how to marshal it
7891 2007-10-03 Dan Williams <dcbw@redhat.com>
7893 * src/nm-device-802-3-ethernet.c
7894 - (real_get_best_connection): don't create automatic connections
7895 internally; clients should provide a setting that applies to
7896 the device with 'autoconnect: True'. Problem was that these
7897 internally auto-created connections don't have a proxy or service
7898 name becuase they weren't created by a settings daemon, and therefore
7899 clients have no idea what to do with them.
7901 2007-10-03 Dan Williams <dcbw@redhat.com>
7903 * src/nm-device-802-11-wireless.c
7904 src/nm-device-802-11-wireless.h
7905 introspection/nm-device-802-11-wireless.xml
7906 - GetActiveNetworks -> GetAccessPoints
7907 - ActiveNetwork -> ActiveAccessPoint
7908 - NetworkAdded -> AccessPointAdded
7909 - NetowrkRemoved -> AccessPointRemoved
7911 * libnm-glib/nm-device-802-11-wireless.c
7912 libnm-glib/nm-device-802-11-wireless.h
7913 - network-added signal -> access-point-added
7914 - network-removed signal -> access-point-removed
7915 - nm_device_802_11_wireless_get_active_network() ->
7916 nm_device_802_11_wireless_get_active_access_point()
7917 - nm_device_802_11_wireless_get_network_by_path() ->
7918 nm_device_802_11_wireless_get_access_point_by_path()
7919 - nm_device_802_11_wireless_get_networks() ->
7920 nm_device_802_11_wireless_get_access_points()
7922 * libnm-glib/libnm-glib-test.c
7924 src/NetworkManagerPolicy.c
7925 - Fixups for Network -> AccessPoint
7927 2007-10-03 Dan Williams <dcbw@redhat.com>
7929 Add a GetActiveConnections() method on the Manager object.
7933 introspection/nm-manager.xml
7934 - (connection_get_settings_cb): keep connection type around too
7935 - (impl_manager_get_active_connections, add_one_connection_element):
7936 implement; returns all active connections and what devices they
7939 * libnm-glib/nm-client.c
7940 libnm-glib/nm-client.h
7941 introspection/nm-manager-client.xml
7942 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7943 by the caller; free here to avoid memory leak
7944 - (nm_client_get_active_connections): implement; return the list of
7946 - (nm_client_free_active_connection_element): implement; free an element
7947 of the GSList returned by nm_client_get_active_connections()
7949 2007-10-03 Dan Williams <dcbw@redhat.com>
7951 * src/nm-device-802-11-wireless.c
7952 - (nm_device_802_11_wireless_update_bssid): remove
7953 - (get_active_ap): new function; find the AP in the scan list which
7954 matches the current BSSID and SSID of the wireless device
7955 - (nm_device_802_11_periodic_update): get current AP using
7956 get_active_ap() and print AP roam messages
7958 2007-10-01 Dan Williams <dcbw@redhat.com>
7960 * libnm-util/nm-setting.h
7961 - Add a 'timestamp' option to NMSettingConnection
7964 * libnm-util/nm-setting.c
7965 - (uint64_to_gvalue): new function
7966 - (nm_setting_populate_from_hash, nm_setting_hash,
7967 default_setting_clear_secrets): handle UINT64 type
7968 - con_table: add 'timestamp' member
7970 2007-10-01 Dan Williams <dcbw@redhat.com>
7973 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7974 value when the connection can be activated immediately
7976 2007-10-01 Dan Williams <dcbw@redhat.com>
7978 * libnm-glib/nm-device.c
7979 - (nm_device_class_init): actually tell glib about the carrier-changed
7982 2007-10-01 Dan Williams <dcbw@redhat.com>
7985 src/marshallers/Makefile.am
7986 src/marshallers/nm-marshal.list
7987 src/marshallers/nm-marshal-main.c
7988 - Consolidate glib marshallers into one place
7990 * src/dhcp-manager/Makefile.am
7991 src/dhcp-manager/nm-dhcp-manager.c
7992 src/supplicant-manager/Makefile.am
7993 src/supplicant-manager/nm-supplicant-manager.c
7994 src/supplicant-manager/nm-supplicant-interface.c
7995 src/ppp-manager/Makefile.am
7996 src/ppp-manager/nm-ppp-manager.c
7997 src/vpn-manager/Makefile.am
7998 src/vpn-manager/nm-vpn-connection.c
8000 - Use consolidated marshallers
8002 * src/dhcp-manager/nm-dhcp-marshal.list
8003 src/dhcp-manager/nm-dhcp-marshal-main.c
8004 src/supplicant-manager/nm-supplicant-marshal-main.c
8005 src/supplicant-manager/nm-supplicant-marshal.list
8006 src/nm-marshal-main.c
8008 src/ppp-manager/nm-ppp-marshal-main.c
8009 src/ppp-manager/nm-ppp-marshal.list
8010 src/vpn-manager/nm-vpn-marshal-main.c
8011 src/vpn-manager/nm-vpn-marshal.list
8014 2007-10-01 Dan Williams <dcbw@redhat.com>
8016 * include/NetworkManagerVPN.h
8017 - define VPN connection state change reason codes
8019 * src/vpn-manager/Makefile.am
8020 src/vpn-manager/nm-vpn-marshal.list
8021 src/vpn-manager/nm-vpn-marshal-main.c
8022 - Add marshallers for StateChanged signal
8024 * introspection/nm-vpn-connection.xml
8025 - New Banner property
8026 - StateChanged signal now includes a 'reason' argument
8028 * src/vpn-manager/nm-vpn-connection.c
8029 src/vpn-manager/nm-vpn-connection.h
8030 - Add a "Banner" property that contains the returned VPN server login
8031 banner (if any); valid only in the ACTIVATED state
8032 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8033 a 'reason' argument and emits that reason along with the
8034 state-changed signal
8035 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8036 - (nm_vpn_connection_ip4_config_get): save banner for later
8037 - (nm_vpn_connection_get_banner, get_property,
8038 nm_vpn_connection_class_init): implement Banner property
8040 * src/vpn-manager/nm-vpn-service.c
8041 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8042 connection list because elements may get added/removed from it
8043 while iterating over the list
8044 - (connection_state_changed): signal now includes the 'reason' argument
8046 * libnm-glib/nm-vpn-connection.c
8047 libnm-glib/nm-vpn-connection.h
8048 - (nm_vpn_connection_get_banner): new function
8049 - (state_changed_proxy): handle reason argument
8051 2007-09-28 Tambet Ingo <tambet@gmail.com>
8055 Implement device activation through NMManager.
8056 Implement "pending device activation" here - If the connection isn't found,
8057 we try to wait for up to 5 seconds for the connection to be provided.
8058 Add NMConnectionType argument to "connection-added" and "connection-removed"
8060 (nm_manager_get): Remove. Finally.
8062 * src/nm-activation-request.c:
8063 * src/nm-activation-request.h:
8064 Remove all the deferred activation code.
8066 * src/nm-device.c: Remove all the deferred activation code. Once the device
8067 activation is started, it's started. Update the activation virtual function
8070 * src/nm-device-interface.c:
8071 * src/nm-device-interface.h:
8072 Device activation now takes only NMActRequest argument.
8073 Don't expose device activation directly on dbus, it's supposed to go through
8076 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8078 Use the new device activation methods through NMManager.
8080 * introspection/nm-manager-client.xml:
8081 * introspection/nm-manager.xml:
8082 * libnm-glib/nm-client.c:
8083 * libnm-glib/nm-client.h:
8084 Add device activation method.
8086 * libnm-glib/nm-device.c:
8087 * libnm-glib/nm-device.h:
8088 * introspection/nm-device.xml:
8089 Remove device activation method. It's done through NMManager now.
8091 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8092 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8094 2007-09-28 Dan Williams <dcbw@redhat.com>
8096 * libnm-glib/nm-vpn-connection.c
8097 - (nm_vpn_connection_get_state): try to update state if the current
8100 2007-09-27 Dan Williams <dcbw@redhat.com>
8102 Patch from Bill Nottingham
8104 * src/supplicant-manager/nm-supplicant-config.c
8105 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8106 data to the supplicant
8108 2007-09-27 Dan Williams <dcbw@redhat.com>
8110 * src/NetworkManagerSystem.c
8111 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8112 and all address manipulation here should be happening on the
8113 _VPN_ device, not the active device
8115 2007-09-26 Dan Williams <dcbw@redhat.com>
8119 src/nm-activation-request.c
8120 src/nm-activation-request.h
8121 - Move the GetSecrets stuff out of the NMManager instance because it
8122 doesn't really need to be there and complicates things
8125 - (connection_secrets_failed_cb, device_activation_go): connect to the
8126 connection-secrets-failed signal and deactivate the device if
8127 the GetSecrets call fails
8129 * src/nm-device-802-11-wireless.c
8130 - (link_timeout_cb, supplicant_connection_timeout_cb,
8131 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8132 secrets and give correct hints about whether new secrets should be
8133 asked for by the client or not
8135 2007-09-26 Dan Williams <dcbw@redhat.com>
8137 * src/vpn-manager/nm-vpn-connection.c
8138 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8139 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8140 to the secrets-updated signal of the NMConnection since updating
8141 the secrets is done within the scope of the NMVPNConnection object
8143 - (get_connection_secrets): fix an uninialized variable usage error
8145 2007-09-26 Dan Williams <dcbw@redhat.com>
8147 * libnm-util/nm-setting.c
8148 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8149 actually get updated when the user enters them
8151 2007-09-26 Dan Williams <dcbw@redhat.com>
8153 * libnm-glib/nm-vpn-plugin.c
8154 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8156 2007-09-26 Dan Williams <dcbw@redhat.com>
8158 * include/NetworkManagerVPN.h
8159 - Add a NEED_AUTH state
8161 * src/vpn-manager/nm-vpn-connection.c
8162 - Implement the NEED_AUTH state. First ask the VPN service plugin if
8163 the connection needs secrets, and if so, then ask the settings
8164 service to fill in the secrets. Then start the connection.
8166 2007-09-26 Dan Williams <dcbw@redhat.com>
8168 * src/vpn-manager/nm-vpn-manager.c
8169 - (new_vpn_error, impl_vpn_manager_connect): set errors
8171 2007-09-26 Dan Williams <dcbw@redhat.com>
8173 * introspection/nm-vpn-plugin.xml
8174 libnm-glib/nm-vpn-plugin.c
8175 libnm-glib/nm-vpn-plugin.h
8176 - (impl_vpn_plugin_need_secrets): implement a call that should return
8177 the name of the NMSetting in an NMConnection that may require
8178 secrets specific to that VPN plugin
8180 2007-09-26 Dan Williams <dcbw@redhat.com>
8184 - (nm_manager_get_connection_secrets): make static, unused outside
8186 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8188 2007-09-26 Tambet Ingo <tambet@gmail.com>
8190 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8192 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8193 unreference the connection.
8195 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8196 passing properties hash and routes string list, pass NMConnection (in hashed form).
8198 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8199 as GSList, no need to copy stuff around anymore.
8200 (nm_vpn_connection_activate): Update the plugin activation method.
8202 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8203 routes argument to GSList.
8205 2007-09-26 Tambet Ingo <tambet@gmail.com>
8207 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8208 state and try to get the secrets.
8210 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8211 connections from NMManager and let the device to choose the best from the list.
8212 Since the connection list is sorted by system ones first and user ones later,
8213 the devices still prefer system connections like they did before.
8214 (deactivate_old_device): Implement. When a device starts activation, we have a
8215 policy (for now at least) to deactivate any other device that might be either
8216 active or still activating.
8218 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8219 It's set on construction, there will be no other way to access it.
8221 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8222 device events and drive the device, not the other way around.
8224 * src/nm-device-802-3-ethernet.c: Ditto.
8226 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8227 sent along, pass it on to virtual functions.
8229 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8230 for now, but should really be public instead of nm_device_get_iface() since iface
8231 is a property of the DeviceInterface, not Device.
8232 (impl_device_activate): Don't touch NMManager!
8234 2007-09-26 Jürg Billeter <j@bitron.ch>
8236 * initscript/paldo/NetworkManager.in:
8237 * initscript/paldo/NetworkManagerDispatcher.in:
8238 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8239 (nm_system_flush_loopback_routes): update paldo backend
8241 2007-09-26 Tambet Ingo <tambet@gmail.com>
8243 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8244 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8245 which means none of the devices get brought down properly, which in turn leaves
8246 DHCP client running.
8248 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8249 (supplicant_connection_timeout_cb): Ditto.
8251 2007-09-25 Dan Williams <dcbw@redhat.com>
8254 - (device_activation_go): small hack to work around race when
8255 activating deferred connections; should solve this in a better way
8257 2007-09-25 Dan Williams <dcbw@redhat.com>
8259 * introspection/nm-device.xml
8260 libnm-glib/nm-device.c
8261 libnm-glib/nm-device.h
8262 - Add 'Carrier' property to exported NMDevice objects
8264 * src/nm-device-interface.h
8265 src/nm-device-interface.c
8267 - Add a 'carrier' property to internal NMDevice objects
8269 2007-09-25 Dan Williams <dcbw@redhat.com>
8271 * src/nm-device-802-11-wireless.c
8272 - (ap_auth_enforced): also return the encryption status of the AP so
8273 that callers can differentiate easily between unencrypted APs
8274 and encrypted ones, in addition to whether the AP has an
8276 - (link_timeout_cb, supplicant_connection_timeout_cb,
8277 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8278 previously would request secrets from unencrypted APs at times
8280 2007-09-25 Dan Williams <dcbw@redhat.com>
8283 - (nm_manager_update_state): new function; updates state and emits
8284 appropriate signals ensuring a state-change signal for the same state
8285 never gets emitted twice in a row.
8286 - (manager_device_state_changed): handle more device state to get a
8287 better picture of the overall NM state
8289 2007-09-25 Dan Williams <dcbw@redhat.com>
8291 * libnm-glib/nm-settings.c
8292 libnm-glib/nm-settings.h
8293 - (new_error -> nm_settings_new_error): make public so that subclasses
8294 can use the same error domain. Also pass a valid error code to
8295 g_error_new_literal() so that libdbus doesn't assert when converting
8296 the GError into a DBusError
8297 - (impl_settings_list_connections, impl_connection_settings_get_id,
8298 impl_connection_settings_get_settings,
8299 impl_connection_settings_get_secrets): use new error creator
8302 2007-09-25 Dan Williams <dcbw@redhat.com>
8304 * src/NetworkManager.c
8305 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8307 2007-09-25 Dan Williams <dcbw@redhat.com>
8309 * src/supplicant-manager/nm-supplicant-manager.c
8310 - (poke_supplicant_cb, nm_supplicant_manager_init,
8311 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8312 nm_supplicant_manager_startup): when the supplicant isn't running,
8313 try to start it periodically via system bus activation. Fixes
8314 a problem where if wpa_supplicant goes away, NM gets stuck waiting
8315 for the supplicant to come back
8317 2007-09-25 Dan Williams <dcbw@redhat.com>
8319 Ensure that old activation requests are forgotten about; previously
8320 hitting Cancel in the password dialog would deactivate whatever device
8321 that password was requested for, even if that wasn't the currently
8322 activating connection.
8326 - (nm_manager_get_connection_secrets): track the pending call
8327 object so it can be canceled later if needed
8328 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8329 GetSecrets call for a particular connection
8331 * src/nm-activation-request.c
8332 - (dispose): cancel any outstanding GetSecrets calls on the
8335 2007-09-25 Dan Williams <dcbw@redhat.com>
8337 * src/NetworkManagerPolicy.c
8338 - (nm_policy_device_change_check): handle devices that have a
8339 deferred activation. These devices are not really active _yet_,
8340 but need to be treated as such here. Don't interrupt them
8343 * src/nm-device-interface.c
8344 - (impl_device_activate): handle devices that have a deferred activation
8345 like activating or active devices. When multiple active devices
8346 get committed, the device shouldn't be deactivated until the
8347 connection details are available to avoid DoS and such. Currently,
8348 any active, activating, or deferred activation device is deactivated
8349 here before starting the new activation request.
8351 2007-09-25 Dan Williams <dcbw@redhat.com>
8353 Properly re-query secrets from the settings daemon when stuff fails.
8355 * src/nm-device-802-11-wireless.c
8356 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8357 between Shared Key and Open System auth modes
8358 - (link_timeout_cb, supplicant_connection_timeout_cb,
8359 real_act_stage4_ip_config_timeout): clear existing secrets and
8360 request new ones when something fails due to a suspected wrong key
8361 - (real_act_stage2_config): fix for new request_new argument to
8362 nm_manager_get_connection_secrets()
8366 - (nm_manager_get_connection_secrets): return error status; pass
8367 new request_new argument on to the settings daemon
8369 * introspection/nm-settings-connection.xml
8370 - New 'request_new' argument to the GetSecrets call that hints to the
8371 settings daemon to ask the user for completely new secrets
8373 * libnm-glib/nm-settings.c
8374 libnm-glib/nm-settings.h
8375 - (impl_connection_settings_get_secrets): handle new 'request_new'
8378 2007-09-25 Dan Williams <dcbw@redhat.com>
8380 * libnm-util/nm-connection.c
8381 libnm-util/nm-connection.h
8382 - (nm_connection_clear_secrets): new function; clear secrets out of
8383 each NMSetting in an NMConnection
8385 * libnm-util/nm-setting.h
8386 libnm-util/nm-setting.c
8387 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
8388 secrets out of an NMSetting
8389 - (nm_setting_connection_new, nm_setting_ip4_config_new,
8390 nm_setting_wired_new, nm_setting_wireless_new,
8391 nm_setting_wireless_security_new, nm_setting_ppp_new,
8392 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8393 to default handler default_setting_clear_secrets()
8395 2007-09-25 Dan Williams <dcbw@redhat.com>
8397 * src/nm-activation-request.c
8398 src/nm-activation-request.h
8399 - (nm_act_request_is_deferred): new function
8401 2007-09-24 Dan Williams <dcbw@redhat.com>
8403 * src/nm-device-802-11-wireless.c
8404 - (activation_success_handler): update signal strength immediately
8407 2007-09-24 Dan Williams <dcbw@redhat.com>
8409 * libnm-util/nm-setting.c
8410 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8412 2007-09-24 Dan Williams <dcbw@redhat.com>
8414 * src/NetworkManagerPolicy.c
8415 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8416 device by deactivating it because it doesn't have a "best connection".
8417 Since autoconnect=False connections aren't automatically chosen,
8418 NM would interrupt activation of such a connection because it
8419 would never be "best" due to autoconnect=False.
8421 2007-09-24 Dan Williams <dcbw@redhat.com>
8424 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8425 actually has some time to enter a key before the GetSecrets call
8428 2007-09-24 Dan Williams <dcbw@redhat.com>
8430 * introspection/nm-manager.xml
8432 - (impl_manager_legacy_state): fix 'state' method call return value
8434 2007-09-24 Matthias Clasen <mclasen@redhat.com>
8436 * test/Makefile.am: Install nm-tool
8438 2007-09-24 Dan Williams <dcbw@redhat.com>
8440 Patch from Ross Burton <ross@burtonini.com>
8443 callouts/nm-dhcp-client-action.c
8445 src/vpn-manager/nm-vpn-connection.c
8446 libnm-glib/libnm-glib-test.c
8449 2007-09-24 Dan Williams <dcbw@redhat.com>
8451 * libnm-util/nm-utils.h
8452 libnm-util/nm-utils.c
8453 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8456 2007-09-23 Dan Williams <dcbw@redhat.com>
8458 * vpn-daemons/vpnc/properties/nm-vpnc.c
8459 - Update for new VPN properties API bits; instead of passing around
8460 a lot of random things, everything goes into the NMConnection
8463 2007-09-23 Dan Williams <dcbw@redhat.com>
8465 * libnm-util/nm-setting.c
8466 - Correctly dispose of settings objects if creating them from a hash
8469 2007-09-23 Dan Williams <dcbw@redhat.com>
8471 * libnm-util/nm-setting.c
8472 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8473 the hash table in a standard manner. Clients of libnm-util should
8474 only call g_hash_table_remove_all(), never destroy the hash table
8477 2007-09-22 Dan Williams <dcbw@redhat.com>
8479 * src/nm-device-802-11-wireless.c
8480 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8481 real reason to do it so often, and reduces wakeups for clients.
8483 2007-09-21 Dan Williams <dcbw@redhat.com>
8485 * src/nm-device-802-11-wireless.c
8486 - (build_supplicant_config): wpa_supplicant requires the option
8487 key_mgmt=NONE for unencrypted networks
8488 - (real_act_stage2_config): clarify log message on activation
8490 2007-09-21 Dan Williams <dcbw@redhat.com>
8492 * test/nm-supplicant-test.c
8494 - Remove supplicant test binary; no longer applicable
8496 2007-09-21 Dan Williams <dcbw@redhat.com>
8498 * src/supplicant-manager/nm-supplicant-manager.c
8499 - (nm_supplicant_manager_init): poke the supplicant at startup to
8500 activate it on the system bus
8502 2007-09-20 Dan Williams <dcbw@redhat.com>
8504 * initscript/RedHat/NetworkManager.in
8505 - dhcdbd is no longer used, so don't try to start it from the initscripts
8507 2007-09-20 Dan Williams <dcbw@redhat.com>
8510 - (nm_device_is_activating): work around a race between auto-activation
8511 and the user activating the same device that is being auto-activated
8513 2007-09-20 Dan Williams <dcbw@redhat.com>
8515 * src/nm-device-interface.c
8516 - (impl_device_activate): until multiple active device support lands,
8517 ensure only one device can be active at a time
8519 2007-09-20 Dan Williams <dcbw@redhat.com>
8521 * src/supplicant-manager/nm-supplicant-config.c
8522 src/supplicant-manager/nm-supplicant-config.h
8523 - (nm_supplicant_config_add_option): hide secrets from system logs
8525 2007-09-20 Dan Williams <dcbw@redhat.com>
8527 * src/NetworkManagerPolicy.c
8528 - (nm_policy_device_change_check): re-enable the wireless device change
8529 checking code; insted of checking for SSIDs, check for the same
8532 2007-09-20 Dan Williams <dcbw@redhat.com>
8534 * src/nm-device-802-11-wireless.c
8535 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8536 composite link state when determining when to start the disconnection
8537 timer; that link state is already based on the supplicant interface's
8538 status which is exactly what's already being examined, plus the link
8539 state is a conglomeration of various things that we don't want here
8541 2007-09-20 Dan Williams <dcbw@redhat.com>
8543 * libnm-glib/nm-access-point.c
8544 - (handle_property_changed): strength is a UCHAR
8546 2007-09-20 Dan Williams <dcbw@redhat.com>
8548 * src/supplicant-manager/nm-supplicant-config.c
8549 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8550 string list keywords too since that's what wpa_supplicant wants
8552 2007-09-20 Dan Williams <dcbw@redhat.com>
8554 * libnm-util/nm-setting.c
8555 - (convert_strv_to_slist): dupe the values in the list because since
8556 the list is a boxed value, it'll get destroyed when it's container
8557 (like a hash table or whatever) gets destroyed
8559 2007-09-20 Tambet Ingo <tambet@gmail.com>
8561 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8564 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8566 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8567 just use (g_object_set_data_full).
8569 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8570 that NMSettingVPN->routes is a GSList, convert it to char **.
8571 (nm_vpn_connection_ip4_config_get): Free routes when done.
8572 (nm_vpn_connection_activate): Ditto.
8574 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8575 (real_act_stage2_config): Use defined setting names.
8577 2007-09-20 Dan Williams <dcbw@redhat.com>
8579 * src/nm-device-802-11-wireless.c
8582 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8583 so that the device can be deactivated if secrets are wrong
8585 2007-09-20 Dan Williams <dcbw@redhat.com>
8587 * introspection/nm-settings-connection.xml
8588 libnm-glib/nm-settings.c
8589 libnm-glib/nm-settings.h
8590 - Make GetSecrets asynchronous on the server side
8592 2007-09-20 Dan Williams <dcbw@redhat.com>
8596 - (nm_device_activate): actually check if a given connection
8597 exists before assuming it doesn't
8599 2007-09-20 Tambet Ingo <tambet@gmail.com>
8601 * libnm-util/nm-connection.c (register_default_creators): Use defined
8602 setting names. Register NMSettingVPN and NMSettingVPNProperties.
8604 * libnm-util/nm-setting.c: Define property name strings, use them.
8605 Implement NMSettingVPN and NMSettingVPNProperties settings.
8606 Implement NM_S_TYPE_GVALUE_HASH.
8607 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8608 (setting_connection_verify): Rename 'devtype' property to 'type'.
8610 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8613 * src/vpn-manager/nm-vpn-service.c: Ditto.
8615 * src/vpn-manager/nm-vpn-connection.c: Ditto.
8617 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8618 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8620 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8621 names. NMSettingConnection->devtype got renamed to 'type'.
8623 * src/nm-device-802-3-ethernet.c (find_best_connection):
8624 (real_get_best_connection): Ditto.
8626 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8628 * libnm-glib/nm-vpn-manager.[ch]: Update.
8630 2007-09-19 Dan Williams <dcbw@redhat.com>
8632 * src/NetworkManagerAP.c
8633 src/NetworkManagerAP.h
8634 introspection/nm-access-point.xml
8635 - Change strength-changed signal into a properties-changed signal
8636 for all properties, not just strength. Export that signal over dbus
8637 so listeners don't have to poll NM for changes.
8638 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8639 get exported over D-Bus, so break up the logic and let other bits
8640 decided when to export the AP
8641 - (nm_ap_new_from_ap): remove, unused
8643 * src/nm-device-802-11-wireless.c
8644 - (merge_scanned_ap): only export APs that are actually on the device
8645 list, not every AP created internally
8647 * libnm-glib/nm-access-point.c
8648 libnm-glib/nm-access-point.h
8649 - Cache properties internally and only hit DBus when needed. Get
8650 property updates from NM signals
8652 2007-09-16 Dan Williams <dcbw@redhat.com>
8654 * libnm-util/nm-connection.c
8655 libnm-util/nm-connection.h
8656 - (nm_connection_for_each_setting_value): new function; iterate over
8657 each setting's value and call a user-provided function with details
8660 * libnm-util/nm-setting.c
8661 libnm-util/nm-setting.h
8662 - (nm_setting_enumerate_values): new function; enumerate the values
8663 of a specific NMSetting subclass for a user-provided function with
8664 details about that value
8665 - Change wep_tx_keyidx to a uint32
8666 - Create settings value tables for each setting defining their type,
8667 key name, offset into the NMSetting subclass' structure, and whether
8668 they are required and/or a secret
8669 - (nm_setting_populate_from_hash): generic function to populate an
8670 NMSetting from a GHash table, make all settings use it
8671 - (nm_setting_hash): generic function to derive a GHashTable from
8672 an NMSetting object, make all settings use it
8674 2007-09-14 Dan Williams <dcbw@redhat.com>
8676 Remove unused stuff in libnm-util
8679 libnm-util/Makefile.am
8680 libnm-util/cipher-private.h
8681 libnm-util/cipher-wep-ascii.c
8682 libnm-util/cipher-wep-ascii.h
8683 libnm-util/cipher-wep-hex.c
8684 libnm-util/cipher-wep-hex.h
8685 libnm-util/cipher-wep-passphrase.c
8686 libnm-util/cipher-wep-passphrase.h
8687 libnm-util/cipher-wpa-psk-hex.c
8688 libnm-util/cipher-wpa-psk-hex.h
8689 libnm-util/cipher-wpa-psk-passphrase.c
8690 libnm-util/cipher-wpa-psk-passphrase.h
8693 libnm-util/dbus-helpers.c
8694 libnm-util/dbus-helpers.h
8695 libnm-util/gnome-keyring-md5.c
8696 libnm-util/gnome-keyring-md5.h
8699 src/nm-device-802-11-wireless.c
8700 test/libnm-util/Makefile.am
8701 test/libnm-util/test-ciphers.c
8702 test/libnm-util/test-dbus-helpers.c
8703 test/libnm-util/test-inputs.h
8706 2007-09-14 Dan Williams <dcbw@redhat.com>
8708 * libnm-util/dbus-method-dispatcher.c
8709 libnm-util/dbus-method-dispatcher.h
8712 2007-09-14 Dan Williams <dcbw@redhat.com>
8714 Implement deferred activation support in the device class.
8716 * src/nm-device-interface.c
8717 src/nm-device-interface.h
8718 - (nm_device_interface_activate): take more arguments to support
8719 deferred activation; callers must pass one of (connection) OR
8720 (service_name, connection_path)
8721 - (impl_device_activate): connection validation is punted to the device
8722 to be able to handle deferred activation. Yes, this means errors
8723 don't get returned from the Activate() dbus call, and yes, that
8724 should be fixed somehow later.
8728 - (clear_act_request): clear additional deferred activation stuff too
8729 - (deferred_activation_timeout_cb): new function; clean up when
8730 deferred activation times out.
8731 - (deferred_activation_start_cb): new function; when the connection
8732 finally becomes available, start device activation
8733 - (nm_device_activate): attach to the right signals of the activation
8734 request if we need to defer activation until the connection is valid
8736 * src/NetworkManagerPolicy.c
8737 - (nm_policy_device_change_check): update for additional arguments
8738 required for nm_device_interface_activate(). Pass NULL for these
8739 though because this function already knows exactly which
8742 2007-09-14 Dan Williams <dcbw@redhat.com>
8744 Implement deferred activation handling in the NMActRequest class. When a
8745 client wants to activate a device but must create the NMConnection details
8746 on the fly, there likely hasn't been enough time yet for NM to receive the
8747 new connection signal and grab all the connection details. So the
8748 activation is deferred (and bounded by a timer) for a while, and if the
8749 connection appears within the window, it is activated.
8751 * src/nm-activation-request.c
8752 src/nm-activation-request.h
8753 - (nm_act_request_class_init): two new signals to support deferred
8754 activation, to allow the listener to handle both timeout and success
8755 - (nm_act_request_new_deferred): new function, starts the deferred
8756 activation timeout handler and listens to the NMManager for
8757 new-connection signals to notice when the connection comes in
8759 2007-09-14 Dan Williams <dcbw@redhat.com>
8763 - (nm_manager_get_connection_service_name,
8764 nm_manager_get_connection_dbus_path): get details about a connection
8765 known internally by the NMManager
8766 - (nm_manager_class_init): fix connection add/remove signal marshalers
8767 because NMConnection is now a GObject subclass
8768 - Use constant for the gobject data tag used on NMConnection objects for
8769 storing the associated DBusGProxy
8771 2007-09-14 Dan Williams <dcbw@redhat.com>
8776 src/supplicant-manager/Makefile.am
8777 src/dhcp-manager/Makefile.am
8778 src/backends/Makefile.am
8779 src/named-manager/Makefile.am
8780 src/ppp-manager/Makefile.am
8781 src/vpn-manager/Makefile.am
8782 test/libnm-util/Makefile.am
8783 test/test-common/Makefile.am
8784 - Remove utils/; it was unused
8786 2007-09-13 Dan Williams <dcbw@redhat.com>
8788 * libnm-glib/nm-vpn-manager.h
8789 libnm-glib/nm-vpn-manager.c
8790 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8792 2007-09-13 Dan Williams <dcbw@redhat.com>
8794 * src/nm-device-802-3-ethernet.c
8795 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8796 netlink monitor carrier signals on dispose, not bring down. The
8797 carrier signals should be handled over the entire lifetime of the
8798 device anyway, not created/destroyed on up or down.
8800 2007-09-13 Dan Williams <dcbw@redhat.com>
8802 * libnm-glib/nm-device.c
8803 libnm-glib/nm-device.h
8804 - (nm_device_activate): take a connection object path rather than an
8805 NMConnection because NMConnection isn't exported over D-Bus and
8806 therefore it dbus-glib can't automatically get an object path from it
8808 2007-09-13 Dan Williams <dcbw@redhat.com>
8810 * libnm-util/nm-setting.c
8811 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8813 2007-09-13 Tambet Ingo <tambet@gmail.com>
8815 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8817 2007-09-12 Tambet Ingo <tambet@gmail.com>
8819 * src/vpn-manager/nm-vpn-connection.[ch]:
8820 * src/vpn-manager/nm-vpn-manager.[ch]:
8821 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
8822 dbus-glib, GObjects, signals etc.
8824 * libnm-glib/nm-vpn-manager.[ch]:
8825 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8826 so much, rewrite these too.
8828 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8829 the new introspection files.
8831 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8833 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8834 the header with the same name from libnm-utils.
8836 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8838 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8840 * introspection/nm-vpn-plugin.xml: Implement.
8842 * introspection/nm-vpn-connection.xml: Implement.
8844 * introspection/nm-vpn-manager.xml: Implement.
8846 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8847 the named manager argument, it can just as easily get it as the caller.
8848 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8850 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8852 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8854 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8857 * libnm-util/nm-connection.c: Ditto.
8859 * src/NetworkManagerMain.h: Remove, it's finally empty.
8861 * configure.in: Remove utils/ from build.
8863 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8864 of hard-coded strings.
8866 * utils/: Move it over to libnm-util.
8868 * test/Makefile.am: Link against libnm-util now that util/ is gone.
8870 * dispatcher-daemon/Makefile.am: Ditto.
8872 * src/Makefile.am: Ditto.
8874 2007-09-12 Dan Williams <dcbw@redhat.com>
8876 Wireless connections can be made with config data from the applet now.
8880 * src/supplicant-manager/nm-supplicant-config.h
8881 src/supplicant-manager/nm-supplicant-config.c
8882 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8883 - (nm_supplicant_config_add_setting_wireless,
8884 nm_supplicant_config_add_setting_wireless_security): new functions;
8885 add key/value pairs from the settings objects to the supplicant
8888 * src/nm-device-802-11-wireless.c
8889 - (cull_scan_list): fix check to not prune currently associated AP
8890 - (build_supplicant_config, real_act_stage2_config): call the functions
8891 of the NMSupplicantConfig that parse settings objects rather than
8892 doing it manually here
8894 2007-09-12 Dan Williams <dcbw@redhat.com>
8896 * src/supplicant-manager/nm-supplicant-interface.c
8897 src/supplicant-manager/nm-supplicant-marshal.list
8898 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8899 "connection-error" signal arguments should be STRING not CHAR
8901 2007-09-12 Dan Williams <dcbw@redhat.com>
8903 * src/NetworkManagerUtils.c
8904 src/NetworkManagerUtils.h
8905 - (nm_utils_hexstr2bin): new function
8907 2007-09-11 Dan Williams <dcbw@redhat.com>
8910 - (connection_get_settings_cb): emit connection-added signal
8911 - (connection_removed_cb): uncomment bits for system settings service,
8912 send connection-removed when appropriate
8913 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8914 the stack by trying to g_object_set_data() on something that's
8915 not a GObject; handle case where settings service returns
8916 empty settings hash table
8918 2007-09-11 Dan Williams <dcbw@redhat.com>
8920 * src/NetworkManagerPolicy.c
8921 - (connection_added, connection_removed): trigger device change checks
8922 on connection changes
8924 2007-09-11 Dan Williams <dcbw@redhat.com>
8926 * src/nm-activation-request.c
8927 - (connection_secrets_updated_cb): fix c&p error in signal emission
8929 2007-09-11 Dan Williams <dcbw@redhat.com>
8931 * src/nm-device-802-11-wireless.c
8932 - (real_connection_secrets_updated): fix erroneous check
8934 2007-09-11 Dan Williams <dcbw@redhat.com>
8936 * introspection/nm-device.xml
8937 libnm-glib/nm-device.c
8938 libnm-glib/nm-device.c
8939 - Fix Activate call argument borkage; Activate takes 3 arguments
8941 2007-09-11 Dan Williams <dcbw@redhat.com>
8943 * libnm-glib/nm-access-point.c
8944 libnm-glib/nm-access-point.c
8945 - (nm_access_point_get_frequency): now returns guint32 to match
8946 property change on 2007-09-10
8948 2007-09-11 Dan Williams <dcbw@redhat.com>
8950 * src/nm-device-802-11-wireless.c
8951 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8952 somewhere defines 'index' and I missed this one when I fixed the
8953 shadow declaration errors earlier
8955 2007-09-11 Dan Williams <dcbw@redhat.com>
8957 * libnm-util/nm-connection.c
8958 - (nm_connection_update_secrets, need_secrets_check): move
8959 802-11-wireless-security need_secrets checks to the setting object
8960 itself, where it belongs
8962 * libnm-util/nm-setting.c
8963 libnm-util/nm-setting.h
8964 - (nm_setting_need_secrets): new function
8965 - (setting_wireless_security_verify,
8966 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8967 - (setting_wireless_security_need_secrets): mostly copy code over
8968 from nm-connection.c
8970 2007-09-11 Dan Williams <dcbw@redhat.com>
8972 * libnm-util/nm-setting.c
8973 libnm-util/nm-setting.h
8974 - (nm_setting_update_secrets): new function; add a virtual function that
8975 subclasses can implement to update their secrets
8976 - (setting_wireless_security_update_secrets): implement that function
8977 for the 802-11-wireless-security subclass
8979 * libnm-util/nm-connection.c
8980 libnm-util/nm-connection.h
8981 - (nm_connection_update_secrets): update secrets for a Setting and
8982 emit a signal on success
8987 - (connection_get_settings_cb): enable system settings bits
8988 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8989 to request secrets from the settings dbus service and to
8990 push those secrets to the NMConnection itself
8992 * src/nm-activation-request.c
8993 src/nm-activation-request.h
8994 - Attach to the 'secrets-updated' signal of the NMConnection that's
8995 currently being activated, and proxy that signal to other listeners.
8996 Goes through the activation request because the activation request
8997 is the thing that manages the lifetime of the NMConnection that's
9000 * src/nm-device-802-11-wireless.c
9001 - (real_connection_secrets_updated): implement the connection secrets
9002 updated notification and restart activation when secrets are
9004 - (real_act_stage2_config): request secrets from the settings dbus
9005 service if secrets are needed
9009 - (clear_act_request, nm_device_activation_cancel,
9010 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9011 where the activation request is cleared
9012 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9013 updated secrets signal of activation request and add a function
9014 that subclasses can override to handle it easily
9016 2007-09-11 Tambet Ingo <tambet@gmail.com>
9018 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9019 removal of NetworkManagerAPList.
9021 2007-09-10 Dan Williams <dcbw@redhat.com>
9023 * src/NetworkManagerAP.c
9024 src/NetworkManagerAP.h
9025 introspection/nm-access-point.xml
9026 - Change 'freq' property to a guint32 instead of a double since we
9027 weren't using the floating point bits anyway
9029 2007-09-10 Dan Williams <dcbw@redhat.com>
9031 * NetworkManagerAP.c
9033 NetworkManagerPolicy.c
9034 NetworkManagerSystem.c
9035 NetworkManagerUtils.c
9036 NetworkManagerUtils.h
9037 nm-device-802-11-wireless.c
9038 nm-device-802-3-ethernet.c
9041 vpn-manager/nm-dbus-vpn.c
9042 - Warning fixes; casts and removal of unused variables
9044 2007-09-10 Dan Williams <dcbw@redhat.com>
9046 * include/NetworkManager.h
9047 - Kill NMNetworkType; AP types don't matter any more
9049 * src/NetworkManagerAPList.c
9050 src/NetworkManagerAPList.h
9052 - Kill; NMAccessPointList has outlived it's usefulness
9054 * src/NetworkManagerAP.c
9055 src/NetworkManagerAP.h
9056 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9057 functions; check if an NMConnection object is compatible with the
9059 - (freq_to_channel, channel_to_freq): utility functions for
9060 channel <-> frequency conversion
9064 - (nm_device_get_best_connection): pass the specific object around
9065 (which might be the object path of a specific AP to connect to).
9066 The get_best_connection() call should populate this on return
9067 if needed (wireless does).
9069 * src/nm-device-802-3-ethernet.c
9070 - (real_get_best_connection): handle specific_object argument
9072 * src/NetworkManager.c
9073 src/NetworkManagerMain.h
9074 - Remove unused includes
9076 * src/nm-device-802-11-wireless.c
9077 src/nm-device-802-11-wireless.h
9078 - Convert the ap_list into a GSList from an NMAccessPointList
9079 - No need for caching the 'activation_ap' since this is now determined
9080 from the specific_object of the activation request, which is
9081 populated from the get_best_connection() call or from a user request
9082 - (nm_device_802_11_wireless_update_bssid): fix warning
9083 - (get_wireless_capabilities): fix error message format arguments
9084 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9085 - (find_best_connection, real_get_best_connection): implement
9086 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9087 move here from NetworkManagerAPList
9088 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9089 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9090 already verified earlier
9091 - (real_act_stage2_config): use nm_connection_need_secrets()
9093 * src/NetworkManagerPolicy.c
9094 - (nm_policy_auto_get_best_device): handle specific objects
9095 - (create_connection): remove; automatic connection creation functionality
9096 is handled by the Connection objects
9097 - (nm_policy_device_change_check): handle specific_object
9099 * libnm-util/nm-connection.c
9100 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9102 2007-09-10 Dan Williams <dcbw@redhat.com>
9105 - (query_connections): fix uninitialized variable problem that caused
9107 - (nm_manager_add_device): take devices down on startup so that we can
9108 be assured that nm_device_is_up() won't short-circuit the init
9109 process. Hack until the is_up check gets split into two pieces
9110 that aren't behaviorally confusing.
9112 2007-09-09 Dan Williams <dcbw@redhat.com>
9114 * introspection/nm-device.xml
9115 - The 'Activate' method now takes 3 arguments, a service name for the
9116 settings service (user or system), the object path of the connection
9117 to activate, and the specific object to activate, if any
9119 * src/nm-device-interface.c
9120 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9122 - (impl_device_activate): adapt to new Activate arguments; validate
9123 the service name and get the Connection object from the NMManager
9124 before starting to activate the device with the specified connection
9126 * src/nm-device-802-3-ethernet.c
9127 - (real_get_best_connection): find the best connection, or create a
9128 default one if no existing connections can be used
9130 * src/NetworkManagerPolicy.c
9131 - (nm_policy_auto_get_best_device): Get the device's best connection
9132 and only pick the device if it has one
9133 - (nm_policy_device_change_check): disable wireless bits for now until
9134 wireless get_best_connection() can be implemented (replacing "best_ap");
9135 don't create a default connection here as the device subclass will do
9140 - (nm_manager_get): make NMManager a singleton and expose the getter
9142 - Rework internal NMManager connection handling to use the same
9143 routines for both the system and user settings services. Most calls
9144 take a new NMConnectionType argument specifying either system or user
9146 - (nm_manager_get_connection_by_object_path): new function; get a
9147 connection keyed on its object path
9149 * src/NetworkManager.c
9150 - (main): use nm_manager_get()
9152 2007-09-09 Dan Williams <dcbw@redhat.com>
9156 - (nm_device_get_best_connection): new function; get best connection
9157 for the device at that time
9159 2007-09-09 Dan Williams <dcbw@redhat.com>
9161 * src/nm-device-interface.h
9162 - Add NMDeviceInterfaceError with an UnknownConnection error
9164 2007-09-09 Dan Williams <dcbw@redhat.com>
9166 Stupid mistake on my part; object path and interface for settings service
9167 and connection objects can be the same, only the service name must be
9168 different for the system and user settings services.
9170 * include/NetworkManager.h
9172 introspection/nm-settings-connection.xml
9173 introspection/nm-settings.xml
9174 libnm-glib/nm-settings.c
9175 - (nm_connection_settings_init, query_user_connections,
9176 new_connection_cb): Unify NetworkManagerSettings and Connection
9177 interface name and object path
9179 2007-09-06 Dan Williams <dcbw@redhat.com>
9181 * libnm-glib/nm-object.c
9182 - (nm_object_get_string_property, nm_object_get_object_path_property,
9183 nm_object_get_int_property, nm_object_get_uint_property,
9184 nm_object_get_boolean_property, nm_object_get_byte_property,
9185 nm_object_get_double_property, nm_object_get_byte_array_property):
9186 clear GValues after copying their contents, fixes memory leaks
9187 after every property access because dbus-glib copies the values
9188 from the DBusMessage into the GValue already.
9190 2007-09-06 Dan Williams <dcbw@redhat.com>
9192 * introspection/nm-access-point.xml
9193 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9194 them to be. There's some magic property name parsing going on in
9195 dbus-glib that breaks up property names based on studly-caps and
9196 puts - between words.
9198 * libnm-glib/nm-access-point.c
9199 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9202 2007-09-06 Dan Williams <dcbw@redhat.com>
9205 - (nm_manager_user_connections_destroy): clear the user connections hash
9206 table, don't destroy it
9207 - (finalize): only destroy the hash table on NMManager finalization
9209 2007-09-02 Dan Williams <dcbw@redhat.com>
9211 * include/NetworkManager.h
9212 libnm-glib/nm-settings.c
9213 - defines for the user settings daemon D-Bus bits
9215 * src/NetworkManager.c
9216 - Remove stuff that referred to the old NetworkManagerInfo service
9218 * src/vpn-manager/nm-dbus-vpn.h
9219 - Move old NMI defines to the only place they are used still
9221 * libnm-util/nm-connection.c
9222 libnm-util/nm-connection.h
9223 src/nm-activation-request.c
9224 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9228 - Get connections and their settings from the user settings daemon
9229 at the appropriate times
9231 2007-09-02 Dan Williams <dcbw@redhat.com>
9233 * libnm-util/nm-setting.c
9234 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9235 - (setting_wireless_hash): set the right value on the item
9237 2007-09-02 Dan Williams <dcbw@redhat.com>
9241 - Remove, no longer useful
9243 2007-08-30 Dan Williams <dcbw@redhat.com>
9246 src/NetworkManagerDbus.c
9247 src/NetworkManagerDbus.h
9248 src/vpn-manager/nm-dbus-vpn.c
9249 - Remove, no longer necessary. Move last bits to the only place its
9250 used, in nm-dbus-vpn.c
9252 * src/NetworkManagerAPList.c
9254 src/NetworkManager.c
9255 src/nm-device-802-11-wireless.c
9256 src/vpn-manager/nm-vpn-manager.c
9257 src/vpn-manager/nm-vpn-service.c
9258 src/NetworkManagerPolicy.c
9260 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9261 that was message_is_error()
9263 2007-08-30 Dan Williams <dcbw@redhat.com>
9266 - Include config.h to get defines for endiannes (gnome.org #420216)
9268 2007-08-30 Dan Williams <dcbw@redhat.com>
9270 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9272 * src/ppp-manager/Makefile.am
9273 - use -fPIC (gnome.org #471825)
9275 2007-08-29 Dan Williams <dcbw@redhat.com>
9277 * include/NetworkManager.h
9278 - Keep NMConnection object path in sync
9280 * libnm-glib/nm-settings.c
9281 libnm-glib/nm-settings.h
9282 - Break D-Bus object registration out of the init function, because
9283 every object that's exported over D-Bus needs to use the _same_
9284 DBusConnection. Otherwise, each object would get a different object
9285 path tree and wouldn't be callable.
9287 2007-08-29 Dan Williams <dcbw@redhat.com>
9289 * libnm-util/nm-setting.h
9290 libnm-util/nm-setting.c
9291 libnm-util/nm-connection.c
9292 src/NetworkManagerPolicy.c
9293 - 'info' settings object should be 'connection' says the spec
9294 at NetworkManagerConfigurationSpecification
9296 2007-08-29 Dan Williams <dcbw@redhat.com>
9298 * libnm-glib/nm-settings.c
9299 libnm-glib/nm-settings.h
9300 - make the dbus path a property of the object, and autogenerate it.
9301 It can't be composed of the 'id' field becuase that's not available
9302 yet during the GObject creation in nm_connection_settings_init()
9304 2007-08-29 Dan Williams <dcbw@redhat.com>
9306 * introspection/nm-settings-connection.xml
9307 introspection/nm-settings.xml
9308 - Service name -> NetworkManagerUserSettings because two services
9309 can't share part of the same path. I'm not really sure how we'll use
9310 the same code with the system-settings daemon...
9312 2007-08-28 Dan Williams <dcbw@redhat.com>
9314 * src/nm-device-interface.c
9315 src/nm-device-interface.h
9316 - Kill one more bit of NMData
9318 2007-08-28 Dan Williams <dcbw@redhat.com>
9320 * src/NetworkManagerSystem.h
9323 src/nm-hal-manager.c
9324 src/NetworkManager.c
9325 src/nm-device-802-11-wireless.c
9326 src/nm-hal-manager.h
9327 src/nm-device-802-3-ethernet.c
9328 src/vpn-manager/nm-vpn-service.h
9329 src/vpn-manager/nm-vpn-manager.c
9330 src/vpn-manager/nm-vpn-manager.h
9331 src/vpn-manager/nm-vpn-service.c
9332 src/nm-device-802-11-wireless.h
9333 src/NetworkManagerMain.h
9334 src/nm-device-802-3-ethernet.h
9335 src/backends/NetworkManagerGentoo.c
9336 src/backends/NetworkManagerPaldo.c
9337 src/backends/NetworkManagerFrugalware.c
9338 src/backends/NetworkManagerRedHat.c
9339 src/backends/NetworkManagerSlackware.c
9340 src/backends/NetworkManagerGeneric.c
9341 src/backends/NetworkManagerArch.c
9342 src/backends/NetworkManagerSuSE.c
9343 src/backends/NetworkManagerGeneric.h
9344 src/backends/NetworkManagerDebian.c
9347 2007-08-28 Dan Williams <dcbw@redhat.com>
9349 * src/NetworkManagerMain.h
9350 src/nm-device-802-11-wireless.c
9351 src/NetworkManager.c
9352 - Remove invalid AP list from NMData; need to rework this somewhat, but
9353 for now we should set the 'invalid' property on individual APs, and when
9354 we need to invalidate a whole ESS, set the 'invalid' on every member of
9357 2007-08-28 Dan Williams <dcbw@redhat.com>
9359 * src/NetworkManagerAP.c
9360 src/NetworkManagerAP.h
9361 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9362 'autoconnect' property instead
9364 * src/NetworkManager.c
9365 src/NetworkManagerMain.h
9366 src/NetworkManagerPolicy.c
9367 src/NetworkManagerPolicy.h
9368 - Remove the 'allowed_ap_list', which should be replaced by
9369 NMConnection/NMSettings instead, since _those_ are the allowed
9370 things that NM can connect to
9372 * src/nm-device-802-11-wireless.c
9373 - Remove both allowed_ap_list usage and 'fallback' checking
9375 2007-08-28 Dan Williams <dcbw@redhat.com>
9378 src/named-manager/nm-named-manager.c
9379 src/named-manager/nm-named-manager.h
9380 src/NetworkManager.c
9381 src/vpn-manager/nm-vpn-manager.c
9382 src/NetworkManagerMain.h
9383 src/NetworkManagerSystem.c
9384 - Remove the named-manager object from NMData structure in preparation
9385 for NMData's timely death. Make the NMNamedManager the singleton that
9388 2007-08-28 Dan Williams <dcbw@redhat.com>
9390 Remove NMAPSecurity objects, they are replaced with flags on the APs for
9391 each AP's capabilities, and by NMConnection/NMSettings objects for user
9392 defined connections.
9394 * include/NetworkManager.h
9395 - Redefine 802.11 security properties. There are now device capabilities
9396 and AP flags and AP security flags. It was way to unclear before.
9399 src/nm-ap-security-leap.h
9400 src/nm-ap-security-leap.c
9401 src/nm-ap-security-wpa-eap.c
9402 src/nm-ap-security-wpa-eap.h
9403 src/nm-ap-security-private.h
9404 src/nm-ap-security-wpa-psk.c
9405 src/nm-ap-security-wpa-psk.h
9406 src/nm-ap-security-wep.c
9407 src/nm-ap-security-wep.h
9408 src/nm-ap-security.c
9409 src/nm-ap-security.h
9410 - Removed, to be replaced with NMConnection/NMSettings objects
9414 - Removed, to be replaced by code that talks to the new info daemon
9415 interface and gets NMConnection/NMSettings objects
9417 * src/backends/NetworkManagerSuSE.c
9418 - Remove usage of NMAPSecurity; should be replaced by a system-level
9419 info-daemon that does the same thing but talks the new info-daemon
9422 * src/NetworkManagerAP.h
9423 src/NetworkManagerAP.c
9424 src/NetworkManagerAPList.c
9425 libnm-glib/libnm-glib-test.c
9426 - Remove usage of NMAPSecurity objects and adjust to new flags for
9429 * libnm-glib/nm-access-point.c
9430 libnm-glib/nm-access-point.h
9431 introspection/nm-access-point.xml
9433 - Adjust to new flags for AP security
9437 src/vpn-manager/nm-dbus-vpn.c
9438 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9439 stuff which is the only place it's used
9441 * src/nm-device-interface.c
9442 src/nm-device-interface.h
9443 introspection/nm-device.xml
9444 src/nm-activation-request.c
9445 src/nm-activation-request.h
9447 - Add a new 'specific_object' argument that hints to NM what actual
9448 AP or other device-specific thing the connection should apply to.
9449 NMConnection objects can apply to more than one actual device/AP.
9451 * libnm-util/nm-connection.c
9452 * libnm-util/nm-connection.h
9453 - Add 'have_secrets" call stubs
9455 * libnm-util/cipher.h
9456 - Move NM_AUTH_TYPE_* defines here for now
9458 * src/nm-device-802-11-wireless.c
9459 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9462 * src/NetworkManagerDbus.c
9463 * src/NetworkManagerPolicy.c
9464 - Remove usage of update_allowed_networks, should be pushing data in
9467 2007-08-27 Tambet Ingo <tambet@gmail.com>
9469 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9470 dbus-glib frees it when the call is done.
9472 2007-08-26 Dan Williams <dcbw@redhat.com>
9474 * introspection/nm-device.xml
9475 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9477 2007-08-26 Dan Williams <dcbw@redhat.com>
9479 * src/nm-device-802-3-ethernet.c
9480 - (constructor): move connection of interface-connected/disconnected
9481 signals here from real_bring_up(). Should be listening to netlink
9482 for carrier events no matter what the initial state of the device
9485 2007-08-26 Dan Williams <dcbw@redhat.com>
9487 * src/nm-netlink-monitor.c
9488 - (nm_netlink_monitor_class_init): fix marshalling types for
9489 interface-connected/interface-disconnected
9490 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9493 2007-08-26 Dan Williams <dcbw@redhat.com>
9495 Convert to using interface indexes as the primary method of identifying
9496 devices inside NetworkManager. Indexes are (?) stable, but devices can
9497 be renamed at any time. Device object paths now refer to the device
9498 index rather than the name, and you can map those two manually if you like
9499 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9500 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9501 to use interface indexes rather than names.
9503 2007-08-26 Dan Williams <dcbw@redhat.com>
9505 * src/nm-netlink-monitor.h
9506 - Remove one last bit of wireless-event signal
9508 2007-08-26 Dan Williams <dcbw@redhat.com>
9510 * src/nm-netlink-monitor.c
9511 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9512 don't need the 'wireless-event' signal anymore since that's all
9513 handled by wpa_supplicant
9515 2007-08-25 Dan Williams <dcbw@redhat.com>
9517 It's 2007. Remove support for drivers that don't support wireless scanning.
9520 include/NetworkManager.h
9521 src/NetworkManagerUtils.c
9522 src/NetworkManagerPolicy.c
9523 src/nm-device-802-11-wireless.c
9524 - Remove special handling for non-scanning devices and mark them
9525 as unsupported/unhandled
9527 2007-08-20 Dan Williams <dcbw@redhat.com>
9529 * src/nm-device-802-11-wireless.c
9530 src/nm-device-802-3-ethernet.c
9531 - (real_is_up): move device-specific tests before generic IFF_UP test,
9532 because when the card is pulled or the module removed, the device
9533 is already !IFF_UP and then device-specific cleanup (removing
9534 the supplicant interface, periodic checks, etc) never gets done
9536 2007-08-20 Dan Williams <dcbw@redhat.com>
9539 - (nm_manager_remove_device): bring device down before disconnecting
9540 signal handlers, so that the 'state' signal will get broadcast when
9541 the device enters the DOWN state
9542 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9543 of states that cause the NMManager to recheck its state
9545 2007-08-20 Dan Williams <dcbw@redhat.com>
9547 * src/supplicant-manager/nm-supplicant-interface.c
9548 - (interface_disconnect_done): don't try to dispose of the net proxy
9549 when it may already have been disposed of
9551 2007-08-20 Dan Williams <dcbw@redhat.com>
9553 * src/nm-device-802-11-wireless.c
9554 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9555 the SSID isn't available; this can happen when the card is pulled
9556 or the module unloaded, during the post-removal deactivation
9557 paths, when the ioctl returns ENODEV
9559 2007-08-20 Dan Williams <dcbw@redhat.com>
9561 * src/nm-device-802-11-wireless.c
9562 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9563 frequency, and mode match. Applets are now responsible for grouping
9566 2007-08-20 Dan Williams <dcbw@redhat.com>
9568 * src/NetworkManagerAP.c
9569 * src/NetworkManagerAP.h
9570 - (nm_ap_print_self): new function
9572 * src/NetworkManagerAPList.c
9573 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9576 2007-08-17 Dan Williams <dcbw@redhat.com>
9578 * src/nm-device-802-3-ethernet.c
9579 - (real_bring_down): don't try to dispose of stuff that might not
9582 2007-08-17 Dan Williams <dcbw@redhat.com>
9584 * src/NetworkManagerAP.c
9585 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9586 applet. This ensures that the case between the seen-bssids and
9587 the bssids reported by the driver match.
9589 2007-08-17 Dan Williams <dcbw@redhat.com>
9591 * src/nm-device-802-11-wireless.c
9592 - (device_cleanup): disconnect the interface in wpa_supplicant before
9593 we dispose of the interface proxy in NM
9595 2007-08-16 Dan Williams <dcbw@redhat.com>
9597 * libnm-glib/nm-client.c
9598 - (nm_client_init): create VPN connections hash table with key free
9600 - (proxy_vpn_connection_added): VPN connections hash table key should
9601 be a duplicated value, not the same memory address as the VPN
9602 connection name. This is because the VPN connection name could
9603 potentially be freed and set to something else during the lifetime
9604 of the NMVPNConnection object.
9606 2007-08-16 Tambet Ingo <tambet@gmail.com>
9608 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9609 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9610 with the file descriptors. Send a child setup function to change the pppd
9613 2007-08-15 Dan Williams <dcbw@redhat.com>
9615 * src/supplicant-manager/nm-supplicant-interface.c
9616 - (try_remove_iface): new function, ask wpa_supplicant to remove
9618 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9619 disposing of the NMSupplicantInterface. Otherwise weird stuff
9620 happens on hotplug if wpa_supplicant doesn't tear down and readd
9621 the interface internally
9623 2007-08-15 Dan Williams <dcbw@redhat.com>
9625 * src/nm-device-802-11-wireless.c
9626 - (real_bring_down): move most of this function into device_cleanup()
9627 so that it can be called from elsewhere
9628 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9629 and stuff on dispose. These would normally get cleaned up when
9630 the device is marked down and deactivated, but when the device is
9631 hot-unplugged, it's already down and real_down() never gets run
9633 2007-08-15 Dan Williams <dcbw@redhat.com>
9636 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9637 caused a reference leak on device for which NM requested a key
9639 2007-08-15 Dan Williams <dcbw@redhat.com>
9641 * libnm-glib/nm-client.c
9642 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9644 2007-08-15 Tambet Ingo <tambet@gmail.com>
9646 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9647 nothing is using it at the moment, but it'll be all useful and stuff later on.
9649 * libnm-util/nm-setting.h: Define NMSettingPPP.
9651 * libnm-util/nm-setting.c: Implement NMSettingPPP.
9653 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9655 * src/Makefile.am: Add ppp-manager to SUBDIRS.
9657 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9659 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9661 2007-08-14 Tambet Ingo <tambet@gmail.com>
9663 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9665 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9666 an issue with dbus-glib bindings generator. The issue is, the generated C caller
9667 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9668 name and different arguments and it won't compile anymore. To fix this, we now have
9669 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9670 that is new API + compatibility API and used by the daemon. The other,
9671 nm-manager-client.xml is only the new API without compatibility bits and is used
9672 by libnm-glib to make it compile.
9674 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9676 * src/nm-manager.c (impl_manager_legacy_sleep)
9677 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9678 interface functions for 0.6 branch.
9680 2007-08-14 Dan Williams <dcbw@redhat.com>
9682 * src/NetworkManagerAP.c
9683 - (nm_ap_new_from_properties): fix mistaken check of return value
9684 from memcmp (should expect 0)
9686 2007-08-14 Dan Williams <dcbw@redhat.com>
9688 (force-commit to fix wrong comment and partial commit of r2685; this
9689 commit actually applies to r2685)
9691 * src/NetworkManagerUtils.c
9692 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9693 ignores trailing nulls in the SSID to work around mismatches in
9694 expectations between WEXT and what the info-daemon passes back. The
9695 info-daemon would pass back the correct length, but due to the
9696 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9697 the device would always have an SSID + 1 depending on what versions
9698 of wpa_supplicant, the kernel, and NM you have. This was most often
9699 visible by just quitting the applet and relaunching, which caused
9700 NM to reassociated to the same network over again when reloading
9703 * src/NetworkManagerPolicy.c
9704 src/NetworkManagerUtils.h
9705 src/nm-device-802-11-wireless.c
9706 - Update for new parameter to nm_utils_same_ssid()
9708 2007-08-14 Dan Williams <dcbw@redhat.com>
9710 * src/NetworkManagerAP.c
9711 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
9712 I encountered a BSS that wasn't just hiding it's ESSID, it was
9713 setting the BSSID to all 0s. That confused the heck out of NM,
9714 plus it's useless and probably out-of-spec.
9716 2007-08-14 Dan Williams <dcbw@redhat.com>
9718 * callouts/Makefile.am
9719 src/dhcp-manager/nm-dhcp-manager.c
9720 src/dhcp-manager/nm-dhcp-manager.h
9721 src/dhcp-manager/Makefile.am
9722 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9724 2007-08-14 Dan Williams <dcbw@redhat.com>
9726 * src/dhcp-manager/nm-dhcp-manager.c
9727 - (dhclient_run): don't pass -x to dhclient until we figure out if
9728 it's really needed, get rid of unused xtra_args parameter
9730 2007-08-14 Dan Williams <dcbw@redhat.com>
9732 * include/NetworkManagerVPN.h
9733 src/vpn-manager/nm-dbus-vpn.c
9734 src/vpn-manager/nm-dbus-vpn.h
9735 src/vpn-manager/nm-vpn-act-request.c
9736 src/vpn-manager/nm-vpn-act-request.h
9737 src/vpn-manager/nm-vpn-service.c
9738 src/vpn-manager/nm-vpn-service.h
9739 libnm-glib/nm-vpn-connection.c
9740 libnm-glib/nm-vpn-connection.h
9741 libnm-glib/nm-client.h
9742 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
9743 NMVPNServiceState to clarify what they apply to
9744 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9745 NMVPNActStage -> NMVPNConnectionState for the same reason
9747 * libnm-glib/nm-client.c
9748 - Constant + type renames from above
9749 - Properly handle NameOwnerChanged/manager_running signals
9750 for NM service; only emit when state really changes
9751 - Use hash tables correctly so that the key (which was previously owned
9752 by the D-Bus message) now has the same lifetime as the value, since
9753 the key is now taken from the the NMVPNConnection itself. This
9754 really fixes the double-VPN names in the applet
9756 2007-08-13 Dan Williams <dcbw@redhat.com>
9758 Patch from Michael Biebl <biebl@debian.org>
9762 - Update for vpn-properties move
9764 2007-08-13 Dan Williams <dcbw@redhat.com>
9766 * libnm-glib/nm-client.c
9767 - Convert internal VPN connection tracking from a list to a hash table
9768 to easily avoid duplicates
9769 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9770 must be freed by the caller, like nm_client_get_devices()
9771 - (nm_client_remove_vpn_connection): don't let the removal signal
9772 leak through for NMVPNConnection objects that aren't actually
9774 - (manager_running): throw away VPN connection list when NM goes away,
9775 like with the device list
9777 2007-08-13 Dan Williams <dcbw@redhat.com>
9779 * src/dhcp-manager/nm-dhcp-manager.c
9780 - Stop any dhclient instance that might be already running for a
9781 particular interface before starting an NM spawned dhclient. Fixes
9782 dhclient processes left over if NM crashes, stuff like that.
9784 2007-08-13 Dan Williams <dcbw@redhat.com>
9786 * src/NetworkManagerAP.c
9787 - (finalize): don't try to g_array_free (NULL, ...), which happened
9788 when the AP wasn't broadcasting it's SSID
9790 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
9792 * include/NetworkManager.h: added DBus path for connection settings.
9794 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9795 nm_connection_settings_signal_updated,
9796 nm_connection_settings_signal_removed): new functions to wrap the
9798 (nm_connection_settings_init): register GObject with DBus.
9799 (nm_connection_settings_get_dbus_object_path): new function.
9801 * libnm-glib/Makefile.am: added libnmutil to link flags.
9803 2007-08-13 Tambet Ingo <tambet@gmail.com>
9805 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9807 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9808 libnm_glib directory got merged with libnm-glib/.
9810 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9812 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9813 Rename the library from libnm-glib to libnm_glib to maintain the library API
9814 compatibility with 0.6 branch.
9816 * Makefile.am: Remove gnome/ SUBDIR.
9818 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9820 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9822 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9824 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9826 Remove checks for wpa_supplicant binary, it's used over dbus.
9827 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9829 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9830 Link the binaries with libnm_glib.la.
9832 2007-08-12 Dan Williams <dcbw@redhat.com>
9834 * src/NetworkManagerPolicy.c
9835 - (nm_policy_device_change_check): fix policy to deactivate old device
9836 before activating new one, at least until the multiple active
9837 device support lands
9839 2007-08-12 Dan Williams <dcbw@redhat.com>
9841 * src/NetworkManagerPolicy.c
9842 - (nm_policy_new): hook up to connection-added / connection-removed
9843 signals instead of connections-changed
9845 2007-08-12 Dan Williams <dcbw@redhat.com>
9847 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
9848 Robert Frank <rfrank@redhat.com>
9850 * src/dhcp-manager/nm-dhcp-manager.c
9851 src/dhcp-manager/nm-dhcp-manager.c
9853 - Spawn and communicate with dhclient directly, through means of a
9854 custom dhclient callout script. Process callout D-Bus signals
9855 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
9856 sent via gobject signals rather than being driven by the dhcp manager
9859 2007-08-12 Dan Williams <dcbw@redhat.com>
9861 * callouts/nm-dhcp-client-action.c
9862 - (build_message): ignore non-DHCP-related environment variables
9864 2007-08-12 Dan Williams <dcbw@redhat.com>
9868 callouts/Makefile.am
9869 callouts/nm-dhcp-client-action.c
9870 callouts/nm-dhcp-client.conf
9871 - Add dhclient-executed callout that takes the place of dhclient-script
9872 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9875 2007-08-09 Tambet Ingo <tambet@gmail.com>
9877 [Based on patch by Helmut Schaa <hschaa@suse.de>]
9879 * libnm-glib/nm-client.h:
9880 * libnm-glib/nm-object.h:
9881 * libnm-glib/nm-vpn-connection.h:
9882 * libnm-glib/nm-settings.h:
9883 * libnm-glib/nm-device.h:
9884 * libnm-glib/nm-ip4-config.h:
9885 * libnm-glib/nm-access-point.h:
9886 * libnm-glib/nm-device-802-3-ethernet.h:
9887 * libnm-util/nm-setting.h:
9888 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9890 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9892 * libnm-glib/nm-access-point.c: Strength has type char.
9894 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9895 to fix build. GnomeDruid is deprecated in recent libgnomeui.
9897 * introspection/nm-access-point.xml: Strength property is char, not int.
9899 * src/NetworkManagerAP.c (set_property): Set strength from char.
9900 (get_property): Handle hidden APs (with empty SSID).
9901 Get strength value from char.
9902 (nm_ap_class_init): Strength property has char type.
9904 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
9906 * introspection/Makefile.am:
9907 * introspection/nm-settings.xml:
9908 * introspection/nm-settings-connection.xml: added Settings interfaces.
9910 * libnm-glib/nm-settings.[ch]:
9911 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9912 containing the DBus implementation.
9914 2007-07-26 Dan Williams <dcbw@redhat.com>
9916 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9918 * src/NetworkManagerSystem.c
9919 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9920 same subnet (#437396)
9922 2007-07-26 Dan Williams <dcbw@redhat.com>
9924 Patch from Kelemen Gábor <kelemeng@gnome.hu>
9926 * gnome/vpn-properties/nm-vpn-properties.c
9927 - Fix translatable strings (#445865)
9929 2007-07-26 Dan Williams <dcbw@redhat.com>
9931 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9934 - Remove useless junk (#412530)
9936 2007-07-10 Christopher Aillon <caillon@redhat.com>
9938 Patch from Robert Buchholz <rbu@gentoo.org>:
9942 * introspection/Makefile.am:
9943 Make make distcheck work again.
9945 2007-06-27 Dan Williams <dcbw@redhat.com>
9947 * Make SSIDs GByteArrays everywhere
9948 * Rename "essid" -> "ssid" everywhere that's appropriate
9949 * Refcount activation_ap member of the 802.11 wireless device class
9951 2007-06-27 Tambet Ingo <tambet@ximian.com>
9953 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9955 2007-06-22 Tambet Ingo <tambet@ximian.com>
9957 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9958 that we got a new AP when we just update existing AP properties.
9960 2007-06-21 Tambet Ingo <tambet@ximian.com>
9962 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9964 * nm-utils.[ch]: Remove.
9966 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9967 objects for easy property access and dbus connection handling.
9969 * libnm-glib/nm-client.c: Derive from NMObject.
9971 * libnm-glib/nm-device.c: Ditto.
9973 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9975 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9977 * libnm-glib/nm-ip4-config.c: Ditto.
9979 * libnm-glib/nm-access-point.c: Ditto.
9981 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9982 comparision. Currently used by the device activation code to determine if the new
9983 activation is the same as the old one.
9985 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9986 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9987 able to ask password for the AP.
9989 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9990 up if the device is already connected, tear down it's connection (if it isn't the
9991 same as new one) and start the activation.
9993 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9995 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9996 the issue where all APs are always listed as encrypted.
9998 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9999 their own registered paths.
10001 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10002 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10004 2007-06-13 Tambet Ingo <tambet@ximian.com>
10006 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10009 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10010 because the handling code will cause the next state change and signal listeners
10011 get the signals in wrong order.
10013 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10014 correctly in case of pending activation.
10016 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10017 Convert the essid byte array to string correctly, including the terminating NULL.
10019 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10020 mode with correct types.
10022 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10023 constructed info to dbus call instead of the activation request.
10025 2007-06-11 Christopher Aillon <caillon@redhat.com>
10027 Patch from Christian Persch <chpe@gnome.org>
10029 * libnm-glib/Makefile.am:
10030 * dispatcher-daemon/Makefile.am:
10031 Use the correct variables, the correct paths, and correct ordering. (446315)
10033 2007-06-11 Tambet Ingo <tambet@ximian.com>
10035 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10036 argument. The activation request is easy to retrieve.
10038 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10039 just to be a convenient location for devices to store random stuff.
10041 2007-06-11 Christopher Aillon <caillon@redhat.com>
10043 Patch from Alex Smith <alex@alex-smith.me.uk>
10045 * src/backends/NetworkManagerFrugalware.c:
10046 Update the FrugalWare backend to fix a few segfaults. (#392642)
10048 2007-06-08 Tambet Ingo <tambet@ximian.com>
10050 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10052 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10054 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10056 2007-06-06 Tambet Ingo <tambet@ximian.com>
10058 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10060 Implement NMSettingIP4Config.
10061 Finish NMSettingWired by adding all known members.
10062 (setting_wired_verify): Implement.
10063 Finish NMSettingWireless by adding all known members.
10064 (setting_wireless_verify): Implement.
10066 * libnm-util/nm-connection.c: Register "ipv4" setting.
10067 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10068 dump function, we can introspect the GHashTable which is used for sending connections
10071 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10072 Take GByteArray for essid, it's really not a string.
10074 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10075 Start DHCP request if setting is not passed or if it states that DHCP should be used.
10076 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10077 means overriding the values we got from DHCP.
10078 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10079 (nm_device_deactivate_quickly): Ditto.
10081 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10084 2007-05-07 Tambet Ingo <tambet@ximian.com>
10086 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10089 * libnm-glib/nm-device-802-11-wireless.c:
10090 (nm_device_802_3_ethernet_activate): Remove.
10092 * libnm-glib/nm-device-802-3-ethernet.c
10093 (nm_device_802_3_ethernet_activate): Remove.
10095 * libnm-glib/nm-device.c (nm_device_activate): Implement.
10097 * src/nm-device-802-3-ethernet.c: Implement the new activation using
10100 * src/nm-device-802-11-wireless.c: Store an activation AP once the
10101 activation has started.
10102 Implement the new activation using NMConnection.
10104 * src/nm-activation-request.c: Store a generic connection object instead
10105 of a wireless-specific AP.
10107 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10108 on device type, create a device specific connection object suitable for
10111 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10112 specific check to validate the connection and on success start the
10115 * src/nm-device-interface.h: Add a activate virtual function to the
10116 interface definition.
10118 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10119 (impl_device_activate): Implement.
10121 * introspection/nm-device.xml: Add a generic device activation interface
10122 that accepts an abstract NMConnection structure that has device-specific
10125 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10126 activation interface.
10128 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10129 activation interface.
10131 * libnm-util/nm-connection.c:
10132 * libnm-util/nm-connection.h:
10133 * libnm-util/nm-setting.c:
10134 * libnm-util/nm-setting.h: Add.
10136 * libnm-util/Makefile.am: Build the added files.
10138 * src/nm-dbus-manager.c
10139 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10140 DbusConnection argument from 'name-owner-changed' signal. The manager
10141 is already passed as a first argument to the signal and the connection
10142 is easy enough to get from it.
10144 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10145 Update the signature of the function.
10147 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10150 * src/NetworkManager.c: Ditto.
10152 * src/named-manager/nm-named-manager.c
10153 (nm_named_manager_name_owner_changed): Ditto.
10155 * src/supplicant-manager/nm-supplicant-manager.c
10156 (nm_supplicant_manager_name_owner_changed): Ditto.
10158 * src/nm-hal-manager.c (name_owner_changed): Ditto.
10160 * src/dhcp-manager/nm-dhcp-manager.c
10161 (nm_dhcp_manager_name_owner_changed): Ditto.
10163 * src/nm-hal-manager.c: Add a list of device detectors and creators
10164 to make it easier to add new devices. Each device type has it's own
10165 entry in the table so adding new device types is only a matter of
10166 implementing a couple of functions, one for device detection and the
10167 other for device creation.
10169 2007-04-25 Dan Williams <dcbw@redhat.com>
10171 * initscript/RedHat/NetworkManager.in: remove trailing backslash
10172 (gnome.org #432401)
10174 2007-03-30 Dan Williams <dcbw@redhat.com>
10176 * src/NetworkManagerSystem.c
10177 - (nm_system_device_set_ip4_route): clean up and fix argument
10178 to nm_dev_sock_open()
10180 2007-03-28 Tambet Ingo <tambet@ximian.com>
10182 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10183 data to correct types instead of always using string.
10185 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10186 _not_ have NM_802_11_CAP_PROTO_NONE.
10187 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10190 2007-03-27 Tambet Ingo <tambet@ximian.com>
10192 * libnm-glib/Makefile.am: Fix the build issue.
10194 2007-03-26 Tambet Ingo <tambet@ximian.com>
10196 * libnm-glib/nm-vpn-connection.h:
10197 * libnm-glib/nm-vpn-connection.c: Implement.
10199 * libnm-glib/nm-client.c: Add VPN support.
10201 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10204 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10207 2007-03-26 Dan Williams <dcbw@redhat.com>
10209 * src/NetworkManagerAPList.c
10210 * src/nm-device-802-11-wireless.c
10211 * src/NetworkManagerAP.c:
10212 - Store last seen as glong instead of GTimeVal.
10213 - Fix the upper bound of capabilities, it's a bitfield.
10215 2007-03-16 Tambet Ingo <tambet@ximian.com>
10217 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10219 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10220 "manager-running" signal that notifies the appearance/disappearance of NM.
10221 (nm_client_sleep): Implement.
10223 * libnm-glib/nm-device.c:
10224 * libnm-glib/nm-device-802-11-wireless.c:
10225 * libnm-glib/nm-device-802-3-ethernet.c:
10227 Don't inherit from DBusGProxy, add a proxy to private
10228 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10229 for anything but their own dbus interface. DBusGProxy objects support only one
10230 interfaces and to work around this, NMDevice has spearate proxy for each dbus
10231 interface. The nice side effect of this change is that we do not create a new
10232 DBusGProxy object for each property access.
10234 2007-03-15 Tambet Ingo <tambet@ximian.com>
10236 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10237 with zeroes before passing them to functions - the functions never do that and
10238 reading the values back may produce wrong values.
10239 (real_bring_up): Store the signal handler id ...
10240 (real_bring_down): ... So that it can be removed here.
10241 Disconnect the supplicant interface here as well.
10242 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10243 from the access point instead of old $device/Networks/$essid.
10245 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10246 device state is connected (instead of just having link/carrier).
10248 * src/nm-activation-request.c: Don't store NMData in activation request, it's
10249 already easily accessible through the device.
10251 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10252 store it within the object.
10253 (nm_ap_get_dbus_path): Export it to public as well.
10255 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10258 2007-03-12 Dan Williams <dcbw@redhat.com>
10260 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
10261 for non-carrier-detect capable devices, and useless for carrier-detect
10262 devices since we get notifications from netlink about carrier status anyway.
10264 * src/nm-device-802-3-ethernet.c
10265 - remove 'link_source_id' member from private data
10266 - (probe_link): remove and collapse into real_update_link()
10267 - (nm_device_802_3_periodic_update): remove
10268 - (real_is_up): check for sup_iface rather than link_source_id
10269 - (real_bring_up): return gboolean for success/fail; require that
10270 sup_iface be valid for device bringup to succeed
10271 - (real_bring_down): zero out link signal ids
10274 - (nm_device_activate_stage2_device_config): fail activation if device
10276 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10278 - (nm_device_bring_up): return success/fail
10281 - bring_up now returns success/fail
10283 * src/nm-device-802-11-wireless.c
10284 - (real_bring_up): return success from bringup
10286 2007-03-07 Dan Williams <dcbw@redhat.com>
10288 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
10289 * src/nm-ap-security-wpa-psk.c
10290 - (real_write_supplicant_config): work with PSKs that may contain
10291 zeros in the binary format rather than treating it as a string
10293 2007-03-02 Tambet Ingo <tambet@ximian.com>
10295 * libnm-glib/nm-device-802-11-wireless.c
10296 (nm_device_802_11_wireless_get_capabilities): Implement.
10298 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10300 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10302 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10303 reply only if it's not NULL. Not sure why this started happening right now.
10305 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10306 code paths for when devices get removed on shutdown or when a device is just
10308 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10309 gets freed so any signal from a device (disconnected for instance) would invoke
10310 NMState update which would crash.
10311 (nm_manager_remove_device): Bring the device down when it gets removed.
10313 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10314 the unused dev_type.
10316 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10317 reference to the added device, NMManager will own it (if it wants).
10319 * test/nm-tool.c: Rewrite using libnm-glib.
10321 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10322 We get signalled when it changes.
10324 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10327 * libnm-glib/nm-device.c: Cache the device state property.
10329 * libnm-glib/nm-access-point.c: Cache the strength property.
10331 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10332 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10333 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10334 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10335 the device is down, activating, or activated (in case of A/B/G cards).
10336 Remove some old dead ifdef'ed out code that used to configure wireless devices,
10337 it's all done through supplicant now.
10339 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10340 counting issues with pending calls which caused leaks and crashes when
10341 interface was removed (now that the interface actually gets removed).
10343 * src/nm-call-store.c: Make a copy of data before running a foreach
10344 with user callback on it - The most common usage pattern is to cancel
10345 (and thus remove) all pending calls with foreach which would modify
10346 the hash table we're iterating over.
10348 * src/nm-manager.c: When a device is added, make sure it is "up". When
10349 it's removed or disabled due to disabling wireless or networking, bring
10352 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10354 * src/nm-device-802-11-wireless.c:
10355 * src/nm-device-802-3-ethernet.c:
10357 - Remove "init" virtual function, all gobjects have a place for that
10358 already (constructor).
10359 - Replace "start" virtual function with "bring_up", devices can be
10360 brought up and down more than just on startup now.
10361 - Add "is_up" virtual function.
10362 - Implement one way to bring a device down instead of previous 4 different
10363 ways, each of witch did something different.
10365 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10366 all it needs is the device interface.
10368 Get rid of NMData.dev_list (3 members to go).
10369 Get rif of NMData in a lot of places.
10371 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10373 2007-02-23 Dan Williams <dcbw@redhat.com>
10375 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10377 * src/NetworkManagerAP.c
10378 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10379 OR-ing rather than AND-ing
10381 2007-02-20 Tambet Ingo <tambet@ximian.com>
10383 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10384 "network-removed" signals.
10386 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10388 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10389 when receiving the signal from dbus.
10391 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10394 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10395 deactivation of the previously activated device working again.
10397 * src/nm-activation-request.c: Remove NMActStage property and it's getter
10400 * src/nm-device.c (nm_device_is_activated): Remove.
10401 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10403 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10404 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10405 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10406 NM_DBUS_SIGNAL_STATE_CHANGE signal.
10407 Remove NMNetworkStatus and NMActStage enums.
10409 2007-02-19 Tambet Ingo <tambet@ximian.com>
10411 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10412 Handle device state changes and disconnect VPN if it's device deactivates.
10414 * src/nm-dbus-nm.c:
10415 * src/nm-dbus-nm.h:
10416 * src/nm-dbus-device.c:
10417 * src/nm-dbus-device.c:
10418 * src/nm-dbus-net.c:
10419 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10421 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10423 * src/nm-device.c (nm_device_get_by_udi):
10424 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10425 implemented in the correct location (NMManager).
10426 Rip out all the test_device stuff.
10428 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10429 failure handlers, it's all done by NMDevice already.
10431 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10432 Remove the iochannel hack to route the unix signals to the main thread since
10433 we're not threaded anymore.
10435 * src/NetworkManagerAP.c: Implement HWAddress property.
10437 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10438 automatically with dbus-glib.
10440 * src/nm-netlink-monitor.c:
10441 * src/nm-netlink-monitor.h:
10442 - Move it low in the class hierarchy, don't reference any NM types.
10443 - Remove private data from the header.
10444 - Use type safe checks in public API methods.
10445 - Make it a singleton so we don't have to pass the single reference around.
10447 2007-02-16 Tambet Ingo <tambet@ximian.com>
10449 * introspection/nm-ip4-config.xml: Implement.
10451 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10453 * libnm-glib/nm-ip4-config.c:
10454 * libnm-glib/nm-ip4-config.c: Implement.
10456 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10457 securities. APs reference security.
10459 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10460 be exported over DBUS.
10462 * src/nm-device-802-3-ethernet.c: Ditto.
10464 * src/NetworkManagerAP.c:
10465 * src/NetworkManagerAP.h:
10466 - Convert to GObject, export over DBUS.
10468 * src/nm-ip4-config.h:
10469 * src/nm-ip4-config.h:
10470 - Convert to GObject, export over DBUS.
10472 2007-02-12 Dan Williams <dcbw@redhat.com>
10474 Patch from Helmut Schaa <hschaa@suse.de>
10476 * vpn-daemons/pptp/configure.in
10477 vpn-daemons/pptp/Makefile.am
10478 vpn-daemons/openvpn/configure.in
10479 vpn-daemons/openvpn/Makefile.am
10480 vpn-daemons/vpnc/configure.in
10481 vpn-daemons/vpnc/Makefile.am
10482 - Add --without-gnome switch which disables building gnome bits
10484 2007-02-12 Tambet Ingo <tambet@ximian.com>
10486 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10488 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10490 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10493 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10495 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10497 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10500 - Remove old low-level dbus interface implementations and replace them
10501 with dbus-glib one.
10504 - Require dbus-glib >= 0.72.
10505 - Plug in new sources to build.
10508 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10509 to make it more convenient to use from GObject based programs.
10512 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10514 2007-02-09 Tambet Ingo <tambet@ximian.com>
10516 * src/nm-device-802-11-wireless.c:
10517 - Add "network-added" and "network-removed" signals.
10518 - Use gobject boilerplate macros to define the GObject.
10519 - Implement wireless device activation.
10520 - Remove activation_failure_handler and activation_success_handler
10521 and instead listen on state-changed signals and run the same code
10525 - Implment NMDeviceInterface::deactivate.
10526 - Remove activation_failure_handler and activation_success_handler
10527 virtual methods. Each device which is interested in these events
10528 can just listen on it's state changed signals.
10530 * src/NetworkManagerPolicy.c:
10531 - Move a bit more NMData usage to NMManager.
10532 - Remove activation scheduling bits.
10533 - Add listeners for wireless device's "network-added" and
10534 "network-removed" signals.
10535 - Listen device changed signals and deactivate currently activated
10536 device when another device start activating (for now).
10537 - Remove (nm_policy_schedule_device_change_check): There's never a need
10538 for calling this, the policy code knows exactly when this should happen,
10539 by listening on events from NMManager and NMDevices.
10541 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10544 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10545 method on the specific device instead of going to through policy code
10546 and determining the device type by passed in AP's existance.
10548 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10549 abstract NMDevice deactivation.
10551 2007-02-08 Tambet Ingo <tambet@ximian.com>
10553 * src/NetworkManager.c:
10554 - Set up all the shiny new managers.
10556 * src/NetworkManagerPolicy.c:
10557 - Add the beginnings of new NMPolicy code. Instead of requireing all
10558 classes to call into policy code, make the policy code kind of like
10559 a supervisor that monitors what's going on and drives the whole NM.
10561 * src/nm-hal-manager.c:
10562 * src/nm-hal-manager.h:
10563 - Collect all libhal code scattered around NM to this one class.
10564 - Listen libhal and NMManager events and add/remove devices to
10567 * src/nm-manager.c:
10568 * src/nm-manager.h:
10569 - Implment a replacement for NMData. NMData is now officially
10572 2007-02-05 Tambet Ingo <tambet@ximian.com>
10574 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10575 * src/supplicant-manager/nm-supplicant-interface.h
10576 * src/supplicant-manager/nm-supplicant-interface.c
10577 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10578 argument to boolean from enum.
10580 Make NMDevice abstract class, remove almost all references to it's
10581 subclasses (the last place gets removed with new policy manager). Add
10582 NMDeviceInterface (which NMDevice implements) so that when we have
10583 NMDevice exported over DBUS, there's a common NMDevice interface which
10584 all instances have, plus there's a device specific interface for each
10586 Remove functions (nm_device_is_802_3_ethernet) and
10587 (nm_device_is_802_11_wireless). There are already standard GObject macros
10588 for type safe checks.
10589 Use the updated supplican manager API.
10591 * src/nm-device-interface.h:
10592 * src/nm-device-interface.c:
10593 * src/nm-call-store.h:
10594 * src/nm-call-store.c: Implement.
10596 * src/supplicant-manager/nm-supplicant-interface.c:
10597 * src/supplicant-manager/nm-supplicant-interface.h:
10598 * src/supplicant-manager/nm-supplicant-manager.c:
10599 * src/supplicant-manager/nm-supplicant-manager.h:
10600 - Remove all private data type references from public header files.
10601 - Remove all references to other NM classes, this class is just a
10602 proxy between wpa_supplicant and NM so it doesn't have to know
10604 - Convert to dbus-glib bindings.
10605 - Type safe checks for public methods' arguments.
10606 - Store pending DBUS call ids to NMCallStore.
10608 * src/supplicant-manager/nm-supplicant-config.c:
10609 - Store config values in a GHashTable instead of GSList.
10611 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10613 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10616 * src/nm-device.c: Use the new DHCP manager API.
10618 * src/nm-activation-request.c:
10619 * src/nm-activation-request.h:
10620 - Remove all dhcp related properties and methods.
10622 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10624 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10626 * src/dhcp-manager/nm-dhcp-manager.c:
10627 * src/dhcp-manager/nm-dhcp-manager.h:
10628 - Convert it to GObject since we need to signal state changes.
10629 - Remove all references to other NM classes, this class is one
10630 of the lowest classes in our hierarchy.
10631 - One less class to use NMActRequest.
10632 - Make it singleton, one less user of NMData.
10633 - Remove a couple of sleep() calls.
10634 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10635 One less class to use the NM's custom tailored signal handlig.
10637 * Makefile.am: Generate marshallers, add them to build.
10639 2007-02-02 Dan Williams <dcbw@redhat.com>
10645 - Remove last bits referencing gnome applet
10647 2007-02-02 Dan Williams <dcbw@redhat.com>
10649 * src/vpn-manager/nm-vpn-service.c
10650 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10651 and NBNS server addresses
10653 2007-02-02 Tambet Ingo <tambet@ximian.com>
10655 * src/nm-dbus-manager.c:
10656 * src/nm-dbus-manager.h:
10657 - Convert all internal DBUS code to use dbus-glib bindings.
10658 - Remove GObject properties, we don't need them here.
10659 - Don't explicitly set things to NULL after freeing, glib is
10660 happy to do it if asked nicely (G_DEBUG=gc-friendly).
10661 - Make public API argument checks type safe.
10662 - Remove unnecessary (and wrong) cast to GObject for the first
10663 argument to g_signal_* calls - The first argument is a gpointer.
10664 - Export DBusGConnection to other cool classes that (are going to)
10667 2007-01-26 Dan Williams <dcbw@redhat.com>
10669 * libnm-util/dbus-dict-helpers.c
10670 libnm-util/dbus-dict-helpers.h
10671 - Coordinate style with wpa_supplicant version to minimize diff
10672 - Add uint32 array support
10673 - (nmu_dbus_dict_append_uint32_array): new function
10674 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10675 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10676 version; allow adding string array elements individually
10678 * test/libnm-util/test-dbus-dict-helpers.c
10679 - Test uint32 arrays
10681 2007-01-27 Jürg Billeter <j@bitron.ch>
10683 * src/backends/NetworkManagerPaldo.c
10684 - (nm_system_update_dns): clear nscd hosts cache
10686 2007-01-04 Dan Williams <dcbw@redhat.com>
10688 Threading removal related cleanups:
10690 - Use the glib default main context. Remove the device main context
10691 member from NMDevice, and the main_context member from NMData. Change
10692 all the idle and timeout scheduler functions to use plain
10693 g_idle_add() and g_timeout_add().
10695 - As a side-effect of the first change, nm_dbus_manager_get() no longer
10696 takes an argument; fix that up too.
10698 - Remove all locking, which is useless since we no longer use threads. For
10699 example, nm_get_device_by_iface_locked() has been removed. The global
10700 device list lock, the AP List lock, and all static locks in
10701 NetworkManagerPolicy.c have been removed. The locking utility functions
10702 in NetworkManagerUtils.c have also been removed.
10704 - Other cleanups in spacing and code style
10706 2007-01-01 Dan Williams <dcbw@redhat.com>
10708 Found by Bill Moss:
10710 * src/supplicant-manager/nm-supplicant-interface.c
10711 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10712 the supplicant interface wasn't already disconnected. Always
10713 call removeNetwork and disconnect unless the supplicant interface
10714 is in the DISCONNECTED or INACTIVE state.
10716 2006-12-28 Dan Williams <dcbw@redhat.com>
10718 Use a single thread for everything. With the move to wpa_supplicant
10719 and communication over D-Bus, there's no reason for multiple threads.
10720 Almost all of the blocking code has been removed, with one exception in
10721 the DHCP manager and a few in the VPN manager. This commit removes the
10722 per-device worker thread and fixes activation cancellation in the absence
10723 of threads. Further removal of thread-related code would be removing
10724 any locking code (like the device list lock) and simplification of logic
10725 around areas of code or data structures that are currently locked.
10728 dhcp-manager/nm-dhcp-manager.c
10729 nm-device-802-11-wireless.c
10730 nm-device-802-3-ethernet.c
10733 - Remove usage of multiple threads
10735 2006-12-19 Dan Williams <dcbw@redhat.com>
10737 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10738 plus a few other patches from wpa_supplicant bugzilla.
10741 src/NetworkManagerPolicy.c
10742 src/NetworkManagerUtils.c
10743 src/NetworkManagerUtils.h
10744 src/nm-ap-security-leap.c
10745 src/nm-ap-security-wep.c
10746 src/nm-ap-security-wpa-eap.c
10747 src/nm-ap-security-wpa-psk.c
10748 src/nm-ap-security.c
10749 src/nm-ap-security.h
10750 src/nm-device-802-11-wireless.c
10751 src/nm-device-802-11-wireless.h
10752 src/supplicant-manager/nm-supplicant-config.c
10753 src/supplicant-manager/nm-supplicant-config.h
10754 src/supplicant-manager/nm-supplicant-interface.c
10755 src/supplicant-manager/nm-supplicant-interface.h
10756 src/supplicant-manager/nm-supplicant-marshal.list
10757 src/supplicant-manager/nm-supplicant-settings-verify.c
10758 src/supplicant-manager/nm-supplicant-settings-verify.h
10759 - Move all connection management and association handling to
10760 wpa_supplicant over dbus, rather than spawning a private copy
10762 2006-12-19 Dan Williams <dcbw@redhat.com>
10764 * src/NetworkManagerPolicy.c
10765 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10766 better locking of the device change check handler ID. Incorrect
10767 locking was causing lost device change requests
10769 2006-12-18 Dan Williams <dcbw@redhat.com>
10771 * libnm-util/dbus-dict-helpers.c
10772 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10773 _nmu_dbus_dict_entry_get_byte_array): replace usage of
10774 dbus_message_iter_get_array_len() (Gnome.org #382898)
10776 2006-12-18 Dan Williams <dcbw@redhat.com>
10778 * gnome/libnm_glib/libnm_glib.c
10779 - Change dbus_connection_close() -> dbus_connection_unref()
10781 2006-12-11 Dan Williams <dcbw@redhat.com>
10783 * src/supplicant-manager/nm-supplicant-interface.c
10784 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10785 wpa_supplicant interface state
10786 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10787 state before transitioning to READY state
10789 2006-12-04 Dan Williams <dcbw@redhat.com>
10791 * src/nm-device-802-11-wireless.c
10792 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10793 odd length of ESSID returned from ieee80211 stack-based drivers
10795 2006-12-04 Dan Williams <dcbw@redhat.com>
10797 * src/nm-device-802-11-wireless.c
10798 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10799 IE handling blocks that cause mis-parsing of the IE
10801 2006-12-04 Dan Williams <dcbw@redhat.com>
10803 * src/nm-device-802-11-wireless.c
10804 - (init_supplicant_interface): new function; pull supplicant interface
10805 setup code out into standalone function since it must be called from
10806 two different places
10807 - (real_init): sup_mgr is now in private object data; get and track
10808 the supplicant manager object over the NMDevice subclass' lifetime
10809 and register a signal handler for its state signals; only try to
10810 initialize the supplicant interface if the supplicant manager is in
10811 the IDLE state (and therefore is ready for requests)
10812 - (request_wireless_scan): reschedule the scan request if (a) there is
10813 no supplicant interface yet (meaning wpa_supplicant isn't running
10814 or isn't ready yet), or (b) if the supplicant interface isn't ready
10816 - (supplicant_iface_connection_state_cb): new function; stub for
10817 handling supplicant interface connection state signals
10818 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10820 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10821 supplicant manager object that's being tracked starting with this
10824 2006-12-04 Dan Williams <dcbw@redhat.com>
10826 * src/supplicant-manager/nm-supplicant-interface.c
10827 - (nm_supplicant_interface_set_property): track signal handler ID
10828 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10830 2006-12-04 Dan Williams <dcbw@redhat.com>
10832 * src/supplicant-manager/nm-supplicant-interface.[ch]
10833 - (nm_supplicant_interface_get_state): new function
10835 2006-12-04 Dan Williams <dcbw@redhat.com>
10837 * src/supplicant-manager/nm-supplicant-interface.c
10838 - (bssid_properties_cb): don't treat DBus errors as valid
10839 scanned AP messages
10841 2006-12-04 Dan Williams <dcbw@redhat.com>
10843 * src/supplicant-manager/nm-supplicant-interface.[ch]
10844 - (nm_supplicant_interface_get_connection_state): new function
10845 - define new supplicant connection states
10846 - send a signal when the supplicant connection state changes
10848 2006-12-03 Dan Williams <dcbw@redhat.com>
10850 * src/supplicant-manager/Makefile.am
10851 src/supplicant-manager/nm-supplicant-connection.h
10852 src/supplicant-manager/nm-supplicant-connection.c
10853 src/supplicant-manager/nm-supplicant-config.h
10854 src/supplicant-manager/nm-supplicant-config.c
10855 src/supplicant-manager/nm-supplicant-types.h
10856 src/supplicant-manager/nm-supplicant-interface.h
10857 src/supplicant-manager/nm-supplicant-interface.c
10858 - Rename NMSupplicantConnection -> NMSupplicantConfig
10860 2006-12-03 Dan Williams <dcbw@redhat.com>
10862 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
10866 - Move VPN-related translatables to .skip
10868 * vpn-daemons/pptp/po/POTFILES.in
10869 - Update with new translatables
10871 2006-12-02 Dan Williams <dcbw@redhat.com>
10873 Patch from Christian Persch <chpe@gnome.org>
10875 * gnome/applet/Makefile.am
10876 gnome/applet/applet-dbus-devices.c
10877 gnome/applet/applet-notifications.c
10878 gnome/applet/applet.c
10879 gnome/applet/applet.h
10880 gnome/applet/main.c
10881 - Be a GtkStatusIcon on GTK+ >= 2.10
10883 2006-12-02 Dan Williams <dcbw@redhat.com>
10885 * gnome/applet/applet.c
10886 - (nma_update_info): fix two unecessary allocations
10888 2006-12-02 Dan Williams <dcbw@redhat.com>
10890 Patch from Michael Biebl <biebl@teco.edu>
10892 man/NetworkManager.1.in
10893 man/NetworkManagerDispatcher.1.in
10894 man/NetworkManager.8.in
10895 man/NetworkManagerDispatcher.8.in
10896 - Add .SH NAME stanzas
10897 - Move NM & NM Dispatcher manpages to section 8 (admin)
10899 2006-12-02 Dan Williams <dcbw@redhat.com>
10901 Patch from Christian Persch <chpe@gnome.org>
10904 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10906 2006-11-29 Tambet Ingo <tambet@ximian.com>
10908 Patch by Timo Hoenig <thoenig@suse.de>:
10909 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10912 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10913 we can't use the one from the main source directory.
10915 2006-11-27 Dan Williams <dcbw@redhat.com>
10917 Patch from Christian Persch <chpe@gnome.org>
10919 * gnome/applet/applet-dbus-devices.c
10920 - (hal_info_product_cb): fix memleak; free duped string.
10923 2006-11-27 Dan Williams <dcbw@redhat.com>
10925 Patch from Christian Persch <chpe@gnome.org>
10927 * gnome/applet/menu-items.c
10928 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10929 as gtk_progress_set_percentage is deprecated. Should
10930 work as far back as GTK+ 2.4. Gnome.org #379780
10932 2006-11-26 Dan Williams <dcbw@redhat.com>
10934 Scan using wpa_supplicant over DBus.
10936 * src/nm-device-802-11-wireless.c
10937 - remove wireless extensions netlink event handler bits
10938 (wireless_event_helper, nm_device_802_11_wireless_event)
10939 - remove wireless extensions scan event handler bits
10940 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10941 hex2byte, hex2num, request_and_convert_scan_results,
10942 free_process_scan_cb_data, scan_results_timeout,
10943 schedule_scan_results_timeout, cancel_scan_results_timeout)
10944 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10945 and request scans from the supplicant interface rather than directly
10946 - Move functionality of convert_scan_results() to cull_scan_list() and
10947 supplicant_iface_scanned_ap_cb()
10948 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10949 at the scan interval when the current scan has finished
10950 - (supplicant_iface_state_cb): start scanning when the supplicant
10951 interface enters the READY state, and stop scanning when it
10952 enters the DOWN state
10953 - (cull_scan_list): weed out old access points from the scan list
10954 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10955 point into an NMAccessPoint and merge it into the device's scan list
10957 * src/supplicant-manager/nm-supplicant-interface.c
10958 src/supplicant-manager/nm-supplicant-interface.h
10959 - Add a new signal "scan-result" which is issued when the supplicant
10960 notifies NM that a scan has completed
10961 - Add a new signal "scanned-ap" that notifies listeners of a new access
10962 point found in the scan. Called once for each access point that
10963 the supplicant interface object receives from the supplicant as a
10964 result of the "scanResults" method call
10965 - (wpas_iface_query_scan_results): don't wait 4s before querying
10966 for the initial scan results
10967 - (scan_request_cb): new function; send listeners the result
10968 (success, error) of a wireless scan request
10969 - (nm_supplicant_interface_request_scan): new function; ask the
10970 supplicant to perform an immediate wireless scan
10972 2006-11-25 Dan Williams <dcbw@redhat.com>
10974 * src/supplicant-manager/Makefile.am
10975 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10976 add HAL cflags/includes and named-manager includes directory
10978 * src/supplicant-manager/nm-supplicant-interface.h
10979 - New state STARTING to handle transition from INIT to READY where
10980 the addInterface pending call is still outstanding
10982 * src/supplicant-manager/nm-supplicant-interface.c
10983 - track pending calls differently since we may have more than one
10984 going on at any given time
10985 - request scan results from wpa_supplicant; but don't do it more often
10986 than every 4 seconds. Drivers that do background scanning
10987 (like the 'ipw' drivers) send a continuous stream of scan completion
10988 notifications, so we don't want to hammer the supplicant or dbus
10989 with requests for all scan results every time we get a completion
10992 2006-11-25 Dan Williams <dcbw@redhat.com>
10994 * src/supplicant-manager/nm-supplicant-types.h
10995 - new file; move all supplicant manager object typedefs here for
10998 * src/supplicant-manager/nm-supplicant-interface.c
10999 src/supplicant-manager/nm-supplicant-interface.h
11000 - new file; an object that interfaces an NMDevice object to the
11001 supplicant and handles signals from the supplicant. This object
11002 does all necessary DBus communication with wpa_supplicant.
11004 * src/supplicant-manager/nm-supplicant-manager.c
11005 src/supplicant-manager/nm-supplicant-manager.h
11006 - Actually do something. Track the state of the wpa_supplicant service
11007 and deal with its comings & goings. Handle life events of
11008 supplicant interfaces too.
11009 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11011 * src/supplicant-manager/nm-supplicant-connection.h
11012 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11014 * src/supplicant-manager/Makefile.am
11015 - Add new files to build, and add libnm-util to includes
11017 * src/nm-marshal.list
11018 - New marshaler type: VOID:UINT,UINT
11020 * src/nm-device-802-3-ethernet.c
11021 - (real_init): grab a supplicant interface
11022 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11023 - (supplicant_iface_state_cb): new function, stub for handling
11024 supplicant interface state changes
11026 * src/nm-device-802-11-wireless.c
11027 - (real_init): grab a supplicant interface
11028 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11029 - (supplicant_iface_state_cb): new function, stub for handling
11030 supplicant interface state changes
11032 * src/NetworkManager.c
11033 - (main): create and keep the supplicant manager around for the lifetime
11037 - Link to the supplicant manager sub-library and use the supplicant
11040 2006-11-25 Dan Williams <dcbw@redhat.com>
11042 Rework DBus manager signal handling to be more flexible. Previously,
11043 only one signal handler could be registered for a particular interface.
11044 The DBus manager now reference counts DBus bus matches and allows multiple
11045 clients to register signal handlers for the same interface and sender.
11047 * src/NetworkManager.c
11048 - (main): track NMI signal handler ID and remove it when we quit
11050 * src/NetworkManagerMain.h
11051 - Keep track of NMI signal handler ID
11053 * src/nm-dbus-manager.c
11054 src/nm-dbus-manager.h
11055 - rework signal handling; each signal handler references one signal
11056 match, but a signal match may be referenced by one or more
11057 signal handlers. Matches are refcounted and are destroyed when the
11058 last signal handler that references the match is removed. This is
11059 necessary because two signal handlers may end up requiring the same
11060 dbus bus match, so the match must live until the last signal handler
11061 is destroyed (for example, with the wpa_supplicant network interface
11064 * src/dhcp-manager/nm-dhcp-manager.c
11065 - (nm_dhcp_manager_new): track DHCP signal handler id
11066 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11068 * src/vpn-manager/nm-vpn-service.c
11069 - (nm_vpn_service_add_watch): track VPN service signal handler id
11070 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11072 2006-11-25 Dan Williams <dcbw@redhat.com>
11074 Suggested by Helmut Schaa <hschaa@suse.de>
11076 * src/vpn-daemons/nm-vpn-service.c
11077 - (supplicant_child_setup): new function
11078 - (supplicant_exec): make child process use a new process group id
11080 * src/nm-device-802-11-wireless.c
11081 - (nm_vpn_service_child_setup): new function
11082 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11085 2006-11-19 Dan Williams <dcbw@redhat.com>
11087 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
11088 * gnome/vpn-properties/nm-vpn-properties.c
11089 - clean up after renamed VPN connection
11091 2006-11-19 Dan Williams <dcbw@redhat.com>
11093 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
11094 * gnome/applet/applet-dbus-vpn.c
11095 - (nma_dbus_vpn_properties_cb): sort VPN connections
11097 * gnome/vpn-properties/nm-vpn-properties.c
11098 - (init_app): sort VPN connections
11100 2006-11-09 Dan Williams <dcbw@redhat.com>
11102 * src/NetworkManagerAPList.c
11103 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11104 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11105 from the nm_ap_list_get_ap_by_address() call was incorrect and
11106 broke hidden SSID matching. Found by Bill Moss.
11108 2006-10-25 Dan Williams <dcbw@redhat.com>
11111 - (nm_dbus_nm_set_active_device): return an empty success message on
11112 success, rather than falling through to the error case.
11114 2006-10-25 Dan Williams <dcbw@redhat.com>
11116 * src/NetworkManagerUtils.c
11117 - (nm_utils_supplicant_request_with_check): suppress messages for the
11120 2006-10-24 Dan Williams <dcbw@redhat.com>
11122 Reduce the number of times the Gnome applet wakes up, especially when
11123 it's doing absolutely nothing and is hidden. Initial patch by
11126 * gnome/applet/applet-dbus.c
11127 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11128 kill the redraw timeout. When NM starts up, start the redraw
11129 timeout. Also, if we get kicked off the bus for some reason,
11130 start the reconnection timeout if one's not already running.
11131 - (nma_dbus_init): better handling of error conditions, don't leak
11132 a half-initialized dbus connection
11133 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11134 the applet's data, just call nm_dbus_init_helper()
11135 - (nma_start_dbus_connection_watch): new function, starts a periodic
11136 timeout that calls nma_dbus_connection_watcher()
11137 - (nma_dbus_init_helper): if we get a successful connection, kill the
11138 reconnection timeout, and don't start the reconnection timeout
11139 unconditionally anymore
11141 * gnome/applet/applet-dbus.h
11142 - Expose nma_start_dbus_connection_watch()
11144 * gnome/applet/applet.c
11145 - (nma_update_state): no longer static, called from applet-dbus.c for
11146 immediate UI updates on certain events
11147 - (nma_set_running): new function; take over setting applet->running,
11148 when not running (ie, NM is not active), don't activate the redraw
11149 timeout because we're not showing the applet anyway. When we are
11150 running (ie, NM is active), and only when we're running, start the
11152 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11153 kill any reconnection timeout
11154 - (nma_get_instance): move one-off dbus initialization code here since
11155 nm_dbus_init_helper() gets called more than once, possibly by the
11156 reconnection timeout function too. And, when we start up, if we
11157 can't get a connection to the bus, start the reconnection timeout.
11158 But don't start the redraw timeout yet, only do that when we get
11159 NM's state and find out if it's running or not.
11161 * gnome/applet/applet.h
11162 - Add the reconnection GSource ID
11163 - Add prototypes for nma_set_running() and the no-longer-static
11166 2006-10-24 Dan Williams <dcbw@redhat.com>
11168 * src/vpn-daemons/nm-dbus-vpnc.c
11169 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11170 pending call tracker
11171 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11172 pending call tracker; register one-vpn-connection update pending
11173 call in pending call tracker
11174 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11175 update pending call in pending call tracker
11176 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11177 update pending call in pending call tracker; don't block waiting
11180 2006-10-19 Robert Love <rml@novell.com>
11182 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11185 2006-10-14 Dan Williams <dcbw@redhat.com>
11187 * src/dhcp-manager/nm-dhcp-manager.c
11188 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11189 the dbus connection and the device object path rather than
11190 constructing it inside both functions. Saves a bit of memory
11191 and clarifies a failure path.
11192 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11193 and allocate device path here rather than each of the two
11196 2006-10-13 Dan Williams <dcbw@redhat.com>
11198 * src/NetworkManager.c
11199 - (nm_name_owner_changed_handler): handle NMI coming and going,
11200 this somehow droppout in the refactor
11202 2006-10-13 Dan Williams <dcbw@redhat.com>
11204 * Huge DBus refactor:
11205 - Create a "DBus Manager" object which manages the connection and
11206 sends signals on NameOwnerChanged and connection/disconnection events,
11207 handles reconnection to the bus if NM gets kicked off, and abstracts
11209 - Remove DBusConnection members from places where they are no
11210 longer needed due to the refactor, like the dbus-connection
11211 property of the named manager, and from NMData
11212 - Reformats a bunch of the code to gnome style
11213 (8-space tabs, braces on same line as statement, 80-col width).
11214 Consider it open season to reformat any bits to gnome style.
11215 style that aren't already.
11217 2006-10-13 Dan Williams <dcbw@redhat.com>
11219 * src/supplicant-manager/Makefile.am
11222 * src/supplicant-manager/nm-supplicant-manager.[ch]:
11223 - Make it a minimal GObject
11225 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
11226 - Verify settings destined for wpa_supplicant
11228 * src/supplicant-manager/nm-supplicant-connection.[ch]:
11229 - Minimal GObject to track wpa_supplicant controlled device
11232 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
11234 * gnome/applet/applet.c: (nma_update_info),
11235 (nma_act_stage_to_pixbuf), (nma_update_state):
11236 Mark missing strings for translation. Fixes bug #343306.
11238 2006-10-01 Dan Williams <dcbw@redhat.com>
11240 * src/vpn-manager/nm-vpn-manager.c
11241 - (nm_vpn_manager_load_services): split and clean up
11242 for readability and correctness. Restrict VPN service
11243 files to ending in ".name", as was meant from the
11244 beginning (but not coded in). Better error reporting.
11246 2006-10-01 Dan Williams <dcbw@redhat.com>
11249 - Clean up formatting of debug/info/warning log messages
11251 2006-09-27 Robert Love <rml@novell.com>
11253 Patch by Tambet Ingo <tambet@ximian.com>:
11254 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11257 2006-09-07 Dan Williams <dcbw@redhat.com>
11260 test/libnm-util/Makefile.am
11261 test/nm-supplicant-test.c
11262 - Add test program emulating the way NM drives wpa_supplicant
11263 to help debug supplicant issues
11265 2006-08-24 Dan Williams <dcbw@redhat.com>
11269 src/supplicant-manager/Makefile.am
11270 src/supplicant-manager/nm-supplicant-manager.c
11271 src/supplicant-manager/nm-supplicant-manager.h
11272 - Add skeleton bits of the wpa_supplicant manager
11274 2006-08-24 Dan Williams <dcbw@redhat.com>
11276 Patch from Ed Catmur:
11277 * src/NetworkManagerUtils.c
11278 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11279 if netmask is 0 (Gnome #352634)
11281 2006-08-17 Robert Love <rml@novell.com>
11283 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11284 package is now DBUS-enabled and listens for the NM signals.
11286 2006-08-14 Dan Williams <dcbw@redhat.com>
11288 * Patch from Christian Persch <chpe gnome org>
11291 vpn-daemons/openvpn/po/LINGUAS
11292 vpn-daemons/openvpn/configure.in
11293 vpn-daemons/pptp/po/LINGUAS
11294 vpn-daemons/pptp/configure.in
11295 vpn-daemons/vpnc/po/LINGUAS
11296 vpn-daemons/vpnc/configure.in
11297 - Convert to LINGUAS method so translators don't have to modify
11298 configure.in, just stuff in po/. Gnome #343132, requires intltool
11301 2006-08-14 Dan Williams <dcbw@redhat.com>
11303 Patch from Alex Smith <alex.extreme2@gmail.com>
11305 src/backends/Makefile.am
11306 src/backends/NetworkManagerFrugalware.c
11307 - Add support for Frugalware
11309 2006-08-13 Dan Williams <dcbw@redhat.com>
11311 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11312 * src/nm-device-802-11-wireless.c
11313 - (supplicant_exec): spawn wpa_supplicant without debug spew
11316 2006-08-13 Dan Williams <dcbw@redhat.com>
11318 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11319 * src/nm-ap-security.c
11320 src/nm-ap-security.h
11321 - Add authentication_required bits for subclasses to specify whether
11322 or not real authentication is required for connections, i.e. whether
11323 the AP rejects us when an encryption key is wrong or not.
11325 * src/nm-ap-security-wep.c
11326 src/nm-ap-security-wpa-eap.c
11327 src/nm-ap-security-wpa-psk.c
11328 src/nm-ap-security-leap.c
11329 - Implement authentication_required appropriately for each method
11331 * src/nm-device-802-11-wireless.c
11332 - Be smarter about when to request a key; for example, using a wrong key
11333 in WEP shared key mode previously just timed out and did not request
11336 2006-08-13 Dan Williams <dcbw@redhat.com>
11338 * gnome/libnm_glib/libnm_glib.c
11339 - dbus_connection_disconnect() -> dbus_connection_close() for
11342 2006-08-07 Dan Williams <dcbw@redhat.com>
11344 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11345 * src/NetworkManagerSystem.c
11346 - Respect specified MTU. Gnome #344967
11348 2006-08-07 Dan Williams <dcbw@redhat.com>
11350 * src/vpn-manager/nm-vpn-service.c
11351 - Simplify print_vpn_config() arguments
11353 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11354 * src/vpn-manager/Makefile.am
11355 src/vpn-manager/nm-vpn-service.c
11356 - Add new API for passing VPN config options as a dict. Gnome #344967
11358 2006-08-06 Dan Williams <dcbw@redhat.com>
11360 * gnome/applet/applet-dbus-devices.c
11361 gnome/applet/applet-dbus-vpn.c
11362 gnome/applet/applet-dbus.c
11363 gnome/applet/applet-dbus.h
11367 - Make pending call tracking code generic,
11368 so we can use it in NM as well as the applet
11370 2006-08-06 Dan Williams <dcbw@redhat.com>
11372 * src/nm-activation-request.c
11373 - Refcount pending call objects
11375 2006-08-06 Dan Williams <dcbw@redhat.com>
11377 Patch from Christan Chiesa <christanc@gmail.com>
11379 - Tell sha1.c to use bigendian mode on PPC
11381 2006-08-04 Robert Love <rml@novell.com>
11383 Glib Memory Slices!
11384 * configure.in: Require glib 2.10 or later.
11385 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11386 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11387 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11388 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11389 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
11390 Memory Slices are the greatest thing since bread slices.
11391 * src/NetworkManagerAP.c: Also, fix memory leak.
11393 2006-08-01 Robert Love <rml@novell.com>
11395 * gnome/applet/main.c: Shutdown all VPN connections on logout.
11397 2006-07-31 Robert Love <rml@novell.com>
11399 * src/backends/interface_parser.c: Declarations must begin the block.
11401 2006-07-24 Dan Williams <dcbw@redhat.com>
11403 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11404 * src/backends/Makefile.am
11405 src/backends/NetworkManagerArch.c
11406 src/backends/NetworkManagerDebian.c
11407 src/backends/NetworkManagerGeneric.c
11408 src/backends/NetworkManagerGeneric.h
11409 src/backends/NetworkManagerGentoo.c
11410 src/backends/NetworkManagerPaldo.c
11411 src/backends/NetworkManagerRedHat.c
11412 src/backends/NetworkManagerSlackware.c
11413 src/backends/NetworkManagerSuSE.c
11414 - Genericize common backend functions
11416 2006-07-18 Robert Love <rml@novell.com>
11418 * configure.in: Add "--with-notify" option to allow disabling of
11421 2006-07-13 Dan Williams <dcbw@redhat.com>
11423 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11424 * gnome/applet/applet.glade
11425 gnome/applet/Makefile.am
11426 gnome/applet/nm-gconf-wso.c
11427 gnome/applet/nm-gconf-wso-leap.c
11428 gnome/applet/nm-gconf-wso-leap.h
11429 gnome/applet/wireless-security-manager.c
11430 gnome/applet/wso-leap.c
11431 gnome/applet/wso-leap.h
11432 include/NetworkManager.h
11433 libnm-util/dbus-helpers.c
11434 libnm-util/dbus-helpers.h
11436 src/NetworkManagerAP.c
11437 src/nm-ap-security.c
11438 src/nm-ap-security-leap.c
11439 src/nm-ap-security-leap.h
11440 - Add LEAP authentication support
11442 2006-07-13 Dan Williams <dcbw@redhat.com>
11444 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11446 src/backends/NetworkManagerArch.c
11447 src/backends/NetworkManagerDebian.c
11448 src/backends/NetworkManagerGentoo.c
11449 src/backends/NetworkManagerPaldo.c
11450 src/backends/NetworkManagerRedHat.c
11451 src/backends/NetworkManagerSlackware.c
11452 src/backends/NetworkManagerSuSE.c
11453 - Convert hardcoding of 'ip' path to configure-time
11456 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11458 * configure.in: added ru to ALL_LINGUAS
11460 2006-07-10 Dan Williams <dcbw@redhat.com>
11462 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11464 - (real_act_stage3_ip_config_start): don't infinite loop when
11465 dhcdbd isn't running (Gnome #346845)
11467 2006-07-09 Dan Williams <dcbw@redhat.com>
11469 * gnome/applet/applet.c
11470 - (nma_destroy): don't pass NULL to notify_notification_close
11473 2006-07-09 Dan Williams <dcbw@redhat.com>
11475 * gnome/applet/applet.c
11476 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11478 2006-07-04 Tor Krill <tor@krill.nu>
11480 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11481 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11482 (nm_system_restart_mdns_responder), (ArchReadConfig),
11483 (nm_system_device_get_system_config):
11484 - Explicitly check for DHCP configuration
11485 - Check if daemons are running before starting them
11487 2006-06-25 Dan Williams <dcbw@redhat.com>
11489 * libnm-util/dbus-dict-helpers.[ch]
11490 test/libnm-util/test-dbus-dict-helpers.c
11491 - Add string array support
11493 2006-06-24 Dan Williams <dcbw@redhat.com>
11495 * src/dhcp-manager/nm-dhcp-manager.c
11496 - (nm_dhcp_manager_process_signal): clean up spacing
11498 2006-06-21 Dan Williams <dcbw@redhat.com>
11500 * src/nm-dbus-device.c
11501 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11504 2006-06-21 Raivis Dejus <orvils@gmail.com>
11506 * configure.in: Added 'lv' to ALL_LINGUAS
11508 2006-06-19 Dan Williams <dcbw@redhat.com>
11510 * src/NetworkManagerAP.c
11511 - Clarify usage of user_created
11513 * src/nm-ap-security-wep.c
11514 src/nm-ap-security-wpa-eap.c
11515 src/nm-ap-security-wpa-psk.c
11516 src/nm-ap-security.c
11517 src/nm-ap-security.h
11518 - s/user_created/adhoc, because we really do mean adhoc
11520 Patch from Bernard Blackham <bernard@blackham.com.au>
11521 * src/nm-device-802-11-wireless.c
11522 - (supplicant_send_network_config): instead of user_created,
11523 use adhoc, and do AP_SCAN 2 for adhoc networks
11525 2006-06-18 Robert Love <rml@novell.com>
11527 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11528 we have a value to set. Gconf generates a warning if `val' is NULL.
11529 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11530 unless we actually received a valid private key file passphrase or
11531 password. Otherwise, we don't know to later ask the applet to pull
11532 the key from the keyring.
11534 2006-06-17 Dan Williams <dcbw@redhat.com>
11536 * libnm-util/dbus-dict-helpers.[ch]
11537 test/libnm-util/test-dbus-dict-helpers.c
11538 - Fixes for zero-length byte arrays
11539 - Replace return values of 0 with FALSE for clarity
11540 - Test zero-length byte arrays
11542 2006-06-17 Dan Williams <dcbw@redhat.com>
11544 * libnm-util/dbus-dict-helpers.[ch]
11545 test/libnm-util/test-dbus-dict-helpers.c
11546 - Add helpers for byte arrays
11547 - Rework bits of the testcase
11549 2006-06-16 Dan Williams <dcbw@redhat.com>
11551 * libnm-util/Makefile.am
11552 * libnm-util/dbus-dict-helpers.[ch]
11553 - Add some helpers to take the pain out of using dict types in
11556 * test/libnm-util/Makefile.am
11557 * test/libnm-util/test-dbus-dict-helpers.c
11558 - Test cases for the dict helper functions
11560 2006-06-15 Robert Love <rml@novell.com>
11562 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11563 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11564 if there is no key to pass.
11565 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11566 receiving a non-NULL key.
11568 2006-06-14 Robert Love <rml@novell.com>
11570 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11574 2006-06-14 Dan Williams <dcbw@redhat.com>
11576 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11577 * src/nm-device-802-11-wireless.c
11578 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11579 or ones where the driver is unknown
11580 - (supplicant_exec): don't wait for supplicant startup here
11581 - (supplicant_interface_init): finer grained polling for supplicant
11584 2006-06-13 Robert Love <rml@novell.com>
11586 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11587 if it is currently set to TRUE. Otherwise, we will reset the value
11588 when we connect normally.
11589 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11590 the old BSSID is valid, too. The recently added ESSID check may not be
11591 sufficient (we can remove it?). What we really want to catch is the
11592 case of going from all-zeros to the BSSID of some other network, which
11593 happens on failure.
11595 2006-06-09 Dan Williams <dcbw@redhat.com>
11597 * src/NetworkManagerSystem.[ch]
11598 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11599 it was unused and pointless
11600 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11601 fix for set_up_down_with_iface change
11603 * src/vpn-manager/nm-vpn-connection.c
11604 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11606 * src/backends/NetworkManagerPaldo.c
11607 src/backends/NetworkManagerRedHat.c
11608 src/backends/NetworkManagerSuSE.c
11609 src/backends/NetworkManagerArch.c
11610 src/backends/NetworkManagerDebian.c
11611 src/backends/NetworkManagerGentoo.c
11612 - (nm_system_enable_loopback): use set_up_down_with_iface where
11614 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11617 2006-06-09 Dan Williams <dcbw@redhat.com>
11619 Patch from Peter Jones:
11620 * src/nm-device-802-11-wireless.c
11621 - (nm_device_802_11_wireless_update_bssid): make sure that the
11622 SSID hasn't changed from what we expect before automatically
11623 updating the saved BSSID from a new AP
11625 2006-06-08 Robert Love <rml@novell.com>
11627 Add 'fallback' support. NetworkManager will attempt to brute-force
11628 connect to networks marked as fallback if there are no better wireless
11629 connections available. This is useful as a method of last resort, to
11630 work around driver problems, and for use with hidden networks.
11631 * gnome/applet/applet-dbus-devices.c,
11632 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11633 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11634 pass it on via DBUS.
11635 * gnome/applet/applet.c: No fallback by default.
11636 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11637 Update other-network-dialog to add UI checkbox toggling fallback.
11638 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11639 propery from AP object. Add "fallback" property to AP object.
11640 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11641 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11642 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11643 separate function. Add get_best_fallback_ap() for returning an AP
11644 on which to attempt fallback.
11645 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11646 * test/nm-set-fallback: New file. Sets a given network as fallback.
11648 2006-06-07 Robert Love <rml@novell.com>
11650 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11651 checked that the return type was GCONF_VALUE_STRING, not the correct
11652 GCONF_VALUE_BOOL, and thus it never worked.
11653 * src/NetworkManagerAPList.c: Before concluding that two networks are
11654 identical based on their BSSID, make sure that the BSSID in question
11655 is actually valid. Specifically, an empty or all zero BSSID does not
11657 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11658 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11659 similar invariant clean up.
11661 2006-06-02 Robert Love <rml@novell.com>
11663 * gnome/applet/applet.c: Update copyright years. Add Novell.
11665 2006-05-28 Dan Williams <dcbw@redhat.com>
11667 * gnome/applet/applet.glade
11668 gnome/vpn-properties/nm-vpn-properties.glade
11669 - Set window icons on dialogs (Gnome.org #333420)
11671 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
11673 * gnome/vpn-properties/nm-vpn-properties.glade:
11674 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11675 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11676 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11677 - Make the VPN properties pages prettier and more HIG
11678 compliant. Gnome Bug #336913.
11680 2006-05-28 Dan Williams <dcbw@redhat.com>
11682 Patch from Christian Persch <chpe@gnome.org>
11683 * gnome/vpn-properties/nm-vpn-properties.c
11684 * gnome/vpn-properties/nm-vpn-properties.glade
11685 - HIG-ification love (Gnome.org #336846)
11687 2006-05-28 Dan Williams <dcbw@redhat.com>
11689 Patch from Christian Persch <chpe@gnome.org>
11691 gnome/vpn-properties/nm-vpn-properties.c
11692 - (main): Fix option parsing. Gnome.org #336847
11694 2006-05-28 Dan Williams <dcbw@redhat.com>
11696 * gnome/vpn-properties/nm-vpn-properties.c
11697 - (find_vpn_ui_by_service_name): protect against NULL service names
11698 - (update_edit_del_sensitivity): protect against NULL service names
11701 2006-05-28 Dan Williams <dcbw@redhat.com>
11703 Patch from Chris Fuller <crf@grandecom.net>:
11704 * src/nm-device-802-11-wireless.c
11705 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11706 don't dispose of wireless-specific stuff unless it is actually
11707 initialized. Gnome.org #341263
11709 2006-05-28 Dan Williams <dcbw@redhat.com>
11711 * src/NetworkManagerPolicy.c
11712 - (nm_policy_device_change_check): don't switch devices if the "best"
11713 AP is essentially the same as the current activation request, but
11714 the current activation request isn't done activating yet. Fixes
11715 multiple requests for keyring password on startup for Gnome applet.
11718 2006-05-26 Nicolas Trangez <eikke@eikke.com>
11720 * src/NetworkManager.c: use GOptions instead of getopt
11721 * configure.in: bump glib required version to >= 2.6 for GOption
11724 2006-05-25 Robert Love <rml@novell.com>
11726 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11727 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
11728 instead of dumping ifdef's throughout the code.
11729 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11730 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11731 use nm_ioctl_info() in lieu.
11733 2006-05-25 Robert Love <rml@novell.com>
11735 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11736 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11737 not using gcrypt. Otherwise, we get a linker error.
11739 2006-05-25 Robert Love <rml@novell.com>
11741 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11742 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11743 configure flag to disable building of the GNOME-based applet.
11745 2006-05-25 Robert Love <rml@novell.com>
11747 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11748 parameter from link, because it shadows a global variable with some
11749 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
11750 should never have exported to the entire system a common four letter
11751 word. But we here at NetworkManager are team players. Fixes
11754 2006-05-25 Arangel Angov <ufo@linux.net.mk>
11756 * configure.in: Added mk.po, Macedonian translation.
11758 2006-05-24 Robert Love <rml@novell.com>
11760 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11761 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11762 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11764 2006-05-24 Robert Love <rml@novell.com>
11766 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11767 libnm-util/Makefile.am, src/Makefile.am,
11768 vpn-daemons/openvpn/auth-dialog/Makefile.am,
11769 vpn-daemons/openvpn/properties/Makefile.am,
11770 vpn-daemons/pptp/auth-dialog/Makefile.am,
11771 vpn-daemons/pptp/properties/Makefile.am,
11772 vpn-daemons/vpnc/auth-dialog/Makefile.am,
11773 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11774 user passed for --datadir, if anything, when setting the GNOME locale
11775 directory. It should be a function of the specified datadir and not
11778 2006-05-24 Robert Love <rml@novell.com>
11780 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11781 src/NetworkManager.c: Take care to call bindtextdomain with the
11782 location of msgid files.
11783 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11786 2006-05-22 Robert Love <rml@novell.com>
11788 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11789 stage4_timeout on failure unless the wireless network is Ad-Hoc.
11790 99% of the time there is a real problem with wireless, and a
11791 seemingly successful connection via Zeroconf just confuses the user.
11792 And that 1% of the time the network is probably Ad-Hoc, anyhow.
11794 2006-05-22 Robert Love <rml@novell.com>
11796 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11797 autofs on interface up if NIS is configured. On interface down, do
11800 2006-05-22 Robert Love <rml@novell.com>
11802 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11803 to avoid calling g_object_unref() on stale pointers on error in
11804 nma_icons_free(). This happens because we short-circuit loaded the
11805 icons on the first failure but then free all icons. Normally we have
11806 no issue because the icons were zero'ed out malloc, but we have stale
11807 pointer data after nma_icon_theme_changed().
11808 * gnome/applet/main.c: Return error code if nma_new() failed.
11810 2060-05-21 Dan Williams <dcbw@redhat.com>
11812 * initscript/NetworkManager.in
11813 - Ensure both dhcdbd and named are started before NM
11815 2006-05-21 Dan Williams <dcbw@redhat.com>
11818 - Bump version to 0.7 to signify we are in 0.7 development
11820 2006-05-21 Dan Williams <dcbw@redhat.com>
11822 Patch from Adam Schreiber <sadam@clemson.edu>
11823 * gnome/vpn-properties/nm-vpn-properties.c
11824 - (main): correct Gnome program name (gnome.org #342498)
11826 2006-05-21 Dan Williams <dcbw@redhat.com>
11828 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11830 * src/NetworkManagerDbus.[ch]
11831 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11832 clarify that function's argument should be an escaped dbus object
11833 path, and look for path segment end before returning a match
11834 * src/nm-dbus-nm.c:
11835 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11837 2006-05-17 Robert Love <rml@novell.com>
11839 Functionality to differentiate Ad-Hoc networks from infrastructure
11840 networks in the applet, by displaying a special icon:
11841 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11842 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11843 * gnome/applet/menu-items.c: Set a special icon in the scan list for
11844 ad-hoc networks. TODO: Add a third icon representing "encrypted and
11845 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
11846 networks, encrypted or not.
11847 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11848 accessor functions to get and set the mode of a given network,
11849 wireless_network_get_mode() and wireless_network_set_mode().
11851 2006-05-17 Robert Love <rml@novell.com>
11853 Functionality to automatically add BSSIDs to the allowed-MAC list as
11854 one roams from access point to access point on a given network:
11855 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11856 helper function to compare two ether_addr structures and return TRUE
11857 if they contain the same MAC address.
11858 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11860 * src/nm-device-802-11-wireless.c: New function to update the BSSID
11861 stored with the current AP. If the BSSID has indeed changed, we
11862 send it out to the applet, allowing the allowed-MAC list to grow
11863 automatically in response to roaming.
11865 2006-05-16 Robert Love <rml@novell.com>
11867 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11868 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11870 2006-05-13 Dan Williams <dcbw@redhat.com>
11872 * src/nm-device-802-3-ethernet.c
11873 - (real_get_generic_capabilities): Don't ignore devices that can't do
11874 carrier detect (Debian bug #366373)
11876 2006-05-11 Dan Williams <dcbw@redhat.com>
11878 Patch from Michael Biebl <biebl@teco.edu>
11879 * src/backends/NetworkManagerDebian.c
11880 - Debian backend fixups
11882 2006-05-10 Robert Love <rml@novell.com>
11884 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11886 2006-05-09 Robert Love <rml@novell.com>
11888 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11889 private certificate passphrase, if any, in the GNOME Keyring.
11890 * libnm-utils/dbus-helpers.c: Update.
11892 2006-05-05 Dan Williams <dcbw@redhat.com>
11894 * src/nm-device-802-11-wireless.c
11895 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11896 nm_device_802_11_wireless_disable_encryption() since that's all
11897 we use it for anymore; we don't ever set WEP keys ourselves.
11898 - (real_deactivate_quickly): reset SSID and encryption keys
11899 - (real_deactivate): move SSID and encryption key reset to
11900 real_deactivate_quickly(), which gets run before us anyway
11902 2006-05-05 Robert Love <rml@novell.com>
11904 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11905 root has a wacky default of its own (or, more common, a user has a
11906 bad umask and uses su/sudo to restart NetworkManager). Anything
11907 other than 0022 does not do what we want with, for example,
11908 resolv.conf. This problem is amplified by our judicious use of
11909 fopen(), which uses mode 0666 -- implying that the only way to get
11910 the permissions we want is with a umask of 0022.
11912 2006-05-05 Dan Williams <dcbw@redhat.com>
11914 * gnome/libnm_glib/libnm_glib.c
11915 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11916 to reconnect; instead wait a bit more with each reconnect attempt
11917 up to a max of one minute.
11919 2006-05-04 Ryan Lortie <desrt@desrt.ca>
11921 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11922 the WirelessNetwork structure using the proper function instead of
11923 just casting it directly to (const char *) (gnome.org #336991)
11925 2006-05-03 Robert Love <rml@novell.com>
11927 * src/backends/NetworkManagerSuSE.c: Respect the variable
11928 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11929 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11930 to dynamically update /etc/resolv.conf.
11932 2006-05-02 Peter Jones <pjones@redhat.com>
11934 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11936 2006-05-02 Robert Love <rml@novell.com>
11938 Patch by Timo Hoenig;
11939 * tests/nm-online.c: Print pretty status indicator as timeout winds
11940 down. Also fix possible race between DBUS startup and failure
11943 2006-05-01 Robert Love <rml@novell.com>
11945 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11948 2006-04-27 Jeremy Katz <katzj@redhat.com>
11950 * src/nm-device.c (discover_device_type): Actually use the hal
11951 device type instead of ioctl poking
11953 2006-04-26 Robert Love <rml@novell.com>
11955 * tests/nm-online.c: New file. Simple utility that returns exit status
11956 noting whether the connection is offline or online. If offline on
11957 start, it waits 30 seconds (or a command-line given value) for an
11958 online signal. If it times out, it again returns offline. This is
11959 useful for scripts that want to wait for network connections.
11961 2006-04-25 Robert Love <rml@novell.com>
11963 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11964 key mode (the authentication algorithm), e.g. open or shared, when we
11965 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
11966 only shared was broken. If the user specified a shared key, set it
11967 explicitly, otherwise let wpa_supplicant go with the default.
11969 2006-04-24 Dan Williams <dcbw@redhat.com>
11971 * src/nm-device-802-11-wireless.c
11972 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11974 2006-04-24 Dan Williams <dcbw@redhat.com>
11976 Commit the async scanning patch
11978 * src/nm-device-802-11-wireless.c
11979 - get rid of scan_mutex
11980 - (wireless_event_helper): act on wireless scan events
11981 - (real_start): schedule a pending scan
11982 - (link_to_specific_ap): fake the link to the AP during a scan
11983 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11984 strength during scans
11985 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11986 nm_device_set_bitrate): unused with new scanning code, disable
11987 - (nm_device_wireless_schedule_scan): removed
11988 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11989 - (request_and_convert_scan_results): new function; retrieve scan
11990 results from the driver and schedule the processing function
11991 - (scan_results_timeout): timeout triggered when card doesn't send
11992 a scan results wireless event during a certain interval
11993 - (schedule_scan_results_timeout): new function; schedule the scan
11995 - (cancel_scan_results_timeout): new function; cancel the scan
11997 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11998 to do the scanning. Otherwise, just request a scan but don't
11999 grab results here; instead schedule a timeout for scan results and
12000 let netlink notify us of scan completion events
12001 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12002 - (cancel_pending_scan): new function; cancel a pending wireless scan
12003 - (supplicant_status_cb): ignore disconnect events while scanning
12004 - (supplicant_exec): wait a bit longer for the supplicant to start up
12005 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12007 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12009 2006-04-24 Dan Williams <dcbw@redhat.com>
12011 * gnome/applet/applet-dbus.c
12012 - Disable the pending call debug stuff, seems under control now
12014 2006-04-20 Robert Love <rml@novell.com>
12016 Fix bug where hidden ESSID's would not show up in the applet, even
12017 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
12018 because nm_policy_device_list_update_from_allowed_list() would merge
12019 the data, putting a name to the hidden networks, but never notify NMI
12020 of the changes. Simple fix is to invoke the function
12021 nm_dbus_signal_wireless_network_change() if we make a mapping.
12022 * src/NetworkManagerAPList.c: Call the function
12023 nm_dbus_signal_wireless_network_change() if we made a successful
12024 BSSID to ESSID mapping, notifying the applet of the "new" network.
12025 * src/NetworkManagerAPList.h: Update the prototypes for both
12026 nm_ap_list_copy_essids_by_address() and
12027 nm_ap_list_copy_one_essid_by_address().
12029 2006-04-20 Robert Love <rml@novell.com>
12031 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12032 not set. Just return zero.
12034 2006-04-20 Robert Love <rml@novell.com>
12036 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12037 only one copy of nm-vpn-properties is running at a time via the 'ol
12038 X selection trick. This prevents the user from opening two "VPN
12039 Connections" windows from within the applet, which leads to mass
12041 * clipboard.c: New file, implementing simple X selection logic.
12042 * clipboard.h: New file.
12043 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12045 2006-04-18 Nicolas Trangez <eikke@eikke.com>
12047 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12049 initscript/Gentoo/Makefile.am
12050 initscript/Gentoo/NetworkManagerDispatcher.in
12052 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12055 2006-04-16 Dan Williams <dcbw@redhat.com>
12057 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12059 initscript/Slackware/Makefile.am
12060 initscript/Slackware/rc.networkmanager-dispatcher.in
12061 initscript/Slackware/rc.networkmanager.in
12062 - Update slackware initscripts
12064 2006-04-10 Robert Love <rml@novell.com>
12066 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12067 the "delete_event" signal on the druid's parent window and handle it
12068 our way, lest using the WM to close the druid results in a series of
12069 bloody and ultimately lethal errors.
12071 2006-04-10 Robert Love <rml@novell.com>
12073 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12074 'Back' too or else the 'Forward' option is initially disabled despite
12077 2006-04-06 Robert Love <rml@novell.com>
12079 Fix bad but simple bug where an active modem connection did not update
12080 NM's connection state, breaking any app that did online/offline:
12081 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12082 represented whether a dial up connection is active, or not.
12083 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12084 to modem activation and deactivation.
12085 * src/NetworkManagerDbus.c: When asked our state, do not return
12086 disconnected if the modem is active.
12088 2006-04-04 Robert Love <rml@novell.com>
12090 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12091 applet. It just confuses the crap out of people and does not make a
12092 lot of sense, as the daemon still runs.
12094 2006-04-02 Tor Krill <tor@krill.nu>
12096 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12097 in start of service.
12098 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12099 get Archlinux backend up to date.
12101 2006-03-29 Robert Love <rml@novell.com>
12103 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12104 to add support for per-route MSS and improve support for per-interface
12106 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12107 optionally take an MSS parameter and set it for the given route.
12108 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
12109 NMIP4Config's stored MSS, if any.
12110 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12111 the interface's MTU and the route's MSS, respectively. Add functions
12112 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12113 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12115 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12116 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12117 nm_ip4_config_set_mss.
12118 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12120 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12121 Change the retval of nm_system_get_mtu to guint32.
12122 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12123 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
12124 servers can specify MTU's, we should set it here if the MTU was not
12127 2006-03-27 Jürg Billeter <j@bitron.ch>
12130 * initscript/Makefile.am:
12131 * initscript/paldo/Makefile.am:
12132 * initscript/paldo/NetworkManager.in:
12133 * initscript/paldo/NetworkManagerDispatcher.in:
12134 * src/backends/Makefile.am:
12135 * src/backends/NetworkManagerPaldo.c:
12136 - Add paldo support
12138 2006-03-27 Dan Williams <dcbw@redhat.com>
12140 Patch from Christian Persch <chpe@gnome.org>
12141 * gnome/applet/applet.glade
12142 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12144 2006-03-27 Dan Williams <dcbw@redhat.com>
12146 Patch from Diffe <diffie@blazebox.homeip.net>
12147 * src/backends/NetworkManagerSlackware.c
12148 - Don't restart howl, since it's been replaced by Avahi
12149 in most distributions
12151 2006-03-27 Dan Williams <dcbw@redhat.com>
12153 Patch from Tor Krill <bugzilla@krill.nu>
12155 initscript/Makefile.am
12156 src/backends/Makefile.am
12157 src/backends/NetworkManagerArch.c
12158 initscript/Arch/Makefile.am
12159 initscript/Arch/networkmanager-dispatcher.in
12160 initscript/Arch/networkmanager.in
12161 - Add Arch Linux support, fixes gnome.org #335147
12163 2006-03-27 Dan Williams <dcbw@redhat.com>
12165 Patch from Diffe <diffie@blazebox.homeip.net>
12166 * initscript/Slackware/rc.networkmanager
12167 - update, fixed gnome.org #333368
12169 2006-03-27 Robert Love <rml@novell.com>
12171 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12172 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12174 2006-03-27 Robert Love <rml@novell.com>
12176 Patch by Jürg Billeter <j@bitron.ch>:
12177 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12179 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12180 as we prefer glibc over kernel headers, if possible.
12182 2006-03-27 Robert Love <rml@novell.com>
12184 Patch by Jon Escombe <list@dresco.co.uk>:
12185 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12186 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12187 fail, don't bail out. We don't expect all of the various WPA-EAP
12188 values to be present.
12189 * src/nm-ap-security.c: We need to match all capabilities for each
12190 encryption type, not any one of them.
12192 2006-03-27 Robert Love <rml@novell.com>
12194 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12195 restart, not reload, ypbind. Unfortunately there is no superior
12198 2006-03-24 Christopher Aillon <caillon@redhat.com>
12200 * gnome/applet/applet-notifications.c:
12201 When displaying a notification, make sure to get rid of the
12202 previous notification so as to not have competing bubbles,
12203 and stop leaking the old one.
12205 * gnome/applet/applet.c:
12206 * gnome/applet/applet.h:
12207 Add a new 'notification' member to the applet, and zero it out
12208 and free it appropriately.
12210 2006-03-23 Robert Love <rml@novell.com>
12212 Patch by j <j@bootlab.org>:
12213 * gnome/applet/applet.glade: Don't set the invisible_char property,
12214 which simply overrides the GTK default. By and by, this behavior
12215 ought to be fixed in Glade.
12217 2006-03-22 Robert Love <rml@novell.com>
12219 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12221 2006-03-22 Robert Love <rml@novell.com>
12223 Bug fix by Timo Hoenig <thoenig@suse.de>:
12224 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12225 disconnect. Otherwise, we have the daemon surviving DBUS restarts
12226 and the applet going AWOL.
12228 2006-03-22 Robert Love <rml@novell.com>
12230 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12231 preprocessor define and use it instead of open-coded the DHCP
12232 timeout, which is currently 25 seconds, everywhere.
12234 2006-03-22 Robert Love <rml@novell.com>
12236 Implement "Dynamic WEP", which is basically WPA authentication and WEP
12237 key exchange via WPA, ostensibly providing good security without
12238 requiring hardware that supports full WPA. Also, add UI elements to
12239 allow the user to select the pairwise & group cipher for WPA Enterprise
12241 * gnome/applet/applet.glade: Update glade file.
12242 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12243 key type, too, to and from gconf.
12244 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12245 wso_wpa_create_key_type_model(), noting whether we are handling PSK
12246 or EAP configuration, and in the latter case add in "Dynamic WEP" if
12247 the capabilities match.
12248 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12250 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12251 serialize from UI to DBUS.
12252 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12254 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12255 nmu_security_serialize_wpa_eap_with_cipher(), and
12256 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12257 serialize/deserialize the key type via DBUS as the new third DBUS
12259 * libnm-util/dbus-helpers.h: Update prototypes.
12260 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12261 too. If the key type is WEP104, do Dynamic WEP, which means
12262 "IEEE8021X" for "key_mgmt". Also add support for user-specified
12263 pairwise and group ciphers (fixes a FIXME).
12265 2006-03-21 Robert Love <rml@novell.com>
12267 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12268 nm_system_get_mtu(), which returns a user-provided or system-mandated
12269 MTU value for a given device, if any, or zero if no such value
12270 exists. Add nm_system_set_mtu() to set the MTU for a given device
12271 if we have a provided value.
12272 * src/nm-device.c: Set the MTU of devices.
12273 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12274 * src/backends/NetworkManagerDebian.c,
12275 src/backends/NetworkManagerGentoo.c,
12276 src/backends/NetworkManagerRedHat.c,
12277 src/backends/NetworkManagerSlackware.c: Implement stub functions.
12279 2006-03-21 Robert Love <rml@novell.com>
12281 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12282 configuration file.
12284 2006-03-17 Robert Love <rml@novell.com>
12286 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12287 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12288 it, in case it is not running in the first place. We just want its
12289 configuration reloaded. Also, do not "rcypbind stop" on device down.
12291 2006-03-15 Robert Love <rml@novell.com>
12293 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12294 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12295 label "WEP 40/128-bit" is inconsistent because the physical key size
12296 is 40 or 104-bits, to which a 24-bit initialisation vector is
12297 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
12298 to read "40/104" or "64/128". I do not care much which, but most
12299 users think of "silver" and "gold" encryption as 64 and 128-bits, so
12300 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
12301 WEP passphrase support only handles 128-bit keys, and any future
12302 64-bit passphrase support will require a new option (no way to auto-
12303 detect the target key size), explicitly label our passphrase support
12304 "WEP 128-bit Passphrase".
12306 2006-03-15 Robert Love <rml@novell.com>
12308 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12309 the system init scripts (or some other mechanism) starting it (or a
12310 compatible DBUS service) before NetworkManager runs. This means that
12311 distributions might need to update their init scripts. This fixes
12312 possible races and is quite a bit cleaner.
12313 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12314 starting the NetworkManager daemon.
12317 2006-03-14 Robert Love <rml@novell.com>
12319 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12320 before adding anything.
12322 2006-03-13 Robert Love <rml@novell.com>
12324 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12325 widgets, too, if they exist, in case the user hit the back button.
12326 Fixes a bug where the details page contains the widgets of multiple
12327 VPN modules (Novell bug #157048).
12329 2006-03-13 Robert Love <rml@novell.com>
12331 Patch by Timo Hoenig <thoenig@suse.de>:
12332 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12333 daemon survive DBUS restarts, too.
12335 2006-03-10 Robert Love <rml@novell.com>
12337 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12339 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12340 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12341 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12342 in response to "toggled" signal on new toggle.
12344 2006-03-10 Robert Love <rml@novell.com>
12346 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12347 serialization if strings are NULL, lest DBUS get angry.
12349 2006-03-10 Robert Love <rml@novell.com>
12351 * src/nm-ap-security-wpa-eap.c: Don't log the password.
12353 2006-03-09 Robert Love <rml@novell.com>
12355 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12358 2006-03-09 Dan Williams <dcbw@redhat.com>
12360 Track pending call requests in the applet, and report how many are
12361 outstanding, and how long each completed one takes.
12363 * gnome/applet/applet-dbus-devices.c
12364 gnome/applet/applet-dbus-vpn.c
12365 - Track pending calls
12367 * gnome/applet/applet-dbus.[ch]
12368 - Remove some unused enums
12369 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12370 new functions to track dbus pending calls and spit out some
12371 statistics about them
12373 2006-03-09 Robert Love <rml@novell.com>
12375 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12376 nm_ap_set_timestamp() take the second and micro-second parameters as
12377 direct arguments, which avoids both a dynamic memory allocation and a
12378 structure-to-structure copy! Add a new interface, the aptly named
12379 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12380 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12381 the return from nm_ap_get_timestamp(). New users should use the new
12382 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12383 the extreme benefit to performance.
12384 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12385 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12387 2006-03-08 Robert Love <rml@novell.com>
12389 * gnome/applet/applet.glade: Hide the password entry text with
12392 2006-03-08 Robert Love <rml@novell.com>
12394 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12395 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12396 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12397 a second argument, NMData.
12398 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12399 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12400 config files as trusted.
12402 2006-03-06 Robert Love <rml@novell.com>
12404 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12405 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12406 to exit the applet. As a sweet side-effect, idea courtesy of Chris
12407 Rivera, detect if the applet was auto-started. If so, ask the user
12408 if he or she would like to stop automatically running the applet on
12409 login. If so, disable autostart.
12411 2006-03-06 Robert Love <rml@novell.com>
12413 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
12414 directory in CFLAGS so developers can actually use NetworkManager.h.
12416 2006-03-06 Robert Love <rml@novell.com>
12418 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12419 open-coded integer constants. Add state_to_string() to map a given
12420 state to a textual description, and provide that when notifying of
12422 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12423 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
12424 this header directly, but it is currently not installed on most
12427 2006-03-05 Dan Williams <dcbw@redhat.com>
12429 Process netlink messages in device subclasses rather than in
12430 NetworkManager.c. Also add support for recognizing Wireless Events.
12433 - Find GLIB_GENMARSHAL
12436 - Since we're marshalling custom types for wireless event signals,
12437 we get to create our own marshallers using GLIB_GENMARSHAL
12439 * src/NetworkManager.c
12440 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12441 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12442 cut down somewhat. We no longer process signals here.
12443 - (nm_data_new): create the netlink monitor here, and remove a
12444 useless call to nm_policy_schedule_device_change_check()
12445 - (nm_data_free): get rid of the netlink monitor here
12446 - (nm_device_link_activated, nm_device_link_deactivated): removed
12447 - (main): don't create the netlink monitor here, let nm_data_new
12448 do that. Call nm_policy_schedule_device_change_check() right
12449 before we jump to the mainloop to figure out which device
12452 * src/NetworkManagerSystem.[ch]
12453 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12454 convert back and forth from interface names to interface
12457 * src/nm-device-802-11-wireless.c
12458 - (real_init): connect to wireless-event signals from the netlink
12460 - (nm_device_802_11_wireless_event): new function, schedule handler
12461 for wireless event signals from the netlink monitor object. We
12462 want the handler to run in the device's context
12463 - (wireless_event_helper): handle wireless-event signals from netlink
12464 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12467 * src/nm-device-802-11-wireless.h
12468 - remove unused prototype for nm_device_802_11_wireless_new
12470 * src/nm-device-802-3-ethernet.c
12471 - (real_init): new function; set up signal handlers for link events
12472 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12473 handler for netlink link activated events on device's main loop
12474 - (link_activated_helper): when we get a link activated event, set
12475 the device's link to be active
12476 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12477 handler for netlink link deactivated events on device's main loop
12478 - (link_deactivated_helper): when we get a link deactivated event, set
12479 the device's link to be inactive
12480 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12483 * src/nm-device-802-3-ethernet.h
12484 - remove unused prototype for nm_device_802_3_ethernet_new
12486 * src/nm-device.[ch]
12487 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12488 but locks the device list
12489 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12491 * src/nm-netlink-monitor.[ch]
12492 - (nm_netlink_monitor_class_install_signals): New signal
12494 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12496 - (nm_netlink_monitor_event_handler): expand for wireless events too
12498 * src/nm-marshal-main.c
12499 - Include generated nm-marshal.c and nm-marshal.h
12501 * src/nm-marshal.list
12502 - List of custom marshal functions
12504 2006-03-05 Dan Williams <dcbw@redhat.com>
12506 * gnome/applet/applet-notifications.h
12507 - Protect prototype of nma_send_event_notification() because it
12508 includes libnotify-specific types
12509 - Include libnotify/libnotify.h too, since we technically need it
12511 * gnome/applet/applet.c
12512 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12513 - (nma_show_vpn_login_banner_dialog): add some error checking
12515 2006-03-04 Dan Williams <dcbw@redhat.com>
12517 Clean up activation cancellation. Should be a lot faster now. Observed
12518 an issue with wireless devices between stage 2 and 3 of activation, where
12519 activation would be cancelled, but the device thread wouldn't notice until
12520 the supplicant association timed out. Reorganize activation such that
12521 a cancellation handler gets immediately scheduled in the device's thread,
12522 and devices have a chance to perform any custom cleanup too.
12524 * src/nm-device.[ch]
12525 - (activation_cancel_handler): new device-type-specific function
12526 for cleaning up device-type-specific stuff on cancellation
12527 - (cancel_activation): removed
12528 - (nm_device_activation_cancel): subsume functionality of
12529 real_cancel_activation, but instead of doing anything, punt
12530 operation to a handler that's run in device-thread context
12531 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12533 - (activation_handle_cancel_helper): cancellation handler run in
12534 device-thread context, calls device-type-specific cancelation,
12535 then tears down the activation request
12536 - (real_activation_cancel_handler): generic cancellation handler,
12537 deals with cancelling any in-process DHCP request
12538 - (nm_device_activate_stage1_device_prepare,
12539 nm_device_activate_stage2_device_config,
12540 nm_device_activate_stage3_ip_config_start,
12541 nm_device_activate_stage4_ip_config_get,
12542 nm_device_activate_stage4_ip_config_timeout,
12543 nm_device_activate_stage5_ip_commit): don't call
12544 nm_device_schedule_activation_handle_cancel() any more, since
12545 cancellation will have been already scheduled for us by
12546 nm_device_activation_cancel(). Just exit the function and
12547 assume that the cancel handler will be called next.
12549 * src/nm-device-802-3-ethernet.c
12550 - (real_act_stage2_config): remove; didn't do anything anyway
12552 * src/nm-device-802-11-wireless.c
12553 - (supplicant_status_cb): ensure we don't do anything if the activation
12555 - (real_activation_cancel_handler): implement; cancel user key request
12556 on activation cancellation
12558 2006-03-04 Dan Williams <dcbw@redhat.com>
12560 * src/nm-device-802-11-wireless.c
12561 - (supplicant_send_network_config): assume that drivers that don't
12562 support WPA pretty much suck, and can't handle NM scanning
12563 along with wpa_supplicant.
12565 2006-03-03 Robert Love <rml@novell.com>
12567 * configure.in: Bump version to 0.6.0.
12570 2006-03-03 Robert Love <rml@novell.com>
12572 * configure.in: Require DBUS 0.60 or later.
12574 2006-03-03 Dan Williams <dcbw@redhat.com>
12576 Fix a crash if an "Other wireless network" was chosen, failed, then
12577 chosen again from the applet's menu. If the other network wasn't
12578 noticed in a scan, it wouldn't have any capabilities, but would still
12579 be listed because the user forced the network. To fix this, we set
12580 sensible capabilities on the forced network, which will get overwritten
12581 with the correct ones if the network shows up later in a scan.
12583 * src/nm-ap-security.h
12584 - Add a new "get_default_capabilities_func" member to the
12587 * src/nm-ap-security.c
12588 - (nm_ap_security_get_default_capabilities): new function
12590 * src/nm-ap-security.c
12591 src/nm-ap-security-wep.c
12592 src/nm-ap-security-wpa-psk.c
12593 src/nm-ap-security-wpa-eap.c
12594 - Implement get_default_capabilities_func() for all, which
12595 uses the information contained in a specific NMAPSecurity
12596 object to determine default AP capabilites necessary
12597 to support that object
12599 As a secondary measure, we now prune artificial access points that fail
12600 to be activated right away. The thing failed, and we have no scan data for
12601 it, so it's pretty much useless since security information is only saved
12602 in the applets when a connection is successful.
12604 * src/NetworkManagerAPList.c
12605 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12606 not artificial. If we see it, it's no longer a figment of the
12607 user's imagination :)
12609 * src/NetworkManagerPolicy.c
12610 - (nm_policy_activation_failed): send along the failed AP if we
12613 * src/nm-device-802-11-wireless.c
12614 - (real_activation_failure_handler): remove artificial APs from
12615 the device list, because activation failed
12617 2006-03-02 Robert Love <rml@novell.com>
12619 Add support for retrieving both the per-device speed and the
12620 per-network maximum supported rate. Then change the getProperties
12621 DBUS API for both networks and devices to report this informaiton.
12622 Finally, display the information via both nm-applet and nm-tool:
12623 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12625 * gnome/applet/applet.c: Display the device's speed in the 'Connection
12626 Information' dialog.
12627 * gnome/applet/applet.glade: Update the UI to show per-device speed.
12628 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12629 network_device_get_speed() and network_device_set_speed() for
12630 retrieving and setting, respectively, a network device's current
12632 * src/nm-dbus-device.c: Send the device's speed on getProperties.
12633 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12634 in the function nm_device_802_11_wireless_get_bitrate() -- it does
12635 not matter (yet) what the units are, because we only feed it its own
12636 output. Implement SIOCGIRATE and set the per-network maximum
12637 supported rate during scanning.
12638 * src/nm-device-802-11-wireless.h: Export the function
12639 nm_device_802_11_wireless_get_bitrate().
12640 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12641 function nm_device_802_3_ethernet_get_speed() for returning an
12642 802.3's current speed, in Mb/s.
12643 * test/nm-tool.c: Display the per-device current speed, if available,
12644 and the per-network maximum rate.
12646 2006-03-02 Dan Williams <dcbw@redhat.com>
12648 * src/nm-device-802-11-wireless.c
12649 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12650 card when it gets initialized. Since devices don't get added to
12651 the scan list until they are initialized, this function wasn't
12652 setting the intitial scan interval correctly, and was leaving
12653 it at 0. This caused cards to get many scan requests in a short
12654 amount of time when they were initialized
12656 2006-03-02 Robert Love <rml@novell.com>
12658 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12659 active device. But do not do what we used to do and override the
12660 state, which caused the dreaded icon race of '05.
12662 2006-03-02 Robert Love <rml@novell.com>
12664 Commit Dan's update of my previous commit:
12665 * src/nm-device-802-11-wireless.c: Always set the mode, because the
12666 set_mode() function itself does the check. But do only set the
12667 frequency if in Ad-Hoc mode.
12669 2006-03-02 Robert Love <rml@novell.com>
12671 Patch by Brian Magnuson <magnuson@rcn.com>:
12672 * src/nm-device-802-11-wireless.c: During scanning, only set the
12673 wireless mode to infrastructure if it is not currently in
12674 infrastructure mode. For some driver, setting the mode is a costly
12675 operation, apparently.
12677 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
12679 * Makefile.am: use the correct dir for autostart mechanism.
12681 2006-02-28 Dan Williams <dcbw@redhat.com>
12683 Patch from Brian Magnuson <magnuson@rcn.com>
12684 * gnome/applet/applet.c
12685 - (nma_show_vpn_failure_dialog): fix errors left over from
12686 libnotify support changes
12688 2006-02-28 Dan Williams <dcbw@redhat.com>
12690 * src/vpn-manager/nm-vpn-act-request.[ch]
12691 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12693 - (nm_vpn_act_request_is_failed): new function; return whether or
12694 not the vpn activation request has failed
12696 * src/vpn-manager/nm-vpn-manager.c
12697 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12698 daemon to kill the connection when the activation request fails.
12699 Fixes issue where NM would get confused if the VPN activation
12700 request timed out, and would not allow further VPN connections
12703 2006-02-28 Dan Williams <dcbw@redhat.com>
12705 * gnome/applet/applet.c
12706 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12707 overlapping connection requests, disable all VPN menu items
12708 but the active VPN connection
12710 2006-02-28 Dan Williams <dcbw@redhat.com>
12712 * src/vpn-manager/nm-vpn-connection.c
12713 - (nm_vpn_connection_set_parent_device): fix C&P error which
12714 called g_object_unref() on the connection's parent device
12715 when it should have been ref-ed instead. Fixes crash with
12716 repeated vpn connect requests
12718 2006-02-28 Christopher Aillon <caillon@redhat.com>
12720 * gnome/applet/applet.glade:
12721 Mark a few strings non-translatable, since they shouldn't be.
12723 2006-02-28 Dan Williams <dcbw@redhat.com>
12725 * src/vpn-manager/nm-vpn-service.c
12726 - (nm_vpn_service_start_connection): if the vpn service daemon is
12727 already running, don't blindly ask it to connect, but wait until
12728 it's in the STOPPED state first. Fixes an assertion when user
12729 starts a second vpn connection without stopping the first.
12730 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12731 dbus service exists before continuing with the connection
12732 process, and reduce latency while waiting for it to become
12734 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12735 waiting for the vpn service daemon to become available
12736 - General log message cleanups; show progress via "Stage x of 4"
12737 rather than not telling anyone how many stages there are
12739 2006-02-28 Robert Love <rml@novell.com>
12741 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12742 * src/backends/NetworkManagerSuSE.c: Implement the interface
12743 nm_system_should_modify_resolv_conf() for SUSE.
12744 * src/backends/NetworkManagerDebian.c,
12745 src/backends/NetworkManagerGentoo.c,
12746 src/backends/NetworkManagerRedHat.c,
12747 src/backends/NetworkManagerSlackware.c: Add stub.
12748 * src/named-manager/Makefile.am: Grab includes from src.
12749 * src/named-manager/nm-named-manager.c: Allow backends to disable the
12750 automatic updating of resolv.conf. This is useful for testing,
12751 broken static configurations, and administrator lock-down.
12753 2006-02-28 Dan Williams <dcbw@redhat.com>
12755 * src/nm-device-802-11-wireless.c
12756 - Move all the wpa_supplicant-related management stuff into its
12757 own struct, just for oranization's sake
12758 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12759 to a GIOChannel/GSource
12760 - (supplicant_log_stdout): new function; grab output from the
12761 wpa_supplicant stdout pipe and write it to our logs.
12763 2006-02-27 Christopher Aillon <caillon@redhat.com>
12765 * src/nm-device-802-11-wireless.c:
12766 Err, fix thinko in my previous commit.
12768 2006-02-28 Robert Love <rml@novell.com>
12770 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12772 2006-02-28 Robert Love <rml@novell.com>
12774 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12775 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12776 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12777 deserializers are responsible for freeing the returned DBUS strings.
12779 2006-02-27 Christopher Aillon <caillon@redhat.com>
12781 * src/nm-device-802-11-wireless.c:
12782 The scan list is being pruned prematurely. We should prune after
12783 the device has gone MIA for three scans, not one. Split out the
12784 interval to realtime seconds function to better serve this.
12786 2006-02-27 Robert Love <rml@novell.com>
12788 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12789 Open the pid file O_TRUNC, so if it already exists we truncate it to
12790 zero length. Also, be more verbose about warnings generated during
12791 writing out the pid file. Finally, always write out the pid file if
12792 in daemon mode. Use "--pid-file" to override the default.
12794 2006-02-27 Robert Love <rml@novell.com>
12796 Patch by R. Vinay <rvinay@novell.com>:
12797 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12798 'last_attempt_success' when removing a VPN connection, too. (Fixes
12799 Novell bug #153628).
12801 2006-02-27 Robert Love <rml@novell.com>
12803 * gnome/applet/applet.glade: Set "activates_default" on passphrase
12804 entry so user can hit <ENTER> after entering passphrase (Novell bug
12807 2006-02-27 Dan Williams <dcbw@redhat.com>
12810 - Mass search/replace of:
12812 NMWirelessApplet -> NMApplet
12813 NM_*_WIRELESS_APPLET -> NM_*_APPLET
12814 (it ain't just for wireless anymore, ma!)
12815 - Fix duplicate function name printing when using nm_warning
12816 - wireless-applet.glade -> applet.glade
12818 2006-02-27 Dan Williams <dcbw@redhat.com>
12820 * dispatcher-daemon/NetworkManagerDispatcher.c
12821 - Accept --pid-file with a path to a pidfile, write it out on
12822 startup, and delete it on shutdown
12824 * src/NetworkManager.c
12825 - Accept --pid-file with a path to a pidfile, write it out on
12826 startup, and delete it on shutdown
12827 - Move nm_print_usage() lower
12829 * initscripts/RedHat/NetworkManager.in
12830 - Use new --pid-file option
12831 - Fix service stopping to wait a bit for NM to quit
12833 * initscripts/RedHat/NetworkManagerDispatcher.in
12834 - Use new --pid-file option
12836 2006-02-26 Dan Williams <dcbw@redhat.com>
12839 - make and install nm-crash-logger
12841 * src/nm-logging.[ch]
12842 - New files; consolidate logging and crash handling
12844 * src/nm-crash-logger.c
12846 - Standalong crashlogger for NM, grab a backtrace
12849 * src/NetworkManager.[ch]
12850 - Remove signal handling and put it into nm-logging.c
12852 2006-02-26 Dan Williams <dcbw@redhat.com>
12855 gnome/applet/Makefile.am
12856 - Conditionalize all the notify stuff
12858 Merge most of Chris Aillon's notification patch:
12860 * gnome/applet/applet-notifications.[ch]
12861 - New files; show a notification
12863 * gnome/applet/applet-dbus-devices.[ch]
12864 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12865 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12866 new functions, do the right thing when a device change occurs
12868 * gnome/applet/applet-dbus.c
12869 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12870 signals, so we can handle them specially
12872 * gnome/applet/applet.[ch]
12873 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12874 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12875 - (nmwa_notify_state): remove
12876 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12877 notification work is now done when the appropriate dbus signals
12879 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12880 defer execution of the notification/dialog stuff. That was an
12881 artifact of the previous multi-threaded nature of the applet
12882 and is now pointless.
12883 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12884 no longer needed. Function folded into applet-notifications.c
12886 * src/NetworkManagerPolicy.c
12887 - (nm_policy_activation_finish): send the AP along with the device
12888 status change signal, if the connection is wireless. Should
12889 fix the race where applet would show a connection to "unknown"
12891 2006-02-25 Robert Love <rml@novell.com>
12893 Add WPA Enterprise support:
12894 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12895 nm-gconf-wso-wpa-eap.h.
12896 * gnome/applet/nm-gconf-wso-wpa-eap.c,
12897 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
12898 serialization and deserialization.
12899 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12900 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12901 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12902 * gnome/applet/wireless-applet.glade: Add UI for configurating security
12903 settings related to WPA Enterprise.
12904 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12905 instantiate WPA Enterprise wireless-security-option.
12906 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12907 Implement WPA Enterprise wireless-security-option object.
12908 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12910 * libnm-util/cipher-wpa-psk-hex.c,
12911 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12912 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12913 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12914 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12915 including the cipher to DBUS method, and
12916 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12918 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12919 nm-ap-security-wpa-eap.h
12920 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12921 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12922 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12923 files. Implement NMAPSecurityWPA_EAP object.
12924 * src/nm-ap-security-wpa-psk.c: Cleanup.
12925 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12926 an NMAPSecurityWPA_EAP object via the method
12927 nm_ap_security_wpa_eap_new_deserialize().
12928 * src/nm-dbus-nm.c: Cleanup.
12929 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12930 WPA Enterprise support.
12932 2006-02-24 Robert Love <rml@novell.com>
12934 Patch from Timo Hoenig <thoenig@suse.de>:
12935 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12937 2006-02-24 Robert Love <rml@novell.com>
12939 Patch from Dan Winship <danw@novell.com>:
12940 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
12941 area to transparent.
12943 2006-02-21 Dan Williams <dcbw@redhat.com>
12945 * gnome/applet/applet.[ch]
12946 gnome/applet/applet-dbus.c
12947 - Implement notification support for VPN messages too
12949 2006-02-21 Dan Williams <dcbw@redhat.com>
12951 * gnome/applet/applet-dbus-info.c
12952 - Clean up warning messages to not double-print the function
12954 2006-02-21 Dan Williams <dcbw@redhat.com>
12956 * gnome/applet/applet-compat.c
12957 - (convert_one_entry): accept entries without a key_type and
12958 convert them to unencrypted networks
12960 2006-02-21 Dan Williams <dcbw@redhat.com>
12962 * gnome/libnm_glib/libnm_glib.c
12963 - Use __func__ everywhere we can
12965 - Use dbus pending calls rather than blocking
12966 - Reduce busywaits for our thread to start and stop
12967 (gnome.org #330562)
12968 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12969 stomp on others using the default shared dbus connection.
12970 Fixes #rh177546# and gnome.org #326572
12972 2006-02-21 Dan Williams <dcbw@redhat.com>
12974 Patch from Rodney Dawes <dobey@novell.com>
12976 gnome/applet/Makefile.am
12977 gnome/applet/applet.c
12978 - Add libnotify support if '--enable-notify=yes' is passed
12981 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
12983 * configure.in (ALL_LINGUAS): ko added. (Korean)
12985 2006-02-15 Robert Love <rml@novell.com>
12987 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12988 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12989 and WPA_SUPPLICANT_CONTROL_SOCKET.
12991 2006-02-15 Robert Love <rml@novell.com>
12993 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12994 information about what connection stage we are at, provide the total
12995 number of stages, e.g. "Stage 2 of 5", so users know how far along
12996 they are if they experience problems.
12998 2006-02-15 Robert Love <rml@novell.com>
13000 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13001 define to $sysconfdir.
13002 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13003 editing dialog, vpn_edit_widget, which fixes a bug where editing one
13004 type of VPN and then editing another results in a mangled dialog
13005 box containing the widgets from both VPNs (fixes Novell #150854).
13006 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13008 2006-02-14 Robert Love <rml@novell.com>
13010 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13011 syslog's file descriptor.
13013 2006-02-14 Robert Love <rml@novell.com>
13015 Fix bug around since the change to "deal with APs changing settings on
13016 us," checked in on the fifth of February in the year of the dog,
13017 wherein connecting to non-broadcast encrypted networks always fails
13018 because nm_ap_get_encrypted() always returns FALSE, even when the user
13019 provided a key, because the newly-created fake AP does not have any
13020 capabilities set, which is a sypmtom of security settings not matching
13021 capabilities (Novell bug #150784):
13022 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13023 nm_ap_add_capabilities_from_security(), which sets the given AP's
13024 capabilities off the given security settings. Also improve our
13025 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13026 NM_AUTH_CIPHER_AUTO.
13027 * src/nm-device-802-11-wireless.c: Call the function
13028 nm_ap_add_capabilities_from_security() to ensure that capabilities
13029 match newly updated security settings.
13031 2006-02-14 Robert Love <rml@novell.com>
13033 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13034 error as a string, not an integer, if possible; do not print the
13035 function name twice; always give the interface, if possible; misc.
13038 2006-02-12 Dan Williams <dcbw@redhat.com>
13040 Patch from Tom Parker <palfrey@tevp.net>
13041 * src/NetworkManagerSystem.h
13042 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13045 * src/backends/NetworkManagerDebian.c
13046 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13049 2006-02-12 Dan Williams <dcbw@redhat.com>
13051 * vpn-daemons/openvpn/intltool-extract.in
13052 vpn-daemons/openvpn/intltool-merge.in
13053 vpn-daemons/openvpn/intltool-update.in
13054 vpn-daemons/pptp/intltool-extract.in
13055 vpn-daemons/pptp/intltool-merge.in
13056 vpn-daemons/pptp/intltool-update.in
13057 - Remove from CVS, they should get created by intltoolize,
13060 2006-02-12 Dan Williams <dcbw@redhat.com>
13062 * vpn-daemons/pptp/src/pppd/patchlevel.h
13063 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13064 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13065 Makefile-defined VERSION
13067 2006-02-09 Dan Williams <dcbw@redhat.com>
13069 Patch from: Vinay A R <rvinay@novell.com>
13070 * src/vpn-manager/nm-vpn-act-request.[ch]
13071 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13072 IPSec VPNs require them for std gateway.
13073 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13074 and 'user_routes_count'
13075 - (nm_vpn_act_request_get_user_routes): new function; gets user
13076 defined routes from NMVPNActRequest object, returns the string
13079 * src/vpn-manager/nm-vpn-manager.[ch]
13080 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13081 for 'user_routes' and 'user_routes_count'
13083 * src/vpn-manager/nm-dbus-vpn.c
13084 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13085 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13087 * src/vpn-manager/nm-vpn-service.c
13088 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13091 Modifications by Dan:
13092 * src/vpn-manager/nm-vpn-service.c
13093 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13096 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13097 * vpn-daemons/pptp/src/nm-pptp-service.c
13098 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13099 - Grab user routes from dbus message
13100 - Free all string arrays we got from dbus
13102 2006-02-07 Robert Love <rml@novell.com>
13104 Patch by Stefan Seyfried <seife@suse.de>:
13105 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13107 2006-02-06 Robert Love <rml@novell.com>
13109 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13111 2006-02-06 Robert Love <rml@novell.com>
13113 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13114 test ">=" is never false. If no newline is found, we loop forever.
13115 We can just check for ">" because the following if() will see the
13116 zero-th argument if the while() gets that far.
13118 2006-02-05 Dan Williams <dcbw@redhat.com>
13120 Refine handling of non-broadcast networks.
13122 * src/NetworkManagerAPList.c
13123 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13124 property from scanned AP to the AP from the device list
13126 * src/nm-device-802-11-wireless.c
13127 - (supplicant_send_network_config): use ap_scan=1 for all networks
13128 except non-SSID-broadcasting and Ad-Hoc networks. Use
13129 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
13130 networks since those don't have APs.
13131 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13132 AP as non-SSID-broadcasting
13133 - (process_scan_results): don't handle non-SSID-broadcasting here
13135 2006-02-05 Dan Williams <dcbw@redhat.com>
13137 * src/nm-device-802-11-wireless.c
13138 - (get_supplicant_timeout): new function; return
13139 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13140 14 channels. These are likely a/b/g cards, like Atheros, and
13141 slow as hell to scan.
13142 - (supplicant_timeout_cb, supplicant_monitor_start): use
13143 get_supplicant_timeout()
13145 2006-02-05 Dan Williams <dcbw@redhat.com>
13147 * src/dhcp-manager/nm-dhcp-manager.c
13148 - Loose a commit race with Robert; make sure size check
13149 uses size of DHCP_SERVICE_LEN, not hardcoded 15
13151 2006-02-05 Robert Love <rml@novell.com>
13153 Patch by Christoph Brill <chrisbrill@gmx.net>:
13154 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13155 with DHCP_SERVICE_NAME.
13157 2006-02-05 Dan Williams <dcbw@redhat.com>
13159 Remove anything having to do with device_setup_func from the
13160 AP security objects, since it's no longer used.
13162 * src/nm-ap-security.h
13163 - Kill device_setup_func and nm_ap_security_device_setup()
13165 * src/nm-ap-security-wep.c
13166 src/nm-ap-security-wpa-psk.c
13167 - (real_device_setup): remove
13169 * src/nm-ap-security.c
13170 - (real_device_setup): remove
13171 - (nm_ap_security_device_setup): remove
13173 * src/nm-device-802-11-wireless.[ch]
13174 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13175 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13176 and done by wpa_supplicant now anyway
13178 2006-02-05 Dan Williams <dcbw@redhat.com>
13180 * src/nm-device-802-11-wireless.c
13181 - (ap_need_key, real_act_stage2_config): deal with APs changing
13182 settings on us. Previously NM would loop asking for the
13183 key but getting the same one back. Now, if the NMI-supplied
13184 cipher doesn't overlap with the scanned AP capabilities,
13185 we request a completely new key from the user.
13187 2006-02-05 Dan Williams <dcbw@redhat.com>
13189 * src/NetworkManagerUtils.c
13190 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13191 Handle newline killing better
13193 2006-02-05 Dan Williams <dcbw@redhat.com>
13195 * gnome/applet/nm-gconf-wso.c
13196 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
13197 of unencrypted access point security info.
13199 2006-02-03 Robert Love <rml@novell.com>
13201 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13202 user's encryption key, so we print the err_msg_cmd not the command,
13203 if available. So long as SUPPLICANT_DEBUG is default, this makes
13206 2006-02-03 Christopher Aillon <caillon@redhat.com>
13208 * initscript/RedHat/NetworkManagerDispatcher.in:
13209 * initscript/RedHat/NetworkManager.in: modify the pidfile location
13210 Patch from Dan Walsh <dwalsh@redhat.com>
13212 2006-02-03 Robert Love <rml@novell.com>
13214 * dispatcher-daemon/NetworkManagerDispatcher.c,
13215 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13216 but use the sysconfdir.
13218 2006-02-03 Robert Love <rml@novell.com>
13220 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13221 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13223 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13224 nm_ip4_config_get_hostname() and
13225 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13226 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
13227 leak g_strdup() result.
13229 2006-02-03 Robert Love <rml@novell.com>
13231 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13232 broadcast == TRUE. Also, copy broadcast and artificial properties
13233 from source network to destination in nm_ap_copy().
13234 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13235 since we now default new networks to non-hidden.
13237 2006-02-03 Dan Williams <dcbw@redhat.com>
13239 * gnome/applet/main.c
13240 - (main): change the NEVER->ALWAYS so we start at the
13241 beginning of the session, if being session-managed
13243 2006-02-03 Dan Williams <dcbw@redhat.com>
13245 * gnome/applet/main.c
13246 - (main): in a variation on Robert's patch, change
13247 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
13250 2006-02-02 Robert Love <rml@novell.com>
13252 * src/Makefile.am: If we aren't going to create the run directory at,
13253 uh, run-time, create it during install. Then users just doing
13254 'make install' are cool, too. While we are here, create the
13255 dispatcher.d directory, too.
13256 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13257 the exact run directory.
13258 * Makefile.am: Install nm-applet.desktop.
13260 2006-02-02 Robert Love <rml@novell.com>
13262 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13263 structure, which denotes whether or not the AP is hidden. This is a
13264 superset of 'artificial' -- we need 'broadcast' because a hidden AP
13265 can show up in the scan list. Add nm_ap_get_broadcast() and
13266 nm_ap_set_broadcast() accessor interfaces.
13267 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13268 nm_ap_set_broadcast().
13269 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13270 "getProperties" method, which denotes whether or not the given
13272 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13273 an artificial network. Set broadcast to TRUE when scanning returns
13274 an ESSID and FALSE when not.
13275 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13276 from "getProperties" method on a network. Possible TODO is to
13277 somehow display this.
13278 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13280 2006-02-02 Dan Williams <dcbw@redhat.com>
13282 * src/nm-device-802-11-wireless.c
13283 - (supplicant_interface_init): don't try to create
13284 /var/run/NetworkManager, since that should be done by
13285 the distro package. Causes problems for stuff like SELinux
13287 2006-02-02 Robert Love <rml@novell.com>
13289 Patch by Sureshkumar T <tsureshkumar@novell.com>:
13290 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13291 Check for and handle empty string for iface.
13293 2006-02-01 Robert Love <rml@novell.com>
13295 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13298 2006-01-31 Dan Williams <dcbw@redhat.com>
13300 * nm-applet.desktop
13301 - Add --sm-disable to Exec arguments, presuming that when
13302 using autostart, we don't want session management
13304 2006-01-31 Robert Love <rml@novell.com>
13306 * src/NetworkManagerAP.c: Add two new manufacturer default network
13307 names: linksys-a and linksys-g. These are found (at least) on the
13308 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13311 2006-01-31 Robert Love <rml@novell.com>
13313 * src/NetworkManagerAP.c: Optimize the function
13314 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
13315 machine code. This is the first in a series of code tweaks aiming to
13316 generate better machine code and make NetworkManager all the better.
13317 Just kidding. Who has time to go through the assembly generated for
13318 every function? I certainly don't. I have a wife, a kid, a job,
13319 a mortgage, a mistress. But this function was so bad, I was called
13320 to arms. Like the book.
13322 2006-01-31 Robert Love <rml@novell.com>
13324 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13325 AP is not broadcasting, to scan with probe request frames. Required
13326 for non-broadcast networks.
13328 2006-01-31 Robert Love <rml@novell.com>
13330 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13331 preprocessor define (still 20s). Fix message text in nm_info()
13332 s/too too/took too/.
13334 2006-01-30 Dan Williams <dcbw@redhat.com>
13336 * src/nm-device-802-11-wireless.c
13337 - (supplicant_monitor_start): increase connect/auth timeout to
13338 20 seconds from 10 seconds
13340 2006-01-30 Dan Williams <dcbw@redhat.com>
13343 - Define LOCALSTATEDIR
13345 * src/nm-device-802-11-wireless.c
13346 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13347 socket where we want it to
13349 * src/wpa_ctrl.[ch]
13350 - (wpa_ctrl_open): accept location to put local control socket
13352 2006-01-30 Robert Love <rml@novell.com>
13354 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13355 get_ip4_string() for "domain_name".
13357 2006-01-30 Robert Love <rml@novell.com>
13359 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13360 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13361 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13362 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13363 support for "Automatic" pairwise and group cipher configuration by
13364 letting wpa_supplicant handle the details. Add UI elements, new
13365 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
13366 charm. Note this does more than add a nice feature, it fixes a bug.
13367 Apparently, some people have AP's where the pairwise cipher does not
13368 match the group cipher. Insane, but true.
13370 2006-01-30 Dan Williams <dcbw@redhat.com>
13372 * gnome/applet/applet-dbus-devices.c
13373 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13374 functions, grab device driver name from NetworkManager
13375 - (nmwa_dbus_device_properties_cb): call functions to get driver
13377 * gnome/applet/applet.c
13378 - (nmwa_update_info): show driver name in Connection Information
13381 * gnome/applet/nm-device.[ch]
13382 - (network_device_get_driver, network_device_set_driver): add
13383 accessors for driver name
13385 * gnome/applet/wireless-applet.glade
13386 - Add line for driver name to Connection Information dialog
13388 * src/nm-dbus-device.c
13389 - (nm_dbus_device_get_driver): new function to return driver name
13390 - (nm_dbus_device_methods): hook up driver name function to dbus
13393 - (get_driver_name): new function
13394 - (detail_device): grab and show driver name
13396 2006-01-30 Robert Love <rml@novell.com>
13398 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13399 does not parse the markup if it is not part of the format.
13401 2006-01-30 Robert Love <rml@novell.com>
13403 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13404 FALSE, we have no security options for this dialog, so we throw up
13405 an error dialog instead of a broken passphrase dialog. Fixes
13407 * gnome/applet/wireless-security-manager.c,
13408 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13409 does not add any security options, not even NONE, print a warning
13410 and return FALSE. This let's functions constructing a dialog bail
13411 out if the device's capabilities and the network's requirements have
13414 2006-01-27 Robert Love <rml@novell.com>
13416 * configure.in: Require wpa_supplicant. Detect location of binary and
13417 use it. Override with "--with-wpa_supplicant=foo".
13418 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13419 path to wpa_supplicant but use the auto-detected or user-provided
13420 value from configure.
13422 2006-01-27 Robert Love <rml@novell.com>
13424 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13425 but the DHCP server did not return a hostname, try to look up our
13426 name via DNS and set the system hostname to that.
13428 2006-01-27 Dan Williams <dcbw@redhat.com>
13430 * src/backends/NetworkManagerRedHat.c
13431 - Add NM_CONTROLLED system network script support for RH/Fedora
13433 2006-01-27 Dan Williams <dcbw@redhat.com>
13435 * src/backends/NetworkManagerGentoo.c
13436 - (nm_system_device_get_disabled): add missing function.
13439 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
13441 * configure.in: Added vi in ALL_LINGUAS line.
13443 2006-01-26 Robert Love <rml@novell.com>
13445 * src/Makefile.am, src/kernel-types.h: Now that two different source
13446 files are feeling the crack-addled leakage of kernel types such as
13447 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13448 types in user-space -- define a header and include it as needed.
13449 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13450 * src/nm-device-802-3-ethernet.h: Remove defines.
13451 * src/wpa.c: Remove defines and include kernel-types.h.
13453 2006-01-26 Robert Love <rml@novell.com>
13455 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13458 2006-01-26 Robert Love <rml@novell.com>
13460 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13461 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13462 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13463 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13464 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13465 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13466 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13467 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13468 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13469 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13470 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13471 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13472 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13473 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13474 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13475 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13476 Kill unused variables, labels, and static functions. Don't pass
13477 string literals as the format string for printf-like functions.
13479 2006-01-25 Dan Williams <dcbw@redhat.com>
13481 * gnome/applet/wireless-applet.glade
13482 - Remove WPA2 Checkbox
13484 * gnome/applet/wireless-security-manager.c
13485 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13486 This means the Wireless Security menu now has two WPA options,
13487 one for "WPA Personal" and one for "WPA2 Personal"
13489 * gnome/applet/wso-wpa-psk.[ch]
13490 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13491 'wpa2' argument to determine WPA version to use
13492 - (append_dbus_params_func): pass stored WPA version to cipher
13493 rather than using the (removed) checkbox
13495 2006-01-24 Robert Love <rml@novell.com>
13497 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13498 before we g_strdup(), not the ultimate string.
13500 2006-01-23 Dan Williams <dcbw@redhat.com>
13502 * src/NetworkManagerAP.[ch]
13503 - (nm_ap_new_from_ap): copy original essid too
13504 - (nm_ap_unref): free original essid
13505 - (nm_ap_get_orig_essid): new function
13506 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13507 but keep original essid around too
13509 * src/nm-device-802-11-wireless.c
13510 - (supplicant_send_network_config): send wpa_supplicant the
13511 _original_ essid, and not as a string, but in hex. Should
13512 allow us to connect to more APs that use wierd character
13513 encodings for their essids
13515 * utils/nm-utils.[ch]
13516 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13517 to UTF-8. If it's not already valid UTF-8, we check LANG and
13518 use the current locale as a hint for what encoding the essid
13519 might be in. Obviously not 100% accurate, but the idea here is
13520 that if a user's locale is ex. ja_JP, they are more likely than
13521 not to be in Japan, where access points will likely be in some
13524 2006-01-23 Dan Williams <dcbw@redhat.com>
13526 * libnm-util/cipher-private.h
13527 libnm-util/cipher.c
13528 libnm-util/cipher.h
13529 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13531 2006-01-23 Robert Love <rml@novell.com>
13533 Patch by Timo Hoenig <thoenig@suse.de>:
13534 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13535 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13536 by DHCP and pass it to the backends, allowing distribution-specific
13537 behavior with respect to the DHCP-supplied hostname (if nothing else,
13538 some distributions might not want to set the hostname).
13539 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13540 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13541 Also update our NIS behavior.
13542 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13543 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13544 Add stub functions.
13546 2006-01-23 Robert Love <rml@novell.com>
13548 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13549 gnome-session does autostart. TODO: We need to install this to
13550 $prefix/share/autostart/.
13552 2006-01-22 Dan Williams <dcbw@redhat.com>
13554 * src/NetworkManagerAP.[ch]
13556 src/nm-device-802-11-wireless.c
13557 - Make nm_ap_get_essid return "const char *"
13559 2006-01-22 Dan Williams <dcbw@redhat.com>
13561 * src/NetworkManagerAP.[ch]
13562 - (nm_ap_get_matched, nm_ap_set_matched): remove
13564 * src/NetworkManagerAPList.[ch]
13565 - (nm_ap_list_diff): removed
13566 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13567 deal with access points changing essids on us
13569 * src/nm-device-802-11-wireless.c
13570 - (add_new_ap_to_device_list): move AP dbus signal logic to
13571 src/NetworkManagerAPList.c
13572 - (real_can_interrupt_activation): new function; allow interruption
13573 of device activation if we are waiting for a network key
13575 * src/NetworkManagerPolicy.c
13576 - (nm_policy_device_change_check): allow interruption of currently
13577 activating devices if the device allows it. Previous behavior
13578 would refuse to activate a just-plugged wired device if a
13579 wireless device was waiting for a key.
13581 * src/nm-device.[ch]
13582 - (nm_device_can_interrupt_activation): new function; ask devices
13583 whether their activation can be interrupted
13585 2006-01-20 Robert Love <rml@novell.com>
13587 * Makefile.am, configure.in: Add new man subdirectory.
13588 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13589 man/Makefile.am: Add man pages for NetworkManager and its
13590 crime-solving bumbling buddy, NetworkManagerDispatcher.
13591 * man/.cvsignore: Add.
13592 * initscript/Debian/NetworkManager,
13593 initscript/Gentoo/NetworkManager.in,
13594 initscript/RedHat/NetworkManager.in,
13595 initscript/RedHat/NetworkManagerDispatcher.in,
13596 initscript/SUSE/networkmanager-dispatcher.in,
13597 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13599 2006-01-20 Robert Love <rml@novell.com>
13601 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13602 instead of queuing. This prevents the running of multiple NM
13603 daemons concurrently, which does not work whatsoever and results in
13604 neither daemon working correctly. Also, we don't handle queuing and
13605 name-owner-changes, anyhow.
13607 2006-01-20 Robert Love <rml@novell.com>
13609 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13610 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13613 2006-01-19 Robert Love <rml@novell.com>
13615 * configure.in: Require hal 0.5.0 or later.
13617 2006-01-18 Robert Love <rml@novell.com>
13619 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13620 Allow backends to flag a device (in whatever distro-dependent way
13621 they so desire) as disabled. NM will ignore any such device.
13622 * src/backends/NetworkManagerDebian.c,
13623 src/backends/NetworkManagerRedHat.c,
13624 src/backends/NetworkManagerSlackware.c: Add stub function
13625 nm_system_device_get_disabled() that always returns FALSE (enabled).
13626 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13627 SUSE-specific configuration structure. Fill it in from the
13628 NM_CONTROLLED variable in the system networking scripts. If this var
13629 exists and is "no", we ignore the device.
13631 2006-01-17 Robert Love <rml@novell.com>
13633 * configure.in: Remove 'no' language. Replaced by 'nb', which is
13634 identical for NM. For a full discussion, see the thread at
13635 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13637 2006-01-17 Dan Williams <dcbw@redhat.com>
13640 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13641 function. Fixes crash when wired DHCP fails.
13643 2006-01-16 Robert Love <rml@novell.com>
13645 * src/Makefile.am: Don't install NMLoadModules
13646 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13647 from src/ to test/ as no one uses it anymore. Note that I would be
13648 fine with removing it altogether.
13650 2006-01-16 Robert Love <rml@novell.com>
13652 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13653 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13654 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13655 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13656 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13657 src/nm-netlink-monitor.c: Don't miss any initializers on structure
13658 declarations, ever.
13659 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13660 NM_STATE_DISCONNECTED is zero).
13662 2006-01-16 Robert Love <rml@novell.com>
13664 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
13665 uninitialized parameter and buffer overflow. Novell #143496.
13667 2006-01-16 Dan Williams <dcbw@redhat.com>
13669 Apply the PtP Address bits of a patch from Tim Niemueller
13671 * src/nm-ip4-config.[ch]
13672 - Add ip4_ptp_address member to object
13673 - (nm_ip4_config_copy): copy ptp address too
13674 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13676 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13677 rather than local tunnel ip address
13679 * src/vpn-manager/nm-vpn-service.c
13680 - (print_vpn_config): update for PtP address
13681 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13682 DBusMessageIters in preparation for getting routes from the VPN
13683 service daemons too
13685 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13686 - (send_config_info): update for PtP address, clean up code
13687 - (main): update for PtP address, clean up code, fix typo
13689 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13690 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13692 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13693 - (pptp_ip_up): update for PtP address
13695 * vpn-daemons/pptp/src/nm-pptp-service.c
13696 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13698 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13699 - (print_vpn_config): update for PtP address
13700 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13702 2006-01-16 Dan Williams <dcbw@redhat.com>
13704 * gnome/applet/applet.c
13705 - (nmwa_add_networks_helper): don't indicate an active network
13706 if NM is disconnected or asleep
13708 2006-01-16 Dan Williams <dcbw@redhat.com>
13710 * src/NetworkManagerPolicy.c
13711 - (nm_policy_device_change_check): switch devices if we lose the link
13712 on an ethernet device.
13714 2006-01-16 Dan Williams <dcbw@redhat.com>
13716 * gnome/applet/wso-wpa-psk-hex.[ch]
13717 - Renamed -> wso-wpa-psk.[ch]
13719 * gnome/applet/wso-wpa-psk.[ch]
13722 * gnome/applet/wso-wpa-psk-passphrase.[ch]
13723 - Removed, rolled into wso-wpa-psk.[ch]
13725 * gnome/applet/Makefile.am
13726 - Updated for above changes
13728 * gnome/applet/wireless-applet.glade
13729 - Consolidate WPA-PSK options into one notebook
13730 widget, and make dialogs invisible by default
13731 to fix screen oddities
13733 * gnome/applet/wireless-security-manager.c
13734 - (wsm_set_capabilities): create the new wpa-psk widget rather
13735 than both the old hex & passphrase ones
13737 2006-01-16 Dan Williams <dcbw@redhat.com>
13739 * gnome/applet/other-network-dialog.c
13740 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13742 2006-01-16 Dan Williams <dcbw@redhat.com>
13744 * gnome/applet/applet.c
13745 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13746 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13747 prevention to realize window before trying to get server
13750 * gnome/applet/other-network-dialog.c
13751 - (nmwa_other_network_dialog_run): fix up focus-stealing
13752 prevention to realize window before trying to get server
13755 * gnome/applet/passphrase-dialog.c
13756 - (nmi_passphrase_dialog_new): fix up focus-stealing
13757 prevention to realize window before trying to get server
13760 2006-01-16 Robert Love <rml@novell.com>
13762 Patch from Timo Hoenig <thoenig@suse.de:
13763 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13764 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13765 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13766 libnm-util/dbus-helpers.h: add checks whether headers are used
13767 within a C++ build.
13769 2006-01-16 Dan Williams <dcbw@redhat.com>
13771 * gnome/applet/wireless-security-option.c
13772 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13774 2006-01-16 Dan Williams <dcbw@redhat.com>
13776 * libnm-util/cipher-wpa-psk-passphrase.c
13777 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13778 be 8 - 63 characters inclusive
13780 2006-01-16 Dan Williams <dcbw@redhat.com>
13783 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13785 2006-01-13 Robert Love <rml@novell.com>
13787 Patch by T Sureshkumar <tsureshkuman@novell.com>:
13788 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13789 modules that do not use an interface.
13791 2006-01-13 Dan Williams <dcbw@redhat.com>
13795 - Allow subclasses to implement deactivate_quickly()
13796 - (nm_device_deactivate_quickly): call subclass
13797 deactivate_quickly() methods
13798 - (nm_device_set_active_link): small cleanups, and don't
13799 deactivate the device right away because we risk a deadlock
13800 when called from device thread, waiting for the device
13801 thread to cancel activation
13803 * src/nm-device-802-11-wireless.c
13804 - (real_deactivate_quickly): new function
13805 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13806 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13807 so that we kill the supplicant when we sleep too
13808 - (supplicant_interface_init): work around naive naming attempts of
13809 wpa_ctrl when naming sockets
13811 2006-01-13 Dan Williams <dcbw@redhat.com>
13813 * src/nm-device-802-11-wireless.c
13814 - (supplicant_cleanup): delete old device control sockets too
13815 - (supplicant_get_device_socket_path): new function to consolidate
13816 locations that need a path to a device's control socket
13818 2006-01-12 Robert Love <rml@novell.com>
13820 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13821 description so that the description is unique for each
13822 pair (device,provider). Fixes Novell #142773.
13824 2006-01-12 Dan Williams <dcbw@redhat.com>
13826 * src/nm-device-802-11-wireless.c
13827 - (supplicant_exec): ensure GError is correctly initialized
13828 Reported by Diego González (gnome.org #326708)
13830 2006-01-11 Robert Love <rml@novell.com>
13832 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13833 define if_mii(), open code the same results, and do so without any
13836 2006-01-11 Robert Love <rml@novell.com>
13838 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13839 that wso_foo_new() returned non-NULL. Instead, only append the new
13840 wso to wsm->options if the wso is non-NULL. The crux is that we
13841 assume that the relevant key types are implied by WEP and WPA as
13842 appropriate. To be sure, they should be, but we should not expect
13843 drivers to not be oozing piles of wolf fecal matter.
13845 2006-01-11 Robert Love <rml@novell.com>
13847 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13848 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13849 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13850 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13851 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13852 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13853 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13854 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13855 comparing values within DBL_EPSILON. Also fix shadowed variable
13858 2006-01-11 Dan Williams <dcbw@redhat.com>
13860 Add options for WPA2 and WPA1+CCMP (AES).
13862 * gnome/applet/wireless-applet.glade
13863 - Add UI bits for WPA+CCMP
13865 * gnome/applet/other-network-dialog.c
13866 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13867 and don't allow creation of WPA2 Ad-Hoc networks since
13868 wpa_supplicant doesn't support them
13870 * gnome/applet/wireless-security-manager.c
13871 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13872 on to the specific wireless security option being created
13874 * gnome/applet/wireless-security-option.[ch]
13875 - (wso_wpa_create_key_type_model): new utility function to create
13876 the model required for WPA Key Type combo box
13878 * gnome/applet/wso-private.h
13879 gnome/applet/wireless-security-option.h
13880 - Move private function prototypes into wso-private.h
13882 * gnome/applet/wso-wpa-psk-hex.[ch]
13883 gnome/applet/wso-wpa-psk-passphrase.[ch]
13884 - (append_dbus_params_func): get WPA version from checkbox and pass
13885 it to the dbus serialization helper
13886 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13887 key type combo changes
13888 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13891 * libnm-util/cipher-wpa-psk-hex.c
13892 libnm-util/cipher-wpa-psk-passphrase.c
13893 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13894 new function; allow the cipher to be changed after object creation
13896 * src/nm-ap-security-wpa-psk.c
13897 - (set_description): Do WPA2 descriptions too
13899 * src/nm-ap-security.c
13900 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13902 2006-01-11 Robert Love <rml@novell.com>
13904 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13905 is defined in <linux/mii.h> to return the mii_ioctl_data structure
13906 from the ifreq structure in lieu of an open coded solution. Removes
13907 a life-threatening type-punning.
13908 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13909 types, ever, whatsoever, baby.
13911 2006-01-11 Robert Love <rml@novell.com>
13913 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13914 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13915 assignments to applet->nm_state into a new nmwa_set_state() function
13916 for both cleanliness and to help debugging.
13918 2006-01-10 Robert Love <rml@novell.com>
13920 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
13921 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13922 seconds, exclusive. That is, we want to sleep x seconds such that
13925 2006-01-10 Robert Love <rml@novell.com>
13927 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13928 the attr fields according to the example in the email available at
13929 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13930 Conversely, we do have to free 'name', so we do so, fixing a leak.
13932 2006-01-10 Robert Love <rml@novell.com>
13934 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13935 sure that we close the socket!
13937 2006-01-10 Robert Love <rml@novell.com>
13939 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13940 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13941 src/nm-device.c: Fix a FIXME! Reimplement the function
13942 nm_device_update_hw_address() in device subclass variants,
13943 nm_device_802_3_ethernet_set_address() and
13944 nm_device_802_11_wireless_set_address(), hook them up, and use them.
13945 This fixes the existing bug where MAC addresses are all zeros.
13947 2006-01-10 Robert Love <rml@novell.com>
13949 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13950 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13951 option to give users ability to globally disconnect and put NM to
13952 sleep. This is useful as a 'lockdown mode' for flying, security, and
13955 2006-01-09 Robert Love <rml@novell.com>
13957 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
13958 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13959 User-space does not supply these types, so we have to define them
13960 ourselves. The relevant kernel maintainer refused to accept a patch
13961 switching these headers to the proper C99 types.
13963 2006-01-09 Dan Williams <dcbw@redhat.com>
13965 Apply Robert's 'tray icon redo' patch with fixes
13966 * gnome/applet/applet.c
13967 gnome/applet/applet.h
13968 - Instead of using a menu bar + menu item, simulate menu
13969 behavior using a popup menu. Highlight the area around
13970 the icon more like a menu too, by playing with the
13971 applet's size requisition
13973 2006-01-09 Timo Hoenig <thoenig@suse.de>
13974 * libnm-util/dbus-helpers.c
13975 libnm-util/dbus-helpers.h
13976 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13977 to 'exception_namespace' (:namespace is a keyword in
13980 2006-01-09 Dan Williams <dcbw@redhat.com>
13982 * src/NetworkManagerPolicy.c
13983 - (nm_policy_device_change_check): don't autoswitch away from
13984 Ad-Hoc networks, since there's really no concept of
13988 - (nm_dbus_nm_create_wireless_network): mark created networks
13991 * src/nm-device-802-11-wireless.c
13992 - (real_activation_success_handler): add user-created Ad-Hoc
13993 networks to the device's scan list
13995 2006-01-08 Dan Williams <dcbw@redhat.com>
13997 We now require a patch for wpa_supplicant to support Ad-Hoc
13999 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14001 * src/nm-device-802-11-wireless.c
14002 - (supplicant_send_network_config): turn off wpa_supplicant's
14003 scanning. Fixes Ad-Hoc networks.
14005 2006-01-08 Dan Williams <dcbw@redhat.com>
14007 * src/nm-ap-security.c
14008 src/nm-ap-security.h
14009 - Add a user_created argument to the write_supplicant_config
14012 * src/nm-ap-security-wep.c
14013 src/nm-ap-security-wpa-psk.c
14014 src/nm-device-802-11-wireless.c
14015 - Make Ad-Hoc mode somewhat work, at least write the
14016 correct options to wpa_supplicant
14018 2006-01-08 Dan Williams <dcbw@redhat.com>
14020 * src/nm-device-802-11-wireless.c
14021 - Remove unused code from the old device activation path
14023 2006-01-08 Dan Williams <dcbw@redhat.com>
14025 * libnm-util/dbus-helpers.c
14026 - (nmu_security_serialize_wpa_psk): pass a blank key through
14027 dbus when key == NULL
14029 2006-01-08 Dan Williams <dcbw@redhat.com>
14031 * gnome/applet/nm-gconf-wso-wpa-psk.c
14032 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14033 correct arguments to nmu_security_deserialize_wpa_psk()
14035 * src/nm-ap-security-wpa-psk.c
14036 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14037 arguments to nmu_security_deserialize_wpa_psk()
14039 2006-01-08 Dan Williams <dcbw@redhat.com>
14041 * gnome/applet/wso-wpa-psk-hex.c
14042 gnome/applet/wso-wpa-psk-passphrase.c
14043 - Hook up the append_dbus_params_func() function
14045 2006-01-08 Dan Williams <dcbw@redhat.com>
14047 * src/nm-device-802-11-wireless.c
14048 - (get_wireless_capabilities): correctly detect driver WPA
14051 2006-01-08 Dan Williams <dcbw@redhat.com>
14053 * gnome/applet/Makefile.am
14054 gnome/applet/wso-wpa-psk-hex.c
14055 gnome/applet/wso-wpa-psk-hex.h
14056 - New files, implement WPA-PSK Hex key input
14058 * gnome/applet/wireless-applet.glade
14059 - Change existing wpa-psk stuff to wpa-psk-hex
14060 - Add new widgets for wpa-psk-passphrase
14062 * gnome/applet/wireless-security-manager.c
14063 - (wsm_set_capabilities): enable WPA options
14065 * gnome/applet/wso-wpa-psk-passphrase.c
14066 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14067 for WPA-PSK passphrase
14069 2006-01-08 Dan Williams <dcbw@redhat.com>
14071 * include/NetworkManager.h
14072 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14073 applet/info-daemons
14075 * gnome/applet/passphrase-dialog.c
14076 - Use the constant. Fixes a bug where the arguments to
14077 dbus_message_new_error() were incorrect
14079 * src/nm-dbus-nmi.c
14082 2006-01-07 Dan Williams <dcbw@redhat.com>
14084 * src/nm-device-802-11-wireless.c
14085 - Add a link timeout so we allow the supplicant time to
14086 reassociate if it can, before we deactivate the card
14087 - Fix up link status and link updating so things work better
14089 2006-01-07 Dan Williams <dcbw@redhat.com>
14091 * src/nm-device-802-11-wireless.c
14092 - Switch over to using wpa_supplicant
14093 - Add a timeout of 10s for association of the supplicant
14094 - Start the monitor callback of the supplicant
14096 2006-01-07 Dan Williams <dcbw@redhat.com>
14098 * src/NetworkManagerUtils.c
14099 - (nm_utils_supplicant_request,
14100 nm_utils_supplicant_request_with_check):
14101 pass correct buffer length to wpa_ctrl_request()
14103 2006-01-07 Dan Williams <dcbw@redhat.com>
14105 * src/nm-device-private.h
14107 - (nm_device_activate_schedule_stage3_ip_config_start): make
14108 this function available to subclasses
14110 2006-01-06 Robert Love <rml@novell.com>
14112 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14113 user plugging in a network cable signals their preference for to
14114 switch, unless the user explicitly selected a wireless network and
14115 therefore signaled their preference for said wireless network over
14116 wired. In other words, do exactly what makes sense.
14118 2006-01-06 Robert Love <rml@novell.com>
14120 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14121 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14122 src/NetworkManagerWireless.h: Remove, no longer used and they keep
14123 showing up in my greps.
14125 2006-01-06 Robert Love <rml@novell.com>
14127 * gnome/applet/applet-dbus-devices.c,
14128 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14129 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14130 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
14131 New Network' both failed in the non-encrypted case because we were
14132 not appending the security options to the DBUS message. And
14133 'Connect to Other' was also failing in the encrypted case because
14134 we were not incrementing to the next DBUS parameter. All fixed.
14135 Thanks to dcdw for some debugging help.
14137 2006-01-06 Robert Love <rml@novell.com>
14139 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14140 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14141 hangup code and add per-device hangup. Tie last commit into the
14142 GNOME applet. TODO: Save, understand, and respond to the state of
14143 each dialup device.
14145 2006-01-06 Robert Love <rml@novell.com>
14147 Patch by Timo Hoenig <thoenig@suse.de>:
14148 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14149 hangup specific dialup devices.
14150 * src/backends/NetworkManagerDebian.c,
14151 src/backends/NetworkManagerGentoo.c,
14152 src/backends/NetworkManagerRedHat.c,
14153 src/backends/NetworkManagerSlackware.c: Add stub backend.
14154 * src/backends/NetworkManagerRedHat.c,
14155 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14156 hangup specific dialup devices.
14158 2006-01-04 Robert Love <rml@novell.com>
14160 * gnome/applet/applet-dbus-devices.c,
14161 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14162 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14165 2006-01-04 Dan Williams <dcbw@redhat.com>
14167 First dump of wpa_supplicant-related code. It's not hooked up to
14168 anything yet though. Thanks to Kay Sievers for
14169 wpa_supplicant_wrapper.c, which formed the basis for this work,
14170 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14174 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14176 * src/NetworkManagerUtils.[ch]
14177 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14178 Add convenience functions for talking to wpa_supplicant
14180 * src/nm-ap-security.[ch]
14181 src/nm-ap-security-wep.c
14182 src/nm-ap-security-wpa-psk.[ch]
14183 - Update and implement real_write_supplicant_config functions
14184 in all security types
14185 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14186 nm-ap-security-wpa-psk.c
14188 * src/nm-device-802-11-wireless.c
14189 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14190 wpa_supplicant_start, wpa_supplicant_interface_init,
14191 wpa_supplicant_send_network_config): add functions to talk to
14192 wpa_supplicant and write network config to it
14194 2006-01-04 Robert Love <rml@novell.com>
14196 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14197 values so that distribution-backends can differentiate between the
14198 various types (modem, ISDN, et cetera) of dialup device that they
14200 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14203 2006-01-03 Dan Williams <dcbw@redhat.com>
14205 * src/NetworkManagerPolicy.c
14207 src/nm-device-802-11-wireless.c
14208 - Move wireless-specific activation failure and success code
14209 into wireless device class
14211 2006-01-03 Robert Love <rml@novell.com>
14213 Patch by Preggna S:
14214 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14215 IPsec does not require that a VPN client be bound to an interface,
14216 due to the use of the in-kernel IPSec bits. So make the tunnel
14219 2006-01-03 Dan Williams <dcbw@redhat.com>
14221 * src/NetworkManagerAP.c
14222 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14223 the WPA IE specifies that WEP is supported
14225 * src/nm-device-802-11-wireless.c
14226 - (process_scan_results): don't mark an AP as supporting WEP
14227 if there's already other encryption capability info
14229 2006-01-03 Dan Williams <dcbw@redhat.com>
14231 * src/dhcp-manager/nm-dhcp-manager.c
14232 - Recognize activation cancellation when waiting for DHCP
14233 configuration from dhcdbd
14234 - Ignore non-dhcdbd messages
14237 - (real_act_stage3_ip_config_start): return to correct behavior
14238 of letting the dhcp-manager notify us of failure or
14239 success rather than incorrectly doing that ourselves
14240 - (nm_device_activate_stage4_ip_config_get): deal with
14241 activation cancellation a bit earlier
14243 2006-01-03 Dan Williams <dcbw@redhat.com>
14245 * src/nm-device-802-11-wireless.c
14247 - Add hooks to subclasses for stage3_ip_config_start and
14248 stage4_ip_config_timeout
14250 * src/nm-device-802-3-ethernet.c
14251 - (real_get_generic_capabilities): make devices NM-supported
14254 2006-01-03 Robert Love <rml@novell.com>
14256 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14257 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14258 latter cannot differentiate between error and the address -1; misc.
14261 2006-01-03 Dan Williams <dcbw@redhat.com>
14263 * src/NetworkManager.c
14264 - Move link-checking/probing into the device subclasses
14267 * src/nm-device.[ch]
14268 src/nm-device-802-11-wireless.c
14269 src/nm-device-802-3-ethernet.c
14270 - Do periodic link checking in device subclasses rather
14271 than being triggered from NetworkManager.c
14272 - discover_wireless_capabilities -> get_wireless_capabilities
14273 - discover_generic_capabilities -> get_generic_capabilities
14274 - Device subclass activation routines now return a value of type
14275 NMActStageReturn to indicate what step to perform next
14276 - Devices now override stage4_get_ip4_config if they choose
14278 2006-01-01 Dan Williams <dcbw@redhat.com>
14280 * src/nm-device-802-11-wireless.c
14281 - (real_init): don't chain up to parent init because we don't
14282 need to do that anymore
14285 - (discover_device_type): fix arguments to ioctl() to correctly
14286 pass interface name
14287 - (nm_device_new): consolidate generic device initialization into
14289 - (real_init): remove, consolidated to nm_device_new()
14290 - (nm_device_deactivate, real_deactivate): consolidate
14292 2006-01-01 Dan Williams <dcbw@redhat.com>
14294 * src/nm-activation-request.c
14295 - Change dhcp_state member of the NMActRequest structure
14296 from guint8 to guint32
14298 * src/dhcp-manager/nm-dhcp-manager.[ch]
14299 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14300 than guint8 to match the dbus argument. Turns out we were
14301 overwriting memory since we were passing in only a guint8
14303 2005-12-31 Dan Williams <dcbw@redhat.com>
14305 * refactor NMDevice into a GObject-based framework with separate
14306 objects for wired and wireless. The following files are no
14307 longer used but should stick around for a bit so we don't
14308 loose code through the cracks:
14309 NetworkManagerDevice.c
14310 NetworkManagerDevice.h
14311 NetworkManagerWireless.c
14312 NetworkManagerWireless.h
14314 The intent here is to allow each device type to manage its own
14315 connection & activation life-cycle, ie to allow wireless devices
14316 to interface with wpa_supplicant, etc. There's a fair bit of
14317 encapsulation breakage right now that should gradually get pulled
14318 back into each device, along with things like periodic property
14319 updates and link probing.
14321 2005-12-29 Dan Williams <dcbw@redhat.com>
14323 * include/NetworkManager.h
14324 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14325 between networks that don't have any encryption at all
14327 2005-12-29 Dan Williams <dcbw@redhat.com>
14329 * test/test-common.c
14332 - Move to a test-common subdirectory
14334 * test/libnm-util/test-ciphers.c
14335 - Move test data to test-inputs.h
14336 - Test WPA ciphers too
14338 * test/libnm-util/test-dbus-helpers.c
14339 - Test serialization/deserialization of ciphers
14341 2005-12-29 Dan Williams <dcbw@redhat.com>
14343 * gnome/applet/applet-dbus-devices.c
14344 - Replace 'enc' parameter with 'capabilities' for wireless networks
14345 in dbus calls to NM
14346 - Set capabilities on WirelessNetwork objects
14347 - Receive and save type-specific device capabilities too
14349 * gnome/applet/applet-dbus-info.c
14350 gnome/applet/applet-dbus.c
14351 - Passphrase dialog no longer a singleton; new instance gets created
14352 on each request. Updates to deal with that.
14354 * gnome/applet/applet.c
14355 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14356 than single 'encrypted' flag
14357 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14359 - Passphrase dialog updates per above
14361 * gnome/applet/menu-items.c
14362 - (network_menu_item_update): use AP capabilities to determine
14365 * gnome/applet/nm-device.[ch]
14366 - Add accessors for type-specific device capabilities
14368 * gnome/applet/other-network-dialog.c
14369 - Rework to respect device capabilities. i.e., if the device doesn't
14370 support WPA, remove that option from the security dropdown
14372 * gnome/applet/passphrase-dialog.c
14373 - Massive rework so that a new instance is created each time
14374 it's used, to support wireless network capabilities
14376 * gnome/applet/wireless-network.[ch]
14377 - Add accessors and members for wireless network capabilities
14379 * gnome/applet/wireless-security-manager.[ch]
14380 - (wsm_set_capabilities): called after creation to set which
14381 security options get shown to the user
14383 2005-12-29 Dan Williams <dcbw@redhat.com>
14385 * libnm-util/cipher-wpa-psk-passphrase.c
14386 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14389 2005-12-23 Dan Williams <dcbw@redhat.com>
14391 * gnome/applet/applet-dbus-info.c
14392 - (nmi_dbus_get_key_for_network): if there's no entry in
14393 GConf for a network, assume we want a new key
14394 - (nmi_save_network_info): serialize wireless security info
14395 into GConf so its saved
14398 - Fix warning as we may not be passed security info when
14399 connecting to a wireless network
14401 2005-12-23 Dan Williams <dcbw@redhat.com>
14403 * gnome/applet/applet-compat.c
14404 - Fix bugs in GConf entry conversion
14406 * gnome/applet/applet-dbus-info.c
14407 - (nmi_dbus_get_network_properties): handle case of the BSSID
14408 list being zero-length
14410 * libnm-util/cipher-*
14411 libnm-util/dbus-helpers.c
14412 - All ciphers must now return hashed keys as UTF-8 valid
14413 hexadecimal strings, ie "8f3dae4023". They are pushed
14414 through dbus as strings too.
14415 - Consolidate various functions that do bin->hex and hex->bin
14416 conversion into cipher.c
14418 * src/nm-ap-security-wep.c
14419 src/nm-ap-security-wpa-psk.c
14420 - Handle NULL keys since we may not know keys right away
14422 * src/nm-dbus-nmi.c
14423 - (nm_dbus_get_network_data_cb): actually advance to the start
14424 of the wireless security info before we try to deserialize it
14426 * libnm-util/test-ciphers.c
14427 - Update cipher tests for the change to UTF-8 hexadecimal strings
14429 2005-12-22 Dan Williams <dcbw@redhat.com>
14431 * gnome/applet/applet-compat.[ch]
14432 - Convert old-format GConf and keyring entries
14433 when the applet starts up.
14435 * gnome/applet/applet.c
14436 - (nmwa_get_instance): Call the conversion function
14437 on startup before dbus is initialized
14439 2005-12-22 Dan Williams <dcbw@redhat.com>
14441 * gnome/applet/applet-dbus-info.c
14442 - Remove nmi_dbus_create_error_message() in favor of
14443 nmu_create_dbus_error_message()
14444 - (nmi_dbus_get_network_properties): Error message cleanups
14445 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14446 gconf key rather than 'addresses', since they really are BSSIDs
14447 - (nmi_dbus_get_network_properties): Dispose of the security
14448 object when we're done with it
14450 2005-12-21 Dan Williams <dcbw@redhat.com>
14452 * Consolidate the info-daemon's "updateNetworkInfo" and
14453 "addNetworkAddress" calls into just "updateNetworkInfo"
14455 2005-12-21 Dan Williams <dcbw@redhat.com>
14457 * Make connection after key retrieval work again
14459 2005-12-21 Dan Williams <dcbw@redhat.com>
14461 * gnome/applet/nm-gconf-wso*
14462 - Make the serialize functions return gboolean
14465 * gnome/applet/nm-gconf-wso.c
14466 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14467 parent class handling so we don't segfault
14469 * src/NetworkManagerAP.[ch]
14470 - (nm_ap_get_capabilities): new function, return capabilities
14471 now that something can use them
14472 - (nm_ap_set_encrypted): assume that an access point supports
14473 both WEP104 and WEP40 if its set encrypted. FIXME: can
14474 we even tell whether it just supports WEP40?
14476 * src/NetworkManagerDevice.c
14477 - (ap_need_key): resurrect and update for the New World Order
14478 - (nm_device_wireless_get_activation_ap): if we're not given
14479 security info to use, create some based on access point
14482 * src/nm-ap-security-wep.c
14483 - (nm_ap_security_wep_new_from_ap): create a new object
14484 based on a certain access point's capabilities
14486 * src/nm-ap-security.c
14487 - (nm_ap_security_new_from_ap): delegate creation of a new
14488 object based on access point capabilities to a subclass
14489 - (nm_ap_security_copy_properties): don't segfault if we
14490 don't have a key yet
14493 - (nm_dbus_nm_set_active_device): provide more informative
14494 output when errors occur. Also construct security info
14495 for a given access point if we weren't given any
14497 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14499 * configure.in: Added Lithuanian to ALL_LINGUAS.
14501 2005-12-21 Dan Williams <dcbw@redhat.com>
14504 - Add some testcases for WEP ciphers
14506 2005-12-17 Dan Williams <dcbw@redhat.com>
14510 2005-12-17 Dan Williams <dcbw@redhat.com>
14512 * include/NetworkManager.h
14513 - Finally kill NMEncKeyType
14515 * gnome/applet/applet-dbus-info.c
14516 - (nmi_save_network_info): convert to NMGConfWSO
14518 * gnome/applet/nm-gconf-wso-*.c
14519 - Implement gconf serialization functions
14521 * src/NetworkManagerPolicy.c
14522 - (nm_policy_activation_finish): fix up meaning of
14523 automatic/user_requested
14525 2005-12-17 Dan Williams <dcbw@redhat.com>
14528 - More applet cleanups
14529 - Use the dbus-method-dispatcher
14531 * libnm-util/dbus-method-dispatcher.[ch]
14532 - Generalize the implementation from NM in
14533 NetworkManagerUtils.c
14535 2005-12-16 Dan Williams <dcbw@redhat.com>
14538 - Fix up the passphrase dialog to use all the
14539 WirelessSecurityOption stuff (untested)
14541 2005-12-16 Dan Williams <dcbw@redhat.com>
14543 * Move nm_gconf_get_*_helper() functions to separate files,
14544 gconf-helpers.c & gconf-helpers.h
14546 * New NMGConfWSO objects for managing the gconf side of things.
14547 Eventually these should be merged with the
14548 WirelessSecurityOption objects and a common base (that can
14549 serialize/deserialize from dbus & gconf) should be
14550 refactored out, but for now they are separate.
14552 2005-12-16 Robert Love <rml@novell.com>
14554 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14555 binaries unless they exist (nm_spawn_process() emits a warning if
14556 asked to spawn a non-existant process).
14558 2005-12-16 Dan Williams <dcbw@redhat.com>
14560 * gnome/applet/applet-dbus-info.c
14561 - Clean up lots of gconf-related code
14563 2005-12-16 Robert Love <rml@novell.com>
14565 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14567 2005-12-16 Dan Williams <dcbw@redhat.com>
14569 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14571 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14572 bits still to be done)
14574 2005-12-16 Dan Williams <dcbw@redhat.com>
14576 * Finally move info-daemon related stuff out of
14577 NetworkManagerDbus.c to nm-dbus-nmi.c
14579 2005-12-16 Dan Williams <dcbw@redhat.com>
14581 * Kill auth_method for access points, since that's now done
14582 by NMAPSecurity objects
14584 * Add a copy-constructor of sorts to NMAPSecurity
14585 (how do you do this properly in glib???)
14587 2005-12-15 Dan Williams <dcbw@redhat.com>
14589 * Exorcise encryption key hashing on APs
14590 * Use libnm-util's serialization/deserialization in both the
14592 * Random other stuff
14594 2005-12-15 Robert Love <rml@novell.com>
14596 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14597 is being added to the icon naming spec, so let's use that (Tango CVS
14598 has the icon). Because it is new, however, we fall back to the
14599 current "gnome-lockscreen" if the new icon is not around, thus
14600 behavior is the same.
14601 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
14604 2005-12-15 Robert Love <rml@novell.com>
14606 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14607 well, help to give. Couple other misc. bits.
14609 2005-12-15 Dan Williams <dcbw@redhat.com>
14611 * libnm-util/dbus-helpers.[ch]
14612 - Make this the one-stop-shop for serializing/deserializing
14613 AP & connection security settings over dbus. Both NM
14614 and applets should use this to ensure consistent dbus
14615 API going forwared.
14617 2005-12-15 Robert Love <rml@novell.com>
14619 Patch by Timo Hoenig <thoenig@suse.de>:
14620 * src/NetworkManagerDbus.c
14621 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14622 if HAL jumps off the system bus. Otherwise libdbus
14623 (dbus_connection_dispatch) will try to run the filter
14624 function of our libhal context which is already freed.
14626 2005-12-15 Alexander Shopov <ash@contact.bg>
14628 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14630 2005-12-14 Dan Williams <dcbw@redhat.com>
14632 * include/NetworkManager.h
14633 src/NetworkManagerWireless.c
14634 - Rearrange 802.11 wireless-specific capabilities again
14637 - Forgot to add wpa.c/wpa.h to the makefiles
14639 * src/NetworkManagerAP.[ch]
14640 - Implement access point capabilities and parse the
14641 WPA/RSN IEs into the capability bitfield
14642 - Switch the "encrypted" attribute to utilize the bitfield
14643 and capabilities rather than being independent
14645 * src/NetworkManagerDevice.c
14646 - (nm_device_wireless_get_activation_ap): break it horribly
14647 until we can push NMAPSecurity objects into access point
14648 objects and through the activation chain
14649 - Stuff WPA & RSN IEs into AP capabilities
14652 - Take a shot at actually making setActiveDevice work
14655 - Make the API a bit saner
14657 2005-12-14 Dan Williams <dcbw@redhat.com>
14659 * include/NetworkManager.h
14660 - Add 802.11-specific capability for 802.1x key
14664 - Pull in WPA IE and RSN IE parsing code from
14665 wpa_supplicant so we can determine access point
14667 - Move WPA-related constants here from NetworkManagerAP.h
14668 and NetworkManagerDevice.c
14670 * src/NetworkManagerDevice.c
14671 src/NetworkManagerAP.[ch]
14672 - Use WPA-related constants from wpa.h
14674 2005-12-14 Dan Williams <dcbw@redhat.com>
14676 * include/NetworkManager.h
14677 - Update and split 802.11 wireless-specific capabilities from
14678 generic device capabilities
14680 * src/NetworkManagerDevice.c
14681 src/NetworkManagerDevicePrivate.h
14682 - (nm_device_wireless_discover_capabilities): Move 802.11
14683 wireless-specific capability checks to
14684 NetworkManagerWireless.c
14685 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14686 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14688 * src/NetworkManagerWireless.[ch]
14689 - (nm_802_11_wireless_discover_capabilities): Check extended
14690 802.11 wireless-specific capabilities of the driver
14692 2005-12-14 Robert Love <rml@novell.com>
14694 Patch from Stefan Scheler <sscheler@suse.de>:
14695 * src/NetworkManagerDevice.c: call backend code to activate and
14697 * src/NetworkManagerSystem.h: add new NIS interfaces.
14698 * src/backends/NetworkManagerDebian.c,
14699 src/backends/NetworkManagerGentoo.c,
14700 src/backends/NetworkManagerRedHat.c,
14701 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14703 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14705 2005-12-14 Dan Williams <dcbw@redhat.com>
14707 * src/nm-ap-security*.[ch]
14708 - Add AP security abstractions to NetworkManager
14710 * src/nm-dbus-device.c
14711 - Begin to parse new format dbus messages from the applet
14712 and construct an AP security object from the message
14714 * libnm-util/dbus-helpers.c
14715 - Use message iters so we can append the key as a fixed
14716 array of bytes, which actually works rather than
14717 using dbus_message_append_args() as we were before
14719 2005-12-14 Dan Williams <dcbw@redhat.com>
14721 * src/NetworkManagerDbus.c
14722 gnome/applet/applet-dbus.c
14723 - Fix up dbus service replacement options. The applet
14724 should allow replacement, NM itself should not.
14726 2005-12-13 Robert Love <rml@novell.com>
14728 * src/named-manager/nm-named-manager.c: Revert earlier commit.
14729 Instead, fail silently if config is NULL by not asserting and not
14730 returning FALSE. Also, make sure we always fclose() the file.
14732 2005-12-13 Robert Love <rml@novell.com>
14734 Patch by Stefan Scheler <sscheler@suse.de>:
14735 * src/nm-ip4-config.h, src/nm-ip4-config.c,
14736 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14737 via DHCP. Still need the backends to commit the NIS domain name and
14738 and servers to yp.conf as needed.
14740 2005-12-13 Robert Love <rml@novell.com>
14742 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14743 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14745 2005-12-13 Robert Love <rml@novell.com>
14747 * src/named-manager/nm-named-manager.c: Don't unref the config until
14748 after we call rewrite_resolv_conf(), because get_last_default_domain()
14749 needs to access the config. Fixes "rewrite_resolv_conf: assertion
14750 `config != NULL' failed" assertion failures and "Could not commit DNS
14753 2005-12-12 Dan Williams <dcbw@redhat.com>
14755 * libnm-util/dbus-helpers.[ch]
14756 libnm-util/Makefile.am
14757 - new helper calls to consolidate locations where
14758 NM's setDevice method is called
14760 * gnome/applet/applet-dbus-devices.c
14761 gnome/applet/wireless-security-option.c
14763 - Implement dbus message param append function for
14764 all wireless security options
14766 2005-12-12 Robert Love <rml@novell.com>
14768 * libnm-util/cipher-wep-passphrase.c,
14769 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14770 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14771 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14772 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14773 When handling keys, we don't care what the sign is. The compiler
14774 guarantees us that we get our 8-bits, which is all we care about.
14775 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
14777 2005-12-12 Dan Williams <dcbw@redhat.com>
14779 * gnome/applet/applet-dbus-devices.[ch]
14780 gnome/applet/applet.c
14781 gnome/applet/other-network-dialog.c
14782 gnome/applet/wireless-security-manager.[ch]
14783 gnome/applet/wireless-security-option.[ch]
14785 - Push the wireless security options further into the applet
14787 2005-12-12 Robert Love <rml@novell.com>
14789 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14790 return any name servers. That is perfectly valid. (Novell #134369).
14792 2005-12-11 Dan Williams <dcbw@redhat.com>
14794 * gnome/applet/wso-*
14795 gnome/applet/wireless-security-option.*
14796 gnome/applet/Makefile.am
14797 - split each security option out so we can eventually
14798 have each one build up their own dbus message
14799 arguments to send to NM
14801 2005-12-11 Dan Williams <dcbw@redhat.com>
14803 * Make validation of the key work correctly
14805 2005-12-11 Dan Williams <dcbw@redhat.com>
14807 * Hook more bits of the Other Network Dialog up to the
14808 wireless security manager stuff, and restructure
14809 bits of the dialog so there's less code.
14811 2005-12-10 Dan Williams <dcbw@redhat.com>
14813 * gnome/applet/Makefile.am
14814 - Add libnm-util to includes
14815 - Add libnm-util to link list
14816 - Add wireless-security-common.* to compile list
14818 * gnome/applet/other-network-dialog.c
14819 - Convert to using the WirelessSecurityManager code and
14822 * gnome/applet/passphrase-dialog.c
14823 - Comment out references to stuff in the glade file that
14824 cause runtime errors until it can be fixed up
14825 to use the WirelessSecurityManager code
14827 * gnome/applet/wireless-applet.glade
14828 - Rename some widgets
14829 - Add widgets for the WirelessSecurityManager code
14830 - Remove passphrase-related stuff since that's now
14831 handled by the WirelessSecurityManager code
14833 2005-12-10 Dan Williams <dcbw@redhat.com>
14835 * gnome/applet/applet-dbus-devices.c
14836 - Print out error message details for dbus pending call callbacks
14837 - Move nmwa_dbus_update_devices() up
14839 * gnome/applet/applet-dbus-vpn.c
14840 - Print out error message details for dbus pending call callbacks
14842 2005-12-10 Dan Williams <dcbw@redhat.com>
14846 - Remove cipher-manager.* because we don't need it
14847 - Forgot to add gnome-keyring-md5 files to compile list
14849 2005-12-09 Dan Williams <dcbw@redhat.com>
14854 - Add a utility library for clients of NetworkManager. It's
14855 only targetted at applets for the moment, and contains
14856 a generalized 802.11 cipher framework for different
14857 types of keys (WEP & WPA Hex, ASCII, Passphrase)
14859 2005-12-09 Robert Love <rml@novell.com>
14861 * src/NetworkManagerDevice.c: handle error better in
14862 nm_device_set_mode().
14864 2005-12-08 Robert Love <rml@novell.com>
14866 * include/NetworkManager.h: add WPA capabilities constants
14867 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14868 or WPA2 and add the capabilities bits as appropriate.
14870 2005-12-08 Robert Love <rml@novell.com>
14872 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14873 NetworkManagerDispatcher.
14874 * configure.in, initscript/SUSE/.cvsignore,
14875 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14878 2005-12-08 Robert Love <rml@novell.com>
14880 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14882 2005-12-08 Robert Love <rml@novell.com>
14884 * src/NetworkManagerDevice.c: We want to fall back on and default to
14885 IW_MODE_AUTO, not -1, which is more in line with our previous
14886 behavior. Otherwise, we try to set the wireless mode to -1 in
14887 nm_device_set_mode().
14889 2005-12-07 Robert Love <rml@novell.com>
14891 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14892 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14893 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14894 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14895 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14896 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
14899 2005-12-07 Robert Love <rml@novell.com>
14901 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14902 supplied IP is invalid, fall back to DHCP.
14904 2005-12-07 Dan Williams <dcbw@redhat.com>
14906 * Convert NETWORK_MODE_* constants to IW_MODE_*
14907 * Make all the get_mode/set_mode functions take and return 'int'
14908 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14910 2005-12-07 Robert Love <rml@novell.com>
14912 * src/NetworkManagerDevice.c: strncpy() buffer check.
14913 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14915 2005-12-06 Dan Williams <dcbw@redhat.com>
14917 * gnome/applet/applet-dbus.c
14918 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14920 * gnome/applet/applet-dbus-vpn.c
14921 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14922 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14923 to TRUE here if stage was ACTIVATED
14925 2005-12-06 Dan Williams <dcbw@redhat.com>
14927 * Change nm_device_is_* functions to better names:
14928 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14929 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14931 2005-12-06 Dan Williams <dcbw@redhat.com>
14933 * Change naming of NMDeviceType to something more sensible:
14934 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14935 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14936 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14938 2005-12-06 Dan Williams <dcbw@redhat.com>
14940 * Move NetworkManager.h -> include/NetworkManager.h
14941 * Split out VPN stuff into include/NetworkManagerVPN.h
14942 * Fix up makefiles to include new location
14943 * Fix up sources to include NetworkManagerVPN.h
14945 2005-12-06 Dan Williams <dcbw@redhat.com>
14947 Various changes in the applet to move VPN connection "state" -> "stage",
14948 which it actually is. I'd like to change the signal as well when we
14949 break compat in the near future.
14951 2005-12-06 Dan Williams <dcbw@redhat.com>
14953 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14954 * initscript/Slackware/rc.networkmanager
14957 * src/backends/NetworkManagerSlackware.c
14958 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14961 2005-12-05 Robert Love <rml@novell.com>
14963 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14964 to free, particularly here as it just barfs.
14966 2005-12-05 Dan Williams <dcbw@redhat.com>
14968 * gnome/applet/applet-dbus.c
14969 - Work with dbus 0.6 too
14971 2005-12-03 Dan Williams <dcbw@redhat.com>
14973 * src/NetworkManagerUtils.[ch]
14974 src/nm-ip4-config.c
14975 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14976 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14978 2005-12-01 Robert Love <rml@novell.com>
14980 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14981 need a NULL for the '...' parameter, too, to fill the so-called
14984 2005-12-01 Robert Love <rml@novell.com>
14986 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14987 interface is already gone, so don't call rtnl_link_change() to down
14988 it (which will segfault, anyhow).
14990 2005-11-22 Robert Love <rml@novell.com>
14992 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14993 gateway is not set, just print a little note. Configurations without
14994 gateways are valid.
14996 2005-11-22 Robert Love <rml@novell.com>
15000 2005-11-20 Ilkka Tuohela <hile@iki.fi>
15002 * configure.in: Added Finnish translation to ALL_LINGUAS
15004 2005-11-14 Robert Love <rml@novell.com>
15006 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15007 Niemueller <tim@niemueller.de>.
15009 2005-11-08 Dan Williams <dcbw@redhat.com>
15011 Patch from Bill Moss <bmoss@clemson.edu>
15012 * src/NetworkManagerDevice.c
15013 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15014 of nm_policy_schedule_activation_finish() to prevent a
15015 race condition that causes the link to be dropped
15017 2005-11-08 Dan Williams <dcbw@redhat.com>
15019 Patch from Bill Moss <bmoss@clemson.edu>
15020 * src/NetworkManagerAPList.c
15021 src/NetworkManagerDevice.c
15022 src/NetworkManagerDbus.c
15023 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15024 we get more readable ether/mac addresses
15026 2005-11-02 Christopher Aillon <caillon@redhat.com>
15028 * gnome/applet/main.c: Don't set the restart command. This fixes
15029 the issue where the restart command was getting copies of all its
15030 arguments for each time the applet was restarted.
15032 2005-11-02 Robert Love <rml@novell.com>
15034 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15035 if the widget state differs from our saved state. This ensures we
15036 do not enter an endless loop of death and destruction. Also, this
15037 guarantees us that we enforce the widget state.
15039 2005-11-02 Robert Love <rml@novell.com>
15041 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15042 * gnome/applet/applet-dbus-devices.c: invoke the new function
15043 nmwa_enable_wireless_set_active() to ensure that the state of the
15044 'Enable Wireless' checkbox matches the daemon's state. This is a
15045 concern because the daemon remembers the state.
15047 2005-11-02 Robert Love <rml@novell.com>
15049 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15050 Enabled", as checkboxes should be actions/commands not positive
15051 statements, otherwise they are confusing in the unselected case. See
15052 examples in GNOME HIG, Chapter 6.
15054 2005-11-02 Robert Love <rml@novell.com>
15056 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
15057 show a list of wireless networks or the wireless devices or the
15058 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
15059 a bad bug: If wireless is disabled and the user picks a wireless
15060 network, NM will switch to the network, only to immediately switch
15061 back, as wireless is disabled. This also reassures people that NM
15062 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
15064 2005-11-02 Christopher Aillon <caillon@redhat.com>
15066 * gnome/applet/applet.c:
15067 * gnome/applet/applet.h:
15068 Partial backout of Dan's timeout animation patch.
15069 Timeout IDs cannot legally be 0, so revert the code in place to handle
15070 a timeout ID of 0 to denote the timeout isn't running.
15072 2005-11-02 Christopher Aillon <caillon@redhat.com>
15074 * src/NetworkManagerPolicy.c:
15075 (nm_policy_device_change_check) Clarify wireless switch nm_info text
15077 2005-10-28 Robert Love <rml@novell.com>
15079 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15080 "Import Saved Configuration..." to make it clear that importing is
15081 not the next step, but an option. As an aside, a nice TODO would be
15082 to move Importing out of the vpn-specific dialog and into the main
15083 property editor, as Importing goes with Adding, but that will require
15084 some rearchitecting of the VPN stuff I suspect.
15086 2005-10-27 Dan Williams <dcbw@redhat.com>
15088 Start using libnl. You need 1.0-pre3 or higher. Eventually
15089 we should replace most of the distro-specific backend code
15092 Get it here: http://people.suug.ch/~tgr/libnl/
15096 - Add checks for libnl pkgconfig file
15097 - Use LIBNL_LIBS & LIBNL_CFLAGS
15099 * src/NetworkManagerSystem.c
15100 src/nm-ip4-config.[ch]
15101 - Use libnl rather than ioctl() for most things
15102 - Remove unused functions
15104 2005-10-27 Robert Love <rml@novell.com>
15106 * src/backends/NetworkManagerSuSE.c: fix warning message text
15108 2005-10-27 Christopher Aillon <caillon@redhat.com>
15110 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15112 2005-10-27 Christopher Aillon <caillon@redhat.com>
15114 * gnome/applet/applet.c: The applet's about dialog can advertise our
15115 project page <http://www.gnome.org/projects/NetworkManager/>
15117 2005-10-26 Christopher Aillon <caillon@redhat.com>
15119 * gnome/applet.c: Also use translator credits if we don't have
15120 the new GtkAboutDialog (older versions of GTK+)
15122 2005-10-26 Robert Love <rml@novell.com>
15124 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15125 failure; correct usage text for "--no-daemon"
15127 2005-10-25 Dan Williams <dcbw@redhat.com>
15129 * src/NetworkManagerDevice.c
15130 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15132 - (free_process_scan_cb_data): unref the device when freeing results
15133 - (nm_device_wireless_process_scan_results): free scan results a bit later
15134 so we don't unref the device underneath ourselves
15136 2005-10-25 Dan Williams <dcbw@redhat.com>
15138 * Back out 2005-10-24 commit from Tor Krill. Patch
15139 causes nameservers never to be removed from named.
15141 2005-10-24 Dan Williams <dcbw@redhat.com>
15143 Clean up wireless scanning and wireless link probing.
15145 * src/NetworkManagerDevice.c
15146 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15147 just see if there's an activation request on the device, and check the
15148 current link against the activation request access point's ESSID.
15149 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15150 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15151 don't call process_scan_results() on zero-length data
15152 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
15153 15 seconds (from 10)
15155 2005-10-24 Dan Williams <dcbw@redhat.com>
15157 Cleanup some applet stuff:
15159 - Animation timeouts. If NM died while the applet was animating,
15160 the applet would not hide itself. This is now fixed.
15162 - Remove some dead code
15164 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15165 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15167 - Track animation timeout using a gboolean rather than the timeout's
15168 ID, since timeout IDs can legally be 0.
15170 2005-10-24 Dan Williams <dcbw@redhat.com>
15172 * src/backends/interface_parser.c
15173 - Add void to function declarations that need it
15174 to match patch from Engin AYDOGAN
15176 * src/backends/interface_parser.h
15177 - Remove unused prototype for ifparser_interfaces()
15179 Patch from Engin AYDOGAN <engin@bzzzt.biz>
15180 * src/backends/interface_parser.h:
15181 - Compile fixes for gcc 4.0.2 (add void)
15183 2005-10-24 Dan Williams <dcbw@redhat.com>
15185 Patch from Tor Krill <tor@krill.nu>
15186 * src/named-manager/nm-named-manager.c
15187 - Write more than just the first nameserver to /etc/resolv.conf
15188 - Write out valid /etc/resolv.conf on exit
15190 2005-10-21 Christopher Aillon <caillon@redhat.com>
15192 * gnome/applet/applet-dbus-vpn.c:
15193 Get rid of spurious newlines in debug console output
15195 2005-10-21 Christopher Aillon <caillon@redhat.com>
15197 * src/backends/NetworkManagerGentoo.c:
15198 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
15200 2005-10-20 Robert Love <rml@novell.com>
15202 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15203 direct comparison of floating point values, which is never correct.
15204 Also some misc. cleanup.
15206 2005-10-19 Robert Love <rml@novell.com>
15208 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15210 2005-10-19 Robert Love <rml@novell.com>
15212 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15213 sensitivity of the buttons. Specificaly, do the right thing if
15214 there are no entries.
15216 2005-10-19 Christopher Aillon <caillon@redhat.com>
15218 * configure.in: Update check for adequate wireless-tools
15219 with an AC_TRY_COMPILE for the new symbols we use.
15221 2005-10-19 Dan Williams <dcbw@redhat.com>
15223 * src/NetworkManagerDevice.c
15224 - (process_scan_results): don't drop the last (or only)
15225 access point we see
15227 2005-10-19 Christopher Aillon <caillon@redhat.com>
15229 * src/backends/NetworkManagerSlackware.c:
15230 Patch from Nico <lordllucifer@gmail.com>
15231 - Update the Slackware backend.
15233 2005-10-18 Christopher Aillon <caillon@redhat.com>
15235 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15236 if we've got GLib 2.8.0
15238 2005-10-18 Robert Love <rml@novell.com>
15240 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15241 function nm_schedule_state_change_signal_broadcast() when we
15242 deactivate a device, too.
15244 2005-10-18 Robert Love <rml@novell.com>
15246 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15247 be used uninitialized.
15249 2005-10-18 Christopher Aillon <caillon@redhat.com>
15251 * test/libnm_glib_test.c: Test unregistering, too.
15253 2005-10-17 Christopher Aillon <caillon@redhat.com>
15255 * configure.in: Bump to 0.5.0
15257 2005-10-17 Dan Williams <dcbw@redhat.com>
15260 - Remove WPA-related constants so they aren't part of the
15263 2005-10-17 Christopher Aillon <caillon@redhat.com>
15265 * gnome/applet/applet.c:
15266 * gnome/applet/applet.h:
15267 Desensitize the 'Connection Information' menu item when there is
15268 no active connection.
15270 2005-10-17 Christopher Aillon <caillon@redhat.com>
15272 * gnome/libnm_glib/libnm_glib.c:
15273 Make libnm_glib_unregister_callback () actually unregister the callback
15275 2005-10-17 Robert Love <rml@novell.com>
15277 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15278 two seconds -- tries is updated every 1/10 of a second, not every
15281 2005-10-17 Christopher Aillon <caillon@redhat.com>
15283 * gnome/applet/applet-dbus-info.c:
15284 Let D-BUS know that we haven't handled a message when we haven't.
15286 2005-10-17 Robert Love <rml@novell.com>
15288 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15289 in order to remain 64-bit clean.
15291 2005-10-17 Christopher Aillon <caillon@redhat.com>
15293 * gnome/applet/applet-dbus-info.c:
15294 Find network encryption keys asynchronously
15296 2005-10-17 Robert Love <rml@novell.com>
15298 * src/backends/NetworkManagerDebian.c,
15299 src/backends/NetworkManagerRedHat,
15300 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15303 2005-10-17 Robert Love <rml@novell.com>
15305 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15308 2005-10-17 Christopher Aillon <caillon@redhat.com>
15310 * src/NetworkManagerDevice.c: (process_scan_results)
15311 Fix logic that checks to see whether we have an ESSID.
15313 2005-10-15 Dan Williams <dcbw@redhat.com>
15315 Move scanning code into NetworkManager rather than use iwlib's
15316 iw_scan() function, so that we can figure out AP capabilities.
15319 - Add AP capability bits
15321 * src/NetworkManagerAP.[ch]
15322 - Add capability field to NMAccessPoint structure
15323 - Add WPA & RSN Information Element fields and accessor
15324 functions to NMAccessPoint
15326 * src/NetworkManagerDevice.c
15327 - Remove usage of iw_scan
15328 - Add scanning code to NetworkManager rather than use
15329 iw_scan() from iwlib
15331 * src/NetworkManagerUtils.[ch]
15332 - (nm_dispose_scan_results): remove, unused
15334 2005-10-14 Christopher Aillon <caillon@redhat.com>
15336 * gnome/libnm_glib/libnm_glib.c:
15337 * gnome/libnm_glib/libnm_glib.h:
15338 Use guint instead of gint for callback IDs.
15340 2005-10-12 Christopher Aillon <caillon@redhat.com>
15342 * gnome/applet/applet.c:
15343 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
15344 every 1000ms. It will unconditionally call nmwa_update_state which
15345 kills the existing animation timeout and registers a new one with a
15346 callback to draw a new frame every 100ms. There are 11 connecting
15347 icon frames, so the last 2 frames kept getting dropped. Only reset
15348 the animation timeout if we aren't animating.
15350 2005-10-11 Dan Williams <dcbw@redhat.com>
15352 * gnome/applet/applet-dbus-devices.c
15353 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15354 We want to grab the product & vendor from net.physical_dev
15355 rather than info.parent.
15357 2005-10-11 Dan Williams <dcbw@redhat.com>
15359 * src/NetworkManagerDevice.c
15360 - Use the driver's WE version for scanning rather than
15361 the WE version NM was compiled with. Fixes random
15362 crashes in iw_scan () in iwlib.
15364 2005-10-10 Dan Williams <dcbw@redhat.com>
15366 * Remove nm_system_load_device_modules() from backend files
15367 and from NetworkManager.c
15369 2005-10-10 Dan Williams <dcbw@redhat.com>
15371 * src/NetworkManagerPolicy.c
15372 - Fix some bugs introduced by the capabilities patch
15374 2005-10-10 Dan Williams <dcbw@redhat.com>
15376 * gnome/applet/applet-dbus-info.c
15377 - (nmi_dbus_get_network_key): hide the menu when putting up
15378 the keyring dialog. (not sure if the code is right...)
15380 2005-10-09 Dan Williams <dcbw@redhat.com>
15382 Patch from Bill Moss <bmoss@clemson.edu>
15383 * src/NetworkManagerDevice.c
15384 - (nm_device_set_user_key_for_network): don't try to set auth
15385 mode on the AP from the allowed list if it's NULL
15387 2005-10-09 Dan Williams <dcbw@redhat.com>
15389 * Replace the "driver support level" stuff with capabilities. The
15390 capability field is a bitfield that is more flexible than the
15391 old driver support level thing. It's mostly so we can easily
15392 figure out what supports WPA and what doesn't, but should be
15393 quite useful later.
15395 2005-10-09 Dan Williams <dcbw@redhat.com>
15402 - Added new "nm-tool" tool that gives quite a bit more
15405 2005-10-07 Robert Love <rml@novell.com>
15407 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15408 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15409 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15410 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15413 2005-10-07 Robert Love <rml@novell.com>
15415 * configure.in: Change our compile flags for the betterment of mankind.
15416 Add "-Wstrict-prototypes" because we comply anyhow and missing a
15417 prototype is very bad on 64-bit platforms as types default to int but
15418 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15419 "-Wmissing-declarations" to warn if we define an exported function
15420 but fail to put it in a header.
15422 2005-10-07 Robert Love <rml@novell.com>
15424 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15425 by the name nm_update_device_wireless_timeouts() and once tried,
15426 without success, to steal my pet turtle.
15428 2005-10-07 Robert Love <rml@novell.com>
15430 * Cleanup prototypes: put some functions in header files and mark
15431 others as 'static' -- feel free to invert
15432 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15433 nm_vpn_manager_vpn_connection_list_copy()
15434 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15435 nm_vpn_service_get_dbus_connection()
15436 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15437 nm_vpn_manager_vpn_connection_list_copy()
15438 * src/vpn-manager/nm-vpn-service.c: make
15439 nm_vpn_service_act_request_failed() and
15440 nm_vpn_service_stage2_daemon_wait() static
15441 * src/vpn-manager/nm-vpn-service.h: add prototype for
15442 nm_vpn_service_get_dbus_connection()
15444 2005-10-06 Christopher Aillon <caillon@redhat.com>
15446 * gnome/applet/applet.c:
15447 * gnome/applet/applet.h:
15448 * gnome/applet/icons/Makefile.am:
15449 Convey information about the current connection stage in the
15450 icons themselves instead of creating a separate progress bar.
15452 2005-10-04 Robert Love <rml@novell.com>
15454 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15455 convert an ether_addr structure's MAC into a string, because the
15456 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15457 versus 07:3B:04, while the former will not.
15459 2005-10-04 Robert Love <rml@novell.com>
15461 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15462 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15463 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15464 default route in the 'Connection Information' dialog, send primary
15465 and secondary name servers in in "getProperties" DBUS method, add
15466 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15467 secondary domain name servers are crucial pieces of information
15468 that a user might need in debugging a network problem.
15470 2005-10-04 Robert Love <rml@novell.com>
15472 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15473 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15474 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15475 default route in the 'Connection Information' dialog, send default
15476 route in "getProperties" DBUS method, add network_device_set_route(),
15477 and network_device_get_route(). The Gateway is a crucial piece of
15478 connection-related information that a user might need in debugging a
15481 2005-10-03 Robert Love <rml@novell.com>
15483 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15486 2005-10-02 Dan Williams <dcbw@redhat.com>
15488 * Shorten time taken to sleep by fastpathing bits of device deactivation
15489 necessary for sleep.
15491 * Fix issue where deactivating a device might deactivate the active
15492 VPN connection, even if the VPN was not using the device.
15494 2005-10-02 Dan Williams <dcbw@redhat.com>
15496 * gnome/applet/applet.c
15497 - Adjust signal strength -> icon mapping values slightly
15498 (so that 51% signal doesn't show a 75% icon) by adding
15499 5% to the values. ex: > 5% now shows 25% icon, > 30%
15500 shows 50% icon, etc.
15502 2005-09-29 Robert Love <rml@novell.com>
15504 * src/NetworkManager.c: removed unused variable.
15506 2005-09-28 Dan Williams <dcbw@redhat.com>
15508 Support for named + DBus, using Red Hat DBus patches for named. You
15509 can find those patches here, with "dbus" in the patch's filename:
15511 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15513 Don't forget the named dbus service file either.
15515 Instead of writing a config file and spawing a named process, NM will
15516 use an already-running dbus-enabled named if it finds one. NM will
15517 update named's forwarder configuration on the fly using dbus.
15519 If there is no dbus-enabled named running, NM will automatically fall
15520 back to writing the most-recent DNS server information to /etc/resolv.conf
15521 and calling nm_system_update_dns() to kick the system's resolver.
15523 Accordingly, all named-related configure-time options have been removed.
15525 2005-09-26 Robert Love <rml@novell.com>
15527 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15529 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15530 bug in error path if "ASKPASSWORD" is "no".
15532 2005-09-26 Robert Love <rml@novell.com>
15534 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15535 comment in /etc/resolv.conf -- ';' is not.
15537 2005-09-19 Dan Williams <dcbw@redhat.com>
15539 * src/backends/NetworkManagerRedHat.c:
15540 * src/backends/NetworkManagerDebian.c:
15541 * src/backends/NetworkManagerSlackware.c:
15542 * src/backends/NetworkManagerGentoo.c:
15543 * src/backends/NetworkManagerSUSE.c:
15544 Fix invocations of "/sbin/ip address" to use short form instead
15546 2005-09-19 Christopher Aillon <caillon@redhat.com>
15548 * src/nm-dbus-device.c: Don't assert when getting
15549 addresses of a not yet connected interface.
15551 * gnome/applet/applet.c: Free icons if loading fails.
15552 Use translator-credits so translators can make themselves known.
15554 2005-09-15 Christopher Aillon <caillon@redhat.com>
15556 * src/NetworkManagerAP.c:
15557 * src/NetworkManagerAP.h:
15558 * src/NetworkManagerDevice.c:
15559 Set a blacklist for certain common manufacturer default ESSIDs:
15560 APs with these ESSIDs are extremely likely to be completely
15561 different networks: connecting to one should not make NM
15562 auto-connect to every other AP with the same default ESSID.
15564 2005-09-12 Christopher Aillon <caillon@redhat.com>
15566 * gnome/applet/wireless-applet.glade:
15567 The passphrase entry should also activate the default
15569 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15571 * gnome/applet/applet-dbus-devices.c:
15572 * gnome/applet/applet.c:
15573 * gnome/applet/nm-device.c:
15574 * gnome/applet/nm-device.h:
15575 * src/NetworkManagerUtils.c:
15576 * src/NetworkManagerUtils.h:
15577 * src/nm-dbus-device.c:
15578 I've got a fever, and the only cure for it is less ioctl.
15579 Make NM push IP data rather than make the applet open a socket
15582 2005-09-10 Christopher Aillon <caillon@redhat.com>
15584 * gnome/applet/applet.c:
15585 * gnome/applet/applet-dbus-devices.c:
15586 * gnome/applet/applet-dbus-info.c:
15587 * gnome/applet/passphrase-dialog.c:
15588 * gnome/libnm_glib/libnm_glib.c:
15589 * gnome/vpn-properties/nm-vpn-properties.c:
15591 * src/backends/NetworkManagerRedHat.c:
15592 * src/named-manager/nm-named-manager.c:
15593 * src/NetworkManagerAPList.c:
15594 * src/NetworkManager.c:
15595 * src/NetworkManagerDbus.c:
15596 * src/NetworkManagerDevice.c:
15597 * src/NetworkManagerPolicy.c:
15598 * src/NetworkManagerSystem.c:
15599 * src/nm-dbus-device.c:
15600 * src/nm-dbus-nm.c:
15601 * src/vpn-manager/nm-vpn-manager.c:
15602 * src/vpn-manager/nm-vpn-service.c:
15603 * test/libnm_glib_test.c:
15604 * test/nminfotest.c:
15605 * test/nmtestdevices.c:
15606 Fix a bunch of 'unused variable' compiler warnings
15608 * NetworkManager.h:
15609 * gnome/applet/applet-dbus-info.c:
15610 * gnome/applet/applet-dbus-info.h:
15611 * gnome/applet/applet.c:
15612 * gnome/applet/applet.h:
15613 * src/NetworkManager.c:
15614 * src/NetworkManagerDbus.c:
15615 * src/NetworkManagerDbus.h:
15616 * src/NetworkManagerDevice.c:
15617 * src/NetworkManagerDevice.h:
15618 * src/NetworkManagerMain.h:
15619 * src/NetworkManagerWireless.c:
15620 * src/NetworkManagerWireless.h:
15621 * src/nm-dbus-nm.c:
15622 Make NetworkManager be smart about how frequently to scan
15623 based on its current state. Remove the UI for choosing when
15624 to scan. Scanning still may disabled completely by the user
15625 via the "Wireless Enabled" menu item.
15627 2005-09-09 Christopher Aillon <caillon@redhat.com>
15629 * gnome/applet/applet.c:
15630 Also overlay the vpn connecting icons onto the wired icon,
15633 * gnome/vpn-properties/nm-vpn-properties.glade:
15634 Clean up a few strings to use better grammar and proper casing.
15636 2005-09-08 Christopher Aillon <caillon@redhat.com>
15638 * gnome/applet/vpn-connection.c:
15639 * gnome/applet/vpn-connection.h:
15640 Add nmwa_vpn_connection_is_activating ()
15642 * gnome/applet/applet.c:
15643 * gnome/applet/applet.h:
15644 * gnome/applet/icons/nm-vpn-connecting*.png:
15645 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15646 the user know something's happening between clicking the VPN item and it
15647 actually being connected.
15649 2005-09-07 Christopher Aillon <caillon@redhat.com>
15651 * gnome/applet/applet-dbus-info.c: need to free attributes in the
15652 failure case as well.
15654 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
15656 * gnome/panel/eggtrayicon.[ch]:
15657 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15659 2005-09-07 Dan Williams <dcbw@redhat.com>
15661 Patch from Bill Moss <bmoss@clemson.edu>
15662 * src/applet-dbus.c
15663 - (nmwa_dbus_filter): strip whitespace from beginning
15664 and end of VPN login banner
15666 2005-09-07 Dan Williams <dcbw@redhat.com>
15668 * The great VPN Manager rewrite of 2005
15670 2005-09-07 Christopher Aillon <caillon@redhat.com>
15672 * gnome/applet/menu-items.c:
15673 * gnome/applet/nm-device.c:
15674 * gnome/applet/wireless-network.c:
15675 * gnome/libnm_glib/libnm_glib.c:
15676 * src/NetworkManagerDbusUtils.c:
15677 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15678 g_malloc0 doesn't return NULL
15680 2005-09-06 Dan Williams <dcbw@redhat.com>
15682 Patch from Tomislav Vujec <tvujec@redhat.com>
15683 * src/NetworkManagerDevice.c
15684 - (nm_get_device_by_udi): don't return a device when we
15685 actually didn't find what we were looking for
15687 2005-09-06 Christopher Aillon <caillon@redhat.com>
15689 * gnome/applet/applet-dbus-devices.c:
15690 * gnome/applet/applet-dbus-devices.h:
15691 * gnome/applet/applet-dbus.c:
15692 * src/NetworkManagerDbus.c:
15693 * src/NetworkManagerDbus.h:
15694 * src/NetworkManagerDevice.c:
15695 * src/nm-dbus-device.c:
15696 Make NM push updates about active device strength when it changes,
15697 rather than having the applet poll every 2s.
15699 2005-09-05 Christopher Aillon <caillon@redhat.com>
15701 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15702 network_device_set_strength
15704 2005-09-04 Dan Williams <dcbw@redhat.com>
15706 Patch from Bill Nottingham <notting@redhat.com>
15707 * src/NetworkManagerDevice.c
15708 - (nm_device_activation_cancel): reset the quit_activation flag
15710 2005-09-04 Dan Williams <dcbw@redhat.com>
15712 * src/nm-activation-request.c
15713 - (nm_act_request_unref): actually free the structure,
15714 which we didn't seem to be doing before
15716 2005-09-04 Dan Williams <dcbw@redhat.com>
15718 Patch from John Palmieri <johnp@redhat.com>
15719 * gnome/applet/applet-dbus-devices.c
15720 - Fix up unreffing of DBusMessage objects
15722 2005-09-04 Dan Williams <dcbw@redhat.com>
15724 Patch from John Palmieri <johnp@redhat.com>
15725 * gnome/applet/nm-device.c
15726 - (nm_device_unref): clear network_device's memory _before_ freeing it
15728 2005-09-02 Christopher Aillon <caillon@redhat.com>
15730 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15732 2005-09-02 Bill Nottingham <notting@redhat.com>
15734 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15736 2005-09-01 Dan Williams <dcbw@redhat.com>
15738 * src/NetworkManager.c
15739 - (nm_remove_device_from_list): rename to nm_remove_device
15740 - (nm_hal_device_removed): call nm_remove_device()
15742 * src/NetworkManagerDevice.c
15743 - Change the NMWirelessScanCB member 'reschedule' which
15744 wasn't used to 'force' to indicate that we need to
15745 force a scan when adding a device
15748 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15749 from the device list
15750 - (nm_dbus_nm_wake): Re-add all devices to the device list
15752 2005-09-01 Robert Love <rml@novell.com>
15754 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15755 and the check "!iface" in the error case is probably never true.
15757 2005-09-01 Dan Williams <dcbw@redhat.com>
15759 Patch from Bill Nottingham <notting@redhat.com>
15760 * src/backends/NetworkManagerRedHat.c
15761 - Add initial dialup support to Red Hat/Fedora backend
15763 2005-09-01 Dan Williams <dcbw@redhat.com>
15765 * gnome/applet/applet-dbus-devices.c
15766 - Sort both wireless networks and devices again, which got
15767 broken when removing threading
15769 2005-09-01 Christopher Aillon <caillon@redhat.com>
15771 * gnome/applet/applet.c:
15772 Only show the "Stop/Start All Wireless Devices" menuitem
15773 if we actually have wireless devices.
15775 * gnome/applet/applet-dbus-info.c:
15776 * gnome/applet/applet.c:
15777 * gnome/applet/other-network-dialog.c:
15778 * gnome/applet/vpn-password-dialog.c:
15779 Drop the gtk_dialog_run () calls in favor of connecting to
15780 "response" signals, needed now that the applet is not threaded.
15782 2005-08-31 Dan Williams <dcbw@redhat.com>
15784 Patch from Bill Moss <bmoss@clemson.edu>
15785 * src/NetworkManagerDevice.c
15786 - (nm_device_wireless_scan): fix scan timeout values
15788 2005-08-30 Dan Williams <dcbw@redhat.com>
15790 * gnome/applet/wireless-applet.glade
15791 - HIG-ify the Other Wireless Networks dialog a bit more
15792 - Fix some potential segfaults in the info dialog
15794 2005-08-30 Dan Williams <dcbw@redhat.com>
15796 * gnome/applet/applet-dbus-devices.c
15797 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15799 2005-08-30 Dan Williams <dcbw@redhat.com>
15801 * gnome/applet/applet-dbus.[ch]
15802 - Remove all the nmwa_dbus_call_method_xxxx functions since
15803 they weren't being used anyway
15805 2005-08-30 Bastien Nocera <hadess@hadess.net>
15807 * test/nmtestdevices.c: (print_usage), (main):
15808 Check the number of arguments, and fix a typo
15810 2005-08-29 Dan Williams <dcbw@redhat.com>
15812 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15813 * gnome/applet/applet.c
15814 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15816 2005-08-29 Dan Williams <dcbw@redhat.com>
15819 - Don't use threads any more. Anything that blocks
15820 (like gtk_dialog_run()) will have to get fixed up which
15821 should happen quickly. We really only had threads to make
15822 the animation smooth, and when everything got converted over
15823 to DBus Pending Calls, the need for threads kind of went away
15825 2005-08-29 Christopher Aillon <caillon@redhat.com>
15827 * gnome/applet/applet.c: Draw VPN connections as radio items
15828 since we don't yet support multiple VPNs.
15829 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15830 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15832 2005-08-29 Dan Williams <dcbw@redhat.com>
15834 Patch from j@bootlab.org
15835 - Make --without-named work
15836 - Make --with-dhcdbd work correctly
15838 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
15840 * configure.in: Added "ca" to ALL_LINGUAS.
15842 2005-08-26 Christopher Aillon <caillon@redhat.com>
15844 * Fix up VPN state handling between the applet and NetworkManager,
15845 so that the applet doesn't show a VPN as connected when one
15847 - The applet no longer has a pointer to the active VPN's
15848 name, but tracks each VPNs state individually
15849 - NM no longer has a "getActiveVPNConnection" method
15850 - NM no longer broadcasts the "VPNConnectionChange" signal
15851 - NM now broadcasts a "VPNConnectionStateChange" signal
15852 whenever the state of a VPN changes
15854 2005-08-26 Dan Williams <dcbw@redhat.com>
15856 * gnome/applet/applet-dbus-devices.c
15857 gnome/applet/applet-dbus-vpn.c
15858 - Remove calls to dbus_pending_call_ref() because we already
15859 "own" the pending call
15860 - Remove calls to dbus_pending_call_get_completed() because
15861 when we are in the callback, the pending call is completed
15864 2005-08-22 Dan Williams <dcbw@redhat.com>
15866 Patch by Bill Moss <bmoss@clemson.edu>
15867 * src/dhcp-manager/nm-dhcp-manager.c
15868 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15869 some time to send out a RELEASE if they like
15871 2005-08-22 Dan Williams <dcbw@redhat.com>
15873 Noticed by Bill Moss <bmoss@clemson.edu>
15874 * src/NetworkManagerDbus.c
15875 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15876 instead of just cancelling its activation
15878 * src/NetworkManagerDevice.c
15879 - (nm_device_deactivate): some small cleanups
15880 - (nm_device_set_user_key_for_network): deactivate the device
15881 instead of just cancelling its activation
15883 2005-08-22 Dan Williams <dcbw@redhat.com>
15885 Noticed by Bill Moss <bmoss@clemson.edu>
15886 * src/NetworkManagerDevice.c
15887 - (nm_device_wireless_scan): fix scan timeout, we were
15888 waiting way too long for scans to complete
15890 2005-08-22 Dan Williams <dcbw@redhat.com>
15892 Patch from j@bootlab.org:
15893 * src/backends/NetworkManagerDebian.c
15894 - Make the Debian backend work for static IP again
15896 2005-08-20 Christopher Aillon <caillon@redhat.com>
15898 * gnome/applet/other-network-dialog.c:
15899 The "Create New Network" and "Connect to Other Network"
15900 dialogs share alot of code, but shouldn't share a window
15901 title. Give them different ones.
15903 * gnome/applet/wireless-applet.glade:
15904 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15905 Some more minor UI tweaks.
15907 2005-08-19 Christopher Aillon <caillon@redhat.com>
15909 * gnome/applet/other-network-dialog.c:
15910 * gnome/applet/wireless-applet.glade:
15911 Also need mnemonic widgets, and underline enabled.
15913 2005-08-19 Dan Williams <dcbw@redhat.com>
15915 * vpn-daemons/vpnc/nm-vpnc-service.c
15916 - (vpnc_watch_cb): remove no-longer-relevant comment
15917 - (write_config_option): new function, helper to write
15918 config options to vpnc's stdin
15919 - (nm_vpnc_config_write): use the new helper, make the
15922 2005-08-19 Christopher Aillon <caillon@redhat.com>
15924 * gnome/applet/passphrase-dialog.c:
15925 * gnome/applet/wireless-applet.glade:
15926 Make the passphrase dialog response based, and treat
15927 responses other than OK (such as Esc, [X]) as a cancel.
15929 2005-08-18 Christopher Aillon <caillon@redhat.com>
15931 * initscript/Gentoo/NetworkManager:
15932 * initscript/RedHat/NetworkManager:
15933 * initscript/RedHat/NetworkManagerDispatcher:
15934 * initscript/SUSE/networkmanager:
15935 CVS remove these in place of .in replacements
15938 * initscript/Gentoo/NetworkManager.in:
15939 * initscript/RedHat/NetworkManager.in:
15940 * initscript/RedHat/NetworkManagerDispatcher.in:
15941 * initscript/SUSE/networkmanager.in:
15942 These scripts now are generated so they work still when
15943 NM is built using a bindir other than /usr/bin
15945 2005-08-18 Dan Williams <dcbw@redhat.com>
15947 * gnome/applet/main.c
15948 - Revert previous change for --no-session since
15949 --sm-disable does the same thing
15951 2005-08-18 Dan Williams <dcbw@redhat.com>
15953 * gnome/applet/applet-dbus-info.c
15954 - (nmi_dbus_create_error_message): new function
15955 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15956 functions. Also don't check for both device _and_ network before
15957 asking for a user's key, because we may not have gotten all our
15958 networks back from NM quite yet (due to the dbus pending calls
15959 coming in later). Fixes a hang in NM/nm-applet.
15961 * src/NetworkManagerDbus.c
15962 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15963 slightly more sane manner, even though we are still broken for
15964 certain other error conditions.
15965 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15966 to the info-daemon too
15968 * src/NetworkManagerDevice.c
15969 - Fix some debug messages to be info messages instead
15971 2005-08-18 Dan Williams <dcbw@redhat.com>
15973 * gnome/applet/main.c
15974 - Add new "--no-session" parameter that disables applet
15975 session management, ie for testing
15977 2005-08-18 Christopher Aillon <caillon@redhat.com>
15979 * gnome/applet/other-network-dialog.c:
15980 * gnome/applet/wireless-applet.glade: More mnemonics
15982 2005-08-17 Robert Love <rml@novell.com>
15984 * initscript/SUSE/networkmanager: update
15986 2005-08-17 Dan Williams <dcbw@redhat.com>
15988 * Tag NM_0_4_1_RELEASE
15990 2005-08-17 Christopher Aillon <caillon@redhat.com>
15992 * gnome/applet/applet.c: More translatable string cleanup
15995 2005-08-17 Dan Williams <dcbw@redhat.com>
15997 * gnome/applet/applet-dbus-info.c
15998 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15999 from the dbus message, which tells us to unconditionally
16000 ask the user for a new key. Otherwise, we pull the key from
16001 the keyring and return it. If we fail to get the key from the
16002 keyring, we ask the user for a new key.
16003 - (nmi_dbus_get_network_key): new function to grab the key for
16004 an essid from the keyring.
16005 - (nmi_dbus_get_network_properties): don't access the keyring here.
16006 Also, don't return any key in the dbus message.
16008 * src/NetworkManagerDbus.[ch]
16009 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16010 indicate that we unconditionally want a new key. This function
16011 is now also used to get keys from the info-daemon which are
16012 pre-stored, not just for asking the user for a new key. The
16013 "new_key" parameter indicates whether or not we wish to ask the
16014 user for a new key.
16015 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16016 info-daemon in the return message, so use NULL instead. The
16017 key will be filled in at connect time by calling
16018 nm_dbus_get_user_key_for_network()
16020 * src/NetworkManagerDevice.c
16021 - (nm_device_wireless_configure): update for "new_key" param to
16022 nm_dbus_get_user_key_for_network(). We initially set new_key
16023 to FALSE to see if we have a stored key in the info-daemon, but
16024 if the connection is unsuccessful at this stage we request a
16027 2005-08-17 Dan Williams <dcbw@redhat.com>
16029 * gnome/applet/icons/nm-no-connection.png
16030 gnome/applet/icons/nm-device-wired.png
16031 - Use Diana's new RJ45 connector icons
16033 2005-08-17 Dan Williams <dcbw@redhat.com>
16035 * src/NetworkManagerPolicy.c
16036 - (nm_policy_device_change_check): clarify switching rules if
16037 both new and old devices are valid; mainly, don't switch
16038 away from user-requested wireless connection back to a wired
16041 2005-08-17 Dan Williams <dcbw@redhat.com>
16043 * gnome/applet/Makefile.am
16044 - Relocate the applet to /usr/bin since it is no longer
16045 executed by anything, but directly by the user
16047 2005-08-17 Dan Williams <dcbw@redhat.com>
16049 Patch from Bill Moss <bmoss@clemson.edu>
16051 * gnome/applet/applet-dbus-info.[ch]
16052 - (nmi_save_network_info): save timestamp for network if it
16053 was a change requested by the user
16054 - (nmi_dbus_update_network_info): get user_requested from dbus
16055 message and pass to nmi_save_network_info()
16057 * gnome/applet/applet.c
16058 - (nmwa_update_network_timestamp): remove
16059 - (nmwa_menu_item_activate): don't set timestamp on networks
16060 here, only after a successful connect in nmi_save_network_info()
16062 * src/NetworkManagerDbus.[ch]
16063 - (nm_dbus_update_network_info): pass user_requested into the
16066 * src/NetworkManagerPolicy.c
16067 - (nm_policy_activation_finish): pass user_requested to
16068 nm_dbus_update_network_info()
16070 2005-08-16 Robert Love <rml@novell.com>
16072 * gnome/applet/applet.c: Better "Dial Up" menu item.
16074 2005-08-16 Robert Love <rml@novell.com>
16076 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16077 "Connection Information" menu item.
16079 2005-08-16 Dan Williams <dcbw@redhat.com>
16081 Patch from j@bootlab.org
16082 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16084 * configure.in: allow specifying the path to dhcdbd
16086 2005-08-16 Robert Love <rml@novell.com>
16088 Patch from j@bootlab.org
16089 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16090 src/backends/interface_parser.h: Debian dialup support.
16092 2005-08-16 Christopher Aillon <caillon@redhat.com>
16094 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16095 * gnome/applet/applet.c: Add some mnemonics for VPNC
16097 * vpn-daemons/.cvsignore: fix this up a little bit
16099 2005-08-16 Robert Love <rml@novell.com>
16101 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16104 2005-08-16 Christopher Aillon <caillon@redhat.com>
16106 * gnome/applet/applet.c: Split markup out of translatable strings
16107 and clean up logic a little bit. (fixes #309012)
16109 2005-08-15 Christopher Aillon <caillon@redhat.com>
16111 * gnome/vpn-properties/nm-vpn-properties.c:
16112 * gnome/vpn-properties/nm-vpn-ui-interface.h:
16113 * vpn-daemons/vpnc/properties/nm-vpnc.c:
16114 Makeshift fix to remove newlines from translatable strings.
16115 Note that we now return an allocated string, so callers of
16116 get_confirmation_details () must now call g_free () on the
16117 result. (fixes #309033).
16119 2005-08-12 Robert Love <rml@novell.com>
16121 * gnome/applet/applet-dbus.c: remove newlines from translatable
16122 strings--not needed here anyway. (fix b.g.o #309011)
16123 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16125 2005-08-11 Robert Love <rml@novell.com>
16127 * gnome/applet/applet.c: mark string as translatable.
16129 2005-08-11 Robert Love <rml@novell.com>
16131 * initscript/SUSE/networkmanager: update.
16133 2005-08-11 Dan Williams <dcbw@redhat.com>
16135 * src/nm-dhcp-manager.c
16136 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16137 an gateway returned from DHCP, try to use the address of the DHCP
16138 server as the gateway instead. Found by Ralf Ertzinger.
16140 2005-08-10 Robert Love <rml@novell.com>
16142 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16143 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16145 2005-08-10 Dan Williams <dcbw@redhat.com>
16147 Patch from Bill Moss <bmoss@clemson.edu>
16148 * Consolidate writes of access point information updates to the info daemon
16149 so that we only do it when the connection to the access point was
16150 successful. Also consolidates updates to GConf in the Gnome applet.
16152 * src/nm-netlink-monitor.c
16153 - Silence compile warning when calling g_object_new()
16155 2005-08-08 Dan Williams <dcbw@redhat.com>
16157 Patch from Steev <steev@steev.net>:
16158 * src/backends/NetworkManagerGentoo.c
16159 - Stub new dialup backend functions
16161 2005-08-08 Dan Williams <dcbw@redhat.com>
16163 Patch from Colin Slater:
16164 * src/backends/NetworkManagerGentoo.c
16165 - (nm_system_update_dns): Fix exit status check for restarting
16168 2005-08-05 Robert Love <rml@novell.com>
16170 * NetworkManager.h,
16171 gnome/applet/applet-dbus-devices.c,
16172 gnome/applet/applet-dbus-devices.h,
16173 gnome/applet/applet-dbus.c,
16174 gnome/applet/applet.c,
16175 gnome/applet/applet.h,
16176 src/NetworkManager.c,
16177 src/NetworkManagerMain.h,
16178 src/NetworkManagerSystem.h,
16179 src/backends/NetworkManagerRedHat.c,
16180 src/backends/NetworkManagerSuSE.c,
16181 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16183 2005-08-05 Robert Love <rml@novell.com>
16185 * gnome/applet/other-network-dialog.c: default the adhoc network to the
16186 machine's hostname to make adhoc creation idiot-proof.
16188 2005-08-04 Robert Love <rml@novell.com>
16190 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16193 2005-08-04 Dan Williams <dcbw@redhat.com>
16195 * gnome/applet/applet-dbus-info.c
16196 gnome/applet/applet-dbus-info.h
16197 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16198 to store key, key type, and auth method rather than just auth method
16199 - (nmi_dbus_update_network_info): new function
16200 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16202 * gnome/applet/passphrase-dialog.c
16203 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16204 of saving the info ourselves
16206 * gnome/libnm_glib/libnm_glib.c
16207 - Remove the stupid version check for dbus
16209 * src/NetworkManagerAP.c
16210 src/NetworkManagerAP.h
16211 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16213 * src/NetworkManagerDbus.c
16214 src/NetworkManagerDbus.h
16215 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16216 more than just the auth method
16218 * src/NetworkManagerDevice.c
16219 - Update network info at the appropriate times
16221 2005-07-29 Ray Strode <rstrode@redhat.com>
16223 * src/NetworkManager.c (nm_info_handler): don't use input as format
16224 string (Spotted by Ian Jackson).
16226 2005-07-27 Dan Williams <dcbw@redhat.com>
16230 - Random cleanups of spacing
16232 * gnome/applet/applet.h
16233 gnome/applet/other-network-dialog.c
16234 gnome/applet/passphrase-dialog.c
16235 - Conslidate usage of NMWAEncryptionKeyTypes enum
16237 Patch from Bill Moss:
16238 - Make Other Wireless Networks work again with encryption keys
16240 2005-07-26 Dan Williams <dcbw@redhat.com>
16242 Patch from Steev <steev@steev.net>:
16243 * src/backends/NetworkManagerGentoo.c
16244 src/backends/Makefile.am
16245 - Fix up Gentoo backend
16247 2005-07-26 Robert Love <rml@novell.com>
16249 * src/backends/NetworkManagerSuSE.c: misc. cleanup
16251 2005-07-25 Robert Love <rml@novell.com>
16253 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16254 in the same group as the wireless networks, since they are all
16255 mutually exclusive.
16257 2005-07-24 Ray Strode <rstrode@redhat.com>
16259 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
16260 remove unneeded NULL arg from g_object_new(). Any
16261 warnings caused by not having the extra NULL are just a
16262 result of a bug in glib 2.7.0 - 2.7.2.
16264 2005-07-22 Robert Love <rml@novell.com>
16266 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16268 2005-07-22 Robert Love <rml@novell.com>
16270 * src/nm-netlink-monitor.c: g_object_new() needs at least three
16271 parameters (gcc 4.0.2 warning fix).
16273 2005-07-18 Robert Love <rml@novell.com>
16275 Suggested by Aaron Bockover (abockover@novell.com)
16276 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16278 * gnome/applet/passphrase-dialog.c: ditto
16279 * gnome/applet/wireless-applet.glade: ditto
16281 2005-07-13 Dan Williams <dcbw@redhat.com>
16283 Patch from Ray Strode <halfline@gmail.com>
16284 * vpn-daemons/vpnc/nm-vpnc-service.c
16285 - Don't let vpnc daemonize, fixes some races with PID file reading
16287 2005-07-13 Dan Williams <dcbw@redhat.com>
16289 Patch from Ray Strode <halfline@gmail.com>
16290 * Random cleanups for strict CFLAGS
16292 2005-07-07 Dan Williams <dcbw@redhat.com>
16294 Patch from Derek Atkins <warlord@MIT.EDU>
16295 * src/nm-dbus-net.c:
16296 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16298 2005-07-07 Dan Williams <dcbw@redhat.com>
16300 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16301 * src/backends/NetworkManagerGentoo.c
16302 - Gentoo backend Static IP nameserver fixes
16303 - General Gentoo backend goodness
16305 2005-07-07 Dan Williams <dcbw@redhat.com>
16307 Patch from Bastien Nocera:
16308 * gnome/applet/applet.c
16309 - Fix up error reporting when icons or glade files are missing
16311 2005-07-07 Robert Love <rml@novell.com>
16313 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16314 are not any VPN connections above it.
16316 2005-07-07 Robert Love <rml@novell.com>
16318 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16320 2005-07-05 Robert Love <rml@novell.com>
16322 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16325 2005-07-05 Robert Love <rml@novell.com>
16327 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16328 on wired or unencrypted wireless.
16330 2005-07-01 Robert Love <rml@novell.com>
16332 * src/NetworkManagerSystem.c: Print the error via strerror().
16334 2005-06-30 Robert Love <rml@novell.com>
16336 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16337 then exit if the glade file is not found. currently the application
16340 2005-06-30 Robert Love <rml@novell.com>
16342 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16343 explicitly up all interfaces on wake from sleep.
16345 2005-06-30 Robert Love <rml@novell.com>
16347 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16348 with information about the currently active connection.
16349 * gnome/applet/applet.h: (ditto)
16350 * gnome/applet/wireless-applet.glade: (ditto), new file
16352 2005-06-30 Robert Love <rml@novell.com>
16354 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16355 * src/nm-dbus-nm.c: print when we sleep and wake up.
16356 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16357 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16358 in /sbin unless D-BUS is, folks).
16359 * README: update to reflect nm-applet replacing NetworkManagerInfo.
16361 2005-06-27 Robert Love <rml@novell.com>
16363 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16366 2005-06-27 Robert Love <rml@novell.com>
16368 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16371 2005-06-26 Robert Love <rml@novell.com>
16373 * src/NetworkManagerDevice.c: be specific about which device in
16376 2005-06-23 Adam Weinberger <adamw@gnome.org>
16378 * src/nm-netlink-monitor.c: correct spelling error.
16380 2005-06-23 Robert Love <rml@novell.com>
16382 * gnome/applet/applet-dbus-info.c: gnome keyring support!
16383 * gnome/applet/passphrase-dialog.c: more of that keyring!
16385 2005-06-23 Robert Love <rml@novell.com>
16387 * configure.in: remove extraneous GNOMEKEYRING directives.
16388 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16389 * gnome/applet/applet.c: nmwa_icons_init: make style local.
16390 * gnome/applet/passphrase-dialog.c: whitespace.
16392 2005-06-23 Robert Love <rml@novell.com>
16394 * src/NetworkManagerDevice.c: division in assignment was flipped.
16396 2005-06-23 David Zeuthen <david@fubar.dk>
16398 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16399 signal to the child to indicate that we got what we wanted when we
16400 see two new-lines right after each other.
16401 (nmwa_vpn_request_password): Pass a structure with several members
16402 instead of just the passwords
16404 2005-06-23 Dan Williams <dcbw@redhat.com>
16406 * src/NetworkManager.c
16407 src/NetworkManagerMain.h
16408 - (nm_get_hal_ctx): new function, move Hal initialization code here
16409 - (nm_hal_init): new function, init libhal context then add devices
16410 - (nm_hal_deinit): new function, clean up libhal context
16411 - (nm_data_free): Move Hal cleanup here
16412 - (main): check whether Hal is running, and if so, get a list of
16413 network devices from it
16415 * src/NetworkManagerDbus.c
16416 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16417 and when it appears, get a list of network devices from it. If
16418 Hal goes away, clean up the libhal context
16420 2005-06-22 Robert Love <rml@novell.com>
16422 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16423 permissions of scripts before executing.
16425 2005-06-21 Robert Love <rml@novell.com>
16427 * initscript/SUSE/networkmanager: update.
16428 * src/backends/NetworkManagerSuSE.c: cleanup.
16430 2005-06-21 Robert Love <rml@novell.com>
16432 * gnome/applet/applet.c: use menu mnemonics.
16433 * gnome/applet/menu-items.c: (ditto)
16435 2005-06-21 Robert Love <rml@novell.com>
16437 * applet/applet-dbus-devices.c: mark non-static functions static.
16438 * applet/applet-dbus-vpn.c: (ditto)
16439 * applet/applet.c: (ditto)
16440 * applet/nm-device.h: (ditto)
16441 * applet/other-network-dialog.c: (ditto)
16442 * applet/passphrase-dialog.c: (ditto)
16443 * NetworkManager.c: (ditto)
16444 * NetworkManagerDbus.c: (ditto)
16445 * NetworkManagerDevice.c: (ditto)
16446 * NetworkManagerPolicy.c: (ditto)
16447 * NetworkManagerUtils.c: (ditto)
16448 * NetworkManagerWireless.c: (ditto)
16449 * NetworkManagerWireless.h: (ditto)
16450 * nm-netlink-monitor.c: (ditto)
16451 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16452 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16453 * autoip.c: include autoip.h.
16454 * autoip.h: new file. define get_autoip().
16455 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16456 * NetworkManagerDbus.h: remove duplicate definitions.
16458 2005-06-20 Robert Love <rml@novell.com>
16460 * Makefile.am: Add missing intltool-foo.in generated files to
16461 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16462 with the start of stuff to cleanup on 'distclea'.
16463 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16464 stuff right and 'distcheck' works.
16465 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16466 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16467 Makefile.am for each. And systray/Makefile needs to be redone.
16469 2005-06-19 Dan Williams <dcbw@redhat.com>
16471 * src/NetworkManagerDevice.c
16472 - (nm_device_wireless_process_scan_results): scan every 20s when
16473 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16475 2005-06-19 Dan Williams <dcbw@redhat.com>
16477 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16479 2005-06-18 Ray Strode <rstrode@redhat.com>
16481 * src/nm-netlink-monitor.c
16482 (nm_netlink_monitor_event_handler): check for the presence
16483 of either error condition not both.
16485 (nm_netlink_monitor_error_handler): emit error signal if
16488 (nm_netlink_monitor_event_handler),
16489 (nm_netlink_monitor_error_handler),
16490 (nm_netlink_monitor_disconnect_handler): if an
16491 assertion fails disconnect the event handler to prevent
16494 * src/nm-netlink-monitor.h: add new error condition
16495 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16497 2005-06-18 Ray Strode <rstrode@redhat.com>
16499 * src/nm-netlink-monitor.c
16500 (nm_netlink_monitor_event_handler): remove bogus < 0
16501 check on unsigned value and return early if the kernel
16502 didn't send any bytes.
16504 2005-06-17 Robert Love <rml@novell.com>
16506 * initscript/SUSE/networkmanager: Change the Provides and default
16509 2005-06-16 Dan Williams <dcbw@redhat.com>
16511 Patch from Robert Love:
16512 * gnome/applet/applet.c
16513 - Beautify some applet menu item names
16515 2005-06-17 David Zeuthen <davidz@redhat.com>
16517 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16518 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16519 Also add new methods can_export, import_file and export.
16521 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16524 * gnome/vpn-properties/nm-vpn-properties.c:
16525 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16526 nm-vpn-ui-interface.h.
16527 (update_edit_del_sensitivity): Also update "Export" sensitivity
16528 (add_vpn_connection): Also add new SVC_NAME column
16529 (import_settings): New function
16530 (retrieve_data_from_selected_connection): New function
16531 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16533 (export_cb): New function
16534 (init_app): Also setup the "export" widget
16535 (main): Support the --import-service and --import-file commandline
16538 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16541 2005-06-16 Dan Williams <dcbw@redhat.com>
16543 Patch from Robert Love:
16544 * gnome/applet/menu-items.c
16545 - (network_menu_item_new): pass -1 as wireless network
16546 menu items height size request rather than ascent / 2
16548 2005-06-16 Dan Williams <dcbw@redhat.com>
16550 * Clean up wording in Wireless Scan Methods menu items and constants
16552 2005-06-16 Robert Love <rml@novell.com>
16555 - remove gtkcell* files
16557 2005-06-15 Dan Williams <dcbw@redhat.com>
16559 Patch from Robert Love: make the applet stetic
16561 * gnome/applet/Makefile.am
16562 - Don't compile the gtkcellview and gtkcellrendererprogress files
16564 * gnome/applet/gtkcellview.h
16565 gnome/applet/gtkcellview.c
16566 gnome/applet/gtkcellrendererprogress.h
16567 gnome/applet/gtkcellrendererprogress.c
16570 * gnome/applet/menu-items.c
16571 - Progress bars are 5:1 size ratio
16572 - Use GTK progress bars rather than internal ones
16574 2005-06-15 Dan Williams <dcbw@redhat.com>
16576 Patch from Robert Love:
16577 * initscript/SUSE/networkmanager
16580 2005-06-15 Dan Williams <dcbw@redhat.com>
16582 * src/backends/NetworkManagerSuSE.c
16583 src/backends/NetworkManagerRedHat.c
16584 src/backends/NetworkManagerDebian.c
16585 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16587 2005-06-15 Dan Williams <dcbw@redhat.com>
16589 * src/backends/NetworkManagerDebian.c
16590 - Add nm_system_device_get_use_dhcp() to debian backend
16592 Patch from Kay Sievers:
16593 * src/backends/NetworkManagerSuSE.c
16594 - Update debian backend for static IP nameservers
16596 * src/NetworkManagerDevice.c
16597 - Actually set the device to use static IP or DHCP rather
16600 2005-06-15 Dan Williams <dcbw@redhat.com>
16602 Patch from Thom May:
16603 * src/backends/NetworkManagerDebian.c
16604 - Update debian backend for static IP nameservers
16606 2005-06-15 Dan Williams <dcbw@redhat.com>
16608 Patches from Robert Love:
16609 * gnome/applet/wireless-applet.glade
16610 - Tighten up wording
16612 * src/NetworkManagerDevice.c
16613 - Remove misplaced ';'
16616 initscript/Makefile.am
16617 initscript/SUSE/Makefile.am
16618 initscript/SUSE/networkmanager
16619 - Add SUSE initscript
16621 2005-06-12 David Zeuthen <davidz@redhat.com>
16623 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16625 * gnome/vpn-properties/nm-vpn-properties.glade: New file
16627 * gnome/vpn-properties/nm-vpn-properties.c: New file
16629 * gnome/vpn-properties/Makefile.am: New file
16631 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16634 * src/vpn-manager/nm-vpn-manager.c
16635 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16636 instead of just a single one
16638 * src/vpn-manager/nm-dbus-vpn.c:
16639 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16641 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16643 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
16644 Change the interface here to give a list of passwords. Also, don't
16645 require username, but do require service
16647 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16648 the binary for the auth-dialog and use that instead of putting up a
16649 dialog asking for a single password
16651 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16652 however do remember the service
16654 * gnome/applet/main.c (main): Setup i18n
16656 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16657 connection to '%s'" to the tooltip if we are connected using VPN
16658 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16659 key to determine whether we the auth-dialog needs to
16660 reprompt. Also cope with the fact that the auth-dialog now returns
16661 an array of passwords.
16662 (nmwa_menu_configure_vpn_item_activate): New handler for
16663 "Configure VPN..." menu item
16664 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16665 (is_vpn_available): New function to determine if we got any
16666 NM-compatible VPN software installed
16667 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16668 items only if we have NM-compatible VPN software installed
16669 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16670 logic for detecting when VPN connections are removed
16672 * gnome/applet/applet-dbus.h: Removed the prototypes for
16673 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16674 since these are defined elsewhere
16676 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16677 function used to keep track of whether the last attempt succeded
16678 (nmwa_dbus_filter): Update last_attempt according to whether the
16679 VPN connection could be established or not
16681 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
16682 Change prototype to take an array of passwords, not just a single
16685 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16686 update service, not user
16687 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16688 dbus_active_vpn_name is not NULL before using it
16689 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16690 string array instead of assuming a single password
16692 * gnome/applet/applet-dbus-info.c:
16693 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16694 user name; don't read from gconf
16696 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
16699 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16701 * configure.in: Add checks for gmodule-2.0.
16702 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16703 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16704 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
16707 * vpn-daemons/Makefile.am: Removed
16709 * vpn-daemons/README: New file to describe extensions points for VPN
16712 2005-06-10 Dan Williams <dcbw@redhat.com>
16714 * src/backends/NetworkManagerRedHat.c
16715 - (get_current_profile_name): new function, grab current network profile name from
16716 /etc/sysconfig/network
16717 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16718 update an IP4 Config structure's settings from it
16719 - (nm_system_device_get_system_config): if we're using static IP on this device,
16720 get DNS info from current network profile
16722 2005-06-09 Dan Williams <dcbw@redhat.com>
16724 Patch from Robert Love:
16725 * src/NetworkManagerDevice.c
16726 src/NetworkManagerUtils.c
16727 - 64-bit build fixes
16729 2005-06-09 Dan Williams <dcbw@redhat.com>
16731 Patch from Kay Sievers and Robert Love:
16733 src/backends/Makefile.am
16734 src/backends/NetworkManagerSuSE.c
16737 2005-06-09 Dan Williams <dcbw@redhat.com>
16740 - Add NMWirelessScanMethod enum for scan methods
16742 * gnome/applet/applet-dbus-devices.c
16743 - (nmwa_dbus_update_scanning_enabled_cb): remove
16744 - (nmwa_dbus_update_scanning_enabled): remove
16745 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16746 since it got removed
16747 - (nmwa_dbus_enable_scanning): remove
16749 * gnome/applet/applet-dbus-info.c
16750 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16751 update the wireless scanning method from NMI
16752 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16753 method value to NetworkManager
16754 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16756 * gnome/applet/applet-dbus-info.h
16757 - Add prototype for nmi_dbus_signal_update_scan_method
16759 * gnome/applet/applet.c
16760 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16761 Wireless Scanning menu based on current wireless scan method
16762 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16763 signal for Wireless Scanning menu items, tell NetworkManager the new method
16764 and update our menu items to make sure the right one is checked
16765 - (nmwa_set_scanning_enabled_cb): remove
16766 - (nmwa_context_menu_update): remove references to pause_scanning_item
16767 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16769 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16771 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16772 so we get notified of preference values too
16773 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16775 * gnome/applet/applet.h
16776 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16777 - Add wireless scan method member to applet data
16778 - Remove pause_scanning_item, add Wireless Scanning submenu
16780 * src/NetworkManager.c
16781 - (nm_data_new): default to NM_SCAN_METHOD_ON
16782 - (main): grab scanning method from NMI if we can
16784 * src/NetworkManagerDbus.c
16785 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16786 nm_dbus_update_wireless_scan_method()
16787 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16789 - (nm_dbus_nmi_is_running): redundant function, removed
16790 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16791 when NMI comes back
16793 * src/NetworkManagerDevice.c
16794 - (nm_device_is_activated): return TRUE if the device is activated
16795 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16796 and we are activated
16799 - (nm_dbus_nm_set_scanning_enabled): removed
16800 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16801 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16803 2005-06-09 Dan Williams <dcbw@redhat.com>
16806 src/vpn-manager/nm-vpn-service.c
16807 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16809 2005-05-27 Dan Williams <dcbw@redhat.com>
16811 * vpn-daemons/vpnc/nm-vpnc-service.c
16812 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16813 Should fix the bug where the VPN connection terminates the first time.
16815 2005-05-20 Dan Williams <dcbw@redhat.com>
16818 - Differentiate VPN config signals between bad VPN config options
16821 * gnome/applet/applet-dbus-info.h
16822 - Add prototypes for wireless network and vpn connection update functions
16824 * gnome/applet/applet-dbus.c
16825 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16827 * gnome/applet/applet.c
16828 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16830 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16831 propogation to NetworkManager
16832 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16833 notify propogation to NetworkManager
16835 * src/NetworkManagerDbus.c
16836 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16837 are updating so a network can be removed from it if necessary
16839 * src/vpn-manager/nm-vpn-manager.c
16840 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16842 * vpn-daemons/vpnc/nm-vpnc-service.c
16843 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16844 - (nm_vpnc_dbus_signal_launch_failed): remove
16845 - (nm_vpnc_dbus_signal_connect_failed): remove
16846 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16847 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16848 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16849 for new generalized error signal function, remove config file stuff
16850 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16851 we can write configuration options to it
16852 - (nm_vpnc_config_file_generate): removed
16853 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16854 - (nm_vpnc_config_options_validate): validate the config options we receive
16855 from NetworkManager to block potential exploits
16856 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16858 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16861 2005-05-16 Dan Williams <dcbw@redhat.com>
16863 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16864 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16867 2005-05-16 Dan Williams <dcbw@redhat.com>
16869 Patch from Tomislav Vujec <tvujec@redhat.com>
16870 * gnome/applet/applet-dbus-info.c
16871 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16872 GConf and pass them to NetworkManager. New key is 'routes' under
16873 the VPN connection, and should be a string list
16875 * src/NetworkManagerSystem.c
16876 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16877 set them on the device when we set the rest of the VPN config. Ensure
16878 they are in the correct format since they are passed directly to the
16881 * src/backends/NetworkManagerRedHat.c
16882 src/backends/NetworkManagerDebian.c
16883 - (nm_system_device_add_route_via_device_with_iface): new function
16885 * src/vpn-manager/nm-dbus-vpn.c
16886 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16888 * src/vpn-manager/nm-vpn-manager.c
16889 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16890 them into the IP4 config functions
16892 2005-05-15 Dan Williams <dcbw@redhat.com>
16894 From Filip Miletic:
16898 - Serbian translation added
16900 2005-05-15 Dan Williams <dcbw@redhat.com>
16902 * dispatcher-daemon/NetworkManagerDispatcher.c
16903 - (main): sync arguments with NetworkManager and the applet, now use
16904 "--no-daemon" rather than "daemon=no"
16905 - (nmd_print_usage): Fix script path in usage message
16907 2005-05-15 Dan Williams <dcbw@redhat.com>
16909 * src/NetworkManagerDevice.[ch]
16910 src/NetworkManagerPolicy.c
16911 src/NetworkManager.c
16913 - Remove the "just_added" parameter from nm_device_deactivate(). We no
16914 longer send the DeviceNoLongerActive signal unconditionally, but only
16915 when the device is actually active.
16917 * dispatcher-daemon/NetworkManagerDispatcher.c
16918 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16919 and simplify the logic
16920 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16921 we free it later on
16923 * initscript/RedHat/Makefile.am
16924 initscript/RedHat/NetworkManagerDispatcher
16925 - Add initscript for NetworkManagerDispatcher
16928 Patch from Bill Moss:
16929 * dispatcher-daemon/NetworkManagerDispatcher.c
16930 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16932 * src/NetworkManagerDbus.c
16933 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
16934 and DeviceNowActive gets signaled, then the device has a new IP address
16935 anyway. There's no need for a separate signal.
16937 * src/NetworkManagerDevice.c
16938 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16940 * src/NetworkManagerPolicy.c
16941 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16942 activates successfully. This kind of went missing when I reworked the
16945 2005-05-15 Dan Williams <dcbw@redhat.com>
16948 - Check for dhcdbd and error if its not found
16950 * src/dhcp-manager/Makefile.am
16951 src/dhcp-manager/nm-dhcp-manager.c
16952 - Use path to dhcdbd that configure found
16954 2005-05-14 Dan Williams <dcbw@redhat.com>
16956 * gnome/applet/nm-device.c
16957 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16958 sort wireless networks alphabetically
16960 * gnome/applet/applet-dbus-devices.c
16961 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16962 before copying them over to the GUI
16964 2005-05-14 Dan Williams <dcbw@redhat.com>
16966 * src/NetworkManager.c
16967 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16968 fixes a deadlock on shutdown with a VPN connection active. This function locks
16969 the device list, as does nm_get_active_device() which is called from
16970 nm_vpn_manager_deactivate_vpn_connection().
16972 2005-05-14 Dan Williams <dcbw@redhat.com>
16975 - Add signals for VPN Launch and Connect failures
16977 * gnome/applet/applet-dbus.c
16978 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16980 * gnome/applet/applet.c
16981 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16982 function to handle all VPN failure messages
16983 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
16984 function to hanlde all VPN failure messages
16985 - (show_warning_dialog): work around focus-stealing prevention
16987 * gnome/applet/other-network-dialog.c
16988 gnome/applet/passphrase-dialog.c
16989 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16990 problem where it never enabled for ASCII Key and Hex Key types
16992 * gnome/applet/wireless-applet.glade
16993 - Add window title to Other Wireless Network Dialog
16995 * src/vpn-manager/nm-dbus-vpn.c
16996 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16997 function to handle all VPN failure messages
16999 * src/vpn-manager/nm-vpn-manager.c
17000 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17002 * vpn-daemons/vpnc/nm-vpnc-service.c
17003 - (nm_vpnc_dbus_signal_launch_failed): new function
17004 - (nm_vpnc_dbus_signal_connect_failed): new function
17005 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17006 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17007 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17008 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17010 2005-05-11 Dan Williams <dcbw@redhat.com>
17012 * vpn-daemons/vpnc/nm-vpnc-service.c
17013 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17014 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17015 file exists before trying to write it out.
17017 2005-05-10 Dan Williams <dcbw@redhat.com>
17019 * gnome/applet/applet-dbus-device.c
17020 - (nmwa_dbus_set_device): remove check for valid key and key type, which
17021 prevented just entering ESSID and leaving key and key type up to
17022 NetworkManager (which should have them already cached)
17024 2005-05-08 Dan Williams <dcbw@redhat.com>
17026 * src/NetworkManagerPolicy.c
17027 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17028 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17029 fix a situation where NM is told to terminate and the device stops activation,
17030 but the main thread isn't aware of that because it would never have run
17031 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17034 * src/NetworkManagerDevice.c
17035 - (nm_device_probe_wired_link_state): cosmetic fixes
17036 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17037 we've failed to activate or been canceled.
17038 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17040 2005-05-08 Dan Williams <dcbw@redhat.com>
17042 * src/NetworkManagerWireless.c
17043 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17044 value of WEXT quality structures, and add a debug message when we cannot
17045 determine any quality % at all
17047 2005-05-08 Dan Williams <dcbw@redhat.com>
17049 * src/dhcp-manager/nm-dhcp-manager.c
17050 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17053 2005-05-06 Dan Williams <dcbw@redhat.com>
17055 * gnome/applet/applet-dbus-device.c
17056 gnome/applet/applet-dbus-info.c
17057 gnome/applet/applet-dbus.c
17058 gnome/applet/applet.c
17059 gnome/applet/applet.h
17060 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17062 * gnome/applet/applet-dbus.c
17063 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17064 so we notice when wired device's carriers come back on. Should
17065 fix issue with wired devices being grayed out even if the cable
17066 is in, for devices that support carrier detection.
17068 * gnome/applet/applet.c
17069 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17070 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17072 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17073 Fix situation where applet wouldn't respond to menu selections
17075 * src/NetworkManager.c
17076 src/NetworkManagerDevice.c
17077 src/NetworkManagerDbus.c
17078 src/NetworkManagerDbus.h
17079 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17081 * src/NetworkManagerDbus.c
17082 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17083 Remove, no longer used or relevant
17084 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17085 - (nm_dbus_schedule_device_status_change_signal): add
17087 * src/NetworkManagerDevice.c
17088 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17089 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17090 ie don't deactivate them unless explicitly told to by the user. Also send
17091 CARRIER_OFF / CARRIER_ON signals when link changes
17092 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17093 Don't print error message when device is no longer around
17094 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17095 not just during activation
17097 * src/NetworkManagerPolicy.c
17098 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17099 auto-device-selection.
17100 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17102 * src/NetworkManagerSystem.c
17103 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17104 is no longer present (Bill Moss)
17106 * src/backends/shvar.c
17107 - (svOpenFile): Open read-only to make SELinux happy
17109 * src/backends/NetworkManagerRedHat.c
17110 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17111 the path to the ifcfg-* files
17113 2005-05-05 Dan Williams <dcbw@redhat.com>
17115 * Expose activation stages to NetworkManager clients, like the applet
17116 * Add Diana's progress icons to the applet, cued off NM activation stage
17117 * Use more descriptive tooltips, cued off NM activation stage
17119 2005-05-05 Ray Strode <rstrode@redhat.com>
17121 * src/nm-netlink-monitor.c:
17122 - Use clear_event_source instead of g_nullify_pointer() again.
17124 2005-05-05 Dan Williams <dcbw@redhat.com>
17126 * gnome/applet/main.c
17127 - Fix session management so the applet is actually managed now
17129 * gnome/applet/passphrase-dialog.c
17130 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17132 2005-05-05 Dan Williams <dcbw@redhat.com>
17134 Patch from Bill Moss:
17135 * gnome/libnm_glib/libnm_glib.c
17136 - Fix for dbus-0.33
17138 2005-05-05 Dan Williams <dcbw@redhat.com>
17140 Suggestion from Bill Moss:
17141 * src/NetworkManagerSystem.c
17142 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17145 * src/NetworkManager.c
17146 - (nm_data_free): move destruction of the various managers after
17147 release of device list, because deactivating and freeing a device
17148 requires at least the named manager
17149 - (nm_poll_and_update_wireless_link_state):
17150 (nm_device_link_activated):
17151 (nm_device_link_deactivated):
17152 don't grab the device list lock when actually updating device
17153 link status or strength, since nm_device_set_link_active()
17154 needs to call nm_get_active_device(), which also locks the device list.
17156 * src/NetworkManagerDevice.c
17157 - (nm_device_set_link_active): if a device's link switches from off->on,
17158 and it's wired, and the active device is wireless (or there is no
17159 active device), activate the new device whose link just came on
17160 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17161 my only calling the link to the current ap "failed" when more than 2
17162 consecutive link checks have failed
17164 2005-05-04 Dan Williams <dcbw@redhat.com>
17166 * src/NetworkManagerDevice.c
17167 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17168 but let link_to_specific_ap() do the locking where it needs
17170 Patch from Bill Moss:
17171 * src/NetworkManagerSystem.c
17172 - Set MTU of VPN devices to 1412
17174 2005-05-04 Dan Williams <dcbw@redhat.com>
17176 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17178 * Fix some holes in device activation and retaining the currently connected
17181 2005-05-03 Dan Williams <dcbw@redhat.com>
17183 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
17184 This means that NetworkManager shouldn't have DHCP issues anymore. It also
17185 means you need dhcdbd, which you can get here (get the latest one):
17187 http://people.redhat.com/jvdias/dhcdbd/
17189 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17190 interface as dhcdbd.
17192 * Rewrite device activation to facilitate the new DHCP infrastructure and
17193 future improvements. Its now "activation request" based, ie there is a single
17194 activation request composed of the device, access point, and other info which
17195 follows the entire activation process. There are 5 stages of the activation
17196 process which correspond to:
17198 1) Device preparation
17199 2) Device configuration (bring it up, set ESSID/Key/etc)
17200 3) IP Config Start (fire off DHCP if we're using it)
17201 4) IP Config Get (grab config from DHCP or static config files)
17202 5) IP Config Commit (set device's IP address, DNS, etc)
17204 Note that there is no longer a "scanning" step, since the access point must
17205 be known _before_ activation starts. If the access point drops out or does
17206 not exist for some reason, the entire activation process fails and must be
17207 restarted for a different access point or device.
17209 Patch from Bill Moss:
17210 * gnome/applet/applet.c
17211 - Fix type of vpn_failure dialog -> vpn_banner dialog
17213 2005-04-27 Dan Williams <dcbw@redhat.com>
17215 * gnome/applet/applet-dbus-vpn.c
17216 gnome/applet/applet.c
17217 gnome/applet/applet.h
17218 - Fix up active VPN handling so that we reliably know when a VPN
17219 connection has been deactivated
17221 * src/vpn-manager/nm-vpn-manager.c
17222 - Remove duplicate VPNConnectionChange signal
17224 2005-04-27 Dan Williams <dcbw@redhat.com>
17226 Patch from Peter Jones:
17227 * Remove usage of varargs to fix crashes on PPC (RH #154336)
17229 Patch from Bill Moss:
17230 * src/NetworkManagerSystem.c
17231 - Fix checking of return value from ioctl()
17233 2005-04-27 Dan Williams <dcbw@redhat.com>
17235 * Fix choosing of wireless networks and "Other wireless network..." from the applet
17236 * Warn and exit if icons cannot be found
17238 2005-04-27 Dan Williams <dcbw@redhat.com>
17240 Patch from Tom Parker:
17241 * Update debian backend
17243 2005-04-27 Dan Williams <dcbw@redhat.com>
17245 * Merge the applet and the info-daemon, and move the converged
17246 applet under gnome/applet
17247 * Move libnm_glib to gnome/libnm_glib
17248 * Convert most dbus calls between the applet, info-daemon, and NM
17250 * Fix a few things valgrind noticed
17251 * Make NM broadcast state more reliably
17253 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
17255 * configure.in: Added ne in ALL_LINGUAS
17257 2005-04-15 Dan Williams <dcbw@redhat.com>
17259 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17260 code for dbus 0.2x versions
17262 2005-04-15 Dan Williams <dcbw@redhat.com>
17264 Patches from Tom Parker:
17266 - Join with worker thread rather than polling for its exit
17268 Patch from Bill Moss:
17269 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17271 2005-04-15 Dan Williams <dcbw@redhat.com>
17273 - Fixes to pass 'make distcheck'
17275 2005-04-15 Dan Williams <dcbw@redhat.com>
17277 Initial VPN Support
17279 - reworks device IP configuration, backend files have changed and will need
17280 to be updated for all distributions. I will try to do what I can for
17281 them, but I cannot test them.
17283 - Move named directory to src/named-manager
17284 - Make backends directory self-contained
17286 2005-04-06 Dan Williams <dcbw@redhat.com>
17288 Add debug code for socket/file descriptor leaks. We register every socket
17289 that we open (except for stuff in dhcpcd/) for tracking, and print out the
17290 list of sockets that we forgot to close on shutdown. This also consolidates
17291 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17293 2005-04-06 Dan Williams <dcbw@redhat.com>
17296 - (dhcp_interface_free): fix a file descriptor leak that may have
17297 caused network drivers to not unload due to refcounts > 0
17299 2005-04-04 Dan Williams <dcbw@redhat.com>
17301 * panel-applet/NMWirelessAppletDbus.c
17302 - (nmwa_dbus_call_nm_method): remove some commented code
17304 * src/NetworkManagerAPList.[ch]
17305 - (nm_ap_list_remove_ap_by_essid): new function
17307 * src/NetworkManagerDevice.c
17308 - (nm_device_wireless_force_use): remove access points from the ignore list
17309 when the user forces them
17311 * src/nm-dbus-device.c
17312 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17314 2005-04-04 Dan Williams <dcbw@redhat.com>
17316 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17318 2005-04-04 Dan Williams <dcbw@redhat.com>
17320 * src/NetworkManagerDevice.c:
17321 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17322 of only erroring after the second consecutive scan times out. Also
17323 don't exit when the card requires more time than we can give it, just
17324 log the event and continue.
17326 2005-04-01 Steve Murphy <murf@e-tools.com>
17328 * configure.in: Added "rw" to ALL_LINGUAS.
17330 2005-04-01 Dan Williams <dcbw@redhat.com>
17332 Perform scans during device activation, if needed. Both activation
17333 and scans run in the same GMainContext. Therefore, if an access point
17334 is not found by the time the device starts activation, it will not
17335 be available until after activation. We now try to scan during
17336 activation (in nm_wa_test) every 15s so that all available access
17337 points are more likely to be found and available for the activation
17340 Also change nm_wireless_link_state_handle() to only update the "best"
17341 AP if we are not forcing a device and if we are not about to change
17342 state. This attempts to work around a race when forcing a device,
17343 where the forced AP would get cleared out too soon by the link state
17344 checking timeout in the main thread, and the activation attempt with
17345 that AP would fail.
17347 2005-04-01 Dan Williams <dcbw@redhat.com>
17350 - Update with new translatables
17352 2005-03-31 Dan Williams <dcbw@redhat.com>
17354 * panel-applet/NMWirelessAppletDbus.c
17355 - Fix device names now that hal has changed device parenting for
17358 2005-03-31 Dan Williams <dcbw@redhat.com>
17360 Tighten up handling of wireless devices that don't support wireless
17361 scanning (ie, Orinoco). Due to restructuring of code, these devices
17362 hadn't been doing pseudo-scanning for a while either and would just
17363 spin waiting for an access point. They are now manual devices where
17364 the user must choose the access point from the menu every time. All
17365 "allowed" access points are listed in the applet's menu regardless
17366 of whether or not they can be seen by the card, since it can't scan
17369 * src/NetworkManager.c
17370 - (nm_wireless_link_state_handle): new function, but only update
17371 the "best" ap for non-scanning devices when its not activating,
17372 and when no device is being forced on the card
17373 - (nm_link_state_monitor): split wireless link state handling out
17374 into separate function
17376 * src/NetworkManagerDevice.c
17377 - (nm_device_copy_allowed_to_dev_list): new function
17378 - (nm_device_new): populate non-scanning cards' AP lists with
17379 access points from the "allowed" list
17380 - (nm_device_new): don't start a scanning timeout for devices that
17382 - (nm_device_activation_schedule_finish): new parameter, should be
17383 the AP that failed to be connected to, pass it on to the
17384 activation finish function in NetworkManagerPolicy.c
17385 - (nm_device_activate_wireless): don't ever try to get a new AP
17386 for non-scanning devices, just fail. The user must choose
17387 a new access point manually.
17388 - (nm_device_activate): grab the AP that failed connection and
17390 - (nm_device_update_best_ap): Clear the best AP if we don't have
17391 a link to it, user must manually choose a new one
17392 - (nm_device_do_pseudo_scan): remove function
17393 - (nm_device_wireless_process_scan_results): remove bits for non-
17394 scanning cards since they never get here
17395 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17396 and fake the scan list for test devices a bit earlier
17398 * src/NetworkManagerPolicy.c
17399 - (nm_policy_activation_finish): use the failed_ap that we get
17400 passed rather than getting the best_ap from the card, which
17401 may have changed since we were scheduled
17402 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17403 update their scan list directly from the allowed list when
17404 we get updates to the allowed list from NetworkManagerInfo
17406 * src/NetworkManagerPolicy.h
17407 - New member for failed access point in NMActivationResult
17409 -------------------------------------
17411 Driver Notification patch: notifies the user when their driver
17412 sucks. Gives them the option to ignore further insertions
17413 of the card that has the sucky driver.
17416 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17417 enum and replace it with NO_CARRIER_DETECT and
17420 * panel-applet/NMWirelessApplet.[ch]
17421 - Merge essid.glade -> wireless-applet.glade
17422 - Implement the "Your driver sucks" notification dialog
17424 * panel-applet/NMWirelessAppletDbus.c
17425 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17426 - Grab hardware address for each device from NM too
17427 - Check whether the driver for each device sucks or not whenever
17428 a new device is noticed
17430 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17431 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17433 * src/NetworkManager.c
17434 - Fix a double-unref on device removal
17436 * src/NetworkManagerUtils.c
17437 - Set appropriate driver support level on a device that doesn't
17438 support scanning or carrier detection
17440 * src/nm-dbus-device.c
17441 - New "getHWAddress" dbus method on devices
17442 - getSupportsCarrierDetect -> getDriverSupportLevel
17444 2005-03-31 Dan Williams <dcbw@redhat.com>
17446 * src/NetworkManagerDevice.c
17447 - (nm_device_wireless_scan): Fix leak of scan results in some
17450 2005-03-29 Dan Williams <dcbw@redhat.com>
17452 * src/NetworkManager.c
17453 - (nm_poll_and_update_wireless_link_state): make code less indented
17455 Patch from Bill Moss:
17456 * src/NetworkManager.c
17457 - (nm_device_update_link_state): Update signal strength on wireless
17458 devices every time we update link state too.
17460 2005-03-29 Dan Williams <dcbw@redhat.com>
17462 * src/NetworkManagerDevice.c
17463 - (nm_device_set_essid): Work around Orinoco cards which need
17464 extra time after setting the ESSID
17466 2005-03-29 Dan Williams <dcbw@redhat.com>
17468 * src/NetworkManagerDevice.c
17469 - Merge one more bit of Peter Jones' completion patch
17471 2005-03-29 Dan Williams <dcbw@redhat.com>
17473 * src/NetworkManagerDevice.c
17474 - (nm_device_force_use): Fix possible segfault
17476 2005-03-29 Dan Williams <dcbw@redhat.com>
17478 * src/NetworkManagerDevice.c
17479 - Use iw_get_ext() where we should rather than iw_set_ext()
17481 2005-03-29 Dan Williams <dcbw@redhat.com>
17483 * src/NetworkManagerDevice.c
17484 - (nm_device_set_up_down): remove check for unsupported devices
17485 that caused NM to not bring devices up when they were
17486 added to the device list.
17488 2005-03-28 Dan Williams <dcbw@redhat.com>
17490 * src/NetworkManagerDevice.c
17491 - (mdio_read): Fix two bugs that caused all devices to fail
17492 the MII carrier detection support checks
17494 2005-03-26 Dan Williams <dcbw@redhat.com>
17496 * src/NetworkManagerDevice.c
17497 - (nm_device_wireless_scan): Remove duplicated scanning code
17499 2005-03-25 Dan Williams <dcbw@redhat.com>
17501 * panel-applet/NMWirelessApplet.c
17502 - (nmwa_about_cb): Add some more contributors
17503 - (nmwa_update_state): show the applet when there's no connection
17504 - Enable the "Stop/Resume all wireless devices" option in the
17506 - New "no connection" icon
17508 * src/NetworkManager.c
17509 - (nm_poll_and_update_wireless_link_state): don't do anything if
17510 wireless is disabled or we're asleep
17512 * src/NetworkManagerDHCP.c
17513 - Remove trailing "\n" on debug messages
17515 * src/NetworkManagerDbus.c
17516 - (nm_dbus_network_status_from_data): new state "asleep"
17518 * src/NetworkManagerDevice.c
17519 - Merge most of Peter Jones' "completion" patch that greatly reduces
17520 latency and wait times for most operations
17521 - (nm_device_wireless_scan): Don't scan when asleep
17523 * src/NetworkManagerPolicy.c
17524 - (nm_policy_get_best_device): return no device when asleep
17525 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17526 for all wireless devices on update, not just active device
17528 * src/NetworkManagerUtils.c
17529 - Merge Peter Jones' "completion" patch
17532 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17533 we're told to disable them
17534 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17537 - New variants of the warn/info/error/debug print functions that can take
17538 variables rather than static strings
17540 2005-03-24 Dan Williams <dcbw@redhat.com>
17542 * src/NetworkManagerUtils.c
17543 - (nm_get_device_driver_name): driver names are now on the parents of
17544 "Network Interface" objects, so look for them there
17546 2005-03-24 Dan Williams <dcbw@redhat.com>
17549 - Escape some forgotten object paths before we shove them through dbus
17551 2005-03-24 Dan Williams <dcbw@redhat.com>
17553 * dhcpcd/dhcpcd.[ch]
17554 src/NetworkManagerDHCP.c
17555 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17556 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17558 * src/NetworkManagerDbus.c
17561 * src/nm-dbus-dhcp.c
17562 - Make the API suck less. There is now only 1 type of each function,
17563 ie only "getInteger" and no longer also "getIntegerv". All types
17564 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17565 that will never have more than 1 element. This should simplify
17568 * test/nm-dhcp-opt-test.c
17569 - Make the tool not segfault
17570 - adapt to new DHCP Options API
17572 2005-03-22 Dan Williams <dcbw@redhat.com>
17574 * src/NetworkManager.c
17575 - (nm_wired_link_deactivated): actually ignore netlink events from
17578 2005-03-22 Dan Williams <dcbw@redhat.com>
17580 * src/NetworkManager.c
17581 - (nm_wired_link_activated): actually ignore netlink events from
17584 2005-03-17 Dan Williams <dcbw@redhat.com>
17586 Patch from Tom Parker:
17587 * src/nm-netlink-monitor.c
17589 * info-daemon/NetworkManagerInfoDbus.c
17590 - (nmi_dbus_update_network_auth_method): free GConf values
17592 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17593 * src/NetworkManagerDevice.c
17594 - (nm_device_set_wireless_config): wait for successful
17595 association longer for some cards (Atheros a/b/g)
17597 2005-03-15 Ray Strode <rstrode@redhat.com>
17599 * src/NetworkManager.c:
17600 (sigterm_pipe_handler):
17603 2005-03-15 Ray Strode <rstrode@redhat.com>
17605 * src/NetworkManagerDbus.c:
17606 Fix some sign weirdness that gcc4 doesn't like,
17607 and add a header file so PPC can hopefully find
17610 2005-03-14 Ray Strode <rstrode@redhat.com>
17612 Fourth (probably working) cut at porting to
17613 dbus 0.30 api and new hal. This cut adds
17614 some new logging macros to make debugging
17617 * dispatcher-daemon/NetworkManagerDispatcher.c:
17618 * info-daemon/NetworkmanagerInfo.c:
17619 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17620 * info-daemon/NetworkManagerInfoVPN.c:
17621 * src/NetworkManager.c:
17622 * src/NetworkManagerAP.c:
17623 * src/NetworkManagerAPList.c:
17624 * src/NetworkManagerDHCP.c:
17625 * src/NetworkManagerDbus.c:
17626 * src/NetworkManagerDevice.c:
17627 * src/NetworkManagerPolicy.c:
17628 * src/NetworkManagerSystem.c:
17629 * src/NetworkManagerUtils.c:
17630 * src/NetworkManagerWireless.c:
17632 * src/nm-dbus-nm.c:
17633 * src/backends/NetworkManagerDebian.c:
17634 * src/backends/NetworkManagerGentoo.c:
17635 * src/backends/NetworkManagerRedHat.c:
17636 * src/backends/NetworkManagerSlackware.c:
17637 use new logging macros.
17639 * dispatcher-daemon/NetworkManagerDispatcher.c:
17640 (nmd_dbus_filter): s/dbus_free/g_free/
17642 * info-daemon/Makefile.am: link in utils library.
17643 * info-daemon/NetworkmanagerInfo.c: use new logging
17645 (nmi_dbus_get_network): don't assume enumerations
17647 (nmi_dbus_nmi_message_handler): don't free what
17648 doesn't belong to us.
17650 * libnm_glib/libnm_glib.c:
17651 (libnm_glib_get_nm_status):
17652 (libnm_glib_init): don't free what doesn't
17654 (libnm_glib_dbus): strdup result, so it doesn't get
17655 lost when message is unref'd.
17657 * panel-applet/NMWirelessAppletDbus.c:
17658 (nmwa_dbus_update_devices): s/dbus_free/g_free/
17660 * src/NetworkManager.c:
17661 (nm_monitor_wired_link_state): request initial status
17662 dump of all cards when we start up, instead of relying
17663 on /sys/.../carrier.
17664 (nm_info_handler), (nm_set_up_log_handlers):
17665 log handlers to specify what syslog priorites
17666 the logging macros default to.
17668 * src/NetworkManagerAPList.c:
17669 (nm_ap_list_populate_from_nmi):
17670 s/dbus_free_string_array/g_strfreev/
17672 * src/NetworkManagerDbus.c:
17673 (nm_dbus_get_network_object):
17674 validate d-bus message argument types.
17675 Advance message iterator after reading argument,
17676 prepend instead of append to GSList.
17678 * src/NetworkManagerDevice.c:
17679 (nm_device_probe_wired_link_status):
17680 remove redundant /sys in /sys path. remove wrong
17681 contents == NULL means has carrier assumption.
17683 * src/nm-netlink-monitor.c
17684 (nm_netlink_monitor_request_status): implement
17685 function to ask kernel to dump interface link
17686 status over netlink socket.
17688 * test/*.c: s/dbus_free/g_free/
17690 * utils/nm-utils.h:
17691 (nm_print_backtrace): new macro to print backtrace.
17692 (nm_get_timestamp): new macro to get sub-second precise
17694 (nm_info), (nm_debug), (nm_warning), (nm_error):
17695 new logging functions. nm_info just prints,
17696 nm_debug includes timestamp and function,
17697 nm_warning includes function, nm_error includes
17698 backtrace and sigtrap.
17700 2005-03-11 Ray Strode <rstrode@redhat.com>
17702 Third (unfinished, partially working) cut at porting to
17703 dbus 0.30 api and new hal.
17705 * info-daemon/NetworkManagerInfoDbus.c:
17706 don't free null arrays.
17708 * panel-applet/NMWirelessAppletDbus.c:
17709 * src/nm-dbus-device.c:
17710 * src/nm-dbus-net.c:
17711 * src/NetworkManagerDbus.c: more
17712 STRING -> OBJECT_PATH fun
17713 * src/NetworkManagerDevice.c:
17714 * src/NetworkManagerDevice.h:
17715 (rename nm_device_get_link_active): rename to
17716 nm_device_has_active_link
17717 (nm_device_wireless_link_active): rename to
17718 nm_device_probe_wireless_link_state
17719 (nm_device_wired_link_active): rename to
17720 nm_device_probe_wired_link_state. Rewrite to
17721 use carrier file since hal doesn't maintain
17722 link state anymore.
17723 (nm_device_update_link_active): rename to
17724 nm_device_update_link_state
17725 * src/NetworkManagerPolicy.c
17726 (nm_policy_activation_finish): check for NULL
17730 * src/NetworkManagerMain.h:
17731 * src/NetworkManager.c:
17732 * src/nm-netlink-monitor.c:
17733 * src/nm-netlink-monitor.h: New class to support
17734 monitoring wired ethernet link status, since HAL
17735 doesn't export that information anymore.
17737 2005-03-09 Ray Strode <rstrode@redhat.com>
17739 Second (unfinished, unworking) cut at porting to
17742 * dispatcher-daemon/NetworkManagerDispatcher.c:
17743 * info-daemon/NetworkManagerInfoDbus.c:
17744 * panel-applet/NMWirelessAppletDbus.c:
17745 * src/NetworkManagerDbusUtils.c:
17746 * src/NetworkManagerDbusUtils.h:
17747 * src/nm-dbus-device.c:
17748 * src/nm-dbus-nm.c:
17749 * test/nmtest.c: support dbus "object path" type
17753 * info-daemon/Makefile.am:
17754 * libnm_glib/Makefile.am:
17755 * panel-applet/Makefile.am:
17756 * dispatcher-daemon/Makefile.am
17758 * test/Makefile.am:
17759 * utils/Makefile.am:
17760 * utils/nm-utils.c:
17761 * utils/nm-utils.h: new utils static lib
17763 2005-03-07 Ray Strode <rstrode@redhat.com>
17765 * info-daemon/NetworkManagerInfoDbus.c:
17766 * libnm_glib/libnm_glib.c:
17767 * panel-applet/NMWirelessAppletDbus.c:
17768 * src/NetworkManager.c:
17769 * src/NetworkManagerDbus.c:
17770 * src/NetworkManagerDevice.c:
17771 * src/NetworkManagerUtils.c:
17772 * src/nm-dbus-device.c:
17773 * src/nm-dbus-dhcp.c:
17774 * src/nm-dbus-net.c:
17775 * src/nm-dbus-nm.c:
17776 * test/nminfotest.c:
17777 First (unfinished, unworking) cut at porting to dbus 0.30 api.
17779 2005-03-04 Dan Williams <dcbw@redhat.com>
17784 2005-03-04 Dan Williams <dcbw@redhat.com>
17786 Patch from Peter Jones:
17787 - Make stuff work with gcc 4.0
17789 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
17791 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17793 2005-02-27 Jim Huang <jserv@kaffe.org>
17795 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17797 2005-02-27 Dan Williams <dcbw@redhat.com>
17799 Patch from Bill Moss:
17800 * panel-applet/NMWirelessAppletDbus.c
17801 - Make sure strength for current access point is up-to-date when we
17802 update the gui data model
17804 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
17806 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17808 2005-02-27 Dan Williams <dcbw@redhat.com>
17810 * src/backends/NetworkManagerRedHat.c
17811 - (nm_system_init): Kill any dhclient processes lying around as well
17812 as stopping 'nifd' if its already been started. NetworkManager
17813 subsumes the functions of nifd (kicking mDNSResponder, autoip)
17815 2005-02-27 Dan Williams <dcbw@redhat.com>
17817 * panel-applet/NMWirelessApplet.c
17818 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17819 dbus data model, not the GUI data model twice.
17821 2005-02-27 Dan Williams <dcbw@redhat.com>
17823 * panel-applet/NMWirelessApplet.[ch]
17824 panel-applet/NMWirelessAppletDbus.[ch]
17825 - Move to incremental network updates. Instead of blowing away our list
17826 of devices every time we get a signal from NetworkManager, we now
17827 incrementally add/remove networks when NetworkManager notifies us that
17828 a new network has appeared or disappered. Strength updates now happen
17829 on-the-fly for each access point as well. There are now two copies of
17830 data from NetworkManager: one for the dbus side, and one for the gui side.
17831 When the dbus side data is modified, it is copied over to the gui side
17832 so we don't have to hold the data_mutex for long periods of time (and
17833 therefore block animation of the applet's icon).
17834 - Clean up some memleaks too
17836 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17837 - Minor code beautification
17839 * src/NetworkManagerAPList.c
17840 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17841 completely new and whether or not an existing one's strength was updated.
17842 Try to fix multiple access points and signal strength by using the highest
17843 signal strength in each scan for any given ESSID.
17845 * src/NetworkManagerDbus.[ch]
17846 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17847 wireless networks; now we have only WirelessNetworkUpdate which includes
17848 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17849 - Kill usage of DbusMessageIter
17851 * src/NetworkManagerDevice.c
17852 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17853 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
17854 AP rather than all-at-once. Also don't ever remove the AP a card is
17855 currently associated with from the network list.
17856 - Update for new signals during scan, send out Appeared, Disappeared, or
17857 StrengthChanged when necessary.
17859 2005-02-25 Dan Williams <dcbw@redhat.com>
17862 - Line break the README
17864 2005-02-25 Dan Williams <dcbw@redhat.com>
17866 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17867 - Remove usage of gtk_window_set_default_size()
17869 * panel-applet/essid.glade
17870 - Stick default size here
17871 - Add in random crap that current glade wants to add in now
17873 2005-02-25 Dan Williams <dcbw@redhat.com>
17875 * src/backends/NetworkManagerRedHat.c
17876 - For non-caching-nameserver/non-named case, ensure that nscd is running
17877 and that we actually tell nscd to reload the hosts cache when it changes
17879 2005-02-25 Dan Williams <dcbw@redhat.com>
17881 * info-daemon/NetworkManagerInfoDbus.c
17882 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17884 * test/nminfotest.c
17885 - Whack usage of DbusMessageIter
17886 - Clean up DbusError and DbusMessage handling and freeing
17887 - Remove unused unregister handler
17890 - Whack usage of DbusMessageIter
17892 * test/nmtestdevices.c
17893 - Whack usage of DbusMessageIter
17895 2005-02-25 Dan Williams <dcbw@redhat.com>
17898 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17901 2005-02-25 Dan Williams <dcbw@redhat.com>
17903 * named/nm-named-manager.c
17904 - Ensure that pid and watch variables for child named process get cleared out
17905 when the child goes away.
17907 2005-02-22 Dan Williams <dcbw@redhat.com>
17909 * src/NetworkManagerPolicy.c
17910 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17911 and NULL out data->active_device so that we have to choose another one.
17912 This may make NetworkManager keep attempting to connect to a wired network
17913 if it fails, but if it keeps failing the wired network has more problems than
17914 just NetworkManager.
17916 * src/backends/NetworkManagerRedHat.c
17917 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17920 * named/nm-named-manager.c
17921 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17922 named so that the distro can flush whatever name service caching
17925 2005-02-21 Dan Williams <dcbw@redhat.com>
17927 * src/NetworkManagerDHCP.[ch]
17928 - (nm_device_dhcp_remove_timeouts): new function
17930 * src/NetworkManagerDevice.c
17931 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17932 remove the DHCP timeouts.
17934 2005-02-21 Dan Williams <dcbw@redhat.com>
17936 * panel-applet/NMWirelessApplet.[ch]
17937 panel-applet/menu-info.[ch]
17938 - Give the panel applet some major love: menu items are no longer
17939 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17940 This allows the applet to actually reflect theme changes correctly,
17941 since themeing of subclassed items in GTK _sucks_.
17943 2005-02-18 Dan Williams <dcbw@redhat.com>
17945 * libnm_glib/libnm_glib.[ch]
17946 test/libnm_glib_test.c
17947 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17948 and its data, and doesn't have to free the callback data anymore
17950 2005-02-18 Dan Williams <dcbw@redhat.com>
17952 * panel-applet/NMWirelessApplet.c
17953 - Revert 2005-02-18 William Jon McCann fix for standard
17954 copyright string until it passes 'make distcheck'.
17955 With standard copyright string, xgettext complains
17956 about "Non-ASCII string at ...".
17958 2005-02-18 Dan Williams <dcbw@redhat.com>
17960 * panel-applet/essid.glade
17961 panel-applet/NMWirelessAppletOtherNetworksDialog.c
17962 - Correct spelling of "adaptor"->"adapter"
17964 2005-02-18 William Jon McCann <mccann@jhu.edu>
17966 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17967 (nmwa_about_cb): Use standard copyright string. Update comment
17968 text to reflect that it is a notification area applet. Remove
17969 leading newline in authors list.
17970 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17971 instead of on parent menu item activation. Fixes #167550.
17973 2005-02-18 William Jon McCann <mccann@jhu.edu>
17975 * panel-applet/essid.glade: Capitalize items as per HIG.
17978 2005-02-16 William Jon McCann <mccann@jhu.edu>
17980 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17981 files for GTK 2.4 or lower, since now public in GTK 2.6.
17983 * panel-applet/essid.glade: Don't specify window size.
17985 2005-02-17 Dan Williams <dcbw@redhat.com>
17987 Caught by Bill Moss:
17989 - Time remaining for DHCP transaction calculation was incorrectly
17990 inside a #ifdef DEBUG
17992 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
17994 * configure.in: Added fr (French) to ALL_LINGUAS.
17996 2005-02-14 Dan Williams <dcbw@redhat.com>
17998 * src/NetworkManagerDHCP.c
17999 - (set_domain_searches): Fix free of invalid pointer
18001 2005-02-14 Dan Williams <dcbw@redhat.com>
18003 Patch from Peter Jones:
18005 - Ensure we return RET_DHCP_CEASED everywhere we should
18006 * dhcpcd/udpipgen.c
18007 - Use faster TOS for IP packets
18008 - Don't set ip_id since we're UDP
18010 Patch from Tomislav Vujec:
18011 * src/nm-dbus-dhcp.c
18012 test/nm-dhcp-opt-test.c
18013 - Clean up warnings to enable cvs tree compilation.
18015 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
18019 - Add the Croatian locale.
18021 2005-02-14 Colin Walters <walters@verbum.org>
18023 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18024 list of domains to search.
18026 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18028 2005-02-13 Dan Williams <dcbw@redhat.com>
18031 - Debug output cleanups of DHCP option printing and parsing.
18033 2005-02-13 Dan Williams <dcbw@redhat.com>
18035 Patch from Dan Reed: DHCP options D-BUS API
18036 Exposes the DHCP options that a device receives to clients over D-BUS.
18042 - Correct names, option length, and types for DHCP options
18044 * dhcpcd/dhcpcd.[ch]
18045 - Clarify function names that access DHCP options & data
18047 * src/NetworkManagerDHCP.c
18048 - Use new DHCP data access functions
18050 * src/NetworkManagerDbus.c
18051 - Message handler for DHCP functions
18053 * src/nm-dbus-dhcp.[ch] (new)
18054 - DHCP dbus methods
18056 * test/nm-dhcp-opt-test.c
18057 - Test DHCP D-BUS API and return all present DHCP options
18059 2005-02-12 Dan Williams <dcbw@redhat.com>
18062 test/nmclienttest.c
18064 - Move nmclienttest.c -> nmtest.c
18066 2005-02-12 Dan Williams <dcbw@redhat.com>
18068 * dhcpcd/buildmsg.c
18069 - Pad DHCP packets until they are at least 300 bytes in size.
18071 2005-02-11 Dan Williams <dcbw@redhat.com>
18074 - (dhcp_init): only print out client ID and class ID if they are specified
18076 * src/NetworkManagerDbus.[ch]
18077 src/nm-dbus-nm.[ch]
18078 src/nm-dbus-device.[ch]
18079 src/nm-dbus-net.[ch]
18080 - Move NM, Device, and Net functions to separate files and use the
18081 dbus method list stuff in NetworkManagerDbusUtils.c to do
18084 * src/NetworkManagerDbusUtils.c
18085 - Add new validate_method called before each dispatch (if present)
18086 that can validate the method call
18088 * src/NetworkManagerWireless.c
18089 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18090 levels never to be evaluated
18092 Patch from j@bootlab.org
18093 * src/NetworkManagerDevice.c
18094 - Add typedef for "u64"
18096 * src/backends/NetworkManagerDebian.c
18097 - Copy in Dave Woodhouse's fixes for IPv6
18099 2005-02-11 Dan Williams <dcbw@redhat.com>
18101 Patch from Dave Woodhouse for IPv6:
18102 * src/NetworkManagerUtils.c
18103 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18104 and multicast addresses
18106 * src/NetworkManagerDevice.c
18107 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18108 after bringing up a card.
18110 2005-02-10 Dan Williams <dcbw@redhat.com>
18112 Patch from Dave Woodhouse:
18113 * src/NetworkManagerSystem.h
18114 src/backends/NetworkManagerDebian.c
18115 src/backends/NetworkManagerGentoo.c
18116 src/backends/NetworkManagerSlackware.c
18117 - New nm_system_device_add_ip6_link_address() function to add link-local
18118 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
18120 * src/backends/NetworkManagerRedHat.c
18121 - (nm_system_device_add_ip6_link_address): implement
18122 - (nm_system_device_flush_addresses): revert to previous behavior of
18123 flushing all addresses
18125 2005-02-10 Dan Williams <dcbw@redhat.com>
18127 Patch from Tom Parker:
18128 * src/NetworkManagerDevice.c
18129 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18130 mii.h headers are broken, and instead use our own typedefs
18132 2005-02-10 Dan Williams <dcbw@redhat.com>
18134 * dhcpcd/buildmsg.c
18135 - (fill_host_and_class_id): only fill in client and class IDs if
18136 they are set by callers.
18139 - (class_id_setup): don't autogenerate a class ID, only use one
18140 we're given, if any.
18141 - (client_id_setup): don't autogenerate a client ID, only use one
18142 we're given, if any.
18145 - (dhcp_interface_init): ensure that client options are correctly
18148 * src/NetworkManagerDHCP.c
18149 - (nm_device_dhcp_request): pass hostname to dhcp library
18151 2005-02-10 Dan Williams <dcbw@redhat.com>
18154 - #rh147661# Don't send kernel version in DHCP requests
18156 * src/NetworkManagerSystem.h
18157 src/backends/NetworkManagerDebian.c
18158 src/backends/NetworkManagerGentoo.c
18159 src/backends/NetworkManagerRedHat.c
18160 src/backends/NetworkManagerSlackware.c
18161 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18162 functions, they are no longer used anyway
18164 * src/backends/NetworkManagerRedHat.c
18165 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18166 addresses in an attempt to keep IPv6 local-scope addresses around
18168 2005-02-10 Dan Williams <dcbw@redhat.com>
18170 * src/NetworkManager.c
18171 - (nm_create_device_and_add_to_list): change the add message slightly
18173 * src/NetworkManagerUtils.c
18174 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18175 Return driver name to calling function
18176 - (nm_get_driver_support_level): print out the driver a device is using
18177 during the support check
18179 Patch from Dave Woodhouse:
18180 * dhcpcd/udpipgen.c
18181 - (in_cksum): copy last byte of odd-sized packets into a
18182 'u_short' rather than a 'u_char', should fix wrong checksums
18183 on big-endian platforms
18185 2005-02-09 Dan Williams <dcbw@redhat.com>
18187 * Clean up usage of GSList objects and looping through their members
18188 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18190 * Fix problem where even if scanning was turned off, card would still
18191 cycle through frequencies.
18193 2005-02-08 Dan Williams <dcbw@redhat.com>
18195 * panel-applet/NMWirelessApplet.c
18198 2005-02-08 Dan Williams <dcbw@redhat.com>
18200 Patch from Bill Moss
18201 * panel-applet/NMWirelessApplet.c
18202 - Restore correct ESSID in tooltips
18204 2005-02-07 Dan Williams <dcbw@redhat.com>
18206 * panel-applet/NMWirelessApplet.[ch]
18207 - Add a context menu that contains:
18208 Pause/Resume Wireless Scanning
18209 Stop/Start All Wireless Devices
18211 - Grab active device strength off active device,
18214 * panel-applet/NMWirelessAppletDbus.[ch]
18215 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18216 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18217 - Update active device strength every 2 seconds, not every 1 second
18219 * panel-applet/menu-info.c
18220 - Only disable wired devices in the menu when they support carrier detection,
18221 and don't currently have a link. Non-carrier-detect devices will always
18225 src/NetworkManagerDbusUtils.[ch]
18226 - Add new new dbus utils sources
18228 * src/NetworkManager.c
18229 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18230 with the boolean parameter
18231 - Set scanning_enabled & wireless_enabled to TRUE
18233 * src/NetworkManagerDbus.c
18234 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18235 - Implement scanning & wireless enable/disable calls
18236 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18238 * src/NetworkManagerDevice.c
18239 - New link detection stuff again...
18240 o Create device's mainloop earlier (but don't run it earlier)
18241 o Hook up new carrier-detect support stuff
18242 o Add in the ethtool & mii support detection code
18243 - Don't scan if scanning is disabled
18245 * src/NetworkManagerPolicy.c
18246 - Never automatically choose a device that doesn't support carrier detection
18247 - Don't automatically choose a wireless device if wireless is disabled
18249 2005-02-07 Dan Williams <dcbw@redhat.com>
18251 * libnm_glib/libnm_glib.c
18252 - Small cleanup in element list iteration
18254 2005-02-07 Dan Williams <dcbw@redhat.com>
18256 * src/NetworkManagerWireless.c
18257 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18258 to be in line with the WEXT quality specification
18260 2005-02-02 Dan Williams <dcbw@redhat.com>
18262 Patch from Nathan Fredrickson <nathan@silverorange.com>
18263 * Fix up compile for deprecation of libgnomeui
18264 - Switch to <glib/gi18n.h> from <libintl.h>
18265 - Remove <libgnomeui/libgnomeui.h> includes
18266 - Use gtk_window_set_default_icon_from_file() rather than
18267 gnome_window_set_default_icon_from_file()
18269 * named/nm-named-manager.c
18270 - (generate_named_conf): Fix return-nothing in non-void
18273 2005-02-02 Dan Williams <dcbw@redhat.com>
18275 * Clean up unused variables and the like
18277 2005-02-02 Dan Williams <dcbw@redhat.com>
18279 * src/NetworkManagerAPList.c
18280 - (nm_ap_list_merge_scanned_ap): merge strength too
18282 * src/NetworkManagerUtils.c
18283 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18284 of locking issues by printing out prettier information than g_mutex_lock
18285 - Print out names of mutexes registered with nm_register_mutex_desc()
18286 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18287 us to seemingly block here for too long
18289 * src/NetworkManager.c
18290 src/NetworkManagerAPList.c
18291 src/NetworkManagerDevice.c
18292 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18293 so we get better debug information printed
18295 * src/NetworkManagerDbus.c
18296 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18297 since it sometimes has locking side effects
18298 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18300 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18301 we don't need a switch. This gets called often enough that we can't block
18302 until the scan mutex is acquired, because we'll block on device activation
18303 and a few other things, which hangs main thread for too long.
18305 * src/NetworkManagerPolicy.c
18306 - (nm_policy_auto_get_best_device): reduce the possiblity that
18307 nm_device_need_ap_switch() will be called
18309 2005-02-02 Dan Williams <dcbw@redhat.com>
18311 * panel-applet/NMWirelessApplet.c
18312 - Display name of wireless network we are connecting to or connected to
18313 in the tooltip of the applet
18315 2005-02-02 Dan Williams <dcbw@redhat.com>
18317 * src/NetworkManagerDHCP.c
18318 - Hopefully fix double-default-route problem by cleaning up the default
18319 route added by DHCP code right before the DHCP transaction begins
18321 2005-02-02 Dan Williams <dcbw@redhat.com>
18323 * named/nm-named-manager.c
18324 - Write out valid resolv.conf when we exit
18326 2005-02-01 Dan Williams <dcbw@redhat.com>
18328 Patch from Colin Walters:
18329 * named/nm-named-manager.c
18330 - Make multi-domain search options work
18332 2005-01-31 Dan Williams <dcbw@redhat.com>
18334 * info-daemon/NetworkManagerInfoDbus.c
18335 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18337 * src/NetworkManagerDevice.c
18338 - (nm_device_new): Don't store the entire range struct, use only what we need
18339 (which is currently avg_quality, max_quality, and frequencies). Also
18340 zero device structure when we've free'd it to maybe expose errors down
18342 - (nm_device_update_signal_strength): grab the scan mutex before getting
18343 quality data from the card since quality will be useless during a scan.
18344 Call updated wireless qual-to-percent function with values stored in
18345 nm_device_new() earlier.
18346 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18347 nm_device_get_bad_crypt_packets())
18348 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18350 - (get_initial_auth_method): always use the Auth method that's in the allowed
18351 list if available. Problem was this: when the WEP key is wrong, NM will
18352 try OS then SK modes, and then get stuck in SK mode after that. This
18354 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18357 * src/NetworkManagerWireless.c
18358 - (nm_wireless_qual_to_percent): try to make this function actually work and
18359 mimic iwlib behavior. Use card's idea of quality divided by max_qual
18360 if that's all present, otherwise fall back to signal-to-noise ratios.
18362 2005-01-29 Dan Williams <dcbw@redhat.com>
18364 * initscript/RedHat/NetworkManager
18365 - Don't spit out sysctl stuff to console
18367 * libnm_glib/libnm_glib.c
18368 - (libnm_glib_init): call dbus_g_thread_init()
18370 * panel-applet/NMWirelessAppletDbus.c
18371 - (nmwa_dbus_worker): call dbus_g_thread_init()
18373 * src/NetworkManager.c
18374 - (main): call dbus_g_thread_init()
18376 * src/NetworkManagerAPList.c
18377 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18378 so we can actually see what's there in a normal syslog
18380 * src/NetworkManagerDevice.c
18381 - (nm_device_activate_wireless): print out the "waiting for access point"
18382 message only once, then say what access point we actually got after
18384 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18385 function, wait until the scan is done. Scans may change the ESSID of
18386 the card, making this function think we need to switch access points
18387 - (nm_device_wireless_process_scan_results): for artificial access points
18388 don't check against the card's ESSID, but the best_ap's ESSID. This
18389 prevents collisions with the scanning code, which may change the card's
18390 ESSID and cause the access point to get dropped from the device's AP
18391 list. Also increase the keep-around time to 2m from 60s since the max
18392 scan interval could be 60s in some cases.
18394 * src/NetworkManagerPolicy.c
18395 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18396 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18397 the new properties and ESSIDs to the device's AP list. Fixes some races
18398 between NM and NMI.
18400 2005-01-27 Dan Williams <dcbw@redhat.com>
18402 * info-daemon/NetworkManagerInfoDbus.c
18403 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18404 GConf, make a minimal entry for it (essid & timestamp)
18406 * src/NetworkManagerAPList.c
18407 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18408 NetworkManagerInfo isn't running
18410 * src/NetworkManagerDbus.[ch]
18411 - (nm_dbus_nmi_is_running): new function
18413 * src/NetworkManagerDevice.c
18414 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18415 address to garbage.
18417 * src/NetworkManagerPolicy.c
18418 - (nm_policy_activation_finish): On successful activation, make sure
18419 the "best" AP has a MAC address, and don't tell NMI to add the
18420 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18421 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18422 access point after refreshing our allowed list if it doesn't already
18423 have a "best" access point.
18425 2005-01-25 Dan Williams <dcbw@redhat.com>
18427 * panel-applet/NMWirelessAppletDbus.c
18428 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18429 so we check for NM_DBUS_SERVICE rather than not for it
18431 * libnm_glib/libnm_glib.c
18432 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18433 ServiceOwnerChanged signal
18435 2005-01-25 Dan Williams <dcbw@redhat.com>
18438 - Check DBUS version in configure, and set the C macros
18439 DBUS_VERSION_[MAJOR,MINOR,MICRO]
18441 * info-daemon/NetworkManagerInfoDbus.c
18442 - Remove #if 0-d section of code that quit NMI if NM went away.
18444 * panel-applet/NMWirelessAppletDbus.c
18445 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18447 * src/NetworkManager.c
18448 src/NetworkManagerMain.h
18449 src/NetworkManagerDbus.c
18450 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18451 - Make updating of our Allowed Wireless Network lists from NMI
18452 an idle function in the main thread now, with a high priority.
18454 2005-01-24 Dan Williams <dcbw@redhat.com>
18456 * panel-applet/gtkcellview.[ch]
18457 panel-applet/menu-info.c
18458 - Fix GTK version checks to be <= rather than <
18461 - Include the libtool archive of libnm_glib rather than
18462 trying to pull in the .so
18464 2005-01-24 Dan Williams <dcbw@redhat.com>
18466 * src/NetworkManagerDevice.c
18467 src/NetworkManagerDevicePrivate.h
18468 - Block nm_device_new() until our device's worker thread has had a
18469 chance to start up. Fixes a race between main thread and worker
18470 thread starting that caused activation requests to get lost.
18472 2005-01-24 Dan Williams <dcbw@redhat.com>
18474 * initscript/RedHat/NetworkManager
18475 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18476 to add the NM startup script at priority 50, which was
18479 2005-01-24 Colin Walters <walters@redhat.com>
18481 * named/named.conf: Use any port for query source instead of
18482 restricting to port 53.
18484 2005-01-24 Dan Williams <dcbw@redhat.com>
18486 * initscript/RedHat/NetworkManager
18487 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18488 to add the NM startup script at priority 50, which was
18491 2005-01-24 Dan Williams <dcbw@redhat.com>
18493 Patch from Tom Parker <palfrey@tevp.net>
18494 * Fix up compile warnings & errors in the wireless applet
18496 2005-01-24 Dan Williams <dcbw@redhat.com>
18498 * panel-applet/NMWirelessApplet.c
18499 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18501 2005-01-24 Dan Williams <dcbw@redhat.com>
18503 * panel-applet/gtkcellview.[ch]
18504 - Only compile these files for GTK 2.4 or lower, since
18505 GtkCellView is now public in GTK 2.6. Fixes crasher
18506 when choosing "Other Wireless Networks" from the panel
18509 2005-01-21 Dan Williams <dcbw@redhat.com>
18511 * src/NetworkManager.c
18512 - Daemonize earlier so that glib doesn't get confused (?)
18514 2005-01-21 Dan Williams <dcbw@redhat.com>
18516 * panel-applet/NMWirelessApplet.[ch]
18517 panel-applet/NMWirelessAppletDbus.c
18518 panel-applet/menu-info.c
18519 src/NetworkManagerDevice.c
18520 - Disable wired devices in the menu when they have no link.
18522 2005-01-21 Dan Williams <dcbw@redhat.com>
18524 * Cache last-known-good wireless authentication method in
18525 NetworkManagerInfo, and use that method first during
18526 wireless device activation. Should speed up devices that
18527 need Shared Key authentication method since Open System is
18530 * Remove the hack to not do full activation on wired connections
18531 that are active when we launch, it causes too many problems
18532 with name resolution and was a hack in the first place.
18534 * Re-work wireless device activation again somewhat to have a
18535 clearer chain of events and to use last-known-good
18536 authentication method of the access point. Also provide
18537 better status throughout activation to ensure the applet
18538 can tell the user exactly what's going on.
18540 * Remove the "find wireless network" code and now simply attempt
18541 to activate with that access point. This reduces the delay
18542 between selecting "Other wireless Network" and actually
18543 connecting to that network.
18545 * Correctly stop the device's worker thread when its removed.
18547 2005-01-21 Dan Williams <dcbw@redhat.com>
18550 - Clean up some of the debug messages
18552 2005-01-21 Dan Williams <dcbw@redhat.com>
18554 * Add new icons, more frames of animation
18555 * Remove some hacks to get the panel applet to display correct
18556 status, an NM update will soon follow that will fix the
18559 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18561 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18562 the first include for working i18n. Also, don't include it in .h files
18563 * panel-applet/NMWirelessApplet.h: Same
18564 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18565 * panel-applet/menu-info.c: Same
18567 2005-01-18 Dan Williams <dcbw@redhat.com>
18570 - Remove some debug messages
18571 - Wrap others in #ifdef DEBUG/#endif
18573 * src/NetworkManager.c
18574 - Remove some debug messages
18575 - Clarify some debug messages
18576 - Remove code related to old single-thread wireless scanning
18578 * src/NetworkManagerAP.[ch]
18579 - New AP property "last_seen" to track how recently an AP was
18581 - Start using 'const' more in function arguments
18583 * src/NetworkManagerAPList.[ch]
18584 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18585 of an AP found in an AP list from a source AP, or if not found
18586 in the list add the source AP
18587 - (nm_ap_list_combine): remove, no longer needed
18589 * src/NetworkManagerDevice.c
18590 - Each device now has a "worker" thread from start to end of its life.
18591 Scanning for wireless devices now happens in that thread,
18592 not in a single "wireless scanning thread" for all devices as
18593 previously. Activation consists of adding an idle handler to the
18594 thread's main loop/context, which gets run at the next available
18596 - Wireless scanning is also simplified, there is now only one list of
18597 access points per wireless device, and APs older than 60s are
18598 removed from the list. Previously, we kept results for the last
18599 3 scans and merged whole lists, which was complicated.
18600 - Cleaned up activation debug messages.
18601 - Wireless activation and access-point search routines now use Open System
18602 authentication before trying Shared Key.
18603 - Removed some code in nm_device_update_best_ap() that could cause cards
18604 to loose their link to the access point.
18605 - Scanning now uses a backoff algorithm, where the inverval becomes
18606 progressively longer between scans when the list of scanned access
18607 points doesn't change. A change will revert to the shortest scan
18610 * src/NetworkManagerWireless.[ch]
18611 - Remove code related to old single-thread wireless scanning
18613 2005-01-18 Colin Walters <walters@redhat.com>
18615 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18616 of older nameservers.
18618 2005-01-18 Colin Walters <walters@redhat.com>
18620 * named/nm-named-manager.c (generate_named_conf): Many fixes
18621 to config file generation.
18622 (safer_kill): Remove, was too much trouble for little gain.
18623 (nm_named_manager_start): Run named as NM_NAMED_USER.
18625 * configure.in: Add option --with-named-user.
18627 2005-01-14 Colin Walters <walters@redhat.com>
18629 Patch from ed@catmur.co.uk (Ed Catmur)
18631 * named/nm-named-manager.c: Add "context" property.
18632 Use it to add child watch source in specific GMainContext.
18634 * src/NetworkManager.c (nm_data_new): Initialize
18635 named with correct main context. Start named only
18638 2005-01-14 Colin Walters <walters@redhat.com>
18640 * named/nm-named-manager.c (generate_named_conf): Write config
18641 and pid files into NM_NAMED_DATA_DIR; this allows things to
18642 work better with FC3 named SELinux policy. Also fix up silly
18645 * configure.in: Add --with-named-dir option.
18647 2005-01-14 Colin Walters <walters@redhat.com>
18649 * configure.in: Make named support require passing --with-named.
18651 * named/nm-named-manager.c: Support writing resolv.conf directly
18652 without running named.
18654 2005-01-13 Dan Williams <dcbw@redhat.com>
18656 * named/nm-named-manager.c
18657 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18659 * src/NetworkManagerDevice.c
18660 - Rework wireless link detection code to be more reliable
18662 2005-01-12 Dan Williams <dcbw@redhat.com>
18664 * initscripts/RedHat/NetworkManager
18665 - Change initial level to "-" rather than "345" so that
18666 we don't activate ourselves by default on install
18668 2005-01-12 Dan Williams <dcbw@redhat.com>
18671 - Client library for applications using glib
18675 - Split NM_CFLAGS and NM_LIBS into separate variables
18676 like DBUS_*, HAL_* and GLIB_*
18678 * src/NetworkManager.c
18679 src/NetworkManagerMain.h
18680 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18681 broadcast a status changed signal over DBUS from the main thread.
18682 Still unused anywhere for the moment.
18684 Patch from j@bootlab.org
18685 * panel_applet/NMWirelessAppletDbus.c
18686 src/NetworkManagerDbus.c
18687 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18688 for the "getMode" method call
18690 2005-01-10 Dan Williams <dcbw@redhat.com>
18692 * src/NetworkManagerDevice.c
18693 - Minor fixups & corrections to "auto" frequency mode, make it
18694 less chatty with syslog
18696 2005-01-10 Dan Williams <dcbw@redhat.com>
18698 * src/NetworkManagerDevice.c
18699 - Implement "auto" frequency/channel support, since cards like Atheros
18700 can't use other frequencies at all when you've told it to use a
18701 specific one, even for scanning.
18702 - Grab the scan mutex around places where we can't tolerate wireless
18703 settings changing underneath us, like nm_device_wireless_network_exists()
18704 and nm_device_activate_wireless()
18706 * src/NetworkManagerWireless.c
18707 - Back scan interval off to 20s instead of 14s
18709 2005-01-09 Dan Williams <dcbw@redhat.com>
18711 * src/NetworkManagerDevice.c
18712 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18713 already set. Stops some drivers like Atmel from continually
18714 reloading the firmware, which they do upon every configuration
18717 2005-01-09 Dan Williams <dcbw@redhat.com>
18720 - Use correct timeout value
18722 * info-daemon/NetworkManagerInfoDbus.c
18723 src/NetworkManagerDbus.c
18724 - Consolidate communication between NM and NMI by doing only 1 dbus
18725 method call to get Wireless Network info from NMI instead of 6
18727 * src/NetworkManager.c
18728 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18729 when we didn't have an AP to use, we'd wait for one forever without
18732 * src/NetworkManagerDevice.c
18733 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18734 activation, dhcp might not have started yet but we don't quit activation
18735 before starting it, so the quit signal gets lost
18737 2005-01-07 Dan Williams <dcbw@redhat.com>
18740 - Rework the DHCP client code to be much less chatty when
18741 it receives non-DHCP UDP packets during the DHCP run
18742 (reported by and preliminary patches from Bill Moss)
18744 * Move wireless scanning to a separate thread. This thread forwards the
18745 results to the main thread when done where they are integrated into
18746 the device's access point lists. This keeps the main thread (which
18747 does all the DBUS communication) from being blocked for long periods
18748 of time by wireless scanning.
18750 * Make state modification an idle routine in the main loop, and trigger
18751 state changes rather than polling for them.
18753 * src/backends/NetworkManagerGentoo.c
18754 - Fix up invalid C90 code (reported by Christoph Ruessler)
18756 * src/NetworkManagerDevice.c
18757 - Revert IPv6 patch for wired devices from 2004-12-22 for
18758 router advertisements, causing problems and infinite loop
18759 during "best" device determination due to link going up/down
18760 (reported by Bill Moss)
18762 Apply patch from Peter Jones
18763 * src/NetworkManagerDevice.c
18764 - Shortcut for link-checking for ipw2x00 cards
18765 - Split out association check into separate routine
18767 2004-01-05 Colin Walters <walters@redhat.com>
18769 * named/named.conf: Add PID_FILE.
18771 * named/nm-named-manager.c: Always generate a pid
18772 file, since older BIND versions don't support
18775 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
18777 * configure.in (ALL_LINGUAS): Added ja (Japanese).
18779 2004-12-22 Dan Williams <dcbw@redhat.com>
18781 * src/NetworkManagerDevice.c
18782 - Silently fail when setting bitrate doesn't work
18785 Patches from j@bootlab.org:
18786 * src/backends/NetworkManagerDebian
18787 - Update backend to match functionality in RedHat backend
18788 * src/NetworkManagerDevice.c
18789 - Take down then bring up wired devices after connection so
18790 they send out ipv6 router advertisements
18792 2004-12-21 Colin Walters <walters@verbum.org>
18794 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18795 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18797 2004-12-21 Colin Walters <walters@redhat.com>
18799 * configure.in: Correct named detection.
18801 2004-12-21 Colin Walters <walters@redhat.com>
18803 * src/NetworkManager.c (nm_data_new): Initialize named.
18804 Also, set up a signal handler for SIGINT/SIGTERM, and exit
18805 the mainloop when these signals are received.
18806 (nm_data_free): Unref named.
18807 (sigterm_handler, sigterm_pipe_handler): New functions for
18810 * src/NetworkManagerMain.h (NMData): Add signal handling and
18813 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18816 * src/NetworkManagerDHCP.c (set_nameservers): New function;
18817 set nameservers from DHCP response data.
18818 (set_domain_search): Set domain search from DHCP response.
18819 (nm_device_dhcp_configure): Invoke them.
18821 * src/NetworkManagerSystem.c
18822 (nm_system_device_update_resolv_conf): Delete. Deleting
18823 code is totally sweet.
18825 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18827 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18828 implements an object which controls a nameserver. Currently
18831 * configure.in: Check for named.
18833 * Makefile.am (SUBDIRS): Add named dir.
18835 * named/named.conf: New template config file.
18837 2004-12-20 Colin Walters <walters@redhat.com>
18839 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18842 2004-12-17 Dan Williams <dcbw@redhat.com>
18844 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
18845 link-local addresses instead of doing DHCP.
18847 * In the panel applet, there's a new "Create new Wireless Network..." item
18849 * The panel applet also sticks around now even if NetworkManager dies, but
18850 it doesn't hide its icon when NM isn't around. Not hiding the icon is
18851 a bug, I'll fix that later.
18853 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18854 lookups after a switch rather than actually doing them.
18856 * Clean up some of those warnings in nm_ap_list_* functions
18858 * Delay between scans changed to 15s instead of 10s
18860 2004-12-15 Dan Williams <dcbw@redhat.com>
18862 Patch from Tom Parker
18863 * Add autoip/Link Local Addressing support when we fail to get a DHCP
18866 * Longer pause after setting ESSID on cards that support a larger number
18867 of channels to give the card time to find the right channel
18869 * Add system hook to restart mDNSResponder (or whatever the local implementation
18870 of Multicast DNS is) when we activate interfaces
18872 2004-12-15 Dan Williams <dcbw@redhat.com>
18874 * Rework the DHCP code again to revert to sending full ethernet frames
18875 rather then relying on the kernel to do the right thing with our
18878 2004-12-06 Dan Williams <dcbw@redhat.com>
18881 - Fix some minor errors in dhcp_handle_transaction() that caused
18882 unexpected early timeouts of DHCP transactions
18885 - DHCP retransmit time from 4s -> 5s
18887 2004-12-05 Dan Williams <dcbw@redhat.com>
18889 * Major rework of the DHCP code, taking some cues from pump. We don't
18890 write raw Ethernet packets anymore, which simplifies the code quite
18891 a bit. The new code should be more robust, not hang in recvfrom()
18892 as much, and generally work better. This also means that we need
18893 to force HAL/dbus to use a created GMainContext rather than the
18894 default context, since having the DHCP renew/rebind thread using
18895 its own GMainContext seemed to give dbus a fit. There is also more
18896 debugging information printed from the DHCP loop to help with future
18899 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18900 assume that the default gateway should be the DHCP server.
18902 Patch from Matthew Schick <matt oss-institute org>
18903 * src/backends/NetworkManagerGentoo.c
18904 - Fix compilation error due to missing "ip4_broadcast"
18906 2004-12-03 Dan Williams <dcbw@redhat.com>
18908 * initscript/Makefile.am
18909 * initscript/Debian/NetworkManager
18910 * initscript/Gentoo/NetworkManager
18911 * initscript/RedHat/NetworkManager
18912 * initscript/NMLaunchHelper.c
18913 - Remove NMLaunchHelper, if you need to wait until the network
18914 comes up, use the dead code from CVS.
18916 2004-12-01 Colin Walters <walters@redhat.com>
18918 * configure.in: Suck in gcc warnings code from Rhythmbox,
18919 but use fewer default flags, and in particular add -Wno-unused,
18920 since the codebase has a lot of unused variables.
18922 * test/nmtestdevices.c (create_device):
18923 * test/nminfotest.c (get_network_string_property)
18924 (get_networks_of_type):
18925 * test/nmclienttest.c (main):
18926 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
18927 * initscript/NMLaunchHelper.c (get_nm_status):
18928 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
18929 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
18930 Fix declarations after statements.
18932 2004-12-01 Colin Walters <walters@redhat.com>
18934 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18935 (nmi_dbus_get_vpn_userpass): New method.
18936 (nmi_dbus_nmi_message_handler): Invoke it.
18938 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18940 * info-daemon/NetworkManagerInfoVPN.h,
18941 info-daemon/NetworkManagerInfoVPN.c: New files; responds
18942 to requests for VPN passwords.
18944 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18946 2004-12-01 Colin Walters <walters@redhat.com>
18948 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18951 2004-12-01 Colin Walters <walters@redhat.com>
18953 * panel-applet/NMWirelessAppletDbus.c
18954 (nmwa_dbus_update_active_device_strength): Fix missing
18957 2004-12-01 Colin Walters <walters@redhat.com>
18959 * panel-applet/NMWirelessApplet.c: Add missing include.
18961 2004-12-01 Colin Walters <walters@redhat.com>
18963 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18964 Remove useless CLAMP (); the value is unsigned, and the case tests
18965 qual->qual < 100, so the value must always be between 0 and 100.
18967 2004-12-01 Colin Walters <walters@redhat.com>
18969 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18971 2004-11-22 Colin Walters <walters@verbum.org>
18973 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18974 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18975 which is essentially a noop since nscd caches hosts on disk too.
18977 2004-11-22 Colin Walters <walters@redhat.com>
18979 * src/Makefile.am (NetworkManager_SOURCES): Add
18980 NetworkManagerDevicePrivate.h.
18982 2004-11-22 Dan Williams <dcbw@redhat.com>
18984 * src/NetworkManagerDevicePrivate.h
18985 - Split out the NMDevice struct to a different file so that stuff like
18986 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18990 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18991 need to cancel the dhcp request during the send and recv
18994 - Move the DHCP option enum to dhcpcd.h
18996 * src/NetworkManagerDHCP.c
18997 - Split out the actual IP/netmask/etc setting code
18998 - New Renew/Rebind functions
18999 - New timer setup function for renew/rebind operations
19001 * src/NetworkManagerDevice.c
19002 - For device activation, if we are using DHCP then keep the activation thread
19003 alive until device deactivation. We need to renew/rebind the DHCP address
19004 after the T1 (renew) and T2 (rebind) times have expired.
19005 - Increase some timeouts after bringing wireless cards up/down
19007 2004-11-17 Dan Williams <dcbw@redhat.com>
19009 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19010 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
19011 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
19012 show known access points that don't broadcast their ESSID in the menus without
19013 any user intervention whatsoever.
19015 * info-daemon/NetworkManagerInfoDbus.c
19016 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19017 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19019 * src/NetworkManagerAP.[ch]
19020 - Add a "user_addresses" data member to the NMAccessPoint structure
19021 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19022 the user_addresses data member
19024 * src/NetworkManagerAPList.c
19025 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19026 the AP's reported address
19027 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19029 * src/NetworkManagerDHCP.c
19030 - Increase DHCP timeout from 25s -> 30s
19032 * src/NetworkManagerDbus.[ch]
19033 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19036 * src/NetworkManagerDevice.c
19037 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19038 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
19039 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19040 So, we take the card down to clear it out.
19041 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19042 too, since that's where the user_addresses are
19044 * src/NetworkManagerPolicy.c
19045 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19046 that wireless networks' user_addresses list upon successful activation
19048 2004-11-16 Dan Williams <dcbw@redhat.com>
19050 * src/NetworkManagerDevice.[ch]
19051 - (nm_device_clear_activation_fail): new function
19053 * src/NetworkManagerPolicy.c
19054 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19055 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19057 2004-11-16 Dan Williams <dcbw@redhat.com>
19059 * src/NetworkManagerDevice.c
19060 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19061 leak the structure, better updating of now_scanning status
19062 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19064 2004-11-15 Dan Williams <dcbw@redhat.com>
19066 Major rework of link detection code. We now use DHCP
19067 as part of the link detection which proves to be much more robust,
19068 and also supports Open System authentication for wireless networks.
19070 We no longer use external DHCP client programs. Instead, we use
19071 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19072 which was written by:
19073 Yoichi Hariguchi <yoichi@fore.com>
19074 Sergei Viznyuk <sv@phystech.com>
19075 http://www.phystech.com/download/
19076 It resides in the "dhcpcd" directory and was refactored into a general
19077 purpose DHCP client library by me.
19079 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19080 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19082 2004-11-15 Dan Williams <dcbw@redhat.com>
19084 Patch from Tom Parker <palfrey@tevp.net>:
19086 * src/NetworkManagerDevice.c
19087 - Less output to console when no access
19088 points are found during a scan
19090 2004-11-15 Dan Williams <dcbw@redhat.com>
19092 Patch from Tom Parker <palfrey@tevp.net>:
19094 * src/backends/interface_parser.c
19096 - Check for inp == NULL
19099 2004-11-13 Colin Walters <walters@redhat.com>
19101 Patch from Tom Parker <palfrey@tevp.net>:
19103 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19105 * src/backends/NetworkManagerRedHat.c: Switch to
19106 including shvar.h instead of shvar.c.
19108 * src/backends/NetworkManagerDebian.c: Don't include
19109 interface_parser.c in source file.
19111 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19112 and interface_parser.[ch].
19113 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19114 Include shvar.c and shvar.h here.
19115 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19116 interface_parser.c and interface_parser.h here.
19118 2004-11-12 Colin Walters <walters@redhat.com>
19120 * configure.in: Strip out TARGET_DISTRO and
19121 SYSTEM_BACKEND_FILE variables. Switch to Automake
19124 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19125 (libnmbackend_la_SOURCES): Use Automake conditionals
19126 to add distro-specific files.
19128 * initscript/Makefile.am (SUBDIRS): Update to
19131 2004-11-12 Colin Walters <walters@redhat.com>
19133 Patches from j bootlab org
19135 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
19136 Add interface_parser.[ch].
19138 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19139 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19141 2004-11-12 Colin Walters <walters@redhat.com>
19143 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19144 call to nmi_dbus_is_running too, not necessary anymore.
19145 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19148 2004-11-11 Colin Walters <walters@verbum.org>
19150 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19152 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19153 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19154 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19155 This avoids a race condition that made it pretty easily
19156 possible to get two NetworkManagerInfo daemons running.
19158 2004-11-11 Colin Walters <walters@verbum.org>
19160 * src/NetworkManager.c (main): Use daemon(3).
19162 * info-daemon/NetworkManagerInfo.c (main): Ditto.
19164 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19166 2004-11-10 Dan Williams <dcbw@redhat.com>
19168 Patches from j bootlab org
19169 * src/NetworkManagerDevice.c
19170 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19171 whether the card has a link or not, some cards are slow
19172 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19174 * info-daemon/NetworkManagerInfoPassphraseDialog.c
19175 - Disable the "Login" button on the passphrase dialog until the user
19176 enters a valid passphrase or key
19178 Patches from Tom Parker <palfrey tevp net>
19179 * src/backends/NetworkManagerDebian.c
19180 - Add static IP support to the debian backend
19182 * src/backends/interface_parser.[ch]
19183 - Parse debian interface config files
19185 2004-11-08 Dan Williams <dcbw@redhat.com>
19187 * src/NetworkManagerDevice.c
19188 - Some random fprintf->syslog conversions
19189 - (nm_device_wireless_network_exists): double-check for network
19190 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19192 * src/NetworkManagerWireless.[ch]
19193 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19194 so that the binary->ascii conversion works (if unsigned, the bitshift
19195 will fill with zeros, which is what's required). Also mask bitshift
19196 result with 0xF for futher assurance.
19198 2004-11-06 Dan Williams <dcbw@redhat.com>
19200 * src/NetworkManagerUtils.c
19201 - (nm_get_wireless_driver_support_level): default to
19202 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19203 flip this when changing from whitelist->blacklist of
19206 2004-11-05 Dan Williams <dcbw@redhat.com>
19208 Patch from Robert Paskowitz:
19209 * src/backends/NetworkManagerGentoo.c
19210 - Update static IP config code
19212 2004-11-05 Dan Williams <dcbw@redhat.com>
19214 * info-daemon/NetworkManagerInfoDbus.c
19215 src/NetworkManagerDbus.[ch]
19216 src/NetworkManagerDevice.c
19217 - Keep track of the # of attempts to get the WEP key
19218 from the user and pass that along to the info daemon
19220 2004-11-05 Dan Williams <dcbw@redhat.com>
19222 * src/NetworkManagerUtils.c
19223 - Blacklist wireless cards rather than whitelisting them.
19224 - Grab driver name from HAL rather than trying to find it
19227 2004-11-03 Dan Williams <dcbw@redhat.com>
19229 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19230 - Disable OK button until valid data is entered
19231 for encryption stuff too
19233 * panel-applet/NMWirelessApplet.c
19234 - Report card strength for current AP if the card
19235 doesn't report strength data for scanned access
19238 * src/NetworkManagerDevice.c
19239 - Smooth out cards reported quality, Atmel card was
19240 intermittently reporting no quality data but soon
19243 * src/NetworkManagerWireless.c
19244 - Better quality data percentage calculation. Atmel
19245 cards (mine at least) seem to report the quality
19246 in percentage format already, so honor that
19248 Patch from <j@bootlab.org>
19250 info-daemon/NetworkManagerInfoPassphraseDialog.c
19251 info-daemon/passphrase.glade
19252 panel-applet/NMWirelessAppletOtherNetworkDialog.c
19253 panel-applet/essid.glade
19254 src/NetworkManagerAP.c
19255 src/NetworkManagerDevice.c
19256 src/NetworkManagerWireless.[ch]
19257 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19259 2004-11-03 Dan Williams <dcbw@redhat.com>
19261 * src/NetworkManagerDevice.[ch]
19262 - (nm_device_set_enc_key): Add parameter to set Authentication
19263 Mode (Open System, Shared Key, or None). We're still using
19264 Shared Key for now though.
19266 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
19268 * panel-applet/menu-info.c: change from bold text to light
19269 colored, may cause problems with some themes, i've tested a lot
19270 and they seem fine.
19272 * panel-applet/NMWirelessApplet.c: fix strength tooltip
19274 2004-11-01 Colin Walters <walters@verbum.org>
19276 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19277 (nm_wireless_128bit_key_from_passphrase): Add const.
19279 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19280 (nm_ap_set_enc_key_source): Add const.
19282 2004-11-01 Colin Walters <walters@verbum.org>
19284 * .cvsignore: Update.
19286 2004-10-29 Dan Williams <dcbw@redhat.com>
19288 * src/NetworkManagerDevice.c
19289 - (nm_device_wireless_network_exists): Actually use the encryption
19290 key we got from the applet when attempting to find a wireless network
19291 - Don't bring devices down so much since on some cards it triggers
19292 firmware hotplugs each time
19294 * src/NetworkManagerDbus.c
19295 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19298 2004-10-29 Dan Williams <dcbw@redhat.com>
19300 * src/NetworkManager.c
19301 - (nm_hal_device_property_modified): unlock a locked active
19302 wireless device when a wired connection gets a link.
19303 (Means you'll switch to wired whenever you plug in no
19306 2004-10-29 Dan Williams <dcbw@redhat.com>
19308 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19309 - New files, implement the "Other wireless network" dialog
19311 * panel-applet/NMWirelessApplet.c
19312 - Move "other wireless network" dialog to separate file
19314 * panel-applet/NMWirelessAppletDbus.[ch]
19315 - Take key and key_type paramaters for the set_device function
19317 * panel-applet/essid.glade
19318 - Add UI bits for encryption settings
19320 * src/NetworkManagerDbus.c
19321 - Retrieve key and key_type params for "setActiveDevice" method call
19323 - unref AP returned from nm_device_get_best_ap() when needed
19325 * src/NetworkManagerDevice.c
19326 - (nm_device_get_best_ap): ref the ap before returning it
19327 - unref AP returned from nm_device_get_best_ap() when needed
19328 - (nm_device_activate_wireless): add "ap" parameter so we don't
19329 need to call nm_device_get_best_ap() here, it was pretty much
19331 - (AP_NEED_KEY): break second link check condition out into separate
19332 function, and fix segfault when ap->enc_key_source was NULL
19333 - (nm_device_find_and_use_essid): take key and key_type parameters and
19334 pass them along to nm_device_wireless_network_exists(). If the
19335 network does exist, set the passed-in key+key_type on the AP
19337 * src/NetworkManagerPolicy.c
19338 - unref AP returned from nm_device_get_best_ap() when needed
19340 2004-10-28 Dan Williams <dcbw@redhat.com>
19342 * src/NetworkManagerUtils.c
19343 - (nm_spawn_process): Fix a potential dereference of NULL
19345 Patches from Peter Jones:
19347 * src/NetworkManagerDevice.c
19348 - (nm_device_test_wireless_extensions): Better check for
19351 * src/NetworkManagerUtils.c
19352 - (nm_spawn_process): Pass in valid stdout and stderr so
19353 executed programs don't randomly SIGPIPE and fail
19354 - (nm_get_wired_driver_support_level): quash hal warning
19355 when checking for USB ethernet device
19357 2004-10-27 Dan Williams <dcbw@redhat.com>
19359 * info-daemon/NetworkManagerInfo.c
19360 info-daemon/NetworkManagerInfoDbus.c
19361 info-daemon/NetworkManagerInfoPassphraseDialog.c
19362 panel-applet/NMWirelessApplet.c
19363 - Properly escape gconf keys
19365 * src/NetworkManager.c
19366 - remove unused variables
19368 * src/NetworkManagerAP.c
19369 - (nm_ap_new_from_ap): Don't redundantly set new APs
19370 refcount since it got set in nm_ap_new()
19372 * src/NetworkManagerAPList.c
19373 - (nm_ap_list_combine): Give up ownership of newly created
19374 access points to the ap list, fixes memleak
19376 * src/NetworkManagerDevice.c
19377 - Remove cached_ap_list4 member since its not really needed
19378 - (nm_device_wireless_network_exists): Try to get correct
19379 encryption status of a found AP if its already in our
19381 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19382 memory allocs/deallocs a bit clearer and shorter-lived
19384 2004-10-26 Ray Strode <rstrode@redhat.com>
19386 * panel-applet/NMWirelessApplet.c:
19387 (custom_essid_item_selected): kill some compiler
19390 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19392 * info-daemon/NetworkManagerInfoDbus.c
19393 - (nmi_dbus_is_running): New function for determining if nmi is already running
19394 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19396 2004-10-23 Dan Williams <dcbw@redhat.com>
19398 * info-daemon/NetworkManagerInfoDbus.c
19399 - Trap the "DeviceActivationFailed" signal
19401 * docs/NetworkManager DBUS API.txt
19402 - Add "DeviceActivationFailed" signal
19404 * panel-applet/NMWirelessAppletDbus.c
19405 - Quash the "NetworkManager service not available" message
19407 * src/NetworkManagerDbus.[ch]
19408 - Add the "DeviceActivationFailed" signal
19410 * src/NetworkManagerDevice.c
19411 - Add support for activation_failed flag
19412 - Fix deadlock where activation thread didn't clean itself up, making
19413 main thread still believe it was alive forever (didn't reset activation
19414 flags like activating, just_activated, etc when IP configuration
19417 * src/NetworkManagerPolicy.c
19418 - Implement logic for DeviceActivationFailed signal, and when activation fails
19419 for wireless networks, try to fall back to some other access point
19421 2004-10-23 Dan Williams <dcbw@redhat.com>
19423 * panel-applet/NMWirelessApplet.[ch]
19424 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19425 to the applet object, so we can get tooltips
19426 - Add tooltips (RH #136866)
19428 * src/NetworkManagerDevice.c
19429 - When trying to find a wireless network, try to connect with encryption
19430 turned on first, so that we can more accurately detect whether or not
19431 we need to use encryption for the actual association later on
19433 2004-10-21 Dan Williams <dcbw@redhat.com>
19435 * Add some support for telling NetworkManagerInfo to tell the user
19436 that they are using a device that's not fully supported
19438 * Fix some assertions in debug messages due to null access point args
19440 2004-10-21 Dan Williams <dcbw@redhat.com>
19442 * src/NetworkManagerDevice.c
19443 - Don't try to activate/bring up/down unsupported
19446 * src/NetworkManagerUtils.c
19447 - Fix case of PCI ID checks for driver support levels
19449 2004-10-21 Dan Williams <dcbw@redhat.com>
19452 - New file, now contains commonly used structures and bits
19453 for the dbus API of NetworkManager
19456 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19458 * src/NetworkManager.h
19459 - Rename -> src/NetworkManagerMain.c
19461 * Various fixups all around to use NetworkManager.h and new
19462 src/NetworkManagerMain.h, remove redundant bits that got
19463 moved into NetworkManager.h
19465 * src/NetworkManagerDevice.[ch]
19466 src/NetworkManagerUtils.[ch]
19467 src/NetworkManagerPolicy.c
19468 src/NetworkManagerDbus.c
19469 - Whitelist wireless drivers, and blacklist some wired
19470 drivers. Also blacklist cipsec and ethernet-over-usb
19471 devices at this time (RH #135722, RH #135648)
19472 - Don't leak unsupported devices out over dbus, or allow
19473 them to be set as the active device. Skip over them
19474 during automatic device picking
19476 * test/nmclienttest.c
19477 - Clean up the dbus code a lot
19479 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19481 * configure.in: post release bump.
19483 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19486 * NEWS: Released NetworkManager-0.3.1
19488 2004-10-18 Dan Williams <dcbw@redhat.com>
19490 Patches from Thom May:
19491 * test/nmtestdevices.c
19492 - Include <string.h>
19493 * src/backends/NetworkManagerDebian.c:
19494 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19495 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19496 Move to using g_strdup_printf rather than arbitrary buffers
19497 - (nm_system_device_setup_static_ip4_config) Implement function.
19498 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19500 2004-10-17 Dan Williams <dcbw@redhat.com>
19502 * info-daemon/NetworkManagerInfoDbus.c
19503 - Display name of network in the "network not found" dialog
19505 * panel-applet/NMWirelessAppletDbus.c
19506 - (nmwa_dbus_call_nm_method): new function replaces all other
19507 nmwa_dbus_get_[string|string_array|int|boolean] methods
19508 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19509 consolidated into nmwa_dbus_get_object_name()
19511 2004-10-15 Dan Williams <dcbw@redhat.com>
19513 * src/NetworkManagerDbus.c
19514 info-daemon/NetworkManagerInfoDbus.c
19515 - Display an error dialog when the user tries to use an
19516 "Other wireless network" that's not found.
19518 2004-10-15 Dan Williams <dcbw@redhat.com>
19520 * panel-applet/NMWirelessApplet.[ch]
19521 - Fix up corner cases in applet state, making it
19522 look more responsive. Change state to "connecting" when
19523 the user is forcing a device too.
19525 2004-10-15 Dan Williams <dcbw@redhat.com>
19527 * src/NetworkManagerAPList.c
19528 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19530 * src/NetworkManagerDbus.c
19531 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19533 * src/NetworkManagerDevice.c
19534 - Disown APs after the device's AP list takes ownership
19536 2004-10-15 Dan Williams <dcbw@redhat.com>
19538 * panel-applet/NMWirelessApplet.c
19539 - Update our applet state from the GUI thread
19541 * panel-applet/NMWirelessAppletDbus.c
19542 - Greatly simplify the locking to make the GUI thread
19543 smoother. Update a private copy of the device list
19544 and active device and only when done talking to
19545 NetworkManager turn it over to the GUI thread.
19547 2004-10-15 Dan Williams <dcbw@redhat.com>
19549 * src/NetworkManagerAP.[ch]
19550 - Add "artificial" get/set functions, set for APs that
19551 aren't discovered as part of a scan but instead
19552 discovered by force-setting the ESSID
19554 * src/NetworkManagerDevice.[ch]
19555 - (nm_device_wireless_network_exists): pass back whether
19556 or not the discovered AP was encrypted. Also, try
19557 falling back to encrypted mode on the card if unencrypted
19558 association doesn't work
19559 - (nm_device_find_and_use_essid): If the network requested
19560 did in fact exists, but it wasn't in our scan list, add
19561 an "artificial" entry for it. Some Cisco cards don't
19562 see non-ESSID-broadcasting APs in their scan but can still
19563 associate with them if you know the ESSID, this works around
19565 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19566 to scan if the card is currently associated with that AP
19568 2004-10-15 Dan Williams <dcbw@redhat.com>
19570 ---- We have a website ----
19571 http://people.redhat.com/dcbw/NetworkManager
19573 Patch from Robert Paskowitz:
19574 * src/NetworkManager.c
19575 - (main): Make sure we are run as root
19576 * src/NetworkManagerDevice.c
19577 - Fix type in ad-hoc setting function
19579 Patch from Thom May:
19580 * src/backends/NetworkManagerDebian.c
19581 - Make Debian backend compile again
19583 2004-10-14 Dan Williams <dcbw@redhat.com>
19585 * Tagged NetworkManager-0_3
19587 2004-10-14 Dan Williams <dcbw@redhat.com>
19589 Patch from Robert Paskowitz:
19591 src/NetworkManagerDevice.[ch]
19592 src/backends/NetworkManagerDebian.c
19593 src/backends/NetworkManagerGentoo.c
19594 src/backends/NetworkManagerRedHat.c
19595 src/backends/NetworkManagerSlackware.c
19596 - Add support for grabbing and using a broadcast address
19597 from system config files
19598 - Some Gentoo backend fixes for grabbing network config
19599 - Fix LOG_WARN->LOG_WARNING
19601 2004-10-14 Dan Williams <dcbw@redhat.com>
19603 * NEWS: a few small fixes in the credits
19605 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
19607 * NEWS: prep for release.
19609 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
19611 * panel-applet/NMWirelessAppletDbus.c
19612 (nmwa_dbus_update_device_wireless_networks): remove warnings.
19614 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
19616 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19617 applet->state == APPLET_STATE_NO_NM animation.
19619 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19620 set the text correctly.
19622 2004-10-14 Dan Williams <dcbw@redhat.com>
19624 * src/NetworkManager.c
19625 - Only accept and manager 802.3 and 802.11 devices
19627 * src/NetworkManagerDbus.[ch]
19628 - (nm_dbus_nm_set_active_device): move most of the actual activation
19629 logic into NetworkManagerDevice.c
19630 - (nm_dbus_network_status_from_data): new function
19631 - (nm_dbus_signal_network_status_change): new function, unused for now
19632 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19634 * src/NetworkManagerDevice.[ch]
19635 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
19638 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19640 * info-daemon/NetworkManagerInfo.c
19641 - (main): Added session management
19643 2004-10-14 Dan Williams <dcbw@redhat.com>
19645 * panel-applet/NMWirelessAppletDbus.[ch]
19646 - Expose network_device_[un]ref()
19647 - Expose wireless_network_[un]ref()
19648 - (wireless_network_new_with_essid): new function, create and return
19649 a wireless network with a particular essid
19651 * panel-applet/NMWirelessApplet.c
19652 - Hook up the "other network" dialog to do something
19654 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
19656 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
19657 doesn't work yet, but it looks okay.
19659 * panel-applet/icons/*png: Resize to 22x22 and install in the
19662 2004-10-13 Dan Williams <dcbw@redhat.com>
19664 * panel-applet/NMWirelessApplet.c
19665 - Add function to print out applet_state in a readable
19668 * src/NetworkManager.c
19669 - (main): Don't segfault when nm_dbus_init() fails, we had
19670 a left-over call to hal_shutdown() into which we passed NULL
19672 * src/NetworkManagerAP.c
19673 - (nm_ap_set_essid): Allow NULL essids
19675 * src/NetworkManagerAPList.[ch]
19676 - More use of nm_ap_list_[un]lock ()
19677 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19678 network/essid, just return nothing. Also skip over NULL
19679 essid access points in the list when searching
19680 - (nm_ap_list_get_ap_by_address): new function
19681 - (nm_ap_list_update_network): set the access point's key source to
19682 NULL when the key returned from NetworkManagerInfo is NULL or
19684 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19685 copy timestamp over too
19686 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19687 find the correct ESSID for a blank-essid access point by searching
19688 through another list and matching access point MAC addresses
19689 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19691 * src/NetworkManagerDbus.c
19692 - (nm_dbus_nm_set_active_device): deal with random networks the user
19693 may specify. This is mainly for access points that don't
19694 broadcast their essid. So if the user tells us to associate with
19695 some random ESSID that's not in our access point list, we find
19696 out if the access point does in fact exist (by attempting association
19697 and then matching that access point's MAC address with the essid the
19698 user gave us) and then we switch to it.
19699 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19700 to the returned list of networks for the "getNetworks" method
19702 * src/NetworkManagerDevice.[ch]
19703 - Extra debugging info for link detection
19704 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19705 based on MAC address
19706 - (nm_device_get_path_for_ap): ignore blank-essid access points
19707 - (nm_device_wireless_network_exists): new function, find out whether
19708 a random ESSID exists by attempting to associate with it
19709 - (nm_device_do_normal_scan): allow blank-essid access points in our
19710 device list as long as they have an AP MAC address we can use.
19711 Also send WirelessNetwork[Dis]Appeared signals for non-active
19712 devices too. Lets the applet update more frequently.
19714 * src/backends/NetworkManagerGentoo.c
19715 - Patch from: Robert Paskowitz
19716 - Update backend code for Gentoo
19717 - Implement nm_system_device_update_config_info ()
19719 * test/nmclienttest.c
19720 - (set_network_device): new function, takes a command-line argument
19721 and tells NetworkManager to use that wireless network
19723 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19725 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19726 if the notification icon crashes 5 times within 5 seconds of each respawn
19728 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
19730 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19733 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
19735 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19737 * panel-applet/NMWirelessApplet.c: (animation_timeout),
19738 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19739 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19740 Change the name of the icons.
19742 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19743 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19744 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19745 (nm_menu_wireless_expose_event): Really bad hack to get the style
19746 to draw in the right color.
19748 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19750 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
19751 Notification if it crashes
19753 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
19755 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
19756 (nmwa_dbus_get_string): remove unused functions
19758 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19759 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19760 remove unused functions
19762 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19764 2004-10-12 Dan Williams <dcbw@redhat.com>
19766 * panel-applet/NMWirelessAppletDbus.c
19768 wireless_network_new
19769 wireless_network_copy
19771 network_device_copy
19773 * src/NetworkManagerDevice.[ch]
19775 nm_device_set_mode_managed
19776 nm_device_set_mode_adhoc
19777 - Use these functions where appropriate
19778 - When creating a new wireless device, force the card
19779 to managed/Infrastructure mode as soon as possible
19781 2004-10-12 Dan Williams <dcbw@redhat.com>
19783 * src/NetworkManagerDevice.c
19784 - Force wireless cards into Infrastructure mode before we use them
19786 2004-10-12 Dan Williams <dcbw@redhat.com>
19789 - Remove bit about static IP address support
19791 * src/NetworkManagerUtils.c
19792 - (nm_spawn_process): Add some error reporting
19794 * src/NetworkManagerDevice.c
19795 - (nm_device_activation_configure_ip): hook up to the static config
19796 routines in the backends
19798 * src/backends/NetworkManagerRedHat.c
19799 - (nm_system_device_update_config_info): use shvar.c routines to
19800 parse the config file iformation, not our own
19801 - (nm_system_device_setup_static_ip4_config): new function, based
19802 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
19803 with a static IP address and gateway
19805 * src/backends/shvar.[ch]
19806 - Parser (filched from initscripts package) for ifcfg-* files
19808 * src/backends/NetworkManagerSystem.h
19809 src/backends/NetworkManagerGentoo.c
19810 src/backends/NetworkManagerDebian.c
19811 src/backends/NetworkManagerSlackware.c
19812 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19814 2004-10-11 Dan Williams <dcbw@redhat.com>
19817 - Remove bit about more robust AP diffing since I just implemented it
19819 2004-10-11 Dan Williams <dcbw@redhat.com>
19821 * src/NetworkManagerAP.c
19822 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19823 enough RAM to allocate new AP structures, but return NULL instead
19825 * src/NetworkManagerAPList.[ch]
19826 - (nm_ap_list_is_empty): new function
19827 - (nm_ap_list_combine): new function, combine two access point lists
19828 - (nm_ap_list_copy_keys): new function, copy keys from one list
19831 * src/NetworkManagerDevice.[ch]
19832 - Rename some functions to be clearer:
19833 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19834 nm_device_just_activated -> nm_device_is_just_activated
19835 nm_device_activating -> nm_device_is_activating
19836 nm_device_now_scanning -> nm_device_is_scanning
19837 - Cache the last 4 scans so that the access point list is more stable.
19838 We combine the lastest two scans and use that as the AP list,
19839 and diff that combined list against the combination of the earliest
19840 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19842 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19844 * info-daemon/NWManagerInfo.h
19845 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19847 * info-daemon/NWManagerInfoDbus.c
19848 - (shutdown_callback): new function
19849 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19850 if NetworkManager goes away. Kill the timeout
19851 if NetworkManager restarts before the 30 seconds
19853 - (nmi_dbus_service_init):
19854 - call gtk_main_quit if NetworkManager is not running
19855 - add filters to monitor dbus service creations and
19858 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19860 * panel-applet/NMWirelessApplet.c
19861 - (nmwa_update_state): Hide notification icon if we are only
19862 showing one wired card and no wireless interfaces
19863 (Red Hat Bug #134895)
19865 * panel-applet/NMWirelessAppletDbus.c
19866 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19868 * info-daemon/NWManagerInfo.c
19869 - (main): Terminated the notification_icon_cmd array with a NULL
19871 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
19873 * configure.in (ALL_LINGUAS): Added de (German).
19875 2004-10-08 Dan Williams <dcbw@redaht.com>
19877 * src/NetworkManagerDevice.c
19878 - Be a bit more robust about link checking, ie make sure that
19879 the WEP key we were given actually has some data in it
19881 2004-10-08 Dan Williams <dcbw@redhat.com>
19883 * info-daemon/NetworkManagerInfo.c (main):
19884 - Initialize GError object to NULL
19886 2004-10-08 Dan Williams <dcbw@redhat.com>
19888 * panel-applet/NMWirelessAppletDbus.c
19889 - Die if NetworkManagerInfo dies, since it manages our lifetime
19891 2004-10-08 Dan Williams <dcbw@redhat.com>
19893 * info-daemon/NetworkManagerInfo.[ch]
19894 info-dameon/NetworkManagerInfoDbus.[ch]
19895 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19896 - Preserve original label text in the passphrase dialog so that
19897 it actually gets updated with the new network name the next
19898 time around. Previously, we were overwriting it so you'd get
19899 the wrong network name to enter a key for
19900 - Add a "Key Type" combo to the passphrase dialog, user selects
19901 encryption key type now, type is stored in GConf too
19902 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19904 * src/NetworkManagerAP.[ch]
19905 - Remove all the encyption method magic. It's now set by the user
19906 and NetworkManager retrieves the type of encryption key from
19909 * src/NetworkManagerAPList.[ch]
19910 src/NetworkManagerDbus.[ch]
19911 - Adjust to new way of setting encryption key and method
19912 - Pull encryption method down from NMI along with key
19914 * src/NetworkManagerDevice.[ch]
19915 - Removed encryption method fallback magic as the method is now
19916 determined by the user. This greatly simplifies the connection
19918 - More robust connection/link logic. Besides removing the encryption
19919 method fallback magic, check whether or not the card is receiving
19920 invalidly encrypted packets, which usually indicates that we have
19922 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19924 * test/nminfotest.c
19925 - Test out new "Key Type" stuff in the NMI passphrase dialog
19927 2004-10-07 Dan Williams <dcbw@redhat.com>
19929 * info-daemon/NetworkManagerInfo.conf
19930 - Allow root user to run NMI too
19932 2004-10-06 Dan Williams <dcbw@redhat.com>
19934 * src/NetworkManagerDevice.[ch]
19935 src/NetworkManagerDbus.c
19936 doc/NetworkManager DBUS API.txt
19937 - Add a new status tag "scanning", which is set when there
19938 is no active network connection, but NetworkManager is
19939 looking for an access point to associate with
19941 * panel-applet/main.c
19942 - Cast the applet appropriately for gtk_widget_show_all ()
19944 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
19946 * panel-applet/eggtrayicon.[ch]:
19947 * panel-applet/main.c: Add missing file
19949 2004-10-04 Dan Williams <dcbw@redhat.com>
19951 * src/NetworkManagerDevice.[ch]
19952 - Add a slightly more robust method of determining if the WEP key
19953 is correct or not, by checking the WEP-discarded packet count
19956 * info-daemon/NetworkManagerInfo.c
19957 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19958 un-escape values we pull out rather than escaping them
19960 2004-10-03 Marcel Telka <marcel@telka.sk>
19962 * configure.in (ALL_LINGUAS): Added sk.
19964 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
19966 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19967 and feel. We should be back to working, and have a good, clean
19970 2004-09-30 Dan Williams <dcbw@redhat.com>
19972 * info-daemon/NetworkManagerInfo.c
19973 info-daemon/NetworkManagerInfoDbus.c
19975 - Escape ESSIDs in gconf
19977 * src/NetworkManagerDevice.c
19978 - Fix pseudo-scanning to use netowrk list from info daemon
19980 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
19982 * configure.in: Add a temporary --enable-notification-icon. This
19983 will prolly go away.
19985 * info-daemon/Makefile.am:
19986 * info-daemon/NetworkManagerInfo.c:
19987 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19989 * panel-applet/Makefile.am:
19990 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19991 * panel-applet/NMWirelessApplet.h:
19993 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
19995 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
19996 before 'select custom ESSID'.
19998 * panel-applet/menu-info.c: Start rewrite for better headers. Not
19999 fully complete, but syncing in prep for merge.
20001 * panel-applet/icons/*png: New images
20003 2004-09-28 Dan Williams <dcbw@redhat.com>
20005 * src/NetworkManager.c
20006 src/NetworkManagerDevice.c
20007 src/NetworkManagerPolicy.c
20008 - Don't blow away an active wired connection on startup
20010 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
20014 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20016 * info-daemon/NetworkManagerInfoDbus.c: added service name to
20019 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
20021 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20022 have a wireless card.
20024 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
20026 * panel-applet/NMWirelessApplet.c: move the custom essid item.
20027 Also, get the right device strings.
20029 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
20031 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20032 the logic to make this right.
20034 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20035 devices so that wired networks are always first.
20037 2004-09-22 <clarkbw@cvs.gnome.org>
20039 * initscript/Debian/.cvsignore:
20040 * initscript/Slackware/.cvsignore:
20041 Added new cvsignores for Makefile, Makefile.in
20044 Added nmtestdevices
20046 * src/NetworkManagerDevice.c:
20047 * src/NetworkManager.c:
20048 Updated the wireless/wired HAL device strings from net.ethernet to
20049 net.80203 or net.80211 depending on wired or wireless respectively
20051 * examples/python/NetworkManager.py:
20052 s/Quality/Strength/
20054 * examples/python/systray/network_tray.py:
20055 Lots of little changes and fixes. been rotting for a while so I
20056 figured I'd finally sync them all with CVS
20058 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
20060 * configure.in: Add graphics
20062 * panel-applet/Makefile.am: Add graphics
20064 * panel-applet/icons/*: Add graphics
20066 * panel-applet/NMWirelessApplet.c: Use new menu times to display
20067 the icons fully lined up.
20069 * panel-applet/menu-info.c:
20070 * panel-applet/menu-info.h: Add another menu type.
20072 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
20074 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20076 * panel-applet/menu-item.[ch]: Wireless menu item.
20078 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
20080 * info-daemon/NetworkManagerInfo.conf
20081 - Created a more robust security policy for the DBus service
20082 - everything is denied by default
20083 - root can own and send to the service
20084 - users logged in at the console can send to the service
20086 2004-09-13 Dan Williams <dcbw@redhat.com>
20088 * src/NetworkManagerDevice.c
20089 - (nm_device_get_essid): use iw_get_basic_config() rather than
20090 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20093 2004-09-13 Dan Williams <dcbw@redhat.com>
20097 * docs/NetworkManager DBUS API.txt
20098 - Update for new signal strength changes
20100 * panel-applet/NMWirelessApplet.c
20101 - Make panel icon show strength of the current connection
20102 - Cleanups and memleak fixes
20104 * panel-applet/NMWirelessApplet.h
20105 - Add data members for signal strength on devices and networks
20107 * panel-applet/NMWirelessAppletDbus.c
20108 - Free more DBusErrors
20109 - Update for new signal strength changes
20110 - Make devices and networks more like real objects, use ref/unref methods
20111 - Actually unlock the mutex when updating the active device
20113 * src/NetworkManagerAP.c
20114 - Change AP functions and data members from "quality"->"strength"
20116 * src/NetworkManagerDbus.c
20117 - Kill "getMaxQuality" and "getQuality" methods
20118 - Add "getStrength" methods for Networks and Devices
20120 * src/NetworkManagerDevice.[ch]
20121 - Add accessors for device strength
20122 - Add functions to update strength for a device. Note that not all drivers
20123 actually support signal strength for scanned access points (Atmel drivers
20125 - Calculate signal strength for each AP during scan
20127 * src/NetworkManagerWireless.[ch]
20128 - Add function to return signal strength % from a device and a raw quality struct
20130 * test/nmclienttest.c
20131 - Update for new signal strength changes
20133 2004-09-11 Dan Williams <dcbw@redhat.com>
20135 * src/NetworkManager.c
20136 - Fix race condition between initscripts and NM on card insertion
20137 which could cause a card to keep an IP address and routes around
20138 even when it was not the active device
20140 * src/NetworkManagerDbus.c
20141 - Fix compile errors, free more DBusErrors
20143 2004-09-11 Dan Williams <dcbw@redhat.com>
20145 * docs/NetworkManager DBUS API.txt
20146 - Add an explanation of NM's API
20148 * src/NetworkManagerDbus.c
20149 - Free some more DBusErrors if needed
20151 2004-09-11 Dan Williams <dcbw@redhat.com>
20153 * panel-applet/NMWirelessApplet.c
20154 panel-applet/NMWirelessAppletDbus.c
20155 - Start using NetworkDevice/WirelessNetwork structures in more places
20156 - Update for unified device/network forcing in NetworkManager
20158 * src/NetworkManager.c
20159 - some code consolidation
20161 * src/NetworkManagerDbus.c
20162 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20163 or two arguments: the first is the NM ID of the device to switch to,
20164 and the second (optional) argument is the ESSID of a wireless network
20166 - Get rid of "setNetwork" method due to above change
20168 * src/NetworkManagerDevice.c
20169 - (nm_device_new): perform scan and update best AP on device creation
20170 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20171 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20172 spin waiting for cancellation to finish before returning
20174 * src/NetworkManagerPolicy.c
20175 - Changes here clarify the situations in which a device switch occurs, and
20176 make sure to keep using a forced device and network if the user gives
20178 - Remove old unused code
20180 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
20182 * configure.in: Added Danish (da) to ALL_LINGUAS.
20184 2004-09-09 Dan Williams <dcbw@redhat.com>
20186 * panel-applet/NMWirelessAppletDbus.c
20187 - Pull fresh devices and networks from NM when wireless networks
20188 change. Provides faster feedback of a forced wireless network
20190 * src/NetworkManagerDbus.c
20191 - Return error when "getMaxQuality" is called on a wired device
20192 - Make best_ap freezing actually work again, and signal cancellation
20193 of activation if there's already a device activation when the user
20194 freezes the best_ap
20196 * src/NetworkManagerDevice.c
20197 - Don't clear out the best_ap for wireless devices when the link goes
20198 down, that's done elsewhere
20199 - Kill any dhcp daemons when cancelling device activation since they
20200 may be stuck waiting for a DHCP address, and since we're cancelling
20201 activation we don't care about that anymore
20203 * src/NetworkManagerPolicy.c
20204 - Make sure to unref the device we ref earlier (we refed it to make sure
20205 it stuck around during device activation and such)
20206 - If we were going to change the best device, but its activating currently
20207 (and therefore the change didn't occur due to the check earlier)
20208 we mark the state changed to we come back to it later when device
20209 activation has canceled and its no longer activating
20211 * src/backends/NetworkManagerRedHat.c
20212 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20214 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
20216 * info-daemon/passphrase.glade:
20217 set passphrase input to activates_default : True
20219 * examples/python/systray/network_tray.py
20220 (network_tray.sort_networks):
20222 Added support for having wireless always scanning
20224 2004-09-09 Dan Williams <dcbw@redhat.com>
20226 NOTE: this commit changes the behavior of wireless devices in
20227 NetworkManager. They are now up all the time, scanning all
20228 the time. Only the active device has an IP address and routing
20229 information set up however. Also, NetworkManager will no longer
20230 opportunistically switch wireless networks when a better one
20231 comes in range, it will remain associated with one wireless network
20232 until that one drops out.
20234 * panel-applet/NMWirelessApplet.c
20235 panel-applet/NMWirelessAppletDbus.c
20236 - List all wireless cards and their respective networks
20238 * src/NMLoadModules
20239 - Use full path to /sbin/ip
20241 * src/NetworkManager.c
20242 - Keep wireless devices up all the time so they can scan
20244 * src/NetworkManagerDbus.c
20245 - On a WirelessNetworkUpdate signal from NMI, don't update
20248 * src/NetworkManagerDevice.c
20249 - (nm_device_set_link_active): clear out the best ap for
20250 wireless devices when the link is set to FALSE
20251 - Scan on all wireless cards, all the time
20252 - (nm_device_activation_worker): split out the wireless card
20253 link-waiting code to a separate function
20254 - Keep wireless cards up even if device activation fails
20255 - Don't update the "best" ap as much
20257 * src/NetworkManagerPolicy.c
20258 - Don't update the best ap when checking if its frozen,
20259 let link checking clear out a frozen best ap for us
20261 * src/NetworkManagerWireless.c
20262 - Scan on all wireless cards, all the time
20264 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
20266 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20268 2004-09-09 Ankit Patel <ankit@redhat.com>
20270 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20272 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
20274 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20276 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
20278 * examples/python/NetworkManager.py:
20279 added CONNECTED, CONNECTING, and DISCONNECTED states
20280 added methods to return number of devices of a single type
20282 * examples/python/systray/network_tray.py:
20283 did some tweaks to get the menu looking near what it is supposed
20284 to look like. Also did a Airo card hack to make it show the
20287 2004-09-08 Dan Williams <dcbw@redhat.com>
20289 * panel-applet/no-networkmanager.png
20290 panel-applet/Makefile.am
20291 panel-applet/NMWirelessApplet.c
20292 - Add a "NetworkManager not running" icon and use it
20293 - Use new consolidated GConf keys rather than Preferred/Trusted
20297 * info-daemon/NetworkManagerInfo.c
20298 info-daemon/NetworkManagerInfoDbus.[ch]
20299 info-daemon/NetworkManagerInfoPassphraseDialog.c
20300 - There are now no longer two separate lists of wireless networks,
20301 but one list where each network is "trusted" or not trusted
20302 - Add a "getNetworkTrusted" dbus method
20303 - "WirelessNetworkUpdate" signal now sent rather than
20304 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20305 - Start freeing some dbus errors (not completed yet)
20307 * info-daemon/passphrase.glade
20308 - Remove the "don't show" hints for pager and taskbar
20309 - Add a title since its going to be in the taskbar
20311 * src/NetworkManager.[ch]
20312 src/NetworkManagerAPList.[ch]
20313 - There are now no longer two separate lists of wireless networks,
20314 but one list where each network is "trusted" or not trusted
20316 * src/NetworkManagerAP.[ch]
20317 - Add get/set "trusted" accessors and data bit
20319 * src/NetworkManagerDbus.[ch]
20320 - Add function to get "trusted" status of a network from NetworkManagerInfo
20321 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20323 * src/NetworkManagerDevice.[ch]
20324 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20325 - (nm_device_new): Get device config from backend when initializing devices
20326 - (nm_device_activation_worker): Split out device configuration on
20327 activation to deal with static/dynamic IP differences, and try encryption
20328 fallbacks on a device if the encryption method for the best AP is not good
20329 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20330 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20332 * src/NetworkManagerWireless.c
20333 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20335 * src/backends/NetworkManagerRedHat.c
20336 src/backends/NetworkManagerSystem.h
20337 - (nm_system_device_update_config_info): Add function to get device configuration
20338 from system data in ifcfg-* files
20340 * src/backends/NetworkManagerDebian.c
20341 src/backends/NetworkManagerGentoo.c
20342 src/backends/NetworkManagerSlackware.c
20343 - Add stub functions for getting device configuration
20345 2004-09-07 Dan Williams <dcbw@redhat.com>
20347 * src/backends/NetworkManagerRedhat.c
20348 src/backends/NetworkManagerSlackware.c
20349 - Use full path to /sbin/ip everywhere
20351 2004-09-07 Dan Williams <dcbw@redhat.com>
20353 Patch from: Narayan Newton <narayan_newton@yahoo.com>
20356 initscript/Makefile.am
20357 initscript/Slackware/Makfile.am
20358 initscript/Slackware/rc.networkmanager
20360 src/backends/NetworkManagerSlackware.c
20361 - Add Slackware support
20363 2004-09-07 Dan Williams <dcbw@redhat.com>
20365 Patches below from:
20367 Mark Roach <mrroach@okmaybe.com>
20368 Thom May <thom@debian.org>
20371 initscript/Debian/NetworkManager
20372 initscript/Debian/Makefile.am
20373 - Initscript for Debian
20375 * src/backends/NetworkManagerDebian.c
20376 - Add missing system init function to allow compilation
20379 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
20381 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20383 2004-09-03 Akagic Amila <bono@linux.org.ba>
20385 * configure.in: Added 'bs' to ALL_LINGUAS.
20387 2004-09-02 Colin Walters <walters@verbum.org>
20389 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20390 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20391 g_strdup_printf instead of arbitrarily sized buffers.
20393 2004-09-01 Colin Walters <walters@verbum.org>
20395 * NetworkManager.pc.in: New file.
20397 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20399 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
20401 * configure.in: Punjabi(pa) is added to po/.
20403 2004-08-31 Dan Williams <dcbw@redhat.com>
20405 * Remove 'debug' extern global from all files since we now
20408 * src/NetworkManager.[ch]
20409 - Break out routine that get the net.interface property from HAL,
20410 removing that logic from nm_create_device_and_add_to_list()
20411 - (nm_create_device_and_add_to_list): make this a bit more general so
20412 it doesn't do the talking to HAL. Also add arguments to facilitate
20413 the create of test devices.
20414 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20415 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20416 which makes NetworkManager listen for dbus commands to create test
20417 devices, which have no backing hardware. Use when you're on a plane
20418 for example, and/or forgot your wireless card at home. Test devices
20419 _cannot_ be created unless NM is started with --enable-test-devices.
20421 * src/NetworkManagerDbus.[ch]
20422 - New "getLinkActive" method for devices
20423 - New "setLinkActive" method for devices (only works on test devices)
20424 - New "createTestDevice" method on NetworkManager object to create a test
20425 device of a specified type (ie wired, wireless). UDI is created from
20426 scratch, as is the interface name. Only works when NM is started with
20427 --enable-test-devices switch.
20428 - New "removeTestDevice" method on NetworkManager object which removes a
20429 test device. Only works when NM is started with --enable-test-devices
20431 * src/NetworkManagerDevice.[ch]
20432 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
20433 whether a device is a test device or not, and what its link status is.
20434 - Deal with test devices in most functions. For those that work directly on hardware
20435 special-case test devices.
20436 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20438 - (nm_device_update_link_active): split out logic for wired and wireless device link
20439 checking to separate functions to facilitate test device link checking.
20440 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20441 don't make a distinction between System Authentication and Encryption
20442 (namely Cisco aironet), we use Open System auth when setting a WEP key
20443 on the card. We don't deal with Shared Key auth yet.
20444 - (nm_device_activation_worker): split the activation cancel check logic out into
20445 a separate routine nm_device_activation_cancel_if_needed()
20446 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20447 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20448 a list of fake access points that they can "see"
20449 - (nm_device_is_test_device): return whether or not a device is a test device
20451 * src/NetworkManagerPolicy.c
20452 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20453 previously if you "locked"/forced NM to use a wireless device but then
20454 selected a wireless network for NM to use, it would switch to a wired device.
20455 So, if the active device is wireless and it has a "forced" best AP, use it
20456 if the "forced" best AP is still valid
20457 - (nm_state_modification_monitor): deal with NULL best devices, for example
20458 there were no usable network devices, or the last one was removed
20460 * src/backends/NetworkManager*.c
20461 - Deal with test devices, mostly just return success for operations like getting
20464 * test/nmtestdevices.c
20465 - Test tool to create/remove/link-switch test devices
20467 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20469 * examples/python/NetworkManager.py:
20470 added convience functions has_wired_device and has_wireless_device
20472 * examples/python/systray/network_tray.py:
20473 cleaned up a bunch of cruft, added support for listing wireless
20474 networks just like the real applet. This is probably all I'm
20475 going to work on this applet from now on.
20476 TODO: add support for actually changing networks and devices
20478 * examples/python/NetworkManager.py (NetworkManager.get_device):
20479 changed "nm.networks" into a dict from a list so I can store all
20480 the cool information about networks in there
20482 * examples/python/systray/network_tray.py:
20483 Added nice message when you try to run without running make first
20485 * examples/python/NetworkManager.py:
20486 Bug fixes to the code so we get all the device information
20487 that we need in get_device()
20489 * examples/python/NMTester.py:
20490 Fixed _print_device_list to print_device_list
20492 2004-08-29 Seth Nickell <seth@gnome.org>
20496 Actually properly setup the Debian backend in configure.
20498 2004-08-29 Colin Walters <walters@verbum.org>
20500 * test/nminfotest.c: Include string.h and stdlib.h.
20501 (get_network_string_property, get_networks_of_type): Return NULL.
20503 * test/nmclienttest.c (get_device_name, get_active_device): Return
20506 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20507 use strlen, fgets always NULL-terminates the string.
20509 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20510 dbus_message_get_member): Remove /* in comment.
20512 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20514 * src/NetworkManager.c (quit): Unused, delete.
20515 (nm_data_free): Cast arg to GFunc.
20517 * panel-applet/NMWirelessAppletDbus.c: Need to include
20518 string.h, and dbus-glib-lowlevel.h (the latter is needed
20519 for dbus_connection_setup_with_g_main at present).
20520 (nmwa_dbus_update_wireless_network_list): Parenthesize
20521 assignment in conditional.
20522 (nmwa_dbus_worker): Return NULL.
20524 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20525 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20526 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20527 (nmwa_populate_menu): Return NULL on failure, instead of just
20530 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20532 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20535 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20538 2004-08-29 Colin Walters <walters@verbum.org>
20540 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20541 a GTimeVal instead of time_t. This is easier to work with,
20542 since time_t may be a long or double, we don't know.
20544 * src/NetworkManagerDbus.h: Update prototype.
20546 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20548 (nm_ap_get_timestamp): Update to return GTimeVal.
20549 (nm_ap_set_timestamp): Update to take GTimeVal.
20551 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20552 to handle GTimeVal.
20554 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20556 (nm_ap_list_print_members): Fix warnings in printf format.
20558 2004-08-29 Colin Walters <walters@verbum.org>
20560 * panel-applet/NMWirelessApplet.c: Include config.h.
20562 2004-08-29 Colin Walters <walters@verbum.org>
20564 * configure.in: Generate config.h.
20566 * configure.in: Dump dependency on OpenSSL; we can't
20567 use it since this package is GPL:
20568 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20569 Instead, check for libgcrypt, use it if available,
20570 otherwise use included MD5 code.
20572 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20573 Suck in from gnome-keyring, munge a bit.
20575 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20576 gnome-keyring-md5.h gnome-keyring-md5.c.
20577 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20579 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20580 libgcrypt or included gnome-keyring md5 bits.
20581 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20583 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20585 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20587 2004-08-27 Bryan Clark <bclark@redhat.com>
20589 * examples/python/systray/Makefile:
20591 Updated the clean section
20593 * examples/python/systray/trayiconmodule.c:
20594 * examples/python/systray/trayicon.override:
20595 * examples/python/systray/network_tray.py:
20596 * examples/python/systray/eggtrayicon.h:
20597 * examples/python/systray/eggtrayicon.c:
20598 * examples/python/systray/Makefile:
20599 * examples/python/README:
20600 * examples/python/NetworkManager.py:
20601 * examples/python/NMTester.py:
20603 Initial commit of these python example files
20605 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20607 * panel-applet/NMWirelessApplet.c
20608 - Make current device bold
20609 - Show more user-friendly device name if we got one from hal
20611 * panel-applet/NMWirelessAppletDbus.c
20612 - Grab "info.product" key from hal for network devices
20613 - Cache the current active device
20615 2004-08-27 Adam Weinberger <adamw@gnome.org>
20617 * configure.in: Added en_CA to ALL_LINGUAS.
20619 2004-08-27 Christian Rose <menthos@menthos.com>
20621 * configure.in: Added "sv" to ALL_LINGUAS.
20623 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20625 * Tag NetworkManager-0.2
20627 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
20629 * initscripts/Makefile.am
20630 * configure.in: Make pass distcheck
20632 * po/ChangeLog: added
20634 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20636 * panel-applet/NMWirelessApplet.c
20637 - Remove debugging code
20638 - Enable device switching from menus
20640 * panel-applet/NMWirelessAppletDbus.[ch]
20641 - Method for asking NM to switch devices
20643 * src/NetworkManagerDevice.c
20644 - Set dev->activating earlier, avoids race between
20645 the dbus signal of "DeviceActivating" and setting
20646 dev->activating (which is what NM's "status" method call
20649 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20651 * panel-applet/NMWirelessApplet.[ch]
20652 - Rework menu code to add devices to menu, and to show
20653 signal strength for each access point. Code cleanups
20656 * panel-applet/NMWirelessAppletDbus.c
20657 - Grab network devices from NetworkManager too
20658 - Grab quality information from NM for wireless networks
20660 * src/NetworkManagerDbus.[ch]
20661 - Add dbus methods for getting the HAL UDI from a device and
20662 for getting its base quality, if its wireless
20663 - Consolidate some functions (wireless network notifications,
20664 device notifications)
20665 - Add method for requesting NM to use a particular device
20667 * src/NetworkManager.c
20668 - Change for function consolidations from NetworkManagerDbus.c
20669 - Implement active device locking and user-requested devices
20670 (ie, tell NM to use a particular device instead of the one
20673 * src/NetworkManagerDevice.c
20674 - Add method for getting the base quality of a device, if its
20676 - Grab device base quailty info from iwlib during scans
20678 * src/NetworkManagerPolicy.c
20679 - Use a user-requested device rather than the auto-chosen device
20682 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
20684 * Makefile.am: add po as a supdir
20686 * autogen.sh: use gnome-autogen.sh
20688 * initscript/Gentoo/.cvsignore:
20689 * initscript/RedHat/.cvsignore: Shut up cvs
20691 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20693 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20694 (nmwa_fill): Use gettext.
20696 * configure.in: add gettext support
20698 * po/NetworkManager.pot:
20701 2004-08-26 Seth Nickell <seth@gnome.org>
20703 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20704 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20705 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20706 (nmwa_dispose_menu_items), (nmwa_populate_menu),
20707 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20708 * panel-applet/NMWirelessApplet.h:
20710 Use a menu bar instead of a button for the main clickable
20713 2004-08-25 Dan Williams <dcbw@redhat.com>
20715 * src/NetworkManagerDevice.c
20716 - (nm_device_set_enc_key): always set device to "open" mode instead of
20717 turning encryption off, because the Cisco driver doesn't associate
20718 with WEP-enabled access points unless we are in "open"
20720 2004-08-25 Dan Williams <dcbw@redhat.com>
20722 * src/NetworkManagerWireless.c
20723 - Don't try to defererence blank passphrases
20725 2004-08-25 Dan Williams <dcbw@redhat.com>
20727 * panel-applet/NMWirelessApplet.c
20728 - Rebuild the menu whenever a user clicks
20730 2004-08-25 Dan Williams <dcbw@redhat.com>
20732 * panel-applet/NMWirelessApplet.c
20733 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20734 when NM isn't around or when its not connected
20736 * src/NetworkManagerDevice.c
20737 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20740 2004-08-25 Dan Williams <dcbw@redhat.com>
20742 * panel-applet/NMWirelessAppletDbus.c
20743 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20744 for getting encryption, and don't stop on "val" once we've gotten it
20745 from NetworkManager. Short form: encryption should now show up.
20747 2004-08-25 Dan Williams <dcbw@redhat.com>
20749 * panel-applet/NMWirelessApplet.c
20750 - Set ESSID on a gconf trusted network too when force-setting the wireless
20751 network to associate with
20753 2004-08-25 Dan Williams <dcbw@redhat.com>
20756 - Rework the panel applet to do all DBUS communication in a separate
20759 2004-08-25 Dan Williams <dcbw@redhat.com>
20761 * info-daemon/NetworkManagerInfo.[ch]
20762 - Remove "get_next_priority" function
20764 * info-daemon/NetworkManagerInfoDbus.[ch]
20765 - Convert "priority" functions to "timestamp"
20767 2004-08-25 Dan Williams <dcbw@redhat.com>
20769 * src/NetworkManagerAP.[ch]
20770 - Add a "enc_method_good" member and accessors to an Access Point
20771 to signal when we've found the correct encryption method
20772 for an access point
20773 - Add a "timestamp" member and accessors, remove "priority" member
20774 and accessors (use timestamps instead)
20775 - Rename "wep_key"->"enc_key"
20776 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20777 for a specified encryption method using the access points
20778 source encryption key/passphrase
20780 * src/NetworkManagerAPList.c
20781 - When updating a network with dbus, grab timestamp now instead of
20784 * src/NetworkManagerDBus.[ch]
20785 - Add signal for "DeviceActivating"
20786 - Switch priority->timestamp
20788 * src/NetworkManagerDevice.c
20789 - Change references of "wep_key" -> "enc_key" or "key"
20790 - Signal DeviceActivating when starting activation
20791 - When activating a wireless device, if the access point we are connecting
20792 to is encrypted, and we have a source key, try to generate a mangled
20793 key and use that (ie, generate real WEP key from a passphrase)
20794 - Rework device activation to fallback to other encryption methods if
20795 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20796 first, then if that doesn't work fall back to direct hex key).
20797 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20798 priority. We now prefer the latest access point used, rather than using
20800 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20801 points we've just discovered, and merge in correct info from the global
20804 2004-08-25 Seth Nickell <seth@gnome.org>
20806 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20810 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20811 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20812 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20813 (nm_system_delete_default_route),
20814 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20815 (nm_system_load_device_modules):
20817 2004-08-24 Dan Willemsen <dan@willemsen.us>
20819 * src/NetworkManager.c
20820 src/backends/NetworkManagerGentoo.c
20821 src/backends/NetworkManagerRedHat.c
20822 src/backends/NetworkManagerSystem.h
20823 - Implement preliminary Gentoo support, adding a
20824 nm_system_init function to the backend specification
20827 - Distribution auto-detection, lowercase any user-fed
20830 * initscript/.cvsignore
20831 initscript/Makefile.am
20832 initscript/RedHat/Makefile.am
20833 initscript/RedHat/NetworkManager
20834 initscript/Gentoo/Makefile.am
20835 initscript/Gentoo/NetworkManager
20836 - Refactored initscript code separately for each
20839 2004-08-23 Dan Williams <dcbw@redhat.com>
20843 src/NetworkManagerDevice.c
20844 src/NetworkManager.c
20845 src/NetworkManagerUtils.[ch]
20846 src/backends/NetworkManagerSystem.h
20847 src/backends/NetworkManagerRedHat.c
20848 src/backends/NetworkManagerGentoo.c
20849 - Refactor system-specific code into separate backends for
20852 2004-08-23 Dan Willemsen <dan@willemsen.us>
20854 * dispatcher-daemon/NetworkManagerDispatcher.c
20855 info-daemon/NetworkManagerInfo.[ch]
20856 info-daemon/NetworkManagerInfoDbus.c
20857 info-daemon/NetworkManagerInfoPassphraseDialog.c
20858 src/NetworkManager.c
20859 src/NetworkManagerAP.c
20860 src/NetworkManagerAPList.c
20861 src/NetworkManagerDbus.c
20862 src/NetworkManagerDevice.c
20863 src/NetworkManagerPolicy.c
20864 src/NetworkManagerUtils.[ch]
20865 src/NetworkManagerWireless.c
20866 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20868 * src/NetworkManager.c
20869 - Fixed usage wording for --no-daemon
20871 2004-08-23 Dan Williams <dcbw@redhat.com>
20873 * panel-applet/NMWirelessApplet.c
20874 - Update our state every second to get more responsive panel icon
20875 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20876 was causing our marching ants status blips to never move when
20877 looking for a wireless network
20879 * src/NetworkManagerDevice.c
20880 - (nm_device_activation_begin): return if activation has already begun
20881 - (nm_device_do_normal_scan): merge WEP key and priority from the
20882 trusted/preferred network into the device's access point when the
20883 scan list is processed
20885 2004-08-23 Dan Williams <dcbw@redhat.com>
20887 * initscript/NetworkManager
20888 - Use NMLaunchHelper rather than sleeping
20890 * initscript/NMLaunchHelper.c
20892 - Add helper program that exits only when NM activates a device,
20893 or 10 seconds have passed, whichever happens first. This
20894 stops the boot processes until we have a network connection,
20895 which NM can't do because it daemonizes and brings the connection
20896 up in the background. Allows stuff like NFS to not die.
20898 2004-08-20 Dan Williams <dcbw@redhat.com>
20900 * info-daemon/NetworkManagerInfoPassphraseDialog.c
20901 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20902 for a network, set the essid as well since it may not exist yet
20903 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20904 since WEP keys/passphrases are long and prone to entry-error
20906 * panel-applet/Makefile.am
20907 panel-applet/wired.png
20908 - Add (pulled from system-config-network temporarily)
20910 * panel-applet/NMWirelessApplet.[ch]
20911 - Show wired picture when a wired connection is used
20912 - Rename wireless icon enums, adding WIRELESS
20914 * src/NetworkManagerDevice.c
20915 - (nm_device_activate_wireless): unset encryption before bringing
20916 down the card and setting the essid
20917 - (nm_device_activatin_worker): request a key from the user if the
20918 AP we are connecting to is encrypted but we don't have a key
20920 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20921 strcmp() that prevented a user-entered key from actually getting
20924 2004-08-16 Dan Williams <dcbw@redhat.com>
20926 * initscript/NetworkManager
20927 - Check for /sbin/ip
20928 - Do sysctl magic that network service does
20929 - sleep 4s after start to allow network time to come up [hack]
20933 - Load all network device kernel modules (hal doesn't know devices
20934 are ethernet until the module is loaded, and therefore we don't know)
20936 * src/NetworkManager.c
20937 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20938 network devices, and bring up the loopback device explicitly
20940 * src/NetworkManagerUtils.[ch]
20941 - (nm_enable_loopback): new function
20943 2004-08-13 Dan Williams <dcbw@redhat.com>
20946 panel-applet/Makefile.am
20947 - Fix up cleanfiles and server_DATA/server_in_files
20950 - Update with some comments on theory of operation
20956 2004-08-12 Dan Williams <dcbw@redhat.com>
20958 * info-daemon/passphrase.glade
20959 - Set window title to " "
20961 * panel-applet/Makefile.am
20962 panel-applet/keyring.png
20963 - Deliver to correct place
20965 * panel-applet/NMWirelessApplet.[ch]
20967 - Remove applet->have_active_device as its no longer used
20968 - (nmwa_load_theme): load keyring.png too
20969 - (error_dialog): remove
20970 - (show_warning_dialog): subsume functionality of error dialog too
20971 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20972 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20974 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20975 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20976 and when we get broadcasts of changed wireless access points only, not when the
20977 user clicks on the button to display the menu (too long of a wait)
20978 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20979 networks that are encrypted
20980 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20981 menu item with g_object_set_data()
20983 * panel-applet/NMWirelessAppletDbus.[ch]
20984 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20985 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20986 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20987 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20988 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20989 activation/deactivation signals and rebuild the menu when they happen
20991 * src/NetworkManager.c
20992 - (main): use new nm_spawn_process() rather than system()
20994 * src/NetworkManagerDbus.c
20995 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20996 instead. Since we can now force best_aps to stick around, the AP structure to which
20997 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20998 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
20999 to freeze the best_ap.
21001 * src/NetworkManagerDevice.[ch]
21002 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21003 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21004 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21007 * src/NetworkManagerUtils.[ch]
21008 - (nm_spawn_process): add replacement for system() usage
21010 2004-08-11 Dan Williams <dcbw@redhat.com>
21012 * panel-applet/NMWirelessApplet.[ch]
21013 - Fix up copyright and credits to include Bastien and Eskil,
21014 who created the gnome-applets wireless applet, from whose
21015 skeleton this one was created
21016 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21017 pixmap to draw is computed during nmwa_update_state()
21018 - Applet now shows itself all the time due to panel packing issues
21019 which caused the applet to previously never come back after hiding.
21020 When a wired device is the active device, the applet shows "not connected"
21022 * panel-applet/NMWirelessAppletDbus.[ch]
21023 - Clean up error messages and show what function they are from
21024 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21025 - Add new device type getters, and a status getter
21027 * src/NetworkManagerDbus.c
21028 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21029 network is actually in the device's ap list
21030 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21032 * src/NetworkManagerDevice.c
21033 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21036 * test/nmclienttest.c
21037 - Report status of NetworkManager too
21039 2004-08-11 Dan Williams <dcbw@redhat.com>
21041 * info-daemon/NetworkManagerInfo.c:
21042 - (main): clean up Seth's code style
21044 * info-daemon/NetworkManagerInfoDbus.c:
21045 - Use the more aptly-named path/service/interface constants from NetworkManager
21046 - Don't return empty strings ("") as object paths ever, instead return errors
21048 * panel-applet/NMWirelessApplet.c:
21049 - Clean up Seth's code style
21051 * src/NetworkManager.[ch]
21052 - (nm_remove_device_from_list): remove anything having to do with pending_device
21053 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21055 * src/NetworkManagerAPList.[ch]
21056 - Move Iter struct right above the iter functions to preserve opacity
21057 - (nm_ap_list_remove_ap): implement
21058 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21059 remove AP if NetworkManagerInfo doesn't know anything about it
21060 - (nm_ap_list_diff): user NMAPList iterators
21061 - (nm_ap_list_print_members): implement debugging function
21063 * src/NetworkManagerDbus.[ch]
21064 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21065 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21066 and move the actual key setting stuff into NetworkManagerDevice.c
21067 - (nm_dbus_get_network_priority): return -1 now on errors
21068 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21069 get lost, and force the active device to update its "best" ap when AP lists change
21070 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21071 method call due to pending_device member removal
21073 * src/NetworkManagerDevice.[ch]
21074 - Move NMDevice structure to the top
21075 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21076 - Remove Pending Action stuff from everywhere
21077 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21078 activation for us. This thread blocks until all conditions for activation have
21079 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21080 then setup up the interface and runs dhclient. We have to do this because there
21081 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21082 run our main loop and respond to dbus method calls or HAL device removals/inserts
21083 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21084 can tell nm_device_activation_worker() that we've got a key
21085 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21086 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21087 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21088 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21090 * src/NetworkManagerPolicy.c
21091 - Remove anything to do with pending_device
21092 - Adjust device activation to deal with activation-in-worker-thread
21094 * src/NetworkManagerUtils.c
21095 - Clean up locking debugging a bit
21097 * src/NetworkManagerWireless.[ch]
21098 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
21099 was badly named and is better as a device function
21101 * panel-applet/.cvsignore: add
21103 2004-08-09 Seth Nickell <seth@gnome.org>
21105 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21106 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21108 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21110 Don't load the menus until clicked on (also removes a call outside
21111 normal code paths at first load).
21113 Hide applet when NM is not present.
21115 Improve printf debugging stuff.
21117 2004-08-09 Dan Williams <dcbw@redhat.com>
21119 * dispatcher-daemon/NetworkManagerDispatcher.c:
21120 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21121 - Use constants for NetworkManager interface, service, and path
21123 2004-08-09 Dan Williams <dcbw@redhat.com>
21125 * src/NetworkManagerDbus.c:
21126 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21127 instead return an error message
21128 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21129 on a wired device. Also never return an empty object path, instead return an error message
21131 2004-08-06 Seth Nickell <seth@gnome.org>
21133 * panel-applet/NMWirelessApplet.c: (nmwa_new):
21135 Check the error code when getting a connection.
21137 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21139 Check if the NM service exists when initializing (rather than
21140 assuming it does not).
21142 * src/NetworkManagerDbus.c: (nm_dbus_init):
21144 Don't acquire the well-known service name until we have
21145 registered object/path handlers and can actually receive
21148 2004-08-06 Dan Williams <dcbw@redhat.com>
21153 * src/NetworkManagerPolicy.c
21154 src/NetworkManager.c
21155 - Get access point lists from NetworkManagerInfo on-demand,
21156 and look for ServiceCreate/ServiceDeleted signals to see when
21157 we should query NMI for lists
21158 * src/NetworkManagerAPList.c
21159 - Make sure to init the list's mutex
21160 - Convert traversals of the list over to the list iter functions
21162 * src/NetworkManagerDbus.[ch]
21163 - Use more aptly-named path/service/interface constants
21164 - Treat both active and pending devices the same for "getActiveDevice"
21165 - Add a "status" method returning "connected", "connecting", or "disconnected"
21167 * src/NetworkManagerDevice.c
21168 - Honor "ignored" network list when picking best ap to use
21170 2004-08-06 Seth Nickell <seth@gnome.org>
21174 Autogenerated, remove from CVS.
21178 Don't hardcode automake version.
21181 * info-daemon/Makefile.am:
21182 * info-daemon/NetworkManagerInfo.c: (main):
21184 Use GnomeProgram et al. for doing session management.
21185 Use popt stuff for argument parsing rather than doing
21188 2004-08-05 Dan Williams <dcbw@redhat.com>
21190 * test/nminfotest.c
21191 - Update to new NMI dbus API, check different network types
21193 * info-daemon/NetworkManagerInfoDbus.c
21194 - Update to new NM dbus API, ie network type sent in query message
21196 2004-08-05 Dan Williams <dcbw@redhat.com>
21198 * An assload of changes
21200 2004-08-02 Dan Williams <dcbw@redhat.com>
21203 - new task: proper logging support
21205 * info-daemon/NetworkManagerInfo.c
21206 - Correct spelling of "canceled"
21207 - Correct casting of objects for g_signal_connect()
21209 * info-daemon/NetworkManagerInfoDbus.c
21210 - Add defines for NetworkManager namespace and object path, and use them
21211 - Add filter function to trap new signals from NetworkManager:
21212 WirelessNetworkAppeared, WirelessNetworkDisappeared
21214 * info-daemon/passphrase.glade
21215 - Change name of "ok" button to "Login to Network..."
21218 * src/NetworkManager.c
21219 - Code and debug message cleanups
21220 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21221 - (nm_add_initial_devices) Check returned string array of devices
21222 and don't try to add devices if array is NULL
21223 - (main) Initialize libhal a bit later, make code a bit clearer
21225 * src/NetworkManagerAP.[ch]
21226 - New accessor and data member "matched": used to speed up AP list
21228 - New accessor and data member "enc_method": will be used during key
21229 fallback to cache which passphrase->key conversion actually works
21230 so we don't have to do it every time
21232 * src/NetworkManagerAPList.[ch]
21233 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21234 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21235 between them, and send WirelessNetworkAppeared/Disappeared signals over
21236 dbus in response to those differences
21238 * src/NetworkManagerDbus.[ch]
21239 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21240 make an object path for that access point (NOTE that we don't yet check to
21241 make sure that access point is actually in the device's AP list yet)
21242 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21243 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21244 New: signal appearance/disappearance of wireless networks
21245 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21248 * src/NetworkManagerDevice.[ch]
21249 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21250 - (nm_device_ap_list_get) New: return the AP list (static function)
21251 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21252 new one resulting from the scan with the old one
21254 * src/NetworkManagerWireless.c
21255 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21257 * test/nminfotest.c
21258 - #define object paths and namespaces and use the #defines rather than static strings
21259 - Test out user-key functionality of NetworkManagerInfo too
21261 2004-07-29 Dan Williams <dcbw@redhat.com>
21263 * info-daemon/NetworkManagerInfoDbus.c
21264 src/NetworkManagerDbus.c
21265 - Update to current DBus (ie don't use decomposed paths when registering
21266 object paths/fallbacks)
21268 2004-07-27 Dan Williams <dcbw@redhat.com>
21270 * Remove various Makefile.in files
21273 - Add some more items
21276 - Add checks for OpenSSL/md5 headers and libs
21279 - Use OpenSSL CFLAGS
21281 * src/NetworkManagerAP.[ch]
21282 - Remove 'stamp' functions, replace with 'invalid' functions
21283 to support user cancelling WEP key entry
21285 * src/NetworkManagerDbus.c
21286 - Remove 'stamp' return functions
21287 - Treat returned user key as a passphrase and convert to a WEP key,
21288 but don't actually use the WEP key yet. We use the returned user
21289 key as a hexadecimal WEP key until we can figure out a UI for
21290 passphrase-vs-hex key
21292 * src/NetworkManagerWireless.[ch]
21293 - Add passphrase-to-128bit-key function
21295 2004-07-27 Dan Williams <dcbw@redhat.com>
21298 - Add a couple of items
21300 2004-07-27 Dan Williams <dcbw@redhat.com>
21302 * info-daemon/NetworkManagerInfo.c
21303 - Update allowed network's GConf key when user enters a WEP key explicitly
21305 * info-daemon/NetworkManagerDbus.c
21306 - Fix some comments
21307 - nmi_dbus_get_allowed_networks(): kill warning
21309 2004-07-27 Dan Williams <dcbw@redhat.com>
21311 * initscript/Makefile.in
21314 * initscript/Makefile.am
21315 - Add correct rules to install the init.d initscript
21317 * info-daemon/NetworkManagerInfoDbus.c
21318 - Remove debug fprintf
21320 * src/NetworkManagerDbus.[ch]
21321 - Remove debug fprintfs
21322 - Add macros for NetworkManagerInfo object path/namespace
21323 - Use said macros instead of constant strings
21325 2004-07-27 Dan Williams <dcbw@redhat.com>
21327 * initscript/.cvsignore
21330 * info-daemon/Makefile.am
21331 - Install .glade files and keyring.png
21332 - Fix stupid omission of a \ that caused half the flags not to be
21335 * info-daemon/NetworkManagerInfo.c
21336 - gtk_signal_connect->g_signal_connect
21337 - Alert NetworkManagerInfo to new glade file location
21339 2004-07-27 Dan Williams <dcbw@redhat.com>
21341 * test/nmclienttest.c
21343 - Add missing <dbus/dbus.h> headers
21344 - Add GPL message at top
21346 2004-07-27 Dan Williams <dcbw@redhat.com>
21348 * src/NetworkManagerAPList.[ch]
21350 - Add. Deal with allowed network list additions, deletions, and updates
21352 * dispatcher-daemon/NetworkManagerDispatcher.c
21353 - Add missing <dbus/dbus.h> header
21355 * info-daemon/NetworkManagerInfo.[ch]
21356 - Add missing <dbus/dbus.h> header
21357 - Implement the GConf notify callback to signal NetworkManager of an allowed
21359 - Better error checking
21361 * info-daemon/NetworkManagerInfoDbus.[ch]
21362 - Add missing <dbus/dbus.h> header
21363 - Convert to using dbus_message_append_args/dbus_message_get_args
21364 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21365 that an allowed network changed. We don't want to signal on individual
21366 keys _inside_ an allowed network really, just want NM to query the info
21367 daemon for updated info on all keys.
21368 - Better error checking
21370 * src/NetworkManager.[ch]
21371 - Add missing <dbus/dbus.h> header
21372 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21373 - Zero out NMData structure on free
21374 - No longer use a thread for allowed_ap_list updating, instead its now done
21375 through dbus queries against NetworkManagerInfo
21376 - Populate allowed_ap_list initially before adding existing network devices
21377 to the device list, so wireless devices can get their "best" AP
21379 * src/NetworkManagerDbus.[ch]
21380 - Convert to using dbus_message_append_args/dbus_message_get_args
21381 - Better error checking
21382 - Implement Allowed Network info functions to request allowed network
21383 info from NetworkManagerInfo
21384 - Implement the filter function to process signals from NetworkManagerInfo
21385 about changing allowed networks
21387 * src/NetworkManagerDevice.c
21388 - Fix file descriptor leak in nm_device_update_ip4_address()
21390 2004-07-27 Dan Williams <dcbw@redhat.com>
21395 dispatcher-daemon/.cvsignore
21396 info-daemon/.cvsignore
21397 - Add .cvsignore files to reduce noise when diffing
21399 2004-07-24 Dan Williams <dcbw@redhat.com>
21401 * src/NetworkManager.[ch]
21402 src/NetworkManagerDbus.[ch]
21403 src/NetworkManagerDevice.[ch]
21404 src/NetworkManagerPolicy.c
21405 src/NetworkManagerWireless.[ch]
21406 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21407 - Pass the NMData application data structure through all calls
21408 that need it so we can get rid of nm_get_global_data()
21409 - Change deallocation of the allowed_ap_list GSList in preparation
21410 for not completely clearing it every time we get an update,
21411 but instead getting incremental updates via GConf/dbus
21413 2004-07-22 Dan Williams <dcbw@redhat.com>
21416 - Add checks for GConf libs & headers & flags
21418 * info-daemon/Makefile.am
21419 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21421 * info-daemon/NetworkManagerInfo.[ch]
21422 - Don't use gquarks for data storage, just use normal data storage
21423 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21425 * info-daemon/NetworkManagerDbus.[ch]
21426 - Add method call for getting allowed networks
21427 - Add method calls for getting an allowed network's essid, priority, and key
21428 - Hook the method calls up to GConf
21429 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21430 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21432 * src/NetworkManagerDbus.[ch]
21433 - Switch for enumeration of networks to using essid instead
21437 - Add test program for NetworkManagerInfo
21439 2004-07-19 Dan Williams <dcbw@redhat.com>
21441 * src/NetworkManagerDbus.c
21442 - Switch from indexed device paths to names. Less code, more efficient.
21443 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21445 2004-07-19 Dan Williams <dcbw@redhat.com>
21447 * dispatcher-daemon/NetworkManagerDispatcher.c
21448 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21450 2004-07-19 Dan Williams <dcbw@redhat.com>
21453 - Add info-daemon directory
21456 - Check for glade libs and headers
21457 - Add info-daemon directory
21459 * src/NetworkManagerAP.c
21460 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21461 copied over to the new AP.
21463 * src/NetworkManagerDbus.c
21464 src/NetworkManagerDbus.h
21465 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21466 - Remove nm_dbus_signal_need_key_for_network()
21467 - Add disabled code for asynchronous user wep key callbacks
21468 - Add functions for getting, setting, and cancelling user key operations
21469 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21470 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21472 * src/NetworkManagerDevice.c
21473 src/NetworkManagerDevice.h
21474 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21475 logic is in device activation now
21476 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21477 key is wrong) trigger get-user-key pending action
21478 - Implement get-user-key pending action stuff, tie to dbus messages
21479 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21480 - Add nm_device_ap_list_get_ap_by_essid()
21481 - Instead of copying "best" access points, ref them instead so that the key we set
21484 * src/NetworkManagerPolicy.c
21485 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21486 - Don't cancel pending actions on a device if its the same device as last iteration
21487 - Only promote pending_device->active_device if activation was successfull
21490 - Rename nmclienttest->nmtest
21492 * info-daemon/Makefile.am
21493 info-daemon/NetworkManagerInfo.c
21494 info-daemon/NetworkManagerInfo.h
21495 info-daemon/NetworkManagerInfoDbus.c
21496 info-daemon/NetworkManagerInfoDbus.h
21497 info-daemon/passphrase.glade
21498 info-daemon/NetworkManagerInfo.conf
21499 info-daemon/keyring.png
21500 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21501 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21502 lists to NetworkManager by proxying user's GConf
21505 2004-07-15 Dan Williams <dcbw@redhat.com>
21510 * src/NetworkManager.c
21511 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21512 that doing the deactivation ourselves
21513 - Cancel an pending actions on a device if its being removed
21514 - Break up link state checking a bit, make non-active wireless cards
21515 deactivated to save power
21516 - Remove unused variables
21518 * src/NetworkManager.h
21519 - Add support for "pending" device
21521 * src/NetworkManagerAP.h
21522 src/NetworkManagerAP.c
21523 - Add support for determining whether and AP has encryption enabled or not
21524 - AP address is now "struct ether_addr" rather than a string
21526 * src/NetworkManagerDbus.h
21527 src/NetworkManagerDbus.c
21528 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21529 - Changes for AP address from struct ether_addr->string
21531 * src/NetworkManagerDevice.h
21532 src/NetworkManagerDevice.c
21533 - Remove unused variables, fix warnings
21534 - Add support for Pending Actions (things that block a device from being "active"
21535 until they are completed).
21536 - First pending action: Get a WEP key from the user
21537 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21538 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21539 - Update wireless link checking to try to determine if the AP we are associated
21540 with is correct, but the WEP key we are using is just wrong. If its wrong,
21541 trigger the GetUserKey pending action on the device
21542 - If dhclient can't get an IP address, it brings the device down. Bring it back
21543 up in that case, otherwise we can't scan or link-check on it
21544 - Add IP address change notifications at appropriate points (still needs some work)
21545 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21547 * src/NetworkManagerPolicy.h
21548 src/NetworkManagerPolicy.c
21549 - Split out "best" access point determiniation into separate function
21550 - Make device activation 2-stage: first the device is pending, then
21551 in the next iteration through it becomes "active" unless it has
21554 * src/NetworkManagerUtils.h
21555 src/NetworkManagerUtils.c
21556 - Clean up unused variables and warnings
21557 - Wrap our debug macros in {} to prevent possible confusion
21559 * src/NetworkManagerWireless.c
21560 - Forgot to return current best priority, which lead to last available AP always
21561 being chosen no matter what its priority was. Corrected.
21563 2004-07-15 Dan Williams <dcbw@redhat.com>
21565 * dispatcher-daemon/Makefile.am
21568 * dispatcher-daemon/NetworkManagerDispatcher.c
21569 - Remove unused variables due to warnings
21570 - Fix some comments
21571 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21573 2004-07-06 Dan Williams <dcbw@redhat.com>
21575 * src/NetworkManager.c
21576 - Add IPv4 address update for active device during link state check
21577 - Don't allow wireless cards to be powered up when they are not the
21580 * src/NetworkManagerDbus.c
21581 src/NetworkManagerDbus.h
21582 - Add DBUS IPv4 address change signal
21583 - Add DBUS IPv4 address get method for devices
21585 * src/NetworkManagerDevice.c
21586 - Make setting the WEP key actually work
21587 - Move IP address get/set/update stuff here, per-device
21588 - Power down/bring down wireless device when deactivated
21589 - For scanning wireless devices, if first scan returned ENODATA, try again
21591 * src/NetworkManagerPolicy.c
21592 - Only set the WEP key for an allowed access point if there is one.
21593 We were setting it to be blank if one wasn't specified.
21595 * src/NetworkManagerUtils.h
21596 src/NetworkManagerUtils.c
21597 - Move the IP address stuff to NetworkManagerDevice.c
21599 * dispatcher-daemon/NetworkManagerDispatcher.c
21600 - Add device IPv4 address change notification stuff
21602 2004-07-05 Dan Williams <dcbw@redhat.com>
21604 * dispatcher-daemon/NetworkManagerDispatcher.c
21605 - A bit more descriptive state message
21606 - Don't segfault when reading directory
21608 * src/NetworkManager.h
21609 - Remove NMData desired_ap member, its now
21610 per-device rather than global
21612 * src/NetworkManager.c
21613 - Remove references to desired_ap
21614 - Move the allowed AP list refresh stuff into a thread
21616 * src/NetworkManagerDevice.c
21617 src/NetworkManagerDevice.h
21618 - Each wireless device now has a "best ap"
21619 - Make device activate/deactivate functions per-device
21620 - Make wireless scanning per-device
21621 - Add IPv4 address discover functions, stub IPv6 ones
21622 - Move ethernet address validation functions to NetworkManagerUtils.c
21623 - Add wireless access point accessor function
21624 - Get/Set functions for "best ap"
21626 * src/NetworkManagerPolicy.c
21627 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21628 - Deal with per-device "best ap" rather than data->desired_apa
21629 - Implement allowed access point worker thread
21630 - Add nm_policy_essid_is_allowed() function
21632 * src/NetworkManagerUtils.c
21633 src/NetworkManagerUtils.h
21634 - Add nm_ethernet_address_is_valid() function
21635 - Add IPv4/IPv6 address get functions
21637 * src/NetworkManagerWireless.c
21638 src/NetworkManagerWireless.h
21639 - Move scanning stuff into NetworkManagerDevice.c, per-device
21641 2004-06-29 Dan Williams <dcbw@redhat.com>
21643 * dispatcher-daemon/NetworkManagerDispatcher.c
21644 - Implement script callout functionality
21646 2004-06-24 Dan Williams <dcbw@redhat.com>
21650 - Flush device routes and ip addresses when added to the device list
21652 * NetworkManagerDbus.c
21654 - Add missing returns in the two signal functions
21656 * NetworkManagerPolicy.c
21657 - Spacing and variable cleanups
21659 2004-06-24 Dan Williams <dcbw@redhat.com>
21664 dispatcher-daemon/Makefile.am
21665 dispatcher-daemon/Makefile.in
21666 dispatcher-daemon/NetworkManagerDispatcher.c
21667 - Add a daemon that receives signals from NetworkManager
21668 and will (eventually) call scripts in /etc/somewhere
21669 when devices go up or down.
21673 - Flush device routes and ip addresses when added to the device list
21675 * NetworkManagerDbus.c
21677 - Add missing returns in the two signal functions
21679 * NetworkManagerPolicy.c
21680 - Spacing and variable cleanups
21681 - Rename nm_policy_switch_interface->nm_policy_switch_device
21682 - nm_policy_switch_device():
21683 Use kill (pid) instead of system ("kill <pid>")
21684 - nm_state_modification_monitor():
21685 Add wireless essid to output of debug statements
21686 Correct typo in device compare to switch or not (should be !=)
21687 Don't sleep after sending "no longer active" signal, was useless
21689 2004-06-24 Dan Williams <dcbw@redhat.com>