1 2008-10-29 Dan Williams <dcbw@redhat.com>
3 * libnm-util/libnm-util.ver
4 libnm-util/nm-setting-ip4-config.c
5 libnm-util/nm-setting-ip4-config.h
6 - Make properties private and add accessor functions
8 * callouts/nm-dispatcher-action.c
9 libnm-glib/libnm-glib-test.c
11 src/NetworkManagerPolicy.c
12 src/NetworkManagerSystem.c
13 src/NetworkManagerUtils.c
14 src/dhcp-manager/nm-dhcp-dhclient.c
15 src/dhcp-manager/nm-dhcp-manager.c
16 src/dnsmasq-manager/nm-dnsmasq-manager.c
19 src/nm-hso-gsm-device.c
22 src/ppp-manager/nm-ppp-manager.c
23 src/vpn-manager/nm-vpn-connection.c
24 system-settings/plugins/ifcfg-fedora/reader.c
25 system-settings/plugins/ifcfg-suse/parser.c
26 system-settings/plugins/ifcfg-suse/plugin.c
27 system-settings/plugins/ifupdown/parser.c
29 vpn-daemons/vpnc/properties/nm-vpnc.c
30 - Use IP4 accessor functions
32 2008-10-29 Tambet Ingo <tambet@gmail.com>
34 Half of it by Dan Williams <dcbw@redhat.com>
36 * libnm-util/libnm-util.ver
37 libnm-util/nm-setting-vpn.c
38 libnm-util/nm-setting-vpn.h
39 - Make properties private and add accessor functions.
41 * src/vpn-manager/nm-vpn-connection.c
42 src/vpn-manager/nm-vpn-manager.c
43 system-settings/plugins/keyfile/reader.c
44 vpn-daemons/openvpn/properties/auth-helpers.c
45 vpn-daemons/openvpn/properties/import-export.c
46 vpn-daemons/openvpn/properties/nm-openvpn.c
47 vpn-daemons/openvpn/src/nm-openvpn-service.c
48 vpn-daemons/pptp/auth-dialog/main.c
49 vpn-daemons/pptp/properties/advanced-dialog.c
50 vpn-daemons/pptp/properties/nm-pptp.c
51 vpn-daemons/pptp/src/nm-pptp-service.c
52 vpn-daemons/vpnc/properties/nm-vpnc.c
53 vpn-daemons/vpnc/src/nm-vpnc-service.c
54 - Use VPN setting accessors.
56 2008-10-28 Dan Williams <dcbw@redhat.com>
58 Patch from Tambet Ingo <tambet@gmail.com>
60 * libnm-util/libnm-util.ver
61 libnm-util/nm-setting-wireless.c
62 libnm-util/nm-setting-wireless.h
63 - Make properties private and add accessor functions
65 * src/NetworkManagerAP.c
68 src/supplicant-manager/nm-supplicant-config.c
69 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
70 system-settings/plugins/ifcfg-fedora/reader.c
71 system-settings/plugins/ifcfg-suse/parser.c
72 system-settings/plugins/ifupdown/parser.c
73 - Use wireless setting accessors
75 2008-10-27 Dan Williams <dcbw@redhat.com>
77 Patch from Tambet Ingo <tambet@gmail.com>
79 * libnm-util/libnm-util.ver
80 libnm-util/nm-setting-ppp.c
81 libnm-util/nm-setting-ppp.h
82 - Make properties private and add accessor functions
84 * src/ppp-manager/nm-ppp-manager.c
85 - Use ppp setting accessors
87 2008-10-27 Dan Williams <dcbw@redhat.com>
89 Patch from Tambet Ingo <tambet@gmail.com>
91 * libnm-util/nm-setting.h
92 libnm-util/nm-setting.c
93 - Make properties private and add accessor functions
95 * libnm-util/nm-connection.c
96 libnm-util/nm-setting-8021x.c
97 libnm-util/nm-setting-cdma.c
98 libnm-util/nm-setting-connection.c
99 libnm-util/nm-setting-gsm.c
100 libnm-util/nm-setting-ip4-config.c
101 libnm-util/nm-setting-ip6-config.c
102 libnm-util/nm-setting-ppp.c
103 libnm-util/nm-setting-pppoe.c
104 libnm-util/nm-setting-serial.c
105 libnm-util/nm-setting-template.c
106 libnm-util/nm-setting-vpn.c
107 libnm-util/nm-setting-wired.c
108 libnm-util/nm-setting-wireless-security.c
109 libnm-util/nm-setting-wireless.c
110 system-settings/plugins/keyfile/reader.c
111 system-settings/plugins/keyfile/writer.c
112 - Use setting accessors
114 2008-10-27 Dan Williams <dcbw@redhat.com>
116 * libnm-util/libnm-util.ver
117 libnm-util/nm-setting-connection.c
118 libnm-util/nm-setting-connection.h
119 - Add a 'read-only' property that indicates the connection cannot be
122 * system-settings/plugins/ifcfg-fedora/reader.c
123 system-settings/plugins/ifcfg-suse/parser.c
124 system-settings/plugins/ifupdown/parser.c
125 - These plugins are read-only at the moment
127 * system-settings/plugins/keyfile/reader.c
128 system-settings/plugins/keyfile/writer.c
129 - Read-only shouldn't get saved out to files or read in from them
131 2008-10-27 Tambet Ingo <tambet@gmail.com>
133 * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
134 correct speed reporting for fast devices (kernel >= 2.6.27).
136 2008-10-26 Dan Williams <dcbw@redhat.com>
138 Attempt to compensate for modems that don't enable full AT parsing before
139 the PIN has been entered.
141 * src/nm-gsm-device.c
142 - (init_modem): accept different init strings
143 - (init_done): try different init strings on failure
144 - (check_pin_done): on PIN success, do full modem init
146 2008-10-26 Dan Williams <dcbw@redhat.com>
148 Patch from Tambet Ingo <tambet@gmail.com>
150 * libnm-util/libnm-util.ver
151 libnm-util/nm-setting-connection.c
152 libnm-util/nm-setting-connection.h
153 - Make properties private and add accessor functions
155 * src/NetworkManagerPolicy.c
157 src/nm-device-ethernet.c
158 src/nm-device-interface.c
162 src/ppp-manager/nm-ppp-manager.c
163 src/vpn-manager/nm-vpn-connection.c
164 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
165 system-settings/plugins/ifcfg-fedora/plugin.c
166 system-settings/plugins/ifcfg-fedora/reader.c
167 system-settings/plugins/ifcfg-suse/parser.c
168 system-settings/plugins/ifupdown/parser.c
169 system-settings/plugins/keyfile/nm-keyfile-connection.c
170 system-settings/plugins/keyfile/plugin.c
171 system-settings/plugins/keyfile/writer.c
172 system-settings/src/main.c
173 - Use those accessors
175 2008-10-26 Dan Williams <dcbw@redhat.com>
177 Patch from Tambet Ingo <tambet@gmail.com>
179 * libnm-util/libnm-util.ver
180 libnm-util/nm-setting-gsm.c
181 libnm-util/nm-setting-gsm.h
182 - Make properties private and add accessor functions
184 * src/nm-gsm-device.c
185 src/nm-hso-gsm-device.c
186 src/ppp-manager/nm-ppp-manager.c
187 - Use those accessors
189 2008-10-26 Dan Williams <dcbw@redhat.com>
191 Patch from Tambet Ingo <tambet@gmail.com>
193 * libnm-util/libnm-util.ver
194 libnm-util/nm-setting-cdma.c
195 libnm-util/nm-setting-cdma.h
196 - Make properties private and add accessor functions
198 * src/nm-cdma-device.c
199 src/ppp-manager/nm-ppp-manager.c
200 - Use those accessors
202 2008-10-26 Dan Williams <dcbw@redhat.com>
204 Patch from Tambet Ingo <tambet@gmail.com>
206 * libnm-util/libnm-util.ver
207 libnm-util/nm-setting-pppoe.c
208 libnm-util/nm-setting-pppoe.h
209 - Make properties private and add accessor functions
211 * src/nm-device-ethernet.c
212 src/ppp-manager/nm-ppp-manager.c
213 - Use those accessors
215 2008-10-26 Dan Williams <dcbw@redhat.com>
217 Patch from Tambet Ingo <tambet@gmail.com>
219 * libnm-util/libnm-util.ver
220 libnm-util/nm-setting-wired.c
221 libnm-util/nm-setting-wired.h
222 - Make properties private and add accessor functions
224 * src/nm-device-ethernet.c
225 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
226 system-settings/plugins/ifcfg-suse/parser.c
227 system-settings/src/main.c
228 - Use those accessors
230 2008-10-26 Dan Williams <dcbw@redhat.com>
232 Patch from Tambet Ingo <tambet@gmail.com>
234 * libnm-util/libnm-util.ver
235 libnm-util/nm-setting-serial.c
236 libnm-util/nm-setting-serial.h
237 src/nm-serial-device.c
238 - Make properties private and use accessors instead
240 2008-10-26 Dan Williams <dcbw@redhat.com>
242 * src/supplicant-manager/nm-supplicant-interface.c
243 src/supplicant-manager/nm-supplicant-interface.h
244 src/supplicant-manager/nm-supplicant-manager.c
245 src/supplicant-manager/nm-supplicant-manager.h
246 - Add state-to-string conversion functions
248 * src/nm-device-wifi.c
249 src/nm-device-ethernet.c
250 - Normalize state info logging and use strings instead of numbers
252 2008-10-26 Dan Williams <dcbw@redhat.com>
254 * src/NetworkManagerPolicy.c
255 - (update_routing_and_dns): ignore host routes when determining whether
256 a VPN connection should own the default route (bgo #552594)
258 2008-10-24 Dan Williams <dcbw@redhat.com>
260 * src/nm-gsm-device.c
261 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
263 2008-10-23 Dan Williams <dcbw@redhat.com>
265 * src/ppp-manager/nm-ppp-manager.c
266 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
267 add really important stuff to the command line to ensure that NM
268 overrides /etc/ppp/options (bgo #556781)
270 2008-10-22 Dan Williams <dcbw@redhat.com>
272 * src/NetworkManagerSystem.c
274 - Use the device's IP interface where appropriate (Per Hallsmark)
276 2008-10-22 Dan Williams <dcbw@redhat.com>
278 * src/nm-gsm-device.c
279 - (schedule_automatic_registration_again): use a short timeout here
280 instead of an idle handler to avoid using too much CPU polling for
281 something we should be waiting a bit for anyway
283 2008-10-22 Dan Williams <dcbw@redhat.com>
285 * include/NetworkManager.h
286 introspection/nm-device.xml
287 - Add device state change reason for carrier changes
289 * src/nm-device-ethernet.c
290 - (set_carrier): use the carrier change reason when changing device
291 state in response to carrier changes
293 2008-10-21 Dan Williams <dcbw@redhat.com>
295 * src/NetworkManagerPolicy.c
296 - (update_etc_hosts): don't leak errors, and ensure that
297 g_file_set_contents() gets a valid error placeholder (rh #461933)
299 2008-10-21 Dan Williams <dcbw@redhat.com>
302 - (free_get_settings_info): don't use the DBusGProxy which could be
303 disposed of by the time the function is called
304 - (internal_new_connection_cb): save connection scope
305 - (connection_get_settings_cb): don't replace a connection unless it's
306 actually different from the existing one; fixes an issue where
307 killing the settings service wouldn't deactivate an active connection
308 provided by that settings service, because it was using a connection
309 that had already been replaced in the system or user hash
311 2008-10-21 Dan Williams <dcbw@redhat.com>
313 * src/NetworkManager.c
314 - (main): keep the DHCP manager around since it's a singleton; fixes
315 a use-after-free exposed by r4196 since the DHCP manager singleton
316 variable isn't cleared when the DHCP manager object is finalized
318 2008-10-20 Dan Williams <dcbw@redhat.com>
320 * libnm-util/nm-setting-wireless-security.c
321 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
323 2008-10-20 Dan Williams <dcbw@redhat.com>
325 * src/supplicant-manager/nm-supplicant-config.c
326 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
328 2008-10-20 Dan Williams <dcbw@redhat.com>
330 * src/dhcp-manager/nm-dhcp-manager.c
331 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
332 manager object already refs it once
333 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
334 also get cleaned up by nm_dhcp_device_destroy() to prevent
337 2008-10-20 Dan Williams <dcbw@redhat.com>
340 - (initial_get_connections): use private dbus manager, don't keep
341 ref-ing the singleton. Fixes mismatched refcounts of the dbus
344 2008-10-18 Dan Williams <dcbw@redhat.com>
346 * libnm-glib/nm-settings.c
347 libnm-glib/nm-settings.h
348 - Rename the "get_secrets" virtual function "service_get_secrets" to
349 clarify when it's used; NMExportedConnetion is a base-class for both
350 the client and service side, which is sort of confusing, and
351 get_secrets only makes sense on the service side.
353 * libnm-glib/nm-dbus-connection.c
354 - (get_secrets): remove, unused, and clients need to do extra work to
355 get secrets anyway since the call can block on the remote side
357 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
358 system-settings/plugins/keyfile/nm-keyfile-connection.c
359 - Fix up for get_secrets -> service_get_secrets
361 2008-10-16 Dan Williams <dcbw@redhat.com>
363 * src/nm-device-wifi.c
364 - (constructor): correctly determine encryption capabilities
366 2008-10-15 Dan Williams <dcbw@redhat.com>
368 * src/nm-device-wifi.c
369 - (wireless_qual_to_percent): fix quality calculation in a fallback case
372 2008-10-15 Dan Williams <dcbw@redhat.com>
374 * src/NetworkManagerSystem.c
375 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
376 if the ip4_dest is in a smaller subnet contained within a subnet
377 the machine is currently on, the destination is in the same subnet
378 - (nm_system_device_set_ip4_route): move subnet checks to callers
379 - (add_vpn_gateway_route): check if the VPN gateway is in the same
380 subnet as the parent device, and if so, don't add the direct
381 host route via the parent device's gateway (bgo #481620)
382 - (nm_system_apply_ip4_config): check whether the route to be added
383 is contained within a subnet the device is already on
385 2008-10-11 Dan Williams <dcbw@redhat.com>
387 * include/NetworkManager.h
388 introspection/nm-device.xml
389 include/NetworkManagerVPN.h
390 - Add a few more state reasons for the device deactivated state
392 * src/nm-device-interface.c
393 src/nm-device-interface.h
394 - (nm_device_interface_deactivate): add a 'reason' argument
398 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
399 - (nm_device_state_changed): pass the state change reason to
400 nm_device_take_down()
401 - (nm_device_set_managed): take a 'reason' argument, and pass it along
402 to the state change function
406 - (remove_one_device, handle_unmanaged_devices, sync_devices,
407 impl_manager_sleep): pass a reason code to nm_device_set_managed()
408 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
409 something reasonable along to VPN deactivation
411 * src/vpn-manager/nm-vpn-manager.c
412 src/vpn-manager/nm-vpn-manager.h
413 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
414 pass that along to nm_vpn_connection_disconnect()
416 2008-10-11 Dan Williams <dcbw@redhat.com>
418 * src/nm-device-wifi.c
419 - (can_scan): remove old madwifi hack for not scanning while connected
421 2008-10-11 Dan Williams <dcbw@redhat.com>
423 Add support for VPN subnet gateways (bgo #549196)
425 * include/NetworkManager.h
426 - Add key for internal VPN subnet gateway
428 * src/vpn-manager/nm-vpn-connection.c
429 - (ip_address_to_string): return a const from a static buffer so we
430 don't leak a lot of strings
431 - (print_vpn_config): print internal VPN gateway as well
432 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
434 - (nm_vpn_connection_get_ip4_internal_gateway): new function
436 * src/NetworkManagerSystem.c
437 src/NetworkManagerSystem.h
438 - (nm_system_device_replace_default_ip4_route): split into two, one for
439 VPN connections and one for normal devices
440 - (replace_default_ip4_route): break out route stuff into its own function
441 - (nm_system_replace_default_ip4_route_vpn,
442 nm_system_replace_default_ip4_route): simplify by having two cases,
443 one for VPNs and one for normal devices
445 * src/NetworkManagerPolicy.c
446 - (update_routing_and_dns): simplify, use split default route replacement
449 2008-10-10 Dan Williams <dcbw@redhat.com>
451 Rework default route handling to consolidate decisions in the policy,
452 and to take active VPN connections into account when changing the default
455 * src/NetworkManager.c
456 - (main): pass the vpn_manager to the policy so it knows about active
457 VPN connections; clean up the named manager which wasn't done before
459 * src/NetworkManagerPolicy.c
460 src/NetworkManagerPolicy.h
461 - (nm_policy_new): get a clue about the vpn_manager
462 - (update_default_route): remove, fold into update_routing_and_dns()
463 - (update_routing_and_dns): handle active VPN connections too; an
464 active VPN connection becomes the default route if it does not have
465 server-specified or user-specified custom routes. Otherwise, the
466 best active device gets the default route
467 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
468 nm_policy_destroy): track VPN connection activation and deactivation
469 and update the default route when appropriate
471 * src/NetworkManagerSystem.c
472 src/NetworkManagerSystem.h
473 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
474 in the VPN connection itself
475 - (nm_system_vpn_device_set_from_ip4_config,
476 nm_system_device_set_from_ip4_config): merge together to make
477 nm_system_apply_ip4_config()
478 - (add_vpn_gateway_route): add a route to the VPN's external gateway
479 via the parent device
480 - (nm_system_apply_ip4_config): simplify
481 - (add_ip4_route_to_gateway): new function; add a direct route to the
483 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
484 route stuff out into add_ip4_route_to_gateway() for clarity
487 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
489 * src/vpn-manager/nm-vpn-connection.c
490 src/vpn-manager/nm-vpn-connection.h
491 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
492 nm_vpn_connection_get_parent_device): add
493 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
495 - (connection_state_changed): update the named manager now that
496 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
499 * src/vpn-manager/nm-vpn-manager.c
500 src/vpn-manager/nm-vpn-manager.h
501 - Add a 'connection-activated' signal
502 - (nm_vpn_manager_get_active_connections): new function; mainly for the
503 policy to find out about active VPN connections
505 2008-10-10 Tambet Ingo <tambet@gmail.com>
507 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
508 a daemon to prevent NM logging spew on console on startup and shutdown (due
509 to dependency loop between NM and syslog).
511 2008-10-10 Alexander Sack <asac@ubuntu.com>
513 Implement managed mode. We bind devices configured in /etc/network/interfaces
514 to their connections by updating wired/wireless setting with the
515 mac address of the device.
517 * system-settings/plugins/ifupdown/plugin.c
518 - (get_net_address_for_udi): implement function to retrieve MAC
519 address of udi from hal in GByteArray format
520 - (bind_device_to_connection): bind mac address of device to
521 wired/wireless system connection
522 - (hal_device_added_cb): call bind_device_to_connection for
523 system connections with a matching interface.name
524 - (hal_device_added_cb): ensure that all code paths
525 properly free the "iface" string.
527 2008-10-10 Alexander Sack <asac@ubuntu.com>
529 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
530 mode of the ifupdown system config plugin.
532 * system-settings/plugins/ifupdown/plugin.c
533 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
534 private unmanage_well_known state field accordingly
536 2008-10-10 Alexander Sack <asac@ubuntu.com>
538 Implement unmanaged mode that will prevent all devices in the
539 well_known_udis set from being touched by NetworkManager
541 * system-settings/plugins/ifupdown/plugin.c
542 - (typedef struct SCPluginIfupdownPrivate): add gboolean
543 unmanage_well_known field used to turn on/off unmanaged
545 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
546 signal when well_known_udis get added/removed
547 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
548 if we are in unmanaged mode
550 2008-10-10 Alexander Sack <asac@ubuntu.com>
552 Add support to track network devices that have a configuration
553 with a matching interface.name in /etc/network/interfaces
555 * system-settings/plugins/ifupdown/plugin.c
556 - (typedef struct SCPluginIfupdownPrivate): add hash table
557 to track |well_known_udis|
558 - (get_iface_for_udi): helper function to get interface.name
560 - (hal_device_added_cb, hal_device_removed_cb): callbacks
561 that add and remove devices to and from the well_known_udis
562 set depending on whether their |interface.name| matches
563 any interface definition in /etc/network/interfaces
564 - (SCPluginIfupdown_init): connect callbacks from above with
565 hal_mgr and setup well_known_udis hashtable
566 - (GObject__dispose): destroy well_known_udis hashtable
567 - (hal_device_added_cb2): implement wrapper callback with GFunc
568 signature. user_data is supposed to be a triple (hal_mgr,
570 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
571 startup and call hal_device_added_cb2
573 2008-10-10 Alexander Sack <asac@ubuntu.com>
575 Remove implementation for not used NMSystemConfigInterface callback functions
578 * system-settings/plugins/ifupdown/plugin.c
579 - (SCPluginIfupdown_unmanaged_devices_changed): removed
580 - (SCPluginIfupdown_connection_added): removed
582 2008-10-08 Dan Williams <dcbw@redhat.com>
584 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
586 * src/NetworkManagerUtils.c
587 - (nm_utils_call_dispatcher): add a 'hostname' action
589 * src/NetworkManagerPolicy.c
590 - (set_system_hostname): dispatch hostname changes
592 * callouts/nm-dispatcher-action.c
593 - (nm_dispatcher_action): handle 'hostname' actions
595 2008-10-08 Dan Williams <dcbw@redhat.com>
597 * src/NetworkManagerSystem.c
598 - (find_route): ref the route so it doesn't get destroyed when the cache
600 - (nm_system_device_set_priority): unref the route here after it's done
603 2008-10-08 Dan Williams <dcbw@redhat.com>
605 * src/nm-serial-device.c
606 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
608 2008-10-08 Tambet Ingo <tambet@gmail.com>
610 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
611 connection with new settings before saving it.
613 2008-10-06 Dan Williams <dcbw@redhat.com>
615 * src/nm-ip4-config.c
617 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
619 * src/nm-device-interface.c
620 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
621 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
622 by using '/' for the object path
625 - (src/nm-device.c): marshal missing/unexported ip4-config through
626 dbus as '/' since dbus-glib can't handle NULL objects nor can
627 dbus handle NULL object paths
629 2008-10-03 Alexander Sack <asac@ubuntu.com>
631 Implement system hostname support for debian/ubuntu
633 * system-settings/plugins/ifupdown/plugin.c
634 - (GObject__get_property): extend announced capabilities; add
635 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
636 - (GObject__set_property,write_system_hostname): implement
637 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
638 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
639 update_system_hostname, get_hostname):
640 implement hostname property that watches and
643 2008-10-03 Alexander Sack <asac@ubuntu.com>
645 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
646 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
647 system-settings/plugins/ifcfg-fedora/Makefile.am
648 system-settings/src/nm-inotify-helper.c
649 system-settings/src/nm-inotify-helper.h
651 - Move ifcfg-fedora inotify helpers to the system settings service so
652 they are available to all plugins
654 2008-10-03 Alexander Sack <asac@ubuntu.com>
656 Implement support for wep-tx-keyidx in ifupdown system
659 * system-settings/plugins/ifupdown/parser.c
660 - (update_wireless_security_setting_from_if_block): introduce
661 free_type_mapping func table; rename a few local
662 variables to improve readability; add wpa security mapping
663 for wep-tx-keyidx property
664 - (string_to_gpointerint): new function used for the auto_type_mapping
665 of new wep-tx-keyidx property
666 - (slist_free_all): free func used for mapped slist types
668 2008-10-03 Alexander Sack <asac@ubuntu.com>
670 * system-settings/src/main.c:
671 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
672 always used as the hash key; fixes a crash when removing wired
675 2008-10-02 Dan Williams <dcbw@redhat.com>
677 * src/nm-gsm-device.c
678 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
679 pass the required GSM secret along via user_data rather than keeping
680 it around in the private data where it sometimes didn't get cleared
681 - (real_get_ppp_name): implement using the GSM username
683 2008-10-02 Dan Williams <dcbw@redhat.com>
685 * src/ppp-manager/nm-ppp-manager.c
686 src/ppp-manager/nm-ppp-manager.h
687 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
688 the settings daemon for completely new ones
689 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
690 local PPP peer name; allow PPP debuging by launching NM with
691 the environment variable NM_PPP_DEBUG defined
692 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
693 create_pppd_cmd_line()
695 * src/nm-serial-device.c
696 src/nm-serial-device.h
697 - New 'get_ppp_name' function for subclasses to implement to return the
699 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
700 and pass that name to the PPP manager
702 * src/nm-device-ethernet.c
703 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
706 * src/nm-cdma-device.c
707 - (real_get_ppp_name): implement using the CDMA username
709 2008-10-02 Dan Williams <dcbw@redhat.com>
711 Patch from Alexander Sack <asac ubuntu com>
713 * system-settings/plugins/ifupdown/parser.c
714 - Implement more graceful ip4 config parsing for cases where
715 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
716 by using default values
718 2008-10-02 Dan Williams <dcbw@redhat.com>
720 * src/NetworkManagerPolicy.c
721 - (device_state_changed): when marking a connection invalid, clear its
722 secrets too so that fresh secrets get requested the next time
724 2008-10-01 Dan Williams <dcbw@redhat.com>
726 * system-settings/src/dbus-settings.c
727 - (nm_sysconfig_settings_init): cache system hostname on startup as
728 a fallback if no plugin provides a hostname
729 - (get_property): fall back to cached hostname if no plugin provides
732 2008-10-01 Dan Williams <dcbw@redhat.com>
734 Fix setting value comparison issue that caused some settings to look the
735 same when they were really different (rh #464417)
737 * libnm-util/nm-param-spec-specialized.c
738 - (type_is_fixed_size): return fundamental size of the fixed type too
739 - (nm_gvalues_compare_collection): use the fundamental fixed type size
740 in the comparison so that the _entire_ fixed type collection gets
741 compared rather than just the first 'len1' bytes
743 2008-09-30 Dan Williams <dcbw@redhat.com>
745 * src/NetworkManagerPolicy.c
746 - (lookup_thread_worker): don't store the idle handler ID becuase the
747 idle handler could have already run and freed the LookupThread
750 2008-09-30 Tambet Ingo <tambet@gmail.com>
752 * src/nm-device.c (nm_device_get_priority): Implement.
753 (nm_device_set_ip4_config): Send the device priority to system ip4
756 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
757 Add priority argument and if it's >= 0, set the priority of the network
758 route added automatically by netlink (or kernel?).
759 (nm_system_device_set_priority): Implement.
761 * src/NetworkManagerPolicy.c (get_best_device): Use
762 nm_device_get_priority() instead of home-grown version. Revert the
763 meaning, best priority is the lowest one.
765 2008-09-29 Dan Williams <dcbw@redhat.com>
767 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
768 when it returns EAGAIN (rh #362421)
770 * src/nm-device-wifi.c
771 - (wireless_get_range): try GIWRANGE a few times until the card responds
772 - (real_get_generic_capabilities, constructor): use wireless_get_range()
774 2008-09-28 Dan Williams <dcbw@redhat.com>
776 * src/nm-serial-device.c
777 src/nm-serial-device.h
778 - (nm_serial_device_close): stop PPP manager here so that PPP gets
779 cleaned at the right times when subclasses close the serial port too
780 - (nm_serial_device_send_command): use a default send delay; don't
781 spin forever on EAGAIN
782 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
783 remove, no longer used
784 - (find_response): return the matched response if any
785 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
787 - (wait_for_reply_done): pass the matched response to the callback
788 - (wait_for_reply_got_data): save the matched response; simplify timeout
790 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
791 const since they never get modified
792 - (cleanup_device): split out common cleanup stuff to a new function
793 - (real_deactivate_quickly, finalize): use cleanup_device()
795 * src/nm-gsm-device.c
796 - (modem_get_reply): remove, unused
797 - (set_apn): give the card a bit more time to respond
798 - (manual_registration_again, schedule_manual_registration_again,
799 manual_registration_response, manual_registration): handle manual
800 registration timeouts better by retrying registration a few times
801 because cards are a bit slow after CFUN=1
802 - (automatic_registration_get_network, get_network_response): use
803 modem_wait_for_reply() because it interacts better with the serial
804 buffer and does more intelligent matching; need to wait for 'OK'
805 rather than just matching terminators
806 - (schedule_automatic_registration_again,
807 automatic_registration_response, automatic_registration): retry
808 registration a few times on timeout or "searching" because cards
809 take a bit to find a network after being powered up with CFUN=1
810 - (power_up_response, power_up, init_full_done, enter_pin,
811 check_pin_done): power up the card with CFUN=1 before trying to
812 register with the network
813 - (init_modem_full, init_modem): use more standard 3G init strings
815 * src/nm-hso-gsm-device.c
816 - (modem_get_reply): remove, unused
817 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
818 modem_wait_for_reply() to match actual responses instead of single
819 termination characters; it doesn't leave stuff in the serial buffer
820 that might confuse later calls
821 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
822 to ensure that the call is really disconnected and not leave extra
823 stuff in the serial buffer
825 * src/nm-cdma-device.c
826 - (power_up_response, power_up, init_done): try Sierra-style modem
827 power up before attempting to connect
829 2008-09-27 Dan Williams <dcbw@redhat.com>
831 * libnm-util/nm-setting-gsm.c
832 - (verify): verify GSM network ID
834 2008-09-25 Dan Williams <dcbw@redhat.com>
836 * libnm-util/nm-setting-gsm.c
837 libnm-util/nm-setting-gsm.h
838 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
839 technology terms (bgo #551361)
841 2008-09-25 Dan Williams <dcbw@redhat.com>
843 Fix bgo #549401 (inspired by patch from Alexander Sack)
845 * src/nm-device-ethernet.c
846 - (finish_supplicant_task): clean up scheduled tasks and free memory
847 - (remove_supplicant_interface_error_handler): remove the supplicant
848 error idle callback too
849 - (supplicant_interface_release): rename from supplicant_interface_clean
850 to match nm-device-wifi.c; clean up supplicant interface-related
851 state tasks when the supplicant interface is disposed of
852 - (schedule_state_handler): add scheduled tasks to a list so they can
854 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
855 supplicant_iface_connection_state_cb_handler): use
856 finish_supplicant_task() to clean up each completed task
857 - (supplicant_iface_connection_error_cb_handler,
858 supplicant_connection_timeout_cb): clear source id when the task is
860 - (supplicant_iface_connection_error_cb): save scheduled task id for
862 - (nm_device_ethernet_dispose): clean up any pending supplicant state
865 * src/nm-device-wifi.c
866 - (finish_supplicant_task): clean up scheduled tasks and free memory
867 - (remove_supplicant_interface_error_handler): remove the supplicant
868 error idle callback too
869 - (supplicant_interface_release): clean up supplicant interface-related
870 state tasks when the supplicant interface is disposed of
871 - (schedule_state_handler): add scheduled tasks to a list so they can
873 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
874 supplicant_iface_connection_state_cb_handler): use
875 finish_supplicant_task() to clean up each completed task
876 - (supplicant_iface_connection_error_cb_handler): clear source id when
878 - (supplicant_iface_connection_error_cb): save scheduled task id for
880 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
882 2008-09-24 Tambet Ingo <tambet@gmail.com>
884 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
885 method and get/set hostname property.
887 2008-09-24 Tambet Ingo <tambet@gmail.com>
889 * src/supplicant-manager/nm-supplicant-interface.c
890 (nm_supplicant_interface_disconnect): Don't increment the reference
891 count when disconnecting. The problem is on shutdown, when the replies
892 to these commands do not arrive before NM exits, resulting on never
893 calling supplicant interface's dispose(), which removes the interface
896 2008-09-24 Tambet Ingo <tambet@gmail.com>
898 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
899 all the public function arguments.
901 2008-09-22 Tambet Ingo <tambet@gmail.com>
903 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
904 "Failure" signal from VPN plugins, store the failure reason, and
905 use it when the state is changed to failure.
907 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
910 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
911 reason to the end of the list to not break the API.
912 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
913 so it can be shared by plugins and daemon.
915 2008-09-18 Dan Williams <dcbw@redhat.com>
917 Patch from Alexander Sack <asac@ubuntu.com>
920 system-settings/plugins/Makefile.am
921 system-settings/plugins/ifupdown/Makefile.am
922 system-settings/plugins/ifupdown/interface_parser.c
923 system-settings/plugins/ifupdown/interface_parser.h
924 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
925 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
926 system-settings/plugins/ifupdown/parser.c
927 system-settings/plugins/ifupdown/parser.h
928 system-settings/plugins/ifupdown/plugin.c
929 system-settings/plugins/ifupdown/plugin.h
930 - Implement a Debian/Ubuntu legacy network configuration plugin
933 2008-09-18 Dan Williams <dcbw@redhat.com>
935 Implement support for honoring configured and automatic hostnames, and for
936 setting the configured hostname.
938 * introspection/nm-ip4-config.xml
941 src/dhcp-manager/nm-dhcp-manager.c
942 - Remove useless hostname property; it's not really part of the IPv4
945 * introspection/nm-settings-system.xml
946 libnm-glib/nm-dbus-settings-system.c
947 libnm-glib/nm-dbus-settings-system.h
948 - Add SetHostname() call to system settings D-Bus interface
949 - Add Hostname property to system settings D-Bus interface
950 - (nm_dbus_settings_system_save_hostname,
951 nm_dbus_settings_system_get_hostname): implement
955 - (nm_device_get_dhcp4_config): implement
959 - Fetch and track system settings service hostname changes, and proxy
960 the changes via a GObject property of the manager
962 * system-settings/src/nm-system-config-interface.c
963 system-settings/src/nm-system-config-interface.h
964 - Replace nm_system_config_interface_supports_add() with a capabilities
967 * system-settings/src/nm-system-config-error.c
968 system-settings/src/nm-system-config-error.h
969 - Add additional errors
971 * system-settings/src/dbus-settings.c
972 system-settings/src/dbus-settings.h
973 - (get_property, nm_sysconfig_settings_class_init): add hostname
974 property; first plugin returning a hostname wins
975 - (impl_settings_add_connection): use plugin capabilities instead of
976 nm_system_config_interface_supports_add()
977 - (impl_settings_save_hostname): implement hostname saving
979 * src/NetworkManagerPolicy.c
980 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
981 lookup_thread_die): implement an asynchronous hostname lookup thread
982 which given an IPv4 address tries to look up the hostname for that
983 address with reverse DNS
984 - (get_best_device): split out best device code from
985 update_routing_and_dns()
986 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
987 to preserve the 127.0.0.1 reverse mapping that so many things require
988 - (set_system_hostname): set a given hostname
989 - (update_system_hostname): implement hostname policy; a configured
990 hostname (from the system settings service) is used if available,
991 otherwise an automatically determined hostname from DHCP, VPN, etc.
992 If there was no automatically determined hostname, reverse DNS of
993 the best device's IP address will be used, and as a last resort the
994 hostname 'localhost.localdomain' is set.
995 - (update_routing_and_dns): use get_best_device(); update the system
996 hostname when the network config changes
997 - (hostname_changed): update system hostname if the system settings
998 service signals a hostname change
999 - (nm_policy_new): list for system settings service hostname changes
1000 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1003 * system-settings/plugins/keyfile/plugin.c
1004 system-settings/plugins/ifcfg-suse/plugin.c
1005 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1006 capabilities properties
1008 * system-settings/plugins/ifcfg-fedora/shvar.c
1009 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1010 writes out /etc/sysconfig/network now
1012 * system-settings/plugins/ifcfg-fedora/plugin.c
1013 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1014 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1015 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1016 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1017 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1018 hostname get/set and capabilities get
1020 2008-09-18 Dan Williams <dcbw@redhat.com>
1022 * libnm-util/nm-setting-wireless.c
1023 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1024 group ciphers if the wireless-security setting explicitly specified
1025 them, effectively making the default be "all ciphers" (idea from
1028 2008-09-15 Dan Williams <dcbw@redhat.com>
1030 Patch from Alexander Sack <asac@ubuntu.com>
1032 * src/named-manager/nm-named-manager.c
1033 - (dispatch_resolvconf): respect resolvconf exit code
1035 2008-09-12 Tambet Ingo <tambet@gmail.com>
1037 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1038 again. Add some debugging.
1040 2008-09-11 Dan Williams <dcbw@redhat.com>
1042 * system-settings/plugins/keyfile/plugin.c
1043 - (update_connection_settings): update connection manually, since
1044 nm_exported_connection_update() does authentication
1045 - (dir_changed): update_connection_settings() doesn't need to return
1048 2008-09-09 Dan Williams <dcbw@redhat.com>
1050 * libnm-glib/nm-vpn-plugin-ui-interface.c
1051 libnm-glib/nm-vpn-plugin-ui-interface.h
1052 libnm-glib/libnm_glib_vpn.ver
1053 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1054 should clean up resources related to the connection (like keyring
1056 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1057 should save user-scope secrets (like to the keyring)
1059 2008-09-08 Dan Williams <dcbw@redhat.com>
1061 Patch from Alexander Sack <asac@ubuntu.com>
1063 * libnm-util/crypto_gnutls.c
1064 libnm-util/crypto_nss.c
1065 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1067 * libnm-util/nm-utils.c
1068 libnm-util/nm-utils.h
1069 libnm-util/libnm-util.ver
1070 - (nm_utils_init): initialize libnm-util
1071 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1073 * libnm-util/nm-setting-8021x.c
1074 - (nm_setting_802_1x_class_init): init libnm-util when needed
1076 2008-09-05 Dan Williams <dcbw@redhat.com>
1078 Patch from Roy Marples <roy@marples.name> and others
1081 src/named-manager/nm-named-manager.c
1082 - Add support for resolvconf; use --with-resolvconf at configure time
1085 2008-09-05 Dan Williams <dcbw@redhat.com>
1087 * libnm-util/crypto_nss.c
1088 libnm-util/crypto_gnutls.c
1090 - (crypto_init): return error when init fails
1092 2008-09-05 Dan Williams <dcbw@redhat.com>
1094 * libnm-glib/nm-device-wifi.c
1095 - (access_point_removed_proxy): clean up the active access point too
1096 just in case the active ap changed signal didn't come through yet
1097 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1099 2008-09-05 Dan Williams <dcbw@redhat.com>
1101 * libnm-glib/nm-client.c
1102 - (constructor): get initial state after we know whether NM is running
1105 2008-09-05 Dan Williams <dcbw@redhat.com>
1107 * libnm-glib/nm-ip4-config.c
1108 libnm-glib/nm-dhcp4-config.c
1109 - (finalize): clean up the DBusGProxy
1111 2008-09-04 Dan Williams <dcbw@redhat.com>
1113 * src/nm-ip4-config.c
1115 - (nm_ip4_config_new): don't export over D-Bus here
1116 - (nm_ip4_config_export): new function; export the config over D-Bus
1117 - (nm_ip4_config_is_exported): new function
1120 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1121 objects by balancing the IP4Config constructor; the device holds
1122 a reference to the IP4Config already
1123 - (nm_device_set_ip4_config): export the IP4Config when needed
1125 2008-09-04 Dan Williams <dcbw@redhat.com>
1127 * src/supplicant-manager/nm-supplicant-settings-verify.c
1128 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1130 2008-09-04 Dan Williams <dcbw@redhat.com>
1132 * libnm-util/nm-setting-vpn.c
1133 libnm-util/nm-setting-vpn.h
1134 - Split VPN secrets from VPN data so that settings services can actually
1135 figure out that they are secrets and store them accordingly
1137 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1138 system-settings/plugins/keyfile/reader.c
1139 system-settings/plugins/keyfile/reader.h
1140 system-settings/plugins/keyfile/writer.c
1141 - Store VPN secrets separately from VPN data so that they can be fetched
1143 - Implement the get_secrets() call so that (a) secrets don't leak out
1144 to unprivileged callers, and (b) secrets can be sent to privileged
1147 * vpn-daemons/vpnc/src/nm-vpnc-service.c
1148 - Handle split VPN secrets
1150 2008-08-27 Dan Williams <dcbw@redhat.com>
1152 * system-settings/plugins/ifcfg-fedora/reader.c
1153 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1155 2008-08-27 Dan Williams <dcbw@redhat.com>
1157 Ensure zombie children get cleaned up. To get notifications when children
1158 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1159 that requires calling waitpid() yourself if you've removed the child watch
1160 handler before the process has actually died, which NM needs to do in a few
1161 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1162 cleans up after the child when required. Should fix problems trying to
1163 activate mobile broadband connections after a previous failure.
1165 * src/dhcp-manager/nm-dhcp-dhclient.c
1166 src/dhcp-manager/nm-dhcp-dhcpcd.c
1167 - Use G_SPAWN_DO_NOT_REAP_CHILD
1169 * src/dhcp-manager/nm-dhcp-manager.c
1170 - (nm_dhcp_device_destroy): ensure child is cleaned up
1171 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1172 block on child quitting, since the non-blocking functionality was
1175 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1176 - (dm_watch_cb): child is already reaped here
1177 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1180 - (aipd_cleanup): block until child is dead
1182 * src/named-manager/nm-named-manager.c
1183 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1184 event bothering to watch the child
1186 * src/ppp-manager/nm-ppp-manager.c
1187 - (ppp_watch_cb): child is already reaped here
1188 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1190 * src/vpn-manager/nm-vpn-service.c
1191 - (vpn_service_watch_cb): child is already reaped here
1192 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1193 status of the child is actually tracked
1194 - (ensure_killed, finalize): block until child is dead
1196 2008-08-26 Dan Williams <dcbw@redhat.com>
1198 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1199 - (update): Update filename of the connection if the connection id
1202 * system-settings/plugins/keyfile/plugin.c
1203 - (dir_changed): first pass at handling connection renames correctly
1205 * system-settings/plugins/keyfile/writer.c
1206 system-settings/plugins/keyfile/writer.h
1207 - (write_connection): replace '/' with '*' when writing out the filename
1208 from the connection id
1210 2008-08-26 Dan Williams <dcbw@redhat.com>
1212 Add connection UUIDs, since connection names can be changed, and since
1213 old-style connection IDs could change over the life of the connection. The
1214 UUID should be assigned at connection creation time, be stable for a given
1215 connection, and should be unique among all connections for a given settings
1219 libnm-util/Makefile.am
1222 * introspection/nm-exported-connection.xml
1223 - Remove "GetID" method
1225 * libnm-glib/nm-dbus-connection.c
1226 libnm-glib/nm-settings.c
1227 libnm-glib/nm-settings.h
1228 - Remove id-related stuff
1230 * libnm-util/nm-utils.c
1231 libnm-util/nm-utils.h
1232 libnm-util/libnm-util.ver
1233 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1234 utility functions to generate UUIDs
1236 * libnm-util/nm-setting-connection.c
1237 libnm-util/nm-setting-connection.h
1238 - Add 'uuid' member to the connection setting
1239 - (verify): require valid 'uuid' for a valid connection
1241 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1242 system-settings/plugins/ifcfg-fedora/reader.c
1243 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1244 system-settings/plugins/ifcfg-suse/parser.c
1245 system-settings/plugins/keyfile/nm-keyfile-connection.c
1246 system-settings/src/main.c
1247 - Remove id-related stuff
1248 - Give connections UUIDs where needed
1250 2008-08-25 Dan Williams <dcbw@redhat.com>
1252 * libnm-util/crypto_gnutls.c
1253 libnm-util/crypto_nss.c
1254 - (crypto_init, crypto_deinit): refcount init/deinit
1255 - (crypto_md5_hash): allow NULL salt
1257 2008-08-22 Michael Biebl <mbiebl@gmail.com>
1259 * libnm-glib/Makefile.am
1260 libnm-util/Makefile.am
1261 libnm-glib/libnm_glib.ver
1262 libnm-glib/libnm_glib_vpn.ver
1263 libnm-util/libnm-util.ver
1264 - Use linker version scripts to control the list of exported
1265 symbols. List each exported symbol explicitely.
1266 * libnm-util/Makefile.am
1267 - Fix compilation of the test-crypto binary. The crypto
1268 functions are no longer part of the libnm-util API. Add
1269 crypto_*.c to test_crypto_SOURCES and link against the correct
1272 2008-08-19 Dan Williams <dcbw@redhat.com>
1276 - Don't build test/test-common
1277 - Remove unused stuff
1279 * test/nm-set-fallback
1280 test/nmtestdevices.c
1281 test/test-common/.cvsignore
1282 test/test-common/Makefile.am
1283 test/test-common/test-common.c
1284 test/test-common/test-common.h
1287 2008-08-18 Dan Williams <dcbw@redhat.com>
1289 * libnm-util/nm-utils.c
1290 libnm-util/nm-utils.h
1291 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1292 export anything that needs to be converted with this function
1294 * src/dhcp-manager/nm-dhcp-manager.c
1295 - (garray_to_string): convert a byte array to a UTF-8 string with
1296 minimal validation; the DHCP client sends it in ASCII anyway
1297 - (get_option, copy_option): use garray_to_string()
1299 2008-08-18 Dan Williams <dcbw@redhat.com>
1301 * include/NetworkManager.h
1302 introspection/nm-device.xml
1303 - Add a "missing firmware" device state reason
1305 * src/NetworkManagerSystem.c
1306 src/NetworkManagerSystem.h
1307 - (nm_system_device_set_up_down): add a no_firmware argument
1308 - (nm_system_device_set_up_down_with_iface): if the result of setting
1309 IFF_UP is ENOENT, that almost always means missing firmware
1311 * src/backends/NetworkManagerGeneric.c
1312 src/nm-device-ethernet.c
1313 src/nm-device-private.h
1314 src/nm-device-wifi.c
1317 src/nm-hso-gsm-device.c
1318 src/vpn-manager/nm-vpn-connection.c
1319 - Pass no_firmware along; check it where appropriate
1321 2008-08-18 Dan Williams <dcbw@redhat.com>
1323 Patch from Robert Buchholz <rbu@gentoo.org>
1327 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1328 1003.1-1988, allowing for file names longer than 99 characters
1330 2008-08-17 Dan Williams <dcbw@redhat.com>
1332 * include/NetworkManager.h
1333 introspection/nm-device.xml
1335 - Finer-grained GSM registration failure error codes
1337 2008-08-17 Dan Williams <dcbw@redhat.com>
1339 * callouts/Makefile.am
1341 - Move dispatcher directory creation to callouts/Makefile.am
1343 * system-settings/plugins/keyfile/Makefile.am
1344 - Create keyfile connections directory in DESTDIR (bgo #546833)
1346 2008-08-15 Dan Williams <dcbw@redhat.com>
1348 Do connection sharing in a cleaner manner; all required iptables rules
1349 are now stored in the activation request and pertain only to the device
1350 which is being shared to other computers. (rh #458625)
1352 * src/nm-activation-request.c
1353 src/nm-activation-request.h
1354 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1355 the activation request which will get torn down automatically when
1356 the activation request dies
1357 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1358 is started, and tear them down when sharing is stopped
1361 - (start_sharing): start up sharing by doing the required iptables magic
1362 - (share_init): poke the right bits of the kernel and load the right
1364 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1365 connection if it's a 'shared' connection
1367 * src/NetworkManagerPolicy.c
1368 - Remove all sharing stuff; done in the device code itself
1370 2008-08-15 Dan Williams <dcbw@redhat.com>
1372 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1373 - (create_dm_cmd_line): send the right router address
1375 2008-08-15 Dan Williams <dcbw@redhat.com>
1377 * src/ppp-manager/nm-ppp-manager.c
1378 - (pppd_timed_out): ensure timeouts fail the connection
1380 2008-08-14 Dan Williams <dcbw@redhat.com>
1382 * src/nm-properties-changed-signal.c
1383 src/nm-properties-changed-signal.h
1384 - Add a property spec flag for "don't export this property" in
1385 property changed signals
1387 * src/nm-hso-gsm-device.c
1389 src/nm-cdma-device.c
1390 - Don't export monitor interface or netdev interface properties
1392 2008-08-14 Dan Williams <dcbw@redhat.com>
1394 * src/NetworkManagerPolicy.c
1395 - (update_routing_and_dns): 'hso' devices can be default even if they
1396 don't have a gateway
1398 2008-08-14 Dan Williams <dcbw@redhat.com>
1401 - (nm_device_deactivate_quickly): tear down activation request after
1402 calling device-specific deactivation
1404 * src/nm-hso-gsm-device.c
1405 - (real_deactivate_quickly): terminate connection when deactivating
1407 2008-08-14 Dan Williams <dcbw@redhat.com>
1409 * src/nm-activation-request.h
1410 - Add HSO secrets caller
1412 * src/nm-gsm-device.c
1414 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1415 something to the callback function
1416 - (set_apn, set_apn_done): call class dial function, not a static one
1417 - (nm_gsm_device_class_init): add a class 'dial' function
1419 * src/nm-hal-manager.c
1420 - (get_hso_netdev): find the hso-driven hardware's net device
1421 - (modem_device_creator): recognize hso-driven hardware and create the
1422 right type of device object for it
1425 src/nm-hso-gsm-device.c
1426 src/nm-hso-gsm-device.h
1427 - Implement support for devices driven by the 'hso' driver as a subclass
1430 2008-08-14 Dan Williams <dcbw@redhat.com>
1432 * src/NetworkManagerSystem.c
1433 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1434 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1435 success if the operation really was successful
1437 2008-08-14 Dan Williams <dcbw@redhat.com>
1439 * src/nm-netlink-monitor.c
1440 src/nm-netlink-monitor.h
1441 src/nm-device-ethernet.c
1442 - (nm_netlink_monitor_request_status): return an error on failure
1443 - (constructor): don't segfault on missing error
1445 2008-08-13 Dan Williams <dcbw@redhat.com>
1447 * callouts/nm-dispatcher-action.c
1448 - Add IP4 config info to script environment
1450 2008-08-12 Dan Williams <dcbw@redhat.com>
1453 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1454 that want to use DHCP hostnames should use dispatcher scripts
1457 * src/NetworkManagerSystem.h
1458 src/backends/NetworkManagerArch.c
1459 src/backends/NetworkManagerDebian.c
1460 src/backends/NetworkManagerFrugalware.c
1461 src/backends/NetworkManagerGeneric.c
1462 src/backends/NetworkManagerGeneric.h
1463 src/backends/NetworkManagerGentoo.c
1464 src/backends/NetworkManagerMandriva.c
1465 src/backends/NetworkManagerPaldo.c
1466 src/backends/NetworkManagerRedHat.c
1467 src/backends/NetworkManagerSlackware.c
1468 src/backends/NetworkManagerSuSE.c
1469 - Remove nm_system_set_hostname(), no longer used
1471 * src/backends/Makefile.am
1472 src/backends/shvar.c
1473 src/backends/shvar.h
1474 - Remove shvar.*; no longer used
1476 2008-08-12 Dan Williams <dcbw@redhat.com>
1478 Revert most of the 'hostname' patch. Too much stuff still breaks when
1479 hostname is updated at runtime. Distros or users who want hostname updates
1480 can use dispatcher scripts to update the hostname if they need it.
1482 2008-08-12 Dan Williams <dcbw@redhat.com>
1484 * introspection/nm-settings-system.xml
1485 system-settings/src/dbus-settings.c
1486 system-settings/src/dbus-settings.h
1487 - Add a 'Hostname' property (rw) which represents the configured
1488 hostname and domain of the system, if any
1490 * system-settings/src/nm-system-config-error.c
1491 system-settings/src/nm-system-config-error.h
1492 system-settings/src/nm-system-config-interface.c
1493 system-settings/src/nm-system-config-interface.h
1494 - Add a 'hostname' property to the plugin interface
1495 - Add a method to send updated hostname to plugins to save in their
1496 backing configuration store
1498 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1499 system-settings/plugins/keyfile/plugin.c
1500 system-settings/plugins/keyfile/writer.c
1501 system-settings/plugins/keyfile/writer.h
1502 system-settings/plugins/ifcfg-suse/plugin.c
1503 - Add minimal hostname support
1505 * system-settings/plugins/ifcfg-fedora/plugin.c
1506 - Add support for updating system hostname in /etc/sysconfig/network
1508 2008-08-12 Dan Williams <dcbw@redhat.com>
1510 * system-settings/plugins/ifcfg-fedora/shvar.c
1511 system-settings/plugins/ifcfg-fedora/shvar.c
1512 - Fix double-free caused by svSetValue() followed by svCloseFile()
1514 2008-08-12 Tambet Ingo <tambet@gmail.com>
1516 * Makefile.am: Fix distcheck.
1518 2008-08-12 Tambet Ingo <tambet@gmail.com>
1520 * libnm-glib/*.c. Document some more.
1522 2008-08-12 Tambet Ingo <tambet@gmail.com>
1524 Start documenting libnm-glib public API using gtk-doc.
1526 * libnm-glib/nm-serial-device.c:
1527 * libnm-glib/nm-object.c:
1528 * libnm-glib/nm-gsm-device.c:
1529 * libnm-glib/nm-device.c:
1530 * libnm-glib/nm-device-wifi.c:
1531 * libnm-glib/nm-device-ethernet.c:
1532 * libnm-glib/nm-client.c:
1533 * libnm-glib/nm-cdma-device.c: Document the public API.
1535 * docs/libnm-glib/libnm-glib.types: Implement.
1537 * docs/libnm-glib/Makefile.am: Implement.
1541 * Makefile.am: Add gtk-doc support.
1543 2008-08-12 Tambet Ingo <tambet@gmail.com>
1545 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1547 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1548 the composite result of all the IP4 configurations and call a distro
1549 specific update_resolv_conf().
1550 (update_resolv_conf): Implement one for directly writing to
1551 /etc/resolv.conf and one for opensuse to call netconfig.
1553 2008-08-11 Dan Williams <dcbw@redhat.com>
1555 * src/ppp-manager/nm-ppp-manager.c
1556 - (impl_ppp_manager_need_secrets): pass interface as required
1558 2008-08-11 Dan Williams <dcbw@redhat.com>
1560 Merge the vpn-properties setting with the vpn setting since it was pointless
1561 to keep both of them around. Convert the vpn 'data' hash table to a hash
1562 of string:string (instead of string:variant) so that system settings plugins
1563 can have an easier time dealing with the arbitrary key/value pairs.
1565 2008-08-11 Dan Williams <dcbw@redhat.com>
1567 * libnm-util/nm-utils.c
1568 - (nm_utils_register_value_transformations): add value transform for
1569 a hash table of string:string
1571 2008-08-10 Dan Williams <dcbw@redhat.com>
1573 * libnm-glib/nm-vpn-plugin.c
1574 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1575 an idle handler so the Connect reply gets delivered before the
1576 stop StateChanged signal
1578 2008-08-10 Dan Williams <dcbw@redhat.com>
1580 * src/nm-ip4-config.c
1581 - (get_property): use common ip4 address/route conversion functions
1582 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1583 copy the new route here, not take ownership
1585 2008-08-08 Tambet Ingo <tambet@gmail.com>
1587 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1588 Update the IP4 setting's method name.
1590 2008-08-07 Dan Williams <dcbw@redhat.com>
1592 * introspection/nm-ip4-config.xml
1593 libnm-glib/libnm-glib-test.c
1594 libnm-glib/nm-ip4-config.c
1595 libnm-glib/nm-ip4-config.h
1596 src/NetworkManagerSystem.h
1597 src/backends/NetworkManagerArch.c
1598 src/backends/NetworkManagerDebian.c
1599 src/backends/NetworkManagerFrugalware.c
1600 src/backends/NetworkManagerGeneric.c
1601 src/backends/NetworkManagerGeneric.h
1602 src/backends/NetworkManagerGentoo.c
1603 src/backends/NetworkManagerMandriva.c
1604 src/backends/NetworkManagerPaldo.c
1605 src/backends/NetworkManagerRedHat.c
1606 src/backends/NetworkManagerSlackware.c
1607 src/backends/NetworkManagerSuSE.c
1608 src/dhcp-manager/nm-dhcp-manager.c
1612 - Remove NIS logic; should be done from dispatcher scripts instead
1614 2008-08-07 Dan Williams <dcbw@redhat.com>
1616 * src/dhcp-manager/nm-dhcp-manager.c
1617 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1618 mis-handling of DHCP responses that returned more than one router
1619 (found by Grant Williamson)
1621 2008-08-07 Dan Williams <dcbw@redhat.com>
1623 * callouts/nm-dispatcher-action.c
1624 - (nm_dispatcher_action): grab device path and create the device; pass
1625 the device's DHCP4 config to script caller
1626 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1629 * libnm-glib/nm-dhcp4-config.c
1630 libnm-glib/nm-dhcp4-config.h
1631 - (nm_dhcp4_config_get_options): expose
1632 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1634 2008-08-07 Dan Williams <dcbw@redhat.com>
1636 * include/NetworkManager.h
1637 - Add the DHCP4Config D-Bus interface
1639 * libnm-glib/Makefile.am
1640 libnm-glib/nm-dhcp4-config.c
1641 libnm-glib/nm-dhcp4-config.h
1642 - Handle DHCP4 config objects exported by NM over D-Bus
1644 * libnm-glib/nm-device.c
1645 libnm-glib/nm-device.h
1646 - Add a 'dhcp4-config' property
1648 * libnm-glib/libnm-glib-test.c
1649 - Print out DHCP4 config for devices
1650 - Fix some crashes when no connections are active
1652 * src/nm-device-interface.c
1654 src/nm-dhcp4-config.c
1655 src/nm-dhcp4-config.h
1656 - Treat dhcp4-config object as an object path at the D-Bus interface so
1657 that when it doesn't exist we can proxy it as "/" which dbus-glib
1658 doesn't let us do when the property type is G_TYPE_OBJECT
1660 2008-08-07 Dan Williams <dcbw@redhat.com>
1662 * src/NetworkManager.c
1663 src/NetworkManagerSystem.h
1664 src/backends/NetworkManagerArch.c
1665 src/backends/NetworkManagerDebian.c
1666 src/backends/NetworkManagerFrugalware.c
1667 src/backends/NetworkManagerGeneric.c
1668 src/backends/NetworkManagerGeneric.h
1669 src/backends/NetworkManagerGentoo.c
1670 src/backends/NetworkManagerMandriva.c
1671 src/backends/NetworkManagerPaldo.c
1672 src/backends/NetworkManagerRedHat.c
1673 src/backends/NetworkManagerSlackware.c
1674 src/backends/NetworkManagerSuSE.c
1675 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1677 2008-08-06 Dan Williams <dcbw@redhat.com>
1679 * libnm-glib/nm-ip4-config.c
1680 libnm-glib/nm-ip4-config.h
1681 - Add 'routes' property
1683 * libnm-util/nm-setting-vpn.c
1684 libnm-util/nm-setting-vpn.h
1685 - Remove 'routes' property
1687 * libnm-util/nm-setting-ip4-config.c
1688 libnm-util/nm-setting-ip4-config.h
1689 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1690 - Add 'ignore-auto-routes' property
1691 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
1692 accomodate route metrics
1693 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1695 * libnm-util/nm-utils.c
1696 libnm-util/nm-utils.h
1697 - Add helpers for marshalling IP4 routes
1699 * src/NetworkManagerUtils.c
1700 - (nm_utils_merge_ip4_config): handle property renames and new route
1703 * src/NetworkManagerSystem.c
1704 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1705 nm_system_vpn_device_set_from_ip4_config): respect route metrics
1707 * src/dhcp-manager/nm-dhcp-manager.c
1708 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1710 * system-settings/plugins/ifcfg-fedora/reader.c
1711 system-settings/plugins/ifcfg-fedora/writer.c
1712 - Handle routes separately from addresses now that routes have a different
1715 * introspection/nm-ip4-config.xml
1718 - Rename internal routing functions
1719 - 'static-routes' renamed to 'routes'
1721 2008-08-04 Dan Williams <dcbw@redhat.com>
1723 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1725 * src/NetworkManager.c
1728 - More explicitly make the NMManager a singleton
1730 2008-08-04 Dan Williams <dcbw@redhat.com>
1732 * libnm-util/nm-connection.c
1733 libnm-util/nm-connection.h
1734 - (nm_connection_verify): return error on missing 'connection' setting
1735 (found by Sjoerd Simons)
1737 2008-08-04 Dan Williams <dcbw@redhat.com>
1739 Handle multiple concurrent PPP connections.
1741 * src/ppp-manager/nm-ppp-manager.c
1742 src/ppp-manager/nm-ppp-manager.h
1743 - (constructor): only PPP Manager request bus name once; each
1744 NMPPPManager object gets a unique object path
1745 - (nm_ppp_manager_class_init, get_property, set_property,
1746 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1748 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1749 remove timeout until PPP manager gets an IP4 config
1750 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1751 the plugin can call back to this specific PPP manager instance
1753 * src/nm-device-ethernet.c
1754 src/nm-serial-device.c
1755 - Pass parent device in nm_ppp_manager_new()
1757 * src/nm-gsm-device.c
1758 src/nm-cdma-device.c
1759 - (device_state_changed): don't close serial device on NEED_AUTH
1760 state changed, that's not a failure case like the rest are
1762 * src/ppp-manager/nm-pppd-plugin.c
1763 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1764 binds one interface to any pppd process, thus the correct index
1765 is always 0; send PHASE_DEAD on error to alert NM immediately of
1766 problems; try harder to get a peer address in spite of pppd
1767 - (plugin_init): use 'ipparam' as the object path back to our specific
1768 PPP manager instance
1770 2008-08-04 Dan Williams <dcbw@redhat.com>
1772 * src/ppp-manager/nm-ppp-manager.c
1773 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1774 since the GSM and CDMA settings now implement need_secrets, we can
1775 rely on them to do the right thing. Where secrets are not required,
1776 just pass empty strings back to the pppd plugin.
1777 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1778 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1779 on successful IP4 config receipt
1781 2008-08-04 Dan Williams <dcbw@redhat.com>
1783 * libnm-util/nm-setting-cdma.c
1784 libnm-util/nm-setting-gsm.c
1785 - (verify): validate username & password if they exist
1786 - (need_secrets): if username given, require a password too
1788 2008-08-04 Dan Williams <dcbw@redhat.com>
1790 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1791 - (create_dm_cmd_line): really don't listen on lo, despite what the
1792 manpage says about --listen-address without --interface
1795 2008-08-01 Dan Williams <dcbw@redhat.com>
1797 * libnm-glib/nm-device.c
1798 - (proxy_get_string): util function for querying a HAL property
1799 - (get_ancestor_device): split out from get_product_and_vendor()
1800 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1801 from PCI devices by querying subsys properties
1802 - (nm_device_update_description): simplify
1804 2008-08-01 Dan Williams <dcbw@redhat.com>
1806 * libnm-util/nm-setting-ip4-config.c
1807 libnm-util/nm-setting-ip4-config.h
1808 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1809 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
1810 settings, and they don't necessarily use DHCP.
1812 * src/NetworkManagerPolicy.c
1814 system-settings/plugins/ifcfg-fedora/reader.c
1815 system-settings/plugins/ifcfg-suse/parser.c
1816 - Fixup for method changes
1818 2008-07-31 Dan Williams <dcbw@redhat.com>
1820 * src/nm-activation-request.c
1821 src/vpn-manager/nm-vpn-connection.c
1822 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1823 itself should be attached to the activation request or the VPN
1824 connection, not the NMConnection object, since the call is not
1825 expected to live as long as the NMConnection itself
1827 2008-07-31 Dan Williams <dcbw@redhat.com>
1829 * src/nm-device-wifi.c
1830 - (real_act_stage2_config): fix issue where association would continue
1831 even though secrets were needed; 'goto out' was in wrong scope and
1832 result of handle_auth_or_fail() should have been dumped directly to
1833 'ret' to ensure that the association was postponed until secrets
1836 2008-07-31 Dan Williams <dcbw@redhat.com>
1838 * system-settings/plugins/ifcfg-fedora/plugin.c
1839 system-settings/plugins/ifcfg-fedora/reader.c
1840 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1843 2008-07-29 Dan Williams <dcbw@redhat.com>
1845 * src/nm-gsm-device.c
1846 - (automatic_registration_response, automatic_registration): recognize
1847 denied registration and reorder responses
1849 2008-07-29 Dan Williams <dcbw@redhat.com>
1851 * src/nm-serial-device.c
1852 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
1853 time(2) is used for current time, which returns seconds, we shouldn't
1854 be multiplying by 1000.
1856 2008-07-28 Dan Williams <dcbw@redhat.com>
1858 Patch from Fabrice Bellet <fabrice@bellet.info>
1860 * src/NetworkManagerSystem.c
1861 - (route_in_same_subnet): mask addresses and compare them so that the
1862 function actually does what it says it's going to do (rh #456685)
1864 2008-07-27 Dan Williams <dcbw@redhat.com>
1866 * libnm-util/nm-setting-ip6-config.c
1867 - (set_property): add missing break that caused routes to be overwritten
1870 * libnm-util/nm-setting-ip6-config.c
1871 - (verify): validate routes and return GError everywhere on invalid setting
1872 - (finalize): don't leak routes
1873 - (set_property): add missing break that caused routes to be overwritten
1876 2008-07-27 Dan Williams <dcbw@redhat.com>
1879 - Relicense to LGPLv2+
1881 2008-07-27 Dan Williams <dcbw@redhat.com>
1883 * system-settings/plugins/ifcfg-fedora/reader.c
1884 - (make_ip4_setting): fix parsing automatic configs
1886 2008-07-27 Dan Williams <dcbw@redhat.com>
1888 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1890 src/ppp-manager/nm-ppp-manager.c
1891 - Ensure child process gets reaped. The child watch function may be
1892 removed from the mainloop before the child gets killed, so we have
1893 to make sure the child is reaped when it's told to die intentionally
1895 2008-07-27 Dan Williams <dcbw@redhat.com>
1897 Patch from Roy Marples <roy@marples.name>
1899 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1900 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1902 2008-07-27 Dan Williams <dcbw@redhat.com>
1904 * src/nm-gsm-device.c
1905 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1906 Huawei devices turn echo back on after CPIN (rh #456770)
1908 2008-07-24 Tambet Ingo <tambet@gmail.com>
1910 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1911 format argument to g_set_error() call.
1913 * src/backends/interface_parser.[ch]: Remove.
1915 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1917 2008-07-21 Dan Williams <dcbw@redhat.com>
1919 * src/ppp-manager/nm-ppp-manager.c
1920 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1921 to prevent pppd from picking up some random local address from an
1922 interface that doesn't have anything to do with the one we're
1923 interested in (rh #455348)
1925 2008-07-17 Dan Williams <dcbw@redhat.com>
1927 * libnm-util/nm-utils.c
1928 - (string_to_utf8): general function for conversion to UTF-8 assisted
1930 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1931 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1933 2008-07-17 Dan Williams <dcbw@redhat.com>
1935 * introspection/Makefile.am
1936 introspection/nm-device.xml
1937 introspection/nm-dhcp4-config.xml
1938 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1940 * src/nm-device-interface.c
1941 src/nm-device-interface.h
1942 - Add the DHCP4Config property
1945 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1946 D-Bus clients when it changes
1948 * src/nm-dhcp4-config.c
1949 src/nm-dhcp4-config.h
1950 - Simple object to store DHCP4 options, export them over D-Bus, and
1951 notify when they change
1953 * src/dhcp-manager/nm-dhcp-manager.c
1954 src/dhcp-manager/nm-dhcp-manager.h
1955 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1956 filter server-returned DHCP options into an NMDHCP4Config object
1958 2008-07-16 Dan Williams <dcbw@redhat.com>
1960 * introspection/nm-device.xml
1961 - Add device state reasons
1963 2008-07-16 Dan Williams <dcbw@redhat.com>
1965 Patch from Roy Marples <roy@marples.name>
1968 - Add --with-dhcp-client option
1970 * src/dhcp-manager/Makefile.am
1971 - pass DHCP_CLIENT_PATH on compile line
1973 * src/dhcp-manager/nm-dhcp-manager.c
1974 src/dhcp-manager/nm-dhcp-manager.h
1975 - Genericize for both dhcpcd and dhclient
1977 * src/dhcp-manager/nm-dhcp-dhclient.c
1978 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1980 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1981 - Implement support for dhcpcd too
1983 2008-07-16 Tambet Ingo <tambet@gmail.com>
1985 * system-settings/src/nm-system-config-interface.c
1986 (nm_system_config_interface_supports_add): Implement.
1987 (nm_system_config_interface_add_connection): Return a boolean to notify
1990 * system-settings/src/nm-polkit-helpers.c:
1991 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1994 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1995 Return an error when none of the plugins support add or if addition
1996 failed for some reason.
1998 * system-settings/src/nm-system-config-error.h:
1999 * system-settings/src/nm-system-config-error.c: New files, mostly moved
2000 here from nm-polkit-helpers.[ch].
2002 * system-settings/src/Makefile.am: Build new files.
2004 * system-settings/plugins/keyfile/reader.c
2005 (read_array_of_array_of_uint): Make it more general so that it would
2006 work for routes as well.
2008 * system-settings/plugins/keyfile/writer.c
2009 (write_array_of_array_of_uint): Ditto.
2010 Fix the netmask/prefix writing.
2012 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2013 boolean to notify errors.
2015 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2016 Return more specific error.
2019 2008-07-11 Dan Williams <dcbw@redhat.com>
2021 Modify the NMDevice::state-changed signal to include the previous state
2022 and reason. Enables the applet to provide more information why device
2025 2008-07-09 Dan Williams <dcbw@redhat.com>
2027 * callouts/Makefile.am
2028 callouts/nm-avahi-autoipd-action.c
2029 callouts/nm-avahi-autoipd.conf
2030 - avahi-autoipd callout to send options back to NM
2037 src/nm-device-private.h
2039 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2042 2008-07-07 Dan Williams <dcbw@redhat.com>
2044 * system-settings/plugins/ifcfg-fedora/reader.c
2045 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2046 handle PREFIX too; clean up
2048 2008-07-07 Dan Williams <dcbw@redhat.com>
2050 Convert to using IPv4 prefixes instead of netmasks.
2052 2008-07-03 Dan Williams <dcbw@redhat.com>
2054 * libnm-util/nm-setting-ip4-config.c
2055 libnm-util/nm-setting-ip4-config.h
2056 - Add properties for DHCP Client Identifier and DHCP Hostname
2058 * src/dhcp-manager/nm-dhcp-manager.c
2059 src/dhcp-manager/nm-dhcp-manager.h
2060 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2061 setting as an argument to pass on to the dhclient config file
2063 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2065 - (dhclient_run): punt config file handling to create_dhclient_config()
2066 - (create_dhclient_config): create an interface-specific dhclient
2067 config file since there may need to be interface-specific options
2069 - (merge_dhclient_config): merge normal distro dhclient config file and
2070 add options from the connection
2071 - (nm_dhcp_device_new): generate the interface specific dhclient
2072 config file path once
2073 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2074 dhclient config file path
2077 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2078 DHCP manager when starting DHCP
2080 2008-07-02 Dan Williams <dcbw@redhat.com>
2082 * libnm-util/nm-setting-8021x.c
2083 - (verify): allow forcing the PEAP label to 0
2085 2008-07-02 Dan Williams <dcbw@redhat.com>
2087 * introspection/nm-active-connection.xml
2088 introspection/nm-vpn-connection.xml
2089 libnm-glib/nm-active-connection.c
2090 src/nm-activation-request.c
2091 src/nm-active-connection.h
2092 src/vpn-manager/nm-vpn-connection.c
2093 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2094 and libnm-glib API since sharing didn't get implemented that way
2096 2008-07-02 Dan Williams <dcbw@redhat.com>
2098 * src/nm-device-wifi.c
2099 - (can_scan): don't scan when a shared connection is activated since
2100 that makes drivers mad (causing disconnects); also NM doesn't need
2101 to hedge against disconnects by keeping up-to-date network topology
2102 because the connection originates from the local machine, and thus
2103 there should be no disconnects
2105 2008-07-01 Dan Williams <dcbw@redhat.com>
2107 Fix mobile broadband username/password issues. NM was never requesting
2108 mobile broadband secrets, nor was it passing back the username and password
2111 * marshallers/nm-marshal.list
2112 - Add some new types for activation request objects
2114 * src/nm-activation-request.c
2115 src/nm-activation-request.h
2116 - (get_secrets_cb): pass the caller type in the signal
2117 - (nm_act_request_request_connection_secrets): take a caller type, so
2118 that GetSecrets() reply handlers know who asked for the secrets in
2119 the first place; use secret hints too so the settings service can
2120 figure out exactly what NM wants (ie, PIN or the PPP password)
2122 * src/ppp-manager/nm-ppp-manager.c
2123 src/ppp-manager/nm-ppp-manager.h
2124 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2125 detect needed secrets when the secret could be blank, like GSM/CDMA
2126 passwords. So always ask for secrets, and send a hint as to what
2127 secret we really want.
2128 - (nm_ppp_manager_update_secrets): make function more generic by making
2129 the device specific class figure out the username and password, and
2130 accept an error argument to return back over D-Bus
2132 * src/nm-device-wifi.c
2133 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2134 nm_act_request_request_connection_secrets()
2135 - (real_connection_secrets_updated): update for 'caller' changes
2139 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2140 for 'caller' changes
2142 * src/nm-device-ethernet.c
2143 - (real_connection_secrets_updated): update for 'caller' changes and
2144 move logic for getting PPPoE username and password here before
2145 calling nm_ppp_manager_update_secrets()
2146 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2147 nm_act_request_request_connection_secrets()
2149 * src/nm-cdma-device.c
2150 - (real_connection_secrets_updated): pass username and password back
2151 to the PPP manager when required
2153 * src/nm-gsm-device.c
2154 - (enter_pin): send the required secret name to the settings service
2155 - (real_connection_secrets_updated): pass username and password back
2156 to the PPP manager when required
2158 2008-06-30 Dan Williams <dcbw@redhat.com>
2160 * src/nm-device-wifi.c
2161 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2163 2008-06-30 Dan Williams <dcbw@redhat.com>
2165 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
2166 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2167 priv->supplicant.iface. When either condition is false, the device should
2168 transition back to UNAVAILABLE because it cannot be used.
2170 * src/nm-device-wifi.c
2171 - (constructor): cleanup; connect to supplicant manager here since the
2172 supplicant manager is always around
2173 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2174 ensure the supplicant manager is in the IDLE state
2175 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2176 cancel any pending scans too
2177 - (real_bring_up): don't set up the supplicnat interface here, because
2178 we need the supplicant interface at times when the device may not
2180 - (real_take_down): just remove the periodic source
2181 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2182 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2183 do anything if there's no supplicant interface
2184 - (cleanup_association_attempt): cleanup
2185 - (supplicant_iface_state_cb_handler): request an immediate scan when
2186 the interface enters the READY state; transition to UNAVAILABLE
2187 state when the interface goes down because the device can't be used
2188 without a supplicant interface
2189 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2190 up and transition to UNAVAILABLE; if the supplicant becomes ready,
2191 acquire the supplicant interface and transition to DISCONNECTED
2192 if the radio isn't killed
2193 - (nm_device_wifi_dispose): move most of device_cleanup() here
2194 - (state_changed_cb): release any existing supplicant interface; if the
2195 radio is enabled then try to acquire a new supplicant interface;
2196 if the radio is enabled and a supplicant interface has been acquired,
2197 we can transition to DISCONNECTED
2198 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2199 don't enable the radio, because HAL probably lied to us about the
2200 killswitch being off. If bringing the hardware up worked, then
2201 try to grab a supplicant interface, and if that was successful,
2202 transition to DISCONNECTED
2204 2008-06-30 Dan Williams <dcbw@redhat.com>
2206 * src/supplicant-manager/nm-supplicant-interface.c
2207 - (request_scan_results, nm_supplicant_interface_dispose,
2208 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2209 the id of the timeout, not a GSource
2211 2008-06-30 Tambet Ingo <tambet@gmail.com>
2213 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
2214 bunch of typoes introduced by "Patch from David Cantrell
2215 <dcantrell@redhat.com> and me".
2217 2008-06-30 Tambet Ingo <tambet@gmail.com>
2219 * src/nm-serial-device.c:
2220 * src/nm-gsm-device.c:
2221 * src/nm-cdma-device.c: Move the pending call handling to a common location
2222 in serial device. Handle setting device state to failed in one place as well.
2224 2008-06-29 Dan Williams <dcbw@redhat.com>
2226 * src/nm-hal-manager.c
2227 - Rework killswitch handling to query killswitch status immediately
2228 when the first killswitch is added, so that rfkill state is
2229 known as early as possible
2230 - Also treat failure of GetPower() as rfkill when the dbus method
2231 call times out (but not when the HAL callout returns an error)
2233 2008-06-26 Dan Williams <dcbw@redhat.com>
2235 Patch from David Cantrell <dcantrell@redhat.com> and me
2237 * include/nm-dbus-glib-types.h
2238 - Add IP6 address types
2240 * libnm-util/Makefile.am
2241 libnm-util/nm-setting-ip6-config.c
2242 libnm-util/nm-setting-ip6-config.h
2243 - Add IP6 settings object
2245 * libnm-util/nm-connection.c
2246 - (register_default_settings): register ip6 settings object
2248 * libnm-util/nm-utils.c
2249 libnm-util/nm-utils.h
2250 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2251 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2252 ip6 address conversion functions
2254 2008-06-26 Dan Williams <dcbw@redhat.com>
2256 Patch from David Cantrell <dcantrell@redhat.com>
2258 * Use inet_ntop() and inet_pton() everwhere and check for errors
2260 2008-06-26 Dan Williams <dcbw@redhat.com>
2262 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2264 2008-06-26 Dan Williams <dcbw@redhat.com>
2266 Patch from Adel Gadllah <adel.gadllah@gmail.com>
2268 * src/nm-device-wifi.c
2269 - (link_timeout_cb): don't ignore disconnects due to scanning
2270 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2271 a longer timeout when scanning; avoids case where supplicant can't
2272 find the AP and just keeps scanning forever but isn't connected
2274 2008-06-26 Dan Williams <dcbw@redhat.com>
2276 Patch from Michael Biebl <biebl@debian.org>
2278 * Clean up build system stuff
2280 2008-06-23 Christian Persch <chpe@gnome.org>
2282 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2283 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2284 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2286 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2288 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2289 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2290 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2292 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2293 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2294 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2295 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2296 * vpn-daemons/pptp/properties/vpnui_opt.c:
2297 (vpnui_opt_connect_signals):
2298 * vpn-daemons/pptp/properties/vpnui_opt.h:
2299 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2300 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2301 deprecated gtk type macros. Bug #539325.
2303 2008-06-20 Dan Williams <dcbw@redhat.com>
2305 * libnm-glib/nm-vpn-plugin-ui-interface.c
2306 libnm-glib/nm-vpn-plugin-ui-interface.h
2307 - 'validity-changed' -> 'changed' to work better with the connection
2308 editor. Plugin UI widgets should emit 'changed' whenever their
2309 UI values change in a meaningful way.
2310 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2311 update_connection member now returns validity of the UI widget
2313 2008-06-20 Tambet Ingo <tambet@gmail.com>
2315 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2317 2008-06-17 Dan Williams <dcbw@redhat.com>
2319 * libnm-glib/nm-vpn-plugin-ui-interface.c
2320 libnm-glib/nm-vpn-plugin-ui-interface.h
2321 - Add "desc" property for longer descriptions of the VPN plugin
2323 2008-06-16 Dan Williams <dcbw@redhat.com>
2326 libnm-glib/libnm_glib_vpn.pc.in
2327 - add a .pc file for libnm_glib_vpn
2329 * libnm-glib/nm-vpn-plugin-ui-interface.c
2330 libnm-glib/nm-vpn-plugin-ui-interface.h
2331 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2332 rework it substantially
2334 2008-06-12 Dan Williams <dcbw@redhat.com>
2336 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2337 and add error enums to each NMSetting subclass. Each NMSetting subclass now
2338 returns a descriptive GError when verification fails.
2340 2008-06-11 Dan Williams <dcbw@redhat.com>
2342 Patch from Tambet Ingo <tambet@gmail.com>
2344 * libnm-util/nm-setting-gsm.c
2345 - (verify): validate APN
2347 * src/nm-gsm-device.c
2348 - (manual_registration_done): start setting APN if needed
2349 - (set_apn, set_apn_done): set the APN
2350 - (do_dial): use the APN when dialing
2352 2008-06-11 Dan Williams <dcbw@redhat.com>
2354 * src/NetworkManagerSystem.c
2355 - (nm_system_device_set_ip4_route,
2356 nm_system_device_replace_default_ip4_route): check for the right
2357 return value from rtnl_route_add() to know when to add a gateway
2360 2008-06-11 Dan Williams <dcbw@redhat.com>
2362 * src/NetworkManagerPolicy.c
2363 - do_ipt_cmd -> do_cmd
2364 - (sharing_init): use do_cmd() instead of system()
2366 2008-06-10 Dan Williams <dcbw@redhat.com>
2368 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2369 and use "wifi" everwhere instead.
2371 2008-06-10 Dan Williams <dcbw@redhat.com>
2373 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2375 2008-06-10 Dan Williams <dcbw@redhat.com>
2377 Patch from Tambet Ingo <tambet@gmail.com>
2379 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2382 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2383 a signal to emit these changes over dbus.
2385 * src/Makefile.am: Genereate nm-serial-device-glue.
2387 * libnm-glib/nm-serial-device.[ch]: Implement.
2389 * libnm-glib/nm-cdma-device.[ch]
2390 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2392 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2394 * introspection/nm-device-serial.xml: Implement.
2396 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2398 * introspection/Makefile.am: Add nm-device-serial.xml.
2400 * include/NetworkManager.h: Add a DBus interface for serial device.
2402 2008-06-10 Dan Williams <dcbw@redhat.com>
2405 - Add TARGET_* define to config.h to distinguish distros
2407 * src/dhcp-manager/nm-dhcp-manager.c
2408 - (dhclient_run): use distro-specific path for dhclient config file
2410 2008-06-09 Dan Williams <dcbw@redhat.com>
2412 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2413 src/dnsmasq-manager/nm-dnsmasq-manager.h
2414 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2415 calculate the addresses passed to dnsmasq instead of hard-coding
2419 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2420 IP addresses for shared connections to guard against shared
2421 connection address collisions
2422 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2424 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2427 2008-06-09 Dan Williams <dcbw@redhat.com>
2429 * src/NetworkManagerPolicy.c
2430 - (update_routing_and_dns): set the default connection _after_ unsetting
2431 default on all non-default connections so that two connections can
2432 never be default at the same time
2433 - (device_state_changed): start and stop connection sharing when
2435 - (active_connection_default_changed): restart or stop sharing when
2436 the default connection changes to keep shared connections always
2437 NAT-ed through the default connection
2438 - (check_sharing): handle activation/deactivation of shared connections
2439 - (sharing_restart): atom-bomb approach to connection sharing until we
2440 can use libnl; reinit all sharing when the default connection or
2441 shared connections change
2442 - (sharing_init, sharing_stop): evil functions that init and deinit
2445 2008-06-09 Dan Williams <dcbw@redhat.com>
2447 * src/nm-activation-request.c
2448 src/nm-activation-request.h
2449 - (nm_act_request_set_shared, nm_act_request_get_shared,
2450 nm_act_request_get_device): new functions to facilitate connection
2453 2008-06-09 Dan Williams <dcbw@redhat.com>
2456 - (clear_act_request): unset the 'default' property of the activation
2457 request when clearing it to ensure the property changed signal gets
2458 delivered and handled
2460 2008-06-09 Dan Williams <dcbw@redhat.com>
2462 * libnm-glib/nm-device-802-11-wireless.c
2463 - (access_point_removed_proxy): actually unref the AP after removing
2464 it from the device's AP list. Fixes refcounting bug for APs that
2465 caused them to get mixed up in the applet's menu.
2467 2008-06-09 Tambet Ingo <tambet@gmail.com>
2469 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2470 (nm_dhcp_device_destroy): Destroy the device options hash table.
2472 2008-06-06 Dan Williams <dcbw@redhat.com>
2474 * system-settings/src/nm-polkit-helpers.c
2475 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2476 unref the context if the initialization fails; also avoid spew when
2479 2008-06-06 Dan Williams <dcbw@redhat.com>
2481 Patch from Tambet Ingo <tambet@gmail.com>
2483 * src/NetworkManagerSystem.c
2484 src/NetworkManagerSystem.h
2485 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2486 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2487 - (nm_system_device_set_ip4_route): clean up
2488 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2491 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2493 * src/vpn-manager/nm-vpn-connection.c
2494 - (ip_address_to_string): new function
2495 - (print_vpn_config): use ip_address_to_string
2496 - (merge_vpn_routes): add user-defined routes to the ip4 config
2497 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2499 * include/NetworkManagerVPN.h
2502 2008-06-05 Dan Williams <dcbw@redhat.com>
2504 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2507 - Show which device is the default device
2509 2008-06-05 Tambet Ingo <tambet@gmail.com>
2513 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2514 Free data returned from dbus method call.
2516 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2517 dbus_g_method_get_sender() returns a duplicated string, free it
2519 (check_polkit_privileges): Looks like policykit sometimes returns
2520 error and non-null return value, don't leak errors in that case.
2522 * system-settings/src/main.c (find_plugin): Don't leak existing
2524 (load_stuff): Don't leak device list and list items.
2525 (have_connection_for_device): Don't leak connection list.
2527 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2528 Free the data received from g_keyfile_get_*.
2530 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2531 the key when the security object is updated.
2533 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2534 Free data returned from dbus method call.
2535 (iface_state_cb): Ditto.
2536 (add_network_cb): Ditto.
2537 (nm_supplicant_interface_add_cb): Don't make another copy of already
2538 duplicated object path.
2539 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2542 * src/supplicant-manager/nm-supplicant-config.c
2543 (ADD_STRING_LIST_VAL): Fix a memory leak.
2545 * src/nm-manager.c (free_get_settings_info): Free the allocated
2547 (list_connections_cb): Free data returned from dbus method call.
2548 (system_settings_get_unmanaged_devices_cb): Ditto.
2550 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2552 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
2553 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
2554 * src/backends/shvar.c (svCloseFile): Free the duplicated content
2557 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2558 arguments after the object is created.
2560 2008-06-04 Dan Williams <dcbw@redhat.com>
2562 * libnm-util/Makefile.am
2563 - Don't distribute nm-param-spec-specialized.h
2565 2008-06-02 Tambet Ingo <tambet@gmail.com>
2567 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2569 * src/nm-ip4-config.[ch]: Store the static routes as a list of
2570 NMIP4Address, update the getters and setters.
2572 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2573 Use the updated NMIP4Config routes api.
2575 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2576 static routes as well.
2578 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2579 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2582 2008-05-30 Dan Williams <dcbw@redhat.com>
2584 * src/named-manager/nm-named-manager.c
2585 src/named-manager/nm-named-manager.h
2586 - Remove stale/obsolete bits for controlling bind over DBus
2588 2008-05-29 Dan Williams <dcbw@redhat.com>
2590 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2591 src/dnsmasq-manager/nm-dnsmasq-manager.h
2592 - (nm_dnsmasq_manager_new): move iface argument here
2593 - (constructor): remove, not needed
2594 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2595 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2598 - (real_act_stage4_get_ip4_config,
2599 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2602 2008-05-29 Dan Williams <dcbw@redhat.com>
2605 - (dnsmasq_state_changed_cb): new function; fail the connection if
2606 something happens to dnsmasq
2607 - (nm_device_new_ip4_shared_config): new function; create a new
2608 ip4-config for shared connections. Shared connections always use a
2609 fixed static IP address.
2610 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2611 autoip connections by actually using the returned ip4-config and
2613 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2615 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2618 2008-05-29 Dan Williams <dcbw@redhat.com>
2620 * src/nm-device-802-11-wireless.c
2621 - (real_get_best_auto_connection): auto-activate 'shared' method
2624 2008-05-29 Dan Williams <dcbw@redhat.com>
2626 * libnm-util/nm-setting-ip4-config.c
2627 libnm-util/nm-setting-ip4-config.h
2628 - Add a 'shared' method to indicate that this connection should be
2629 brought up with a DHCP and proxy DNS server to facilitate
2631 - (verify): 'shared' method doesn't allow DNS or searches either
2633 2008-05-29 Dan Williams <dcbw@redhat.com>
2637 src/dnsmasq-manager/Makefile.am
2638 src/dnsmasq-manager/nm-dnsmasq-manager.c
2639 src/dnsmasq-manager/nm-dnsmasq-manager.h
2640 - Add a dnsmasq daemon manager to facilitate connection sharing
2642 2008-05-29 Dan Williams <dcbw@redhat.com>
2644 * src/nm-device-private.h
2645 - Remove unused prototypes and clean up
2648 - Remove anything related to system_config_data, which is no longer used
2649 - (nm_device_new_ip4_autoip_config): make static
2651 2008-05-29 Tambet Ingo <tambet@gmail.com>
2653 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2654 (file_changed): Fix a bug where suse system settings plugin didn't
2655 update the connections automatically when the files changed.
2657 2008-05-28 Dan Williams <dcbw@redhat.com>
2659 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2661 2008-05-28 Dan Williams <dcbw@redhat.com>
2663 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2665 * src/NetworkManagerSystem.c
2666 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2667 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2668 was causing -EINVAL errors since the libnl code actually does flush
2669 the routes on VPN interfaces now
2671 * src/backends/NetworkManagerArch.c
2672 src/backends/NetworkManagerDebian.c
2673 src/backends/NetworkManagerFrugalware.c
2674 src/backends/NetworkManagerGeneric.c
2675 src/backends/NetworkManagerGentoo.c
2676 src/backends/NetworkManagerMandriva.c
2677 src/backends/NetworkManagerPaldo.c
2678 src/backends/NetworkManagerRedHat.c
2679 src/backends/NetworkManagerSlackware.c
2680 src/backends/NetworkManagerSuSE.c
2681 - (nm_system_device_flush_ip4_routes,
2682 nm_system_device_flush_ip4_routes_with_iface): remove
2684 2008-05-28 Dan Williams <dcbw@redhat.com>
2686 * libnm-util/nm-setting-wireless.c
2687 libnm-util/nm-setting-wireless.h
2688 - (set_property, get_property, nm_setting_wireless_class_init): add the
2689 'adhoc-create' property, which when TRUE indicates that NM should
2690 create this connection as an adhoc wifi network if it's not found
2691 as an adhoc network during scanning. Can be used to auto-create
2692 adhoc networks when used in combination with autoconnect.
2694 2008-05-28 Tambet Ingo <tambet@gmail.com>
2696 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2698 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2699 checked, it doesn't work on some devices.
2701 2008-05-28 Tambet Ingo <tambet@gmail.com>
2703 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
2704 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2706 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2707 Use inet_aton() everywhere to improve error detection.
2708 Don't fall back to 'dhcp_server_identifier' if the gateway is not
2711 2008-05-26 Tambet Ingo <tambet@gmail.com>
2713 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2716 2008-05-26 Tambet Ingo <tambet@gmail.com>
2718 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2719 reference counting issue.
2721 2008-05-23 Dan Williams <dcbw@redhat.com>
2723 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2725 * src/backends/NetworkManagerGeneric.c
2726 - (nm_generic_enable_loopback): use libnl
2728 2008-05-23 Dan Williams <dcbw@redhat.com>
2730 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2732 * src/NetworkManagerSystem.h
2733 src/backends/NetworkManagerArch.c
2734 src/backends/NetworkManagerDebian.c
2735 src/backends/NetworkManagerFrugalware.c
2736 src/backends/NetworkManagerGentoo.c
2737 src/backends/NetworkManagerMandriva.c
2738 src/backends/NetworkManagerPaldo.c
2739 src/backends/NetworkManagerRedHat.c
2740 src/backends/NetworkManagerSlackware.c
2741 src/backends/NetworkManagerSuSE.c
2742 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2743 nm_system_flush_arp_cache): remove, unused
2745 * src/backends/NetworkManagerGeneric.c
2746 src/backends/NetworkManagerGeneric.h
2747 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2748 nm_generic_flush_arp_cache): remove, unused
2750 2008-05-23 Dan Williams <dcbw@redhat.com>
2752 * system-settings/plugins/ifcfg-fedora/reader.c
2753 - (make_ip4_setting): honor PEERDNS setting
2755 2008-05-23 Dan Williams <dcbw@redhat.com>
2757 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2759 * src/NetworkManagerSystem.c
2760 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2763 * src/backends/NetworkManagerArch.c
2764 src/backends/NetworkManagerDebian.c
2765 src/backends/NetworkManagerFrugalware.c
2766 src/backends/NetworkManagerGentoo.c
2767 src/backends/NetworkManagerMandriva.c
2768 src/backends/NetworkManagerPaldo.c
2769 src/backends/NetworkManagerRedHat.c
2770 src/backends/NetworkManagerSlackware.c
2771 src/backends/NetworkManagerSuSE.c
2772 - (nm_system_device_flush_ip4_addresses,
2773 nm_system_device_flush_ip4_addresses_with_iface): remove
2775 * src/backends/NetworkManagerGeneric.c
2776 - (nm_generic_device_flush_ip4_addresses,
2777 nm_generic_device_flush_ip4_addresses_with_iface): remove
2779 2008-05-23 Dan Williams <dcbw@redhat.com>
2781 * src/supplicant-manager/nm-supplicant-settings-verify.c
2782 - Switch 'bssid' from bytes to keyword type
2783 - (validate_type_keyword): allow NULL keyword lists
2785 * src/supplicant-manager/nm-supplicant-config.c
2786 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2787 a byte array to string form, which is what the supplicant expects
2789 2008-05-23 Tambet Ingo <tambet@gmail.com>
2791 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2792 information received from DHCP.
2794 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2795 to make it possible to ignore the DNS information (both servers and
2796 searches) returned by DHCP server.
2798 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2799 name servers and searches if "ignore_dhcp_dns" is set.
2801 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2802 (nm_ip4_config_reset_searches): Implement.
2804 2008-05-22 Dan Williams <dcbw@redhat.com>
2806 Remove anything mDNS related. This is better done from a distro-specific
2807 dispatcher script. Plus, any distro using avahi doesn't need to restart
2808 avahi, since avahi can handle interface changes just fine using netlink.
2811 - Remove --with-mdns-provider
2813 * src/NetworkManagerPolicy.c
2814 - (global_state_changed): don't restart the mdns provider
2816 * src/NetworkManagerSystem.h
2817 src/backends/NetworkManagerArch.c
2818 src/backends/NetworkManagerDebian.c
2819 src/backends/NetworkManagerFrugalware.c
2820 src/backends/NetworkManagerGentoo.c
2821 src/backends/NetworkManagerMandriva.c
2822 src/backends/NetworkManagerPaldo.c
2823 src/backends/NetworkManagerRedHat.c
2824 src/backends/NetworkManagerSlackware.c
2825 src/backends/NetworkManagerSuSE.c
2826 - (nm_system_restart_mdns_responder): remove
2828 * src/backends/NetworkManagerGeneric.c
2829 src/backends/NetworkManagerGeneric.h
2830 - (nm_generic_restart_mdns_responder): remove
2832 2008-05-22 Dan Williams <dcbw@redhat.com>
2835 - clean up crypto options; just use --with-crypto=nss or
2836 --with-crypto=gnutls
2838 2008-05-22 Tambet Ingo <tambet@gmail.com>
2840 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2841 anymore, do it right away.
2843 2008-05-22 Tambet Ingo <tambet@gmail.com>
2845 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2846 serial device open when we're not connecting or connected.
2848 * src/nm-cdma-device.c (device_state_changed): Ditto.
2850 2008-05-22 Tambet Ingo <tambet@gmail.com>
2852 Don't remove all devices on waking up, sync with HAL.
2854 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2855 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2856 (hal_manager_hal_reappeared_cb): Just call sync_devices.
2858 2008-05-21 Tambet Ingo <tambet@gmail.com>
2860 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2861 If the default gateway is unreachable, add a route to gateway and try
2864 2008-05-20 Dan Williams <dcbw@redhat.com>
2866 * system-settings/plugins/ifcfg-fedora/reader.c
2867 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2869 2008-05-19 Dan Williams <dcbw@redhat.com>
2871 * system-settings/plugins/ifcfg-fedora/reader.c
2872 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2873 if the ifcfg doesn't specify one (rh #446527)
2875 2008-05-19 Dan Williams <dcbw@redhat.com>
2877 Make the system settings service exit when the bus goes away. Since it's
2878 a bus-activated service, it's lifetime is limited to the bus that activated
2881 * system-settings/src/Makefile.am
2882 system-settings/src/nm-system-config-hal-manager-private.h
2883 - Remove nm-system-config-hal-manager-private.h
2885 * system-settings/src/nm-system-config-hal-manager.c
2886 - (nm_system_config_hal_manager_reinit_dbus,
2887 nm_system_config_hal_manager_deinit_dbus): remove
2889 * system-settings/src/main.c
2890 - (dbus_reconnect): remove
2891 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2892 - (destroy_cb): just quit when the bus goes away
2893 - (start_dbus_service, dbus_init): simplify
2894 - (main): destroy the wired devices hash table after destroying
2895 the HAL manager so we don't have to disconnect signals from the
2898 2008-05-15 Tambet Ingo <tambet@gmail.com>
2900 Move crypto functions from nm-applet to libnm-util.
2902 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2903 (nm_setting_802_1x_set_client_cert)
2904 (nm_setting_802_1x_set_phase2_ca_cert)
2905 (nm_setting_802_1x_set_phase2_client_cert)
2906 (nm_setting_802_1x_set_private_key)
2907 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2908 file (or private key and it's password), read the certificate data.
2910 * libnm-util/crypto_nss.c:
2911 * libnm-util/crypto_gnutls.c:
2912 * libnm-util/crypto.[ch]: Move here from nm-applet.
2914 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2916 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2917 Imlement WPA-EAP configuration reading from sysconfig.
2919 2008-05-16 Dan Williams <dcbw@redhat.com>
2921 * src/nm-device-802-11-wireless.c
2922 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2925 2008-05-14 Dan Williams <dcbw@redhat.com>
2927 Fix Linus' bug in rh #134886
2929 * src/nm-device-802-3-ethernet.c
2930 - (constructor): request initial carrier state
2932 * src/nm-netlink-monitor.c
2933 - (nm_netlink_monitor_request_status): schedule emission of carrier
2934 signals after refilling the link cache. Because the refill is a
2935 synchronous operation, the normal message hander won't get called
2936 since libnl has already consumed the messages.
2937 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2939 2008-05-14 Dan Williams <dcbw@redhat.com>
2941 * src/NetworkManagerSystem.c
2942 - (nm_system_device_is_up_with_iface): clean up
2944 2008-05-13 Dan Williams <dcbw@redhat.com>
2946 Fix refcounting issues over sleep/wake when a VPN connection was active that
2947 caused NM to try registering an object path for a device upon wake that was
2948 the same as an already registered object path.
2951 - (nm_device_take_down): properly handle cases where the device is
2952 no longer active but was just active, and therefore must be
2953 deactivated. When a device moves to unmanaged mode, this function
2954 previously would not deactivate the device, because the state was
2955 already unmanaged by the time this function was called.
2957 * src/vpn-manager/nm-vpn-connection.c
2958 - (device_state_changed): properly handle multiple devices states in
2959 which the device is now deactivated. Code previously didn't handle
2960 transitions to the UNAVAILABLE (like rfkill or carrier off) and
2963 2008-05-13 Dan Williams <dcbw@redhat.com>
2965 * src/nm-device-private.h
2967 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2969 * src/nm-device-802-11-wireless.c
2970 - (nm_device_802_11_wireless_set_enabled): take devices up
2971 and down as appropriate for the rfkill state
2973 2008-05-13 Dan Williams <dcbw@redhat.com>
2975 * marshallers/nm-marshal.list
2976 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2978 * system-settings/plugins/ifcfg-fedora/Makefile.am
2979 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2980 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2981 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2982 events. Solely for use watching ifcfg files to pick up changes
2983 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2985 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2986 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2987 file contents change
2988 - (finalize): clean up inotify watches
2989 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2990 and the connection ifcfg for changes on their hardlinks
2991 - (files_changed_cb): proxy the changed signal back out to listeners
2993 * system-settings/plugins/ifcfg-fedora/plugin.c
2995 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2997 - (read_one_connection): connect to change signals on the new connection
2998 - (dir_changed, connection_changed_handler,
2999 handle_connection_remove_or_new): break out connection change
3000 handling and connection new/remove handling so it can be used from
3001 both the GFileMonitor callback and the NMIfcfgConnection changed
3004 * system-settings/plugins/ifcfg-fedora/reader.c
3005 system-settings/plugins/ifcfg-fedora/reader.h
3006 - (connection_from_file): return the keyfile path the connection would use
3008 2008-05-13 Tambet Ingo <tambet@gmail.com>
3010 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
3011 single PolKitContext which is shared by all. PolKitContext::unref leaks
3012 just about everything, including all open file descriptiors and results
3013 in 99% cpu usage when data arrives to any of the fds that don't belong
3014 to any context anymore.
3016 2008-05-12 Dan Williams <dcbw@redhat.com>
3018 * gfilemonitor/glocaldirectorymonitor.c
3019 gfilemonitor/glocaldirectorymonitor.h
3020 - (g_local_directory_monitor_constructor): actually subscribe to the
3022 - (_g_local_directory_monitor_new): ensure that inotify is started up
3024 * gfilemonitor/glocalfilemonitor.c
3025 gfilemonitor/glocalfilemonitor.h
3026 - (g_local_file_monitor_constructor): actually subscribe to the watch
3027 - (_g_local_file_monitor_new): ensure that inotify is started up
3029 2008-05-11 Dan Williams <dcbw@redhat.com>
3032 - record PolicyKit version
3034 * system-settings/src/nm-polkit-helpers.c
3035 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3036 with PolicyKit <= 0.6
3038 2008-05-11 Dan Williams <dcbw@redhat.com>
3040 Update Fedora system-settings plugin to support latest API and use
3041 GFileMonitor rather than home-rolled inotify code.
3043 * system-settings/plugins/ifcfg-fedora/Makefile.am
3044 system-settings/plugins/ifcfg-fedora/common.h
3045 system-settings/plugins/ifcfg-fedora/plugin.c
3046 - Update to latest system settings plugin API; use GIO instead of
3047 custom inotify code; use NMIfcfgConnection objects instead of
3048 ConnectionData structures tacked onto NMConnection objects
3050 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3051 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3052 - Implement an NMExportedConnection subclass mapping ifcfg files to
3055 * system-settings/plugins/ifcfg-fedora/reader.c
3056 system-settings/plugins/ifcfg-fedora/reader.h
3057 - Move ifcfg parsing bits here from parser.c
3059 * system-settings/plugins/ifcfg-fedora/parser.c
3060 system-settings/plugins/ifcfg-fedora/parser.h
3061 - Remove; most code moved to reader.c
3063 2008-05-11 Dan Williams <dcbw@redhat.com>
3068 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3069 implementation, so that the same change monitoring code can be used
3070 on systems without glib-2.14 (like Fedora 8)
3072 * system-settings/plugins/keyfile/Makefile.am
3073 system-settings/plugins/keyfile/plugin.c
3074 system-settings/plugins/ifcfg-suse/Makefile.am
3075 system-settings/plugins/ifcfg-suse/plugin.c
3076 - Use private gfilemonitor code if GIO is not present
3078 2008-05-09 Tambet Ingo <tambet@gmail.com>
3080 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3081 NMExportedConnection's 'update' and 'delete' and return error with
3082 descriptive message.
3084 2008-05-08 Dan Williams <dcbw@redhat.com>
3086 Patch from Markus Becker <mab@comnets.uni-bremen.de>
3088 * src/nm-gsm-device.c
3089 src/nm-cdma-device.c
3090 - (real_get_best_auto_connection): implement; allow autoconnection
3091 to GSM & CDMA devices
3093 2008-05-08 Tambet Ingo <tambet@gmail.com>
3095 Use PolicyKit to authorize the system settings' AddConnection method
3096 and the system settings connections' Update and Delete methods.
3098 * libnm-glib/nm-settings.c (impl_exported_connection_update)
3099 (impl_exported_connection_delete, nm_exported_connection_update)
3100 (nm_exported_connection_delete): Return boolean and fill GError
3101 to notify the callers of the reasons why it might have failed.
3103 * libnm-glib/nm-dbus-settings-system.c
3104 (nm_dbus_settings_system_add_connection): Return the error from dbus
3105 call so that the callers can see why it failed.
3107 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
3110 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3112 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3113 abstract base class that checks PolicyKit permissions.
3115 * system-settings/src/dbus-settings.c:
3116 (impl_settings_add_connection): Check the policy before carring out
3119 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3120 Inherit from NMSysconfigConnection, check the policies before
3121 allowing updating or removing.
3123 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3124 Inherit from NMSysconfigConnection.
3126 * introspection/nm-exported-connection.xml: Annotate "Update" and
3127 "Delete" methods with async flag so that the implementations can get
3128 access to DBusGMethodInvocation.
3130 * system-settings/src/dbus-settings.c
3131 (settings_add_connection_check_privileges): Implement.
3132 (impl_settings_add_connection): Check the privileges before adding a new
3133 connection. Improve error reporting.
3135 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3136 async so that the implementation can access DBusGMethodInvocation.
3138 * configure.in: Check for PolicyKit.
3140 * policy/org.freedesktop.network-manager-settings.system.policy:
3143 * policy/Makefile.am: Install the policy file.
3145 * configure.in: Add 'policy' subdir.
3147 2008-05-08 Tambet Ingo <tambet@gmail.com>
3149 Rewrite the suse system settings plugin.
3151 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3153 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3155 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3157 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3159 * system-settings/src/dbus-settings.c: Fix connection reference counting.
3161 * system-settings/src/main.c (load_plugins): Improve error reporting.
3163 * system-settings/src/sha1.[ch] Add.
3165 * system-settings/src/Makefile.am: Add sha1[ch] to build.
3167 2008-05-07 Dan Williams <dcbw@redhat.com>
3169 * system-settings/plugins/keyfile/reader.c
3170 - (read_one_setting_value): handle IP address items separately
3171 - (read_array_of_uint): read IPv4 DNS option as a string array
3172 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3175 * system-settings/plugins/keyfile/writer.c
3176 - (write_setting_value): handle IP address items separately
3177 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3178 not an array of uint, so that it's user-editable
3179 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3180 arrays, so they are user-editable
3182 2008-05-07 Dan Williams <dcbw@redhat.com>
3184 * system-settings/plugins/keyfile/Makefile.am
3185 - Change location of the keyfile plugin settings to
3186 /etc/NetworkManager/system-connections
3188 2008-05-05 Tambet Ingo <tambet@gmail.com>
3190 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3192 * system-settings/plugins/keyfile/plugin.c: Work with
3193 NMKeyfileConnections.
3195 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3196 Plugins are supposed to return NMExportedConnections now and handle the
3197 updated(), removed(), and GetSecrets().
3198 Store the internal list of connections in hash table to make it easier
3201 2008-05-07 Tambet Ingo <tambet@gmail.com>
3203 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3204 for multiple IP addresses.
3206 2008-05-07 Tambet Ingo <tambet@gmail.com>
3208 Patch from André Lemos.
3210 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3213 2008-05-06 Dan Williams <dcbw@redhat.com>
3215 * src/dhcp-manager/nm-dhcp-manager.c
3216 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3217 NMIP4Config to support multiple IP addresses
3219 * src/NetworkManagerUtils.c
3220 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3222 * src/nm-ip4-config.c
3224 - Store a list of IPv4 address/netmask/gateway tuples
3225 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3226 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3227 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3228 nm_ip4_config_set_address): remove
3229 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3230 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3231 new functions; handle multiple IPv4 addresses
3234 src/ppp-manager/nm-ppp-manager.c
3235 src/vpn-manager/nm-vpn-connection.c
3236 src/NetworkManagerPolicy.c
3238 libnm-glib/libnm-glib-test.c
3239 - update for changes to NMIP4Config for multiple IPv4 addresses
3241 * src/NetworkManagerSystem.c
3242 - (nm_system_device_set_ip4_route): don't add the route if any address
3243 is on the same subnet as the destination
3244 - (check_one_address): ignore the exact match, just match family and
3246 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3248 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3249 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3251 * introspection/nm-ip4-config.xml
3252 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3253 - Add 'addresses' property which is an array of (uuu) tuples of
3254 address/netmask/gateway
3256 * libnm-util/nm-setting-ip4-config.c
3257 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3259 * libnm-glib/nm-ip4-config.c
3260 libnm-glib/nm-ip4-config.h
3261 - Handle D-Bus interface changes to support multiple IP addresses
3263 2008-05-06 Dan Williams <dcbw@redhat.com>
3265 * libnm-util/nm-utils.c
3266 libnm-util/nm-utils.h
3267 - (nm_utils_ip4_addresses_from_gvalue,
3268 nm_utils_ip4_addresses_to_gvalue): new functions
3270 2008-05-06 Tambet Ingo <tambet@gmail.com>
3272 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3273 the returned connection paths.
3275 2008-05-05 Tambet Ingo <tambet@gmail.com>
3277 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
3278 "PropertiesChanged" signal signature.
3280 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3281 defined in nm-dbus-glib-types.h.
3282 Don't register the connection on dbus, we're a proxy class to
3283 communicate with an already registered connection over dbus.
3285 2008-04-30 Tambet Ingo <tambet@gmail.com>
3287 Implement new subclasses of NMSettings and NMExportedConnection to make
3288 it easier for the applet to access and modify system settings.
3290 * libnm-glib/nm-dbus-connection.[ch]:
3291 * libnm-glib/nm-dbus-settings.[ch]:
3292 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3294 * libnm-glib/Makefile.am: Add the new files to build, generate some more
3297 * include/NetworkManager.h: Define the system settings DBus interface.
3299 2008-04-30 Tambet Ingo <tambet@gmail.com>
3301 Implement additional C API for exported connections to make them identical
3302 with the DBus API. Change the (list_connections) virtual function to be
3303 more usable from C - instead of requiring implementers to return a GPtrArray
3304 of dbus paths, return a list of connections.
3306 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3307 (nm_settings_list_connections):
3308 (nm_exported_connection_new):
3309 (nm_exported_connection_update):
3310 (nm_exported_connection_delete): Implement.
3312 (impl_settings_list_connections):
3313 (impl_exported_connection_update):
3314 (impl_exported_connection_delete): Use the new public functions to make
3315 sure the C and dbus interfaces stay in sync.
3317 * system-settings/src/dbus-settings.c (list_connections): Return a list of
3320 2008-05-02 Dan Williams <dcbw@redhat.com>
3322 * system-settings/plugins/ifcfg-fedora/plugin.c
3323 - (dispose): use right unref call on the DBusGConnection
3325 2008-05-02 Dan Williams <dcbw@redhat.com>
3327 * src/nm-serial-device.c
3328 - (find_terminator): don't compare the whole line, just the size of the
3329 terminator, since some modems put stuff after the terminator, like
3332 2008-05-01 Dan Williams <dcbw@redhat.com>
3334 Patch from Michael Biebl <biebl@debian.org>
3336 * callouts/Makefile.am
3337 callouts/org.freedesktop.nm_dispatcher.service.in
3338 system-settings/src/Makefile.am
3339 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3340 - use the right install location for dbus-activated stuff
3342 2008-04-30 Dan Williams <dcbw@redhat.com>
3344 * src/nm-gsm-device.c
3345 - (enter_pin): fix setting name passed to applets when asking for a GSM
3348 2008-04-30 Dan Williams <dcbw@redhat.com>
3351 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3353 2008-04-30 Dan Williams <dcbw@redhat.com>
3355 * src/nm-device-802-3-ethernet.c
3356 src/nm-device-802-11-wireless.c
3357 - (real_is_up): return true instead of chaining up to unimplemented
3360 2008-04-30 Dan Williams <dcbw@redhat.com>
3362 * src/NetworkManagerSystem.c
3363 src/NetworkManagerSystem.h
3364 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3365 functions to check device flags for IFF_UP
3367 * src/nm-serial-device.c
3368 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3371 * src/nm-device-802-3-ethernet.c
3372 src/nm-device-802-11-wireless.c
3373 - (real_hw_is_up): call nm_system_device_is_up()
3376 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3377 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3380 2008-04-29 Dan Williams <dcbw@redhat.com>
3382 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3384 * marshallers/nm-marshal.list
3387 * src/NetworkManager.c
3388 - (main): let the NMManager handle the NMHalManager
3390 * src/nm-hal-manager.c
3391 src/nm-hal-manager.h
3392 - convert to a GObject, and emit singals when stuff changes. Let the
3393 NMManager handle the signals, instead of the NMHalManager calling
3398 - (remove_one_device): consolidate device removals here
3399 - (dispose): use remove_one_device()
3400 - (nm_manager_get_device_by_udi): make static
3401 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3402 manager for devices at startup or wakeup time
3403 - (nm_manager_new): create and monitor the HAL manager
3404 - (hal_manager_udi_added_cb): new function; do what
3405 nm_manager_add_device() used to do when signalled by the hal manager
3406 - (hal_manager_udi_removed_cb): new function; do what
3407 nm_manager_remove_device() used to do when signalled by the hal
3409 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3411 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3412 in our device list that aren't known to HAL
3413 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3414 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3416 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3417 nm_manager_activation_pending, nm_manager_wireless_enabled,
3418 nm_manager_wireless_hardware_enabled,
3419 nm_manager_set_wireless_hardware_enabled): remove, unused
3421 2008-04-28 Dan Williams <dcbw@redhat.com>
3423 Fix the device up/down ambiguities. Up/down state used to be a
3424 conglomeration of hardware state (IFF_UP) and any device-specific things
3425 (supplicant, periodic timers, etc) that the device used to indicate
3426 readiness. Unfortunately, if the hardware was already IFF_UP for some
3427 reason, then the device specific stuff wouldn't get run, and the device
3432 - Create hw_is_up, hw_bring_up, and hw_take_down
3433 - Rename bring_down -> take_down
3434 - (real_hw_is_up): check interface flags for IFF_UP
3435 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3436 - (nm_device_is_up): make static; only used locally
3437 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3438 if the device is already up; if the device isn't up, bring it up
3439 - (nm_device_hw_take_down): just take down hardware
3440 - (nm_device_bring_up): bring up HW first, then device specific stuff
3441 - (nm_device_take_down): always deactivate device when called; always
3442 try to take hardware down too
3443 - (nm_device_state_changed): take device down when entering unmanaged
3444 state from a higher state
3446 * src/nm-device-802-11-wireless.c
3447 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3449 - (real_take_down, supplicant_iface_state_cb_handler,
3450 supplicant_iface_connection_state_cb_handler,
3451 supplicant_mgr_state_cb_handler): fix some messages
3453 * src/nm-device-802-3-ethernet.c
3454 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3457 2008-04-28 Dan Williams <dcbw@redhat.com>
3461 - (nm_manager_error_get_type): add new error
3462 - (nm_manager_remove_device): don't bother taking down the device here,
3463 the state change from unmanaging the device will do it
3464 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3465 uses it; when going to sleep, just unmanage the device instead of
3466 taking it down, because stuff will cleaned up correctly when the
3467 device gets unmanaged
3469 2008-04-28 Dan Williams <dcbw@redhat.com>
3471 * src/nm-hal-manager.c
3472 - (add_initial_devices): convert to a GSourceFunc prototype
3473 - (nm_manager_state_changed): when coming out of sleep, punt the
3474 device re-addition to an idle handler to let D-Bus events go out
3475 first, fixing a potential dbus-glib assert if the old device was
3476 not yet disposed (due to references held while emitting the D-Bus
3477 signals) but the new device was found, because the mainloop didn't
3478 run between signal emission and add_initial_devices()
3480 2008-04-27 Dan Williams <dcbw@redhat.com>
3482 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3484 * initscript/paldo/NetworkManager.in
3485 initscript/SUSE/networkmanager.in
3486 - Remove last bits of dhcdbd
3488 2008-04-27 Dan Williams <dcbw@redhat.com>
3490 * src/nm-device-802-11-wireless.c
3491 - (link_timeout_cb): don't ask for secrets when disconnected during
3492 association/authentication phase, drivers are still just too crappy
3494 2008-04-27 Dan Williams <dcbw@redhat.com>
3498 dispatcher-daemon/Makefile.am
3499 dispatcher-daemon/NetworkManagerDispatcher.c
3500 initscript/Arch/Makefile.am
3501 initscript/Arch/networkmanager-dispatcher.in
3502 initscript/Gentoo/Makefile.am
3503 initscript/Gentoo/NetworkManagerDispatcher.in
3504 initscript/Mandriva/Makefile.am
3505 initscript/Mandriva/networkmanagerdispatcher.in
3506 initscript/RedHat/Makefile.am
3507 initscript/RedHat/NetworkManagerDispatcher.in
3508 initscript/SUSE/Makefile.am
3509 initscript/SUSE/networkmanager-dispatcher.in
3510 initscript/Slackware/Makefile.am
3511 initscript/Slackware/rc.networkmanager-dispatcher.in
3512 initscript/paldo/Makefile.am
3513 initscript/paldo/NetworkManagerDispatcher.in
3515 man/NetworkManagerDispatcher.8.in
3516 - Remove the dispatcher daemon
3518 2008-04-27 Dan Williams <dcbw@redhat.com>
3520 * callouts/Makefile.am
3521 callouts/nm-dispatcher-action.c
3522 callouts/nm-dispatcher-action.h
3523 callouts/nm-dispatcher.conf
3524 callouts/nm-dispatcher.xml
3525 callouts/org.freedesktop.nm_dispatcher.service
3526 - Re-implement the dispatcher as a system-bus activated service that
3527 NM calls on-demand, rather than an always running daemon
3530 - Add callouts dir to includes to pick up dispatcher defines
3533 - (nm_device_state_changed): call dispatcher on device activated/
3536 * src/vpn-manager/nm-vpn-connection.c
3537 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3540 * src/NetworkManagerUtils.c
3541 src/NetworkManagerUtils.h
3542 - (nm_utils_call_dispatcher): helper to call dispatcher
3544 2008-04-27 Dan Williams <dcbw@redhat.com>
3546 * src/NetworkManagerUtils.c
3547 src/NetworkManagerUtils.h
3548 - remove unneeded includes
3549 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3550 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3551 nm_timeval_cmp, nm_timeval_add): remove, unused
3552 - clean up formatting
3553 - (nm_spawn_process): de-uglify
3555 * src/nm-device-802-11-wireless.c
3556 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3558 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
3560 * initscript/Gentoo/NetworkManager.in:
3561 Fix for starting the daemon.
3563 2008-04-25 Dan Williams <dcbw@redhat.com>
3565 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3567 * src/NetworkManagerSystem.c
3568 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3570 2008-04-25 Dan Williams <dcbw@redhat.com>
3572 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3574 * src/NetworkManagerSystem.c
3575 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3576 implementation of nm_system_device_replace_default_route()
3578 * src/NetworkManagerPolicy.c
3579 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3581 * src/backends/NetworkManagerArch.c
3582 src/backends/NetworkManagerDebian.c
3583 src/backends/NetworkManagerFrugalware.c
3584 src/backends/NetworkManagerGeneric.c
3585 src/backends/NetworkManagerGeneric.h
3586 src/backends/NetworkManagerGentoo.c
3587 src/backends/NetworkManagerMandriva.c
3588 src/backends/NetworkManagerPaldo.c
3589 src/backends/NetworkManagerRedHat.c
3590 src/backends/NetworkManagerSlackware.c
3591 src/backends/NetworkManagerSuSE.c
3592 - (nm_system_device_replace_default_route): remove
3594 2008-04-25 Dan Williams <dcbw@redhat.com>
3596 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3598 * src/NetworkManagerSystem.c
3599 - (validate_ip4_route): remove; use nl_addr_parse() instead
3600 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3601 replace nm_system_device_add_route_via_device_with_iface() in the
3604 * src/backends/NetworkManagerArch.c
3605 src/backends/NetworkManagerDebian.c
3606 src/backends/NetworkManagerFrugalware.c
3607 src/backends/NetworkManagerGeneric.c
3608 src/backends/NetworkManagerGeneric.h
3609 src/backends/NetworkManagerGentoo.c
3610 src/backends/NetworkManagerMandriva.c
3611 src/backends/NetworkManagerPaldo.c
3612 src/backends/NetworkManagerRedHat.c
3613 src/backends/NetworkManagerSlackware.c
3614 src/backends/NetworkManagerSuSE.c
3615 - Remove nm_system_device_add_route_via_device_with_iface()
3617 2008-04-25 Dan Williams <dcbw@redhat.com>
3619 * system-settings/plugins/ifcfg-fedora/parser.c
3620 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3622 2008-04-24 Dan Williams <dcbw@redhat.com>
3624 * dispatcher-daemon/NetworkManagerDispatcher.c
3625 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3627 2008-04-24 Dan Williams <dcbw@redhat.com>
3629 * initscript/RedHat/NetworkManager.in
3630 initscript/RedHat/NetworkManagerDispatcher.in
3631 - Be active at runlevel 2
3632 - Adjust priorities earlier
3634 2008-04-22 Dan Williams <dcbw@redhat.com>
3636 * src/NetworkManagerPolicy.c
3637 - (update_routing_and_dns): when checking for a gateway, look at the
3638 composite IP4 config, not the connection's ip4-config setting, which
3639 doesn't include DHCP-returned information
3641 2008-04-22 Tambet Ingo <tambet@gmail.com>
3643 Implement GKeyFile system settings plugin.
3644 Implement writing system settings (currently supported only by GKeyFile plugin).
3646 * system-settings/src/main.c:
3647 * system-settings/src/dbus-settings.c: Move the communication with plugins
3648 from main.c to dbus-settings.c. Makes it possible to talk to all registered
3649 plugins for adding/updating/removing connections.
3651 * system-settings/src/nm-system-config-interface.c
3652 (nm_system_config_interface_add_connection): Implement
3653 (nm_system_config_interface_update_connection): Implement.
3654 (nm_system_config_interface_remove_connection): Implement.
3656 * system-settings/plugins/keyfile/Makefile.am:
3657 * system-settings/plugins/keyfile/plugin.[ch]:
3658 * system-settings/plugins/keyfile/writer.[ch]:
3659 * system-settings/plugins/keyfile/reader.[ch]: Implement.
3661 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3663 * configure.in: Generate GKeyFile Makefile.
3665 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3666 corruption, need to duplicate the returned string.
3667 (impl_exported_connection_update): Implement.
3668 (impl_exported_connection_delete): Implement.
3670 * introspection/nm-settings-system.xml: Add "AddConnection" method.
3672 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3674 2008-04-22 Dan Williams <dcbw@redhat.com>
3676 Patch from Charles R. Anderson (cra@wpi.edu)
3678 * src/NetworkManagerPolicy.c
3679 - (update_routing_and_dns): don't select devices without a gateway
3680 as having the default route (rh #437338)
3682 2008-04-21 Dan Williams <dcbw@redhat.com>
3684 * src/nm-activation-request.c
3685 src/nm-activation-request.h
3686 - (dispose): ensure to disconnect from the device's state-changed signal
3687 when appropriate so the signal doesn't get handled by an already
3688 disposed NMActRequest
3689 - (device_state_changed): update is_default here too just to make sure
3690 default is only True when the child device is activated
3691 - (nm_act_request_set_default): new function
3693 * src/NetworkManagerPolicy.c
3694 - (update_routing_and_dns): set 'default' on the active connection which
3695 has the default route and DNS
3697 2008-04-21 Dan Williams <dcbw@redhat.com>
3699 * src/NetworkManagerPolicy.c
3700 - (device_state_changed): update routing and DNS when a device goes
3701 into unmanaged or unavailable states too (like rfkill or carrier loss)
3703 2008-04-21 Dan Williams <dcbw@redhat.com>
3705 * include/NetworkManager.h
3706 - Add NMActiveConnectionState enum
3708 * introspection/nm-active-connection.xml
3709 introspection/nm-vpn-connection.xml
3710 - Add 'State' property for overall active connection state
3711 - Add 'Default' property, when True means this active connection
3712 has the default route
3713 - Add PropertyChanged signals so changes actually go out over the bus
3715 * src/nm-active-connection.h
3716 - Add defines for State & Default properties
3718 * src/nm-activation-request.c
3719 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3720 signal to determine active connection state
3722 * src/vpn-manager/nm-vpn-connection.c
3723 src/vpn-manager/nm-vpn-connection.h
3724 src/vpn-manager/nm-vpn-manager.c
3725 src/vpn-manager/nm-vpn-service.c
3726 - Rename old 'state' to 'vpn-state'
3727 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3728 - Add 'state' and 'default' properties, hook up to the vpn connection's
3729 'vpn-state-changed' signal
3731 * libnm-glib/nm-active-connection.c
3732 libnm-glib/nm-active-connection.h
3733 - Add new 'state' and 'default' properties and accessors
3735 * libnm-glib/nm-vpn-connection.c
3736 libnm-glib/nm-vpn-connection.h
3737 - Rename old 'state' property to 'vpn-state'
3738 - Add new 'state' and 'default' properties and accessors
3740 2008-04-21 Dan Williams <dcbw@redhat.com>
3742 * src/nm-ip4-config.c
3743 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3744 not specified (rh #443474)
3746 2008-04-20 Dan Williams <dcbw@redhat.com>
3748 * src/NetworkManagerUtils.c
3749 src/NetworkManagerUtils.h
3750 - (nm_utils_merge_ip4_config): new function; merge settings from an
3751 NMSettingIP4Config to an NMIP4Config object
3754 - (merge_ip4_config): move to NetworkManagerUtils.c
3756 * src/vpn-manager/nm-vpn-connection.c
3757 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3760 2008-04-18 Dan Williams <dcbw@redhat.com>
3762 * libnm-util/nm-setting-ppp.c
3763 libnm-util/nm-setting-ppp.h
3764 - Add 'no-vj-comp' option for TCP header compression
3765 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3768 2008-04-18 Dan Williams <dcbw@redhat.com>
3770 * libnm-util/nm-setting-ppp.c
3771 libnm-util/nm-setting-ppp.h
3772 src/ppp-manager/nm-ppp-manager.c
3773 - Add 'refuse-pap' and 'refuse-mschapv2' options
3775 2008-04-18 Dan Williams <dcbw@redhat.com>
3777 * libnm-util/nm-setting-ppp.c
3778 libnm-util/nm-setting-ppp.h
3779 src/ppp-manager/nm-ppp-manager.c
3780 - Remove the 'usepeerdns' option and always request DNS servers from
3781 the PPP server; the connection chooses to use/override/ignore the
3782 DNS servers returned from the PPP server
3784 2008-04-18 Dan Williams <dcbw@redhat.com>
3786 * libnm-util/nm-setting-ppp.c
3787 libnm-util/nm-setting-ppp.h
3788 src/ppp-manager/nm-ppp-manager.c
3789 - Remove the 'require-mppc' option, because pppd doesn't support it and
3790 it seems to have been an erroneous addition to the PPTP plugin in
3791 the first place (from which the ppp-manager is derived)
3793 2008-04-17 Dan Williams <dcbw@redhat.com>
3795 * libnm-util/nm-setting-pppoe.c
3796 - (verify): require a PPP setting too
3798 * src/ppp-manager/nm-ppp-manager.c
3799 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3802 2008-04-17 Dan Williams <dcbw@redhat.com>
3805 - (nm_device_state_changed): do deactivation and and promotion to
3806 unavailable here, so that the device gets cleaned up before the
3807 manager runs and starts emitting signals; do the
3808 FAILED->DISCONNECTED transition from an idle handler rather than
3809 immediately to guard against recursion
3810 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3811 FAILED->DISCONNECTED handler if it's scheduled
3813 2008-04-17 Dan Williams <dcbw@redhat.com>
3815 * src/nm-device-802-11-wireless.c
3816 - (state_changed_cb): clear AP list when device transitions to
3817 unavailable or unmanaged
3818 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3819 since this is already done in device_cleanup()
3820 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3821 isn't available or managed
3822 - (device_cleanup): use remove_all_aps()
3823 - (remove_all_aps): consolidate code removing all APs
3825 2008-04-17 Dan Williams <dcbw@redhat.com>
3827 * src/nm-serial-device.c
3828 src/nm-serial-device.h
3829 - (wait_for_reply_got_data): break input into lines, and search each
3830 line for responses _and_ terminator strings; also make sure that
3831 the read loop doesn't continue after the timeout is supposed to fire
3832 - (nm_serial_device_wait_for_reply): take an array of terminators too
3834 * src/nm-gsm-device.c
3835 src/nm-cdma-device.c
3836 - Send terminators to nm_serial_device_wait_for_reply()
3838 2008-04-16 Dan Williams <dcbw@redhat.com>
3840 Patch from 陈鑫 <znscnchen@gmail.com>
3842 * src/ppp-manager/nm-pppd-plugin.c
3843 - (get_credentials): return correct value for success; handle case where
3844 pppd just does some checking but doesn't want a password
3845 - (plugin_init): make CHAP work too
3847 2008-04-16 Dan Williams <dcbw@redhat.com>
3849 Patch from 陈鑫 <znscnchen@gmail.com>
3851 * src/ppp-manager/nm-ppp-manager.c
3852 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3854 2008-04-16 Dan Williams <dcbw@redhat.com>
3856 Patch from 陈鑫 <znscnchen@gmail.com>
3858 * src/nm-device-802-3-ethernet.c
3859 - (real_deactivate_quickly): clear the IP interface name on
3860 deactivation, otherwise the wrong interface might get used later
3861 for routing and IP management
3863 2008-04-15 Dan Williams <dcbw@redhat.com>
3865 * libnm-glib/nm-device.c
3866 - (get_product_and_vendor): handle serial devices correctly
3867 - (nm_device_update_description): pass device to get_product_and_vendor()
3869 2008-04-15 Dan Williams <dcbw@redhat.com>
3871 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3873 * src/NetworkManagerSystem.h
3874 src/backends/NetworkManagerArch.c
3875 src/backends/NetworkManagerDebian.c
3876 src/backends/NetworkManagerFrugalware.c
3877 src/backends/NetworkManagerGeneric.c
3878 src/backends/NetworkManagerGeneric.h
3879 src/backends/NetworkManagerGentoo.c
3880 src/backends/NetworkManagerMandriva.c
3881 src/backends/NetworkManagerPaldo.c
3882 src/backends/NetworkManagerRedHat.c
3883 src/backends/NetworkManagerSlackware.c
3884 src/backends/NetworkManagerSuSE.c
3886 - (nm_generic_device_add_ip6_link_address,
3887 nm_system_device_add_ip6_link_address): remove
3889 2008-04-15 Dan Williams <dcbw@redhat.com>
3891 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3893 * src/backends/NetworkManagerArch.c
3894 src/backends/NetworkManagerDebian.c
3895 src/backends/NetworkManagerFrugalware.c
3896 src/backends/NetworkManagerGeneric.c
3897 src/backends/NetworkManagerGeneric.h
3898 src/backends/NetworkManagerGentoo.c
3899 src/backends/NetworkManagerMandriva.c
3900 src/backends/NetworkManagerPaldo.c
3901 src/backends/NetworkManagerRedHat.c
3902 src/backends/NetworkManagerSlackware.c
3903 src/backends/NetworkManagerSuSE.c
3904 src/NetworkManagerSystem.h
3905 - flush_routes -> flush_ip4_routes
3906 - flush_addresses -> flush_ip4_addresses
3908 * src/NetworkManagerSystem.c
3910 src/vpn-manager/nm-vpn-connection.c
3911 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3913 2008-04-15 Dan Williams <dcbw@redhat.com>
3915 Remove exposure of wireless-tools mode types in the API.
3917 * include/NetworkManager.h
3918 - Define NM80211Mode enum
3920 * introspection/generic-types.xml
3921 - Describe NM_802_11_MODE enum
3922 - Remove IW_MODE_* enum
3924 * introspection/nm-access-point.xml
3925 libnm-glib/nm-access-point.c
3926 libnm-glib/nm-access-point.h
3927 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3929 * introspection/nm-device-802-11-wireless.xml
3930 libnm-glib/nm-device-802-11-wireless.c
3931 libnm-glib/nm-device-802-11-wireless.h
3932 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3934 * libnm-util/nm-setting-wireless.c
3935 src/NetworkManagerAP.c
3936 src/NetworkManagerAP.h
3937 src/nm-device-802-11-wireless.c
3938 src/nm-device-802-11-wireless.h
3940 - Use NM80211Mode not IW_MODE_*
3942 2008-04-15 Dan Williams <dcbw@redhat.com>
3944 Enhance nm-online based on a patch from Bill Nottingham.
3948 - Add help messages and option summary
3949 - Add long-format options
3950 - Add a '-x' option to exit if NM isn't running or isn't connecting
3952 2008-04-15 Tambet Ingo <tambet@gmail.com>
3954 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3956 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3958 2008-04-15 Dan Williams <dcbw@redhat.com>
3960 * nm-setting-ip4-config.c
3961 - (ip4_addresses_from_gvalue): handle NULL address array
3963 * nm-setting-8021x.c
3964 - (verify_tls, verify_ttls): warn on failed verification
3966 2008-04-10 Dan Williams <dcbw@redhat.com>
3968 * src/nm-gsm-device.c
3969 - (automatic_registration): accept "+CREG: 0,0"
3970 - (automatic_registration_response): fail on "+CREG: 0,0"
3972 2008-04-10 Tambet Ingo <tambet@gmail.com>
3974 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3976 2008-04-10 Tambet Ingo <tambet@gmail.com>
3978 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
3979 Make it compile again by commenting out broken code that at first didn't work and
3980 now didn't compile either.
3982 2008-04-08 Dan Williams <dcbw@redhat.com>
3984 * libnm-glib/nm-object-cache.c
3985 libnm-glib/nm-settings.c
3986 src/dhcp-manager/nm-dhcp-manager.c
3987 system-settings/plugins/ifcfg-fedora/plugin.c
3988 system-settings/plugins/ifcfg-suse/plugin.c
3989 system-settings/src/nm-system-config-hal-manager.c
3990 libnm-util/nm-utils.c
3991 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3992 not threadsafe anyway
3994 2008-04-08 Dan Williams <dcbw@redhat.com>
3996 * system-settings/src/main.c
3997 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3998 callbacks take a device type too
4000 2008-04-08 Dan Williams <dcbw@redhat.com>
4002 The system settings service will now create a new default DHCP connection
4003 for wired devices that have no existing applicable connection.
4005 * system-settings/src/nm-system-config-hal-manager.c
4006 system-settings/src/nm-system-config-hal-manager.h
4007 - (nm_system_config_hal_manager_get_type_for_udi): new function
4009 * system-settings/src/dbus-settings.c
4010 system-settings/src/dbus-settings.h
4011 - (nm_sysconfig_settings_get_connections): new function
4012 - (nm_sysconfig_settings_is_device_managed): new function
4014 * system-settings/src/main.c
4015 - (load_stuff): check for wired devices that need a default connection
4016 - (get_details_for_udi): get interface and MAC address from HAL
4017 - (add_default_dhcp_connection): add a default connection for a wired
4019 - (device_added_cb, device_removed_cb): do the right thing with
4020 wired devices and their default connections on HAL device events
4022 2008-04-07 Dan Williams <dcbw@redhat.com>
4024 * libnm-glib/nm-device.c
4025 libnm-glib/nm-device.h
4026 - Proxy the 'managed' property
4028 2008-04-07 Dan Williams <dcbw@redhat.com>
4030 * src/nm-gsm-device.c
4031 src/nm-cdma-device.c
4032 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4033 handler to transition to DISCONNECTED
4035 2008-04-07 Dan Williams <dcbw@redhat.com>
4037 Patch from Bill Nottingham
4039 * dispatcher-daemon/NetworkManagerDispatcher.c
4040 - ignore backup/packaging crufy (rh #440143)
4042 2008-04-07 Dan Williams <dcbw@redhat.com>
4044 * include/NetworkManager.h
4045 - Remove the DOWN and CANCELLED device states
4046 - Add UNMANAGED and UNAVAILABLE device states
4047 - Document the device states
4049 * introspection/nm-device.xml
4050 src/nm-device-interface.c
4051 src/nm-device-interface.h
4052 - Add the 'managed' property
4055 - (detail_device): print out device state
4057 * src/NetworkManagerSystem.h
4058 src/backends/NetworkManagerArch.c
4059 src/backends/NetworkManagerDebian.c
4060 src/backends/NetworkManagerFrugalware.c
4061 src/backends/NetworkManagerGentoo.c
4062 src/backends/NetworkManagerMandriva.c
4063 src/backends/NetworkManagerPaldo.c
4064 src/backends/NetworkManagerRedHat.c
4065 src/backends/NetworkManagerSlackware.c
4066 src/backends/NetworkManagerSuSE.c
4067 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4068 nm_system_device_free_system_config): remove; they were unused and
4069 their functionality should be re-implemented in each distro's
4070 system settings service plugin
4072 * src/nm-gsm-device.c
4074 src/nm-cdma-device.c
4075 src/nm-cdma-device.h
4076 - (*_new): take the 'managed' argument
4079 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4080 - (nm_device_init): start in unmanaged state, not disconnected
4081 - (constructor): don't start device until the system settings service
4082 has had a chance to figure out if the device is managed or not
4083 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4084 don't set device state here, let callers handle that as appropriate
4085 - (nm_device_dispose): don't touch the device if it's not managed
4086 - (set_property, get_property, nm_device_class_init): implement the
4088 - (nm_device_state_changed): bring the device up if its now managed,
4089 and deactivate it if it used to be active
4090 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4091 with the managed state
4093 * src/nm-hal-manager.c
4094 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4095 take initial managed state and pass it along to device constructors
4096 - (create_device_and_add_to_list): get managed state and pass to
4099 * src/nm-device-802-11-wireless.c
4100 - (real_can_activate): fold in most of
4101 nm_device_802_11_wireless_can_activate()
4102 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4103 - (link_timeout_cb): instead of deactivating, change device state and
4104 let the device state handler to it
4105 - (real_update_hw_address): clean up
4106 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4107 handler to transition to DISCONNECTED if the device isn't rfkilled
4109 * src/nm-device-802-3-ethernet.c
4110 - (set_carrier): move above callers and get rid of prototype
4111 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4112 idle handler to transition to DISCONNECTED if the device has a
4114 - (real_update_hw_address): clean up
4115 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4116 deactivation directly as deactivation doesn't change state anymore
4118 * src/NetworkManagerPolicy.c
4119 - (schedule_activate_check): yay, remove wireless_enabled hack since
4120 the NMManager and wireless devices work that out themselves now
4121 - (device_state_changed): change to a switch and update for new device
4123 - (device_carrier_changed): remove; device handles this now through
4125 - (device_added): don't care about carrier any more; the initial
4126 activation check will happen when the device transitions to
4130 - (dispose): clear unmanaged devices
4131 - (handle_unmanaged_devices): update unmanaged device list and toggle
4132 the managed property on each device when needed
4133 - (system_settings_properties_changed_cb): handle signals from the
4134 system settings service
4135 - (system_settings_get_unmanaged_devices_cb): handle callback from
4136 getting the unmanaged device list method call
4137 - (query_unmanaged_devices): ask the system settings service for its
4138 list of unmanaged devices
4139 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4141 - (manager_set_wireless_enabled): push rfkill state down to wireless
4142 devices directly and let them handle the necessary state transitions
4143 - (manager_device_state_changed): update for new device states
4144 - (nm_manager_add_device): set initial rfkill state on wireless devices
4145 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4146 - (nm_manager_activate_connection): return error if the device is
4148 - (nm_manager_sleep): handle new device states correctly; don't change
4149 the state of unavailable/unmanaged devices
4151 * libnm-glib/nm-device-802-11-wireless.c
4152 - (state_changed_cb): update for new device states
4154 2008-04-07 Dan Williams <dcbw@redhat.com>
4156 * marshallers/nm-marshal.list
4157 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4159 2008-04-07 Dan Williams <dcbw@redhat.com>
4161 * system-settings/src/main.c
4162 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4163 plugins to the dbus settings object
4164 - (load_stuff): start the dbus service after grabbing unmanaged devices
4165 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4166 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4167 - (main): switch default logging to syslog with a 'debug' option to
4168 output to console; start up the HAL manager
4170 2008-04-07 Dan Williams <dcbw@redhat.com>
4172 * introspection/nm-settings-system.xml
4173 introspection/Makefile.am
4174 - Define the unmanaged devices interface for the system settings service
4176 * system-settings/src/nm-system-config-hal-manager.c
4177 system-settings/src/nm-system-config-hal-manager.h
4178 system-settings/src/nm-system-config-hal-manager-private.h
4179 system-settings/src/Makefile.am
4180 - Add a lightweight HAL manager object for tracking network devices for
4181 the purpose of determining unmanaged devices and which devices need
4182 the default DHCP connections
4184 * system-settings/src/nm-system-config-interface.c
4185 system-settings/src/nm-system-config-interface.h
4186 - (nm_system_config_interface_init): add the HAL manager as an argument
4187 - (nm_system_config_interface_get_unmanaged_devices): implement
4188 - Define 'unmanaged-devices-changed' signal
4190 * system-settings/src/dbus-settings.c
4191 system-settings/src/dbus-settings.h
4192 - Implement the unmanaged devices interface; some cleanups
4194 * system-settings/plugins/ifcfg-suse/plugin.c
4195 - Fixup for plugin interface changes
4197 * system-settings/plugins/ifcfg-fedora/plugin.c
4198 - (get_ether_device_udi): new function; find the device that has
4199 a specified MAC address and return its UDI
4200 - (get_udi_for_connection): new function; try to find the specific
4201 device a connection is locked to, if any
4202 - (device_added_cb, device_removed_cb): update unmanaged device list in
4203 response to HAL events
4204 - (get_unmanaged_devices): new function; return unmanaged device list
4205 - (build_one_connection): set the connection's locked device, if any
4206 - (write_auto_wired_connection): remove
4207 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4208 - (handle_connection_changed): alert listeners that the unmanaged device
4210 - (init): fixup for plugin interface changes, implement unmanaged devices
4212 * system-settings/plugins/ifcfg-fedora/parser.c
4213 system-settings/plugins/ifcfg-fedora/parser.h
4214 - (connection_data_free): clean up connection UDI
4216 2008-04-07 Dan Williams <dcbw@redhat.com>
4218 * system-settings/plugins/ifcfg-fedora/parser.c
4219 - (make_ip4_setting): fix parsing of DNS servers
4221 2008-04-05 Dan Williams <dcbw@redhat.com>
4225 marshallers/Makefile.am
4226 marshallers/nm-marshal-main.c
4227 marshallers/nm-marshal.list
4228 - Consolidate marshallers
4230 * libnm-glib/nm-marshal-main.c
4231 libnm-glib/nm-marshal.list
4232 src/marshallers/Makefile.am
4233 src/marshallers/nm-marshal-main.c
4234 src/marshallers/nm-marshal.list
4237 * libnm-glib/Makefile.am
4239 src/dhcp-manager/Makefile.am
4240 src/ppp-manager/Makefile.am
4241 src/supplicant-manager/Makefile.am
4242 src/vpn-manager/Makefile.am
4243 - Use consolidated marshallers
4245 2008-04-04 Dan Williams <dcbw@redhat.com>
4247 * src/nm-hal-manager.c
4248 src/nm-hal-manager.h
4249 - (hal_init): don't look for hardware here
4250 - (nm_hal_manager_start): new function; look for hardware here instead,
4251 which can be done at a later time than hal_init()
4253 * src/NetworkManager.c
4254 - (main): start HAL manager after entering the main loop
4256 2008-04-03 Dan Williams <dcbw@redhat.com>
4258 * libnm-glib/nm-settings.c
4259 libnm-glib/nm-settings.h
4260 - (nm_exported_connection_get_id): new function
4261 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4263 2008-04-02 Dan Williams <dcbw@redhat.com>
4265 * src/nm-device-interface.c
4266 src/nm-device-interface.h
4269 - Rename check_connection_conflicts() to check_connection_compatible()
4271 * src/nm-device-802-11-wireless.c
4272 - (real_check_connection_conflicts): remove
4273 - (real_check_connection_compatible): implement; match MAC address
4275 * src/nm-device-802-3-ethernet.c
4276 - (real_check_connection_conflicts): remove
4277 - (real_check_connection_compatible): implement; match MAC address
4278 - (real_get_best_auto_connection): correctly handle PPPoE cases
4281 - (check_connection_allowed): remove; unused until PolicyKit integration
4282 - (internal_activate_device): check whether the connection is compatible
4283 with the device before trying to activate it
4285 2008-04-02 Dan Williams <dcbw@redhat.com>
4287 * system-settings/plugins/ifcfg-fedora/parser.c
4288 - (read_mac_address): new function; read in MAC address and stuff it
4290 - (add_one_wep_key): remove debug spew
4291 - (make_wireless_security_setting): validate the default TX key; don't
4292 add the wireless-security setting if the connection doesn't need
4293 security; don't leak the keys shvarFile on error cases
4294 - (make_wireless_setting, make_wired_setting): populate device's MAC
4297 2008-04-02 Dan Williams <dcbw@redhat.com>
4299 * libnm-util/nm-setting-connection.c
4300 libnm-util/nm-setting-connection.h
4301 - (set_property, get_property, nm_setting_connection_class_init): remove
4302 the 'lockdown' property; it's functionality will be replaced by
4305 2008-04-01 Dan Williams <dcbw@redhat.com>
4307 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4310 initscript/Makefile.am
4311 initscript/Mandriva/Makefile.am
4312 initscript/Mandriva/networkmanager.in
4313 initscript/Mandriva/networkmanagerdispatcher.in
4314 src/backends/Makefile.am
4315 src/backends/NetworkManagerMandriva.c
4316 system-settings/plugins/Makefile.am
4317 - Add Mandriva support
4319 2008-03-31 Dan Williams <dcbw@redhat.com>
4321 * src/vpn-manager/nm-vpn-service.c
4322 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4323 errors can be passed back to the caller; also no longer scheduled
4324 as an idle handler, but called directly; and bump up VPN service
4325 spawn timeout, 2s is really short
4326 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4327 but call it directly so that errors are reported on return from
4328 ActivateConnection() and don't get lost. If scheduled as an idle
4329 handler, clients don't have the time to query NM for the new VPN
4330 connection's properties before the VPN connection is torn down again
4331 if the service couldn't be launched, and therefore launch errors
4334 2008-03-31 Dan Williams <dcbw@redhat.com>
4336 * src/vpn-manager/nm-vpn-connection.c
4337 - (device_state_changed): send correct state on device failure too
4338 - (plugin_state_changed): failed state means unexpected disconnection,
4339 thus if the service goes away while the VPN connection is activated
4340 that's a failure too
4342 2008-03-31 Dan Williams <dcbw@redhat.com>
4344 * src/vpn-manager/nm-vpn-manager.c
4345 src/vpn-manager/nm-vpn-manager.h
4346 - Make VPNManager errors more available; add a service-start-failed error
4348 2008-03-31 Dan Williams <dcbw@redhat.com>
4350 * libnm-glib/nm-client.c
4351 libnm-glib/nm-client.h
4352 - (activate_cb): pass the new active connection to callback; fix
4353 message when no callback is specified
4355 2008-03-30 Dan Williams <dcbw@redhat.com>
4357 * libnm-util/nm-setting-wireless-security.c
4358 - (need_secrets): only require key0 if the transmit key index is also
4360 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4362 2008-03-29 Dan Williams <dcbw@redhat.com>
4364 * libnm-util/nm-setting-8021x.c
4365 libnm-util/nm-setting-ip4-config.c
4366 libnm-util/nm-setting-vpn-properties.c
4367 libnm-util/nm-setting-vpn.c
4368 libnm-util/nm-setting-wireless-security.c
4369 libnm-util/nm-setting-wireless.c
4370 libnm-util/nm-utils.c
4371 src/dhcp-manager/nm-dhcp-manager.c
4372 src/nm-activation-request.c
4375 src/nm-properties-changed-signal.c
4376 src/ppp-manager/nm-pppd-plugin.c
4377 src/supplicant-manager/nm-supplicant-interface.c
4378 src/vpn-manager/nm-vpn-connection.c
4379 - consistently use nm-dbus-glib-types.h
4381 2008-03-29 Dan Williams <dcbw@redhat.com>
4383 * src/vpn-manager/nm-vpn-connection.c
4384 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4387 * src/nm-activation-request.c
4388 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4391 2008-03-29 Dan Williams <dcbw@redhat.com>
4393 * libnm-glib/nm-device-802-11-wireless.c
4394 - (access_point_added_proxy): create new APs if not found
4396 2008-03-29 Dan Williams <dcbw@redhat.com>
4398 * libnm-glib/nm-client.c
4399 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4402 2008-03-29 Dan Williams <dcbw@redhat.com>
4404 * system-settings/plugins/ifcfg-fedora/parser.c
4405 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4406 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4408 2008-03-29 Dan Williams <dcbw@redhat.com>
4410 * system-settings/plugins/ifcfg-fedora/parser.c
4411 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4413 2008-03-27 Dan Williams <dcbw@redhat.com>
4416 - (nm_object_queue_notify): don't notify multiple times for the same
4419 * nm-object-private.h
4420 - (handle_ptr_array_return): return NULL if the given array is NULL or
4421 if it has zero elements
4424 - (finalize): use g_ptr_array_foreach() when freeing domains
4425 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4427 * nm-active-connection.c
4428 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4430 * nm-device-802-11-wireless.c
4431 nm-device-802-11-wireless.h
4432 - (nm_device_802_11_wireless_get_access_points): return const; use
4433 handle_ptr_array_return()
4436 - (nm_object_array_demarshal): always create an array, even of length
4437 zero, to distinguish between "NM returned no items" and "haven't
4441 - (dispose): free active connections too
4442 - (proxy_name_owner_changed): free active connections too when NM goes
4444 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4445 - (nm_client_get_active_connections): use handle_ptr_array_return()
4447 2008-03-26 Dan Williams <dcbw@redhat.com>
4449 Rework VPN connection handling for a more consistent D-Bus API. The
4450 VPNManager object has been removed, and active VPN connections are now the
4451 same as any other active connection. The Manager object's ActivateConnection
4452 and DeactivateConnection methods are used to start and stop a VPN connection,
4453 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4454 When activating a VPN connection, pass the path of the active connection
4455 to which the VPN connection is tied in the 'specific_object' argument.
4457 Consequently, the libnm-glib API has been reworked to match this arrangement,
4458 with the VPNManager object removed, and the NMVPNConnection objects now
4459 being subclasses of NMActiveConnection.
4461 2008-03-25 Dan Williams <dcbw@redhat.com>
4463 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4465 * initscript/Arch/networkmanager.in
4466 initscript/Arch/networkmanager-dispatcher.in
4467 - Updates for Arch Linux (gnome.org #523701)
4469 2008-03-25 Dan Williams <dcbw@redhat.com>
4471 * libnm-glib/nm-ip4-config.c
4472 libnm-glib/nm-active-connection.c
4473 libnm-glib/nm-access-point.c
4474 - Use nm_object_queue_notify() instead of g_object_notify()
4476 * libnm-glib/nm-device.c
4477 - (demarshal_ip4_config): distinguish between successful but missing
4478 ip4-config request, and unsuccessful and missing ip4-config request
4479 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4481 - Use nm_object_queue_notify() instead of g_object_notify()
4483 * libnm-glib/nm-device-802-11-wireless.c
4484 - (demarshal_active_ap): distinguish between successfull but missing
4485 active-ap request, and unsuccessful and missing active-ap request
4486 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4488 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4489 for the NMClient to notify the device that wireless is disabled,
4490 and therefore to clear the AP list and active AP
4491 - Use nm_object_queue_notify() instead of g_object_notify()
4493 * libnm-glib/nm-client.c
4494 - (poke_wireless_devices_with_rf_status): new function
4495 - (update_wireless_status): notify wireless devices of the rfkill status
4496 so they can clean up if needed
4497 - Use nm_object_queue_notify() instead of g_object_notify()
4499 2008-03-25 Dan Williams <dcbw@redhat.com>
4501 * libnm-glib/nm-object.c
4502 libnm-glib/nm-object-private.h
4503 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4504 signals to an idle handler
4505 - (nm_object_get_property): add a timeout to the D-Bus method call
4507 2008-03-25 Dan Williams <dcbw@redhat.com>
4509 * introspection/nm-device-cdma.xml
4510 introspection/nm-device-gsm.xml
4511 introspection/Makefile.am
4512 introspection/all.xml
4513 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4515 * src/nm-gsm-device.h
4517 src/nm-cdma-device.h
4518 src/nm-cdma-device.c
4520 - Implement PropertiesChanged signals
4522 * libnm-glib/nm-cdma-device.c
4523 libnm-glib/nm-cdma-device.c
4524 - Attach to PropertiesChanged signals
4526 2008-03-24 Dan Williams <dcbw@redhat.com>
4528 * libnm-glib/nm-client.c
4529 - (client_device_added_proxy): add new devices to the internal device
4530 list so they appear to clients
4532 2008-03-24 Dan Williams <dcbw@redhat.com>
4534 Massive fixup of libnm-glib to:
4535 a) have all objects (with the exception of VPN) cache their properties and
4536 update them asynchronously on PropertiesChanged signals from NM
4537 b) return internal const data for most attributes/properties instead of
4538 allocated values that the caller must free
4539 c) cache wrapped objects such that a given D-Bus path will always map to the
4540 same GObject returned by libnm-glib
4541 d) remove a few signals and move them to GObject property notifications
4542 e) match recent NM D-Bus API changes for activation/deactivation
4543 f) remove some private functions from libnm-glib headers
4545 2008-03-20 Dan Williams <dcbw@redhat.com>
4548 - (nm_manager_update_state, manager_device_state_changed,
4549 nm_manager_activate_device, connection_added_default_handler,
4550 impl_manager_activate_connection, impl_manager_deactivate_connection):
4551 queue PropertyChanged singals when the active connections change
4553 2008-03-20 Dan Williams <dcbw@redhat.com>
4555 * introspection/nm-manager.xml
4556 introspection/nm-manager-client.xml
4557 - (ActivateConnection): return the object path of the active connection
4559 - (GetActiveConnections): remove
4560 - (DeactivateConnection): new function; deactivate a currently active
4562 - Add an ActiveConnections property which returns an array of
4563 active connection object paths
4565 * introspection/nm-device.xml
4566 - (Deactivate): remove
4568 * introspection/all.xml
4569 - Add ActiveConnection introspection
4571 * introspection/nm-active-connection.xml
4572 - Add the ActiveConnection object
4574 * include/NetworkManager.h
4575 - Add the Connection.Active D-Bus interface
4577 * src/nm-device-interface.c
4578 - (impl_device_deactivate): remove
4580 * src/nm-activation-request.c
4581 src/nm-activation-request.c
4583 - Implement the Connection.Active D-Bus interface
4586 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4587 - (nm_manager_activate_device): return the active connection path
4588 - (connection_added_default_handler, impl_manager_activate_connection):
4589 return the active connection to the caller
4590 - (add_one_connection_element, impl_manager_get_active_connections):
4592 - (impl_manager_deactivate_connection): new function; deactivate an
4595 * libnm-glib/nm-device.c
4596 libnm-glib/nm-device.h
4597 - Remove Deactivate() function
4599 2008-03-19 Dan Williams <dcbw@redhat.com>
4601 * introspection/nm-manager.xml
4602 introspection/nm-manager-client.xml
4603 - Rename the ActivateDevice method to ActivateConnection to better
4604 reflect it's usage; it's arguments get reordered a bit too
4605 - Convert GetActiveConnections method return from a struct to a dict
4607 * include/NetworkManager.h
4608 - Define the dict keys for return value of GetActiveConnections
4611 - impl_manager_activate_device -> impl_manager_activate_connection
4612 - (add_one_connection_element): return a populated hash table, not
4615 * libnm-glib/nm-client.c
4616 libnm-glib/nm-client.h
4617 - nm_client_activate_device -> nm_client_activate_connection
4618 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4619 - (nm_client_get_active_connections): return a GSList of GHashTables,
4620 instead of the custom structures. Each element of the returned list
4621 must be freed with nm_client_free_active_connections_element()
4623 2008-03-18 Dan Williams <dcbw@redhat.com>
4625 * system-settings/plugins/ifcfg-fedora/parser.c
4626 system-settings/plugins/ifcfg-fedora/parser.h
4627 system-settings/plugins/ifcfg-fedora/plugin.c
4628 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4629 profiles. DNS servers and searches must now be stored in the ifcfg
4632 2008-03-18 Tambet Ingo <tambet@gmail.com>
4634 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4635 print out username and password, it's supposed to be a secret.
4637 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
4638 request and set the device state accordingly.
4640 2008-03-18 Tambet Ingo <tambet@gmail.com>
4642 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4644 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4646 2008-03-18 Dan Williams <dcbw@redhat.com>
4648 * src/vpn-manager/nm-vpn-connection.c
4649 - (get_secrets_cb): handle new GetSecrets return format
4651 2008-03-18 Dan Williams <dcbw@redhat.com>
4653 Adapt system settings service for split 802.1x.
4655 * system-settings/src/nm-system-config-interface.h
4656 - clarify return value of get_secrets()
4658 * system-settings/src/dbus-settings.c
4659 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4660 - (check_for_secrets): check if there actually secrets returned by a
4662 - (exported_connection_get_secrets): just return the plugin-returned
4663 hash of settings' secrets if it looks valid
4665 * system-settings/plugins/ifcfg-fedora/plugin.c
4666 - (get_secrets): add split secrets with correct format to reply hash
4668 * system-settings/plugins/ifcfg-fedora/parser.c
4669 system-settings/plugins/ifcfg-fedora/parser.h
4670 - (copy_one_cdata_secret, connection_data_copy_secrets,
4671 connection_data_free, connection_data_add): keep secrets for
4672 different settings in different hashes
4674 2008-03-17 Tambet Ingo <tambet@gmail.com>
4676 Clean up activating device deactivation.
4678 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4679 should be done whether the device activation gets cancelled or the device
4680 is just getting deactivated.
4681 (nm_device_activation_cancel): Remove.
4682 (nm_device_deactivate_quickly): Handle the case where device is activating.
4684 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4685 It does the exact same thing as real_deactivate_quickly().
4687 2008-03-17 Dan Williams <dcbw@redhat.com>
4689 Split the 802.1x bits out of the wireless-security setting so they are
4690 generalized enough for wired 802.1x to use too.
4692 * introspection/nm-exported-connection.xml
4693 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4694 of just a hash of the secrets for one setting
4696 * libnm-util/nm-setting-wireless-security.c
4697 libnm-util/nm-setting-wireless-security.h
4698 - Remove 802.1x-specific stuff
4699 - Added leap-username and leap-password properties for old-school LEAP
4703 - (connection_secrets_updated_cb): take a list of updated settings names,
4706 * src/supplicant-manager/nm-supplicant-config.c
4707 src/supplicant-manager/nm-supplicant-config.h
4708 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4709 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4710 to nm_supplicant_config_add_setting_8021x()
4711 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4712 the supplicant config
4714 * src/nm-device-802-11-wireless.c
4715 - (build_supplicant_config): pass in the 802.1x setting too, if any
4716 - (real_connection_secrets_updated): take a list of updated settings
4719 * src/nm-device-802-3-ethernet.c
4720 src/nm-cdma-device.c
4722 - (real_connection_secrets_updated_cb): take a list of updated settings
4725 * src/nm-activation-request.c
4726 src/nm-activation-request.h
4727 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4728 now passes a list of updated settings names, not just one
4729 - (update_one_setting): new function; handle one updated setting
4730 - (get_secrets_cb): handle multiple settings returned from the
4731 settings service; have to be careful of ordering here as there are
4732 some dependencies between settings (ex. wireless-security and 802.1x
4735 * src/marshallers/nm-marshal.list
4736 - new marshaller for connection-secrets-updated signal
4738 * libnm-util/nm-setting-8021x.c
4739 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4741 - (verify): a valid 'eap' property is now required
4743 * libnm-util/nm-connection.c
4744 - (register_default_settings): add priorities to settings; there are
4745 some dependencies between settings, and during the need_secrets
4746 calls this priority needs to be respected. For example, only the
4747 wireless-security setting knows whether or not the connection is
4748 going to use 802.1x or now, so it must be asked for secrets before
4749 any existing 802.1x setting is
4750 - (nm_connection_lookup_setting_type): expose
4752 * libnm-util/nm-setting-wireless.c
4753 - (verify): should verify even if all_settings is NULL; otherwise won't
4754 catch the case where there is missing security
4756 * libnm-util/nm-setting-wireless-security.c
4757 - Remove everything to do with 802.1x
4758 - Add old-school LEAP specific properties for username and password
4759 - (need_secrets): rework LEAP secrets checking
4760 - (verify): rework for LEAP and 802.1x verification
4762 2008-03-17 Dan Williams <dcbw@redhat.com>
4764 * src/NetworkManagerPolicy.c
4765 - (auto_activate_device): always remove the current activation check
4766 from the pending activation list, otherwise when the policy gets
4767 destroyed on NM exit it will attempt to free the already freed
4770 2008-03-14 Tambet Ingo <tambet@gmail.com>
4772 * src/backends/NetworkManagerSlackware.c
4773 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4775 * src/backends/NetworkManagerSuSE.c: Add missing includes.
4777 2008-03-14 Dan Williams <dcbw@redhat.com>
4780 - (nm_device_interface_get_iface): g_object_get() will return an
4781 allocated value, so this function must not return const
4782 - (nm_device_interface_activate): free returned iface
4784 2008-03-14 Tambet Ingo <tambet@gmail.com>
4786 * libnm-util/Makefile.am: Add new files to build.
4788 * libnm-util/nm-connection.c: Register NMSetting8021x.
4790 * libnm-util/nm-setting-8021x.c
4791 * libnm-util/nm-setting-8021x.h: Implement.
4793 2008-03-14 Tambet Ingo <tambet@gmail.com>
4795 * libnm-util/Makefile.am: Add new files to build.
4797 * libnm-util/nm-connection.c: Register NMSetting8021x.
4799 * libnm-util/nm-setting-8021x.c
4800 * libnm-util/nm-setting-8021x.h: Implement.
4802 2008-03-14 Tambet Ingo <tambet@gmail.com>
4804 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4807 2008-03-14 Dan Williams <dcbw@redhat.com>
4809 * include/wireless-helper.h
4811 - One place for all the junk needed for #including wireless.h
4814 src/NetworkManagerAP.c
4817 libnm-util/nm-utils.c
4818 libnm-util/nm-setting-wireless.c
4819 libnm-glib/nm-device-802-11-wireless.c
4820 libnm-glib/nm-access-point.c
4821 libnm-glib/libnm-glib-test.c
4822 - include wireless-helper.h, not iwlib.h
4825 - Don't need libiw really, just need to check for wireless.h
4827 * src/kernel-types.h
4828 - Remove; used types moved into wpa.c
4830 * src/nm-device-802-11-wireless.c
4831 - (nm_device_802_11_wireless_update_signal_strength,
4832 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4833 nm_device_802_11_wireless_set_mode,
4834 nm_device_802_11_wireless_get_frequency,
4835 nm_device_802_11_wireless_get_ssid,
4836 nm_device_802_11_wireless_set_ssid,
4837 nm_device_802_11_wireless_get_bitrate,
4838 nm_device_802_11_wireless_get_bssid,
4839 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4840 instead of iwlib functions
4842 2008-03-14 Dan Williams <dcbw@redhat.com>
4844 * src/ppp-manager/nm-ppp-manager.c
4845 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4846 should only take the DBusGMethodInvocation argument, not user/pass
4847 too. With dbus-glib, async functions only take 2 C arguments since
4848 the real dbus method arguments get passed back with
4849 dbus_g_method_return()
4851 2008-03-13 Tambet Ingo <tambet@gmail.com>
4853 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
4854 Adapt the changes of NMSettingIP4Config.
4856 2008-03-13 Dan Williams <dcbw@redhat.com>
4858 * src/NetworkManagerUtils.c
4859 src/NetworkManagerUtils.h
4860 - (nm_ether_ntop): replacement for iw_ether_ntop()
4862 * src/NetworkManagerAP.c
4863 src/nm-device-802-11-wireless.c
4864 src/nm-device-802-3-ethernet.c
4865 - s/iw_ether_ntop/nm_ether_ntop/g
4867 2008-03-13 Dan Williams <dcbw@redhat.com>
4869 * src/NetworkManagerPolicy.c
4870 - (update_routing_and_dns): never set the default route through an
4871 IPv4LL addressed device
4873 2008-03-13 Dan Williams <dcbw@redhat.com>
4875 * NetworkManagerUtils.c
4876 NetworkManagerUtils.h
4877 - Remove NMSock stuff
4878 - Remove the completion stuff
4883 NetworkManagerSystem.c
4885 nm-device-802-11-wireless.c
4886 nm-device-802-3-ethernet.c
4887 - Remove NMSock and completion stuff
4888 - Remove nm_ioctl_info()
4890 2008-03-12 Dan Williams <dcbw@redhat.com>
4893 - (merge_ip4_config): avoid duplicates
4895 2008-03-12 Dan Williams <dcbw@redhat.com>
4897 * libnm-util/nm-setting-ip4-config.c
4898 libnm-util/nm-setting-ip4-config.h
4899 - Remove 'manual' and 'autoip' properties
4900 - Add 'method' property
4901 - (verify): fix verification with 'method'
4902 - (finalize): free 'method'
4903 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4907 - (real_act_stage3_ip_config_start): check IP4Config method
4908 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4910 - (merge_ip4_config): IP settings are valid with DHCP too
4911 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4912 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4914 * src/nm-device-802-11-wireless.c
4915 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4916 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4919 * system-settings/plugins/ifcfg-fedora/parser.c
4920 system-settings/plugins/ifcfg-suse/parser.c
4921 - (make_ip4_setting): fix up for 'method'
4923 2008-03-12 Dan Williams <dcbw@redhat.com>
4925 * system-settings/plugins/ifcfg-fedora/parser.c
4926 system-settings/plugins/ifcfg-fedora/parser.h
4927 - (get_ifcfg_name): ignore more file suffixes
4928 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4930 2008-03-12 Dan Williams <dcbw@redhat.com>
4933 - Bring in the bits of gnome-common we actually use (all 15 lines)
4935 2008-03-12 Dan Williams <dcbw@redhat.com>
4937 * system-settings/plugins/ifcfg-fedora/plugin.c
4938 - (write_auto_wired_connection): new function; write out an auto
4939 wired connection file since the applet isn't doing it any more
4940 - (reload_all_connections): write out the auto wired connection file
4941 if there aren't any wired connections already
4942 - (init): don't leak a GError
4944 2008-03-12 Dan Williams <dcbw@redhat.com>
4946 * src/nm-device-interface.c
4947 - (nm_device_interface_activate): print the ID of the connection
4948 that's about to be activated
4950 2008-03-12 Dan Williams <dcbw@redhat.com>
4952 Harmonize the 802.11 bitrate API
4954 * introspection/nm-access-point.xml
4955 - 'Rate' -> 'MaxBitrate'; clarify units
4957 * introspection/nm-device-802-11-wireless.xml
4958 - Clarify units of 'Bitrate'
4960 * src/NetworkManagerAP.c
4961 src/NetworkManagerAP.h
4962 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4963 property to 'max-bitrate'
4964 - (foreach_property_cb): convert rate to Kb/s
4966 * src/nm-device-802-11-wireless.c
4967 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4969 * libnm-glib/nm-access-point.c
4970 libnm-glib/nm-access-point.h
4971 - 'rate' -> 'max-bitrate'
4974 libnm-glib/libnm-glib-test.c
4975 - Fix up for these changes
4977 2008-03-12 Dan Williams <dcbw@redhat.com>
4980 - (nm_device_set_ip4_config): don't send property notifications when
4981 the ip4 config is set to NULL; it causes a PropertyChanged signal
4982 which dbus-glib can't parse because the value is NULL, which isn't
4983 a legal object path. Setting the IP4 config to NULL is only
4984 valid when deactivating a device anyway, so the device state change
4985 will alert listeners that the ip4 config is invalid.
4987 2008-03-12 Dan Williams <dcbw@redhat.com>
4989 * src/nm-properties-changed-signal.c
4990 - (add_to_string): better handling of NULL objects
4992 2008-03-12 Dan Williams <dcbw@redhat.com>
4994 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4995 convert the libnm-glib NMDevice8023Ethernet to cached properties
4997 * introspection/nm-device-802-3-ethernet.xml
4998 - New 'Carrier' property
4999 - New 'PropertiesChanged' signal
5001 * introspection/nm-device.xml
5002 - Remove 'Carrier' property
5003 - Remove 'CarrierChanged' signal
5005 * src/nm-device-interface.c
5006 src/nm-device-interface.h
5007 - (nm_device_interface_init): remove 'carrier' property and
5008 'carrier-changed' signal
5012 - (nm_device_get_carrier, nm_device_set_carrier): remove
5013 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5014 the link here; wired device will handle that
5015 - (handle_dhcp_lease_change): don't bother updating link here
5016 - (get_property, nm_device_class_init): remove carrier property
5018 * src/nm-device-802-11-wireless.c
5019 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5020 real_update_link(); wireless devices don't use carrier at all
5021 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5022 supplicant_iface_connection_state_cb_handler,
5023 supplicant_mgr_state_cb_handler): remove anything to do with carrier
5025 * src/nm-device-802-3-ethernet.c
5026 src/nm-device-802-3-ethernet.h
5027 - (nm_device_802_3_ethernet_carrier_on,
5028 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5029 instead of nm_device_set_carrier()
5030 - (device_state_changed): update link from sysfs on activation;
5031 replaces real_update_link()
5032 - (real_update_link): remove, replaced by device_state_changed()
5033 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5034 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5035 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5036 new get_carrier function
5037 - (get_property): add 'carrier' property
5038 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5039 hook into property-changed signal helper
5041 * src/NetworkManagerPolicy.c
5042 - (device_carrier_changed): will only ever be called with a wired device
5043 - (device_added): only hook up to carrier-changed for wired devices
5045 * libnm-glib/nm-device.c
5046 libnm-glib/nm-device.h
5047 - (constructor, nm_device_class_init): remove carrier-changed signal
5048 - (device_carrier_changed_proxy): remove; unused
5049 - (nm_device_get_carrier): remove; carrier a property of wired devices
5051 * libnm-glib/nm-device-802-3-ethernet.c
5052 libnm-glib/nm-device-802-3-ethernet.h
5053 - Convert to cached properties like AP and Wireless objects
5054 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5055 instead of a 'char *', return value should not be freed
5056 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5057 - (constructor): hook into properties-changed helper
5058 - (set_property, get_property): new functions
5059 - (nm_device_802_3_ethernet_class_init): export GObject properties
5062 - (detail_device): strdup the wired hardware address too since it's
5065 * libnm-glib/libnm-glib-test.c
5066 - (dump_wired): strdup the wired hardware address too since it's
5069 2008-03-12 Dan Williams <dcbw@redhat.com>
5071 * libnm-util/nm-setting-ip4-config.c
5072 libnm-util/nm-setting-ip4-config.h
5073 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5074 the 'autoip' property from the spec
5076 2008-03-11 Dan Williams <dcbw@redhat.com>
5078 * src/backends/NetworkManagerGeneric.c
5079 src/backends/NetworkManagerGeneric.h
5080 - (nm_generic_device_get_use_dhcp): remove
5082 2008-03-11 Dan Williams <dcbw@redhat.com>
5085 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5086 already in nm_device_set_ip4_config()
5087 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5088 due to a DHCP rebind fails
5089 - (nm_device_set_ip4_config): send property notifications when the
5091 - (get_property): only report IP4Config property during valid states
5093 * src/NetworkManagerPolicy.c
5094 - (update_routing_and_dns): ignore devices that don't have an ip4
5095 config; add parameter 'force_update' to allow callers to specify
5096 that changes should be made even if the default device doesn't change
5097 - (device_ip4_config_changed): update DNS and routing when the device's
5098 IP4Config changes, like for DHCP updates
5099 - (device_added): listen for ip4-config property changes
5101 2008-03-11 Dan Williams <dcbw@redhat.com>
5103 Fix address handling as a result of DHCP rebind/renew/reboot.
5105 * src/NetworkManagerSystem.c
5106 - (check_one_address): delete an address if it doesn't match a given
5107 one for the same interface
5108 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5109 be smarter about flushing addresses (only flush ones that don't
5110 match the one we're about to apply)
5112 * src/backends/NetworkManagerDebian.c
5113 src/backends/NetworkManagerSuSE.c
5114 src/backends/NetworkManagerArch.c
5115 src/backends/NetworkManagerSlackware.c
5116 src/backends/NetworkManagerRedHat.c
5117 src/backends/NetworkManagerPaldo.c
5118 src/backends/NetworkManagerFrugalware.c
5119 src/backends/NetworkManagerGentoo.c
5120 - (nm_system_delete_default_route): remove
5122 * src/backends/NetworkManagerGeneric.c
5123 src/backends/NetworkManagerGeneric.h
5124 - (nm_generic_enable_loopback): fix the loopback device label
5125 - (nm_generic_delete_default_route): remove; no longer used
5127 2008-03-11 Dan Williams <dcbw@redhat.com>
5129 * src/nm-device-interface.h
5130 - Delimit property name words with '-', otherwise g_object_notify()
5131 doesn't work the way we expect
5133 2008-03-11 Tambet Ingo <tambet@gmail.com>
5135 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5137 2008-03-11 Dan Williams <dcbw@redhat.com>
5139 * src/NetworkManagerPolicy.c
5140 - (update_routing_and_dns): don't change anything if the default device
5141 hasn't changed; print something out when switching the default route
5144 2008-03-10 Tambet Ingo <tambet@gmail.com>
5148 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5149 setting. Use "nic-$eth".
5151 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5152 the device is activating here to fix a race condition.
5154 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5156 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5157 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5158 (nm_ppp_manager_start): Take activation request instead of connection, we might
5159 need it for asking secrets.
5160 (nm_ppp_manager_update_secrets): Implement.
5162 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5163 ppp manager start. It might be needed for asking secrets.
5165 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5166 (ppp_state_changed): Handle pppd daemon disappearing.
5167 (pppoe_stage2_config): Send activation request to ppp manager start.
5169 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5171 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5172 username and password.
5174 2008-03-10 Dan Williams <dcbw@redhat.com>
5177 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5178 response to a DHCP lease change
5179 - (dhcp_state_changed): handle DHCP lease changes while activated
5180 - (nm_device_set_ip4_config): remove a previously set named config
5181 when setting an ip4 config
5183 2008-03-10 Dan Williams <dcbw@redhat.com>
5185 * src/nm-serial-device.c
5186 - (nm_serial_device_send_command): report errno on error
5187 - (get_reply_got_data): limit the size of the overall buffer
5188 - (wait_for_reply_info_destroy): destroy result string
5189 - (wait_for_reply_got_data): append received data to an overall buffer
5190 until timeout, filled buffer, or error instead of keeping a per-call
5191 buffer. Some devices send data slowly enough that this function
5192 gets called multiple times for the same command stream.
5193 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5194 wait_for_reply_got_data() here
5196 2008-03-10 Dan Williams <dcbw@redhat.com>
5198 * src/nm-cdma-device.c
5199 - (do_dial, init_modem): handle errors from
5200 nm_serial_device_send_command_string()
5202 * src/nm-gsm-device.c
5203 - (do_dial, manual_registration, automatic_registration_get_network,
5204 automatic_registration, enter_pin, check_pin, init_modem): handle
5205 errors from nm_serial_device_send_command_string()
5207 2008-03-10 Dan Williams <dcbw@redhat.com>
5209 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5211 * src/named-manager/nm-named-manager.c
5212 - (compute_searches): prefer searches before domains
5213 - (compute_domain): new function
5214 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5215 - (merge_one_ip4_config): if there are no searches in the source config,
5216 merge domains of the source config into the target config
5217 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5219 2008-03-10 Dan Williams <dcbw@redhat.com>
5221 * src/nm-serial-device.c
5222 - (get_reply_got_data): clean up indentation, shrink serial buffer
5223 - (wait_for_reply_got_data): try to handle slower serial devices where
5224 the reply is broken up into multiple reads by concatenating replies
5225 together until either an error is received or the search string is
5228 2008-03-10 Dan Williams <dcbw@redhat.com>
5231 - (nm_device_bring_down): deactivate the device if it's activating too,
5232 not just if it's already activated. This makes sure that everything
5233 from an association attempt is cleaned up (like DHCP for example)
5235 2008-03-10 Dan Williams <dcbw@redhat.com>
5237 * src/nm-serial-device.c
5238 - (config_fd): report error from TCSETA
5239 - (nm_serial_device_open): fail when config_fd() fails
5241 2008-03-10 Dan Williams <dcbw@redhat.com>
5243 * src/nm-ip4-config.c
5244 - (nm_ip4_config_init): allocate searches list
5245 - (finalize): free searches list
5247 2008-03-09 Dan Williams <dcbw@redhat.com>
5249 Patch from Bas Zoetekouw <bas@debian.org>
5251 * src/dhcp-manager/nm-dhcp-manager.c
5252 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5254 2008-03-09 Dan Williams <dcbw@redhat.com>
5256 Patch from Bas Zoetekouw <bas@debian.org>
5258 * src/nm-ip4-config.c
5260 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5261 nm_ip4_config_get_num_searches): add 'searches' as distinct from
5262 domains. 'searches' is the correct way to store multiple search
5263 domains, whereas 'domains' is really just supposed to store one
5264 domain. Some sites abuse the DHCP 'domain-name' option to push
5265 search domains to the client.
5266 - (nm_ip4_config_add_domain): group with related functions (my patch)
5268 2008-03-09 Dan Williams <dcbw@redhat.com>
5270 * src/dhcp-manager/nm-dhcp-manager.c
5271 - (dhclient_run): send interface-specific config files to dhclient
5273 2008-03-07 Dan Williams <dcbw@redhat.com>
5275 * system-settings/plugins/ifcfg-fedora/parser.c
5276 - (is_wireless_device): new function; test a device for wireless
5278 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5279 test the device for wireless extensions to determine the type
5281 2008-03-07 Dan Williams <dcbw@redhat.com>
5283 Change manager's StateChange signal to StateChanged for consistency.
5285 * introspection/nm-manager.xml
5286 - Add 'StateChanged' signal
5287 - Move 'StateChange' down to the deprecated section
5289 * src/nm-hal-manager.c
5290 - (nm_hal_manager_new): connect to 'state-changed' instead
5292 * src/NetworkManagerPolicy.c
5293 - (nm_policy_new): connect to 'state-changed' instead
5297 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5298 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5301 * libnm-glib/nm-client.c
5302 libnm-glib/nm-client.h
5303 - (constructor, nm_client_class_init, client_state_changed_proxy):
5304 track and proxy 'state-changed' instead of 'state-change'
5306 2008-03-07 Dan Williams <dcbw@redhat.com>
5308 First pass of multiple active device support. Expect bugs.
5310 * src/nm-ip4-config.c
5312 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5313 there are better ways to do this in the named manager
5317 - (nm_device_can_activate): return whether the device can activate a
5318 connection right now; taking into account things like carrier state
5320 - (nm_device_get_best_auto_connection): renamed from
5321 nm_device_get_best_connection
5322 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5323 device subclasses themselves, so that each device can override the
5324 MTU from it's NMSetting subclass if needed
5325 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5326 in NetworkManagerSystem.c, not here
5328 * src/named-manager/nm-named-manager.c
5329 src/named-manager/nm-named-manager.h
5330 - (nm_named_manager_name_owner_changed,
5331 nm_named_manager_dbus_connection_changed): fix for changes to
5332 rewrite_resolv_conf()
5333 - (compute_nameservers): don't need the NMNamedManager at all, remove
5335 - (merge_one_ip4_config): new function; merge ip4 configs together
5336 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5337 ip4 configs; the VPN config takes precedence, then the best
5338 device config, then the rest of the configs
5339 - (get_domain_for_config): take the NMNamedManager as an argument
5340 to check whether the config is the VPN config
5341 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5342 attribute from ip4 configs
5343 - (add_all_ip4_configs_to_named): add all the configs in priority order
5344 - (remove_ip4_config_from_named): fix for changes to
5345 get_domain_for_config()
5346 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5347 based on its type; callers must pass in the type now
5348 - (get_last_default_domain): remove, unused
5349 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5351 * src/nm-device-802-11-wireless.c
5352 - (real_can_activate): new function
5353 - (real_get_best_auto_connection): renamed from real_get_best_connection
5354 - (real_act_stage4_get_ip4_config): handle MTU override
5356 * src/nm-device-802-3-ethernet.c
5357 - (real_can_activate): new function
5358 - (real_get_best_auto_connection): renamed from real_get_best_connection
5359 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5361 * src/vpn-manager/nm-vpn-connection.c
5362 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5363 attribute on the ip4 config
5365 * src/NetworkManagerPolicy.c
5366 - (nm_policy_auto_get_best_device): remove
5367 - (nm_policy_device_change_check): remove
5368 - (update_default_route): new function; set the default route via
5369 the specified device
5370 - (get_device_priority): new function; return the priority number of
5371 a device type WRT which one should have the default route. Order is
5372 (highest to lowest) wired, wireless, GSM, CDMA.
5373 - (update_routing_and_dns): new function; determine which device should
5374 have the default route, then update the routing table and DNS
5375 - (maybe_auto_activate_device): new function; if a device is now
5376 available for activation, find out what connection it would like to
5378 - (schedule_activate_check): new function; if a device can be activated
5379 now, schedule the activation. Each device may have only one
5380 pending activation at a given time.
5381 - (device_state_changed): if activation was canceled, try again,
5382 possibly with another connection; if the device was activated,
5383 update routing and DNS; if the device was deactivated, try again
5384 with another connection
5385 - (device_carrier_changed): if there is no carrier, deactivate the
5386 device; otherwise schedule an activation check for the device
5387 - (wireless_networks_changed): schedule an activation check for the
5389 - (device_added): keep track of the signal handler IDs so they can
5390 be removed when the device goes away
5391 - (device_removed): remove any signal handlers that might be attached
5392 to the device; update routing and DNS
5393 - (schedule_activate_all): new function
5394 - (connections_added, connection_added, connection_updated): when
5395 connections change, schedule all devices for an activation check
5396 - (connection_removed): when a device is deactivated because its
5397 connection was removed, schedule another activation check for it
5398 - (nm_policy_destroy): destroy pending activations and disconnect
5399 all device signal handlers
5402 - (nm_manager_activate_device): if the device was already actived,
5404 - (deactivate_old_device): remove
5405 - (connection_added_default_handler, impl_manager_activate_device):
5406 don't deactivate other devices when activating this one
5408 * src/backends/NetworkManagerGentoo.c
5409 src/backends/NetworkManagerFrugalware.c
5410 src/backends/NetworkManagerPaldo.c
5411 src/backends/NetworkManagerRedHat.c
5412 src/backends/NetworkManagerSlackware.c
5413 src/backends/NetworkManagerArch.c
5414 src/backends/NetworkManagerSuSE.c
5415 src/backends/NetworkManagerDebian.c
5416 - (nm_system_get_mtu): remove; MTU should be provided through the
5417 distro's system settings service plugin instead
5418 - (nm_system_device_add_default_route_via_device): remove
5419 - (nm_system_device_add_default_route_via_device_with_iface): remove
5420 - (nm_system_device_replace_default_route): new function; call
5421 generic implementation
5423 * src/backends/NetworkManagerGeneric.c
5424 src/backends/NetworkManagerGeneric.h
5425 - (nm_generic_device_add_default_route_via_device,
5426 nm_generic_device_add_default_route_via_device_with_iface): remove
5427 - (nm_generic_device_replace_default_route): replace the default route
5428 with the given route via some gateway
5430 * src/NetworkManagerSystem.c
5431 src/NetworkManagerSystem.h
5432 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5433 to routing and DNS; but set the MTU here
5434 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5435 ip_iface of the active device; use the standard MTU setting function
5436 - (nm_system_set_mtu): remove
5437 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5439 2008-03-07 Tambet Ingo <tambet@gmail.com>
5441 Rework the interaction between ppp manager and pppd plugin. Register a well
5442 known DBUS service in manager and let the plugin call it's methods instead
5443 of listening plugin's signals.
5445 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5446 of emitting signals.
5448 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5450 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5452 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5453 nm_ppp_manager_start().
5455 * introspection/nm-ppp-manager.xml: New file.
5457 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5458 the case correctly where driver is trying to send -1 for the speed, which gets
5459 casted to u16 and thus is always > 0.
5461 2008-03-07 Dan Williams <dcbw@redhat.com>
5463 * src/nm-hal-manager.c
5464 - (nm_get_device_driver_name): use net.originating_device first, fall
5465 back to physical device. HAL has deprecated physical_device.
5467 * libnm-glib/nm-device.c
5468 - (get_product_and_vendor): use net.originating_device first, fall
5469 back to physical device. HAL has deprecated physical_device.
5470 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5472 2008-03-07 Dan Williams <dcbw@redhat.com>
5475 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5476 last commit; fix that
5477 - (get_link_cache): print error string
5479 2008-03-07 Dan Williams <dcbw@redhat.com>
5482 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5483 don't need this hack any more (Benoit Boissinot)
5485 2008-03-06 Dan Williams <dcbw@redhat.com>
5488 - Die gnome-common, die
5490 2008-03-04 Dan Williams <dcbw@redhat.com>
5492 Patch from Michael Biebl <biebl@debian.org>
5494 * NetworkManager.pc.in
5495 - doesn't actually depend on dbus-1
5497 * libnm-util/nm-utils.h
5498 - remove unused #include <dbus/dbus.h>
5500 * libnm-glib/libnm_glib.pc.in
5501 - depends on glib and dbus-glib
5503 2008-03-02 Dan Williams <dcbw@redhat.com>
5505 * src/NetworkManagerPolicy.c
5506 - s/device_state_changed_idle_id/update_state_id/
5508 2008-03-02 Dan Williams <dcbw@redhat.com>
5512 src/nm-device-802-11-wireless.c
5513 src/nm-device-802-3-ethernet.c
5514 src/NetworkManagerPolicy.c
5515 - s/link_active/carrier
5516 - nm_device_set_active_link() -> nm_device_set_carrier()
5517 - nm_device_has_active_link() -> nm_device_get_carrier()
5519 2008-03-02 Dan Williams <dcbw@redhat.com>
5521 * system-settings/plugins/ifcfg-fedora/parser.c
5522 - (make_wireless_setting): fail connection creation on missing SSID
5524 2008-02-29 Dan Williams <dcbw@redhat.com>
5526 * src/NetworkManagerPolicy.c
5527 - (nm_policy_device_change_check): ensure that a previously active
5528 device with a system connection has a link before denying a switch
5529 to a user connection
5531 2008-02-29 Dan Williams <dcbw@redhat.com>
5533 * src/nm-device-802-11-wireless.c
5534 - (link_timeout_cb): try again if scanning; deactivate the device when
5535 activated if the link dies
5536 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5539 2008-02-29 Dan Williams <dcbw@redhat.com>
5541 * src/nm-device-802-11-wireless.c
5542 src/nm-device-802-11-wireless.h
5543 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5544 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5545 - (device_cleanup): reset the scan interval lower when the device
5547 - (can_scan): base decision mostly off device state, not supplicant
5548 interface state since the supplicant interface state isn't a
5549 great indicator of whether the device is active or not
5550 - (request_wireless_scan): clean up; schedule the next scan here
5551 - (schedule_scan): only back the scan interval off if a new scan
5552 actually gets scheduled; and make scan intervals tighter when the
5553 device is disconnected
5554 - (supplicant_iface_state_cb_handler): fold in the bits of
5555 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5557 - (activation_success_handler): reset scan interval to something
5560 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
5562 reviewed by: Steev <steev@steev.net>
5565 * src/backends/NetworkManagerGentoo.c:
5566 (nm_system_restart_mdns_responder):
5567 Howl is no longer a supported mDNS provider
5569 2008-02-28 Tambet Ingo <tambet@gmail.com>
5571 Get rid of a bunch of unused distro specific functions.
5573 2008-02-28 Tambet Ingo <tambet@gmail.com>
5575 Implement suse plugin for system settings daemon.
5577 * system-settings/plugins/ifcfg-suse/*: Implement.
5579 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5582 * configure.in: Check (without failing) for gio.
5583 Create ifcfg-suse plugin's Makefile.
5585 2008-02-20 Dan Williams <dcbw@redhat.com>
5587 * libnm-util/nm-connection.c
5588 libnm-util/nm-connection.h
5589 - (nm_connection_compare): accept compare flags and pass them to the
5590 setting compare function
5592 * libnm-util/nm-setting.c
5593 libnm-util/nm-setting.h
5594 - (nm_setting_compare): accept compare flags; ignore properties that are
5597 * libnm-util/nm-setting-connection.c
5598 libnm-util/nm-setting-wireless.c
5599 libnm-util/nm-setting-ppp.c
5600 libnm-util/nm-setting-wired.c
5601 - Mark some setting properties as ignorable when doing a fuzzy compare
5604 - (device_activation_precheck): use exact compare
5606 2008-02-20 Dan Williams <dcbw@redhat.com>
5608 * src/NetworkManagerPolicy.c
5609 - (nm_policy_device_change_check): get scope off the connection, not
5610 using the manager helper
5614 - (get_scope_for_proxy): rename from get_type_for_proxy()
5615 - (connection_get_settings_cb): set scope and path on connection, not
5616 using GObject data items
5617 - (get_connection_for_proxy): don't need to return path, since that
5618 can be gotten from the connection
5619 - (get_connection_for_proxy): get path off the connection, not from
5621 - (connection_removed_cb, connection_updated_cb): don't need to get
5622 path from get_connection_for_proxy(); get scope off the connection
5623 instead of using GObject data items
5624 - (connection_added_default_handler, add_one_connection_element): use
5625 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5626 - (nm_manager_get_connection_dbus_path): remove
5627 - (nm_manager_get_connection_scope): remove
5629 2008-02-20 Dan Williams <dcbw@redhat.com>
5631 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5634 * Add 'path' and 'scope' properties to NMConnection since both NM and the
5635 applet were having to hack this in anyway. Remove the 'path' stuff from
5636 NMExportedConnection
5638 * Internally rename NMConnectionType -> NMConnectionScope
5640 * Provide default implementations of the 'get_id' and 'get_settings' methods
5641 of NMExportedConnection
5643 2008-02-15 Dan Williams <dcbw@redhat.com>
5645 * src/nm-device-802-11-wireless.c
5646 - (device_cleanup): release the AP list here too so that the AP list
5647 doesn't survive across suspend/resume and up/down. There is some
5648 room for optimization, for example blow the list away when the card
5649 brought back up, but only if the device has only been down for a
5652 2008-02-15 Dan Williams <dcbw@redhat.com>
5654 * src/nm-hal-manager.c
5655 - (modem_device_creator): recognize new HAL modem capabilities
5657 2008-02-12 Dan Williams <dcbw@redhat.com>
5659 * system-settings/plugins/ifcfg-fedora/plugin.c
5660 - (watch_path): handle IN_DELETE_SELF too
5661 - (handle_connection_changed): notify when removing a connection
5662 - (stuff_changed): don't warn on unknown inotify watches; handle the
5663 case of a file moving out of the profile directory
5665 2008-02-12 Dan Williams <dcbw@redhat.com>
5667 * system-settings/plugins/ifcfg-fedora/parser.c
5668 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5670 2008-02-12 Dan Williams <dcbw@redhat.com>
5672 * libnm-util/nm-utils.c
5673 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5674 just any empty array
5676 2008-02-12 Dan Williams <dcbw@redhat.com>
5678 * system-settings/src/nm-system-config-interface.c
5679 system-settings/src/nm-system-config-interface.h
5680 - (load_connections): get_connections() should now return an allocated
5681 GSList that the system settings service will free
5683 * system-settings/plugins/ifcfg-fedora/plugin.c
5684 system-settings/plugins/ifcfg-fedora/parser.h
5685 system-settings/plugins/ifcfg-fedora/parser.c
5686 - Fix up inotify issues; handle keys-* files, handle new files appearing
5687 in the profile directory, handle resolv.conf file changes
5689 2008-02-10 Dan Williams <dcbw@redhat.com>
5691 * src/nm-device-802-3-ethernet.c
5692 - (real_bring_up): save the supplicant interface state signal id
5693 - (real_bring_down): disconnect from the supplicant interface state
5696 2008-02-07 Dan Williams <dcbw@redhat.com>
5698 * initscript/RedHat/NetworkManager.in
5699 initscript/RedHat/NetworkManagerDispatcher.in
5700 - Add new-style LSB init headers
5702 2008-02-07 Dan Williams <dcbw@redhat.com>
5704 * system-settings/src/dbus-settings.c
5705 system-settings/src/dbus-settings.h
5706 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5708 - (connection_settings_get_secrets): consolidate error returns into
5709 one place; use the new get_secrets() plugin interface function to
5710 get secrets from the plugin itself rather than using GObject data
5713 * system-settings/src/main.c
5714 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5715 load_connections): keep a private list of the plugin-returned
5716 connections, don't use the plugin's GSList
5718 * system-settings/plugins/ifcfg-fedora/plugin.c
5719 - (watch_path): watch the path, not the filename (duh)
5720 - (reload_all_connections): use the direct hash/equal functions; the
5721 ones for int aren't appropriate here
5722 - (get_secrets, system_config_interface_init): implement the
5723 get_secrets() function
5724 - (build_one_connection, find_connection_by_path): ifcfg file path is
5725 now in the connection's ConnectionData instead of being a GObject
5727 - (handle_profile_item_changed): ifcfg file path is now in the
5728 connection's ConnectionData instead of being a GObject data property;
5729 be sure to copy secrets over from the new connection to the existing
5730 connection when updating the connection's settings
5731 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5734 * system-settings/plugins/ifcfg-fedora/parser.c
5735 system-settings/plugins/ifcfg-fedora/parser.h
5736 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5737 connection_data_copy_secrets, connection_data_free,
5738 connection_data_add): new functions; connection data manipulation
5739 - (make_wireless_security_setting): stuff secrets into the
5740 connection data, not as GObject data items; make sure to close
5742 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5743 connection data to the connection
5745 2008-02-07 Dan Williams <dcbw@redhat.com>
5747 * system-settings/src/nm-system-config-interface.c
5748 system-settings/src/nm-system-config-interface.h
5749 - Add a get_secrets() interface function to retrieve secrets for a
5750 specific setting of a specific connection. Document the interface
5753 2008-02-07 Dan Williams <dcbw@redhat.com>
5755 * src/nm-device-802-11-wireless.c
5756 - (handle_auth_or_fail): new function; consolidate device activation
5757 failure check after a certain number of failures getting secrets
5758 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5759 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5760 the connection if secrets were requested more than a few times
5761 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5762 tries here; otherwise they are cleared before the IP configure
5763 timeout, which happens with open system WEP when key is wrong
5764 - (activation_success_handler): clear wireless secrets tries here too
5766 2008-02-07 Dan Williams <dcbw@redhat.com>
5768 * src/NetworkManagerPolicy.c
5769 - (connection_updated): clear invalid tag when connection gets updated
5770 to allow that connection to be tried again
5771 - (nm_policy_new): save signal ids so they can be disconnected when
5772 the policy is destroyed
5773 - (nm_policy_destroy): stop any in-progress state change idle handler,
5774 and disconnect all signals from the manager object so that none
5775 of the policy functions gets called after the policy is destroyed
5777 2008-02-06 Dan Williams <dcbw@redhat.com>
5780 - (finalize): remove devices a bit earlier; clean up system settings
5782 - (nm_manager_name_owner_changed): clean up system settings poke when
5783 the service appears, and try to restart it if it fails
5784 - (poke_system_settings_daemon_cb): try to get the system settings
5785 service started through D-Bus service activation
5786 - (initial_get_connections): start the system settings daemon if it's
5789 2008-02-05 Dan Williams <dcbw@redhat.com>
5791 * src/supplicant-manager/nm-supplicant-config.c
5792 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5793 broadcast networks too
5795 2008-02-04 Dan Williams <dcbw@redhat.com>
5797 * system-settings/plugins/ifcfg-fedora/parser.c
5798 - (make_wireless_security_setting): fix spelling; unencrypted networks
5799 need key_mgmt set too
5800 - (parser_parse_file): validate ifcfg file name and don't try to parse
5801 .bak files; ensure that an error is set whenever NULL gets returned
5803 2008-02-04 Dan Williams <dcbw@redhat.com>
5805 * system-settings/src/Makefile.am
5806 - Install D-Bus service activation file for the system settings
5809 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5810 - D-Bus service activation file for system settings service
5812 2008-02-04 Dan Williams <dcbw@redhat.com>
5814 * system-settings/src/main.c
5815 - (parse_config_file): parse a config file
5816 - (main): accept --config option and read plugins from config file
5818 2008-02-04 Dan Williams <dcbw@redhat.com>
5820 * system-settings/plugins/ifcfg-fedora/plugin.c
5821 - Change reported name to 'ifcfg-fedora'
5822 - Use IFCFG_PLUGIN_NAME
5824 * system-settings/plugins/ifcfg-fedora/plugin.c
5825 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5827 2008-02-04 Dan Williams <dcbw@redhat.com>
5829 * system-settings/plugins/ifcfg-fedora/parser.c
5830 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5831 - (make_connection_setting): use get_ifcfg_name()
5832 - (make_wireless_security_setting): handle shadow key files
5833 - (get_one_wep_key): treat empty string as NULL
5835 2008-02-04 Dan Williams <dcbw@redhat.com>
5837 * src/supplicant-manager/nm-supplicant-manager.c
5838 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5839 glib automatically reschedule
5840 - (nm_supplicant_manager_init): immediately try to start the supplicant
5841 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5844 2008-02-01 Dan Williams <dcbw@redhat.com>
5846 * src/NetworkManagerPolicy.c
5847 - (device_state_changed): schedule a change check when a device gets
5848 deactivated so something happens if you disconnect GSM/CDMA
5850 2008-01-31 Dan Williams <dcbw@redhat.com>
5852 * src/nm-device-802-11-wireless.h
5853 src/nm-device-802-11-wireless.c
5854 - (ap_list_get_ap_by_ssid, is_associated,
5855 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5856 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5857 - (nm_device_802_11_wireless_get_activation_ap): collapse
5858 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5861 2008-01-30 Dan Williams <dcbw@redhat.com>
5863 * system-settings/plugins/ifcfg
5864 * system-settings/plugins/ifcfg-fedora
5865 - Move the ifcfg plugin to ifcfg-fedora
5867 2008-01-24 Dan Williams <dcbw@redhat.com>
5869 * libnm-glib/nm-device-802-11-wireless.c
5870 - (get_access_point): move the "/" check here; check for invalid path
5872 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5873 to get_access_point()
5874 - (access_point_added_proxy, access_point_removed_proxy): don't try
5875 to send signals for non-existent access points
5877 2008-01-24 Dan Williams <dcbw@redhat.com>
5879 * libnm-glib/nm-device-802-11-wireless.c
5880 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5882 2008-01-23 Dan Williams <dcbw@redhat.com>
5884 * libnm-glib/libnm_glib.c
5885 - (libnm_glib_init): make thread joinable
5886 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5888 2008-01-23 Dan Williams <dcbw@redhat.com>
5890 * test/libnm_glib_test.c
5891 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5892 - (main): set up signal handlers; call libnm_glib_shutdown
5894 2008-01-21 Dan Williams <dcbw@redhat.com>
5896 * include/NetworkManager.h
5897 - Add CDMA mobile broadband card device type
5899 * src/nm-hal-manager.c
5900 - (modem_device_creator): handle both CDMA and GSM modems; the device
5901 must now be tagged with 'cdma' or 'gsm' capability
5903 * src/nm-cdma-device.c
5904 src/nm-cdma-device.h
5906 - Add the CDMA mobile broadband card device class
5908 * libnm-util/nm-connection.c
5909 - (register_default_settings): add NMSettingCdma
5911 * libnm-util/nm-setting-cdma.c
5912 libnm-util/nm-setting-cdma.h
5913 libnm-util/Makefile.am
5914 - Add the CDMA mobile broadband card setting class
5916 * libnm-glib/nm-cdma-device.c
5917 libnm-glib/nm-cdma-device.h
5918 libnm-glib/Makefile.am
5919 - Add the CDMA mobile broadband card GLib proxy class
5921 * libnm-glib/nm-client.c
5922 - (get_device): handle CDMA devices too
5924 2008-01-21 Dan Williams <dcbw@redhat.com>
5926 * src/ppp-manager/nm-ppp-manager.c
5927 - (ip4_config_get): set peer address too
5929 * src/ppp-manager/nm-pppd-plugin.c
5930 - (nm_ip_up): try harder to get the peer's address
5932 * src/NetworkManagerSystem.c
5933 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5934 address, use that too. Otherwise, some PPP connections won't work.
5936 2008-01-19 Dan Williams <dcbw@redhat.com>
5938 * src/NetworkManagerPolicy.c
5939 - (nm_policy_device_change_check): system connections override user
5940 connections; don't activate a user connection if there's a currently
5941 active system connection, and new, better system connections always
5942 interrupt user connections
5944 2008-01-19 Dan Williams <dcbw@redhat.com>
5947 - (nm_manager_get_connection_type): new function
5949 2008-01-19 Dan Williams <dcbw@redhat.com>
5951 * src/nm-device-802-11-wireless.c
5952 - (real_get_best_connection): collapse find_best_connection() into this
5955 2008-01-19 Dan Williams <dcbw@redhat.com>
5957 * src/nm-device-802-3-ethernet.c
5958 - (real_get_best_connection): collapse find_best_connection() into this
5961 2008-01-18 Dan Williams <dcbw@redhat.com>
5963 * src/nm-device-802-3-ethernet.c
5964 - (find_best_connection): check MAC address too
5965 - (real_get_best_connection): let autoconnect=True connections activate
5966 for devices that don't have carrier detection
5968 * src/nm-device-802-11-wireless.c
5969 - (find_best_connection): check MAC address too
5971 2008-01-18 Dan Williams <dcbw@redhat.com>
5973 * system-settings/plugins/ifcfg/parser.c
5974 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5976 2008-01-17 Dan Williams <dcbw@redhat.com>
5978 * src/nm-device-802-3-ethernet.c
5979 - (nm_device_802_3_ethernet_carrier_on,
5980 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5981 carrier events that might come in for devices that don't support
5984 2008-01-17 Dan Williams <dcbw@redhat.com>
5986 * src/nm-device-interface.c
5987 - (nm_device_interface_check_connection_conflicts): need to actually
5988 get the interface, not cast to the object
5991 - (nm_device_check_connection_conflicts): need to get the device class,
5992 not cast the device to the device class
5994 2008-01-17 Dan Williams <dcbw@redhat.com>
5996 * src/nm-device-802-11-wireless.c
5997 - (real_check_connection_conflicts): ignore connections that aren't
5998 wireless connections
6000 2008-01-17 Dan Williams <dcbw@redhat.com>
6002 * src/NetworkManagerPolicy.c
6003 - (nm_policy_device_change_check): clear change check idle here
6004 - (device_change_check_done): remove
6005 - (schedule_change_check): simplify
6007 2008-01-17 Dan Williams <dcbw@redhat.com>
6010 - (check_connection_allowed): take an NMDeviceInterface instead of
6011 an NMDevice object as an argument
6012 - (nm_manager_activate_device): pass an NMDeviceInterface to
6013 check_connection_allowed()
6015 2008-01-13 Dan Williams <dcbw@redhat.com>
6017 * libnm-glib/nm-device-802-11-wireless.c
6018 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6020 2008-01-12 Dan Williams <dcbw@redhat.com>
6022 * src/nm-device-802-11-wireless.c
6023 - (activation_success_handler): if a match was found in the scan list
6024 and that match is a hidden AP, update that AP's SSID
6026 2008-01-11 Dan Williams <dcbw@redhat.com>
6028 * src/NetworkManagerAP.c
6029 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6031 * src/nm-device-802-11-wireless.c
6032 - (get_active_ap): do two passes over the scan list if the caller
6033 requests that hidden APs get matched too; during the second pass
6034 when matching hidden APs, ignore the SSID since hidden APs in the
6035 scan list don't have an SSID yet
6036 - (periodic_update): move some checks to
6037 nm_device_802_11_periodic_update() because not all callers need them
6038 - (nm_device_802_11_periodic_update): move some checks here from
6040 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6041 matching on incoming scan results, because the fake AP's flags
6042 might be slightly different (yet still compatible) with the incoming
6043 scan result's flags and they might actually be the same AP; update
6044 the rate on merged APs too
6045 - (activation_success_handler): update the frequency of the fake AP
6046 on successful connection; match hidden APs too since if the
6047 current AP is fake, there might already be a scan result in the
6048 scan list for the desired AP, just without it's SSID filled in yet
6050 2008-01-10 Dan Williams <dcbw@redhat.com>
6052 * src/NetworkManagerAP.c
6053 - (foreach_property_cb): catch more hidden SSID formats
6055 2008-01-10 Dan Williams <dcbw@redhat.com>
6057 Fix gnome.org #464215. Requires the kernel patch titled
6058 "Introduce WEXT scan capabilities" but will handle the patch not being
6059 present, you'll just continue to have problems with hidden SSIDs when
6060 using mac80211-based drivers.
6062 * src/supplicant-manager/nm-supplicant-config.h
6063 src/supplicant-manager/nm-supplicant-config.c
6064 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6065 whether the driver supports SSID scans or not. If it does, and if
6066 the AP is hidden, use ap_scan=1 instead of ap_scan=2
6068 * src/nm-device-802-11-wireless.c
6069 - (constructor): check whether or not the driver supports SSID scans
6070 - (build_supplicant_config): pass driver SSID scan capability when
6071 building the wireless bits of the supplicant config
6073 2008-01-09 Dan Williams <dcbw@redhat.com>
6077 - (device_activation_precheck, check_connection_complete): remove this
6078 virtual function; incomplete connections should be invalid by
6079 definition, complete-ness should be checked in the setting's
6082 * src/nm-serial-device.c
6084 - (real_check_connection_complete): remove
6086 * libnm-util/nm-setting-serial.c
6087 - (verify): new function; ensure there is a PPP setting too
6089 * libnm-util/nm-setting-gsm.c
6090 - (verify): ensure there is a serial setting too
6092 2008-01-06 Dan Williams <dcbw@redhat.com>
6094 * src/dhcp-manager/nm-dhcp-manager.c
6095 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6098 2008-01-04 Dan Williams <dcbw@redhat.com>
6100 * src/named-manager/nm-named-manager.c
6101 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6102 nameservers if the secondary config doesn't have any
6105 2008-01-02 Tambet Ingo <tambet@gmail.com>
6107 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6108 with G_PARAM_CONSTRUCT so that they get the default values.
6110 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6111 the monitoring device and prints out the output for now. Or more precicely, doesn't
6112 do absolutely anything right now since the montoring device argument is never set.
6114 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6115 requires it's own knob to turn it on.
6116 (config_fd): Add NMSettingSerial to the arguments list.
6117 (nm_serial_device_open): Ditto.
6118 (get_reply_got_data): Ignore the terminators at the beginning of the output.
6119 (nm_serial_device_get_io_channel): Implement.
6121 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6122 a new reference every time (and forgetting to release it sometimes) is a pain and
6123 it's not like NMManager could work without dbus.
6124 (nm_manager_add_device): Register the added device on dbus here.
6126 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6129 * src/nm-device.c (constructor): Don't export the device here, instead export
6130 it when it's added to the NMManager's device list.
6132 2007-12-31 Dan Williams <dcbw@redhat.com>
6134 * src/nm-device-interface.c
6135 src/nm-device-interface.h
6136 - (nm_device_interface_check_connection_conflicts): new function
6140 - (nm_device_check_connection_conflicts): new function
6141 - (device_activation_precheck): don't require subclasses to implement
6142 check_connection_complete()
6143 - check_connection() -> check_connection_complete()
6145 * src/nm-device-802-11-wireless.c
6146 - (real_check_connection): remove; unused
6147 - (real_check_connection_conflicts): implement, handle lockdown for
6150 * src/nm-device-802-3-ethernet.c
6151 - (real_check_connection): remove; unused
6154 - (check_connection_allowed): new function
6155 - (nm_manager_activate_device): ensure the connection being requested
6156 is allowed to be activated
6158 * src/nm-serial-device.c
6160 - real_check_connection() -> real_check_connection_complete()
6162 2007-12-27 Dan Williams <dcbw@redhat.com>
6164 * src/nm-device-interface.c
6165 src/nm-device-interface.h
6166 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6167 normalize and expand errors
6168 - (nm_device_interface_init): register errors so they can be marshalled
6170 - (nm_device_interface_activate): ensure that failure of activation
6175 - (device_activation_precheck): implementations of check_connection()
6176 now take a GError and must fill it in if the check fails. Return
6177 more descriptive error if the requested connection is already
6179 - (nm_device_activate): actually try to return descriptive errors on
6182 * src/nm-device-802-11-wireless.c
6183 src/nm-device-802-3-ethernet.c
6184 src/nm-serial-device.c
6186 - (real_check_connection): return more descriptive errors on failure
6188 * src/NetworkManagerPolicy.c
6189 - (nm_policy_device_change_check): print activation errors in the logs
6192 - (nm_manager_error_quark, nm_manager_error_get_type,
6193 nm_manager_class_init): new errors
6194 - (nm_manager_activate_device): handle errors
6195 - (nm_manager_error_new): removed
6196 - (wait_for_connection_expired, connection_added_default_handler,
6197 impl_manager_activate_device): better error handling
6199 2007-12-27 Dan Williams <dcbw@redhat.com>
6201 Fixes gnome.org #466954
6203 * src/supplicant-manager/nm-supplicant-settings-verify.c
6204 - Allow 'frequency' network property
6206 * src/supplicant-manager/nm-supplicant-config.c
6207 src/supplicant-manager/nm-supplicant-config.h
6208 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6209 for callers to specify the frequency an Ad-Hoc network should operate
6210 on. Some drivers require this to successfully create an Ad-Hoc
6213 * src/nm-device-802-11-wireless.c
6214 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6215 guint32 value in MHz
6216 - (constructor, nm_device_802_11_wireless_get_frequency): use
6218 - (find_supported_frequency): new function; find a free supported
6219 frequency for a user-created Ad-Hoc network
6220 - (build_supplicant_config): if no frequency was specified for a user-
6221 created Ad-Hoc network, find a free one to use
6222 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6223 a specific object as user-created
6225 2007-12-27 Dan Williams <dcbw@redhat.com>
6227 * libnm-util/nm-utils.c
6228 libnm-util/nm-utils.h
6229 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6232 2007-12-24 Dan Williams <dcbw@redhat.com>
6234 * libnm-util/nm-setting-wireless.c
6235 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6236 185, 187, 188, 192, and 196
6238 2007-12-24 Dan Williams <dcbw@redhat.com>
6240 * src/nm-device-802-11-wireless.c
6241 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6242 a channel # instead of a frequency
6244 2007-12-24 Dan Williams <dcbw@redhat.com>
6246 * src/NetworkManagerAP.c
6247 src/NetworkManagerAP.h
6248 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6249 - (freq_to_channel): handle split band tables
6250 - (channel_to_freq): handle split band tables, take a band argument
6252 2007-12-24 Dan Williams <dcbw@redhat.com>
6254 * libnm-util/nm-setting-connection.h
6255 libnm-util/nm-setting-connection.c
6256 - Add 'lockdown' member
6258 2007-12-22 Dan Williams <dcbw@redhat.com>
6260 * libnm-util/nm-setting-wireless.c
6261 - (nm_setting_wireless_class_init): add missing 'rate' property
6264 2007-12-18 Dan Williams <dcbw@redhat.com>
6266 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6268 * src/nm-netlink-monitor.c
6269 src/nm-netlink-monitor.h
6270 - Remove handrolled netlink, use libnl instead
6272 * src/nm-device-802-3-ethernet.c
6273 - (constructor, nm_device_802_3_ethernet_carrier_off,
6274 nm_device_802_3_ethernet_carrier_on): use new names
6276 2007-12-17 Dan Williams <dcbw@redhat.com>
6279 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6280 and fixes memory leaks)
6283 - (nm_netlink_get_default_handle): handle new versions of libnl that
6284 automatically handle the netlink PID
6286 2007-12-17 Dan Williams <dcbw@redhat.com>
6288 Patch from Michael Biebl <biebl@debian.org>
6291 src/ppp-manager/Makefile.am
6292 - fix up install dir of pppd plugin
6293 - clean up configure.in a bit
6295 2007-12-12 Dan Williams <dcbw@redhat.com>
6297 * system-settings/src/nm-system-settings.conf
6298 - Allow non-root clients (like the applet) to read settings
6300 2007-12-10 Tambet Ingo <tambet@gmail.com>
6302 * Replace all occurences of 'UMTS' with 'GSM'.
6304 2007-12-07 Dan Williams <dcbw@redhat.com>
6306 * src/nm-serial-device.c
6307 - (real_is_up): serial devices are always "up"
6309 2007-12-07 Dan Williams <dcbw@redhat.com>
6312 src/NetworkManagerSystem.c
6313 - (new_nl_handle): ensure that the same netlink pid is never chosen
6314 twice (gnome.org #491047)
6315 - Make more robust against allocation-related failures should they occur
6317 2007-12-07 Dan Williams <dcbw@redhat.com>
6319 Noticed by Christian Persch <chpe@gnome.org>
6321 Always chain up to parent object in dispose and finalize handlers.
6324 2007-12-07 Dan Williams <dcbw@redhat.com>
6326 * src/nm-device-802-11-wireless.c
6327 - Wrap #include of linux/mii.h to fix redefined structures due to
6328 incorrect kernel headers (gnome.org #350061)
6330 2007-12-06 Tambet Ingo <tambet@gmail.com>
6332 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6333 before doing anything else.
6334 (init_modem): Move modem initialization here.
6336 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6337 (nm_serial_device_flash): Implement.
6339 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6340 changes signal is "StateChanged" and not "Status".
6341 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6343 2007-12-06 Dan Williams <dcbw@redhat.com>
6345 * src/supplicant-manager/nm-supplicant-config.c
6346 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6347 to only send some options when they make sense; also send phase2
6348 option to the supplicant (possible fix for rh #399631)
6350 2007-12-06 Tambet Ingo <tambet@gmail.com>
6352 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6353 arguments: This whole file shouldn't really know anything about NMDevices, it
6354 should deal only with device interfaces. Devices might have different ifaces for
6355 different stuff and this place shouldn't know anything about it.
6357 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6358 (global_state_changed): Implement. In the current NM it's not really important,
6359 but will be required in the case of multiple active devices. (Or even better,
6360 if stuff like that gets moved out from NM).
6362 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6363 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6366 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6367 devices like serial devices (ttyS0 and ppp0 for example).
6368 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6370 (nm_device_set_ip_iface): Implement.
6371 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6372 after setting ip4_config from here ...
6373 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6374 than this function should call nm_system_device_set_from_ip4_config() because no
6375 other code has enough information on which arguments to use. So instead, other code
6376 could just set the new ip4 config using this function and everyone is happy.
6378 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6379 if we happen to get deactivated while something is pending.
6380 (automatic_registration): Handle the response that indicates pending network
6381 registration and wait until the pending registration is done.
6382 (real_deactivate_quickly): If there's a pending operation, cancel it.
6384 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6385 (real_deactivate_quickly): ... and remove it when it's down.
6386 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6388 (nm_serial_device_wait_for_reply): Ditto.
6390 2007-12-05 Tambet Ingo <tambet@gmail.com>
6392 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6393 (get_network_done): Remove newline, nm_info() does it already.
6394 (real_act_stage1_prepare): Turn the modem echo off.
6396 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6397 device, set the route to the device interface. This is a hack.
6399 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6400 return, no need for a new-line.
6401 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6402 Change the device iface here (ugh).
6403 (real_act_stage4_get_ip4_config): Implement.
6404 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6405 Restore the device iface.
6407 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6408 device is not wired or wireless (eg, automatically upped) device.
6410 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6412 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6414 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6415 before calling it's is_device_fn().
6417 2007-12-05 Dan Williams <dcbw@redhat.com>
6419 * libnm-util/nm-utils.c
6420 - (nm_utils_register_value_transformations,
6421 nm_utils_convert_gvalue_hash_to_string): better debug output of
6422 GHashTables of GValues too
6424 2007-12-04 Dan Williams <dcbw@redhat.com>
6426 * initscript/RedHat/NetworkManager.in
6427 - No longer start named; it's D-Bus interface is going away
6429 2007-12-04 Dan Williams <dcbw@redhat.com>
6431 Patch from Michael Biebl <biebl@debian.org>
6433 * system-settings/plugins/ifcfg/Makefile.am
6434 system-settings/src/main.c
6435 system-settings/src/Makefile.am
6436 - Put system settings plugins in NM plugins dir
6438 * src/ppp-manager/Makefile.am
6439 src/ppp-manager/nm-ppp-manager.c
6440 - Move pppd plugin to NM plugins dir
6442 2007-12-04 Dan Williams <dcbw@redhat.com>
6444 * libnm-util/nm-setting-vpn-properties.h
6445 - Clarify usage of the 'data' member of the setting
6447 * libnm-util/nm-setting-vpn-properties.c
6448 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6449 - (set_property): just remove all the settings; don't recreate the has
6450 - (update_one_secret): don't need to create the hash table here since
6451 it should always be present
6453 2007-12-03 Tambet Ingo <tambet@gmail.com>
6455 Implement PIN and PUK requesting.
6457 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6458 (enter_pin): Handle PIN and PUK requests.
6459 (real_act_stage1_prepare): Clear the secret type.
6460 (real_connection_secrets_updated): Implement this class method to get
6461 notified when new secrets arrive.
6462 (nm_umts_device_class_init): Add private data back to the umts device class
6463 to store the required secret type.
6465 2007-12-01 Dan Williams <dcbw@redhat.com>
6467 * system-settings/plugins/ifcfg/parser.c
6468 - (parser_parse_file): don't try to verify NULL connections
6470 2007-12-01 Dan Williams <dcbw@redhat.com>
6472 * system-settings/src/main.c
6473 - (load_connections, add_connection_to_settings): actually export
6474 plugin-provided connections over D-Bus so NM can get them
6476 2007-12-01 Dan Williams <dcbw@redhat.com>
6478 * system-settings/plugins/ifcfg/parser.c
6479 system-settings/plugins/ifcfg/parser.h
6480 system-settings/plugins/ifcfg/plugin.c
6481 - Hook up more inotify bits (untested)
6483 2007-11-29 Dan Williams <dcbw@redhat.com>
6485 * system-settings/src/nm-system-config-interface.h
6486 system-settings/src/nm-system-config-interface.c
6487 - (nm_system_config_interface_init,
6488 nm_system_config_interface_get_connections): add
6490 * system-settings/src/main.c
6491 - (load_plugins, load_connections, main): use a GSList for plugins
6492 to ensure priority ordering
6494 * system-settings/plugins/ifcfg/parser.c
6495 - (ifcfg_error_quark): move to plugin.c, and rename
6497 * system-settings/plugins/ifcfg/plugin.h
6498 system-settings/plugins/ifcfg/plugin.c
6499 - (ifcfg_plugin_error_quark): move here from parser.c
6500 - rework connection loading and initialization
6501 - Add preliminary inotify support for network profile config file
6503 2007-11-28 Tambet Ingo <tambet@gmail.com>
6505 Merge the beginnings of the new GSM card support.
6507 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6508 ppp watch source before killing pppd - If this happens from g_object_unref()
6509 then the ppp manager is already destroyed by the time the watch callback runs.
6511 * src/nm-hal-manager.c: Add a device_type_name string to the device
6512 creators, so that we can print a nice human readable string when a
6515 * src/nm-umts-device.c (automatic_registration_get_network): Query
6516 for the activated network, not much is done with the result thought.
6518 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6519 (ppp_ip4_config): Change the device state to activated here for now.
6520 (real_check_connection): Make sure the connection includes ppp setting.
6522 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6524 * libnm-glib/Makefile.am: Add the new files to build.
6526 * libnm-glib/nm-umts-device.c:
6527 * libnm-glib/nm-umts-device.h: Implement.
6529 2007-11-26 Tambet Ingo <tambet@gmail.com>
6531 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6532 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6534 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6535 the timeout source - this function is only called when the timeout source has
6537 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6538 to be big enough to contain the terminating zero element as well.
6539 The timeout argument is meant to be in seconds now.
6540 (real_deactivate_quickly): Implement.
6542 * src/NetworkManager.conf: Allow root to own
6543 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6545 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6546 (not unsigned ints).
6548 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
6549 small issue with parity bounds - capital letters have lower ascii codes
6550 than lower case letters.
6552 * libnm-util/nm-connection.c (register_default_settings): Register serial
6555 2007-11-22 Tambet Ingo <tambet@gmail.com>
6557 Remove the "index" property from devices as not all device types have this.
6559 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6561 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6562 (wired_device_creator): Get the device interface from hal to create the device.
6563 (wireless_device_creator): Ditto.
6565 * src/nm-device.c (nm_device_init): Remove the index member.
6566 (constructor): Remove the checks for index property, make interface property
6567 a require constructor property.
6568 Use the HAL udi for DBus path for devices.
6569 (nm_device_get_index): Remove.
6570 (set_property): Remove index handling.
6571 (get_property): Ditto.
6572 (nm_device_get_dbus_path): Remove.
6574 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6577 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6578 Access the device index through it's interface.
6579 (nm_device_802_3_ethernet_link_deactivated): Ditto.
6580 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6581 index argument. Add interface argument.
6583 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6584 the useless test_dev argument. Remove index argument. Add interface arugment.
6586 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6587 device index through interface.
6588 (nm_system_set_mtu): Ditto.
6590 * introspection/nm-device.xml: Remove the "Index" property.
6592 2007-11-21 Tambet Ingo <tambet@gmail.com>
6594 * src/nm-serial-device.c:
6595 * src/nm-serial-device.c:
6596 * src/nm-umts-device.c:
6597 * src/nm-umts-device.h: Implement.
6599 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
6600 allocated by libhal.
6601 (modem_device_creator): Implement.
6602 (register_built_in_creators): Register the modem creator.
6604 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
6605 Remove the unused test_dev argument.
6607 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6609 * src/Makefile.am: Add new files to build.
6610 Link in ppp-manager.
6612 * libnm-util/nm-setting-umts.c:
6613 * libnm-util/nm-setting-umts.h:
6614 * libnm-util/nm-setting-serial.c:
6615 * libnm-util/nm-setting-serial.h: Implement.
6617 * libnm-util/Makefile.am: Add new files to build.
6619 2007-11-28 Dan Williams <dcbw@redhat.com>
6621 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6623 Support DHCP-provided static routes.
6625 * src/nm-ip4-config.h
6627 - Add get/set functions for static routes
6629 * src/dhcp-manager/nm-dhcp-manager.c
6630 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6633 * src/NetworkManagerSystem.c
6634 - (nm_system_device_set_from_ip4_config): set any static routes on the
6635 interface when applying the IP4Config
6637 2007-11-28 Dan Williams <dcbw@redhat.com>
6639 * src/nm-device-802-11-wireless.c
6640 - (real_act_stage1_prepare): mark APs created for hidden networks
6643 2007-11-27 Dan Williams <dcbw@redhat.com>
6645 * system-settings/src/nm-system-config-interface.h
6646 - Note how to store secrets on NMSetting objects
6648 * system-settings/src/dbus-settings.c
6649 - (connection_settings_get_secrets): implement
6651 2007-11-27 Dan Williams <dcbw@redhat.com>
6653 * system-settings/plugins/ifcfg/Makefile.am
6654 system-settings/plugins/ifcfg/parser.c
6655 system-settings/plugins/ifcfg/parser.h
6656 system-settings/plugins/ifcfg/plugin.c
6657 - Parse wireless connections too
6659 * system-settings/src/dbus-settings.c
6660 system-settings/src/dbus-settings.h
6661 system-settings/src/main.c
6662 - Handle connection update/removal if the plugin supports it
6664 2007-11-27 Dan Williams <dcbw@redhat.com>
6666 * src/nm-dbus-manager.h
6667 src/nm-hal-manager.c
6668 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6672 src/NetworkManagerDbusUtils.c
6673 src/NetworkManagerDbusUtils.h
6674 - Remove these two source files; they are unused
6676 2007-11-27 Dan Williams <dcbw@redhat.com>
6678 * src/vpn-manager/nm-vpn-manager.c
6679 - (impl_vpn_manager_connect): fix system settings check (found by
6682 2007-11-26 Dan Williams <dcbw@redhat.com>
6684 * Fix warnings so everything compiles with --enable-more-warnings
6686 2007-11-25 Dan Williams <dcbw@redhat.com>
6689 - Rework structure and code to use GModule-loaded plugins and a plugin
6690 interface that plugins export to the system settings service
6692 2007-11-21 Dan Williams <dcbw@redhat.com>
6695 - Add Soren's system settings service. Needs work for distros other
6696 than Fedora; the backends from NM should mostly migrate to here
6697 and be converted to GObjects
6699 2007-11-21 Dan Williams <dcbw@redhat.com>
6701 * libnm-util/nm-setting-vpn-properties.c
6702 - (set_property): must deep-copy the given settings hash, otherwise
6703 double-free errors occur when the setting is disposed of
6705 2007-11-21 Dan Williams <dcbw@redhat.com>
6707 * src/vpn-manager/nm-vpn-act-request.h
6708 src/vpn-manager/nm-vpn-act-request.c
6711 2007-11-20 Dan Williams <dcbw@redhat.com>
6713 * libnm-util/nm-utils.c
6714 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6715 nm_utils_convert_ip4_addr_struct_array_to_string,
6716 nm_utils_register_value_transformations): print out the readable
6717 values of more types of properties of NMSettings subclasses
6719 2007-11-20 Dan Williams <dcbw@redhat.com>
6721 * libnm-util/nm-setting-ip4-config.c
6722 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6723 nm_setting_ip4_config_class_init): apparently dbus-glib can't
6724 marshal GValueArrays inside collections, so switch to types that it
6725 can actually marshal/demarshal
6727 2007-11-16 Dan Williams <dcbw@redhat.com>
6729 * libnm-util/nm-setting-wireless-security.c
6730 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6731 minimal verification of EAP methods too
6732 - (verify): verify phase1 eap methods too
6734 2007-11-15 Dan Williams <dcbw@redhat.com>
6736 * libnm-glib/nm-device.h
6737 libnm-glib/nm-device.c
6738 - (nm_device_get_product, nm_device_get_vendor): should be returning
6741 2007-11-15 Dan Williams <dcbw@redhat.com>
6743 * libnm-glib/nm-device.c
6744 - (get_product_and_vendor): don't try to free things that should be
6747 2007-11-15 Dan Williams <dcbw@redhat.com>
6749 * src/NetworkManagerUtils.c
6750 - (nm_ethernet_address_is_valid): unbreak previous fix
6752 2007-11-15 Dan Williams <dcbw@redhat.com>
6754 * src/supplicant-manager/nm-supplicant-config.c
6755 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6758 2007-11-15 Dan Williams <dcbw@redhat.com>
6760 * src/NetworkManagerUtils.c
6761 - (nm_ethernet_address_is_valid): fix style, clarify
6762 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6764 * src/nm-device-802-11-wireless.c
6765 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6766 - (nm_device_802_11_wireless_get_ssid,
6767 nm_device_802_11_wireless_get_bssid,
6768 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6769 before calling the ioctl; fixes valgrind-reported jump depends on
6770 uninitialized value errors
6772 2007-11-15 Dan Williams <dcbw@redhat.com>
6774 * libnm-util/nm-setting.c
6775 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6776 unecessary to serialize 'name'
6778 * src/nm-activation-request.c
6779 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6782 2007-11-15 Dan Williams <dcbw@redhat.com>
6784 * libnm-util/nm-setting-connection.h
6785 libnm-util/nm-setting-connection.c
6786 - Rename the 'name' property to 'id', because it conflicted with the
6787 NMSetting superclass' 'name' property.
6789 * libnm-util/nm-setting.c
6790 - (nm_setting_to_hash): serialize the 'name' property
6791 - (one_property_cb): ignore 'name' on deserialization of a connection
6793 * src/nm-device-802-11-wireless.c
6794 src/vpn-manager/nm-vpn-connection.c
6795 src/NetworkManagerPolicy.c
6796 - Fix up for NMSettingConnection 'name'->'id' changes
6798 2007-11-13 Dan Williams <dcbw@redhat.com>
6800 * libnm-glib/nm-device-802-11-wireless.h
6801 libnm-glib/nm-device-802-11-wireless.c
6802 - (nm_device_802_11_wireless_get_hw_address): return should be const
6805 libnm-glib/libnm-glib-test.c
6806 - Fixes for above change
6808 2007-11-12 Dan Williams <dcbw@redhat.com>
6810 * src/supplicant-manager/nm-supplicant-settings-verify.c
6811 - Allow fragment_size option
6813 * src/supplicant-manager/nm-supplicant-settings-verify.c
6814 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6815 EAP fragment size than the default to help some TLS connections
6817 2007-11-12 Dan Williams <dcbw@redhat.com>
6819 Make certs actually work. The private key is now a secret, and should be
6820 decrypted when requested by NM. The private key and phase2 private key
6821 passwords are no longer interesting to NM because they should be used by
6822 the settings service to decrypt the private key itself before passing it
6823 to NM, and hence have been removed as fields.
6825 * libnm-util/nm-setting-wireless-security.h
6826 libnm-util/nm-setting-wireless-security.c
6827 - Remove private-key-passwd and phase2-private-key-passwd from
6829 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6830 need_secrets): use property #defines instead strings to keep things
6832 - (need_secrets_tls): if a client certificate is present but no
6833 private key, request the private key
6834 - (set_property, get_property, nm_setting_wireless_security_class_init):
6835 remove private key password stuff, mark private keys as secret
6837 * src/supplicant-manager/nm-supplicant-settings-verify.c
6838 - Remove private_key_passwd and private_key2_passwd from opt_table
6840 2007-11-09 Dan Williams <dcbw@redhat.com>
6842 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6843 Since the vpn-properties are managed and known by the VPN daemons themselves,
6844 libnm-util doesn't know what's secret and what's in the setting's 'data'
6847 * libnm-util/nm-setting.h
6848 libnm-util/nm-setting.c
6849 - Add the ability for subclasses to override update_one_secret
6851 * libnm-util/nm-setting-vpn-properties.c
6852 - Override update_one_secret and just copy the values into the
6855 2007-11-09 Dan Williams <dcbw@redhat.com>
6857 * libnm-glib/nm-settings.h
6858 libnm-glib/nm-settings.c
6859 - (nm_settings_new_error): remove
6860 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6861 clients should use g_set_error() with NM_SETTINGS_ERROR
6863 2007-11-09 Dan Williams <dcbw@redhat.com>
6865 * src/supplicant-manager/nm-supplicant-config.c
6866 - (nm_supplicant_config_add_setting_wireless_security): private key
6867 passwords are never sent to wpa_supplicant, because the supplicant
6868 should never be reading random files from the disk. Clients like
6869 the applet are required to decrypt the private keys and send NM
6870 the decrypted blobs.
6872 2007-11-08 Dan Williams <dcbw@redhat.com>
6874 * libnm-util/nm-setting-wireless-security.h
6875 libnm-util/nm-setting-wireless-security.c
6876 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6877 members to 802-11-wireless-security structure. This should be used
6878 to indicate that the values in private-key and phase2-private-key
6879 are already decrypted by the user agent, and that no
6880 private-key-passwd or phase2-private-key-passwd should be expected.
6881 It is not meant to be a stored configuration value, but meant to
6882 be set when the conneciton is sent to NM over dbus.
6884 2007-11-08 Dan Williams <dcbw@redhat.com>
6886 * libnm-util/nm-connection.h
6887 libnm-util/nm-connection.c
6888 - (nm_connection_need_secrets): add argument to return hints
6890 * src/nm-device-802-11-wireless.c
6891 - (link_timeout_cb, supplicant_connection_timeout_cb,
6892 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6893 nm_connection_need_secrets() change
6895 2007-11-07 Tambet Ingo <tambet@gmail.com>
6897 Rework NMSetting structures: Move each setting to it's own file.
6898 Convert to GObject. Remove home grown setting types and use GTypes.
6899 Use GObject property introspection for hash conversion, enumerating
6902 * libnm-util/nm-setting-connection.[ch]
6903 * libnm-util/nm-setting-ip4-config.[ch]
6904 * libnm-util/nm-setting-ppp.[ch]
6905 * libnm-util/nm-setting-vpn.[ch]
6906 * libnm-util/nm-setting-vpn-properties.[ch]
6907 * libnm-util/nm-setting-wired.[ch]
6908 * libnm-util/nm-setting-wireless.[ch]
6909 * libnm-util/nm-setting-wireless-security.[ch]
6911 New files, each containing a setting.
6913 * libnm-util/nm-setting-template.[ch]: A template for creating new
6914 settings. To use it, just replace 'template' with the new setting
6915 name, and you're half-way done.
6917 * libnm-util/nm-setting.c: Convert to GObject and use GObject
6918 introspection instead of internal types and tables.
6920 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6922 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6923 GValue types defined by dbus-glib for composed types like collections,
6924 structures and maps.
6926 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6927 a setting from connection takes the setting type now. Also, since
6928 the settings are in multiple files, include relevant settings.
6930 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
6933 * src/backends/NetworkManagerGentoo.c:
6934 (nm_system_restart_mdns_responder): Implement restarts for other mdns
6935 providers in Gentoo.
6937 2007-10-31 Dan Williams <dcbw@redhat.com>
6939 * libnm-util/nm-connection.c
6940 - (gvalue_to_string): handle UINT32 arrays
6942 2007-10-31 Dan Williams <dcbw@redhat.com>
6944 * libnm-glib/nm-device.h
6945 libnm-glib/nm-device.c
6946 - (nm_device_get_description): remove
6947 - (nm_device_get_product, nm_device_get_vendor): add
6948 - (nm_device_update_description): new function (private); walk HAL
6949 devices to get product and vendor IDs for a specific device
6951 2007-10-31 Dan Williams <dcbw@redhat.com>
6953 * src/nm-device-802-11-wireless.c
6954 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6956 2007-10-29 Dan Williams <dcbw@redhat.com>
6958 * src/nm-hal-manager.c
6959 - (device_added, device_new_capability): ignore device additions while
6960 asleep. Fixes crash caused when NM goes to sleep, a network device
6961 kernel module is unloaded and reloaded and recognized by NM again.
6963 2007-10-26 Dan Williams <dcbw@redhat.com>
6965 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6967 * src/NetworkManagerAP.c
6968 src/NetworkManagerAP.h
6969 libnm-glib/nm-access-point.c
6970 libnm-glib/nm-access-point.h
6971 - Make 'rate' property a guint32 to better match with WEXT and
6972 wpa_supplicant and to allow representation of higher bitrates
6974 * src/nm-device-802-11-wireless.c
6975 introspection/nm-device-802-11-wireless.xml
6976 libnm-glib/nm-device-802-11-wireless.c
6977 libnm-glib/nm-device-802-11-wireless.h
6978 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6980 * src/nm-device-802-3-ethernet.c
6981 src/nm-device-802-3-ethernet.h
6982 introspection/nm-device-802-3-ethernet.xml
6983 libnm-glib/nm-device-802-3-ethernet.c
6984 libnm-glib/nm-device-802-3-ethernet.h
6985 - Make 'speed' property a guint32 to match other speed/rate types
6986 - Make nm_device_802_3_ethernet_get_speed() static
6989 - Update for the changes above
6991 2007-10-26 Dan Williams <dcbw@redhat.com>
6993 * src/named-manager/nm-named-manager.c
6994 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6995 not calling fclose() twice on some error conditions
6997 2007-10-26 Dan Williams <dcbw@redhat.com>
6999 * src/nm-activation-request.c
7000 - (dispose): clean up indentation; get the right DBusGProxy object to
7001 cancel the GetSecrets pending call on. Need to use the Secrets
7002 proxy, not the regular connection proxy. Otherwise the GetSecrets
7003 pending call doesn't get canceled, and pressing Cancel in the
7004 applet's password dialog could cause get_secrets_cb() to be called
7005 after the activation request has already been destroyed
7007 2007-10-24 Dan Williams <dcbw@redhat.com>
7009 * src/supplicant-manager/nm-supplicant-config.c
7010 - (nm_supplicant_config_add_blob): pass blob data and length for
7012 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7014 2007-10-24 Dan Williams <dcbw@redhat.com>
7016 * src/supplicant-manager/nm-supplicant-settings-verify.c
7017 - (opt_table): max length for certificates should be 65536
7019 2007-10-24 Dan Williams <dcbw@redhat.com>
7021 * src/supplicant-manager/nm-supplicant-interface.c
7022 - (blob_free): correctly free blob data after use
7023 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7025 2007-10-24 Dan Williams <dcbw@redhat.com>
7027 * libnm-util/nm-setting.c
7028 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7029 EAP method need secrets
7031 2007-10-24 Dan Williams <dcbw@redhat.com>
7033 * src/backends/NetworkManagerRedHat.c
7034 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7036 2007-10-23 Dan Williams <dcbw@redhat.com>
7038 * libnm-util/nm-setting.c
7039 libnm-util/nm-setting.c
7040 - (nm_setting_compare): implement
7041 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7042 compare_one_hash_gvalue): compare the contents of a setting
7044 * libnm-util/nm-connection.c
7045 - (nm_connection_compare): implement
7047 2007-10-23 Dan Williams <dcbw@redhat.com>
7049 * src/nm-activation-request.c
7050 - (get_secrets_cb): handle getting a setting back that is more than
7051 just secrets (ie, user changed auth or EAP method or something)
7053 2007-10-23 Dan Williams <dcbw@redhat.com>
7055 * libnm-util/nm-setting.c
7056 libnm-util/nm-setting.h
7057 - (nm_setting_verify): new function; verify one setting
7058 - (nm_settings_verify_all): rename from nm_settings_verify()
7059 - (setting_connection_verify, setting_wireless_verify): allow NULL
7062 * libnm-util/nm-connection.c
7063 - (nm_connection_replace_settings, nm_connection_verify,
7064 nm_connection_new_from_hash): handle nm_settings_verify() rename
7066 2007-10-23 Dan Williams <dcbw@redhat.com>
7068 * src/nm-device-802-11-wireless.c
7069 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7072 2007-10-23 Dan Williams <dcbw@redhat.com>
7074 * src/supplicant-manager/nm-supplicant-settings-verify.c
7075 - eap_allowed, phase2_allowed: harmonize with allowed values from
7078 2007-10-23 Dan Williams <dcbw@redhat.com>
7080 * src/nm-device-802-11-wireless.c
7081 - (real_act_stage2_config): after the first association failure,
7082 if the connection still needs secrets ask the user for them
7083 explicitly. After the fourth association failure due to bad
7084 secrets, fail the connection entirely. Handles the GetSecrets
7085 loop that NM gets into when the provided secrets don't match up
7086 with the connection details.
7088 2007-10-23 Dan Williams <dcbw@redhat.com>
7090 * src/supplicant-manager/nm-supplicant-config.c
7091 - (nm_supplicant_config_add_setting_wireless_security): only add
7092 WPA-specific options when WPA is in use
7094 2007-10-23 Dan Williams <dcbw@redhat.com>
7096 * src/supplicant-manager/nm-supplicant-config.c
7097 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7098 secret doesn't need to be unhexified
7100 2007-10-23 Dan Williams <dcbw@redhat.com>
7102 * libnm-util/nm-setting.c
7103 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7104 before trying to do something with it
7106 2007-10-23 Dan Williams <dcbw@redhat.com>
7108 * src/nm-device-802-11-wireless.c
7109 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7111 2007-10-23 Dan Williams <dcbw@redhat.com>
7113 * src/nm-device-802-11-wireless.c
7114 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7115 non-SSID-broadcasting APs
7117 2007-10-23 Dan Williams <dcbw@redhat.com>
7119 * src/NetworkManagerAP.c
7120 - (match_cipher, security_compatible): remove
7121 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7124 2007-10-23 Dan Williams <dcbw@redhat.com>
7126 * libnm-util/nm-utils.c
7127 libnm-util/nm-utils.h
7128 - (nm_utils_ap_security_compatible): common function for checking
7129 whether a specific AP is compatible with an NMConnection
7131 2007-10-23 Dan Williams <dcbw@redhat.com>
7133 * libnm-util/nm-setting.c
7134 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7135 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7136 need_secrets_password, setting_wireless_security_verify): fix
7137 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7138 secrets logic for each supported EAP method
7140 2007-10-23 Dan Williams <dcbw@redhat.com>
7142 * src/supplicant-manager/nm-supplicant-config.c
7143 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7144 config option name, should be "private_key2_passwd"
7146 2007-10-22 Tambet Ingo <tambet@gmail.com>
7148 Implement support for static IP addresses, additional/overridden DNS and
7149 DNS domain search lists.
7151 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7152 (ip4_addresses_to_gvalue): Implement.
7153 (convert_array_to_byte_array): Implement.
7154 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7155 NM_S_TYPE_IP4_ADDRESSES.
7156 (nm_setting_hash): Ditto.
7157 (default_setting_clear_secrets): Add a default case for the switch: IP address
7158 shouldn't be secret, ever.
7159 (setting_ip4_config_verify): Update, requires addresses in case of manual
7161 (setting_ip4_config_destroy): Free stuff.
7163 * src/nm-device.c (merge_ip4_config): Implement.
7164 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7166 2007-10-22 Dan Williams <dcbw@redhat.com>
7168 * libnm-util/nm-setting.c
7169 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7170 pairwise cipher options for Dynamic WEP
7172 2007-10-21 Dan Williams <dcbw@redhat.com>
7174 * src/NetworkManagerAP.c
7175 src/NetworkManagerAP.h
7176 - Rename 'articifical' -> 'fake' since that's what they are until
7178 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7179 from the attributes in an NMConnection object
7180 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7182 - (nm_ap_match_in_list): find a matching AP in a scan list
7184 * src/nm-device-802-11-wireless.c
7185 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7186 AP when searching the scan list; match on frequency and mode too
7187 - (nm_device_802_11_wireless_get_frequency): implement
7188 - (merge_scanned_ap): replace duplicate matching logic with
7189 nm_ap_match_in_list()
7190 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7191 the user is trying to connect to a hidden network that is not yet
7192 known from the scan list
7193 - (activation_success_handler): now that the card knows the AP's BSSID,
7194 there may already be a scanned AP in the scan list that is what
7195 we really wanted to connect to, but didn't know at the time. Use
7196 that instead of the 'fake' AP created at activation start and get
7197 rid of the 'fake' AP
7198 - (cull_scan_list): don't remove fake APs
7200 2007-10-21 Dan Williams <dcbw@redhat.com>
7202 * src/nm-activation-request.h
7203 src/nm-activation-request.c
7204 - (nm_act_request_set_specific_object): new function; allow setting the
7205 specific object if one isn't set yet
7207 2007-10-20 Dan Williams <dcbw@redhat.com>
7209 * src/supplicant-manager/nm-supplicant-config.h
7210 src/supplicant-manager/nm-supplicant-config.c
7211 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7212 table to store blobs
7213 - (nm_supplicant_config_add_blob): new function; add blob to internal
7215 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7216 - (nm_supplicant_config_add_setting_wireless_security): handle
7217 options that use certificates (ie, blobs)
7219 * src/nm-device-802-11-wireless.c
7220 - (build_supplicant_config): pass a UID (just use the connection path)
7221 to the supplicant config as now required
7223 * src/supplicant-manager/nm-supplicant-interface.c
7224 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7225 there are any blobs to send to wpa_supplicant, send those first
7226 before sending the network configuration
7228 2007-10-19 Dan Williams <dcbw@redhat.com>
7230 Split the GetSecrets() call off to a separate D-Bus interface so that it
7231 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
7232 should be able to call GetSecrets().
7234 * include/NetworkManager.h
7235 - Define the connection secrets D-Bus interface
7237 * src/vpn-manager/nm-vpn-connection.c
7238 - (clear_need_auth): get the right proxy object for the connection
7240 - (get_connection_secrets): use the connection secrets proxy; send
7241 empty hints in get secrets request
7243 * src/nm-activation-request.c
7244 - (nm_act_request_request_connection_secrets): use the connection
7245 secrets proxy; send empty hints in get secrets request
7249 - (connection_get_settings_cb): set the connection secrets proxy on
7250 the connection object too
7251 - (internal_new_connection_cb): create the connection secrets proxy
7253 * introspection/nm-settings-connection.xml
7254 - Define Connection.Secrets interface and move GetSecrets there
7255 - Add a 'hints' argument to GetSecrets
7257 * libnm-glib/nm-settings.c
7258 libnm-glib/nm-settings.h
7259 - (impl_connection_settings_get_secrets): add 'hints' argument
7261 2007-10-19 Dan Williams <dcbw@redhat.com>
7264 - (constructor): add message about what path a device is exported as
7265 to help in debugging rh #339011
7267 2007-10-17 Dan Williams <dcbw@redhat.com>
7269 * libnm-util/nm-utils.h
7270 libnm-util/nm-utils.c
7271 - (nm_utils_security_valid): common function to help find the intersection
7272 of capabilities of devices and (optionally) access points
7274 2007-10-17 Dan Williams <dcbw@redhat.com>
7276 * src/nm-device-802-11-wireless.c
7277 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7278 don't get erroneously cleared
7280 2007-10-17 Dan Williams <dcbw@redhat.com>
7284 src/nm-hal-manager.c
7285 - (device_removed, finalize, nm_manager_remove_device,
7286 nm_manager_sleep): add a 'deactivate' argument to
7287 nm_manager_remove_device() to fully deactivate devices when necessary
7288 (ie, always except when waking up)
7290 2007-10-16 Dan Williams <dcbw@redhat.com>
7292 * libnm-util/nm-setting.c
7293 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7294 also isn't valid phase2 autheap method
7296 2007-10-16 Dan Williams <dcbw@redhat.com>
7298 * libnm-glib/nm-client.c
7299 - (update_wireless_status): consolidate updates of wireless status
7300 - (constructor): use update_wireless_status()
7301 - (manager_running): set wireless status off when NM goes away; requery
7302 the wireless status when NM comes back
7304 2007-10-16 Dan Williams <dcbw@redhat.com>
7306 * libnm-glib/nm-client.c
7307 - (nm_client_activate_device): actually use the fixed-up specific
7310 2007-10-16 Dan Williams <dcbw@redhat.com>
7312 * src/nm-hal-manager.c
7313 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7314 killswitch error messages once
7316 2007-10-16 Dan Williams <dcbw@redhat.com>
7319 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7320 if it's disabled in hardware; don't touch network devices while
7323 2007-10-16 Dan Williams <dcbw@redhat.com>
7325 * libnm-util/nm-client.c
7326 - (nm_client_activate_device): convert NULL specific_object to "/",
7327 which is used in place of NULL
7330 - (impl_manager_activate_device): convert "/" specific_object back into
7333 2007-10-16 Tambet Ingo <tambet@gmail.com>
7335 Implement a generic NMSetting creator from setting name.
7336 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7337 add a virtual function 'populate_fn'.
7339 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7340 (register_default_creators): Register setting creators instead of functions
7341 that create and then populate.
7342 (parse_one_setting): Use the common setting creator and then setting specific
7343 poplulation function.
7345 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7346 they all looked exactly the same.
7347 Add a 'populate_fn' virtual function to NMSetting.
7348 Use default virtual functions in case they are not overriden.
7349 (nm_setting_populate_from_hash): Implement.
7351 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7352 name, use a defined string.
7353 (real_act_stage4_get_ip4_config): Ditto.
7355 2007-10-16 Tambet Ingo <tambet@gmail.com>
7357 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7358 HAL is int, not uint.
7360 2007-10-15 Tambet Ingo <tambet@gmail.com>
7362 Implement killswitch polling through HAL.
7364 * src/nm-manager.c: Add wireless hardware status property. Add
7365 'properties-changed' signal for changes in wireless and wireless hardware
7368 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7369 and update NMManager's wireless hardware state when it has changed.
7370 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7373 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7374 values of wireless state and wireless hardware state. Listen for the
7375 'properties-changed' signals, update the cached values and emit notify.
7377 * include/NetworkManager.h: Fix a typo in a comment.
7379 2007-10-14 Dan Williams <dcbw@redhat.com>
7381 * libnm-util/nm-setting.c
7382 - (setting_wireless_security_need_secrets): handle LEAP secrets
7384 2007-10-13 Dan Williams <dcbw@redhat.com>
7386 * libnm-util/nm-setting.h
7387 libnm-util/nm-setting.c
7388 src/supplicant-manager/nm-supplicant-config.c
7389 - Make the 'proto' field of the 802-11-wireless-security field a
7392 2007-10-12 Tambet Ingo <tambet@gmail.com>
7394 Rework the "properties-changed" signal listening implementation.
7395 Add a generic implementation to NMObject class that listens for
7396 the signal and calls property setters of the target NMObject.
7398 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7400 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7401 code to the end of file so that all the static functions are available
7402 without extra declarations.
7403 Remove the "properties-changed" signal handling and use the framework from
7405 Implement property setters for properties that change with
7406 "properties-changed" signal.
7408 * libnm-glib/nm-access-point.c: Ditto.
7410 2007-10-12 Tambet Ingo <tambet@gmail.com>
7412 Rework the "properties-changed" signal implementation.
7413 In classes that need to use it, just emit "GObject::notify" and the new
7414 framework takes care of the rest to make the signal available on dbus.
7415 The framework queues the notifications and tries to send as many together
7416 in one signal as possible.
7418 * src/nm-properties-changed-signal.c:
7419 * src/nm-properties-changed-signal.h: Implement.
7421 * src/Makefile.am: Add new files to build.
7423 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7426 * src/nm-device-802-11-wireless.c: Ditto.
7428 2007-10-10 Dan Williams <dcbw@redhat.com>
7431 - (wait_for_connection_expired): ensure info is valid
7432 - (connection_added_default_handler): Should only remove pending
7433 connection info when the manager has the connection that it's
7434 waiting for. Fixes segfault in wait_for_connection_info().
7436 2007-10-10 Dan Williams <dcbw@redhat.com>
7438 * libnm-util/nm-setting.c
7439 libnm-util/nm-setting.h
7440 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7441 can use if they choose. Should be filled in by the settings service
7442 on-the-fly with the currently logged in user's username
7444 2007-10-10 Dan Williams <dcbw@redhat.com>
7446 * src/nm-device-802-11-wireless.c
7447 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7448 as such, because even if the manager fills in the SSID, NM still
7449 has to indicate to wpa_supplicant that the AP isn't broadcasting
7452 2007-10-10 Tambet Ingo <tambet@gmail.com>
7454 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7455 code that used NM's own version of dbus signal handling and custom dictionary
7456 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7457 and we get to maintain over 2000 lines less code.
7459 * libnm-util/dbus-dict-helpers.c:
7460 * libnm-util/dbus-dict-helpers.h: Remove.
7462 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7464 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7466 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7469 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7471 * configure.in: Remove test/libnm-util/Makefile creation.
7473 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7475 * test/libnm-util/: Remove the whole directory.
7477 2007-10-10 Tambet Ingo <tambet@gmail.com>
7479 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7480 device_state_changed_idle_id variable or it would contain some random value and the
7481 schedule_change_check calls would not do anything.
7483 2007-10-09 Dan Williams <dcbw@redhat.com>
7485 * src/nm-device-802-11-wireless.c
7486 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7487 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7488 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7489 merging of non-SSID-broadcasting APs
7491 2007-10-09 Tambet Ingo <tambet@gmail.com>
7493 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7494 "guint8 *" since it's usually used with GByteArray->data.
7495 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7497 2007-10-09 Tambet Ingo <tambet@gmail.com>
7499 * src/NetworkManagerUtils.c
7500 (nm_utils_is_empty_ssid):
7501 (nm_utils_escape_ssid):
7502 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7503 lot of places, so they belong to libnm-utils instead.
7505 Now with 100% less compiler warnings:
7507 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7508 (nm_dbus_unescape_object_path): Ditto.
7509 (nm_utils_ssid_to_utf8): Ditto.
7510 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7511 (nm_utils_escape_ssid): Ditto.
7512 (nm_utils_same_ssid): Ditto.
7514 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7515 (add_one_connection_element): Remove an unused variable.
7516 (impl_manager_get_active_connections): Ditto.
7518 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7521 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7522 from the previous commit.
7524 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7525 (real_act_stage1_prepare): Ditto.
7526 (activation_success_handler): Ditto.
7527 (get_property): Ditto.
7529 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7532 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7535 * src/supplicant-manager/nm-supplicant-config.c
7536 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7537 to expected "char *".
7538 (nm_supplicant_config_add_setting_wireless): Ditto.
7539 (nm_supplicant_config_remove_option): Remove, not used.
7541 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7543 (test_wireless_enabled): Ifdef out unused function.
7544 (device_deactivate): Ditto.
7545 (device_state_changed): Ditto.
7546 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7547 (nm_utils_escape_ssid): Ditto.
7549 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7550 (nm_utils_is_empty_ssid): Ditto.
7552 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7555 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7556 (setting_vpn_properties_update_secrets): Ditto.
7557 (int_to_gvalue): Ifdef out for now, not used.
7558 (byte_to_gvalue): Ditto.
7560 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
7563 2007-10-08 Tambet Ingo <tambet@gmail.com>
7565 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7566 about dbus manager, not named manager.
7567 Make sure hal_manager and dbus_mgr are created before trying to unreference.
7569 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7570 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7571 However, the same signal is emitted when we destroy it and there's
7572 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7574 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7575 releasing the DBusGConnection, since proxy needs a conneciton.
7576 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7578 2007-10-08 Dan Williams <dcbw@redhat.com>
7580 * src/NetworkManager.c
7581 - (main): error on unknown command-line options
7583 2007-10-08 Dan Williams <dcbw@redhat.com>
7585 Reimplement the invalid connection list. Don't try to re-activate a
7586 connection that just failed or was canceled.
7589 - (connection_secrets_failed_cb): fail device activation, don't just
7590 deactivate the device. Listeners have to know about the failure.
7592 * src/NetworkManagerPolicy.c
7593 - (nm_policy_auto_get_best_device): exclude invalid connections from
7594 the connection list given to a device's get_best_connection()
7596 - (device_state_changed): tag failed connections as invalid; clear the
7597 tag from successful connections
7599 2007-10-08 Dan Williams <dcbw@redhat.com>
7601 Fix problems with interrupted activation. Previously, choosing an AP
7602 from the menu, then choosing another one before the first connection was
7603 successful wouldn't deactivate the device before starting the new connection
7604 on that same device.
7606 * src/NetworkManagerPolicy.c
7607 - (deactivate_old_device, device_state_changed, state_changed,
7608 nm_policy_new): wrong place to deactivate old devices
7611 - (pending_connection_info_destroy, finalize,
7612 wait_for_connection_expired): decouple destruction of the pending
7613 connection info from the manager device
7614 - (connection_added_default_handler): deactivate any active or
7615 activating device before starting a new activation
7616 - (impl_manager_activate_device): deactivate any active or activating
7617 device before starting a new activation; be sure not to leak
7618 pending connection info if a new activation request arrives but
7619 there's already a pending one in-process
7621 2007-10-08 Dan Williams <dcbw@redhat.com>
7623 * src/NetworkManagerAP.h
7624 src/NetworkManagerAP.c
7625 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
7626 should handle default SSIDs and whether or not to autoconnect
7629 2007-10-08 Dan Williams <dcbw@redhat.com>
7631 * src/NetworkManagerPolicy.c
7632 - (nm_policy_device_change_check): print out connection name where
7635 2007-10-08 Dan Williams <dcbw@redhat.com>
7637 * src/nm-device-802-11-wireless.c
7638 src/nm-device-802-11-wireless.h
7639 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7640 'hidden-ap-found' signal (for internal use only) that allows the
7641 NMManager to fill in the AP's SSID if a connection has that AP's
7642 BSSID in its seen-bssids list
7645 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7646 wireless device's hidden-ap-found signal and fill in the APs SSID
7649 2007-10-07 Dan Williams <dcbw@redhat.com>
7653 - Add a 'connections-added' signal to batch together updates of large
7654 numbers of connections, like when reading from a settings service
7655 the first time. Otherwise, the policy would just activate the first
7656 suitable connection it saw rather than waiting for the full list
7658 - (nm_manager_class_init): register new signal
7659 - (get_type_for_proxy, connection_get_settings_cb,
7660 get_connection_for_proxy): centralize places where a proxy's setting
7661 service is determined
7662 - (free_get_settings_info): if the call being freed is the last call
7663 in a pending call group, fire off the connections-added signal
7664 - (internal_new_connection_cb): add call to a pending call group if
7666 - (list_connections_cb): always create a call group here, because this
7667 call results in a batch of new connections
7668 - (initial_get_connections): start getting system connections first
7669 - (nm_manager_connections_destroy, emit_removed): actually emit the
7670 removed signal when destroying connections
7672 * src/NetworkManagerPolicy.c
7673 - (nm_policy_new, connections_added): handle connections-added signal
7676 2007-10-06 Dan Williams <dcbw@redhat.com>
7678 * src/nm-device-802-11-wireless.c
7679 - (constructor): fix leaked socket
7681 2007-10-06 Dan Williams <dcbw@redhat.com>
7683 * src/NetworkManagerPolicy.c
7684 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
7685 connection in the list returned by nm_manager_get_connections() is
7686 reffed, but they weren't getting unreffed before returning
7688 2007-10-06 Dan Williams <dcbw@redhat.com>
7691 - (connections_to_slist): sort connections first on autoconnect, then
7694 2007-10-06 Dan Williams <dcbw@redhat.com>
7696 * libnm-util/nm-connection.c
7697 - (gvalue_to_string): handle UINT64
7699 2007-10-06 Dan Williams <dcbw@redhat.com>
7701 * src/NetworkManagerPolicy.c
7702 - (connection_updated, nm_policy_new): recheck state when a connection
7705 2007-10-06 Dan Williams <dcbw@redhat.com>
7709 - (nm_manager_get_connection_dbus_path): make static
7710 - (nm_manager_update_connections): remove; unused
7711 - Add a connection-updated signal
7712 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7713 handle connection object updates
7715 2007-10-06 Dan Williams <dcbw@redhat.com>
7717 * src/NetworkManagerPolicy.c
7718 - (connection_removed): deactivate removed connections
7720 2007-10-06 Dan Williams <dcbw@redhat.com>
7722 * libnm-util/nm-connection.c
7723 libnm-util/nm-connection.h
7724 - (nm_connection_replace_settings): new function
7726 2007-10-06 Dan Williams <dcbw@redhat.com>
7728 * libnm-glib/nm-device-802-11-wireless.c
7729 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7730 on error when getting the active access point over D-Bus from NM
7732 2007-10-05 Dan Williams <dcbw@redhat.com>
7734 * libnm-util/nm-setting.c
7735 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7736 to the NMSettingWireless table; it's now a string array not an array
7739 2007-10-05 Dan Williams <dcbw@redhat.com>
7741 * libnm-glib/nm-device-802-11-wireless.c
7742 - Cache properties and update cached properties on D-Bus signals from NM
7744 2007-10-05 Dan Williams <dcbw@redhat.com>
7746 * src/nm-device-802-11-wireless.c
7747 - (set_current_ap): consolidate current_ap handling code into one place
7748 to ensure that PropertiesChanged signals are emitted in all cases
7749 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7750 nm_device_802_11_wireless_dispose): use set_current_ap()
7752 2007-10-05 Dan Williams <dcbw@redhat.com>
7754 * libnm-glib/nm-access-point.c
7755 libnm-glib/nm-access-point.h
7756 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7757 because the value is cached internally now. Callers should not
7758 free the internal value.
7759 - Make signal name defines private
7762 libnm-glib/libnm-glib-test.c
7763 - Don't free value returned from nm_access_point_get_hw_address()
7765 2007-10-04 Dan Williams <dcbw@redhat.com>
7767 * introspection/nm-device-802-11-wireless.xml
7768 src/nm-device-802-11-wireless.h
7769 src/nm-device-802-11-wireless.c
7770 - Add a PropertiesChanged signal for wireless device
7771 - Store currently associated access point
7772 - (periodic_update): generalize; update rate here too and emit the
7773 correct PropertiesChanged signal when stuff changes
7774 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7775 real_activation_cancel_handler): clear current_ap when device is
7777 - (link_to_specific_ap, get_ap_blacklisted,
7778 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7780 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7782 - (real_set_hw_address): emit property changed signal if the card's
7784 - (real_act_stage1_prepare): set the initial current_ap to the AP
7785 the card is supposed to be connecting to
7786 - (activation_success_handler): send out property updates on successful
7788 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7789 for ACTIVE_ACCESS_POINT property because sometimes there won't be
7790 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7791 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7792 is now boxed; add PropertiesChanged signal
7794 2007-10-04 Dan Williams <dcbw@redhat.com>
7796 * libnm-util/nm-connection.c
7797 libnm-util/nm-connection.h
7798 - (nm_connection_verify): new function
7800 2007-10-04 Dan Williams <dcbw@redhat.com>
7802 * libnm-util/nm-setting.c
7803 - (nm_settings_verify): use #defines when possible rather than strings
7804 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7805 - (setting_vpn_verify): tighter validity check on 'service_type'
7807 2007-10-04 Dan Williams <dcbw@redhat.com>
7809 * libnm-glib/nm-settings.c
7810 - (nm_connection_settings_class_init): provide correct type for argument
7811 to the Updated signal so that dbus-glib knows how to marshal it
7813 2007-10-03 Dan Williams <dcbw@redhat.com>
7815 * src/nm-device-802-3-ethernet.c
7816 - (real_get_best_connection): don't create automatic connections
7817 internally; clients should provide a setting that applies to
7818 the device with 'autoconnect: True'. Problem was that these
7819 internally auto-created connections don't have a proxy or service
7820 name becuase they weren't created by a settings daemon, and therefore
7821 clients have no idea what to do with them.
7823 2007-10-03 Dan Williams <dcbw@redhat.com>
7825 * src/nm-device-802-11-wireless.c
7826 src/nm-device-802-11-wireless.h
7827 introspection/nm-device-802-11-wireless.xml
7828 - GetActiveNetworks -> GetAccessPoints
7829 - ActiveNetwork -> ActiveAccessPoint
7830 - NetworkAdded -> AccessPointAdded
7831 - NetowrkRemoved -> AccessPointRemoved
7833 * libnm-glib/nm-device-802-11-wireless.c
7834 libnm-glib/nm-device-802-11-wireless.h
7835 - network-added signal -> access-point-added
7836 - network-removed signal -> access-point-removed
7837 - nm_device_802_11_wireless_get_active_network() ->
7838 nm_device_802_11_wireless_get_active_access_point()
7839 - nm_device_802_11_wireless_get_network_by_path() ->
7840 nm_device_802_11_wireless_get_access_point_by_path()
7841 - nm_device_802_11_wireless_get_networks() ->
7842 nm_device_802_11_wireless_get_access_points()
7844 * libnm-glib/libnm-glib-test.c
7846 src/NetworkManagerPolicy.c
7847 - Fixups for Network -> AccessPoint
7849 2007-10-03 Dan Williams <dcbw@redhat.com>
7851 Add a GetActiveConnections() method on the Manager object.
7855 introspection/nm-manager.xml
7856 - (connection_get_settings_cb): keep connection type around too
7857 - (impl_manager_get_active_connections, add_one_connection_element):
7858 implement; returns all active connections and what devices they
7861 * libnm-glib/nm-client.c
7862 libnm-glib/nm-client.h
7863 introspection/nm-manager-client.xml
7864 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7865 by the caller; free here to avoid memory leak
7866 - (nm_client_get_active_connections): implement; return the list of
7868 - (nm_client_free_active_connection_element): implement; free an element
7869 of the GSList returned by nm_client_get_active_connections()
7871 2007-10-03 Dan Williams <dcbw@redhat.com>
7873 * src/nm-device-802-11-wireless.c
7874 - (nm_device_802_11_wireless_update_bssid): remove
7875 - (get_active_ap): new function; find the AP in the scan list which
7876 matches the current BSSID and SSID of the wireless device
7877 - (nm_device_802_11_periodic_update): get current AP using
7878 get_active_ap() and print AP roam messages
7880 2007-10-01 Dan Williams <dcbw@redhat.com>
7882 * libnm-util/nm-setting.h
7883 - Add a 'timestamp' option to NMSettingConnection
7886 * libnm-util/nm-setting.c
7887 - (uint64_to_gvalue): new function
7888 - (nm_setting_populate_from_hash, nm_setting_hash,
7889 default_setting_clear_secrets): handle UINT64 type
7890 - con_table: add 'timestamp' member
7892 2007-10-01 Dan Williams <dcbw@redhat.com>
7895 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7896 value when the connection can be activated immediately
7898 2007-10-01 Dan Williams <dcbw@redhat.com>
7900 * libnm-glib/nm-device.c
7901 - (nm_device_class_init): actually tell glib about the carrier-changed
7904 2007-10-01 Dan Williams <dcbw@redhat.com>
7907 src/marshallers/Makefile.am
7908 src/marshallers/nm-marshal.list
7909 src/marshallers/nm-marshal-main.c
7910 - Consolidate glib marshallers into one place
7912 * src/dhcp-manager/Makefile.am
7913 src/dhcp-manager/nm-dhcp-manager.c
7914 src/supplicant-manager/Makefile.am
7915 src/supplicant-manager/nm-supplicant-manager.c
7916 src/supplicant-manager/nm-supplicant-interface.c
7917 src/ppp-manager/Makefile.am
7918 src/ppp-manager/nm-ppp-manager.c
7919 src/vpn-manager/Makefile.am
7920 src/vpn-manager/nm-vpn-connection.c
7922 - Use consolidated marshallers
7924 * src/dhcp-manager/nm-dhcp-marshal.list
7925 src/dhcp-manager/nm-dhcp-marshal-main.c
7926 src/supplicant-manager/nm-supplicant-marshal-main.c
7927 src/supplicant-manager/nm-supplicant-marshal.list
7928 src/nm-marshal-main.c
7930 src/ppp-manager/nm-ppp-marshal-main.c
7931 src/ppp-manager/nm-ppp-marshal.list
7932 src/vpn-manager/nm-vpn-marshal-main.c
7933 src/vpn-manager/nm-vpn-marshal.list
7936 2007-10-01 Dan Williams <dcbw@redhat.com>
7938 * include/NetworkManagerVPN.h
7939 - define VPN connection state change reason codes
7941 * src/vpn-manager/Makefile.am
7942 src/vpn-manager/nm-vpn-marshal.list
7943 src/vpn-manager/nm-vpn-marshal-main.c
7944 - Add marshallers for StateChanged signal
7946 * introspection/nm-vpn-connection.xml
7947 - New Banner property
7948 - StateChanged signal now includes a 'reason' argument
7950 * src/vpn-manager/nm-vpn-connection.c
7951 src/vpn-manager/nm-vpn-connection.h
7952 - Add a "Banner" property that contains the returned VPN server login
7953 banner (if any); valid only in the ACTIVATED state
7954 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7955 a 'reason' argument and emits that reason along with the
7956 state-changed signal
7957 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7958 - (nm_vpn_connection_ip4_config_get): save banner for later
7959 - (nm_vpn_connection_get_banner, get_property,
7960 nm_vpn_connection_class_init): implement Banner property
7962 * src/vpn-manager/nm-vpn-service.c
7963 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7964 connection list because elements may get added/removed from it
7965 while iterating over the list
7966 - (connection_state_changed): signal now includes the 'reason' argument
7968 * libnm-glib/nm-vpn-connection.c
7969 libnm-glib/nm-vpn-connection.h
7970 - (nm_vpn_connection_get_banner): new function
7971 - (state_changed_proxy): handle reason argument
7973 2007-09-28 Tambet Ingo <tambet@gmail.com>
7977 Implement device activation through NMManager.
7978 Implement "pending device activation" here - If the connection isn't found,
7979 we try to wait for up to 5 seconds for the connection to be provided.
7980 Add NMConnectionType argument to "connection-added" and "connection-removed"
7982 (nm_manager_get): Remove. Finally.
7984 * src/nm-activation-request.c:
7985 * src/nm-activation-request.h:
7986 Remove all the deferred activation code.
7988 * src/nm-device.c: Remove all the deferred activation code. Once the device
7989 activation is started, it's started. Update the activation virtual function
7992 * src/nm-device-interface.c:
7993 * src/nm-device-interface.h:
7994 Device activation now takes only NMActRequest argument.
7995 Don't expose device activation directly on dbus, it's supposed to go through
7998 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8000 Use the new device activation methods through NMManager.
8002 * introspection/nm-manager-client.xml:
8003 * introspection/nm-manager.xml:
8004 * libnm-glib/nm-client.c:
8005 * libnm-glib/nm-client.h:
8006 Add device activation method.
8008 * libnm-glib/nm-device.c:
8009 * libnm-glib/nm-device.h:
8010 * introspection/nm-device.xml:
8011 Remove device activation method. It's done through NMManager now.
8013 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8014 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8016 2007-09-28 Dan Williams <dcbw@redhat.com>
8018 * libnm-glib/nm-vpn-connection.c
8019 - (nm_vpn_connection_get_state): try to update state if the current
8022 2007-09-27 Dan Williams <dcbw@redhat.com>
8024 Patch from Bill Nottingham
8026 * src/supplicant-manager/nm-supplicant-config.c
8027 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8028 data to the supplicant
8030 2007-09-27 Dan Williams <dcbw@redhat.com>
8032 * src/NetworkManagerSystem.c
8033 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8034 and all address manipulation here should be happening on the
8035 _VPN_ device, not the active device
8037 2007-09-26 Dan Williams <dcbw@redhat.com>
8041 src/nm-activation-request.c
8042 src/nm-activation-request.h
8043 - Move the GetSecrets stuff out of the NMManager instance because it
8044 doesn't really need to be there and complicates things
8047 - (connection_secrets_failed_cb, device_activation_go): connect to the
8048 connection-secrets-failed signal and deactivate the device if
8049 the GetSecrets call fails
8051 * src/nm-device-802-11-wireless.c
8052 - (link_timeout_cb, supplicant_connection_timeout_cb,
8053 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8054 secrets and give correct hints about whether new secrets should be
8055 asked for by the client or not
8057 2007-09-26 Dan Williams <dcbw@redhat.com>
8059 * src/vpn-manager/nm-vpn-connection.c
8060 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8061 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8062 to the secrets-updated signal of the NMConnection since updating
8063 the secrets is done within the scope of the NMVPNConnection object
8065 - (get_connection_secrets): fix an uninialized variable usage error
8067 2007-09-26 Dan Williams <dcbw@redhat.com>
8069 * libnm-util/nm-setting.c
8070 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8071 actually get updated when the user enters them
8073 2007-09-26 Dan Williams <dcbw@redhat.com>
8075 * libnm-glib/nm-vpn-plugin.c
8076 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8078 2007-09-26 Dan Williams <dcbw@redhat.com>
8080 * include/NetworkManagerVPN.h
8081 - Add a NEED_AUTH state
8083 * src/vpn-manager/nm-vpn-connection.c
8084 - Implement the NEED_AUTH state. First ask the VPN service plugin if
8085 the connection needs secrets, and if so, then ask the settings
8086 service to fill in the secrets. Then start the connection.
8088 2007-09-26 Dan Williams <dcbw@redhat.com>
8090 * src/vpn-manager/nm-vpn-manager.c
8091 - (new_vpn_error, impl_vpn_manager_connect): set errors
8093 2007-09-26 Dan Williams <dcbw@redhat.com>
8095 * introspection/nm-vpn-plugin.xml
8096 libnm-glib/nm-vpn-plugin.c
8097 libnm-glib/nm-vpn-plugin.h
8098 - (impl_vpn_plugin_need_secrets): implement a call that should return
8099 the name of the NMSetting in an NMConnection that may require
8100 secrets specific to that VPN plugin
8102 2007-09-26 Dan Williams <dcbw@redhat.com>
8106 - (nm_manager_get_connection_secrets): make static, unused outside
8108 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8110 2007-09-26 Tambet Ingo <tambet@gmail.com>
8112 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8114 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8115 unreference the connection.
8117 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8118 passing properties hash and routes string list, pass NMConnection (in hashed form).
8120 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8121 as GSList, no need to copy stuff around anymore.
8122 (nm_vpn_connection_activate): Update the plugin activation method.
8124 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8125 routes argument to GSList.
8127 2007-09-26 Tambet Ingo <tambet@gmail.com>
8129 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8130 state and try to get the secrets.
8132 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8133 connections from NMManager and let the device to choose the best from the list.
8134 Since the connection list is sorted by system ones first and user ones later,
8135 the devices still prefer system connections like they did before.
8136 (deactivate_old_device): Implement. When a device starts activation, we have a
8137 policy (for now at least) to deactivate any other device that might be either
8138 active or still activating.
8140 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8141 It's set on construction, there will be no other way to access it.
8143 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8144 device events and drive the device, not the other way around.
8146 * src/nm-device-802-3-ethernet.c: Ditto.
8148 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8149 sent along, pass it on to virtual functions.
8151 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8152 for now, but should really be public instead of nm_device_get_iface() since iface
8153 is a property of the DeviceInterface, not Device.
8154 (impl_device_activate): Don't touch NMManager!
8156 2007-09-26 Jürg Billeter <j@bitron.ch>
8158 * initscript/paldo/NetworkManager.in:
8159 * initscript/paldo/NetworkManagerDispatcher.in:
8160 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8161 (nm_system_flush_loopback_routes): update paldo backend
8163 2007-09-26 Tambet Ingo <tambet@gmail.com>
8165 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8166 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8167 which means none of the devices get brought down properly, which in turn leaves
8168 DHCP client running.
8170 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8171 (supplicant_connection_timeout_cb): Ditto.
8173 2007-09-25 Dan Williams <dcbw@redhat.com>
8176 - (device_activation_go): small hack to work around race when
8177 activating deferred connections; should solve this in a better way
8179 2007-09-25 Dan Williams <dcbw@redhat.com>
8181 * introspection/nm-device.xml
8182 libnm-glib/nm-device.c
8183 libnm-glib/nm-device.h
8184 - Add 'Carrier' property to exported NMDevice objects
8186 * src/nm-device-interface.h
8187 src/nm-device-interface.c
8189 - Add a 'carrier' property to internal NMDevice objects
8191 2007-09-25 Dan Williams <dcbw@redhat.com>
8193 * src/nm-device-802-11-wireless.c
8194 - (ap_auth_enforced): also return the encryption status of the AP so
8195 that callers can differentiate easily between unencrypted APs
8196 and encrypted ones, in addition to whether the AP has an
8198 - (link_timeout_cb, supplicant_connection_timeout_cb,
8199 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8200 previously would request secrets from unencrypted APs at times
8202 2007-09-25 Dan Williams <dcbw@redhat.com>
8205 - (nm_manager_update_state): new function; updates state and emits
8206 appropriate signals ensuring a state-change signal for the same state
8207 never gets emitted twice in a row.
8208 - (manager_device_state_changed): handle more device state to get a
8209 better picture of the overall NM state
8211 2007-09-25 Dan Williams <dcbw@redhat.com>
8213 * libnm-glib/nm-settings.c
8214 libnm-glib/nm-settings.h
8215 - (new_error -> nm_settings_new_error): make public so that subclasses
8216 can use the same error domain. Also pass a valid error code to
8217 g_error_new_literal() so that libdbus doesn't assert when converting
8218 the GError into a DBusError
8219 - (impl_settings_list_connections, impl_connection_settings_get_id,
8220 impl_connection_settings_get_settings,
8221 impl_connection_settings_get_secrets): use new error creator
8224 2007-09-25 Dan Williams <dcbw@redhat.com>
8226 * src/NetworkManager.c
8227 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8229 2007-09-25 Dan Williams <dcbw@redhat.com>
8231 * src/supplicant-manager/nm-supplicant-manager.c
8232 - (poke_supplicant_cb, nm_supplicant_manager_init,
8233 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8234 nm_supplicant_manager_startup): when the supplicant isn't running,
8235 try to start it periodically via system bus activation. Fixes
8236 a problem where if wpa_supplicant goes away, NM gets stuck waiting
8237 for the supplicant to come back
8239 2007-09-25 Dan Williams <dcbw@redhat.com>
8241 Ensure that old activation requests are forgotten about; previously
8242 hitting Cancel in the password dialog would deactivate whatever device
8243 that password was requested for, even if that wasn't the currently
8244 activating connection.
8248 - (nm_manager_get_connection_secrets): track the pending call
8249 object so it can be canceled later if needed
8250 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8251 GetSecrets call for a particular connection
8253 * src/nm-activation-request.c
8254 - (dispose): cancel any outstanding GetSecrets calls on the
8257 2007-09-25 Dan Williams <dcbw@redhat.com>
8259 * src/NetworkManagerPolicy.c
8260 - (nm_policy_device_change_check): handle devices that have a
8261 deferred activation. These devices are not really active _yet_,
8262 but need to be treated as such here. Don't interrupt them
8265 * src/nm-device-interface.c
8266 - (impl_device_activate): handle devices that have a deferred activation
8267 like activating or active devices. When multiple active devices
8268 get committed, the device shouldn't be deactivated until the
8269 connection details are available to avoid DoS and such. Currently,
8270 any active, activating, or deferred activation device is deactivated
8271 here before starting the new activation request.
8273 2007-09-25 Dan Williams <dcbw@redhat.com>
8275 Properly re-query secrets from the settings daemon when stuff fails.
8277 * src/nm-device-802-11-wireless.c
8278 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8279 between Shared Key and Open System auth modes
8280 - (link_timeout_cb, supplicant_connection_timeout_cb,
8281 real_act_stage4_ip_config_timeout): clear existing secrets and
8282 request new ones when something fails due to a suspected wrong key
8283 - (real_act_stage2_config): fix for new request_new argument to
8284 nm_manager_get_connection_secrets()
8288 - (nm_manager_get_connection_secrets): return error status; pass
8289 new request_new argument on to the settings daemon
8291 * introspection/nm-settings-connection.xml
8292 - New 'request_new' argument to the GetSecrets call that hints to the
8293 settings daemon to ask the user for completely new secrets
8295 * libnm-glib/nm-settings.c
8296 libnm-glib/nm-settings.h
8297 - (impl_connection_settings_get_secrets): handle new 'request_new'
8300 2007-09-25 Dan Williams <dcbw@redhat.com>
8302 * libnm-util/nm-connection.c
8303 libnm-util/nm-connection.h
8304 - (nm_connection_clear_secrets): new function; clear secrets out of
8305 each NMSetting in an NMConnection
8307 * libnm-util/nm-setting.h
8308 libnm-util/nm-setting.c
8309 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
8310 secrets out of an NMSetting
8311 - (nm_setting_connection_new, nm_setting_ip4_config_new,
8312 nm_setting_wired_new, nm_setting_wireless_new,
8313 nm_setting_wireless_security_new, nm_setting_ppp_new,
8314 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8315 to default handler default_setting_clear_secrets()
8317 2007-09-25 Dan Williams <dcbw@redhat.com>
8319 * src/nm-activation-request.c
8320 src/nm-activation-request.h
8321 - (nm_act_request_is_deferred): new function
8323 2007-09-24 Dan Williams <dcbw@redhat.com>
8325 * src/nm-device-802-11-wireless.c
8326 - (activation_success_handler): update signal strength immediately
8329 2007-09-24 Dan Williams <dcbw@redhat.com>
8331 * libnm-util/nm-setting.c
8332 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8334 2007-09-24 Dan Williams <dcbw@redhat.com>
8336 * src/NetworkManagerPolicy.c
8337 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8338 device by deactivating it because it doesn't have a "best connection".
8339 Since autoconnect=False connections aren't automatically chosen,
8340 NM would interrupt activation of such a connection because it
8341 would never be "best" due to autoconnect=False.
8343 2007-09-24 Dan Williams <dcbw@redhat.com>
8346 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8347 actually has some time to enter a key before the GetSecrets call
8350 2007-09-24 Dan Williams <dcbw@redhat.com>
8352 * introspection/nm-manager.xml
8354 - (impl_manager_legacy_state): fix 'state' method call return value
8356 2007-09-24 Matthias Clasen <mclasen@redhat.com>
8358 * test/Makefile.am: Install nm-tool
8360 2007-09-24 Dan Williams <dcbw@redhat.com>
8362 Patch from Ross Burton <ross@burtonini.com>
8365 callouts/nm-dhcp-client-action.c
8367 src/vpn-manager/nm-vpn-connection.c
8368 libnm-glib/libnm-glib-test.c
8371 2007-09-24 Dan Williams <dcbw@redhat.com>
8373 * libnm-util/nm-utils.h
8374 libnm-util/nm-utils.c
8375 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8378 2007-09-23 Dan Williams <dcbw@redhat.com>
8380 * vpn-daemons/vpnc/properties/nm-vpnc.c
8381 - Update for new VPN properties API bits; instead of passing around
8382 a lot of random things, everything goes into the NMConnection
8385 2007-09-23 Dan Williams <dcbw@redhat.com>
8387 * libnm-util/nm-setting.c
8388 - Correctly dispose of settings objects if creating them from a hash
8391 2007-09-23 Dan Williams <dcbw@redhat.com>
8393 * libnm-util/nm-setting.c
8394 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8395 the hash table in a standard manner. Clients of libnm-util should
8396 only call g_hash_table_remove_all(), never destroy the hash table
8399 2007-09-22 Dan Williams <dcbw@redhat.com>
8401 * src/nm-device-802-11-wireless.c
8402 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8403 real reason to do it so often, and reduces wakeups for clients.
8405 2007-09-21 Dan Williams <dcbw@redhat.com>
8407 * src/nm-device-802-11-wireless.c
8408 - (build_supplicant_config): wpa_supplicant requires the option
8409 key_mgmt=NONE for unencrypted networks
8410 - (real_act_stage2_config): clarify log message on activation
8412 2007-09-21 Dan Williams <dcbw@redhat.com>
8414 * test/nm-supplicant-test.c
8416 - Remove supplicant test binary; no longer applicable
8418 2007-09-21 Dan Williams <dcbw@redhat.com>
8420 * src/supplicant-manager/nm-supplicant-manager.c
8421 - (nm_supplicant_manager_init): poke the supplicant at startup to
8422 activate it on the system bus
8424 2007-09-20 Dan Williams <dcbw@redhat.com>
8426 * initscript/RedHat/NetworkManager.in
8427 - dhcdbd is no longer used, so don't try to start it from the initscripts
8429 2007-09-20 Dan Williams <dcbw@redhat.com>
8432 - (nm_device_is_activating): work around a race between auto-activation
8433 and the user activating the same device that is being auto-activated
8435 2007-09-20 Dan Williams <dcbw@redhat.com>
8437 * src/nm-device-interface.c
8438 - (impl_device_activate): until multiple active device support lands,
8439 ensure only one device can be active at a time
8441 2007-09-20 Dan Williams <dcbw@redhat.com>
8443 * src/supplicant-manager/nm-supplicant-config.c
8444 src/supplicant-manager/nm-supplicant-config.h
8445 - (nm_supplicant_config_add_option): hide secrets from system logs
8447 2007-09-20 Dan Williams <dcbw@redhat.com>
8449 * src/NetworkManagerPolicy.c
8450 - (nm_policy_device_change_check): re-enable the wireless device change
8451 checking code; insted of checking for SSIDs, check for the same
8454 2007-09-20 Dan Williams <dcbw@redhat.com>
8456 * src/nm-device-802-11-wireless.c
8457 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8458 composite link state when determining when to start the disconnection
8459 timer; that link state is already based on the supplicant interface's
8460 status which is exactly what's already being examined, plus the link
8461 state is a conglomeration of various things that we don't want here
8463 2007-09-20 Dan Williams <dcbw@redhat.com>
8465 * libnm-glib/nm-access-point.c
8466 - (handle_property_changed): strength is a UCHAR
8468 2007-09-20 Dan Williams <dcbw@redhat.com>
8470 * src/supplicant-manager/nm-supplicant-config.c
8471 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8472 string list keywords too since that's what wpa_supplicant wants
8474 2007-09-20 Dan Williams <dcbw@redhat.com>
8476 * libnm-util/nm-setting.c
8477 - (convert_strv_to_slist): dupe the values in the list because since
8478 the list is a boxed value, it'll get destroyed when it's container
8479 (like a hash table or whatever) gets destroyed
8481 2007-09-20 Tambet Ingo <tambet@gmail.com>
8483 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8486 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8488 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8489 just use (g_object_set_data_full).
8491 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8492 that NMSettingVPN->routes is a GSList, convert it to char **.
8493 (nm_vpn_connection_ip4_config_get): Free routes when done.
8494 (nm_vpn_connection_activate): Ditto.
8496 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8497 (real_act_stage2_config): Use defined setting names.
8499 2007-09-20 Dan Williams <dcbw@redhat.com>
8501 * src/nm-device-802-11-wireless.c
8504 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8505 so that the device can be deactivated if secrets are wrong
8507 2007-09-20 Dan Williams <dcbw@redhat.com>
8509 * introspection/nm-settings-connection.xml
8510 libnm-glib/nm-settings.c
8511 libnm-glib/nm-settings.h
8512 - Make GetSecrets asynchronous on the server side
8514 2007-09-20 Dan Williams <dcbw@redhat.com>
8518 - (nm_device_activate): actually check if a given connection
8519 exists before assuming it doesn't
8521 2007-09-20 Tambet Ingo <tambet@gmail.com>
8523 * libnm-util/nm-connection.c (register_default_creators): Use defined
8524 setting names. Register NMSettingVPN and NMSettingVPNProperties.
8526 * libnm-util/nm-setting.c: Define property name strings, use them.
8527 Implement NMSettingVPN and NMSettingVPNProperties settings.
8528 Implement NM_S_TYPE_GVALUE_HASH.
8529 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8530 (setting_connection_verify): Rename 'devtype' property to 'type'.
8532 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8535 * src/vpn-manager/nm-vpn-service.c: Ditto.
8537 * src/vpn-manager/nm-vpn-connection.c: Ditto.
8539 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8540 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8542 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8543 names. NMSettingConnection->devtype got renamed to 'type'.
8545 * src/nm-device-802-3-ethernet.c (find_best_connection):
8546 (real_get_best_connection): Ditto.
8548 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8550 * libnm-glib/nm-vpn-manager.[ch]: Update.
8552 2007-09-19 Dan Williams <dcbw@redhat.com>
8554 * src/NetworkManagerAP.c
8555 src/NetworkManagerAP.h
8556 introspection/nm-access-point.xml
8557 - Change strength-changed signal into a properties-changed signal
8558 for all properties, not just strength. Export that signal over dbus
8559 so listeners don't have to poll NM for changes.
8560 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8561 get exported over D-Bus, so break up the logic and let other bits
8562 decided when to export the AP
8563 - (nm_ap_new_from_ap): remove, unused
8565 * src/nm-device-802-11-wireless.c
8566 - (merge_scanned_ap): only export APs that are actually on the device
8567 list, not every AP created internally
8569 * libnm-glib/nm-access-point.c
8570 libnm-glib/nm-access-point.h
8571 - Cache properties internally and only hit DBus when needed. Get
8572 property updates from NM signals
8574 2007-09-16 Dan Williams <dcbw@redhat.com>
8576 * libnm-util/nm-connection.c
8577 libnm-util/nm-connection.h
8578 - (nm_connection_for_each_setting_value): new function; iterate over
8579 each setting's value and call a user-provided function with details
8582 * libnm-util/nm-setting.c
8583 libnm-util/nm-setting.h
8584 - (nm_setting_enumerate_values): new function; enumerate the values
8585 of a specific NMSetting subclass for a user-provided function with
8586 details about that value
8587 - Change wep_tx_keyidx to a uint32
8588 - Create settings value tables for each setting defining their type,
8589 key name, offset into the NMSetting subclass' structure, and whether
8590 they are required and/or a secret
8591 - (nm_setting_populate_from_hash): generic function to populate an
8592 NMSetting from a GHash table, make all settings use it
8593 - (nm_setting_hash): generic function to derive a GHashTable from
8594 an NMSetting object, make all settings use it
8596 2007-09-14 Dan Williams <dcbw@redhat.com>
8598 Remove unused stuff in libnm-util
8601 libnm-util/Makefile.am
8602 libnm-util/cipher-private.h
8603 libnm-util/cipher-wep-ascii.c
8604 libnm-util/cipher-wep-ascii.h
8605 libnm-util/cipher-wep-hex.c
8606 libnm-util/cipher-wep-hex.h
8607 libnm-util/cipher-wep-passphrase.c
8608 libnm-util/cipher-wep-passphrase.h
8609 libnm-util/cipher-wpa-psk-hex.c
8610 libnm-util/cipher-wpa-psk-hex.h
8611 libnm-util/cipher-wpa-psk-passphrase.c
8612 libnm-util/cipher-wpa-psk-passphrase.h
8615 libnm-util/dbus-helpers.c
8616 libnm-util/dbus-helpers.h
8617 libnm-util/gnome-keyring-md5.c
8618 libnm-util/gnome-keyring-md5.h
8621 src/nm-device-802-11-wireless.c
8622 test/libnm-util/Makefile.am
8623 test/libnm-util/test-ciphers.c
8624 test/libnm-util/test-dbus-helpers.c
8625 test/libnm-util/test-inputs.h
8628 2007-09-14 Dan Williams <dcbw@redhat.com>
8630 * libnm-util/dbus-method-dispatcher.c
8631 libnm-util/dbus-method-dispatcher.h
8634 2007-09-14 Dan Williams <dcbw@redhat.com>
8636 Implement deferred activation support in the device class.
8638 * src/nm-device-interface.c
8639 src/nm-device-interface.h
8640 - (nm_device_interface_activate): take more arguments to support
8641 deferred activation; callers must pass one of (connection) OR
8642 (service_name, connection_path)
8643 - (impl_device_activate): connection validation is punted to the device
8644 to be able to handle deferred activation. Yes, this means errors
8645 don't get returned from the Activate() dbus call, and yes, that
8646 should be fixed somehow later.
8650 - (clear_act_request): clear additional deferred activation stuff too
8651 - (deferred_activation_timeout_cb): new function; clean up when
8652 deferred activation times out.
8653 - (deferred_activation_start_cb): new function; when the connection
8654 finally becomes available, start device activation
8655 - (nm_device_activate): attach to the right signals of the activation
8656 request if we need to defer activation until the connection is valid
8658 * src/NetworkManagerPolicy.c
8659 - (nm_policy_device_change_check): update for additional arguments
8660 required for nm_device_interface_activate(). Pass NULL for these
8661 though because this function already knows exactly which
8664 2007-09-14 Dan Williams <dcbw@redhat.com>
8666 Implement deferred activation handling in the NMActRequest class. When a
8667 client wants to activate a device but must create the NMConnection details
8668 on the fly, there likely hasn't been enough time yet for NM to receive the
8669 new connection signal and grab all the connection details. So the
8670 activation is deferred (and bounded by a timer) for a while, and if the
8671 connection appears within the window, it is activated.
8673 * src/nm-activation-request.c
8674 src/nm-activation-request.h
8675 - (nm_act_request_class_init): two new signals to support deferred
8676 activation, to allow the listener to handle both timeout and success
8677 - (nm_act_request_new_deferred): new function, starts the deferred
8678 activation timeout handler and listens to the NMManager for
8679 new-connection signals to notice when the connection comes in
8681 2007-09-14 Dan Williams <dcbw@redhat.com>
8685 - (nm_manager_get_connection_service_name,
8686 nm_manager_get_connection_dbus_path): get details about a connection
8687 known internally by the NMManager
8688 - (nm_manager_class_init): fix connection add/remove signal marshalers
8689 because NMConnection is now a GObject subclass
8690 - Use constant for the gobject data tag used on NMConnection objects for
8691 storing the associated DBusGProxy
8693 2007-09-14 Dan Williams <dcbw@redhat.com>
8698 src/supplicant-manager/Makefile.am
8699 src/dhcp-manager/Makefile.am
8700 src/backends/Makefile.am
8701 src/named-manager/Makefile.am
8702 src/ppp-manager/Makefile.am
8703 src/vpn-manager/Makefile.am
8704 test/libnm-util/Makefile.am
8705 test/test-common/Makefile.am
8706 - Remove utils/; it was unused
8708 2007-09-13 Dan Williams <dcbw@redhat.com>
8710 * libnm-glib/nm-vpn-manager.h
8711 libnm-glib/nm-vpn-manager.c
8712 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8714 2007-09-13 Dan Williams <dcbw@redhat.com>
8716 * src/nm-device-802-3-ethernet.c
8717 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8718 netlink monitor carrier signals on dispose, not bring down. The
8719 carrier signals should be handled over the entire lifetime of the
8720 device anyway, not created/destroyed on up or down.
8722 2007-09-13 Dan Williams <dcbw@redhat.com>
8724 * libnm-glib/nm-device.c
8725 libnm-glib/nm-device.h
8726 - (nm_device_activate): take a connection object path rather than an
8727 NMConnection because NMConnection isn't exported over D-Bus and
8728 therefore it dbus-glib can't automatically get an object path from it
8730 2007-09-13 Dan Williams <dcbw@redhat.com>
8732 * libnm-util/nm-setting.c
8733 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8735 2007-09-13 Tambet Ingo <tambet@gmail.com>
8737 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8739 2007-09-12 Tambet Ingo <tambet@gmail.com>
8741 * src/vpn-manager/nm-vpn-connection.[ch]:
8742 * src/vpn-manager/nm-vpn-manager.[ch]:
8743 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
8744 dbus-glib, GObjects, signals etc.
8746 * libnm-glib/nm-vpn-manager.[ch]:
8747 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8748 so much, rewrite these too.
8750 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8751 the new introspection files.
8753 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8755 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8756 the header with the same name from libnm-utils.
8758 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8760 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8762 * introspection/nm-vpn-plugin.xml: Implement.
8764 * introspection/nm-vpn-connection.xml: Implement.
8766 * introspection/nm-vpn-manager.xml: Implement.
8768 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8769 the named manager argument, it can just as easily get it as the caller.
8770 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8772 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8774 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8776 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8779 * libnm-util/nm-connection.c: Ditto.
8781 * src/NetworkManagerMain.h: Remove, it's finally empty.
8783 * configure.in: Remove utils/ from build.
8785 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8786 of hard-coded strings.
8788 * utils/: Move it over to libnm-util.
8790 * test/Makefile.am: Link against libnm-util now that util/ is gone.
8792 * dispatcher-daemon/Makefile.am: Ditto.
8794 * src/Makefile.am: Ditto.
8796 2007-09-12 Dan Williams <dcbw@redhat.com>
8798 Wireless connections can be made with config data from the applet now.
8802 * src/supplicant-manager/nm-supplicant-config.h
8803 src/supplicant-manager/nm-supplicant-config.c
8804 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8805 - (nm_supplicant_config_add_setting_wireless,
8806 nm_supplicant_config_add_setting_wireless_security): new functions;
8807 add key/value pairs from the settings objects to the supplicant
8810 * src/nm-device-802-11-wireless.c
8811 - (cull_scan_list): fix check to not prune currently associated AP
8812 - (build_supplicant_config, real_act_stage2_config): call the functions
8813 of the NMSupplicantConfig that parse settings objects rather than
8814 doing it manually here
8816 2007-09-12 Dan Williams <dcbw@redhat.com>
8818 * src/supplicant-manager/nm-supplicant-interface.c
8819 src/supplicant-manager/nm-supplicant-marshal.list
8820 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8821 "connection-error" signal arguments should be STRING not CHAR
8823 2007-09-12 Dan Williams <dcbw@redhat.com>
8825 * src/NetworkManagerUtils.c
8826 src/NetworkManagerUtils.h
8827 - (nm_utils_hexstr2bin): new function
8829 2007-09-11 Dan Williams <dcbw@redhat.com>
8832 - (connection_get_settings_cb): emit connection-added signal
8833 - (connection_removed_cb): uncomment bits for system settings service,
8834 send connection-removed when appropriate
8835 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8836 the stack by trying to g_object_set_data() on something that's
8837 not a GObject; handle case where settings service returns
8838 empty settings hash table
8840 2007-09-11 Dan Williams <dcbw@redhat.com>
8842 * src/NetworkManagerPolicy.c
8843 - (connection_added, connection_removed): trigger device change checks
8844 on connection changes
8846 2007-09-11 Dan Williams <dcbw@redhat.com>
8848 * src/nm-activation-request.c
8849 - (connection_secrets_updated_cb): fix c&p error in signal emission
8851 2007-09-11 Dan Williams <dcbw@redhat.com>
8853 * src/nm-device-802-11-wireless.c
8854 - (real_connection_secrets_updated): fix erroneous check
8856 2007-09-11 Dan Williams <dcbw@redhat.com>
8858 * introspection/nm-device.xml
8859 libnm-glib/nm-device.c
8860 libnm-glib/nm-device.c
8861 - Fix Activate call argument borkage; Activate takes 3 arguments
8863 2007-09-11 Dan Williams <dcbw@redhat.com>
8865 * libnm-glib/nm-access-point.c
8866 libnm-glib/nm-access-point.c
8867 - (nm_access_point_get_frequency): now returns guint32 to match
8868 property change on 2007-09-10
8870 2007-09-11 Dan Williams <dcbw@redhat.com>
8872 * src/nm-device-802-11-wireless.c
8873 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8874 somewhere defines 'index' and I missed this one when I fixed the
8875 shadow declaration errors earlier
8877 2007-09-11 Dan Williams <dcbw@redhat.com>
8879 * libnm-util/nm-connection.c
8880 - (nm_connection_update_secrets, need_secrets_check): move
8881 802-11-wireless-security need_secrets checks to the setting object
8882 itself, where it belongs
8884 * libnm-util/nm-setting.c
8885 libnm-util/nm-setting.h
8886 - (nm_setting_need_secrets): new function
8887 - (setting_wireless_security_verify,
8888 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8889 - (setting_wireless_security_need_secrets): mostly copy code over
8890 from nm-connection.c
8892 2007-09-11 Dan Williams <dcbw@redhat.com>
8894 * libnm-util/nm-setting.c
8895 libnm-util/nm-setting.h
8896 - (nm_setting_update_secrets): new function; add a virtual function that
8897 subclasses can implement to update their secrets
8898 - (setting_wireless_security_update_secrets): implement that function
8899 for the 802-11-wireless-security subclass
8901 * libnm-util/nm-connection.c
8902 libnm-util/nm-connection.h
8903 - (nm_connection_update_secrets): update secrets for a Setting and
8904 emit a signal on success
8909 - (connection_get_settings_cb): enable system settings bits
8910 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8911 to request secrets from the settings dbus service and to
8912 push those secrets to the NMConnection itself
8914 * src/nm-activation-request.c
8915 src/nm-activation-request.h
8916 - Attach to the 'secrets-updated' signal of the NMConnection that's
8917 currently being activated, and proxy that signal to other listeners.
8918 Goes through the activation request because the activation request
8919 is the thing that manages the lifetime of the NMConnection that's
8922 * src/nm-device-802-11-wireless.c
8923 - (real_connection_secrets_updated): implement the connection secrets
8924 updated notification and restart activation when secrets are
8926 - (real_act_stage2_config): request secrets from the settings dbus
8927 service if secrets are needed
8931 - (clear_act_request, nm_device_activation_cancel,
8932 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8933 where the activation request is cleared
8934 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8935 updated secrets signal of activation request and add a function
8936 that subclasses can override to handle it easily
8938 2007-09-11 Tambet Ingo <tambet@gmail.com>
8940 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8941 removal of NetworkManagerAPList.
8943 2007-09-10 Dan Williams <dcbw@redhat.com>
8945 * src/NetworkManagerAP.c
8946 src/NetworkManagerAP.h
8947 introspection/nm-access-point.xml
8948 - Change 'freq' property to a guint32 instead of a double since we
8949 weren't using the floating point bits anyway
8951 2007-09-10 Dan Williams <dcbw@redhat.com>
8953 * NetworkManagerAP.c
8955 NetworkManagerPolicy.c
8956 NetworkManagerSystem.c
8957 NetworkManagerUtils.c
8958 NetworkManagerUtils.h
8959 nm-device-802-11-wireless.c
8960 nm-device-802-3-ethernet.c
8963 vpn-manager/nm-dbus-vpn.c
8964 - Warning fixes; casts and removal of unused variables
8966 2007-09-10 Dan Williams <dcbw@redhat.com>
8968 * include/NetworkManager.h
8969 - Kill NMNetworkType; AP types don't matter any more
8971 * src/NetworkManagerAPList.c
8972 src/NetworkManagerAPList.h
8974 - Kill; NMAccessPointList has outlived it's usefulness
8976 * src/NetworkManagerAP.c
8977 src/NetworkManagerAP.h
8978 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8979 functions; check if an NMConnection object is compatible with the
8981 - (freq_to_channel, channel_to_freq): utility functions for
8982 channel <-> frequency conversion
8986 - (nm_device_get_best_connection): pass the specific object around
8987 (which might be the object path of a specific AP to connect to).
8988 The get_best_connection() call should populate this on return
8989 if needed (wireless does).
8991 * src/nm-device-802-3-ethernet.c
8992 - (real_get_best_connection): handle specific_object argument
8994 * src/NetworkManager.c
8995 src/NetworkManagerMain.h
8996 - Remove unused includes
8998 * src/nm-device-802-11-wireless.c
8999 src/nm-device-802-11-wireless.h
9000 - Convert the ap_list into a GSList from an NMAccessPointList
9001 - No need for caching the 'activation_ap' since this is now determined
9002 from the specific_object of the activation request, which is
9003 populated from the get_best_connection() call or from a user request
9004 - (nm_device_802_11_wireless_update_bssid): fix warning
9005 - (get_wireless_capabilities): fix error message format arguments
9006 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9007 - (find_best_connection, real_get_best_connection): implement
9008 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9009 move here from NetworkManagerAPList
9010 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9011 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9012 already verified earlier
9013 - (real_act_stage2_config): use nm_connection_need_secrets()
9015 * src/NetworkManagerPolicy.c
9016 - (nm_policy_auto_get_best_device): handle specific objects
9017 - (create_connection): remove; automatic connection creation functionality
9018 is handled by the Connection objects
9019 - (nm_policy_device_change_check): handle specific_object
9021 * libnm-util/nm-connection.c
9022 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9024 2007-09-10 Dan Williams <dcbw@redhat.com>
9027 - (query_connections): fix uninitialized variable problem that caused
9029 - (nm_manager_add_device): take devices down on startup so that we can
9030 be assured that nm_device_is_up() won't short-circuit the init
9031 process. Hack until the is_up check gets split into two pieces
9032 that aren't behaviorally confusing.
9034 2007-09-09 Dan Williams <dcbw@redhat.com>
9036 * introspection/nm-device.xml
9037 - The 'Activate' method now takes 3 arguments, a service name for the
9038 settings service (user or system), the object path of the connection
9039 to activate, and the specific object to activate, if any
9041 * src/nm-device-interface.c
9042 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9044 - (impl_device_activate): adapt to new Activate arguments; validate
9045 the service name and get the Connection object from the NMManager
9046 before starting to activate the device with the specified connection
9048 * src/nm-device-802-3-ethernet.c
9049 - (real_get_best_connection): find the best connection, or create a
9050 default one if no existing connections can be used
9052 * src/NetworkManagerPolicy.c
9053 - (nm_policy_auto_get_best_device): Get the device's best connection
9054 and only pick the device if it has one
9055 - (nm_policy_device_change_check): disable wireless bits for now until
9056 wireless get_best_connection() can be implemented (replacing "best_ap");
9057 don't create a default connection here as the device subclass will do
9062 - (nm_manager_get): make NMManager a singleton and expose the getter
9064 - Rework internal NMManager connection handling to use the same
9065 routines for both the system and user settings services. Most calls
9066 take a new NMConnectionType argument specifying either system or user
9068 - (nm_manager_get_connection_by_object_path): new function; get a
9069 connection keyed on its object path
9071 * src/NetworkManager.c
9072 - (main): use nm_manager_get()
9074 2007-09-09 Dan Williams <dcbw@redhat.com>
9078 - (nm_device_get_best_connection): new function; get best connection
9079 for the device at that time
9081 2007-09-09 Dan Williams <dcbw@redhat.com>
9083 * src/nm-device-interface.h
9084 - Add NMDeviceInterfaceError with an UnknownConnection error
9086 2007-09-09 Dan Williams <dcbw@redhat.com>
9088 Stupid mistake on my part; object path and interface for settings service
9089 and connection objects can be the same, only the service name must be
9090 different for the system and user settings services.
9092 * include/NetworkManager.h
9094 introspection/nm-settings-connection.xml
9095 introspection/nm-settings.xml
9096 libnm-glib/nm-settings.c
9097 - (nm_connection_settings_init, query_user_connections,
9098 new_connection_cb): Unify NetworkManagerSettings and Connection
9099 interface name and object path
9101 2007-09-06 Dan Williams <dcbw@redhat.com>
9103 * libnm-glib/nm-object.c
9104 - (nm_object_get_string_property, nm_object_get_object_path_property,
9105 nm_object_get_int_property, nm_object_get_uint_property,
9106 nm_object_get_boolean_property, nm_object_get_byte_property,
9107 nm_object_get_double_property, nm_object_get_byte_array_property):
9108 clear GValues after copying their contents, fixes memory leaks
9109 after every property access because dbus-glib copies the values
9110 from the DBusMessage into the GValue already.
9112 2007-09-06 Dan Williams <dcbw@redhat.com>
9114 * introspection/nm-access-point.xml
9115 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9116 them to be. There's some magic property name parsing going on in
9117 dbus-glib that breaks up property names based on studly-caps and
9118 puts - between words.
9120 * libnm-glib/nm-access-point.c
9121 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9124 2007-09-06 Dan Williams <dcbw@redhat.com>
9127 - (nm_manager_user_connections_destroy): clear the user connections hash
9128 table, don't destroy it
9129 - (finalize): only destroy the hash table on NMManager finalization
9131 2007-09-02 Dan Williams <dcbw@redhat.com>
9133 * include/NetworkManager.h
9134 libnm-glib/nm-settings.c
9135 - defines for the user settings daemon D-Bus bits
9137 * src/NetworkManager.c
9138 - Remove stuff that referred to the old NetworkManagerInfo service
9140 * src/vpn-manager/nm-dbus-vpn.h
9141 - Move old NMI defines to the only place they are used still
9143 * libnm-util/nm-connection.c
9144 libnm-util/nm-connection.h
9145 src/nm-activation-request.c
9146 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9150 - Get connections and their settings from the user settings daemon
9151 at the appropriate times
9153 2007-09-02 Dan Williams <dcbw@redhat.com>
9155 * libnm-util/nm-setting.c
9156 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9157 - (setting_wireless_hash): set the right value on the item
9159 2007-09-02 Dan Williams <dcbw@redhat.com>
9163 - Remove, no longer useful
9165 2007-08-30 Dan Williams <dcbw@redhat.com>
9168 src/NetworkManagerDbus.c
9169 src/NetworkManagerDbus.h
9170 src/vpn-manager/nm-dbus-vpn.c
9171 - Remove, no longer necessary. Move last bits to the only place its
9172 used, in nm-dbus-vpn.c
9174 * src/NetworkManagerAPList.c
9176 src/NetworkManager.c
9177 src/nm-device-802-11-wireless.c
9178 src/vpn-manager/nm-vpn-manager.c
9179 src/vpn-manager/nm-vpn-service.c
9180 src/NetworkManagerPolicy.c
9182 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9183 that was message_is_error()
9185 2007-08-30 Dan Williams <dcbw@redhat.com>
9188 - Include config.h to get defines for endiannes (gnome.org #420216)
9190 2007-08-30 Dan Williams <dcbw@redhat.com>
9192 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9194 * src/ppp-manager/Makefile.am
9195 - use -fPIC (gnome.org #471825)
9197 2007-08-29 Dan Williams <dcbw@redhat.com>
9199 * include/NetworkManager.h
9200 - Keep NMConnection object path in sync
9202 * libnm-glib/nm-settings.c
9203 libnm-glib/nm-settings.h
9204 - Break D-Bus object registration out of the init function, because
9205 every object that's exported over D-Bus needs to use the _same_
9206 DBusConnection. Otherwise, each object would get a different object
9207 path tree and wouldn't be callable.
9209 2007-08-29 Dan Williams <dcbw@redhat.com>
9211 * libnm-util/nm-setting.h
9212 libnm-util/nm-setting.c
9213 libnm-util/nm-connection.c
9214 src/NetworkManagerPolicy.c
9215 - 'info' settings object should be 'connection' says the spec
9216 at NetworkManagerConfigurationSpecification
9218 2007-08-29 Dan Williams <dcbw@redhat.com>
9220 * libnm-glib/nm-settings.c
9221 libnm-glib/nm-settings.h
9222 - make the dbus path a property of the object, and autogenerate it.
9223 It can't be composed of the 'id' field becuase that's not available
9224 yet during the GObject creation in nm_connection_settings_init()
9226 2007-08-29 Dan Williams <dcbw@redhat.com>
9228 * introspection/nm-settings-connection.xml
9229 introspection/nm-settings.xml
9230 - Service name -> NetworkManagerUserSettings because two services
9231 can't share part of the same path. I'm not really sure how we'll use
9232 the same code with the system-settings daemon...
9234 2007-08-28 Dan Williams <dcbw@redhat.com>
9236 * src/nm-device-interface.c
9237 src/nm-device-interface.h
9238 - Kill one more bit of NMData
9240 2007-08-28 Dan Williams <dcbw@redhat.com>
9242 * src/NetworkManagerSystem.h
9245 src/nm-hal-manager.c
9246 src/NetworkManager.c
9247 src/nm-device-802-11-wireless.c
9248 src/nm-hal-manager.h
9249 src/nm-device-802-3-ethernet.c
9250 src/vpn-manager/nm-vpn-service.h
9251 src/vpn-manager/nm-vpn-manager.c
9252 src/vpn-manager/nm-vpn-manager.h
9253 src/vpn-manager/nm-vpn-service.c
9254 src/nm-device-802-11-wireless.h
9255 src/NetworkManagerMain.h
9256 src/nm-device-802-3-ethernet.h
9257 src/backends/NetworkManagerGentoo.c
9258 src/backends/NetworkManagerPaldo.c
9259 src/backends/NetworkManagerFrugalware.c
9260 src/backends/NetworkManagerRedHat.c
9261 src/backends/NetworkManagerSlackware.c
9262 src/backends/NetworkManagerGeneric.c
9263 src/backends/NetworkManagerArch.c
9264 src/backends/NetworkManagerSuSE.c
9265 src/backends/NetworkManagerGeneric.h
9266 src/backends/NetworkManagerDebian.c
9269 2007-08-28 Dan Williams <dcbw@redhat.com>
9271 * src/NetworkManagerMain.h
9272 src/nm-device-802-11-wireless.c
9273 src/NetworkManager.c
9274 - Remove invalid AP list from NMData; need to rework this somewhat, but
9275 for now we should set the 'invalid' property on individual APs, and when
9276 we need to invalidate a whole ESS, set the 'invalid' on every member of
9279 2007-08-28 Dan Williams <dcbw@redhat.com>
9281 * src/NetworkManagerAP.c
9282 src/NetworkManagerAP.h
9283 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9284 'autoconnect' property instead
9286 * src/NetworkManager.c
9287 src/NetworkManagerMain.h
9288 src/NetworkManagerPolicy.c
9289 src/NetworkManagerPolicy.h
9290 - Remove the 'allowed_ap_list', which should be replaced by
9291 NMConnection/NMSettings instead, since _those_ are the allowed
9292 things that NM can connect to
9294 * src/nm-device-802-11-wireless.c
9295 - Remove both allowed_ap_list usage and 'fallback' checking
9297 2007-08-28 Dan Williams <dcbw@redhat.com>
9300 src/named-manager/nm-named-manager.c
9301 src/named-manager/nm-named-manager.h
9302 src/NetworkManager.c
9303 src/vpn-manager/nm-vpn-manager.c
9304 src/NetworkManagerMain.h
9305 src/NetworkManagerSystem.c
9306 - Remove the named-manager object from NMData structure in preparation
9307 for NMData's timely death. Make the NMNamedManager the singleton that
9310 2007-08-28 Dan Williams <dcbw@redhat.com>
9312 Remove NMAPSecurity objects, they are replaced with flags on the APs for
9313 each AP's capabilities, and by NMConnection/NMSettings objects for user
9314 defined connections.
9316 * include/NetworkManager.h
9317 - Redefine 802.11 security properties. There are now device capabilities
9318 and AP flags and AP security flags. It was way to unclear before.
9321 src/nm-ap-security-leap.h
9322 src/nm-ap-security-leap.c
9323 src/nm-ap-security-wpa-eap.c
9324 src/nm-ap-security-wpa-eap.h
9325 src/nm-ap-security-private.h
9326 src/nm-ap-security-wpa-psk.c
9327 src/nm-ap-security-wpa-psk.h
9328 src/nm-ap-security-wep.c
9329 src/nm-ap-security-wep.h
9330 src/nm-ap-security.c
9331 src/nm-ap-security.h
9332 - Removed, to be replaced with NMConnection/NMSettings objects
9336 - Removed, to be replaced by code that talks to the new info daemon
9337 interface and gets NMConnection/NMSettings objects
9339 * src/backends/NetworkManagerSuSE.c
9340 - Remove usage of NMAPSecurity; should be replaced by a system-level
9341 info-daemon that does the same thing but talks the new info-daemon
9344 * src/NetworkManagerAP.h
9345 src/NetworkManagerAP.c
9346 src/NetworkManagerAPList.c
9347 libnm-glib/libnm-glib-test.c
9348 - Remove usage of NMAPSecurity objects and adjust to new flags for
9351 * libnm-glib/nm-access-point.c
9352 libnm-glib/nm-access-point.h
9353 introspection/nm-access-point.xml
9355 - Adjust to new flags for AP security
9359 src/vpn-manager/nm-dbus-vpn.c
9360 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9361 stuff which is the only place it's used
9363 * src/nm-device-interface.c
9364 src/nm-device-interface.h
9365 introspection/nm-device.xml
9366 src/nm-activation-request.c
9367 src/nm-activation-request.h
9369 - Add a new 'specific_object' argument that hints to NM what actual
9370 AP or other device-specific thing the connection should apply to.
9371 NMConnection objects can apply to more than one actual device/AP.
9373 * libnm-util/nm-connection.c
9374 * libnm-util/nm-connection.h
9375 - Add 'have_secrets" call stubs
9377 * libnm-util/cipher.h
9378 - Move NM_AUTH_TYPE_* defines here for now
9380 * src/nm-device-802-11-wireless.c
9381 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9384 * src/NetworkManagerDbus.c
9385 * src/NetworkManagerPolicy.c
9386 - Remove usage of update_allowed_networks, should be pushing data in
9389 2007-08-27 Tambet Ingo <tambet@gmail.com>
9391 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9392 dbus-glib frees it when the call is done.
9394 2007-08-26 Dan Williams <dcbw@redhat.com>
9396 * introspection/nm-device.xml
9397 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9399 2007-08-26 Dan Williams <dcbw@redhat.com>
9401 * src/nm-device-802-3-ethernet.c
9402 - (constructor): move connection of interface-connected/disconnected
9403 signals here from real_bring_up(). Should be listening to netlink
9404 for carrier events no matter what the initial state of the device
9407 2007-08-26 Dan Williams <dcbw@redhat.com>
9409 * src/nm-netlink-monitor.c
9410 - (nm_netlink_monitor_class_init): fix marshalling types for
9411 interface-connected/interface-disconnected
9412 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9415 2007-08-26 Dan Williams <dcbw@redhat.com>
9417 Convert to using interface indexes as the primary method of identifying
9418 devices inside NetworkManager. Indexes are (?) stable, but devices can
9419 be renamed at any time. Device object paths now refer to the device
9420 index rather than the name, and you can map those two manually if you like
9421 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9422 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9423 to use interface indexes rather than names.
9425 2007-08-26 Dan Williams <dcbw@redhat.com>
9427 * src/nm-netlink-monitor.h
9428 - Remove one last bit of wireless-event signal
9430 2007-08-26 Dan Williams <dcbw@redhat.com>
9432 * src/nm-netlink-monitor.c
9433 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9434 don't need the 'wireless-event' signal anymore since that's all
9435 handled by wpa_supplicant
9437 2007-08-25 Dan Williams <dcbw@redhat.com>
9439 It's 2007. Remove support for drivers that don't support wireless scanning.
9442 include/NetworkManager.h
9443 src/NetworkManagerUtils.c
9444 src/NetworkManagerPolicy.c
9445 src/nm-device-802-11-wireless.c
9446 - Remove special handling for non-scanning devices and mark them
9447 as unsupported/unhandled
9449 2007-08-20 Dan Williams <dcbw@redhat.com>
9451 * src/nm-device-802-11-wireless.c
9452 src/nm-device-802-3-ethernet.c
9453 - (real_is_up): move device-specific tests before generic IFF_UP test,
9454 because when the card is pulled or the module removed, the device
9455 is already !IFF_UP and then device-specific cleanup (removing
9456 the supplicant interface, periodic checks, etc) never gets done
9458 2007-08-20 Dan Williams <dcbw@redhat.com>
9461 - (nm_manager_remove_device): bring device down before disconnecting
9462 signal handlers, so that the 'state' signal will get broadcast when
9463 the device enters the DOWN state
9464 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9465 of states that cause the NMManager to recheck its state
9467 2007-08-20 Dan Williams <dcbw@redhat.com>
9469 * src/supplicant-manager/nm-supplicant-interface.c
9470 - (interface_disconnect_done): don't try to dispose of the net proxy
9471 when it may already have been disposed of
9473 2007-08-20 Dan Williams <dcbw@redhat.com>
9475 * src/nm-device-802-11-wireless.c
9476 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9477 the SSID isn't available; this can happen when the card is pulled
9478 or the module unloaded, during the post-removal deactivation
9479 paths, when the ioctl returns ENODEV
9481 2007-08-20 Dan Williams <dcbw@redhat.com>
9483 * src/nm-device-802-11-wireless.c
9484 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9485 frequency, and mode match. Applets are now responsible for grouping
9488 2007-08-20 Dan Williams <dcbw@redhat.com>
9490 * src/NetworkManagerAP.c
9491 * src/NetworkManagerAP.h
9492 - (nm_ap_print_self): new function
9494 * src/NetworkManagerAPList.c
9495 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9498 2007-08-17 Dan Williams <dcbw@redhat.com>
9500 * src/nm-device-802-3-ethernet.c
9501 - (real_bring_down): don't try to dispose of stuff that might not
9504 2007-08-17 Dan Williams <dcbw@redhat.com>
9506 * src/NetworkManagerAP.c
9507 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9508 applet. This ensures that the case between the seen-bssids and
9509 the bssids reported by the driver match.
9511 2007-08-17 Dan Williams <dcbw@redhat.com>
9513 * src/nm-device-802-11-wireless.c
9514 - (device_cleanup): disconnect the interface in wpa_supplicant before
9515 we dispose of the interface proxy in NM
9517 2007-08-16 Dan Williams <dcbw@redhat.com>
9519 * libnm-glib/nm-client.c
9520 - (nm_client_init): create VPN connections hash table with key free
9522 - (proxy_vpn_connection_added): VPN connections hash table key should
9523 be a duplicated value, not the same memory address as the VPN
9524 connection name. This is because the VPN connection name could
9525 potentially be freed and set to something else during the lifetime
9526 of the NMVPNConnection object.
9528 2007-08-16 Tambet Ingo <tambet@gmail.com>
9530 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9531 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9532 with the file descriptors. Send a child setup function to change the pppd
9535 2007-08-15 Dan Williams <dcbw@redhat.com>
9537 * src/supplicant-manager/nm-supplicant-interface.c
9538 - (try_remove_iface): new function, ask wpa_supplicant to remove
9540 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9541 disposing of the NMSupplicantInterface. Otherwise weird stuff
9542 happens on hotplug if wpa_supplicant doesn't tear down and readd
9543 the interface internally
9545 2007-08-15 Dan Williams <dcbw@redhat.com>
9547 * src/nm-device-802-11-wireless.c
9548 - (real_bring_down): move most of this function into device_cleanup()
9549 so that it can be called from elsewhere
9550 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9551 and stuff on dispose. These would normally get cleaned up when
9552 the device is marked down and deactivated, but when the device is
9553 hot-unplugged, it's already down and real_down() never gets run
9555 2007-08-15 Dan Williams <dcbw@redhat.com>
9558 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9559 caused a reference leak on device for which NM requested a key
9561 2007-08-15 Dan Williams <dcbw@redhat.com>
9563 * libnm-glib/nm-client.c
9564 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9566 2007-08-15 Tambet Ingo <tambet@gmail.com>
9568 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9569 nothing is using it at the moment, but it'll be all useful and stuff later on.
9571 * libnm-util/nm-setting.h: Define NMSettingPPP.
9573 * libnm-util/nm-setting.c: Implement NMSettingPPP.
9575 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9577 * src/Makefile.am: Add ppp-manager to SUBDIRS.
9579 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9581 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9583 2007-08-14 Tambet Ingo <tambet@gmail.com>
9585 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9587 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9588 an issue with dbus-glib bindings generator. The issue is, the generated C caller
9589 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9590 name and different arguments and it won't compile anymore. To fix this, we now have
9591 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9592 that is new API + compatibility API and used by the daemon. The other,
9593 nm-manager-client.xml is only the new API without compatibility bits and is used
9594 by libnm-glib to make it compile.
9596 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9598 * src/nm-manager.c (impl_manager_legacy_sleep)
9599 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9600 interface functions for 0.6 branch.
9602 2007-08-14 Dan Williams <dcbw@redhat.com>
9604 * src/NetworkManagerAP.c
9605 - (nm_ap_new_from_properties): fix mistaken check of return value
9606 from memcmp (should expect 0)
9608 2007-08-14 Dan Williams <dcbw@redhat.com>
9610 (force-commit to fix wrong comment and partial commit of r2685; this
9611 commit actually applies to r2685)
9613 * src/NetworkManagerUtils.c
9614 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9615 ignores trailing nulls in the SSID to work around mismatches in
9616 expectations between WEXT and what the info-daemon passes back. The
9617 info-daemon would pass back the correct length, but due to the
9618 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9619 the device would always have an SSID + 1 depending on what versions
9620 of wpa_supplicant, the kernel, and NM you have. This was most often
9621 visible by just quitting the applet and relaunching, which caused
9622 NM to reassociated to the same network over again when reloading
9625 * src/NetworkManagerPolicy.c
9626 src/NetworkManagerUtils.h
9627 src/nm-device-802-11-wireless.c
9628 - Update for new parameter to nm_utils_same_ssid()
9630 2007-08-14 Dan Williams <dcbw@redhat.com>
9632 * src/NetworkManagerAP.c
9633 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
9634 I encountered a BSS that wasn't just hiding it's ESSID, it was
9635 setting the BSSID to all 0s. That confused the heck out of NM,
9636 plus it's useless and probably out-of-spec.
9638 2007-08-14 Dan Williams <dcbw@redhat.com>
9640 * callouts/Makefile.am
9641 src/dhcp-manager/nm-dhcp-manager.c
9642 src/dhcp-manager/nm-dhcp-manager.h
9643 src/dhcp-manager/Makefile.am
9644 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9646 2007-08-14 Dan Williams <dcbw@redhat.com>
9648 * src/dhcp-manager/nm-dhcp-manager.c
9649 - (dhclient_run): don't pass -x to dhclient until we figure out if
9650 it's really needed, get rid of unused xtra_args parameter
9652 2007-08-14 Dan Williams <dcbw@redhat.com>
9654 * include/NetworkManagerVPN.h
9655 src/vpn-manager/nm-dbus-vpn.c
9656 src/vpn-manager/nm-dbus-vpn.h
9657 src/vpn-manager/nm-vpn-act-request.c
9658 src/vpn-manager/nm-vpn-act-request.h
9659 src/vpn-manager/nm-vpn-service.c
9660 src/vpn-manager/nm-vpn-service.h
9661 libnm-glib/nm-vpn-connection.c
9662 libnm-glib/nm-vpn-connection.h
9663 libnm-glib/nm-client.h
9664 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
9665 NMVPNServiceState to clarify what they apply to
9666 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9667 NMVPNActStage -> NMVPNConnectionState for the same reason
9669 * libnm-glib/nm-client.c
9670 - Constant + type renames from above
9671 - Properly handle NameOwnerChanged/manager_running signals
9672 for NM service; only emit when state really changes
9673 - Use hash tables correctly so that the key (which was previously owned
9674 by the D-Bus message) now has the same lifetime as the value, since
9675 the key is now taken from the the NMVPNConnection itself. This
9676 really fixes the double-VPN names in the applet
9678 2007-08-13 Dan Williams <dcbw@redhat.com>
9680 Patch from Michael Biebl <biebl@debian.org>
9684 - Update for vpn-properties move
9686 2007-08-13 Dan Williams <dcbw@redhat.com>
9688 * libnm-glib/nm-client.c
9689 - Convert internal VPN connection tracking from a list to a hash table
9690 to easily avoid duplicates
9691 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9692 must be freed by the caller, like nm_client_get_devices()
9693 - (nm_client_remove_vpn_connection): don't let the removal signal
9694 leak through for NMVPNConnection objects that aren't actually
9696 - (manager_running): throw away VPN connection list when NM goes away,
9697 like with the device list
9699 2007-08-13 Dan Williams <dcbw@redhat.com>
9701 * src/dhcp-manager/nm-dhcp-manager.c
9702 - Stop any dhclient instance that might be already running for a
9703 particular interface before starting an NM spawned dhclient. Fixes
9704 dhclient processes left over if NM crashes, stuff like that.
9706 2007-08-13 Dan Williams <dcbw@redhat.com>
9708 * src/NetworkManagerAP.c
9709 - (finalize): don't try to g_array_free (NULL, ...), which happened
9710 when the AP wasn't broadcasting it's SSID
9712 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
9714 * include/NetworkManager.h: added DBus path for connection settings.
9716 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9717 nm_connection_settings_signal_updated,
9718 nm_connection_settings_signal_removed): new functions to wrap the
9720 (nm_connection_settings_init): register GObject with DBus.
9721 (nm_connection_settings_get_dbus_object_path): new function.
9723 * libnm-glib/Makefile.am: added libnmutil to link flags.
9725 2007-08-13 Tambet Ingo <tambet@gmail.com>
9727 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9729 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9730 libnm_glib directory got merged with libnm-glib/.
9732 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9734 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9735 Rename the library from libnm-glib to libnm_glib to maintain the library API
9736 compatibility with 0.6 branch.
9738 * Makefile.am: Remove gnome/ SUBDIR.
9740 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9742 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9744 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9746 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9748 Remove checks for wpa_supplicant binary, it's used over dbus.
9749 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9751 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9752 Link the binaries with libnm_glib.la.
9754 2007-08-12 Dan Williams <dcbw@redhat.com>
9756 * src/NetworkManagerPolicy.c
9757 - (nm_policy_device_change_check): fix policy to deactivate old device
9758 before activating new one, at least until the multiple active
9759 device support lands
9761 2007-08-12 Dan Williams <dcbw@redhat.com>
9763 * src/NetworkManagerPolicy.c
9764 - (nm_policy_new): hook up to connection-added / connection-removed
9765 signals instead of connections-changed
9767 2007-08-12 Dan Williams <dcbw@redhat.com>
9769 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
9770 Robert Frank <rfrank@redhat.com>
9772 * src/dhcp-manager/nm-dhcp-manager.c
9773 src/dhcp-manager/nm-dhcp-manager.c
9775 - Spawn and communicate with dhclient directly, through means of a
9776 custom dhclient callout script. Process callout D-Bus signals
9777 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
9778 sent via gobject signals rather than being driven by the dhcp manager
9781 2007-08-12 Dan Williams <dcbw@redhat.com>
9783 * callouts/nm-dhcp-client-action.c
9784 - (build_message): ignore non-DHCP-related environment variables
9786 2007-08-12 Dan Williams <dcbw@redhat.com>
9790 callouts/Makefile.am
9791 callouts/nm-dhcp-client-action.c
9792 callouts/nm-dhcp-client.conf
9793 - Add dhclient-executed callout that takes the place of dhclient-script
9794 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9797 2007-08-09 Tambet Ingo <tambet@gmail.com>
9799 [Based on patch by Helmut Schaa <hschaa@suse.de>]
9801 * libnm-glib/nm-client.h:
9802 * libnm-glib/nm-object.h:
9803 * libnm-glib/nm-vpn-connection.h:
9804 * libnm-glib/nm-settings.h:
9805 * libnm-glib/nm-device.h:
9806 * libnm-glib/nm-ip4-config.h:
9807 * libnm-glib/nm-access-point.h:
9808 * libnm-glib/nm-device-802-3-ethernet.h:
9809 * libnm-util/nm-setting.h:
9810 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9812 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9814 * libnm-glib/nm-access-point.c: Strength has type char.
9816 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9817 to fix build. GnomeDruid is deprecated in recent libgnomeui.
9819 * introspection/nm-access-point.xml: Strength property is char, not int.
9821 * src/NetworkManagerAP.c (set_property): Set strength from char.
9822 (get_property): Handle hidden APs (with empty SSID).
9823 Get strength value from char.
9824 (nm_ap_class_init): Strength property has char type.
9826 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
9828 * introspection/Makefile.am:
9829 * introspection/nm-settings.xml:
9830 * introspection/nm-settings-connection.xml: added Settings interfaces.
9832 * libnm-glib/nm-settings.[ch]:
9833 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9834 containing the DBus implementation.
9836 2007-07-26 Dan Williams <dcbw@redhat.com>
9838 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9840 * src/NetworkManagerSystem.c
9841 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9842 same subnet (#437396)
9844 2007-07-26 Dan Williams <dcbw@redhat.com>
9846 Patch from Kelemen Gábor <kelemeng@gnome.hu>
9848 * gnome/vpn-properties/nm-vpn-properties.c
9849 - Fix translatable strings (#445865)
9851 2007-07-26 Dan Williams <dcbw@redhat.com>
9853 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9856 - Remove useless junk (#412530)
9858 2007-07-10 Christopher Aillon <caillon@redhat.com>
9860 Patch from Robert Buchholz <rbu@gentoo.org>:
9864 * introspection/Makefile.am:
9865 Make make distcheck work again.
9867 2007-06-27 Dan Williams <dcbw@redhat.com>
9869 * Make SSIDs GByteArrays everywhere
9870 * Rename "essid" -> "ssid" everywhere that's appropriate
9871 * Refcount activation_ap member of the 802.11 wireless device class
9873 2007-06-27 Tambet Ingo <tambet@ximian.com>
9875 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9877 2007-06-22 Tambet Ingo <tambet@ximian.com>
9879 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9880 that we got a new AP when we just update existing AP properties.
9882 2007-06-21 Tambet Ingo <tambet@ximian.com>
9884 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9886 * nm-utils.[ch]: Remove.
9888 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9889 objects for easy property access and dbus connection handling.
9891 * libnm-glib/nm-client.c: Derive from NMObject.
9893 * libnm-glib/nm-device.c: Ditto.
9895 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9897 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9899 * libnm-glib/nm-ip4-config.c: Ditto.
9901 * libnm-glib/nm-access-point.c: Ditto.
9903 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9904 comparision. Currently used by the device activation code to determine if the new
9905 activation is the same as the old one.
9907 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9908 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9909 able to ask password for the AP.
9911 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9912 up if the device is already connected, tear down it's connection (if it isn't the
9913 same as new one) and start the activation.
9915 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9917 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9918 the issue where all APs are always listed as encrypted.
9920 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9921 their own registered paths.
9923 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9924 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9926 2007-06-13 Tambet Ingo <tambet@ximian.com>
9928 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9931 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9932 because the handling code will cause the next state change and signal listeners
9933 get the signals in wrong order.
9935 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9936 correctly in case of pending activation.
9938 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9939 Convert the essid byte array to string correctly, including the terminating NULL.
9941 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9942 mode with correct types.
9944 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9945 constructed info to dbus call instead of the activation request.
9947 2007-06-11 Christopher Aillon <caillon@redhat.com>
9949 Patch from Christian Persch <chpe@gnome.org>
9951 * libnm-glib/Makefile.am:
9952 * dispatcher-daemon/Makefile.am:
9953 Use the correct variables, the correct paths, and correct ordering. (446315)
9955 2007-06-11 Tambet Ingo <tambet@ximian.com>
9957 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9958 argument. The activation request is easy to retrieve.
9960 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9961 just to be a convenient location for devices to store random stuff.
9963 2007-06-11 Christopher Aillon <caillon@redhat.com>
9965 Patch from Alex Smith <alex@alex-smith.me.uk>
9967 * src/backends/NetworkManagerFrugalware.c:
9968 Update the FrugalWare backend to fix a few segfaults. (#392642)
9970 2007-06-08 Tambet Ingo <tambet@ximian.com>
9972 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9974 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9976 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9978 2007-06-06 Tambet Ingo <tambet@ximian.com>
9980 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9982 Implement NMSettingIP4Config.
9983 Finish NMSettingWired by adding all known members.
9984 (setting_wired_verify): Implement.
9985 Finish NMSettingWireless by adding all known members.
9986 (setting_wireless_verify): Implement.
9988 * libnm-util/nm-connection.c: Register "ipv4" setting.
9989 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9990 dump function, we can introspect the GHashTable which is used for sending connections
9993 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9994 Take GByteArray for essid, it's really not a string.
9996 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9997 Start DHCP request if setting is not passed or if it states that DHCP should be used.
9998 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9999 means overriding the values we got from DHCP.
10000 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10001 (nm_device_deactivate_quickly): Ditto.
10003 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10006 2007-05-07 Tambet Ingo <tambet@ximian.com>
10008 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10011 * libnm-glib/nm-device-802-11-wireless.c:
10012 (nm_device_802_3_ethernet_activate): Remove.
10014 * libnm-glib/nm-device-802-3-ethernet.c
10015 (nm_device_802_3_ethernet_activate): Remove.
10017 * libnm-glib/nm-device.c (nm_device_activate): Implement.
10019 * src/nm-device-802-3-ethernet.c: Implement the new activation using
10022 * src/nm-device-802-11-wireless.c: Store an activation AP once the
10023 activation has started.
10024 Implement the new activation using NMConnection.
10026 * src/nm-activation-request.c: Store a generic connection object instead
10027 of a wireless-specific AP.
10029 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10030 on device type, create a device specific connection object suitable for
10033 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10034 specific check to validate the connection and on success start the
10037 * src/nm-device-interface.h: Add a activate virtual function to the
10038 interface definition.
10040 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10041 (impl_device_activate): Implement.
10043 * introspection/nm-device.xml: Add a generic device activation interface
10044 that accepts an abstract NMConnection structure that has device-specific
10047 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10048 activation interface.
10050 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10051 activation interface.
10053 * libnm-util/nm-connection.c:
10054 * libnm-util/nm-connection.h:
10055 * libnm-util/nm-setting.c:
10056 * libnm-util/nm-setting.h: Add.
10058 * libnm-util/Makefile.am: Build the added files.
10060 * src/nm-dbus-manager.c
10061 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10062 DbusConnection argument from 'name-owner-changed' signal. The manager
10063 is already passed as a first argument to the signal and the connection
10064 is easy enough to get from it.
10066 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10067 Update the signature of the function.
10069 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10072 * src/NetworkManager.c: Ditto.
10074 * src/named-manager/nm-named-manager.c
10075 (nm_named_manager_name_owner_changed): Ditto.
10077 * src/supplicant-manager/nm-supplicant-manager.c
10078 (nm_supplicant_manager_name_owner_changed): Ditto.
10080 * src/nm-hal-manager.c (name_owner_changed): Ditto.
10082 * src/dhcp-manager/nm-dhcp-manager.c
10083 (nm_dhcp_manager_name_owner_changed): Ditto.
10085 * src/nm-hal-manager.c: Add a list of device detectors and creators
10086 to make it easier to add new devices. Each device type has it's own
10087 entry in the table so adding new device types is only a matter of
10088 implementing a couple of functions, one for device detection and the
10089 other for device creation.
10091 2007-04-25 Dan Williams <dcbw@redhat.com>
10093 * initscript/RedHat/NetworkManager.in: remove trailing backslash
10094 (gnome.org #432401)
10096 2007-03-30 Dan Williams <dcbw@redhat.com>
10098 * src/NetworkManagerSystem.c
10099 - (nm_system_device_set_ip4_route): clean up and fix argument
10100 to nm_dev_sock_open()
10102 2007-03-28 Tambet Ingo <tambet@ximian.com>
10104 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10105 data to correct types instead of always using string.
10107 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10108 _not_ have NM_802_11_CAP_PROTO_NONE.
10109 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10112 2007-03-27 Tambet Ingo <tambet@ximian.com>
10114 * libnm-glib/Makefile.am: Fix the build issue.
10116 2007-03-26 Tambet Ingo <tambet@ximian.com>
10118 * libnm-glib/nm-vpn-connection.h:
10119 * libnm-glib/nm-vpn-connection.c: Implement.
10121 * libnm-glib/nm-client.c: Add VPN support.
10123 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10126 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10129 2007-03-26 Dan Williams <dcbw@redhat.com>
10131 * src/NetworkManagerAPList.c
10132 * src/nm-device-802-11-wireless.c
10133 * src/NetworkManagerAP.c:
10134 - Store last seen as glong instead of GTimeVal.
10135 - Fix the upper bound of capabilities, it's a bitfield.
10137 2007-03-16 Tambet Ingo <tambet@ximian.com>
10139 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10141 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10142 "manager-running" signal that notifies the appearance/disappearance of NM.
10143 (nm_client_sleep): Implement.
10145 * libnm-glib/nm-device.c:
10146 * libnm-glib/nm-device-802-11-wireless.c:
10147 * libnm-glib/nm-device-802-3-ethernet.c:
10149 Don't inherit from DBusGProxy, add a proxy to private
10150 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10151 for anything but their own dbus interface. DBusGProxy objects support only one
10152 interfaces and to work around this, NMDevice has spearate proxy for each dbus
10153 interface. The nice side effect of this change is that we do not create a new
10154 DBusGProxy object for each property access.
10156 2007-03-15 Tambet Ingo <tambet@ximian.com>
10158 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10159 with zeroes before passing them to functions - the functions never do that and
10160 reading the values back may produce wrong values.
10161 (real_bring_up): Store the signal handler id ...
10162 (real_bring_down): ... So that it can be removed here.
10163 Disconnect the supplicant interface here as well.
10164 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10165 from the access point instead of old $device/Networks/$essid.
10167 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10168 device state is connected (instead of just having link/carrier).
10170 * src/nm-activation-request.c: Don't store NMData in activation request, it's
10171 already easily accessible through the device.
10173 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10174 store it within the object.
10175 (nm_ap_get_dbus_path): Export it to public as well.
10177 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10180 2007-03-12 Dan Williams <dcbw@redhat.com>
10182 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
10183 for non-carrier-detect capable devices, and useless for carrier-detect
10184 devices since we get notifications from netlink about carrier status anyway.
10186 * src/nm-device-802-3-ethernet.c
10187 - remove 'link_source_id' member from private data
10188 - (probe_link): remove and collapse into real_update_link()
10189 - (nm_device_802_3_periodic_update): remove
10190 - (real_is_up): check for sup_iface rather than link_source_id
10191 - (real_bring_up): return gboolean for success/fail; require that
10192 sup_iface be valid for device bringup to succeed
10193 - (real_bring_down): zero out link signal ids
10196 - (nm_device_activate_stage2_device_config): fail activation if device
10198 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10200 - (nm_device_bring_up): return success/fail
10203 - bring_up now returns success/fail
10205 * src/nm-device-802-11-wireless.c
10206 - (real_bring_up): return success from bringup
10208 2007-03-07 Dan Williams <dcbw@redhat.com>
10210 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
10211 * src/nm-ap-security-wpa-psk.c
10212 - (real_write_supplicant_config): work with PSKs that may contain
10213 zeros in the binary format rather than treating it as a string
10215 2007-03-02 Tambet Ingo <tambet@ximian.com>
10217 * libnm-glib/nm-device-802-11-wireless.c
10218 (nm_device_802_11_wireless_get_capabilities): Implement.
10220 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10222 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10224 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10225 reply only if it's not NULL. Not sure why this started happening right now.
10227 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10228 code paths for when devices get removed on shutdown or when a device is just
10230 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10231 gets freed so any signal from a device (disconnected for instance) would invoke
10232 NMState update which would crash.
10233 (nm_manager_remove_device): Bring the device down when it gets removed.
10235 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10236 the unused dev_type.
10238 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10239 reference to the added device, NMManager will own it (if it wants).
10241 * test/nm-tool.c: Rewrite using libnm-glib.
10243 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10244 We get signalled when it changes.
10246 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10249 * libnm-glib/nm-device.c: Cache the device state property.
10251 * libnm-glib/nm-access-point.c: Cache the strength property.
10253 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10254 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10255 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10256 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10257 the device is down, activating, or activated (in case of A/B/G cards).
10258 Remove some old dead ifdef'ed out code that used to configure wireless devices,
10259 it's all done through supplicant now.
10261 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10262 counting issues with pending calls which caused leaks and crashes when
10263 interface was removed (now that the interface actually gets removed).
10265 * src/nm-call-store.c: Make a copy of data before running a foreach
10266 with user callback on it - The most common usage pattern is to cancel
10267 (and thus remove) all pending calls with foreach which would modify
10268 the hash table we're iterating over.
10270 * src/nm-manager.c: When a device is added, make sure it is "up". When
10271 it's removed or disabled due to disabling wireless or networking, bring
10274 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10276 * src/nm-device-802-11-wireless.c:
10277 * src/nm-device-802-3-ethernet.c:
10279 - Remove "init" virtual function, all gobjects have a place for that
10280 already (constructor).
10281 - Replace "start" virtual function with "bring_up", devices can be
10282 brought up and down more than just on startup now.
10283 - Add "is_up" virtual function.
10284 - Implement one way to bring a device down instead of previous 4 different
10285 ways, each of witch did something different.
10287 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10288 all it needs is the device interface.
10290 Get rid of NMData.dev_list (3 members to go).
10291 Get rif of NMData in a lot of places.
10293 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10295 2007-02-23 Dan Williams <dcbw@redhat.com>
10297 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10299 * src/NetworkManagerAP.c
10300 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10301 OR-ing rather than AND-ing
10303 2007-02-20 Tambet Ingo <tambet@ximian.com>
10305 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10306 "network-removed" signals.
10308 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10310 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10311 when receiving the signal from dbus.
10313 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10316 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10317 deactivation of the previously activated device working again.
10319 * src/nm-activation-request.c: Remove NMActStage property and it's getter
10322 * src/nm-device.c (nm_device_is_activated): Remove.
10323 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10325 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10326 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10327 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10328 NM_DBUS_SIGNAL_STATE_CHANGE signal.
10329 Remove NMNetworkStatus and NMActStage enums.
10331 2007-02-19 Tambet Ingo <tambet@ximian.com>
10333 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10334 Handle device state changes and disconnect VPN if it's device deactivates.
10336 * src/nm-dbus-nm.c:
10337 * src/nm-dbus-nm.h:
10338 * src/nm-dbus-device.c:
10339 * src/nm-dbus-device.c:
10340 * src/nm-dbus-net.c:
10341 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10343 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10345 * src/nm-device.c (nm_device_get_by_udi):
10346 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10347 implemented in the correct location (NMManager).
10348 Rip out all the test_device stuff.
10350 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10351 failure handlers, it's all done by NMDevice already.
10353 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10354 Remove the iochannel hack to route the unix signals to the main thread since
10355 we're not threaded anymore.
10357 * src/NetworkManagerAP.c: Implement HWAddress property.
10359 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10360 automatically with dbus-glib.
10362 * src/nm-netlink-monitor.c:
10363 * src/nm-netlink-monitor.h:
10364 - Move it low in the class hierarchy, don't reference any NM types.
10365 - Remove private data from the header.
10366 - Use type safe checks in public API methods.
10367 - Make it a singleton so we don't have to pass the single reference around.
10369 2007-02-16 Tambet Ingo <tambet@ximian.com>
10371 * introspection/nm-ip4-config.xml: Implement.
10373 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10375 * libnm-glib/nm-ip4-config.c:
10376 * libnm-glib/nm-ip4-config.c: Implement.
10378 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10379 securities. APs reference security.
10381 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10382 be exported over DBUS.
10384 * src/nm-device-802-3-ethernet.c: Ditto.
10386 * src/NetworkManagerAP.c:
10387 * src/NetworkManagerAP.h:
10388 - Convert to GObject, export over DBUS.
10390 * src/nm-ip4-config.h:
10391 * src/nm-ip4-config.h:
10392 - Convert to GObject, export over DBUS.
10394 2007-02-12 Dan Williams <dcbw@redhat.com>
10396 Patch from Helmut Schaa <hschaa@suse.de>
10398 * vpn-daemons/pptp/configure.in
10399 vpn-daemons/pptp/Makefile.am
10400 vpn-daemons/openvpn/configure.in
10401 vpn-daemons/openvpn/Makefile.am
10402 vpn-daemons/vpnc/configure.in
10403 vpn-daemons/vpnc/Makefile.am
10404 - Add --without-gnome switch which disables building gnome bits
10406 2007-02-12 Tambet Ingo <tambet@ximian.com>
10408 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10410 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10412 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10415 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10417 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10419 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10422 - Remove old low-level dbus interface implementations and replace them
10423 with dbus-glib one.
10426 - Require dbus-glib >= 0.72.
10427 - Plug in new sources to build.
10430 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10431 to make it more convenient to use from GObject based programs.
10434 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10436 2007-02-09 Tambet Ingo <tambet@ximian.com>
10438 * src/nm-device-802-11-wireless.c:
10439 - Add "network-added" and "network-removed" signals.
10440 - Use gobject boilerplate macros to define the GObject.
10441 - Implement wireless device activation.
10442 - Remove activation_failure_handler and activation_success_handler
10443 and instead listen on state-changed signals and run the same code
10447 - Implment NMDeviceInterface::deactivate.
10448 - Remove activation_failure_handler and activation_success_handler
10449 virtual methods. Each device which is interested in these events
10450 can just listen on it's state changed signals.
10452 * src/NetworkManagerPolicy.c:
10453 - Move a bit more NMData usage to NMManager.
10454 - Remove activation scheduling bits.
10455 - Add listeners for wireless device's "network-added" and
10456 "network-removed" signals.
10457 - Listen device changed signals and deactivate currently activated
10458 device when another device start activating (for now).
10459 - Remove (nm_policy_schedule_device_change_check): There's never a need
10460 for calling this, the policy code knows exactly when this should happen,
10461 by listening on events from NMManager and NMDevices.
10463 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10466 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10467 method on the specific device instead of going to through policy code
10468 and determining the device type by passed in AP's existance.
10470 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10471 abstract NMDevice deactivation.
10473 2007-02-08 Tambet Ingo <tambet@ximian.com>
10475 * src/NetworkManager.c:
10476 - Set up all the shiny new managers.
10478 * src/NetworkManagerPolicy.c:
10479 - Add the beginnings of new NMPolicy code. Instead of requireing all
10480 classes to call into policy code, make the policy code kind of like
10481 a supervisor that monitors what's going on and drives the whole NM.
10483 * src/nm-hal-manager.c:
10484 * src/nm-hal-manager.h:
10485 - Collect all libhal code scattered around NM to this one class.
10486 - Listen libhal and NMManager events and add/remove devices to
10489 * src/nm-manager.c:
10490 * src/nm-manager.h:
10491 - Implment a replacement for NMData. NMData is now officially
10494 2007-02-05 Tambet Ingo <tambet@ximian.com>
10496 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10497 * src/supplicant-manager/nm-supplicant-interface.h
10498 * src/supplicant-manager/nm-supplicant-interface.c
10499 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10500 argument to boolean from enum.
10502 Make NMDevice abstract class, remove almost all references to it's
10503 subclasses (the last place gets removed with new policy manager). Add
10504 NMDeviceInterface (which NMDevice implements) so that when we have
10505 NMDevice exported over DBUS, there's a common NMDevice interface which
10506 all instances have, plus there's a device specific interface for each
10508 Remove functions (nm_device_is_802_3_ethernet) and
10509 (nm_device_is_802_11_wireless). There are already standard GObject macros
10510 for type safe checks.
10511 Use the updated supplican manager API.
10513 * src/nm-device-interface.h:
10514 * src/nm-device-interface.c:
10515 * src/nm-call-store.h:
10516 * src/nm-call-store.c: Implement.
10518 * src/supplicant-manager/nm-supplicant-interface.c:
10519 * src/supplicant-manager/nm-supplicant-interface.h:
10520 * src/supplicant-manager/nm-supplicant-manager.c:
10521 * src/supplicant-manager/nm-supplicant-manager.h:
10522 - Remove all private data type references from public header files.
10523 - Remove all references to other NM classes, this class is just a
10524 proxy between wpa_supplicant and NM so it doesn't have to know
10526 - Convert to dbus-glib bindings.
10527 - Type safe checks for public methods' arguments.
10528 - Store pending DBUS call ids to NMCallStore.
10530 * src/supplicant-manager/nm-supplicant-config.c:
10531 - Store config values in a GHashTable instead of GSList.
10533 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10535 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10538 * src/nm-device.c: Use the new DHCP manager API.
10540 * src/nm-activation-request.c:
10541 * src/nm-activation-request.h:
10542 - Remove all dhcp related properties and methods.
10544 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10546 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10548 * src/dhcp-manager/nm-dhcp-manager.c:
10549 * src/dhcp-manager/nm-dhcp-manager.h:
10550 - Convert it to GObject since we need to signal state changes.
10551 - Remove all references to other NM classes, this class is one
10552 of the lowest classes in our hierarchy.
10553 - One less class to use NMActRequest.
10554 - Make it singleton, one less user of NMData.
10555 - Remove a couple of sleep() calls.
10556 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10557 One less class to use the NM's custom tailored signal handlig.
10559 * Makefile.am: Generate marshallers, add them to build.
10561 2007-02-02 Dan Williams <dcbw@redhat.com>
10567 - Remove last bits referencing gnome applet
10569 2007-02-02 Dan Williams <dcbw@redhat.com>
10571 * src/vpn-manager/nm-vpn-service.c
10572 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10573 and NBNS server addresses
10575 2007-02-02 Tambet Ingo <tambet@ximian.com>
10577 * src/nm-dbus-manager.c:
10578 * src/nm-dbus-manager.h:
10579 - Convert all internal DBUS code to use dbus-glib bindings.
10580 - Remove GObject properties, we don't need them here.
10581 - Don't explicitly set things to NULL after freeing, glib is
10582 happy to do it if asked nicely (G_DEBUG=gc-friendly).
10583 - Make public API argument checks type safe.
10584 - Remove unnecessary (and wrong) cast to GObject for the first
10585 argument to g_signal_* calls - The first argument is a gpointer.
10586 - Export DBusGConnection to other cool classes that (are going to)
10589 2007-01-26 Dan Williams <dcbw@redhat.com>
10591 * libnm-util/dbus-dict-helpers.c
10592 libnm-util/dbus-dict-helpers.h
10593 - Coordinate style with wpa_supplicant version to minimize diff
10594 - Add uint32 array support
10595 - (nmu_dbus_dict_append_uint32_array): new function
10596 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10597 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10598 version; allow adding string array elements individually
10600 * test/libnm-util/test-dbus-dict-helpers.c
10601 - Test uint32 arrays
10603 2007-01-27 Jürg Billeter <j@bitron.ch>
10605 * src/backends/NetworkManagerPaldo.c
10606 - (nm_system_update_dns): clear nscd hosts cache
10608 2007-01-04 Dan Williams <dcbw@redhat.com>
10610 Threading removal related cleanups:
10612 - Use the glib default main context. Remove the device main context
10613 member from NMDevice, and the main_context member from NMData. Change
10614 all the idle and timeout scheduler functions to use plain
10615 g_idle_add() and g_timeout_add().
10617 - As a side-effect of the first change, nm_dbus_manager_get() no longer
10618 takes an argument; fix that up too.
10620 - Remove all locking, which is useless since we no longer use threads. For
10621 example, nm_get_device_by_iface_locked() has been removed. The global
10622 device list lock, the AP List lock, and all static locks in
10623 NetworkManagerPolicy.c have been removed. The locking utility functions
10624 in NetworkManagerUtils.c have also been removed.
10626 - Other cleanups in spacing and code style
10628 2007-01-01 Dan Williams <dcbw@redhat.com>
10630 Found by Bill Moss:
10632 * src/supplicant-manager/nm-supplicant-interface.c
10633 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10634 the supplicant interface wasn't already disconnected. Always
10635 call removeNetwork and disconnect unless the supplicant interface
10636 is in the DISCONNECTED or INACTIVE state.
10638 2006-12-28 Dan Williams <dcbw@redhat.com>
10640 Use a single thread for everything. With the move to wpa_supplicant
10641 and communication over D-Bus, there's no reason for multiple threads.
10642 Almost all of the blocking code has been removed, with one exception in
10643 the DHCP manager and a few in the VPN manager. This commit removes the
10644 per-device worker thread and fixes activation cancellation in the absence
10645 of threads. Further removal of thread-related code would be removing
10646 any locking code (like the device list lock) and simplification of logic
10647 around areas of code or data structures that are currently locked.
10650 dhcp-manager/nm-dhcp-manager.c
10651 nm-device-802-11-wireless.c
10652 nm-device-802-3-ethernet.c
10655 - Remove usage of multiple threads
10657 2006-12-19 Dan Williams <dcbw@redhat.com>
10659 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10660 plus a few other patches from wpa_supplicant bugzilla.
10663 src/NetworkManagerPolicy.c
10664 src/NetworkManagerUtils.c
10665 src/NetworkManagerUtils.h
10666 src/nm-ap-security-leap.c
10667 src/nm-ap-security-wep.c
10668 src/nm-ap-security-wpa-eap.c
10669 src/nm-ap-security-wpa-psk.c
10670 src/nm-ap-security.c
10671 src/nm-ap-security.h
10672 src/nm-device-802-11-wireless.c
10673 src/nm-device-802-11-wireless.h
10674 src/supplicant-manager/nm-supplicant-config.c
10675 src/supplicant-manager/nm-supplicant-config.h
10676 src/supplicant-manager/nm-supplicant-interface.c
10677 src/supplicant-manager/nm-supplicant-interface.h
10678 src/supplicant-manager/nm-supplicant-marshal.list
10679 src/supplicant-manager/nm-supplicant-settings-verify.c
10680 src/supplicant-manager/nm-supplicant-settings-verify.h
10681 - Move all connection management and association handling to
10682 wpa_supplicant over dbus, rather than spawning a private copy
10684 2006-12-19 Dan Williams <dcbw@redhat.com>
10686 * src/NetworkManagerPolicy.c
10687 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10688 better locking of the device change check handler ID. Incorrect
10689 locking was causing lost device change requests
10691 2006-12-18 Dan Williams <dcbw@redhat.com>
10693 * libnm-util/dbus-dict-helpers.c
10694 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10695 _nmu_dbus_dict_entry_get_byte_array): replace usage of
10696 dbus_message_iter_get_array_len() (Gnome.org #382898)
10698 2006-12-18 Dan Williams <dcbw@redhat.com>
10700 * gnome/libnm_glib/libnm_glib.c
10701 - Change dbus_connection_close() -> dbus_connection_unref()
10703 2006-12-11 Dan Williams <dcbw@redhat.com>
10705 * src/supplicant-manager/nm-supplicant-interface.c
10706 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10707 wpa_supplicant interface state
10708 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10709 state before transitioning to READY state
10711 2006-12-04 Dan Williams <dcbw@redhat.com>
10713 * src/nm-device-802-11-wireless.c
10714 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10715 odd length of ESSID returned from ieee80211 stack-based drivers
10717 2006-12-04 Dan Williams <dcbw@redhat.com>
10719 * src/nm-device-802-11-wireless.c
10720 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10721 IE handling blocks that cause mis-parsing of the IE
10723 2006-12-04 Dan Williams <dcbw@redhat.com>
10725 * src/nm-device-802-11-wireless.c
10726 - (init_supplicant_interface): new function; pull supplicant interface
10727 setup code out into standalone function since it must be called from
10728 two different places
10729 - (real_init): sup_mgr is now in private object data; get and track
10730 the supplicant manager object over the NMDevice subclass' lifetime
10731 and register a signal handler for its state signals; only try to
10732 initialize the supplicant interface if the supplicant manager is in
10733 the IDLE state (and therefore is ready for requests)
10734 - (request_wireless_scan): reschedule the scan request if (a) there is
10735 no supplicant interface yet (meaning wpa_supplicant isn't running
10736 or isn't ready yet), or (b) if the supplicant interface isn't ready
10738 - (supplicant_iface_connection_state_cb): new function; stub for
10739 handling supplicant interface connection state signals
10740 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10742 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10743 supplicant manager object that's being tracked starting with this
10746 2006-12-04 Dan Williams <dcbw@redhat.com>
10748 * src/supplicant-manager/nm-supplicant-interface.c
10749 - (nm_supplicant_interface_set_property): track signal handler ID
10750 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10752 2006-12-04 Dan Williams <dcbw@redhat.com>
10754 * src/supplicant-manager/nm-supplicant-interface.[ch]
10755 - (nm_supplicant_interface_get_state): new function
10757 2006-12-04 Dan Williams <dcbw@redhat.com>
10759 * src/supplicant-manager/nm-supplicant-interface.c
10760 - (bssid_properties_cb): don't treat DBus errors as valid
10761 scanned AP messages
10763 2006-12-04 Dan Williams <dcbw@redhat.com>
10765 * src/supplicant-manager/nm-supplicant-interface.[ch]
10766 - (nm_supplicant_interface_get_connection_state): new function
10767 - define new supplicant connection states
10768 - send a signal when the supplicant connection state changes
10770 2006-12-03 Dan Williams <dcbw@redhat.com>
10772 * src/supplicant-manager/Makefile.am
10773 src/supplicant-manager/nm-supplicant-connection.h
10774 src/supplicant-manager/nm-supplicant-connection.c
10775 src/supplicant-manager/nm-supplicant-config.h
10776 src/supplicant-manager/nm-supplicant-config.c
10777 src/supplicant-manager/nm-supplicant-types.h
10778 src/supplicant-manager/nm-supplicant-interface.h
10779 src/supplicant-manager/nm-supplicant-interface.c
10780 - Rename NMSupplicantConnection -> NMSupplicantConfig
10782 2006-12-03 Dan Williams <dcbw@redhat.com>
10784 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
10788 - Move VPN-related translatables to .skip
10790 * vpn-daemons/pptp/po/POTFILES.in
10791 - Update with new translatables
10793 2006-12-02 Dan Williams <dcbw@redhat.com>
10795 Patch from Christian Persch <chpe@gnome.org>
10797 * gnome/applet/Makefile.am
10798 gnome/applet/applet-dbus-devices.c
10799 gnome/applet/applet-notifications.c
10800 gnome/applet/applet.c
10801 gnome/applet/applet.h
10802 gnome/applet/main.c
10803 - Be a GtkStatusIcon on GTK+ >= 2.10
10805 2006-12-02 Dan Williams <dcbw@redhat.com>
10807 * gnome/applet/applet.c
10808 - (nma_update_info): fix two unecessary allocations
10810 2006-12-02 Dan Williams <dcbw@redhat.com>
10812 Patch from Michael Biebl <biebl@teco.edu>
10814 man/NetworkManager.1.in
10815 man/NetworkManagerDispatcher.1.in
10816 man/NetworkManager.8.in
10817 man/NetworkManagerDispatcher.8.in
10818 - Add .SH NAME stanzas
10819 - Move NM & NM Dispatcher manpages to section 8 (admin)
10821 2006-12-02 Dan Williams <dcbw@redhat.com>
10823 Patch from Christian Persch <chpe@gnome.org>
10826 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10828 2006-11-29 Tambet Ingo <tambet@ximian.com>
10830 Patch by Timo Hoenig <thoenig@suse.de>:
10831 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10834 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10835 we can't use the one from the main source directory.
10837 2006-11-27 Dan Williams <dcbw@redhat.com>
10839 Patch from Christian Persch <chpe@gnome.org>
10841 * gnome/applet/applet-dbus-devices.c
10842 - (hal_info_product_cb): fix memleak; free duped string.
10845 2006-11-27 Dan Williams <dcbw@redhat.com>
10847 Patch from Christian Persch <chpe@gnome.org>
10849 * gnome/applet/menu-items.c
10850 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10851 as gtk_progress_set_percentage is deprecated. Should
10852 work as far back as GTK+ 2.4. Gnome.org #379780
10854 2006-11-26 Dan Williams <dcbw@redhat.com>
10856 Scan using wpa_supplicant over DBus.
10858 * src/nm-device-802-11-wireless.c
10859 - remove wireless extensions netlink event handler bits
10860 (wireless_event_helper, nm_device_802_11_wireless_event)
10861 - remove wireless extensions scan event handler bits
10862 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10863 hex2byte, hex2num, request_and_convert_scan_results,
10864 free_process_scan_cb_data, scan_results_timeout,
10865 schedule_scan_results_timeout, cancel_scan_results_timeout)
10866 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10867 and request scans from the supplicant interface rather than directly
10868 - Move functionality of convert_scan_results() to cull_scan_list() and
10869 supplicant_iface_scanned_ap_cb()
10870 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10871 at the scan interval when the current scan has finished
10872 - (supplicant_iface_state_cb): start scanning when the supplicant
10873 interface enters the READY state, and stop scanning when it
10874 enters the DOWN state
10875 - (cull_scan_list): weed out old access points from the scan list
10876 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10877 point into an NMAccessPoint and merge it into the device's scan list
10879 * src/supplicant-manager/nm-supplicant-interface.c
10880 src/supplicant-manager/nm-supplicant-interface.h
10881 - Add a new signal "scan-result" which is issued when the supplicant
10882 notifies NM that a scan has completed
10883 - Add a new signal "scanned-ap" that notifies listeners of a new access
10884 point found in the scan. Called once for each access point that
10885 the supplicant interface object receives from the supplicant as a
10886 result of the "scanResults" method call
10887 - (wpas_iface_query_scan_results): don't wait 4s before querying
10888 for the initial scan results
10889 - (scan_request_cb): new function; send listeners the result
10890 (success, error) of a wireless scan request
10891 - (nm_supplicant_interface_request_scan): new function; ask the
10892 supplicant to perform an immediate wireless scan
10894 2006-11-25 Dan Williams <dcbw@redhat.com>
10896 * src/supplicant-manager/Makefile.am
10897 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10898 add HAL cflags/includes and named-manager includes directory
10900 * src/supplicant-manager/nm-supplicant-interface.h
10901 - New state STARTING to handle transition from INIT to READY where
10902 the addInterface pending call is still outstanding
10904 * src/supplicant-manager/nm-supplicant-interface.c
10905 - track pending calls differently since we may have more than one
10906 going on at any given time
10907 - request scan results from wpa_supplicant; but don't do it more often
10908 than every 4 seconds. Drivers that do background scanning
10909 (like the 'ipw' drivers) send a continuous stream of scan completion
10910 notifications, so we don't want to hammer the supplicant or dbus
10911 with requests for all scan results every time we get a completion
10914 2006-11-25 Dan Williams <dcbw@redhat.com>
10916 * src/supplicant-manager/nm-supplicant-types.h
10917 - new file; move all supplicant manager object typedefs here for
10920 * src/supplicant-manager/nm-supplicant-interface.c
10921 src/supplicant-manager/nm-supplicant-interface.h
10922 - new file; an object that interfaces an NMDevice object to the
10923 supplicant and handles signals from the supplicant. This object
10924 does all necessary DBus communication with wpa_supplicant.
10926 * src/supplicant-manager/nm-supplicant-manager.c
10927 src/supplicant-manager/nm-supplicant-manager.h
10928 - Actually do something. Track the state of the wpa_supplicant service
10929 and deal with its comings & goings. Handle life events of
10930 supplicant interfaces too.
10931 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10933 * src/supplicant-manager/nm-supplicant-connection.h
10934 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10936 * src/supplicant-manager/Makefile.am
10937 - Add new files to build, and add libnm-util to includes
10939 * src/nm-marshal.list
10940 - New marshaler type: VOID:UINT,UINT
10942 * src/nm-device-802-3-ethernet.c
10943 - (real_init): grab a supplicant interface
10944 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10945 - (supplicant_iface_state_cb): new function, stub for handling
10946 supplicant interface state changes
10948 * src/nm-device-802-11-wireless.c
10949 - (real_init): grab a supplicant interface
10950 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10951 - (supplicant_iface_state_cb): new function, stub for handling
10952 supplicant interface state changes
10954 * src/NetworkManager.c
10955 - (main): create and keep the supplicant manager around for the lifetime
10959 - Link to the supplicant manager sub-library and use the supplicant
10962 2006-11-25 Dan Williams <dcbw@redhat.com>
10964 Rework DBus manager signal handling to be more flexible. Previously,
10965 only one signal handler could be registered for a particular interface.
10966 The DBus manager now reference counts DBus bus matches and allows multiple
10967 clients to register signal handlers for the same interface and sender.
10969 * src/NetworkManager.c
10970 - (main): track NMI signal handler ID and remove it when we quit
10972 * src/NetworkManagerMain.h
10973 - Keep track of NMI signal handler ID
10975 * src/nm-dbus-manager.c
10976 src/nm-dbus-manager.h
10977 - rework signal handling; each signal handler references one signal
10978 match, but a signal match may be referenced by one or more
10979 signal handlers. Matches are refcounted and are destroyed when the
10980 last signal handler that references the match is removed. This is
10981 necessary because two signal handlers may end up requiring the same
10982 dbus bus match, so the match must live until the last signal handler
10983 is destroyed (for example, with the wpa_supplicant network interface
10986 * src/dhcp-manager/nm-dhcp-manager.c
10987 - (nm_dhcp_manager_new): track DHCP signal handler id
10988 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10990 * src/vpn-manager/nm-vpn-service.c
10991 - (nm_vpn_service_add_watch): track VPN service signal handler id
10992 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10994 2006-11-25 Dan Williams <dcbw@redhat.com>
10996 Suggested by Helmut Schaa <hschaa@suse.de>
10998 * src/vpn-daemons/nm-vpn-service.c
10999 - (supplicant_child_setup): new function
11000 - (supplicant_exec): make child process use a new process group id
11002 * src/nm-device-802-11-wireless.c
11003 - (nm_vpn_service_child_setup): new function
11004 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11007 2006-11-19 Dan Williams <dcbw@redhat.com>
11009 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
11010 * gnome/vpn-properties/nm-vpn-properties.c
11011 - clean up after renamed VPN connection
11013 2006-11-19 Dan Williams <dcbw@redhat.com>
11015 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
11016 * gnome/applet/applet-dbus-vpn.c
11017 - (nma_dbus_vpn_properties_cb): sort VPN connections
11019 * gnome/vpn-properties/nm-vpn-properties.c
11020 - (init_app): sort VPN connections
11022 2006-11-09 Dan Williams <dcbw@redhat.com>
11024 * src/NetworkManagerAPList.c
11025 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11026 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11027 from the nm_ap_list_get_ap_by_address() call was incorrect and
11028 broke hidden SSID matching. Found by Bill Moss.
11030 2006-10-25 Dan Williams <dcbw@redhat.com>
11033 - (nm_dbus_nm_set_active_device): return an empty success message on
11034 success, rather than falling through to the error case.
11036 2006-10-25 Dan Williams <dcbw@redhat.com>
11038 * src/NetworkManagerUtils.c
11039 - (nm_utils_supplicant_request_with_check): suppress messages for the
11042 2006-10-24 Dan Williams <dcbw@redhat.com>
11044 Reduce the number of times the Gnome applet wakes up, especially when
11045 it's doing absolutely nothing and is hidden. Initial patch by
11048 * gnome/applet/applet-dbus.c
11049 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11050 kill the redraw timeout. When NM starts up, start the redraw
11051 timeout. Also, if we get kicked off the bus for some reason,
11052 start the reconnection timeout if one's not already running.
11053 - (nma_dbus_init): better handling of error conditions, don't leak
11054 a half-initialized dbus connection
11055 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11056 the applet's data, just call nm_dbus_init_helper()
11057 - (nma_start_dbus_connection_watch): new function, starts a periodic
11058 timeout that calls nma_dbus_connection_watcher()
11059 - (nma_dbus_init_helper): if we get a successful connection, kill the
11060 reconnection timeout, and don't start the reconnection timeout
11061 unconditionally anymore
11063 * gnome/applet/applet-dbus.h
11064 - Expose nma_start_dbus_connection_watch()
11066 * gnome/applet/applet.c
11067 - (nma_update_state): no longer static, called from applet-dbus.c for
11068 immediate UI updates on certain events
11069 - (nma_set_running): new function; take over setting applet->running,
11070 when not running (ie, NM is not active), don't activate the redraw
11071 timeout because we're not showing the applet anyway. When we are
11072 running (ie, NM is active), and only when we're running, start the
11074 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11075 kill any reconnection timeout
11076 - (nma_get_instance): move one-off dbus initialization code here since
11077 nm_dbus_init_helper() gets called more than once, possibly by the
11078 reconnection timeout function too. And, when we start up, if we
11079 can't get a connection to the bus, start the reconnection timeout.
11080 But don't start the redraw timeout yet, only do that when we get
11081 NM's state and find out if it's running or not.
11083 * gnome/applet/applet.h
11084 - Add the reconnection GSource ID
11085 - Add prototypes for nma_set_running() and the no-longer-static
11088 2006-10-24 Dan Williams <dcbw@redhat.com>
11090 * src/vpn-daemons/nm-dbus-vpnc.c
11091 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11092 pending call tracker
11093 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11094 pending call tracker; register one-vpn-connection update pending
11095 call in pending call tracker
11096 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11097 update pending call in pending call tracker
11098 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11099 update pending call in pending call tracker; don't block waiting
11102 2006-10-19 Robert Love <rml@novell.com>
11104 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11107 2006-10-14 Dan Williams <dcbw@redhat.com>
11109 * src/dhcp-manager/nm-dhcp-manager.c
11110 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11111 the dbus connection and the device object path rather than
11112 constructing it inside both functions. Saves a bit of memory
11113 and clarifies a failure path.
11114 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11115 and allocate device path here rather than each of the two
11118 2006-10-13 Dan Williams <dcbw@redhat.com>
11120 * src/NetworkManager.c
11121 - (nm_name_owner_changed_handler): handle NMI coming and going,
11122 this somehow droppout in the refactor
11124 2006-10-13 Dan Williams <dcbw@redhat.com>
11126 * Huge DBus refactor:
11127 - Create a "DBus Manager" object which manages the connection and
11128 sends signals on NameOwnerChanged and connection/disconnection events,
11129 handles reconnection to the bus if NM gets kicked off, and abstracts
11131 - Remove DBusConnection members from places where they are no
11132 longer needed due to the refactor, like the dbus-connection
11133 property of the named manager, and from NMData
11134 - Reformats a bunch of the code to gnome style
11135 (8-space tabs, braces on same line as statement, 80-col width).
11136 Consider it open season to reformat any bits to gnome style.
11137 style that aren't already.
11139 2006-10-13 Dan Williams <dcbw@redhat.com>
11141 * src/supplicant-manager/Makefile.am
11144 * src/supplicant-manager/nm-supplicant-manager.[ch]:
11145 - Make it a minimal GObject
11147 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
11148 - Verify settings destined for wpa_supplicant
11150 * src/supplicant-manager/nm-supplicant-connection.[ch]:
11151 - Minimal GObject to track wpa_supplicant controlled device
11154 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
11156 * gnome/applet/applet.c: (nma_update_info),
11157 (nma_act_stage_to_pixbuf), (nma_update_state):
11158 Mark missing strings for translation. Fixes bug #343306.
11160 2006-10-01 Dan Williams <dcbw@redhat.com>
11162 * src/vpn-manager/nm-vpn-manager.c
11163 - (nm_vpn_manager_load_services): split and clean up
11164 for readability and correctness. Restrict VPN service
11165 files to ending in ".name", as was meant from the
11166 beginning (but not coded in). Better error reporting.
11168 2006-10-01 Dan Williams <dcbw@redhat.com>
11171 - Clean up formatting of debug/info/warning log messages
11173 2006-09-27 Robert Love <rml@novell.com>
11175 Patch by Tambet Ingo <tambet@ximian.com>:
11176 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11179 2006-09-07 Dan Williams <dcbw@redhat.com>
11182 test/libnm-util/Makefile.am
11183 test/nm-supplicant-test.c
11184 - Add test program emulating the way NM drives wpa_supplicant
11185 to help debug supplicant issues
11187 2006-08-24 Dan Williams <dcbw@redhat.com>
11191 src/supplicant-manager/Makefile.am
11192 src/supplicant-manager/nm-supplicant-manager.c
11193 src/supplicant-manager/nm-supplicant-manager.h
11194 - Add skeleton bits of the wpa_supplicant manager
11196 2006-08-24 Dan Williams <dcbw@redhat.com>
11198 Patch from Ed Catmur:
11199 * src/NetworkManagerUtils.c
11200 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11201 if netmask is 0 (Gnome #352634)
11203 2006-08-17 Robert Love <rml@novell.com>
11205 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11206 package is now DBUS-enabled and listens for the NM signals.
11208 2006-08-14 Dan Williams <dcbw@redhat.com>
11210 * Patch from Christian Persch <chpe gnome org>
11213 vpn-daemons/openvpn/po/LINGUAS
11214 vpn-daemons/openvpn/configure.in
11215 vpn-daemons/pptp/po/LINGUAS
11216 vpn-daemons/pptp/configure.in
11217 vpn-daemons/vpnc/po/LINGUAS
11218 vpn-daemons/vpnc/configure.in
11219 - Convert to LINGUAS method so translators don't have to modify
11220 configure.in, just stuff in po/. Gnome #343132, requires intltool
11223 2006-08-14 Dan Williams <dcbw@redhat.com>
11225 Patch from Alex Smith <alex.extreme2@gmail.com>
11227 src/backends/Makefile.am
11228 src/backends/NetworkManagerFrugalware.c
11229 - Add support for Frugalware
11231 2006-08-13 Dan Williams <dcbw@redhat.com>
11233 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11234 * src/nm-device-802-11-wireless.c
11235 - (supplicant_exec): spawn wpa_supplicant without debug spew
11238 2006-08-13 Dan Williams <dcbw@redhat.com>
11240 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11241 * src/nm-ap-security.c
11242 src/nm-ap-security.h
11243 - Add authentication_required bits for subclasses to specify whether
11244 or not real authentication is required for connections, i.e. whether
11245 the AP rejects us when an encryption key is wrong or not.
11247 * src/nm-ap-security-wep.c
11248 src/nm-ap-security-wpa-eap.c
11249 src/nm-ap-security-wpa-psk.c
11250 src/nm-ap-security-leap.c
11251 - Implement authentication_required appropriately for each method
11253 * src/nm-device-802-11-wireless.c
11254 - Be smarter about when to request a key; for example, using a wrong key
11255 in WEP shared key mode previously just timed out and did not request
11258 2006-08-13 Dan Williams <dcbw@redhat.com>
11260 * gnome/libnm_glib/libnm_glib.c
11261 - dbus_connection_disconnect() -> dbus_connection_close() for
11264 2006-08-07 Dan Williams <dcbw@redhat.com>
11266 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11267 * src/NetworkManagerSystem.c
11268 - Respect specified MTU. Gnome #344967
11270 2006-08-07 Dan Williams <dcbw@redhat.com>
11272 * src/vpn-manager/nm-vpn-service.c
11273 - Simplify print_vpn_config() arguments
11275 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11276 * src/vpn-manager/Makefile.am
11277 src/vpn-manager/nm-vpn-service.c
11278 - Add new API for passing VPN config options as a dict. Gnome #344967
11280 2006-08-06 Dan Williams <dcbw@redhat.com>
11282 * gnome/applet/applet-dbus-devices.c
11283 gnome/applet/applet-dbus-vpn.c
11284 gnome/applet/applet-dbus.c
11285 gnome/applet/applet-dbus.h
11289 - Make pending call tracking code generic,
11290 so we can use it in NM as well as the applet
11292 2006-08-06 Dan Williams <dcbw@redhat.com>
11294 * src/nm-activation-request.c
11295 - Refcount pending call objects
11297 2006-08-06 Dan Williams <dcbw@redhat.com>
11299 Patch from Christan Chiesa <christanc@gmail.com>
11301 - Tell sha1.c to use bigendian mode on PPC
11303 2006-08-04 Robert Love <rml@novell.com>
11305 Glib Memory Slices!
11306 * configure.in: Require glib 2.10 or later.
11307 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11308 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11309 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11310 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11311 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
11312 Memory Slices are the greatest thing since bread slices.
11313 * src/NetworkManagerAP.c: Also, fix memory leak.
11315 2006-08-01 Robert Love <rml@novell.com>
11317 * gnome/applet/main.c: Shutdown all VPN connections on logout.
11319 2006-07-31 Robert Love <rml@novell.com>
11321 * src/backends/interface_parser.c: Declarations must begin the block.
11323 2006-07-24 Dan Williams <dcbw@redhat.com>
11325 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11326 * src/backends/Makefile.am
11327 src/backends/NetworkManagerArch.c
11328 src/backends/NetworkManagerDebian.c
11329 src/backends/NetworkManagerGeneric.c
11330 src/backends/NetworkManagerGeneric.h
11331 src/backends/NetworkManagerGentoo.c
11332 src/backends/NetworkManagerPaldo.c
11333 src/backends/NetworkManagerRedHat.c
11334 src/backends/NetworkManagerSlackware.c
11335 src/backends/NetworkManagerSuSE.c
11336 - Genericize common backend functions
11338 2006-07-18 Robert Love <rml@novell.com>
11340 * configure.in: Add "--with-notify" option to allow disabling of
11343 2006-07-13 Dan Williams <dcbw@redhat.com>
11345 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11346 * gnome/applet/applet.glade
11347 gnome/applet/Makefile.am
11348 gnome/applet/nm-gconf-wso.c
11349 gnome/applet/nm-gconf-wso-leap.c
11350 gnome/applet/nm-gconf-wso-leap.h
11351 gnome/applet/wireless-security-manager.c
11352 gnome/applet/wso-leap.c
11353 gnome/applet/wso-leap.h
11354 include/NetworkManager.h
11355 libnm-util/dbus-helpers.c
11356 libnm-util/dbus-helpers.h
11358 src/NetworkManagerAP.c
11359 src/nm-ap-security.c
11360 src/nm-ap-security-leap.c
11361 src/nm-ap-security-leap.h
11362 - Add LEAP authentication support
11364 2006-07-13 Dan Williams <dcbw@redhat.com>
11366 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11368 src/backends/NetworkManagerArch.c
11369 src/backends/NetworkManagerDebian.c
11370 src/backends/NetworkManagerGentoo.c
11371 src/backends/NetworkManagerPaldo.c
11372 src/backends/NetworkManagerRedHat.c
11373 src/backends/NetworkManagerSlackware.c
11374 src/backends/NetworkManagerSuSE.c
11375 - Convert hardcoding of 'ip' path to configure-time
11378 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11380 * configure.in: added ru to ALL_LINGUAS
11382 2006-07-10 Dan Williams <dcbw@redhat.com>
11384 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11386 - (real_act_stage3_ip_config_start): don't infinite loop when
11387 dhcdbd isn't running (Gnome #346845)
11389 2006-07-09 Dan Williams <dcbw@redhat.com>
11391 * gnome/applet/applet.c
11392 - (nma_destroy): don't pass NULL to notify_notification_close
11395 2006-07-09 Dan Williams <dcbw@redhat.com>
11397 * gnome/applet/applet.c
11398 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11400 2006-07-04 Tor Krill <tor@krill.nu>
11402 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11403 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11404 (nm_system_restart_mdns_responder), (ArchReadConfig),
11405 (nm_system_device_get_system_config):
11406 - Explicitly check for DHCP configuration
11407 - Check if daemons are running before starting them
11409 2006-06-25 Dan Williams <dcbw@redhat.com>
11411 * libnm-util/dbus-dict-helpers.[ch]
11412 test/libnm-util/test-dbus-dict-helpers.c
11413 - Add string array support
11415 2006-06-24 Dan Williams <dcbw@redhat.com>
11417 * src/dhcp-manager/nm-dhcp-manager.c
11418 - (nm_dhcp_manager_process_signal): clean up spacing
11420 2006-06-21 Dan Williams <dcbw@redhat.com>
11422 * src/nm-dbus-device.c
11423 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11426 2006-06-21 Raivis Dejus <orvils@gmail.com>
11428 * configure.in: Added 'lv' to ALL_LINGUAS
11430 2006-06-19 Dan Williams <dcbw@redhat.com>
11432 * src/NetworkManagerAP.c
11433 - Clarify usage of user_created
11435 * src/nm-ap-security-wep.c
11436 src/nm-ap-security-wpa-eap.c
11437 src/nm-ap-security-wpa-psk.c
11438 src/nm-ap-security.c
11439 src/nm-ap-security.h
11440 - s/user_created/adhoc, because we really do mean adhoc
11442 Patch from Bernard Blackham <bernard@blackham.com.au>
11443 * src/nm-device-802-11-wireless.c
11444 - (supplicant_send_network_config): instead of user_created,
11445 use adhoc, and do AP_SCAN 2 for adhoc networks
11447 2006-06-18 Robert Love <rml@novell.com>
11449 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11450 we have a value to set. Gconf generates a warning if `val' is NULL.
11451 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11452 unless we actually received a valid private key file passphrase or
11453 password. Otherwise, we don't know to later ask the applet to pull
11454 the key from the keyring.
11456 2006-06-17 Dan Williams <dcbw@redhat.com>
11458 * libnm-util/dbus-dict-helpers.[ch]
11459 test/libnm-util/test-dbus-dict-helpers.c
11460 - Fixes for zero-length byte arrays
11461 - Replace return values of 0 with FALSE for clarity
11462 - Test zero-length byte arrays
11464 2006-06-17 Dan Williams <dcbw@redhat.com>
11466 * libnm-util/dbus-dict-helpers.[ch]
11467 test/libnm-util/test-dbus-dict-helpers.c
11468 - Add helpers for byte arrays
11469 - Rework bits of the testcase
11471 2006-06-16 Dan Williams <dcbw@redhat.com>
11473 * libnm-util/Makefile.am
11474 * libnm-util/dbus-dict-helpers.[ch]
11475 - Add some helpers to take the pain out of using dict types in
11478 * test/libnm-util/Makefile.am
11479 * test/libnm-util/test-dbus-dict-helpers.c
11480 - Test cases for the dict helper functions
11482 2006-06-15 Robert Love <rml@novell.com>
11484 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11485 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11486 if there is no key to pass.
11487 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11488 receiving a non-NULL key.
11490 2006-06-14 Robert Love <rml@novell.com>
11492 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11496 2006-06-14 Dan Williams <dcbw@redhat.com>
11498 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11499 * src/nm-device-802-11-wireless.c
11500 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11501 or ones where the driver is unknown
11502 - (supplicant_exec): don't wait for supplicant startup here
11503 - (supplicant_interface_init): finer grained polling for supplicant
11506 2006-06-13 Robert Love <rml@novell.com>
11508 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11509 if it is currently set to TRUE. Otherwise, we will reset the value
11510 when we connect normally.
11511 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11512 the old BSSID is valid, too. The recently added ESSID check may not be
11513 sufficient (we can remove it?). What we really want to catch is the
11514 case of going from all-zeros to the BSSID of some other network, which
11515 happens on failure.
11517 2006-06-09 Dan Williams <dcbw@redhat.com>
11519 * src/NetworkManagerSystem.[ch]
11520 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11521 it was unused and pointless
11522 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11523 fix for set_up_down_with_iface change
11525 * src/vpn-manager/nm-vpn-connection.c
11526 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11528 * src/backends/NetworkManagerPaldo.c
11529 src/backends/NetworkManagerRedHat.c
11530 src/backends/NetworkManagerSuSE.c
11531 src/backends/NetworkManagerArch.c
11532 src/backends/NetworkManagerDebian.c
11533 src/backends/NetworkManagerGentoo.c
11534 - (nm_system_enable_loopback): use set_up_down_with_iface where
11536 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11539 2006-06-09 Dan Williams <dcbw@redhat.com>
11541 Patch from Peter Jones:
11542 * src/nm-device-802-11-wireless.c
11543 - (nm_device_802_11_wireless_update_bssid): make sure that the
11544 SSID hasn't changed from what we expect before automatically
11545 updating the saved BSSID from a new AP
11547 2006-06-08 Robert Love <rml@novell.com>
11549 Add 'fallback' support. NetworkManager will attempt to brute-force
11550 connect to networks marked as fallback if there are no better wireless
11551 connections available. This is useful as a method of last resort, to
11552 work around driver problems, and for use with hidden networks.
11553 * gnome/applet/applet-dbus-devices.c,
11554 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11555 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11556 pass it on via DBUS.
11557 * gnome/applet/applet.c: No fallback by default.
11558 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11559 Update other-network-dialog to add UI checkbox toggling fallback.
11560 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11561 propery from AP object. Add "fallback" property to AP object.
11562 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11563 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11564 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11565 separate function. Add get_best_fallback_ap() for returning an AP
11566 on which to attempt fallback.
11567 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11568 * test/nm-set-fallback: New file. Sets a given network as fallback.
11570 2006-06-07 Robert Love <rml@novell.com>
11572 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11573 checked that the return type was GCONF_VALUE_STRING, not the correct
11574 GCONF_VALUE_BOOL, and thus it never worked.
11575 * src/NetworkManagerAPList.c: Before concluding that two networks are
11576 identical based on their BSSID, make sure that the BSSID in question
11577 is actually valid. Specifically, an empty or all zero BSSID does not
11579 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11580 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11581 similar invariant clean up.
11583 2006-06-02 Robert Love <rml@novell.com>
11585 * gnome/applet/applet.c: Update copyright years. Add Novell.
11587 2006-05-28 Dan Williams <dcbw@redhat.com>
11589 * gnome/applet/applet.glade
11590 gnome/vpn-properties/nm-vpn-properties.glade
11591 - Set window icons on dialogs (Gnome.org #333420)
11593 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
11595 * gnome/vpn-properties/nm-vpn-properties.glade:
11596 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11597 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11598 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11599 - Make the VPN properties pages prettier and more HIG
11600 compliant. Gnome Bug #336913.
11602 2006-05-28 Dan Williams <dcbw@redhat.com>
11604 Patch from Christian Persch <chpe@gnome.org>
11605 * gnome/vpn-properties/nm-vpn-properties.c
11606 * gnome/vpn-properties/nm-vpn-properties.glade
11607 - HIG-ification love (Gnome.org #336846)
11609 2006-05-28 Dan Williams <dcbw@redhat.com>
11611 Patch from Christian Persch <chpe@gnome.org>
11613 gnome/vpn-properties/nm-vpn-properties.c
11614 - (main): Fix option parsing. Gnome.org #336847
11616 2006-05-28 Dan Williams <dcbw@redhat.com>
11618 * gnome/vpn-properties/nm-vpn-properties.c
11619 - (find_vpn_ui_by_service_name): protect against NULL service names
11620 - (update_edit_del_sensitivity): protect against NULL service names
11623 2006-05-28 Dan Williams <dcbw@redhat.com>
11625 Patch from Chris Fuller <crf@grandecom.net>:
11626 * src/nm-device-802-11-wireless.c
11627 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11628 don't dispose of wireless-specific stuff unless it is actually
11629 initialized. Gnome.org #341263
11631 2006-05-28 Dan Williams <dcbw@redhat.com>
11633 * src/NetworkManagerPolicy.c
11634 - (nm_policy_device_change_check): don't switch devices if the "best"
11635 AP is essentially the same as the current activation request, but
11636 the current activation request isn't done activating yet. Fixes
11637 multiple requests for keyring password on startup for Gnome applet.
11640 2006-05-26 Nicolas Trangez <eikke@eikke.com>
11642 * src/NetworkManager.c: use GOptions instead of getopt
11643 * configure.in: bump glib required version to >= 2.6 for GOption
11646 2006-05-25 Robert Love <rml@novell.com>
11648 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11649 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
11650 instead of dumping ifdef's throughout the code.
11651 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11652 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11653 use nm_ioctl_info() in lieu.
11655 2006-05-25 Robert Love <rml@novell.com>
11657 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11658 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11659 not using gcrypt. Otherwise, we get a linker error.
11661 2006-05-25 Robert Love <rml@novell.com>
11663 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11664 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11665 configure flag to disable building of the GNOME-based applet.
11667 2006-05-25 Robert Love <rml@novell.com>
11669 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11670 parameter from link, because it shadows a global variable with some
11671 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
11672 should never have exported to the entire system a common four letter
11673 word. But we here at NetworkManager are team players. Fixes
11676 2006-05-25 Arangel Angov <ufo@linux.net.mk>
11678 * configure.in: Added mk.po, Macedonian translation.
11680 2006-05-24 Robert Love <rml@novell.com>
11682 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11683 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11684 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11686 2006-05-24 Robert Love <rml@novell.com>
11688 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11689 libnm-util/Makefile.am, src/Makefile.am,
11690 vpn-daemons/openvpn/auth-dialog/Makefile.am,
11691 vpn-daemons/openvpn/properties/Makefile.am,
11692 vpn-daemons/pptp/auth-dialog/Makefile.am,
11693 vpn-daemons/pptp/properties/Makefile.am,
11694 vpn-daemons/vpnc/auth-dialog/Makefile.am,
11695 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11696 user passed for --datadir, if anything, when setting the GNOME locale
11697 directory. It should be a function of the specified datadir and not
11700 2006-05-24 Robert Love <rml@novell.com>
11702 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11703 src/NetworkManager.c: Take care to call bindtextdomain with the
11704 location of msgid files.
11705 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11708 2006-05-22 Robert Love <rml@novell.com>
11710 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11711 stage4_timeout on failure unless the wireless network is Ad-Hoc.
11712 99% of the time there is a real problem with wireless, and a
11713 seemingly successful connection via Zeroconf just confuses the user.
11714 And that 1% of the time the network is probably Ad-Hoc, anyhow.
11716 2006-05-22 Robert Love <rml@novell.com>
11718 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11719 autofs on interface up if NIS is configured. On interface down, do
11722 2006-05-22 Robert Love <rml@novell.com>
11724 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11725 to avoid calling g_object_unref() on stale pointers on error in
11726 nma_icons_free(). This happens because we short-circuit loaded the
11727 icons on the first failure but then free all icons. Normally we have
11728 no issue because the icons were zero'ed out malloc, but we have stale
11729 pointer data after nma_icon_theme_changed().
11730 * gnome/applet/main.c: Return error code if nma_new() failed.
11732 2060-05-21 Dan Williams <dcbw@redhat.com>
11734 * initscript/NetworkManager.in
11735 - Ensure both dhcdbd and named are started before NM
11737 2006-05-21 Dan Williams <dcbw@redhat.com>
11740 - Bump version to 0.7 to signify we are in 0.7 development
11742 2006-05-21 Dan Williams <dcbw@redhat.com>
11744 Patch from Adam Schreiber <sadam@clemson.edu>
11745 * gnome/vpn-properties/nm-vpn-properties.c
11746 - (main): correct Gnome program name (gnome.org #342498)
11748 2006-05-21 Dan Williams <dcbw@redhat.com>
11750 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11752 * src/NetworkManagerDbus.[ch]
11753 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11754 clarify that function's argument should be an escaped dbus object
11755 path, and look for path segment end before returning a match
11756 * src/nm-dbus-nm.c:
11757 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11759 2006-05-17 Robert Love <rml@novell.com>
11761 Functionality to differentiate Ad-Hoc networks from infrastructure
11762 networks in the applet, by displaying a special icon:
11763 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11764 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11765 * gnome/applet/menu-items.c: Set a special icon in the scan list for
11766 ad-hoc networks. TODO: Add a third icon representing "encrypted and
11767 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
11768 networks, encrypted or not.
11769 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11770 accessor functions to get and set the mode of a given network,
11771 wireless_network_get_mode() and wireless_network_set_mode().
11773 2006-05-17 Robert Love <rml@novell.com>
11775 Functionality to automatically add BSSIDs to the allowed-MAC list as
11776 one roams from access point to access point on a given network:
11777 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11778 helper function to compare two ether_addr structures and return TRUE
11779 if they contain the same MAC address.
11780 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11782 * src/nm-device-802-11-wireless.c: New function to update the BSSID
11783 stored with the current AP. If the BSSID has indeed changed, we
11784 send it out to the applet, allowing the allowed-MAC list to grow
11785 automatically in response to roaming.
11787 2006-05-16 Robert Love <rml@novell.com>
11789 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11790 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11792 2006-05-13 Dan Williams <dcbw@redhat.com>
11794 * src/nm-device-802-3-ethernet.c
11795 - (real_get_generic_capabilities): Don't ignore devices that can't do
11796 carrier detect (Debian bug #366373)
11798 2006-05-11 Dan Williams <dcbw@redhat.com>
11800 Patch from Michael Biebl <biebl@teco.edu>
11801 * src/backends/NetworkManagerDebian.c
11802 - Debian backend fixups
11804 2006-05-10 Robert Love <rml@novell.com>
11806 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11808 2006-05-09 Robert Love <rml@novell.com>
11810 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11811 private certificate passphrase, if any, in the GNOME Keyring.
11812 * libnm-utils/dbus-helpers.c: Update.
11814 2006-05-05 Dan Williams <dcbw@redhat.com>
11816 * src/nm-device-802-11-wireless.c
11817 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11818 nm_device_802_11_wireless_disable_encryption() since that's all
11819 we use it for anymore; we don't ever set WEP keys ourselves.
11820 - (real_deactivate_quickly): reset SSID and encryption keys
11821 - (real_deactivate): move SSID and encryption key reset to
11822 real_deactivate_quickly(), which gets run before us anyway
11824 2006-05-05 Robert Love <rml@novell.com>
11826 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11827 root has a wacky default of its own (or, more common, a user has a
11828 bad umask and uses su/sudo to restart NetworkManager). Anything
11829 other than 0022 does not do what we want with, for example,
11830 resolv.conf. This problem is amplified by our judicious use of
11831 fopen(), which uses mode 0666 -- implying that the only way to get
11832 the permissions we want is with a umask of 0022.
11834 2006-05-05 Dan Williams <dcbw@redhat.com>
11836 * gnome/libnm_glib/libnm_glib.c
11837 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11838 to reconnect; instead wait a bit more with each reconnect attempt
11839 up to a max of one minute.
11841 2006-05-04 Ryan Lortie <desrt@desrt.ca>
11843 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11844 the WirelessNetwork structure using the proper function instead of
11845 just casting it directly to (const char *) (gnome.org #336991)
11847 2006-05-03 Robert Love <rml@novell.com>
11849 * src/backends/NetworkManagerSuSE.c: Respect the variable
11850 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11851 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11852 to dynamically update /etc/resolv.conf.
11854 2006-05-02 Peter Jones <pjones@redhat.com>
11856 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11858 2006-05-02 Robert Love <rml@novell.com>
11860 Patch by Timo Hoenig;
11861 * tests/nm-online.c: Print pretty status indicator as timeout winds
11862 down. Also fix possible race between DBUS startup and failure
11865 2006-05-01 Robert Love <rml@novell.com>
11867 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11870 2006-04-27 Jeremy Katz <katzj@redhat.com>
11872 * src/nm-device.c (discover_device_type): Actually use the hal
11873 device type instead of ioctl poking
11875 2006-04-26 Robert Love <rml@novell.com>
11877 * tests/nm-online.c: New file. Simple utility that returns exit status
11878 noting whether the connection is offline or online. If offline on
11879 start, it waits 30 seconds (or a command-line given value) for an
11880 online signal. If it times out, it again returns offline. This is
11881 useful for scripts that want to wait for network connections.
11883 2006-04-25 Robert Love <rml@novell.com>
11885 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11886 key mode (the authentication algorithm), e.g. open or shared, when we
11887 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
11888 only shared was broken. If the user specified a shared key, set it
11889 explicitly, otherwise let wpa_supplicant go with the default.
11891 2006-04-24 Dan Williams <dcbw@redhat.com>
11893 * src/nm-device-802-11-wireless.c
11894 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11896 2006-04-24 Dan Williams <dcbw@redhat.com>
11898 Commit the async scanning patch
11900 * src/nm-device-802-11-wireless.c
11901 - get rid of scan_mutex
11902 - (wireless_event_helper): act on wireless scan events
11903 - (real_start): schedule a pending scan
11904 - (link_to_specific_ap): fake the link to the AP during a scan
11905 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11906 strength during scans
11907 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11908 nm_device_set_bitrate): unused with new scanning code, disable
11909 - (nm_device_wireless_schedule_scan): removed
11910 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11911 - (request_and_convert_scan_results): new function; retrieve scan
11912 results from the driver and schedule the processing function
11913 - (scan_results_timeout): timeout triggered when card doesn't send
11914 a scan results wireless event during a certain interval
11915 - (schedule_scan_results_timeout): new function; schedule the scan
11917 - (cancel_scan_results_timeout): new function; cancel the scan
11919 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11920 to do the scanning. Otherwise, just request a scan but don't
11921 grab results here; instead schedule a timeout for scan results and
11922 let netlink notify us of scan completion events
11923 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11924 - (cancel_pending_scan): new function; cancel a pending wireless scan
11925 - (supplicant_status_cb): ignore disconnect events while scanning
11926 - (supplicant_exec): wait a bit longer for the supplicant to start up
11927 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11929 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11931 2006-04-24 Dan Williams <dcbw@redhat.com>
11933 * gnome/applet/applet-dbus.c
11934 - Disable the pending call debug stuff, seems under control now
11936 2006-04-20 Robert Love <rml@novell.com>
11938 Fix bug where hidden ESSID's would not show up in the applet, even
11939 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
11940 because nm_policy_device_list_update_from_allowed_list() would merge
11941 the data, putting a name to the hidden networks, but never notify NMI
11942 of the changes. Simple fix is to invoke the function
11943 nm_dbus_signal_wireless_network_change() if we make a mapping.
11944 * src/NetworkManagerAPList.c: Call the function
11945 nm_dbus_signal_wireless_network_change() if we made a successful
11946 BSSID to ESSID mapping, notifying the applet of the "new" network.
11947 * src/NetworkManagerAPList.h: Update the prototypes for both
11948 nm_ap_list_copy_essids_by_address() and
11949 nm_ap_list_copy_one_essid_by_address().
11951 2006-04-20 Robert Love <rml@novell.com>
11953 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11954 not set. Just return zero.
11956 2006-04-20 Robert Love <rml@novell.com>
11958 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11959 only one copy of nm-vpn-properties is running at a time via the 'ol
11960 X selection trick. This prevents the user from opening two "VPN
11961 Connections" windows from within the applet, which leads to mass
11963 * clipboard.c: New file, implementing simple X selection logic.
11964 * clipboard.h: New file.
11965 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11967 2006-04-18 Nicolas Trangez <eikke@eikke.com>
11969 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11971 initscript/Gentoo/Makefile.am
11972 initscript/Gentoo/NetworkManagerDispatcher.in
11974 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11977 2006-04-16 Dan Williams <dcbw@redhat.com>
11979 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11981 initscript/Slackware/Makefile.am
11982 initscript/Slackware/rc.networkmanager-dispatcher.in
11983 initscript/Slackware/rc.networkmanager.in
11984 - Update slackware initscripts
11986 2006-04-10 Robert Love <rml@novell.com>
11988 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11989 the "delete_event" signal on the druid's parent window and handle it
11990 our way, lest using the WM to close the druid results in a series of
11991 bloody and ultimately lethal errors.
11993 2006-04-10 Robert Love <rml@novell.com>
11995 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11996 'Back' too or else the 'Forward' option is initially disabled despite
11999 2006-04-06 Robert Love <rml@novell.com>
12001 Fix bad but simple bug where an active modem connection did not update
12002 NM's connection state, breaking any app that did online/offline:
12003 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12004 represented whether a dial up connection is active, or not.
12005 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12006 to modem activation and deactivation.
12007 * src/NetworkManagerDbus.c: When asked our state, do not return
12008 disconnected if the modem is active.
12010 2006-04-04 Robert Love <rml@novell.com>
12012 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12013 applet. It just confuses the crap out of people and does not make a
12014 lot of sense, as the daemon still runs.
12016 2006-04-02 Tor Krill <tor@krill.nu>
12018 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12019 in start of service.
12020 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12021 get Archlinux backend up to date.
12023 2006-03-29 Robert Love <rml@novell.com>
12025 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12026 to add support for per-route MSS and improve support for per-interface
12028 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12029 optionally take an MSS parameter and set it for the given route.
12030 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
12031 NMIP4Config's stored MSS, if any.
12032 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12033 the interface's MTU and the route's MSS, respectively. Add functions
12034 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12035 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12037 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12038 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12039 nm_ip4_config_set_mss.
12040 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12042 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12043 Change the retval of nm_system_get_mtu to guint32.
12044 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12045 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
12046 servers can specify MTU's, we should set it here if the MTU was not
12049 2006-03-27 Jürg Billeter <j@bitron.ch>
12052 * initscript/Makefile.am:
12053 * initscript/paldo/Makefile.am:
12054 * initscript/paldo/NetworkManager.in:
12055 * initscript/paldo/NetworkManagerDispatcher.in:
12056 * src/backends/Makefile.am:
12057 * src/backends/NetworkManagerPaldo.c:
12058 - Add paldo support
12060 2006-03-27 Dan Williams <dcbw@redhat.com>
12062 Patch from Christian Persch <chpe@gnome.org>
12063 * gnome/applet/applet.glade
12064 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12066 2006-03-27 Dan Williams <dcbw@redhat.com>
12068 Patch from Diffe <diffie@blazebox.homeip.net>
12069 * src/backends/NetworkManagerSlackware.c
12070 - Don't restart howl, since it's been replaced by Avahi
12071 in most distributions
12073 2006-03-27 Dan Williams <dcbw@redhat.com>
12075 Patch from Tor Krill <bugzilla@krill.nu>
12077 initscript/Makefile.am
12078 src/backends/Makefile.am
12079 src/backends/NetworkManagerArch.c
12080 initscript/Arch/Makefile.am
12081 initscript/Arch/networkmanager-dispatcher.in
12082 initscript/Arch/networkmanager.in
12083 - Add Arch Linux support, fixes gnome.org #335147
12085 2006-03-27 Dan Williams <dcbw@redhat.com>
12087 Patch from Diffe <diffie@blazebox.homeip.net>
12088 * initscript/Slackware/rc.networkmanager
12089 - update, fixed gnome.org #333368
12091 2006-03-27 Robert Love <rml@novell.com>
12093 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12094 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12096 2006-03-27 Robert Love <rml@novell.com>
12098 Patch by Jürg Billeter <j@bitron.ch>:
12099 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12101 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12102 as we prefer glibc over kernel headers, if possible.
12104 2006-03-27 Robert Love <rml@novell.com>
12106 Patch by Jon Escombe <list@dresco.co.uk>:
12107 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12108 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12109 fail, don't bail out. We don't expect all of the various WPA-EAP
12110 values to be present.
12111 * src/nm-ap-security.c: We need to match all capabilities for each
12112 encryption type, not any one of them.
12114 2006-03-27 Robert Love <rml@novell.com>
12116 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12117 restart, not reload, ypbind. Unfortunately there is no superior
12120 2006-03-24 Christopher Aillon <caillon@redhat.com>
12122 * gnome/applet/applet-notifications.c:
12123 When displaying a notification, make sure to get rid of the
12124 previous notification so as to not have competing bubbles,
12125 and stop leaking the old one.
12127 * gnome/applet/applet.c:
12128 * gnome/applet/applet.h:
12129 Add a new 'notification' member to the applet, and zero it out
12130 and free it appropriately.
12132 2006-03-23 Robert Love <rml@novell.com>
12134 Patch by j <j@bootlab.org>:
12135 * gnome/applet/applet.glade: Don't set the invisible_char property,
12136 which simply overrides the GTK default. By and by, this behavior
12137 ought to be fixed in Glade.
12139 2006-03-22 Robert Love <rml@novell.com>
12141 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12143 2006-03-22 Robert Love <rml@novell.com>
12145 Bug fix by Timo Hoenig <thoenig@suse.de>:
12146 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12147 disconnect. Otherwise, we have the daemon surviving DBUS restarts
12148 and the applet going AWOL.
12150 2006-03-22 Robert Love <rml@novell.com>
12152 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12153 preprocessor define and use it instead of open-coded the DHCP
12154 timeout, which is currently 25 seconds, everywhere.
12156 2006-03-22 Robert Love <rml@novell.com>
12158 Implement "Dynamic WEP", which is basically WPA authentication and WEP
12159 key exchange via WPA, ostensibly providing good security without
12160 requiring hardware that supports full WPA. Also, add UI elements to
12161 allow the user to select the pairwise & group cipher for WPA Enterprise
12163 * gnome/applet/applet.glade: Update glade file.
12164 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12165 key type, too, to and from gconf.
12166 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12167 wso_wpa_create_key_type_model(), noting whether we are handling PSK
12168 or EAP configuration, and in the latter case add in "Dynamic WEP" if
12169 the capabilities match.
12170 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12172 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12173 serialize from UI to DBUS.
12174 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12176 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12177 nmu_security_serialize_wpa_eap_with_cipher(), and
12178 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12179 serialize/deserialize the key type via DBUS as the new third DBUS
12181 * libnm-util/dbus-helpers.h: Update prototypes.
12182 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12183 too. If the key type is WEP104, do Dynamic WEP, which means
12184 "IEEE8021X" for "key_mgmt". Also add support for user-specified
12185 pairwise and group ciphers (fixes a FIXME).
12187 2006-03-21 Robert Love <rml@novell.com>
12189 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12190 nm_system_get_mtu(), which returns a user-provided or system-mandated
12191 MTU value for a given device, if any, or zero if no such value
12192 exists. Add nm_system_set_mtu() to set the MTU for a given device
12193 if we have a provided value.
12194 * src/nm-device.c: Set the MTU of devices.
12195 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12196 * src/backends/NetworkManagerDebian.c,
12197 src/backends/NetworkManagerGentoo.c,
12198 src/backends/NetworkManagerRedHat.c,
12199 src/backends/NetworkManagerSlackware.c: Implement stub functions.
12201 2006-03-21 Robert Love <rml@novell.com>
12203 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12204 configuration file.
12206 2006-03-17 Robert Love <rml@novell.com>
12208 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12209 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12210 it, in case it is not running in the first place. We just want its
12211 configuration reloaded. Also, do not "rcypbind stop" on device down.
12213 2006-03-15 Robert Love <rml@novell.com>
12215 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12216 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12217 label "WEP 40/128-bit" is inconsistent because the physical key size
12218 is 40 or 104-bits, to which a 24-bit initialisation vector is
12219 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
12220 to read "40/104" or "64/128". I do not care much which, but most
12221 users think of "silver" and "gold" encryption as 64 and 128-bits, so
12222 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
12223 WEP passphrase support only handles 128-bit keys, and any future
12224 64-bit passphrase support will require a new option (no way to auto-
12225 detect the target key size), explicitly label our passphrase support
12226 "WEP 128-bit Passphrase".
12228 2006-03-15 Robert Love <rml@novell.com>
12230 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12231 the system init scripts (or some other mechanism) starting it (or a
12232 compatible DBUS service) before NetworkManager runs. This means that
12233 distributions might need to update their init scripts. This fixes
12234 possible races and is quite a bit cleaner.
12235 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12236 starting the NetworkManager daemon.
12239 2006-03-14 Robert Love <rml@novell.com>
12241 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12242 before adding anything.
12244 2006-03-13 Robert Love <rml@novell.com>
12246 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12247 widgets, too, if they exist, in case the user hit the back button.
12248 Fixes a bug where the details page contains the widgets of multiple
12249 VPN modules (Novell bug #157048).
12251 2006-03-13 Robert Love <rml@novell.com>
12253 Patch by Timo Hoenig <thoenig@suse.de>:
12254 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12255 daemon survive DBUS restarts, too.
12257 2006-03-10 Robert Love <rml@novell.com>
12259 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12261 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12262 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12263 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12264 in response to "toggled" signal on new toggle.
12266 2006-03-10 Robert Love <rml@novell.com>
12268 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12269 serialization if strings are NULL, lest DBUS get angry.
12271 2006-03-10 Robert Love <rml@novell.com>
12273 * src/nm-ap-security-wpa-eap.c: Don't log the password.
12275 2006-03-09 Robert Love <rml@novell.com>
12277 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12280 2006-03-09 Dan Williams <dcbw@redhat.com>
12282 Track pending call requests in the applet, and report how many are
12283 outstanding, and how long each completed one takes.
12285 * gnome/applet/applet-dbus-devices.c
12286 gnome/applet/applet-dbus-vpn.c
12287 - Track pending calls
12289 * gnome/applet/applet-dbus.[ch]
12290 - Remove some unused enums
12291 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12292 new functions to track dbus pending calls and spit out some
12293 statistics about them
12295 2006-03-09 Robert Love <rml@novell.com>
12297 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12298 nm_ap_set_timestamp() take the second and micro-second parameters as
12299 direct arguments, which avoids both a dynamic memory allocation and a
12300 structure-to-structure copy! Add a new interface, the aptly named
12301 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12302 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12303 the return from nm_ap_get_timestamp(). New users should use the new
12304 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12305 the extreme benefit to performance.
12306 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12307 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12309 2006-03-08 Robert Love <rml@novell.com>
12311 * gnome/applet/applet.glade: Hide the password entry text with
12314 2006-03-08 Robert Love <rml@novell.com>
12316 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12317 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12318 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12319 a second argument, NMData.
12320 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12321 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12322 config files as trusted.
12324 2006-03-06 Robert Love <rml@novell.com>
12326 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12327 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12328 to exit the applet. As a sweet side-effect, idea courtesy of Chris
12329 Rivera, detect if the applet was auto-started. If so, ask the user
12330 if he or she would like to stop automatically running the applet on
12331 login. If so, disable autostart.
12333 2006-03-06 Robert Love <rml@novell.com>
12335 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
12336 directory in CFLAGS so developers can actually use NetworkManager.h.
12338 2006-03-06 Robert Love <rml@novell.com>
12340 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12341 open-coded integer constants. Add state_to_string() to map a given
12342 state to a textual description, and provide that when notifying of
12344 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12345 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
12346 this header directly, but it is currently not installed on most
12349 2006-03-05 Dan Williams <dcbw@redhat.com>
12351 Process netlink messages in device subclasses rather than in
12352 NetworkManager.c. Also add support for recognizing Wireless Events.
12355 - Find GLIB_GENMARSHAL
12358 - Since we're marshalling custom types for wireless event signals,
12359 we get to create our own marshallers using GLIB_GENMARSHAL
12361 * src/NetworkManager.c
12362 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12363 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12364 cut down somewhat. We no longer process signals here.
12365 - (nm_data_new): create the netlink monitor here, and remove a
12366 useless call to nm_policy_schedule_device_change_check()
12367 - (nm_data_free): get rid of the netlink monitor here
12368 - (nm_device_link_activated, nm_device_link_deactivated): removed
12369 - (main): don't create the netlink monitor here, let nm_data_new
12370 do that. Call nm_policy_schedule_device_change_check() right
12371 before we jump to the mainloop to figure out which device
12374 * src/NetworkManagerSystem.[ch]
12375 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12376 convert back and forth from interface names to interface
12379 * src/nm-device-802-11-wireless.c
12380 - (real_init): connect to wireless-event signals from the netlink
12382 - (nm_device_802_11_wireless_event): new function, schedule handler
12383 for wireless event signals from the netlink monitor object. We
12384 want the handler to run in the device's context
12385 - (wireless_event_helper): handle wireless-event signals from netlink
12386 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12389 * src/nm-device-802-11-wireless.h
12390 - remove unused prototype for nm_device_802_11_wireless_new
12392 * src/nm-device-802-3-ethernet.c
12393 - (real_init): new function; set up signal handlers for link events
12394 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12395 handler for netlink link activated events on device's main loop
12396 - (link_activated_helper): when we get a link activated event, set
12397 the device's link to be active
12398 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12399 handler for netlink link deactivated events on device's main loop
12400 - (link_deactivated_helper): when we get a link deactivated event, set
12401 the device's link to be inactive
12402 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12405 * src/nm-device-802-3-ethernet.h
12406 - remove unused prototype for nm_device_802_3_ethernet_new
12408 * src/nm-device.[ch]
12409 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12410 but locks the device list
12411 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12413 * src/nm-netlink-monitor.[ch]
12414 - (nm_netlink_monitor_class_install_signals): New signal
12416 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12418 - (nm_netlink_monitor_event_handler): expand for wireless events too
12420 * src/nm-marshal-main.c
12421 - Include generated nm-marshal.c and nm-marshal.h
12423 * src/nm-marshal.list
12424 - List of custom marshal functions
12426 2006-03-05 Dan Williams <dcbw@redhat.com>
12428 * gnome/applet/applet-notifications.h
12429 - Protect prototype of nma_send_event_notification() because it
12430 includes libnotify-specific types
12431 - Include libnotify/libnotify.h too, since we technically need it
12433 * gnome/applet/applet.c
12434 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12435 - (nma_show_vpn_login_banner_dialog): add some error checking
12437 2006-03-04 Dan Williams <dcbw@redhat.com>
12439 Clean up activation cancellation. Should be a lot faster now. Observed
12440 an issue with wireless devices between stage 2 and 3 of activation, where
12441 activation would be cancelled, but the device thread wouldn't notice until
12442 the supplicant association timed out. Reorganize activation such that
12443 a cancellation handler gets immediately scheduled in the device's thread,
12444 and devices have a chance to perform any custom cleanup too.
12446 * src/nm-device.[ch]
12447 - (activation_cancel_handler): new device-type-specific function
12448 for cleaning up device-type-specific stuff on cancellation
12449 - (cancel_activation): removed
12450 - (nm_device_activation_cancel): subsume functionality of
12451 real_cancel_activation, but instead of doing anything, punt
12452 operation to a handler that's run in device-thread context
12453 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12455 - (activation_handle_cancel_helper): cancellation handler run in
12456 device-thread context, calls device-type-specific cancelation,
12457 then tears down the activation request
12458 - (real_activation_cancel_handler): generic cancellation handler,
12459 deals with cancelling any in-process DHCP request
12460 - (nm_device_activate_stage1_device_prepare,
12461 nm_device_activate_stage2_device_config,
12462 nm_device_activate_stage3_ip_config_start,
12463 nm_device_activate_stage4_ip_config_get,
12464 nm_device_activate_stage4_ip_config_timeout,
12465 nm_device_activate_stage5_ip_commit): don't call
12466 nm_device_schedule_activation_handle_cancel() any more, since
12467 cancellation will have been already scheduled for us by
12468 nm_device_activation_cancel(). Just exit the function and
12469 assume that the cancel handler will be called next.
12471 * src/nm-device-802-3-ethernet.c
12472 - (real_act_stage2_config): remove; didn't do anything anyway
12474 * src/nm-device-802-11-wireless.c
12475 - (supplicant_status_cb): ensure we don't do anything if the activation
12477 - (real_activation_cancel_handler): implement; cancel user key request
12478 on activation cancellation
12480 2006-03-04 Dan Williams <dcbw@redhat.com>
12482 * src/nm-device-802-11-wireless.c
12483 - (supplicant_send_network_config): assume that drivers that don't
12484 support WPA pretty much suck, and can't handle NM scanning
12485 along with wpa_supplicant.
12487 2006-03-03 Robert Love <rml@novell.com>
12489 * configure.in: Bump version to 0.6.0.
12492 2006-03-03 Robert Love <rml@novell.com>
12494 * configure.in: Require DBUS 0.60 or later.
12496 2006-03-03 Dan Williams <dcbw@redhat.com>
12498 Fix a crash if an "Other wireless network" was chosen, failed, then
12499 chosen again from the applet's menu. If the other network wasn't
12500 noticed in a scan, it wouldn't have any capabilities, but would still
12501 be listed because the user forced the network. To fix this, we set
12502 sensible capabilities on the forced network, which will get overwritten
12503 with the correct ones if the network shows up later in a scan.
12505 * src/nm-ap-security.h
12506 - Add a new "get_default_capabilities_func" member to the
12509 * src/nm-ap-security.c
12510 - (nm_ap_security_get_default_capabilities): new function
12512 * src/nm-ap-security.c
12513 src/nm-ap-security-wep.c
12514 src/nm-ap-security-wpa-psk.c
12515 src/nm-ap-security-wpa-eap.c
12516 - Implement get_default_capabilities_func() for all, which
12517 uses the information contained in a specific NMAPSecurity
12518 object to determine default AP capabilites necessary
12519 to support that object
12521 As a secondary measure, we now prune artificial access points that fail
12522 to be activated right away. The thing failed, and we have no scan data for
12523 it, so it's pretty much useless since security information is only saved
12524 in the applets when a connection is successful.
12526 * src/NetworkManagerAPList.c
12527 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12528 not artificial. If we see it, it's no longer a figment of the
12529 user's imagination :)
12531 * src/NetworkManagerPolicy.c
12532 - (nm_policy_activation_failed): send along the failed AP if we
12535 * src/nm-device-802-11-wireless.c
12536 - (real_activation_failure_handler): remove artificial APs from
12537 the device list, because activation failed
12539 2006-03-02 Robert Love <rml@novell.com>
12541 Add support for retrieving both the per-device speed and the
12542 per-network maximum supported rate. Then change the getProperties
12543 DBUS API for both networks and devices to report this informaiton.
12544 Finally, display the information via both nm-applet and nm-tool:
12545 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12547 * gnome/applet/applet.c: Display the device's speed in the 'Connection
12548 Information' dialog.
12549 * gnome/applet/applet.glade: Update the UI to show per-device speed.
12550 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12551 network_device_get_speed() and network_device_set_speed() for
12552 retrieving and setting, respectively, a network device's current
12554 * src/nm-dbus-device.c: Send the device's speed on getProperties.
12555 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12556 in the function nm_device_802_11_wireless_get_bitrate() -- it does
12557 not matter (yet) what the units are, because we only feed it its own
12558 output. Implement SIOCGIRATE and set the per-network maximum
12559 supported rate during scanning.
12560 * src/nm-device-802-11-wireless.h: Export the function
12561 nm_device_802_11_wireless_get_bitrate().
12562 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12563 function nm_device_802_3_ethernet_get_speed() for returning an
12564 802.3's current speed, in Mb/s.
12565 * test/nm-tool.c: Display the per-device current speed, if available,
12566 and the per-network maximum rate.
12568 2006-03-02 Dan Williams <dcbw@redhat.com>
12570 * src/nm-device-802-11-wireless.c
12571 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12572 card when it gets initialized. Since devices don't get added to
12573 the scan list until they are initialized, this function wasn't
12574 setting the intitial scan interval correctly, and was leaving
12575 it at 0. This caused cards to get many scan requests in a short
12576 amount of time when they were initialized
12578 2006-03-02 Robert Love <rml@novell.com>
12580 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12581 active device. But do not do what we used to do and override the
12582 state, which caused the dreaded icon race of '05.
12584 2006-03-02 Robert Love <rml@novell.com>
12586 Commit Dan's update of my previous commit:
12587 * src/nm-device-802-11-wireless.c: Always set the mode, because the
12588 set_mode() function itself does the check. But do only set the
12589 frequency if in Ad-Hoc mode.
12591 2006-03-02 Robert Love <rml@novell.com>
12593 Patch by Brian Magnuson <magnuson@rcn.com>:
12594 * src/nm-device-802-11-wireless.c: During scanning, only set the
12595 wireless mode to infrastructure if it is not currently in
12596 infrastructure mode. For some driver, setting the mode is a costly
12597 operation, apparently.
12599 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
12601 * Makefile.am: use the correct dir for autostart mechanism.
12603 2006-02-28 Dan Williams <dcbw@redhat.com>
12605 Patch from Brian Magnuson <magnuson@rcn.com>
12606 * gnome/applet/applet.c
12607 - (nma_show_vpn_failure_dialog): fix errors left over from
12608 libnotify support changes
12610 2006-02-28 Dan Williams <dcbw@redhat.com>
12612 * src/vpn-manager/nm-vpn-act-request.[ch]
12613 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12615 - (nm_vpn_act_request_is_failed): new function; return whether or
12616 not the vpn activation request has failed
12618 * src/vpn-manager/nm-vpn-manager.c
12619 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12620 daemon to kill the connection when the activation request fails.
12621 Fixes issue where NM would get confused if the VPN activation
12622 request timed out, and would not allow further VPN connections
12625 2006-02-28 Dan Williams <dcbw@redhat.com>
12627 * gnome/applet/applet.c
12628 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12629 overlapping connection requests, disable all VPN menu items
12630 but the active VPN connection
12632 2006-02-28 Dan Williams <dcbw@redhat.com>
12634 * src/vpn-manager/nm-vpn-connection.c
12635 - (nm_vpn_connection_set_parent_device): fix C&P error which
12636 called g_object_unref() on the connection's parent device
12637 when it should have been ref-ed instead. Fixes crash with
12638 repeated vpn connect requests
12640 2006-02-28 Christopher Aillon <caillon@redhat.com>
12642 * gnome/applet/applet.glade:
12643 Mark a few strings non-translatable, since they shouldn't be.
12645 2006-02-28 Dan Williams <dcbw@redhat.com>
12647 * src/vpn-manager/nm-vpn-service.c
12648 - (nm_vpn_service_start_connection): if the vpn service daemon is
12649 already running, don't blindly ask it to connect, but wait until
12650 it's in the STOPPED state first. Fixes an assertion when user
12651 starts a second vpn connection without stopping the first.
12652 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12653 dbus service exists before continuing with the connection
12654 process, and reduce latency while waiting for it to become
12656 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12657 waiting for the vpn service daemon to become available
12658 - General log message cleanups; show progress via "Stage x of 4"
12659 rather than not telling anyone how many stages there are
12661 2006-02-28 Robert Love <rml@novell.com>
12663 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12664 * src/backends/NetworkManagerSuSE.c: Implement the interface
12665 nm_system_should_modify_resolv_conf() for SUSE.
12666 * src/backends/NetworkManagerDebian.c,
12667 src/backends/NetworkManagerGentoo.c,
12668 src/backends/NetworkManagerRedHat.c,
12669 src/backends/NetworkManagerSlackware.c: Add stub.
12670 * src/named-manager/Makefile.am: Grab includes from src.
12671 * src/named-manager/nm-named-manager.c: Allow backends to disable the
12672 automatic updating of resolv.conf. This is useful for testing,
12673 broken static configurations, and administrator lock-down.
12675 2006-02-28 Dan Williams <dcbw@redhat.com>
12677 * src/nm-device-802-11-wireless.c
12678 - Move all the wpa_supplicant-related management stuff into its
12679 own struct, just for oranization's sake
12680 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12681 to a GIOChannel/GSource
12682 - (supplicant_log_stdout): new function; grab output from the
12683 wpa_supplicant stdout pipe and write it to our logs.
12685 2006-02-27 Christopher Aillon <caillon@redhat.com>
12687 * src/nm-device-802-11-wireless.c:
12688 Err, fix thinko in my previous commit.
12690 2006-02-28 Robert Love <rml@novell.com>
12692 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12694 2006-02-28 Robert Love <rml@novell.com>
12696 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12697 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12698 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12699 deserializers are responsible for freeing the returned DBUS strings.
12701 2006-02-27 Christopher Aillon <caillon@redhat.com>
12703 * src/nm-device-802-11-wireless.c:
12704 The scan list is being pruned prematurely. We should prune after
12705 the device has gone MIA for three scans, not one. Split out the
12706 interval to realtime seconds function to better serve this.
12708 2006-02-27 Robert Love <rml@novell.com>
12710 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12711 Open the pid file O_TRUNC, so if it already exists we truncate it to
12712 zero length. Also, be more verbose about warnings generated during
12713 writing out the pid file. Finally, always write out the pid file if
12714 in daemon mode. Use "--pid-file" to override the default.
12716 2006-02-27 Robert Love <rml@novell.com>
12718 Patch by R. Vinay <rvinay@novell.com>:
12719 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12720 'last_attempt_success' when removing a VPN connection, too. (Fixes
12721 Novell bug #153628).
12723 2006-02-27 Robert Love <rml@novell.com>
12725 * gnome/applet/applet.glade: Set "activates_default" on passphrase
12726 entry so user can hit <ENTER> after entering passphrase (Novell bug
12729 2006-02-27 Dan Williams <dcbw@redhat.com>
12732 - Mass search/replace of:
12734 NMWirelessApplet -> NMApplet
12735 NM_*_WIRELESS_APPLET -> NM_*_APPLET
12736 (it ain't just for wireless anymore, ma!)
12737 - Fix duplicate function name printing when using nm_warning
12738 - wireless-applet.glade -> applet.glade
12740 2006-02-27 Dan Williams <dcbw@redhat.com>
12742 * dispatcher-daemon/NetworkManagerDispatcher.c
12743 - Accept --pid-file with a path to a pidfile, write it out on
12744 startup, and delete it on shutdown
12746 * src/NetworkManager.c
12747 - Accept --pid-file with a path to a pidfile, write it out on
12748 startup, and delete it on shutdown
12749 - Move nm_print_usage() lower
12751 * initscripts/RedHat/NetworkManager.in
12752 - Use new --pid-file option
12753 - Fix service stopping to wait a bit for NM to quit
12755 * initscripts/RedHat/NetworkManagerDispatcher.in
12756 - Use new --pid-file option
12758 2006-02-26 Dan Williams <dcbw@redhat.com>
12761 - make and install nm-crash-logger
12763 * src/nm-logging.[ch]
12764 - New files; consolidate logging and crash handling
12766 * src/nm-crash-logger.c
12768 - Standalong crashlogger for NM, grab a backtrace
12771 * src/NetworkManager.[ch]
12772 - Remove signal handling and put it into nm-logging.c
12774 2006-02-26 Dan Williams <dcbw@redhat.com>
12777 gnome/applet/Makefile.am
12778 - Conditionalize all the notify stuff
12780 Merge most of Chris Aillon's notification patch:
12782 * gnome/applet/applet-notifications.[ch]
12783 - New files; show a notification
12785 * gnome/applet/applet-dbus-devices.[ch]
12786 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12787 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12788 new functions, do the right thing when a device change occurs
12790 * gnome/applet/applet-dbus.c
12791 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12792 signals, so we can handle them specially
12794 * gnome/applet/applet.[ch]
12795 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12796 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12797 - (nmwa_notify_state): remove
12798 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12799 notification work is now done when the appropriate dbus signals
12801 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12802 defer execution of the notification/dialog stuff. That was an
12803 artifact of the previous multi-threaded nature of the applet
12804 and is now pointless.
12805 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12806 no longer needed. Function folded into applet-notifications.c
12808 * src/NetworkManagerPolicy.c
12809 - (nm_policy_activation_finish): send the AP along with the device
12810 status change signal, if the connection is wireless. Should
12811 fix the race where applet would show a connection to "unknown"
12813 2006-02-25 Robert Love <rml@novell.com>
12815 Add WPA Enterprise support:
12816 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12817 nm-gconf-wso-wpa-eap.h.
12818 * gnome/applet/nm-gconf-wso-wpa-eap.c,
12819 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
12820 serialization and deserialization.
12821 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12822 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12823 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12824 * gnome/applet/wireless-applet.glade: Add UI for configurating security
12825 settings related to WPA Enterprise.
12826 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12827 instantiate WPA Enterprise wireless-security-option.
12828 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12829 Implement WPA Enterprise wireless-security-option object.
12830 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12832 * libnm-util/cipher-wpa-psk-hex.c,
12833 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12834 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12835 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12836 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12837 including the cipher to DBUS method, and
12838 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12840 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12841 nm-ap-security-wpa-eap.h
12842 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12843 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12844 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12845 files. Implement NMAPSecurityWPA_EAP object.
12846 * src/nm-ap-security-wpa-psk.c: Cleanup.
12847 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12848 an NMAPSecurityWPA_EAP object via the method
12849 nm_ap_security_wpa_eap_new_deserialize().
12850 * src/nm-dbus-nm.c: Cleanup.
12851 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12852 WPA Enterprise support.
12854 2006-02-24 Robert Love <rml@novell.com>
12856 Patch from Timo Hoenig <thoenig@suse.de>:
12857 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12859 2006-02-24 Robert Love <rml@novell.com>
12861 Patch from Dan Winship <danw@novell.com>:
12862 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
12863 area to transparent.
12865 2006-02-21 Dan Williams <dcbw@redhat.com>
12867 * gnome/applet/applet.[ch]
12868 gnome/applet/applet-dbus.c
12869 - Implement notification support for VPN messages too
12871 2006-02-21 Dan Williams <dcbw@redhat.com>
12873 * gnome/applet/applet-dbus-info.c
12874 - Clean up warning messages to not double-print the function
12876 2006-02-21 Dan Williams <dcbw@redhat.com>
12878 * gnome/applet/applet-compat.c
12879 - (convert_one_entry): accept entries without a key_type and
12880 convert them to unencrypted networks
12882 2006-02-21 Dan Williams <dcbw@redhat.com>
12884 * gnome/libnm_glib/libnm_glib.c
12885 - Use __func__ everywhere we can
12887 - Use dbus pending calls rather than blocking
12888 - Reduce busywaits for our thread to start and stop
12889 (gnome.org #330562)
12890 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12891 stomp on others using the default shared dbus connection.
12892 Fixes #rh177546# and gnome.org #326572
12894 2006-02-21 Dan Williams <dcbw@redhat.com>
12896 Patch from Rodney Dawes <dobey@novell.com>
12898 gnome/applet/Makefile.am
12899 gnome/applet/applet.c
12900 - Add libnotify support if '--enable-notify=yes' is passed
12903 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
12905 * configure.in (ALL_LINGUAS): ko added. (Korean)
12907 2006-02-15 Robert Love <rml@novell.com>
12909 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12910 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12911 and WPA_SUPPLICANT_CONTROL_SOCKET.
12913 2006-02-15 Robert Love <rml@novell.com>
12915 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12916 information about what connection stage we are at, provide the total
12917 number of stages, e.g. "Stage 2 of 5", so users know how far along
12918 they are if they experience problems.
12920 2006-02-15 Robert Love <rml@novell.com>
12922 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12923 define to $sysconfdir.
12924 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12925 editing dialog, vpn_edit_widget, which fixes a bug where editing one
12926 type of VPN and then editing another results in a mangled dialog
12927 box containing the widgets from both VPNs (fixes Novell #150854).
12928 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12930 2006-02-14 Robert Love <rml@novell.com>
12932 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12933 syslog's file descriptor.
12935 2006-02-14 Robert Love <rml@novell.com>
12937 Fix bug around since the change to "deal with APs changing settings on
12938 us," checked in on the fifth of February in the year of the dog,
12939 wherein connecting to non-broadcast encrypted networks always fails
12940 because nm_ap_get_encrypted() always returns FALSE, even when the user
12941 provided a key, because the newly-created fake AP does not have any
12942 capabilities set, which is a sypmtom of security settings not matching
12943 capabilities (Novell bug #150784):
12944 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12945 nm_ap_add_capabilities_from_security(), which sets the given AP's
12946 capabilities off the given security settings. Also improve our
12947 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12948 NM_AUTH_CIPHER_AUTO.
12949 * src/nm-device-802-11-wireless.c: Call the function
12950 nm_ap_add_capabilities_from_security() to ensure that capabilities
12951 match newly updated security settings.
12953 2006-02-14 Robert Love <rml@novell.com>
12955 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12956 error as a string, not an integer, if possible; do not print the
12957 function name twice; always give the interface, if possible; misc.
12960 2006-02-12 Dan Williams <dcbw@redhat.com>
12962 Patch from Tom Parker <palfrey@tevp.net>
12963 * src/NetworkManagerSystem.h
12964 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12967 * src/backends/NetworkManagerDebian.c
12968 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12971 2006-02-12 Dan Williams <dcbw@redhat.com>
12973 * vpn-daemons/openvpn/intltool-extract.in
12974 vpn-daemons/openvpn/intltool-merge.in
12975 vpn-daemons/openvpn/intltool-update.in
12976 vpn-daemons/pptp/intltool-extract.in
12977 vpn-daemons/pptp/intltool-merge.in
12978 vpn-daemons/pptp/intltool-update.in
12979 - Remove from CVS, they should get created by intltoolize,
12982 2006-02-12 Dan Williams <dcbw@redhat.com>
12984 * vpn-daemons/pptp/src/pppd/patchlevel.h
12985 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12986 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12987 Makefile-defined VERSION
12989 2006-02-09 Dan Williams <dcbw@redhat.com>
12991 Patch from: Vinay A R <rvinay@novell.com>
12992 * src/vpn-manager/nm-vpn-act-request.[ch]
12993 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12994 IPSec VPNs require them for std gateway.
12995 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12996 and 'user_routes_count'
12997 - (nm_vpn_act_request_get_user_routes): new function; gets user
12998 defined routes from NMVPNActRequest object, returns the string
13001 * src/vpn-manager/nm-vpn-manager.[ch]
13002 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13003 for 'user_routes' and 'user_routes_count'
13005 * src/vpn-manager/nm-dbus-vpn.c
13006 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13007 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13009 * src/vpn-manager/nm-vpn-service.c
13010 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13013 Modifications by Dan:
13014 * src/vpn-manager/nm-vpn-service.c
13015 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13018 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13019 * vpn-daemons/pptp/src/nm-pptp-service.c
13020 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13021 - Grab user routes from dbus message
13022 - Free all string arrays we got from dbus
13024 2006-02-07 Robert Love <rml@novell.com>
13026 Patch by Stefan Seyfried <seife@suse.de>:
13027 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13029 2006-02-06 Robert Love <rml@novell.com>
13031 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13033 2006-02-06 Robert Love <rml@novell.com>
13035 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13036 test ">=" is never false. If no newline is found, we loop forever.
13037 We can just check for ">" because the following if() will see the
13038 zero-th argument if the while() gets that far.
13040 2006-02-05 Dan Williams <dcbw@redhat.com>
13042 Refine handling of non-broadcast networks.
13044 * src/NetworkManagerAPList.c
13045 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13046 property from scanned AP to the AP from the device list
13048 * src/nm-device-802-11-wireless.c
13049 - (supplicant_send_network_config): use ap_scan=1 for all networks
13050 except non-SSID-broadcasting and Ad-Hoc networks. Use
13051 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
13052 networks since those don't have APs.
13053 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13054 AP as non-SSID-broadcasting
13055 - (process_scan_results): don't handle non-SSID-broadcasting here
13057 2006-02-05 Dan Williams <dcbw@redhat.com>
13059 * src/nm-device-802-11-wireless.c
13060 - (get_supplicant_timeout): new function; return
13061 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13062 14 channels. These are likely a/b/g cards, like Atheros, and
13063 slow as hell to scan.
13064 - (supplicant_timeout_cb, supplicant_monitor_start): use
13065 get_supplicant_timeout()
13067 2006-02-05 Dan Williams <dcbw@redhat.com>
13069 * src/dhcp-manager/nm-dhcp-manager.c
13070 - Loose a commit race with Robert; make sure size check
13071 uses size of DHCP_SERVICE_LEN, not hardcoded 15
13073 2006-02-05 Robert Love <rml@novell.com>
13075 Patch by Christoph Brill <chrisbrill@gmx.net>:
13076 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13077 with DHCP_SERVICE_NAME.
13079 2006-02-05 Dan Williams <dcbw@redhat.com>
13081 Remove anything having to do with device_setup_func from the
13082 AP security objects, since it's no longer used.
13084 * src/nm-ap-security.h
13085 - Kill device_setup_func and nm_ap_security_device_setup()
13087 * src/nm-ap-security-wep.c
13088 src/nm-ap-security-wpa-psk.c
13089 - (real_device_setup): remove
13091 * src/nm-ap-security.c
13092 - (real_device_setup): remove
13093 - (nm_ap_security_device_setup): remove
13095 * src/nm-device-802-11-wireless.[ch]
13096 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13097 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13098 and done by wpa_supplicant now anyway
13100 2006-02-05 Dan Williams <dcbw@redhat.com>
13102 * src/nm-device-802-11-wireless.c
13103 - (ap_need_key, real_act_stage2_config): deal with APs changing
13104 settings on us. Previously NM would loop asking for the
13105 key but getting the same one back. Now, if the NMI-supplied
13106 cipher doesn't overlap with the scanned AP capabilities,
13107 we request a completely new key from the user.
13109 2006-02-05 Dan Williams <dcbw@redhat.com>
13111 * src/NetworkManagerUtils.c
13112 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13113 Handle newline killing better
13115 2006-02-05 Dan Williams <dcbw@redhat.com>
13117 * gnome/applet/nm-gconf-wso.c
13118 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
13119 of unencrypted access point security info.
13121 2006-02-03 Robert Love <rml@novell.com>
13123 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13124 user's encryption key, so we print the err_msg_cmd not the command,
13125 if available. So long as SUPPLICANT_DEBUG is default, this makes
13128 2006-02-03 Christopher Aillon <caillon@redhat.com>
13130 * initscript/RedHat/NetworkManagerDispatcher.in:
13131 * initscript/RedHat/NetworkManager.in: modify the pidfile location
13132 Patch from Dan Walsh <dwalsh@redhat.com>
13134 2006-02-03 Robert Love <rml@novell.com>
13136 * dispatcher-daemon/NetworkManagerDispatcher.c,
13137 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13138 but use the sysconfdir.
13140 2006-02-03 Robert Love <rml@novell.com>
13142 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13143 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13145 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13146 nm_ip4_config_get_hostname() and
13147 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13148 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
13149 leak g_strdup() result.
13151 2006-02-03 Robert Love <rml@novell.com>
13153 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13154 broadcast == TRUE. Also, copy broadcast and artificial properties
13155 from source network to destination in nm_ap_copy().
13156 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13157 since we now default new networks to non-hidden.
13159 2006-02-03 Dan Williams <dcbw@redhat.com>
13161 * gnome/applet/main.c
13162 - (main): change the NEVER->ALWAYS so we start at the
13163 beginning of the session, if being session-managed
13165 2006-02-03 Dan Williams <dcbw@redhat.com>
13167 * gnome/applet/main.c
13168 - (main): in a variation on Robert's patch, change
13169 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
13172 2006-02-02 Robert Love <rml@novell.com>
13174 * src/Makefile.am: If we aren't going to create the run directory at,
13175 uh, run-time, create it during install. Then users just doing
13176 'make install' are cool, too. While we are here, create the
13177 dispatcher.d directory, too.
13178 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13179 the exact run directory.
13180 * Makefile.am: Install nm-applet.desktop.
13182 2006-02-02 Robert Love <rml@novell.com>
13184 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13185 structure, which denotes whether or not the AP is hidden. This is a
13186 superset of 'artificial' -- we need 'broadcast' because a hidden AP
13187 can show up in the scan list. Add nm_ap_get_broadcast() and
13188 nm_ap_set_broadcast() accessor interfaces.
13189 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13190 nm_ap_set_broadcast().
13191 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13192 "getProperties" method, which denotes whether or not the given
13194 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13195 an artificial network. Set broadcast to TRUE when scanning returns
13196 an ESSID and FALSE when not.
13197 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13198 from "getProperties" method on a network. Possible TODO is to
13199 somehow display this.
13200 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13202 2006-02-02 Dan Williams <dcbw@redhat.com>
13204 * src/nm-device-802-11-wireless.c
13205 - (supplicant_interface_init): don't try to create
13206 /var/run/NetworkManager, since that should be done by
13207 the distro package. Causes problems for stuff like SELinux
13209 2006-02-02 Robert Love <rml@novell.com>
13211 Patch by Sureshkumar T <tsureshkumar@novell.com>:
13212 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13213 Check for and handle empty string for iface.
13215 2006-02-01 Robert Love <rml@novell.com>
13217 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13220 2006-01-31 Dan Williams <dcbw@redhat.com>
13222 * nm-applet.desktop
13223 - Add --sm-disable to Exec arguments, presuming that when
13224 using autostart, we don't want session management
13226 2006-01-31 Robert Love <rml@novell.com>
13228 * src/NetworkManagerAP.c: Add two new manufacturer default network
13229 names: linksys-a and linksys-g. These are found (at least) on the
13230 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13233 2006-01-31 Robert Love <rml@novell.com>
13235 * src/NetworkManagerAP.c: Optimize the function
13236 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
13237 machine code. This is the first in a series of code tweaks aiming to
13238 generate better machine code and make NetworkManager all the better.
13239 Just kidding. Who has time to go through the assembly generated for
13240 every function? I certainly don't. I have a wife, a kid, a job,
13241 a mortgage, a mistress. But this function was so bad, I was called
13242 to arms. Like the book.
13244 2006-01-31 Robert Love <rml@novell.com>
13246 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13247 AP is not broadcasting, to scan with probe request frames. Required
13248 for non-broadcast networks.
13250 2006-01-31 Robert Love <rml@novell.com>
13252 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13253 preprocessor define (still 20s). Fix message text in nm_info()
13254 s/too too/took too/.
13256 2006-01-30 Dan Williams <dcbw@redhat.com>
13258 * src/nm-device-802-11-wireless.c
13259 - (supplicant_monitor_start): increase connect/auth timeout to
13260 20 seconds from 10 seconds
13262 2006-01-30 Dan Williams <dcbw@redhat.com>
13265 - Define LOCALSTATEDIR
13267 * src/nm-device-802-11-wireless.c
13268 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13269 socket where we want it to
13271 * src/wpa_ctrl.[ch]
13272 - (wpa_ctrl_open): accept location to put local control socket
13274 2006-01-30 Robert Love <rml@novell.com>
13276 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13277 get_ip4_string() for "domain_name".
13279 2006-01-30 Robert Love <rml@novell.com>
13281 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13282 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13283 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13284 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13285 support for "Automatic" pairwise and group cipher configuration by
13286 letting wpa_supplicant handle the details. Add UI elements, new
13287 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
13288 charm. Note this does more than add a nice feature, it fixes a bug.
13289 Apparently, some people have AP's where the pairwise cipher does not
13290 match the group cipher. Insane, but true.
13292 2006-01-30 Dan Williams <dcbw@redhat.com>
13294 * gnome/applet/applet-dbus-devices.c
13295 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13296 functions, grab device driver name from NetworkManager
13297 - (nmwa_dbus_device_properties_cb): call functions to get driver
13299 * gnome/applet/applet.c
13300 - (nmwa_update_info): show driver name in Connection Information
13303 * gnome/applet/nm-device.[ch]
13304 - (network_device_get_driver, network_device_set_driver): add
13305 accessors for driver name
13307 * gnome/applet/wireless-applet.glade
13308 - Add line for driver name to Connection Information dialog
13310 * src/nm-dbus-device.c
13311 - (nm_dbus_device_get_driver): new function to return driver name
13312 - (nm_dbus_device_methods): hook up driver name function to dbus
13315 - (get_driver_name): new function
13316 - (detail_device): grab and show driver name
13318 2006-01-30 Robert Love <rml@novell.com>
13320 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13321 does not parse the markup if it is not part of the format.
13323 2006-01-30 Robert Love <rml@novell.com>
13325 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13326 FALSE, we have no security options for this dialog, so we throw up
13327 an error dialog instead of a broken passphrase dialog. Fixes
13329 * gnome/applet/wireless-security-manager.c,
13330 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13331 does not add any security options, not even NONE, print a warning
13332 and return FALSE. This let's functions constructing a dialog bail
13333 out if the device's capabilities and the network's requirements have
13336 2006-01-27 Robert Love <rml@novell.com>
13338 * configure.in: Require wpa_supplicant. Detect location of binary and
13339 use it. Override with "--with-wpa_supplicant=foo".
13340 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13341 path to wpa_supplicant but use the auto-detected or user-provided
13342 value from configure.
13344 2006-01-27 Robert Love <rml@novell.com>
13346 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13347 but the DHCP server did not return a hostname, try to look up our
13348 name via DNS and set the system hostname to that.
13350 2006-01-27 Dan Williams <dcbw@redhat.com>
13352 * src/backends/NetworkManagerRedHat.c
13353 - Add NM_CONTROLLED system network script support for RH/Fedora
13355 2006-01-27 Dan Williams <dcbw@redhat.com>
13357 * src/backends/NetworkManagerGentoo.c
13358 - (nm_system_device_get_disabled): add missing function.
13361 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
13363 * configure.in: Added vi in ALL_LINGUAS line.
13365 2006-01-26 Robert Love <rml@novell.com>
13367 * src/Makefile.am, src/kernel-types.h: Now that two different source
13368 files are feeling the crack-addled leakage of kernel types such as
13369 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13370 types in user-space -- define a header and include it as needed.
13371 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13372 * src/nm-device-802-3-ethernet.h: Remove defines.
13373 * src/wpa.c: Remove defines and include kernel-types.h.
13375 2006-01-26 Robert Love <rml@novell.com>
13377 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13380 2006-01-26 Robert Love <rml@novell.com>
13382 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13383 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13384 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13385 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13386 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13387 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13388 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13389 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13390 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13391 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13392 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13393 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13394 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13395 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13396 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13397 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13398 Kill unused variables, labels, and static functions. Don't pass
13399 string literals as the format string for printf-like functions.
13401 2006-01-25 Dan Williams <dcbw@redhat.com>
13403 * gnome/applet/wireless-applet.glade
13404 - Remove WPA2 Checkbox
13406 * gnome/applet/wireless-security-manager.c
13407 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13408 This means the Wireless Security menu now has two WPA options,
13409 one for "WPA Personal" and one for "WPA2 Personal"
13411 * gnome/applet/wso-wpa-psk.[ch]
13412 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13413 'wpa2' argument to determine WPA version to use
13414 - (append_dbus_params_func): pass stored WPA version to cipher
13415 rather than using the (removed) checkbox
13417 2006-01-24 Robert Love <rml@novell.com>
13419 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13420 before we g_strdup(), not the ultimate string.
13422 2006-01-23 Dan Williams <dcbw@redhat.com>
13424 * src/NetworkManagerAP.[ch]
13425 - (nm_ap_new_from_ap): copy original essid too
13426 - (nm_ap_unref): free original essid
13427 - (nm_ap_get_orig_essid): new function
13428 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13429 but keep original essid around too
13431 * src/nm-device-802-11-wireless.c
13432 - (supplicant_send_network_config): send wpa_supplicant the
13433 _original_ essid, and not as a string, but in hex. Should
13434 allow us to connect to more APs that use wierd character
13435 encodings for their essids
13437 * utils/nm-utils.[ch]
13438 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13439 to UTF-8. If it's not already valid UTF-8, we check LANG and
13440 use the current locale as a hint for what encoding the essid
13441 might be in. Obviously not 100% accurate, but the idea here is
13442 that if a user's locale is ex. ja_JP, they are more likely than
13443 not to be in Japan, where access points will likely be in some
13446 2006-01-23 Dan Williams <dcbw@redhat.com>
13448 * libnm-util/cipher-private.h
13449 libnm-util/cipher.c
13450 libnm-util/cipher.h
13451 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13453 2006-01-23 Robert Love <rml@novell.com>
13455 Patch by Timo Hoenig <thoenig@suse.de>:
13456 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13457 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13458 by DHCP and pass it to the backends, allowing distribution-specific
13459 behavior with respect to the DHCP-supplied hostname (if nothing else,
13460 some distributions might not want to set the hostname).
13461 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13462 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13463 Also update our NIS behavior.
13464 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13465 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13466 Add stub functions.
13468 2006-01-23 Robert Love <rml@novell.com>
13470 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13471 gnome-session does autostart. TODO: We need to install this to
13472 $prefix/share/autostart/.
13474 2006-01-22 Dan Williams <dcbw@redhat.com>
13476 * src/NetworkManagerAP.[ch]
13478 src/nm-device-802-11-wireless.c
13479 - Make nm_ap_get_essid return "const char *"
13481 2006-01-22 Dan Williams <dcbw@redhat.com>
13483 * src/NetworkManagerAP.[ch]
13484 - (nm_ap_get_matched, nm_ap_set_matched): remove
13486 * src/NetworkManagerAPList.[ch]
13487 - (nm_ap_list_diff): removed
13488 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13489 deal with access points changing essids on us
13491 * src/nm-device-802-11-wireless.c
13492 - (add_new_ap_to_device_list): move AP dbus signal logic to
13493 src/NetworkManagerAPList.c
13494 - (real_can_interrupt_activation): new function; allow interruption
13495 of device activation if we are waiting for a network key
13497 * src/NetworkManagerPolicy.c
13498 - (nm_policy_device_change_check): allow interruption of currently
13499 activating devices if the device allows it. Previous behavior
13500 would refuse to activate a just-plugged wired device if a
13501 wireless device was waiting for a key.
13503 * src/nm-device.[ch]
13504 - (nm_device_can_interrupt_activation): new function; ask devices
13505 whether their activation can be interrupted
13507 2006-01-20 Robert Love <rml@novell.com>
13509 * Makefile.am, configure.in: Add new man subdirectory.
13510 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13511 man/Makefile.am: Add man pages for NetworkManager and its
13512 crime-solving bumbling buddy, NetworkManagerDispatcher.
13513 * man/.cvsignore: Add.
13514 * initscript/Debian/NetworkManager,
13515 initscript/Gentoo/NetworkManager.in,
13516 initscript/RedHat/NetworkManager.in,
13517 initscript/RedHat/NetworkManagerDispatcher.in,
13518 initscript/SUSE/networkmanager-dispatcher.in,
13519 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13521 2006-01-20 Robert Love <rml@novell.com>
13523 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13524 instead of queuing. This prevents the running of multiple NM
13525 daemons concurrently, which does not work whatsoever and results in
13526 neither daemon working correctly. Also, we don't handle queuing and
13527 name-owner-changes, anyhow.
13529 2006-01-20 Robert Love <rml@novell.com>
13531 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13532 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13535 2006-01-19 Robert Love <rml@novell.com>
13537 * configure.in: Require hal 0.5.0 or later.
13539 2006-01-18 Robert Love <rml@novell.com>
13541 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13542 Allow backends to flag a device (in whatever distro-dependent way
13543 they so desire) as disabled. NM will ignore any such device.
13544 * src/backends/NetworkManagerDebian.c,
13545 src/backends/NetworkManagerRedHat.c,
13546 src/backends/NetworkManagerSlackware.c: Add stub function
13547 nm_system_device_get_disabled() that always returns FALSE (enabled).
13548 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13549 SUSE-specific configuration structure. Fill it in from the
13550 NM_CONTROLLED variable in the system networking scripts. If this var
13551 exists and is "no", we ignore the device.
13553 2006-01-17 Robert Love <rml@novell.com>
13555 * configure.in: Remove 'no' language. Replaced by 'nb', which is
13556 identical for NM. For a full discussion, see the thread at
13557 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13559 2006-01-17 Dan Williams <dcbw@redhat.com>
13562 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13563 function. Fixes crash when wired DHCP fails.
13565 2006-01-16 Robert Love <rml@novell.com>
13567 * src/Makefile.am: Don't install NMLoadModules
13568 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13569 from src/ to test/ as no one uses it anymore. Note that I would be
13570 fine with removing it altogether.
13572 2006-01-16 Robert Love <rml@novell.com>
13574 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13575 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13576 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13577 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13578 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13579 src/nm-netlink-monitor.c: Don't miss any initializers on structure
13580 declarations, ever.
13581 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13582 NM_STATE_DISCONNECTED is zero).
13584 2006-01-16 Robert Love <rml@novell.com>
13586 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
13587 uninitialized parameter and buffer overflow. Novell #143496.
13589 2006-01-16 Dan Williams <dcbw@redhat.com>
13591 Apply the PtP Address bits of a patch from Tim Niemueller
13593 * src/nm-ip4-config.[ch]
13594 - Add ip4_ptp_address member to object
13595 - (nm_ip4_config_copy): copy ptp address too
13596 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13598 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13599 rather than local tunnel ip address
13601 * src/vpn-manager/nm-vpn-service.c
13602 - (print_vpn_config): update for PtP address
13603 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13604 DBusMessageIters in preparation for getting routes from the VPN
13605 service daemons too
13607 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13608 - (send_config_info): update for PtP address, clean up code
13609 - (main): update for PtP address, clean up code, fix typo
13611 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13612 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13614 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13615 - (pptp_ip_up): update for PtP address
13617 * vpn-daemons/pptp/src/nm-pptp-service.c
13618 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13620 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13621 - (print_vpn_config): update for PtP address
13622 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13624 2006-01-16 Dan Williams <dcbw@redhat.com>
13626 * gnome/applet/applet.c
13627 - (nmwa_add_networks_helper): don't indicate an active network
13628 if NM is disconnected or asleep
13630 2006-01-16 Dan Williams <dcbw@redhat.com>
13632 * src/NetworkManagerPolicy.c
13633 - (nm_policy_device_change_check): switch devices if we lose the link
13634 on an ethernet device.
13636 2006-01-16 Dan Williams <dcbw@redhat.com>
13638 * gnome/applet/wso-wpa-psk-hex.[ch]
13639 - Renamed -> wso-wpa-psk.[ch]
13641 * gnome/applet/wso-wpa-psk.[ch]
13644 * gnome/applet/wso-wpa-psk-passphrase.[ch]
13645 - Removed, rolled into wso-wpa-psk.[ch]
13647 * gnome/applet/Makefile.am
13648 - Updated for above changes
13650 * gnome/applet/wireless-applet.glade
13651 - Consolidate WPA-PSK options into one notebook
13652 widget, and make dialogs invisible by default
13653 to fix screen oddities
13655 * gnome/applet/wireless-security-manager.c
13656 - (wsm_set_capabilities): create the new wpa-psk widget rather
13657 than both the old hex & passphrase ones
13659 2006-01-16 Dan Williams <dcbw@redhat.com>
13661 * gnome/applet/other-network-dialog.c
13662 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13664 2006-01-16 Dan Williams <dcbw@redhat.com>
13666 * gnome/applet/applet.c
13667 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13668 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13669 prevention to realize window before trying to get server
13672 * gnome/applet/other-network-dialog.c
13673 - (nmwa_other_network_dialog_run): fix up focus-stealing
13674 prevention to realize window before trying to get server
13677 * gnome/applet/passphrase-dialog.c
13678 - (nmi_passphrase_dialog_new): fix up focus-stealing
13679 prevention to realize window before trying to get server
13682 2006-01-16 Robert Love <rml@novell.com>
13684 Patch from Timo Hoenig <thoenig@suse.de:
13685 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13686 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13687 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13688 libnm-util/dbus-helpers.h: add checks whether headers are used
13689 within a C++ build.
13691 2006-01-16 Dan Williams <dcbw@redhat.com>
13693 * gnome/applet/wireless-security-option.c
13694 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13696 2006-01-16 Dan Williams <dcbw@redhat.com>
13698 * libnm-util/cipher-wpa-psk-passphrase.c
13699 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13700 be 8 - 63 characters inclusive
13702 2006-01-16 Dan Williams <dcbw@redhat.com>
13705 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13707 2006-01-13 Robert Love <rml@novell.com>
13709 Patch by T Sureshkumar <tsureshkuman@novell.com>:
13710 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13711 modules that do not use an interface.
13713 2006-01-13 Dan Williams <dcbw@redhat.com>
13717 - Allow subclasses to implement deactivate_quickly()
13718 - (nm_device_deactivate_quickly): call subclass
13719 deactivate_quickly() methods
13720 - (nm_device_set_active_link): small cleanups, and don't
13721 deactivate the device right away because we risk a deadlock
13722 when called from device thread, waiting for the device
13723 thread to cancel activation
13725 * src/nm-device-802-11-wireless.c
13726 - (real_deactivate_quickly): new function
13727 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13728 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13729 so that we kill the supplicant when we sleep too
13730 - (supplicant_interface_init): work around naive naming attempts of
13731 wpa_ctrl when naming sockets
13733 2006-01-13 Dan Williams <dcbw@redhat.com>
13735 * src/nm-device-802-11-wireless.c
13736 - (supplicant_cleanup): delete old device control sockets too
13737 - (supplicant_get_device_socket_path): new function to consolidate
13738 locations that need a path to a device's control socket
13740 2006-01-12 Robert Love <rml@novell.com>
13742 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13743 description so that the description is unique for each
13744 pair (device,provider). Fixes Novell #142773.
13746 2006-01-12 Dan Williams <dcbw@redhat.com>
13748 * src/nm-device-802-11-wireless.c
13749 - (supplicant_exec): ensure GError is correctly initialized
13750 Reported by Diego González (gnome.org #326708)
13752 2006-01-11 Robert Love <rml@novell.com>
13754 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13755 define if_mii(), open code the same results, and do so without any
13758 2006-01-11 Robert Love <rml@novell.com>
13760 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13761 that wso_foo_new() returned non-NULL. Instead, only append the new
13762 wso to wsm->options if the wso is non-NULL. The crux is that we
13763 assume that the relevant key types are implied by WEP and WPA as
13764 appropriate. To be sure, they should be, but we should not expect
13765 drivers to not be oozing piles of wolf fecal matter.
13767 2006-01-11 Robert Love <rml@novell.com>
13769 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13770 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13771 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13772 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13773 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13774 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13775 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13776 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13777 comparing values within DBL_EPSILON. Also fix shadowed variable
13780 2006-01-11 Dan Williams <dcbw@redhat.com>
13782 Add options for WPA2 and WPA1+CCMP (AES).
13784 * gnome/applet/wireless-applet.glade
13785 - Add UI bits for WPA+CCMP
13787 * gnome/applet/other-network-dialog.c
13788 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13789 and don't allow creation of WPA2 Ad-Hoc networks since
13790 wpa_supplicant doesn't support them
13792 * gnome/applet/wireless-security-manager.c
13793 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13794 on to the specific wireless security option being created
13796 * gnome/applet/wireless-security-option.[ch]
13797 - (wso_wpa_create_key_type_model): new utility function to create
13798 the model required for WPA Key Type combo box
13800 * gnome/applet/wso-private.h
13801 gnome/applet/wireless-security-option.h
13802 - Move private function prototypes into wso-private.h
13804 * gnome/applet/wso-wpa-psk-hex.[ch]
13805 gnome/applet/wso-wpa-psk-passphrase.[ch]
13806 - (append_dbus_params_func): get WPA version from checkbox and pass
13807 it to the dbus serialization helper
13808 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13809 key type combo changes
13810 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13813 * libnm-util/cipher-wpa-psk-hex.c
13814 libnm-util/cipher-wpa-psk-passphrase.c
13815 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13816 new function; allow the cipher to be changed after object creation
13818 * src/nm-ap-security-wpa-psk.c
13819 - (set_description): Do WPA2 descriptions too
13821 * src/nm-ap-security.c
13822 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13824 2006-01-11 Robert Love <rml@novell.com>
13826 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13827 is defined in <linux/mii.h> to return the mii_ioctl_data structure
13828 from the ifreq structure in lieu of an open coded solution. Removes
13829 a life-threatening type-punning.
13830 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13831 types, ever, whatsoever, baby.
13833 2006-01-11 Robert Love <rml@novell.com>
13835 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13836 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13837 assignments to applet->nm_state into a new nmwa_set_state() function
13838 for both cleanliness and to help debugging.
13840 2006-01-10 Robert Love <rml@novell.com>
13842 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
13843 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13844 seconds, exclusive. That is, we want to sleep x seconds such that
13847 2006-01-10 Robert Love <rml@novell.com>
13849 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13850 the attr fields according to the example in the email available at
13851 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13852 Conversely, we do have to free 'name', so we do so, fixing a leak.
13854 2006-01-10 Robert Love <rml@novell.com>
13856 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13857 sure that we close the socket!
13859 2006-01-10 Robert Love <rml@novell.com>
13861 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13862 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13863 src/nm-device.c: Fix a FIXME! Reimplement the function
13864 nm_device_update_hw_address() in device subclass variants,
13865 nm_device_802_3_ethernet_set_address() and
13866 nm_device_802_11_wireless_set_address(), hook them up, and use them.
13867 This fixes the existing bug where MAC addresses are all zeros.
13869 2006-01-10 Robert Love <rml@novell.com>
13871 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13872 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13873 option to give users ability to globally disconnect and put NM to
13874 sleep. This is useful as a 'lockdown mode' for flying, security, and
13877 2006-01-09 Robert Love <rml@novell.com>
13879 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
13880 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13881 User-space does not supply these types, so we have to define them
13882 ourselves. The relevant kernel maintainer refused to accept a patch
13883 switching these headers to the proper C99 types.
13885 2006-01-09 Dan Williams <dcbw@redhat.com>
13887 Apply Robert's 'tray icon redo' patch with fixes
13888 * gnome/applet/applet.c
13889 gnome/applet/applet.h
13890 - Instead of using a menu bar + menu item, simulate menu
13891 behavior using a popup menu. Highlight the area around
13892 the icon more like a menu too, by playing with the
13893 applet's size requisition
13895 2006-01-09 Timo Hoenig <thoenig@suse.de>
13896 * libnm-util/dbus-helpers.c
13897 libnm-util/dbus-helpers.h
13898 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13899 to 'exception_namespace' (:namespace is a keyword in
13902 2006-01-09 Dan Williams <dcbw@redhat.com>
13904 * src/NetworkManagerPolicy.c
13905 - (nm_policy_device_change_check): don't autoswitch away from
13906 Ad-Hoc networks, since there's really no concept of
13910 - (nm_dbus_nm_create_wireless_network): mark created networks
13913 * src/nm-device-802-11-wireless.c
13914 - (real_activation_success_handler): add user-created Ad-Hoc
13915 networks to the device's scan list
13917 2006-01-08 Dan Williams <dcbw@redhat.com>
13919 We now require a patch for wpa_supplicant to support Ad-Hoc
13921 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13923 * src/nm-device-802-11-wireless.c
13924 - (supplicant_send_network_config): turn off wpa_supplicant's
13925 scanning. Fixes Ad-Hoc networks.
13927 2006-01-08 Dan Williams <dcbw@redhat.com>
13929 * src/nm-ap-security.c
13930 src/nm-ap-security.h
13931 - Add a user_created argument to the write_supplicant_config
13934 * src/nm-ap-security-wep.c
13935 src/nm-ap-security-wpa-psk.c
13936 src/nm-device-802-11-wireless.c
13937 - Make Ad-Hoc mode somewhat work, at least write the
13938 correct options to wpa_supplicant
13940 2006-01-08 Dan Williams <dcbw@redhat.com>
13942 * src/nm-device-802-11-wireless.c
13943 - Remove unused code from the old device activation path
13945 2006-01-08 Dan Williams <dcbw@redhat.com>
13947 * libnm-util/dbus-helpers.c
13948 - (nmu_security_serialize_wpa_psk): pass a blank key through
13949 dbus when key == NULL
13951 2006-01-08 Dan Williams <dcbw@redhat.com>
13953 * gnome/applet/nm-gconf-wso-wpa-psk.c
13954 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13955 correct arguments to nmu_security_deserialize_wpa_psk()
13957 * src/nm-ap-security-wpa-psk.c
13958 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13959 arguments to nmu_security_deserialize_wpa_psk()
13961 2006-01-08 Dan Williams <dcbw@redhat.com>
13963 * gnome/applet/wso-wpa-psk-hex.c
13964 gnome/applet/wso-wpa-psk-passphrase.c
13965 - Hook up the append_dbus_params_func() function
13967 2006-01-08 Dan Williams <dcbw@redhat.com>
13969 * src/nm-device-802-11-wireless.c
13970 - (get_wireless_capabilities): correctly detect driver WPA
13973 2006-01-08 Dan Williams <dcbw@redhat.com>
13975 * gnome/applet/Makefile.am
13976 gnome/applet/wso-wpa-psk-hex.c
13977 gnome/applet/wso-wpa-psk-hex.h
13978 - New files, implement WPA-PSK Hex key input
13980 * gnome/applet/wireless-applet.glade
13981 - Change existing wpa-psk stuff to wpa-psk-hex
13982 - Add new widgets for wpa-psk-passphrase
13984 * gnome/applet/wireless-security-manager.c
13985 - (wsm_set_capabilities): enable WPA options
13987 * gnome/applet/wso-wpa-psk-passphrase.c
13988 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13989 for WPA-PSK passphrase
13991 2006-01-08 Dan Williams <dcbw@redhat.com>
13993 * include/NetworkManager.h
13994 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13995 applet/info-daemons
13997 * gnome/applet/passphrase-dialog.c
13998 - Use the constant. Fixes a bug where the arguments to
13999 dbus_message_new_error() were incorrect
14001 * src/nm-dbus-nmi.c
14004 2006-01-07 Dan Williams <dcbw@redhat.com>
14006 * src/nm-device-802-11-wireless.c
14007 - Add a link timeout so we allow the supplicant time to
14008 reassociate if it can, before we deactivate the card
14009 - Fix up link status and link updating so things work better
14011 2006-01-07 Dan Williams <dcbw@redhat.com>
14013 * src/nm-device-802-11-wireless.c
14014 - Switch over to using wpa_supplicant
14015 - Add a timeout of 10s for association of the supplicant
14016 - Start the monitor callback of the supplicant
14018 2006-01-07 Dan Williams <dcbw@redhat.com>
14020 * src/NetworkManagerUtils.c
14021 - (nm_utils_supplicant_request,
14022 nm_utils_supplicant_request_with_check):
14023 pass correct buffer length to wpa_ctrl_request()
14025 2006-01-07 Dan Williams <dcbw@redhat.com>
14027 * src/nm-device-private.h
14029 - (nm_device_activate_schedule_stage3_ip_config_start): make
14030 this function available to subclasses
14032 2006-01-06 Robert Love <rml@novell.com>
14034 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14035 user plugging in a network cable signals their preference for to
14036 switch, unless the user explicitly selected a wireless network and
14037 therefore signaled their preference for said wireless network over
14038 wired. In other words, do exactly what makes sense.
14040 2006-01-06 Robert Love <rml@novell.com>
14042 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14043 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14044 src/NetworkManagerWireless.h: Remove, no longer used and they keep
14045 showing up in my greps.
14047 2006-01-06 Robert Love <rml@novell.com>
14049 * gnome/applet/applet-dbus-devices.c,
14050 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14051 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14052 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
14053 New Network' both failed in the non-encrypted case because we were
14054 not appending the security options to the DBUS message. And
14055 'Connect to Other' was also failing in the encrypted case because
14056 we were not incrementing to the next DBUS parameter. All fixed.
14057 Thanks to dcdw for some debugging help.
14059 2006-01-06 Robert Love <rml@novell.com>
14061 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14062 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14063 hangup code and add per-device hangup. Tie last commit into the
14064 GNOME applet. TODO: Save, understand, and respond to the state of
14065 each dialup device.
14067 2006-01-06 Robert Love <rml@novell.com>
14069 Patch by Timo Hoenig <thoenig@suse.de>:
14070 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14071 hangup specific dialup devices.
14072 * src/backends/NetworkManagerDebian.c,
14073 src/backends/NetworkManagerGentoo.c,
14074 src/backends/NetworkManagerRedHat.c,
14075 src/backends/NetworkManagerSlackware.c: Add stub backend.
14076 * src/backends/NetworkManagerRedHat.c,
14077 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14078 hangup specific dialup devices.
14080 2006-01-04 Robert Love <rml@novell.com>
14082 * gnome/applet/applet-dbus-devices.c,
14083 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14084 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14087 2006-01-04 Dan Williams <dcbw@redhat.com>
14089 First dump of wpa_supplicant-related code. It's not hooked up to
14090 anything yet though. Thanks to Kay Sievers for
14091 wpa_supplicant_wrapper.c, which formed the basis for this work,
14092 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14096 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14098 * src/NetworkManagerUtils.[ch]
14099 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14100 Add convenience functions for talking to wpa_supplicant
14102 * src/nm-ap-security.[ch]
14103 src/nm-ap-security-wep.c
14104 src/nm-ap-security-wpa-psk.[ch]
14105 - Update and implement real_write_supplicant_config functions
14106 in all security types
14107 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14108 nm-ap-security-wpa-psk.c
14110 * src/nm-device-802-11-wireless.c
14111 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14112 wpa_supplicant_start, wpa_supplicant_interface_init,
14113 wpa_supplicant_send_network_config): add functions to talk to
14114 wpa_supplicant and write network config to it
14116 2006-01-04 Robert Love <rml@novell.com>
14118 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14119 values so that distribution-backends can differentiate between the
14120 various types (modem, ISDN, et cetera) of dialup device that they
14122 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14125 2006-01-03 Dan Williams <dcbw@redhat.com>
14127 * src/NetworkManagerPolicy.c
14129 src/nm-device-802-11-wireless.c
14130 - Move wireless-specific activation failure and success code
14131 into wireless device class
14133 2006-01-03 Robert Love <rml@novell.com>
14135 Patch by Preggna S:
14136 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14137 IPsec does not require that a VPN client be bound to an interface,
14138 due to the use of the in-kernel IPSec bits. So make the tunnel
14141 2006-01-03 Dan Williams <dcbw@redhat.com>
14143 * src/NetworkManagerAP.c
14144 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14145 the WPA IE specifies that WEP is supported
14147 * src/nm-device-802-11-wireless.c
14148 - (process_scan_results): don't mark an AP as supporting WEP
14149 if there's already other encryption capability info
14151 2006-01-03 Dan Williams <dcbw@redhat.com>
14153 * src/dhcp-manager/nm-dhcp-manager.c
14154 - Recognize activation cancellation when waiting for DHCP
14155 configuration from dhcdbd
14156 - Ignore non-dhcdbd messages
14159 - (real_act_stage3_ip_config_start): return to correct behavior
14160 of letting the dhcp-manager notify us of failure or
14161 success rather than incorrectly doing that ourselves
14162 - (nm_device_activate_stage4_ip_config_get): deal with
14163 activation cancellation a bit earlier
14165 2006-01-03 Dan Williams <dcbw@redhat.com>
14167 * src/nm-device-802-11-wireless.c
14169 - Add hooks to subclasses for stage3_ip_config_start and
14170 stage4_ip_config_timeout
14172 * src/nm-device-802-3-ethernet.c
14173 - (real_get_generic_capabilities): make devices NM-supported
14176 2006-01-03 Robert Love <rml@novell.com>
14178 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14179 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14180 latter cannot differentiate between error and the address -1; misc.
14183 2006-01-03 Dan Williams <dcbw@redhat.com>
14185 * src/NetworkManager.c
14186 - Move link-checking/probing into the device subclasses
14189 * src/nm-device.[ch]
14190 src/nm-device-802-11-wireless.c
14191 src/nm-device-802-3-ethernet.c
14192 - Do periodic link checking in device subclasses rather
14193 than being triggered from NetworkManager.c
14194 - discover_wireless_capabilities -> get_wireless_capabilities
14195 - discover_generic_capabilities -> get_generic_capabilities
14196 - Device subclass activation routines now return a value of type
14197 NMActStageReturn to indicate what step to perform next
14198 - Devices now override stage4_get_ip4_config if they choose
14200 2006-01-01 Dan Williams <dcbw@redhat.com>
14202 * src/nm-device-802-11-wireless.c
14203 - (real_init): don't chain up to parent init because we don't
14204 need to do that anymore
14207 - (discover_device_type): fix arguments to ioctl() to correctly
14208 pass interface name
14209 - (nm_device_new): consolidate generic device initialization into
14211 - (real_init): remove, consolidated to nm_device_new()
14212 - (nm_device_deactivate, real_deactivate): consolidate
14214 2006-01-01 Dan Williams <dcbw@redhat.com>
14216 * src/nm-activation-request.c
14217 - Change dhcp_state member of the NMActRequest structure
14218 from guint8 to guint32
14220 * src/dhcp-manager/nm-dhcp-manager.[ch]
14221 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14222 than guint8 to match the dbus argument. Turns out we were
14223 overwriting memory since we were passing in only a guint8
14225 2005-12-31 Dan Williams <dcbw@redhat.com>
14227 * refactor NMDevice into a GObject-based framework with separate
14228 objects for wired and wireless. The following files are no
14229 longer used but should stick around for a bit so we don't
14230 loose code through the cracks:
14231 NetworkManagerDevice.c
14232 NetworkManagerDevice.h
14233 NetworkManagerWireless.c
14234 NetworkManagerWireless.h
14236 The intent here is to allow each device type to manage its own
14237 connection & activation life-cycle, ie to allow wireless devices
14238 to interface with wpa_supplicant, etc. There's a fair bit of
14239 encapsulation breakage right now that should gradually get pulled
14240 back into each device, along with things like periodic property
14241 updates and link probing.
14243 2005-12-29 Dan Williams <dcbw@redhat.com>
14245 * include/NetworkManager.h
14246 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14247 between networks that don't have any encryption at all
14249 2005-12-29 Dan Williams <dcbw@redhat.com>
14251 * test/test-common.c
14254 - Move to a test-common subdirectory
14256 * test/libnm-util/test-ciphers.c
14257 - Move test data to test-inputs.h
14258 - Test WPA ciphers too
14260 * test/libnm-util/test-dbus-helpers.c
14261 - Test serialization/deserialization of ciphers
14263 2005-12-29 Dan Williams <dcbw@redhat.com>
14265 * gnome/applet/applet-dbus-devices.c
14266 - Replace 'enc' parameter with 'capabilities' for wireless networks
14267 in dbus calls to NM
14268 - Set capabilities on WirelessNetwork objects
14269 - Receive and save type-specific device capabilities too
14271 * gnome/applet/applet-dbus-info.c
14272 gnome/applet/applet-dbus.c
14273 - Passphrase dialog no longer a singleton; new instance gets created
14274 on each request. Updates to deal with that.
14276 * gnome/applet/applet.c
14277 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14278 than single 'encrypted' flag
14279 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14281 - Passphrase dialog updates per above
14283 * gnome/applet/menu-items.c
14284 - (network_menu_item_update): use AP capabilities to determine
14287 * gnome/applet/nm-device.[ch]
14288 - Add accessors for type-specific device capabilities
14290 * gnome/applet/other-network-dialog.c
14291 - Rework to respect device capabilities. i.e., if the device doesn't
14292 support WPA, remove that option from the security dropdown
14294 * gnome/applet/passphrase-dialog.c
14295 - Massive rework so that a new instance is created each time
14296 it's used, to support wireless network capabilities
14298 * gnome/applet/wireless-network.[ch]
14299 - Add accessors and members for wireless network capabilities
14301 * gnome/applet/wireless-security-manager.[ch]
14302 - (wsm_set_capabilities): called after creation to set which
14303 security options get shown to the user
14305 2005-12-29 Dan Williams <dcbw@redhat.com>
14307 * libnm-util/cipher-wpa-psk-passphrase.c
14308 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14311 2005-12-23 Dan Williams <dcbw@redhat.com>
14313 * gnome/applet/applet-dbus-info.c
14314 - (nmi_dbus_get_key_for_network): if there's no entry in
14315 GConf for a network, assume we want a new key
14316 - (nmi_save_network_info): serialize wireless security info
14317 into GConf so its saved
14320 - Fix warning as we may not be passed security info when
14321 connecting to a wireless network
14323 2005-12-23 Dan Williams <dcbw@redhat.com>
14325 * gnome/applet/applet-compat.c
14326 - Fix bugs in GConf entry conversion
14328 * gnome/applet/applet-dbus-info.c
14329 - (nmi_dbus_get_network_properties): handle case of the BSSID
14330 list being zero-length
14332 * libnm-util/cipher-*
14333 libnm-util/dbus-helpers.c
14334 - All ciphers must now return hashed keys as UTF-8 valid
14335 hexadecimal strings, ie "8f3dae4023". They are pushed
14336 through dbus as strings too.
14337 - Consolidate various functions that do bin->hex and hex->bin
14338 conversion into cipher.c
14340 * src/nm-ap-security-wep.c
14341 src/nm-ap-security-wpa-psk.c
14342 - Handle NULL keys since we may not know keys right away
14344 * src/nm-dbus-nmi.c
14345 - (nm_dbus_get_network_data_cb): actually advance to the start
14346 of the wireless security info before we try to deserialize it
14348 * libnm-util/test-ciphers.c
14349 - Update cipher tests for the change to UTF-8 hexadecimal strings
14351 2005-12-22 Dan Williams <dcbw@redhat.com>
14353 * gnome/applet/applet-compat.[ch]
14354 - Convert old-format GConf and keyring entries
14355 when the applet starts up.
14357 * gnome/applet/applet.c
14358 - (nmwa_get_instance): Call the conversion function
14359 on startup before dbus is initialized
14361 2005-12-22 Dan Williams <dcbw@redhat.com>
14363 * gnome/applet/applet-dbus-info.c
14364 - Remove nmi_dbus_create_error_message() in favor of
14365 nmu_create_dbus_error_message()
14366 - (nmi_dbus_get_network_properties): Error message cleanups
14367 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14368 gconf key rather than 'addresses', since they really are BSSIDs
14369 - (nmi_dbus_get_network_properties): Dispose of the security
14370 object when we're done with it
14372 2005-12-21 Dan Williams <dcbw@redhat.com>
14374 * Consolidate the info-daemon's "updateNetworkInfo" and
14375 "addNetworkAddress" calls into just "updateNetworkInfo"
14377 2005-12-21 Dan Williams <dcbw@redhat.com>
14379 * Make connection after key retrieval work again
14381 2005-12-21 Dan Williams <dcbw@redhat.com>
14383 * gnome/applet/nm-gconf-wso*
14384 - Make the serialize functions return gboolean
14387 * gnome/applet/nm-gconf-wso.c
14388 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14389 parent class handling so we don't segfault
14391 * src/NetworkManagerAP.[ch]
14392 - (nm_ap_get_capabilities): new function, return capabilities
14393 now that something can use them
14394 - (nm_ap_set_encrypted): assume that an access point supports
14395 both WEP104 and WEP40 if its set encrypted. FIXME: can
14396 we even tell whether it just supports WEP40?
14398 * src/NetworkManagerDevice.c
14399 - (ap_need_key): resurrect and update for the New World Order
14400 - (nm_device_wireless_get_activation_ap): if we're not given
14401 security info to use, create some based on access point
14404 * src/nm-ap-security-wep.c
14405 - (nm_ap_security_wep_new_from_ap): create a new object
14406 based on a certain access point's capabilities
14408 * src/nm-ap-security.c
14409 - (nm_ap_security_new_from_ap): delegate creation of a new
14410 object based on access point capabilities to a subclass
14411 - (nm_ap_security_copy_properties): don't segfault if we
14412 don't have a key yet
14415 - (nm_dbus_nm_set_active_device): provide more informative
14416 output when errors occur. Also construct security info
14417 for a given access point if we weren't given any
14419 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14421 * configure.in: Added Lithuanian to ALL_LINGUAS.
14423 2005-12-21 Dan Williams <dcbw@redhat.com>
14426 - Add some testcases for WEP ciphers
14428 2005-12-17 Dan Williams <dcbw@redhat.com>
14432 2005-12-17 Dan Williams <dcbw@redhat.com>
14434 * include/NetworkManager.h
14435 - Finally kill NMEncKeyType
14437 * gnome/applet/applet-dbus-info.c
14438 - (nmi_save_network_info): convert to NMGConfWSO
14440 * gnome/applet/nm-gconf-wso-*.c
14441 - Implement gconf serialization functions
14443 * src/NetworkManagerPolicy.c
14444 - (nm_policy_activation_finish): fix up meaning of
14445 automatic/user_requested
14447 2005-12-17 Dan Williams <dcbw@redhat.com>
14450 - More applet cleanups
14451 - Use the dbus-method-dispatcher
14453 * libnm-util/dbus-method-dispatcher.[ch]
14454 - Generalize the implementation from NM in
14455 NetworkManagerUtils.c
14457 2005-12-16 Dan Williams <dcbw@redhat.com>
14460 - Fix up the passphrase dialog to use all the
14461 WirelessSecurityOption stuff (untested)
14463 2005-12-16 Dan Williams <dcbw@redhat.com>
14465 * Move nm_gconf_get_*_helper() functions to separate files,
14466 gconf-helpers.c & gconf-helpers.h
14468 * New NMGConfWSO objects for managing the gconf side of things.
14469 Eventually these should be merged with the
14470 WirelessSecurityOption objects and a common base (that can
14471 serialize/deserialize from dbus & gconf) should be
14472 refactored out, but for now they are separate.
14474 2005-12-16 Robert Love <rml@novell.com>
14476 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14477 binaries unless they exist (nm_spawn_process() emits a warning if
14478 asked to spawn a non-existant process).
14480 2005-12-16 Dan Williams <dcbw@redhat.com>
14482 * gnome/applet/applet-dbus-info.c
14483 - Clean up lots of gconf-related code
14485 2005-12-16 Robert Love <rml@novell.com>
14487 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14489 2005-12-16 Dan Williams <dcbw@redhat.com>
14491 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14493 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14494 bits still to be done)
14496 2005-12-16 Dan Williams <dcbw@redhat.com>
14498 * Finally move info-daemon related stuff out of
14499 NetworkManagerDbus.c to nm-dbus-nmi.c
14501 2005-12-16 Dan Williams <dcbw@redhat.com>
14503 * Kill auth_method for access points, since that's now done
14504 by NMAPSecurity objects
14506 * Add a copy-constructor of sorts to NMAPSecurity
14507 (how do you do this properly in glib???)
14509 2005-12-15 Dan Williams <dcbw@redhat.com>
14511 * Exorcise encryption key hashing on APs
14512 * Use libnm-util's serialization/deserialization in both the
14514 * Random other stuff
14516 2005-12-15 Robert Love <rml@novell.com>
14518 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14519 is being added to the icon naming spec, so let's use that (Tango CVS
14520 has the icon). Because it is new, however, we fall back to the
14521 current "gnome-lockscreen" if the new icon is not around, thus
14522 behavior is the same.
14523 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
14526 2005-12-15 Robert Love <rml@novell.com>
14528 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14529 well, help to give. Couple other misc. bits.
14531 2005-12-15 Dan Williams <dcbw@redhat.com>
14533 * libnm-util/dbus-helpers.[ch]
14534 - Make this the one-stop-shop for serializing/deserializing
14535 AP & connection security settings over dbus. Both NM
14536 and applets should use this to ensure consistent dbus
14537 API going forwared.
14539 2005-12-15 Robert Love <rml@novell.com>
14541 Patch by Timo Hoenig <thoenig@suse.de>:
14542 * src/NetworkManagerDbus.c
14543 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14544 if HAL jumps off the system bus. Otherwise libdbus
14545 (dbus_connection_dispatch) will try to run the filter
14546 function of our libhal context which is already freed.
14548 2005-12-15 Alexander Shopov <ash@contact.bg>
14550 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14552 2005-12-14 Dan Williams <dcbw@redhat.com>
14554 * include/NetworkManager.h
14555 src/NetworkManagerWireless.c
14556 - Rearrange 802.11 wireless-specific capabilities again
14559 - Forgot to add wpa.c/wpa.h to the makefiles
14561 * src/NetworkManagerAP.[ch]
14562 - Implement access point capabilities and parse the
14563 WPA/RSN IEs into the capability bitfield
14564 - Switch the "encrypted" attribute to utilize the bitfield
14565 and capabilities rather than being independent
14567 * src/NetworkManagerDevice.c
14568 - (nm_device_wireless_get_activation_ap): break it horribly
14569 until we can push NMAPSecurity objects into access point
14570 objects and through the activation chain
14571 - Stuff WPA & RSN IEs into AP capabilities
14574 - Take a shot at actually making setActiveDevice work
14577 - Make the API a bit saner
14579 2005-12-14 Dan Williams <dcbw@redhat.com>
14581 * include/NetworkManager.h
14582 - Add 802.11-specific capability for 802.1x key
14586 - Pull in WPA IE and RSN IE parsing code from
14587 wpa_supplicant so we can determine access point
14589 - Move WPA-related constants here from NetworkManagerAP.h
14590 and NetworkManagerDevice.c
14592 * src/NetworkManagerDevice.c
14593 src/NetworkManagerAP.[ch]
14594 - Use WPA-related constants from wpa.h
14596 2005-12-14 Dan Williams <dcbw@redhat.com>
14598 * include/NetworkManager.h
14599 - Update and split 802.11 wireless-specific capabilities from
14600 generic device capabilities
14602 * src/NetworkManagerDevice.c
14603 src/NetworkManagerDevicePrivate.h
14604 - (nm_device_wireless_discover_capabilities): Move 802.11
14605 wireless-specific capability checks to
14606 NetworkManagerWireless.c
14607 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14608 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14610 * src/NetworkManagerWireless.[ch]
14611 - (nm_802_11_wireless_discover_capabilities): Check extended
14612 802.11 wireless-specific capabilities of the driver
14614 2005-12-14 Robert Love <rml@novell.com>
14616 Patch from Stefan Scheler <sscheler@suse.de>:
14617 * src/NetworkManagerDevice.c: call backend code to activate and
14619 * src/NetworkManagerSystem.h: add new NIS interfaces.
14620 * src/backends/NetworkManagerDebian.c,
14621 src/backends/NetworkManagerGentoo.c,
14622 src/backends/NetworkManagerRedHat.c,
14623 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14625 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14627 2005-12-14 Dan Williams <dcbw@redhat.com>
14629 * src/nm-ap-security*.[ch]
14630 - Add AP security abstractions to NetworkManager
14632 * src/nm-dbus-device.c
14633 - Begin to parse new format dbus messages from the applet
14634 and construct an AP security object from the message
14636 * libnm-util/dbus-helpers.c
14637 - Use message iters so we can append the key as a fixed
14638 array of bytes, which actually works rather than
14639 using dbus_message_append_args() as we were before
14641 2005-12-14 Dan Williams <dcbw@redhat.com>
14643 * src/NetworkManagerDbus.c
14644 gnome/applet/applet-dbus.c
14645 - Fix up dbus service replacement options. The applet
14646 should allow replacement, NM itself should not.
14648 2005-12-13 Robert Love <rml@novell.com>
14650 * src/named-manager/nm-named-manager.c: Revert earlier commit.
14651 Instead, fail silently if config is NULL by not asserting and not
14652 returning FALSE. Also, make sure we always fclose() the file.
14654 2005-12-13 Robert Love <rml@novell.com>
14656 Patch by Stefan Scheler <sscheler@suse.de>:
14657 * src/nm-ip4-config.h, src/nm-ip4-config.c,
14658 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14659 via DHCP. Still need the backends to commit the NIS domain name and
14660 and servers to yp.conf as needed.
14662 2005-12-13 Robert Love <rml@novell.com>
14664 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14665 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14667 2005-12-13 Robert Love <rml@novell.com>
14669 * src/named-manager/nm-named-manager.c: Don't unref the config until
14670 after we call rewrite_resolv_conf(), because get_last_default_domain()
14671 needs to access the config. Fixes "rewrite_resolv_conf: assertion
14672 `config != NULL' failed" assertion failures and "Could not commit DNS
14675 2005-12-12 Dan Williams <dcbw@redhat.com>
14677 * libnm-util/dbus-helpers.[ch]
14678 libnm-util/Makefile.am
14679 - new helper calls to consolidate locations where
14680 NM's setDevice method is called
14682 * gnome/applet/applet-dbus-devices.c
14683 gnome/applet/wireless-security-option.c
14685 - Implement dbus message param append function for
14686 all wireless security options
14688 2005-12-12 Robert Love <rml@novell.com>
14690 * libnm-util/cipher-wep-passphrase.c,
14691 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14692 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14693 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14694 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14695 When handling keys, we don't care what the sign is. The compiler
14696 guarantees us that we get our 8-bits, which is all we care about.
14697 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
14699 2005-12-12 Dan Williams <dcbw@redhat.com>
14701 * gnome/applet/applet-dbus-devices.[ch]
14702 gnome/applet/applet.c
14703 gnome/applet/other-network-dialog.c
14704 gnome/applet/wireless-security-manager.[ch]
14705 gnome/applet/wireless-security-option.[ch]
14707 - Push the wireless security options further into the applet
14709 2005-12-12 Robert Love <rml@novell.com>
14711 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14712 return any name servers. That is perfectly valid. (Novell #134369).
14714 2005-12-11 Dan Williams <dcbw@redhat.com>
14716 * gnome/applet/wso-*
14717 gnome/applet/wireless-security-option.*
14718 gnome/applet/Makefile.am
14719 - split each security option out so we can eventually
14720 have each one build up their own dbus message
14721 arguments to send to NM
14723 2005-12-11 Dan Williams <dcbw@redhat.com>
14725 * Make validation of the key work correctly
14727 2005-12-11 Dan Williams <dcbw@redhat.com>
14729 * Hook more bits of the Other Network Dialog up to the
14730 wireless security manager stuff, and restructure
14731 bits of the dialog so there's less code.
14733 2005-12-10 Dan Williams <dcbw@redhat.com>
14735 * gnome/applet/Makefile.am
14736 - Add libnm-util to includes
14737 - Add libnm-util to link list
14738 - Add wireless-security-common.* to compile list
14740 * gnome/applet/other-network-dialog.c
14741 - Convert to using the WirelessSecurityManager code and
14744 * gnome/applet/passphrase-dialog.c
14745 - Comment out references to stuff in the glade file that
14746 cause runtime errors until it can be fixed up
14747 to use the WirelessSecurityManager code
14749 * gnome/applet/wireless-applet.glade
14750 - Rename some widgets
14751 - Add widgets for the WirelessSecurityManager code
14752 - Remove passphrase-related stuff since that's now
14753 handled by the WirelessSecurityManager code
14755 2005-12-10 Dan Williams <dcbw@redhat.com>
14757 * gnome/applet/applet-dbus-devices.c
14758 - Print out error message details for dbus pending call callbacks
14759 - Move nmwa_dbus_update_devices() up
14761 * gnome/applet/applet-dbus-vpn.c
14762 - Print out error message details for dbus pending call callbacks
14764 2005-12-10 Dan Williams <dcbw@redhat.com>
14768 - Remove cipher-manager.* because we don't need it
14769 - Forgot to add gnome-keyring-md5 files to compile list
14771 2005-12-09 Dan Williams <dcbw@redhat.com>
14776 - Add a utility library for clients of NetworkManager. It's
14777 only targetted at applets for the moment, and contains
14778 a generalized 802.11 cipher framework for different
14779 types of keys (WEP & WPA Hex, ASCII, Passphrase)
14781 2005-12-09 Robert Love <rml@novell.com>
14783 * src/NetworkManagerDevice.c: handle error better in
14784 nm_device_set_mode().
14786 2005-12-08 Robert Love <rml@novell.com>
14788 * include/NetworkManager.h: add WPA capabilities constants
14789 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14790 or WPA2 and add the capabilities bits as appropriate.
14792 2005-12-08 Robert Love <rml@novell.com>
14794 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14795 NetworkManagerDispatcher.
14796 * configure.in, initscript/SUSE/.cvsignore,
14797 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14800 2005-12-08 Robert Love <rml@novell.com>
14802 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14804 2005-12-08 Robert Love <rml@novell.com>
14806 * src/NetworkManagerDevice.c: We want to fall back on and default to
14807 IW_MODE_AUTO, not -1, which is more in line with our previous
14808 behavior. Otherwise, we try to set the wireless mode to -1 in
14809 nm_device_set_mode().
14811 2005-12-07 Robert Love <rml@novell.com>
14813 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14814 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14815 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14816 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14817 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14818 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
14821 2005-12-07 Robert Love <rml@novell.com>
14823 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14824 supplied IP is invalid, fall back to DHCP.
14826 2005-12-07 Dan Williams <dcbw@redhat.com>
14828 * Convert NETWORK_MODE_* constants to IW_MODE_*
14829 * Make all the get_mode/set_mode functions take and return 'int'
14830 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14832 2005-12-07 Robert Love <rml@novell.com>
14834 * src/NetworkManagerDevice.c: strncpy() buffer check.
14835 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14837 2005-12-06 Dan Williams <dcbw@redhat.com>
14839 * gnome/applet/applet-dbus.c
14840 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14842 * gnome/applet/applet-dbus-vpn.c
14843 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14844 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14845 to TRUE here if stage was ACTIVATED
14847 2005-12-06 Dan Williams <dcbw@redhat.com>
14849 * Change nm_device_is_* functions to better names:
14850 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14851 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14853 2005-12-06 Dan Williams <dcbw@redhat.com>
14855 * Change naming of NMDeviceType to something more sensible:
14856 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14857 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14858 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14860 2005-12-06 Dan Williams <dcbw@redhat.com>
14862 * Move NetworkManager.h -> include/NetworkManager.h
14863 * Split out VPN stuff into include/NetworkManagerVPN.h
14864 * Fix up makefiles to include new location
14865 * Fix up sources to include NetworkManagerVPN.h
14867 2005-12-06 Dan Williams <dcbw@redhat.com>
14869 Various changes in the applet to move VPN connection "state" -> "stage",
14870 which it actually is. I'd like to change the signal as well when we
14871 break compat in the near future.
14873 2005-12-06 Dan Williams <dcbw@redhat.com>
14875 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14876 * initscript/Slackware/rc.networkmanager
14879 * src/backends/NetworkManagerSlackware.c
14880 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14883 2005-12-05 Robert Love <rml@novell.com>
14885 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14886 to free, particularly here as it just barfs.
14888 2005-12-05 Dan Williams <dcbw@redhat.com>
14890 * gnome/applet/applet-dbus.c
14891 - Work with dbus 0.6 too
14893 2005-12-03 Dan Williams <dcbw@redhat.com>
14895 * src/NetworkManagerUtils.[ch]
14896 src/nm-ip4-config.c
14897 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14898 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14900 2005-12-01 Robert Love <rml@novell.com>
14902 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14903 need a NULL for the '...' parameter, too, to fill the so-called
14906 2005-12-01 Robert Love <rml@novell.com>
14908 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14909 interface is already gone, so don't call rtnl_link_change() to down
14910 it (which will segfault, anyhow).
14912 2005-11-22 Robert Love <rml@novell.com>
14914 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14915 gateway is not set, just print a little note. Configurations without
14916 gateways are valid.
14918 2005-11-22 Robert Love <rml@novell.com>
14922 2005-11-20 Ilkka Tuohela <hile@iki.fi>
14924 * configure.in: Added Finnish translation to ALL_LINGUAS
14926 2005-11-14 Robert Love <rml@novell.com>
14928 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14929 Niemueller <tim@niemueller.de>.
14931 2005-11-08 Dan Williams <dcbw@redhat.com>
14933 Patch from Bill Moss <bmoss@clemson.edu>
14934 * src/NetworkManagerDevice.c
14935 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14936 of nm_policy_schedule_activation_finish() to prevent a
14937 race condition that causes the link to be dropped
14939 2005-11-08 Dan Williams <dcbw@redhat.com>
14941 Patch from Bill Moss <bmoss@clemson.edu>
14942 * src/NetworkManagerAPList.c
14943 src/NetworkManagerDevice.c
14944 src/NetworkManagerDbus.c
14945 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14946 we get more readable ether/mac addresses
14948 2005-11-02 Christopher Aillon <caillon@redhat.com>
14950 * gnome/applet/main.c: Don't set the restart command. This fixes
14951 the issue where the restart command was getting copies of all its
14952 arguments for each time the applet was restarted.
14954 2005-11-02 Robert Love <rml@novell.com>
14956 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14957 if the widget state differs from our saved state. This ensures we
14958 do not enter an endless loop of death and destruction. Also, this
14959 guarantees us that we enforce the widget state.
14961 2005-11-02 Robert Love <rml@novell.com>
14963 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14964 * gnome/applet/applet-dbus-devices.c: invoke the new function
14965 nmwa_enable_wireless_set_active() to ensure that the state of the
14966 'Enable Wireless' checkbox matches the daemon's state. This is a
14967 concern because the daemon remembers the state.
14969 2005-11-02 Robert Love <rml@novell.com>
14971 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14972 Enabled", as checkboxes should be actions/commands not positive
14973 statements, otherwise they are confusing in the unselected case. See
14974 examples in GNOME HIG, Chapter 6.
14976 2005-11-02 Robert Love <rml@novell.com>
14978 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
14979 show a list of wireless networks or the wireless devices or the
14980 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
14981 a bad bug: If wireless is disabled and the user picks a wireless
14982 network, NM will switch to the network, only to immediately switch
14983 back, as wireless is disabled. This also reassures people that NM
14984 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
14986 2005-11-02 Christopher Aillon <caillon@redhat.com>
14988 * gnome/applet/applet.c:
14989 * gnome/applet/applet.h:
14990 Partial backout of Dan's timeout animation patch.
14991 Timeout IDs cannot legally be 0, so revert the code in place to handle
14992 a timeout ID of 0 to denote the timeout isn't running.
14994 2005-11-02 Christopher Aillon <caillon@redhat.com>
14996 * src/NetworkManagerPolicy.c:
14997 (nm_policy_device_change_check) Clarify wireless switch nm_info text
14999 2005-10-28 Robert Love <rml@novell.com>
15001 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15002 "Import Saved Configuration..." to make it clear that importing is
15003 not the next step, but an option. As an aside, a nice TODO would be
15004 to move Importing out of the vpn-specific dialog and into the main
15005 property editor, as Importing goes with Adding, but that will require
15006 some rearchitecting of the VPN stuff I suspect.
15008 2005-10-27 Dan Williams <dcbw@redhat.com>
15010 Start using libnl. You need 1.0-pre3 or higher. Eventually
15011 we should replace most of the distro-specific backend code
15014 Get it here: http://people.suug.ch/~tgr/libnl/
15018 - Add checks for libnl pkgconfig file
15019 - Use LIBNL_LIBS & LIBNL_CFLAGS
15021 * src/NetworkManagerSystem.c
15022 src/nm-ip4-config.[ch]
15023 - Use libnl rather than ioctl() for most things
15024 - Remove unused functions
15026 2005-10-27 Robert Love <rml@novell.com>
15028 * src/backends/NetworkManagerSuSE.c: fix warning message text
15030 2005-10-27 Christopher Aillon <caillon@redhat.com>
15032 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15034 2005-10-27 Christopher Aillon <caillon@redhat.com>
15036 * gnome/applet/applet.c: The applet's about dialog can advertise our
15037 project page <http://www.gnome.org/projects/NetworkManager/>
15039 2005-10-26 Christopher Aillon <caillon@redhat.com>
15041 * gnome/applet.c: Also use translator credits if we don't have
15042 the new GtkAboutDialog (older versions of GTK+)
15044 2005-10-26 Robert Love <rml@novell.com>
15046 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15047 failure; correct usage text for "--no-daemon"
15049 2005-10-25 Dan Williams <dcbw@redhat.com>
15051 * src/NetworkManagerDevice.c
15052 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15054 - (free_process_scan_cb_data): unref the device when freeing results
15055 - (nm_device_wireless_process_scan_results): free scan results a bit later
15056 so we don't unref the device underneath ourselves
15058 2005-10-25 Dan Williams <dcbw@redhat.com>
15060 * Back out 2005-10-24 commit from Tor Krill. Patch
15061 causes nameservers never to be removed from named.
15063 2005-10-24 Dan Williams <dcbw@redhat.com>
15065 Clean up wireless scanning and wireless link probing.
15067 * src/NetworkManagerDevice.c
15068 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15069 just see if there's an activation request on the device, and check the
15070 current link against the activation request access point's ESSID.
15071 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15072 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15073 don't call process_scan_results() on zero-length data
15074 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
15075 15 seconds (from 10)
15077 2005-10-24 Dan Williams <dcbw@redhat.com>
15079 Cleanup some applet stuff:
15081 - Animation timeouts. If NM died while the applet was animating,
15082 the applet would not hide itself. This is now fixed.
15084 - Remove some dead code
15086 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15087 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15089 - Track animation timeout using a gboolean rather than the timeout's
15090 ID, since timeout IDs can legally be 0.
15092 2005-10-24 Dan Williams <dcbw@redhat.com>
15094 * src/backends/interface_parser.c
15095 - Add void to function declarations that need it
15096 to match patch from Engin AYDOGAN
15098 * src/backends/interface_parser.h
15099 - Remove unused prototype for ifparser_interfaces()
15101 Patch from Engin AYDOGAN <engin@bzzzt.biz>
15102 * src/backends/interface_parser.h:
15103 - Compile fixes for gcc 4.0.2 (add void)
15105 2005-10-24 Dan Williams <dcbw@redhat.com>
15107 Patch from Tor Krill <tor@krill.nu>
15108 * src/named-manager/nm-named-manager.c
15109 - Write more than just the first nameserver to /etc/resolv.conf
15110 - Write out valid /etc/resolv.conf on exit
15112 2005-10-21 Christopher Aillon <caillon@redhat.com>
15114 * gnome/applet/applet-dbus-vpn.c:
15115 Get rid of spurious newlines in debug console output
15117 2005-10-21 Christopher Aillon <caillon@redhat.com>
15119 * src/backends/NetworkManagerGentoo.c:
15120 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
15122 2005-10-20 Robert Love <rml@novell.com>
15124 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15125 direct comparison of floating point values, which is never correct.
15126 Also some misc. cleanup.
15128 2005-10-19 Robert Love <rml@novell.com>
15130 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15132 2005-10-19 Robert Love <rml@novell.com>
15134 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15135 sensitivity of the buttons. Specificaly, do the right thing if
15136 there are no entries.
15138 2005-10-19 Christopher Aillon <caillon@redhat.com>
15140 * configure.in: Update check for adequate wireless-tools
15141 with an AC_TRY_COMPILE for the new symbols we use.
15143 2005-10-19 Dan Williams <dcbw@redhat.com>
15145 * src/NetworkManagerDevice.c
15146 - (process_scan_results): don't drop the last (or only)
15147 access point we see
15149 2005-10-19 Christopher Aillon <caillon@redhat.com>
15151 * src/backends/NetworkManagerSlackware.c:
15152 Patch from Nico <lordllucifer@gmail.com>
15153 - Update the Slackware backend.
15155 2005-10-18 Christopher Aillon <caillon@redhat.com>
15157 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15158 if we've got GLib 2.8.0
15160 2005-10-18 Robert Love <rml@novell.com>
15162 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15163 function nm_schedule_state_change_signal_broadcast() when we
15164 deactivate a device, too.
15166 2005-10-18 Robert Love <rml@novell.com>
15168 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15169 be used uninitialized.
15171 2005-10-18 Christopher Aillon <caillon@redhat.com>
15173 * test/libnm_glib_test.c: Test unregistering, too.
15175 2005-10-17 Christopher Aillon <caillon@redhat.com>
15177 * configure.in: Bump to 0.5.0
15179 2005-10-17 Dan Williams <dcbw@redhat.com>
15182 - Remove WPA-related constants so they aren't part of the
15185 2005-10-17 Christopher Aillon <caillon@redhat.com>
15187 * gnome/applet/applet.c:
15188 * gnome/applet/applet.h:
15189 Desensitize the 'Connection Information' menu item when there is
15190 no active connection.
15192 2005-10-17 Christopher Aillon <caillon@redhat.com>
15194 * gnome/libnm_glib/libnm_glib.c:
15195 Make libnm_glib_unregister_callback () actually unregister the callback
15197 2005-10-17 Robert Love <rml@novell.com>
15199 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15200 two seconds -- tries is updated every 1/10 of a second, not every
15203 2005-10-17 Christopher Aillon <caillon@redhat.com>
15205 * gnome/applet/applet-dbus-info.c:
15206 Let D-BUS know that we haven't handled a message when we haven't.
15208 2005-10-17 Robert Love <rml@novell.com>
15210 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15211 in order to remain 64-bit clean.
15213 2005-10-17 Christopher Aillon <caillon@redhat.com>
15215 * gnome/applet/applet-dbus-info.c:
15216 Find network encryption keys asynchronously
15218 2005-10-17 Robert Love <rml@novell.com>
15220 * src/backends/NetworkManagerDebian.c,
15221 src/backends/NetworkManagerRedHat,
15222 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15225 2005-10-17 Robert Love <rml@novell.com>
15227 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15230 2005-10-17 Christopher Aillon <caillon@redhat.com>
15232 * src/NetworkManagerDevice.c: (process_scan_results)
15233 Fix logic that checks to see whether we have an ESSID.
15235 2005-10-15 Dan Williams <dcbw@redhat.com>
15237 Move scanning code into NetworkManager rather than use iwlib's
15238 iw_scan() function, so that we can figure out AP capabilities.
15241 - Add AP capability bits
15243 * src/NetworkManagerAP.[ch]
15244 - Add capability field to NMAccessPoint structure
15245 - Add WPA & RSN Information Element fields and accessor
15246 functions to NMAccessPoint
15248 * src/NetworkManagerDevice.c
15249 - Remove usage of iw_scan
15250 - Add scanning code to NetworkManager rather than use
15251 iw_scan() from iwlib
15253 * src/NetworkManagerUtils.[ch]
15254 - (nm_dispose_scan_results): remove, unused
15256 2005-10-14 Christopher Aillon <caillon@redhat.com>
15258 * gnome/libnm_glib/libnm_glib.c:
15259 * gnome/libnm_glib/libnm_glib.h:
15260 Use guint instead of gint for callback IDs.
15262 2005-10-12 Christopher Aillon <caillon@redhat.com>
15264 * gnome/applet/applet.c:
15265 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
15266 every 1000ms. It will unconditionally call nmwa_update_state which
15267 kills the existing animation timeout and registers a new one with a
15268 callback to draw a new frame every 100ms. There are 11 connecting
15269 icon frames, so the last 2 frames kept getting dropped. Only reset
15270 the animation timeout if we aren't animating.
15272 2005-10-11 Dan Williams <dcbw@redhat.com>
15274 * gnome/applet/applet-dbus-devices.c
15275 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15276 We want to grab the product & vendor from net.physical_dev
15277 rather than info.parent.
15279 2005-10-11 Dan Williams <dcbw@redhat.com>
15281 * src/NetworkManagerDevice.c
15282 - Use the driver's WE version for scanning rather than
15283 the WE version NM was compiled with. Fixes random
15284 crashes in iw_scan () in iwlib.
15286 2005-10-10 Dan Williams <dcbw@redhat.com>
15288 * Remove nm_system_load_device_modules() from backend files
15289 and from NetworkManager.c
15291 2005-10-10 Dan Williams <dcbw@redhat.com>
15293 * src/NetworkManagerPolicy.c
15294 - Fix some bugs introduced by the capabilities patch
15296 2005-10-10 Dan Williams <dcbw@redhat.com>
15298 * gnome/applet/applet-dbus-info.c
15299 - (nmi_dbus_get_network_key): hide the menu when putting up
15300 the keyring dialog. (not sure if the code is right...)
15302 2005-10-09 Dan Williams <dcbw@redhat.com>
15304 Patch from Bill Moss <bmoss@clemson.edu>
15305 * src/NetworkManagerDevice.c
15306 - (nm_device_set_user_key_for_network): don't try to set auth
15307 mode on the AP from the allowed list if it's NULL
15309 2005-10-09 Dan Williams <dcbw@redhat.com>
15311 * Replace the "driver support level" stuff with capabilities. The
15312 capability field is a bitfield that is more flexible than the
15313 old driver support level thing. It's mostly so we can easily
15314 figure out what supports WPA and what doesn't, but should be
15315 quite useful later.
15317 2005-10-09 Dan Williams <dcbw@redhat.com>
15324 - Added new "nm-tool" tool that gives quite a bit more
15327 2005-10-07 Robert Love <rml@novell.com>
15329 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15330 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15331 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15332 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15335 2005-10-07 Robert Love <rml@novell.com>
15337 * configure.in: Change our compile flags for the betterment of mankind.
15338 Add "-Wstrict-prototypes" because we comply anyhow and missing a
15339 prototype is very bad on 64-bit platforms as types default to int but
15340 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15341 "-Wmissing-declarations" to warn if we define an exported function
15342 but fail to put it in a header.
15344 2005-10-07 Robert Love <rml@novell.com>
15346 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15347 by the name nm_update_device_wireless_timeouts() and once tried,
15348 without success, to steal my pet turtle.
15350 2005-10-07 Robert Love <rml@novell.com>
15352 * Cleanup prototypes: put some functions in header files and mark
15353 others as 'static' -- feel free to invert
15354 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15355 nm_vpn_manager_vpn_connection_list_copy()
15356 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15357 nm_vpn_service_get_dbus_connection()
15358 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15359 nm_vpn_manager_vpn_connection_list_copy()
15360 * src/vpn-manager/nm-vpn-service.c: make
15361 nm_vpn_service_act_request_failed() and
15362 nm_vpn_service_stage2_daemon_wait() static
15363 * src/vpn-manager/nm-vpn-service.h: add prototype for
15364 nm_vpn_service_get_dbus_connection()
15366 2005-10-06 Christopher Aillon <caillon@redhat.com>
15368 * gnome/applet/applet.c:
15369 * gnome/applet/applet.h:
15370 * gnome/applet/icons/Makefile.am:
15371 Convey information about the current connection stage in the
15372 icons themselves instead of creating a separate progress bar.
15374 2005-10-04 Robert Love <rml@novell.com>
15376 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15377 convert an ether_addr structure's MAC into a string, because the
15378 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15379 versus 07:3B:04, while the former will not.
15381 2005-10-04 Robert Love <rml@novell.com>
15383 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15384 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15385 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15386 default route in the 'Connection Information' dialog, send primary
15387 and secondary name servers in in "getProperties" DBUS method, add
15388 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15389 secondary domain name servers are crucial pieces of information
15390 that a user might need in debugging a network problem.
15392 2005-10-04 Robert Love <rml@novell.com>
15394 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15395 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15396 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15397 default route in the 'Connection Information' dialog, send default
15398 route in "getProperties" DBUS method, add network_device_set_route(),
15399 and network_device_get_route(). The Gateway is a crucial piece of
15400 connection-related information that a user might need in debugging a
15403 2005-10-03 Robert Love <rml@novell.com>
15405 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15408 2005-10-02 Dan Williams <dcbw@redhat.com>
15410 * Shorten time taken to sleep by fastpathing bits of device deactivation
15411 necessary for sleep.
15413 * Fix issue where deactivating a device might deactivate the active
15414 VPN connection, even if the VPN was not using the device.
15416 2005-10-02 Dan Williams <dcbw@redhat.com>
15418 * gnome/applet/applet.c
15419 - Adjust signal strength -> icon mapping values slightly
15420 (so that 51% signal doesn't show a 75% icon) by adding
15421 5% to the values. ex: > 5% now shows 25% icon, > 30%
15422 shows 50% icon, etc.
15424 2005-09-29 Robert Love <rml@novell.com>
15426 * src/NetworkManager.c: removed unused variable.
15428 2005-09-28 Dan Williams <dcbw@redhat.com>
15430 Support for named + DBus, using Red Hat DBus patches for named. You
15431 can find those patches here, with "dbus" in the patch's filename:
15433 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15435 Don't forget the named dbus service file either.
15437 Instead of writing a config file and spawing a named process, NM will
15438 use an already-running dbus-enabled named if it finds one. NM will
15439 update named's forwarder configuration on the fly using dbus.
15441 If there is no dbus-enabled named running, NM will automatically fall
15442 back to writing the most-recent DNS server information to /etc/resolv.conf
15443 and calling nm_system_update_dns() to kick the system's resolver.
15445 Accordingly, all named-related configure-time options have been removed.
15447 2005-09-26 Robert Love <rml@novell.com>
15449 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15451 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15452 bug in error path if "ASKPASSWORD" is "no".
15454 2005-09-26 Robert Love <rml@novell.com>
15456 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15457 comment in /etc/resolv.conf -- ';' is not.
15459 2005-09-19 Dan Williams <dcbw@redhat.com>
15461 * src/backends/NetworkManagerRedHat.c:
15462 * src/backends/NetworkManagerDebian.c:
15463 * src/backends/NetworkManagerSlackware.c:
15464 * src/backends/NetworkManagerGentoo.c:
15465 * src/backends/NetworkManagerSUSE.c:
15466 Fix invocations of "/sbin/ip address" to use short form instead
15468 2005-09-19 Christopher Aillon <caillon@redhat.com>
15470 * src/nm-dbus-device.c: Don't assert when getting
15471 addresses of a not yet connected interface.
15473 * gnome/applet/applet.c: Free icons if loading fails.
15474 Use translator-credits so translators can make themselves known.
15476 2005-09-15 Christopher Aillon <caillon@redhat.com>
15478 * src/NetworkManagerAP.c:
15479 * src/NetworkManagerAP.h:
15480 * src/NetworkManagerDevice.c:
15481 Set a blacklist for certain common manufacturer default ESSIDs:
15482 APs with these ESSIDs are extremely likely to be completely
15483 different networks: connecting to one should not make NM
15484 auto-connect to every other AP with the same default ESSID.
15486 2005-09-12 Christopher Aillon <caillon@redhat.com>
15488 * gnome/applet/wireless-applet.glade:
15489 The passphrase entry should also activate the default
15491 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15493 * gnome/applet/applet-dbus-devices.c:
15494 * gnome/applet/applet.c:
15495 * gnome/applet/nm-device.c:
15496 * gnome/applet/nm-device.h:
15497 * src/NetworkManagerUtils.c:
15498 * src/NetworkManagerUtils.h:
15499 * src/nm-dbus-device.c:
15500 I've got a fever, and the only cure for it is less ioctl.
15501 Make NM push IP data rather than make the applet open a socket
15504 2005-09-10 Christopher Aillon <caillon@redhat.com>
15506 * gnome/applet/applet.c:
15507 * gnome/applet/applet-dbus-devices.c:
15508 * gnome/applet/applet-dbus-info.c:
15509 * gnome/applet/passphrase-dialog.c:
15510 * gnome/libnm_glib/libnm_glib.c:
15511 * gnome/vpn-properties/nm-vpn-properties.c:
15513 * src/backends/NetworkManagerRedHat.c:
15514 * src/named-manager/nm-named-manager.c:
15515 * src/NetworkManagerAPList.c:
15516 * src/NetworkManager.c:
15517 * src/NetworkManagerDbus.c:
15518 * src/NetworkManagerDevice.c:
15519 * src/NetworkManagerPolicy.c:
15520 * src/NetworkManagerSystem.c:
15521 * src/nm-dbus-device.c:
15522 * src/nm-dbus-nm.c:
15523 * src/vpn-manager/nm-vpn-manager.c:
15524 * src/vpn-manager/nm-vpn-service.c:
15525 * test/libnm_glib_test.c:
15526 * test/nminfotest.c:
15527 * test/nmtestdevices.c:
15528 Fix a bunch of 'unused variable' compiler warnings
15530 * NetworkManager.h:
15531 * gnome/applet/applet-dbus-info.c:
15532 * gnome/applet/applet-dbus-info.h:
15533 * gnome/applet/applet.c:
15534 * gnome/applet/applet.h:
15535 * src/NetworkManager.c:
15536 * src/NetworkManagerDbus.c:
15537 * src/NetworkManagerDbus.h:
15538 * src/NetworkManagerDevice.c:
15539 * src/NetworkManagerDevice.h:
15540 * src/NetworkManagerMain.h:
15541 * src/NetworkManagerWireless.c:
15542 * src/NetworkManagerWireless.h:
15543 * src/nm-dbus-nm.c:
15544 Make NetworkManager be smart about how frequently to scan
15545 based on its current state. Remove the UI for choosing when
15546 to scan. Scanning still may disabled completely by the user
15547 via the "Wireless Enabled" menu item.
15549 2005-09-09 Christopher Aillon <caillon@redhat.com>
15551 * gnome/applet/applet.c:
15552 Also overlay the vpn connecting icons onto the wired icon,
15555 * gnome/vpn-properties/nm-vpn-properties.glade:
15556 Clean up a few strings to use better grammar and proper casing.
15558 2005-09-08 Christopher Aillon <caillon@redhat.com>
15560 * gnome/applet/vpn-connection.c:
15561 * gnome/applet/vpn-connection.h:
15562 Add nmwa_vpn_connection_is_activating ()
15564 * gnome/applet/applet.c:
15565 * gnome/applet/applet.h:
15566 * gnome/applet/icons/nm-vpn-connecting*.png:
15567 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15568 the user know something's happening between clicking the VPN item and it
15569 actually being connected.
15571 2005-09-07 Christopher Aillon <caillon@redhat.com>
15573 * gnome/applet/applet-dbus-info.c: need to free attributes in the
15574 failure case as well.
15576 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
15578 * gnome/panel/eggtrayicon.[ch]:
15579 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15581 2005-09-07 Dan Williams <dcbw@redhat.com>
15583 Patch from Bill Moss <bmoss@clemson.edu>
15584 * src/applet-dbus.c
15585 - (nmwa_dbus_filter): strip whitespace from beginning
15586 and end of VPN login banner
15588 2005-09-07 Dan Williams <dcbw@redhat.com>
15590 * The great VPN Manager rewrite of 2005
15592 2005-09-07 Christopher Aillon <caillon@redhat.com>
15594 * gnome/applet/menu-items.c:
15595 * gnome/applet/nm-device.c:
15596 * gnome/applet/wireless-network.c:
15597 * gnome/libnm_glib/libnm_glib.c:
15598 * src/NetworkManagerDbusUtils.c:
15599 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15600 g_malloc0 doesn't return NULL
15602 2005-09-06 Dan Williams <dcbw@redhat.com>
15604 Patch from Tomislav Vujec <tvujec@redhat.com>
15605 * src/NetworkManagerDevice.c
15606 - (nm_get_device_by_udi): don't return a device when we
15607 actually didn't find what we were looking for
15609 2005-09-06 Christopher Aillon <caillon@redhat.com>
15611 * gnome/applet/applet-dbus-devices.c:
15612 * gnome/applet/applet-dbus-devices.h:
15613 * gnome/applet/applet-dbus.c:
15614 * src/NetworkManagerDbus.c:
15615 * src/NetworkManagerDbus.h:
15616 * src/NetworkManagerDevice.c:
15617 * src/nm-dbus-device.c:
15618 Make NM push updates about active device strength when it changes,
15619 rather than having the applet poll every 2s.
15621 2005-09-05 Christopher Aillon <caillon@redhat.com>
15623 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15624 network_device_set_strength
15626 2005-09-04 Dan Williams <dcbw@redhat.com>
15628 Patch from Bill Nottingham <notting@redhat.com>
15629 * src/NetworkManagerDevice.c
15630 - (nm_device_activation_cancel): reset the quit_activation flag
15632 2005-09-04 Dan Williams <dcbw@redhat.com>
15634 * src/nm-activation-request.c
15635 - (nm_act_request_unref): actually free the structure,
15636 which we didn't seem to be doing before
15638 2005-09-04 Dan Williams <dcbw@redhat.com>
15640 Patch from John Palmieri <johnp@redhat.com>
15641 * gnome/applet/applet-dbus-devices.c
15642 - Fix up unreffing of DBusMessage objects
15644 2005-09-04 Dan Williams <dcbw@redhat.com>
15646 Patch from John Palmieri <johnp@redhat.com>
15647 * gnome/applet/nm-device.c
15648 - (nm_device_unref): clear network_device's memory _before_ freeing it
15650 2005-09-02 Christopher Aillon <caillon@redhat.com>
15652 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15654 2005-09-02 Bill Nottingham <notting@redhat.com>
15656 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15658 2005-09-01 Dan Williams <dcbw@redhat.com>
15660 * src/NetworkManager.c
15661 - (nm_remove_device_from_list): rename to nm_remove_device
15662 - (nm_hal_device_removed): call nm_remove_device()
15664 * src/NetworkManagerDevice.c
15665 - Change the NMWirelessScanCB member 'reschedule' which
15666 wasn't used to 'force' to indicate that we need to
15667 force a scan when adding a device
15670 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15671 from the device list
15672 - (nm_dbus_nm_wake): Re-add all devices to the device list
15674 2005-09-01 Robert Love <rml@novell.com>
15676 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15677 and the check "!iface" in the error case is probably never true.
15679 2005-09-01 Dan Williams <dcbw@redhat.com>
15681 Patch from Bill Nottingham <notting@redhat.com>
15682 * src/backends/NetworkManagerRedHat.c
15683 - Add initial dialup support to Red Hat/Fedora backend
15685 2005-09-01 Dan Williams <dcbw@redhat.com>
15687 * gnome/applet/applet-dbus-devices.c
15688 - Sort both wireless networks and devices again, which got
15689 broken when removing threading
15691 2005-09-01 Christopher Aillon <caillon@redhat.com>
15693 * gnome/applet/applet.c:
15694 Only show the "Stop/Start All Wireless Devices" menuitem
15695 if we actually have wireless devices.
15697 * gnome/applet/applet-dbus-info.c:
15698 * gnome/applet/applet.c:
15699 * gnome/applet/other-network-dialog.c:
15700 * gnome/applet/vpn-password-dialog.c:
15701 Drop the gtk_dialog_run () calls in favor of connecting to
15702 "response" signals, needed now that the applet is not threaded.
15704 2005-08-31 Dan Williams <dcbw@redhat.com>
15706 Patch from Bill Moss <bmoss@clemson.edu>
15707 * src/NetworkManagerDevice.c
15708 - (nm_device_wireless_scan): fix scan timeout values
15710 2005-08-30 Dan Williams <dcbw@redhat.com>
15712 * gnome/applet/wireless-applet.glade
15713 - HIG-ify the Other Wireless Networks dialog a bit more
15714 - Fix some potential segfaults in the info dialog
15716 2005-08-30 Dan Williams <dcbw@redhat.com>
15718 * gnome/applet/applet-dbus-devices.c
15719 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15721 2005-08-30 Dan Williams <dcbw@redhat.com>
15723 * gnome/applet/applet-dbus.[ch]
15724 - Remove all the nmwa_dbus_call_method_xxxx functions since
15725 they weren't being used anyway
15727 2005-08-30 Bastien Nocera <hadess@hadess.net>
15729 * test/nmtestdevices.c: (print_usage), (main):
15730 Check the number of arguments, and fix a typo
15732 2005-08-29 Dan Williams <dcbw@redhat.com>
15734 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15735 * gnome/applet/applet.c
15736 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15738 2005-08-29 Dan Williams <dcbw@redhat.com>
15741 - Don't use threads any more. Anything that blocks
15742 (like gtk_dialog_run()) will have to get fixed up which
15743 should happen quickly. We really only had threads to make
15744 the animation smooth, and when everything got converted over
15745 to DBus Pending Calls, the need for threads kind of went away
15747 2005-08-29 Christopher Aillon <caillon@redhat.com>
15749 * gnome/applet/applet.c: Draw VPN connections as radio items
15750 since we don't yet support multiple VPNs.
15751 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15752 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15754 2005-08-29 Dan Williams <dcbw@redhat.com>
15756 Patch from j@bootlab.org
15757 - Make --without-named work
15758 - Make --with-dhcdbd work correctly
15760 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
15762 * configure.in: Added "ca" to ALL_LINGUAS.
15764 2005-08-26 Christopher Aillon <caillon@redhat.com>
15766 * Fix up VPN state handling between the applet and NetworkManager,
15767 so that the applet doesn't show a VPN as connected when one
15769 - The applet no longer has a pointer to the active VPN's
15770 name, but tracks each VPNs state individually
15771 - NM no longer has a "getActiveVPNConnection" method
15772 - NM no longer broadcasts the "VPNConnectionChange" signal
15773 - NM now broadcasts a "VPNConnectionStateChange" signal
15774 whenever the state of a VPN changes
15776 2005-08-26 Dan Williams <dcbw@redhat.com>
15778 * gnome/applet/applet-dbus-devices.c
15779 gnome/applet/applet-dbus-vpn.c
15780 - Remove calls to dbus_pending_call_ref() because we already
15781 "own" the pending call
15782 - Remove calls to dbus_pending_call_get_completed() because
15783 when we are in the callback, the pending call is completed
15786 2005-08-22 Dan Williams <dcbw@redhat.com>
15788 Patch by Bill Moss <bmoss@clemson.edu>
15789 * src/dhcp-manager/nm-dhcp-manager.c
15790 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15791 some time to send out a RELEASE if they like
15793 2005-08-22 Dan Williams <dcbw@redhat.com>
15795 Noticed by Bill Moss <bmoss@clemson.edu>
15796 * src/NetworkManagerDbus.c
15797 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15798 instead of just cancelling its activation
15800 * src/NetworkManagerDevice.c
15801 - (nm_device_deactivate): some small cleanups
15802 - (nm_device_set_user_key_for_network): deactivate the device
15803 instead of just cancelling its activation
15805 2005-08-22 Dan Williams <dcbw@redhat.com>
15807 Noticed by Bill Moss <bmoss@clemson.edu>
15808 * src/NetworkManagerDevice.c
15809 - (nm_device_wireless_scan): fix scan timeout, we were
15810 waiting way too long for scans to complete
15812 2005-08-22 Dan Williams <dcbw@redhat.com>
15814 Patch from j@bootlab.org:
15815 * src/backends/NetworkManagerDebian.c
15816 - Make the Debian backend work for static IP again
15818 2005-08-20 Christopher Aillon <caillon@redhat.com>
15820 * gnome/applet/other-network-dialog.c:
15821 The "Create New Network" and "Connect to Other Network"
15822 dialogs share alot of code, but shouldn't share a window
15823 title. Give them different ones.
15825 * gnome/applet/wireless-applet.glade:
15826 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15827 Some more minor UI tweaks.
15829 2005-08-19 Christopher Aillon <caillon@redhat.com>
15831 * gnome/applet/other-network-dialog.c:
15832 * gnome/applet/wireless-applet.glade:
15833 Also need mnemonic widgets, and underline enabled.
15835 2005-08-19 Dan Williams <dcbw@redhat.com>
15837 * vpn-daemons/vpnc/nm-vpnc-service.c
15838 - (vpnc_watch_cb): remove no-longer-relevant comment
15839 - (write_config_option): new function, helper to write
15840 config options to vpnc's stdin
15841 - (nm_vpnc_config_write): use the new helper, make the
15844 2005-08-19 Christopher Aillon <caillon@redhat.com>
15846 * gnome/applet/passphrase-dialog.c:
15847 * gnome/applet/wireless-applet.glade:
15848 Make the passphrase dialog response based, and treat
15849 responses other than OK (such as Esc, [X]) as a cancel.
15851 2005-08-18 Christopher Aillon <caillon@redhat.com>
15853 * initscript/Gentoo/NetworkManager:
15854 * initscript/RedHat/NetworkManager:
15855 * initscript/RedHat/NetworkManagerDispatcher:
15856 * initscript/SUSE/networkmanager:
15857 CVS remove these in place of .in replacements
15860 * initscript/Gentoo/NetworkManager.in:
15861 * initscript/RedHat/NetworkManager.in:
15862 * initscript/RedHat/NetworkManagerDispatcher.in:
15863 * initscript/SUSE/networkmanager.in:
15864 These scripts now are generated so they work still when
15865 NM is built using a bindir other than /usr/bin
15867 2005-08-18 Dan Williams <dcbw@redhat.com>
15869 * gnome/applet/main.c
15870 - Revert previous change for --no-session since
15871 --sm-disable does the same thing
15873 2005-08-18 Dan Williams <dcbw@redhat.com>
15875 * gnome/applet/applet-dbus-info.c
15876 - (nmi_dbus_create_error_message): new function
15877 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15878 functions. Also don't check for both device _and_ network before
15879 asking for a user's key, because we may not have gotten all our
15880 networks back from NM quite yet (due to the dbus pending calls
15881 coming in later). Fixes a hang in NM/nm-applet.
15883 * src/NetworkManagerDbus.c
15884 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15885 slightly more sane manner, even though we are still broken for
15886 certain other error conditions.
15887 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15888 to the info-daemon too
15890 * src/NetworkManagerDevice.c
15891 - Fix some debug messages to be info messages instead
15893 2005-08-18 Dan Williams <dcbw@redhat.com>
15895 * gnome/applet/main.c
15896 - Add new "--no-session" parameter that disables applet
15897 session management, ie for testing
15899 2005-08-18 Christopher Aillon <caillon@redhat.com>
15901 * gnome/applet/other-network-dialog.c:
15902 * gnome/applet/wireless-applet.glade: More mnemonics
15904 2005-08-17 Robert Love <rml@novell.com>
15906 * initscript/SUSE/networkmanager: update
15908 2005-08-17 Dan Williams <dcbw@redhat.com>
15910 * Tag NM_0_4_1_RELEASE
15912 2005-08-17 Christopher Aillon <caillon@redhat.com>
15914 * gnome/applet/applet.c: More translatable string cleanup
15917 2005-08-17 Dan Williams <dcbw@redhat.com>
15919 * gnome/applet/applet-dbus-info.c
15920 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15921 from the dbus message, which tells us to unconditionally
15922 ask the user for a new key. Otherwise, we pull the key from
15923 the keyring and return it. If we fail to get the key from the
15924 keyring, we ask the user for a new key.
15925 - (nmi_dbus_get_network_key): new function to grab the key for
15926 an essid from the keyring.
15927 - (nmi_dbus_get_network_properties): don't access the keyring here.
15928 Also, don't return any key in the dbus message.
15930 * src/NetworkManagerDbus.[ch]
15931 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15932 indicate that we unconditionally want a new key. This function
15933 is now also used to get keys from the info-daemon which are
15934 pre-stored, not just for asking the user for a new key. The
15935 "new_key" parameter indicates whether or not we wish to ask the
15936 user for a new key.
15937 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15938 info-daemon in the return message, so use NULL instead. The
15939 key will be filled in at connect time by calling
15940 nm_dbus_get_user_key_for_network()
15942 * src/NetworkManagerDevice.c
15943 - (nm_device_wireless_configure): update for "new_key" param to
15944 nm_dbus_get_user_key_for_network(). We initially set new_key
15945 to FALSE to see if we have a stored key in the info-daemon, but
15946 if the connection is unsuccessful at this stage we request a
15949 2005-08-17 Dan Williams <dcbw@redhat.com>
15951 * gnome/applet/icons/nm-no-connection.png
15952 gnome/applet/icons/nm-device-wired.png
15953 - Use Diana's new RJ45 connector icons
15955 2005-08-17 Dan Williams <dcbw@redhat.com>
15957 * src/NetworkManagerPolicy.c
15958 - (nm_policy_device_change_check): clarify switching rules if
15959 both new and old devices are valid; mainly, don't switch
15960 away from user-requested wireless connection back to a wired
15963 2005-08-17 Dan Williams <dcbw@redhat.com>
15965 * gnome/applet/Makefile.am
15966 - Relocate the applet to /usr/bin since it is no longer
15967 executed by anything, but directly by the user
15969 2005-08-17 Dan Williams <dcbw@redhat.com>
15971 Patch from Bill Moss <bmoss@clemson.edu>
15973 * gnome/applet/applet-dbus-info.[ch]
15974 - (nmi_save_network_info): save timestamp for network if it
15975 was a change requested by the user
15976 - (nmi_dbus_update_network_info): get user_requested from dbus
15977 message and pass to nmi_save_network_info()
15979 * gnome/applet/applet.c
15980 - (nmwa_update_network_timestamp): remove
15981 - (nmwa_menu_item_activate): don't set timestamp on networks
15982 here, only after a successful connect in nmi_save_network_info()
15984 * src/NetworkManagerDbus.[ch]
15985 - (nm_dbus_update_network_info): pass user_requested into the
15988 * src/NetworkManagerPolicy.c
15989 - (nm_policy_activation_finish): pass user_requested to
15990 nm_dbus_update_network_info()
15992 2005-08-16 Robert Love <rml@novell.com>
15994 * gnome/applet/applet.c: Better "Dial Up" menu item.
15996 2005-08-16 Robert Love <rml@novell.com>
15998 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15999 "Connection Information" menu item.
16001 2005-08-16 Dan Williams <dcbw@redhat.com>
16003 Patch from j@bootlab.org
16004 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16006 * configure.in: allow specifying the path to dhcdbd
16008 2005-08-16 Robert Love <rml@novell.com>
16010 Patch from j@bootlab.org
16011 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16012 src/backends/interface_parser.h: Debian dialup support.
16014 2005-08-16 Christopher Aillon <caillon@redhat.com>
16016 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16017 * gnome/applet/applet.c: Add some mnemonics for VPNC
16019 * vpn-daemons/.cvsignore: fix this up a little bit
16021 2005-08-16 Robert Love <rml@novell.com>
16023 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16026 2005-08-16 Christopher Aillon <caillon@redhat.com>
16028 * gnome/applet/applet.c: Split markup out of translatable strings
16029 and clean up logic a little bit. (fixes #309012)
16031 2005-08-15 Christopher Aillon <caillon@redhat.com>
16033 * gnome/vpn-properties/nm-vpn-properties.c:
16034 * gnome/vpn-properties/nm-vpn-ui-interface.h:
16035 * vpn-daemons/vpnc/properties/nm-vpnc.c:
16036 Makeshift fix to remove newlines from translatable strings.
16037 Note that we now return an allocated string, so callers of
16038 get_confirmation_details () must now call g_free () on the
16039 result. (fixes #309033).
16041 2005-08-12 Robert Love <rml@novell.com>
16043 * gnome/applet/applet-dbus.c: remove newlines from translatable
16044 strings--not needed here anyway. (fix b.g.o #309011)
16045 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16047 2005-08-11 Robert Love <rml@novell.com>
16049 * gnome/applet/applet.c: mark string as translatable.
16051 2005-08-11 Robert Love <rml@novell.com>
16053 * initscript/SUSE/networkmanager: update.
16055 2005-08-11 Dan Williams <dcbw@redhat.com>
16057 * src/nm-dhcp-manager.c
16058 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16059 an gateway returned from DHCP, try to use the address of the DHCP
16060 server as the gateway instead. Found by Ralf Ertzinger.
16062 2005-08-10 Robert Love <rml@novell.com>
16064 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16065 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16067 2005-08-10 Dan Williams <dcbw@redhat.com>
16069 Patch from Bill Moss <bmoss@clemson.edu>
16070 * Consolidate writes of access point information updates to the info daemon
16071 so that we only do it when the connection to the access point was
16072 successful. Also consolidates updates to GConf in the Gnome applet.
16074 * src/nm-netlink-monitor.c
16075 - Silence compile warning when calling g_object_new()
16077 2005-08-08 Dan Williams <dcbw@redhat.com>
16079 Patch from Steev <steev@steev.net>:
16080 * src/backends/NetworkManagerGentoo.c
16081 - Stub new dialup backend functions
16083 2005-08-08 Dan Williams <dcbw@redhat.com>
16085 Patch from Colin Slater:
16086 * src/backends/NetworkManagerGentoo.c
16087 - (nm_system_update_dns): Fix exit status check for restarting
16090 2005-08-05 Robert Love <rml@novell.com>
16092 * NetworkManager.h,
16093 gnome/applet/applet-dbus-devices.c,
16094 gnome/applet/applet-dbus-devices.h,
16095 gnome/applet/applet-dbus.c,
16096 gnome/applet/applet.c,
16097 gnome/applet/applet.h,
16098 src/NetworkManager.c,
16099 src/NetworkManagerMain.h,
16100 src/NetworkManagerSystem.h,
16101 src/backends/NetworkManagerRedHat.c,
16102 src/backends/NetworkManagerSuSE.c,
16103 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16105 2005-08-05 Robert Love <rml@novell.com>
16107 * gnome/applet/other-network-dialog.c: default the adhoc network to the
16108 machine's hostname to make adhoc creation idiot-proof.
16110 2005-08-04 Robert Love <rml@novell.com>
16112 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16115 2005-08-04 Dan Williams <dcbw@redhat.com>
16117 * gnome/applet/applet-dbus-info.c
16118 gnome/applet/applet-dbus-info.h
16119 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16120 to store key, key type, and auth method rather than just auth method
16121 - (nmi_dbus_update_network_info): new function
16122 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16124 * gnome/applet/passphrase-dialog.c
16125 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16126 of saving the info ourselves
16128 * gnome/libnm_glib/libnm_glib.c
16129 - Remove the stupid version check for dbus
16131 * src/NetworkManagerAP.c
16132 src/NetworkManagerAP.h
16133 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16135 * src/NetworkManagerDbus.c
16136 src/NetworkManagerDbus.h
16137 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16138 more than just the auth method
16140 * src/NetworkManagerDevice.c
16141 - Update network info at the appropriate times
16143 2005-07-29 Ray Strode <rstrode@redhat.com>
16145 * src/NetworkManager.c (nm_info_handler): don't use input as format
16146 string (Spotted by Ian Jackson).
16148 2005-07-27 Dan Williams <dcbw@redhat.com>
16152 - Random cleanups of spacing
16154 * gnome/applet/applet.h
16155 gnome/applet/other-network-dialog.c
16156 gnome/applet/passphrase-dialog.c
16157 - Conslidate usage of NMWAEncryptionKeyTypes enum
16159 Patch from Bill Moss:
16160 - Make Other Wireless Networks work again with encryption keys
16162 2005-07-26 Dan Williams <dcbw@redhat.com>
16164 Patch from Steev <steev@steev.net>:
16165 * src/backends/NetworkManagerGentoo.c
16166 src/backends/Makefile.am
16167 - Fix up Gentoo backend
16169 2005-07-26 Robert Love <rml@novell.com>
16171 * src/backends/NetworkManagerSuSE.c: misc. cleanup
16173 2005-07-25 Robert Love <rml@novell.com>
16175 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16176 in the same group as the wireless networks, since they are all
16177 mutually exclusive.
16179 2005-07-24 Ray Strode <rstrode@redhat.com>
16181 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
16182 remove unneeded NULL arg from g_object_new(). Any
16183 warnings caused by not having the extra NULL are just a
16184 result of a bug in glib 2.7.0 - 2.7.2.
16186 2005-07-22 Robert Love <rml@novell.com>
16188 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16190 2005-07-22 Robert Love <rml@novell.com>
16192 * src/nm-netlink-monitor.c: g_object_new() needs at least three
16193 parameters (gcc 4.0.2 warning fix).
16195 2005-07-18 Robert Love <rml@novell.com>
16197 Suggested by Aaron Bockover (abockover@novell.com)
16198 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16200 * gnome/applet/passphrase-dialog.c: ditto
16201 * gnome/applet/wireless-applet.glade: ditto
16203 2005-07-13 Dan Williams <dcbw@redhat.com>
16205 Patch from Ray Strode <halfline@gmail.com>
16206 * vpn-daemons/vpnc/nm-vpnc-service.c
16207 - Don't let vpnc daemonize, fixes some races with PID file reading
16209 2005-07-13 Dan Williams <dcbw@redhat.com>
16211 Patch from Ray Strode <halfline@gmail.com>
16212 * Random cleanups for strict CFLAGS
16214 2005-07-07 Dan Williams <dcbw@redhat.com>
16216 Patch from Derek Atkins <warlord@MIT.EDU>
16217 * src/nm-dbus-net.c:
16218 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16220 2005-07-07 Dan Williams <dcbw@redhat.com>
16222 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16223 * src/backends/NetworkManagerGentoo.c
16224 - Gentoo backend Static IP nameserver fixes
16225 - General Gentoo backend goodness
16227 2005-07-07 Dan Williams <dcbw@redhat.com>
16229 Patch from Bastien Nocera:
16230 * gnome/applet/applet.c
16231 - Fix up error reporting when icons or glade files are missing
16233 2005-07-07 Robert Love <rml@novell.com>
16235 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16236 are not any VPN connections above it.
16238 2005-07-07 Robert Love <rml@novell.com>
16240 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16242 2005-07-05 Robert Love <rml@novell.com>
16244 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16247 2005-07-05 Robert Love <rml@novell.com>
16249 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16250 on wired or unencrypted wireless.
16252 2005-07-01 Robert Love <rml@novell.com>
16254 * src/NetworkManagerSystem.c: Print the error via strerror().
16256 2005-06-30 Robert Love <rml@novell.com>
16258 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16259 then exit if the glade file is not found. currently the application
16262 2005-06-30 Robert Love <rml@novell.com>
16264 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16265 explicitly up all interfaces on wake from sleep.
16267 2005-06-30 Robert Love <rml@novell.com>
16269 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16270 with information about the currently active connection.
16271 * gnome/applet/applet.h: (ditto)
16272 * gnome/applet/wireless-applet.glade: (ditto), new file
16274 2005-06-30 Robert Love <rml@novell.com>
16276 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16277 * src/nm-dbus-nm.c: print when we sleep and wake up.
16278 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16279 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16280 in /sbin unless D-BUS is, folks).
16281 * README: update to reflect nm-applet replacing NetworkManagerInfo.
16283 2005-06-27 Robert Love <rml@novell.com>
16285 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16288 2005-06-27 Robert Love <rml@novell.com>
16290 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16293 2005-06-26 Robert Love <rml@novell.com>
16295 * src/NetworkManagerDevice.c: be specific about which device in
16298 2005-06-23 Adam Weinberger <adamw@gnome.org>
16300 * src/nm-netlink-monitor.c: correct spelling error.
16302 2005-06-23 Robert Love <rml@novell.com>
16304 * gnome/applet/applet-dbus-info.c: gnome keyring support!
16305 * gnome/applet/passphrase-dialog.c: more of that keyring!
16307 2005-06-23 Robert Love <rml@novell.com>
16309 * configure.in: remove extraneous GNOMEKEYRING directives.
16310 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16311 * gnome/applet/applet.c: nmwa_icons_init: make style local.
16312 * gnome/applet/passphrase-dialog.c: whitespace.
16314 2005-06-23 Robert Love <rml@novell.com>
16316 * src/NetworkManagerDevice.c: division in assignment was flipped.
16318 2005-06-23 David Zeuthen <david@fubar.dk>
16320 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16321 signal to the child to indicate that we got what we wanted when we
16322 see two new-lines right after each other.
16323 (nmwa_vpn_request_password): Pass a structure with several members
16324 instead of just the passwords
16326 2005-06-23 Dan Williams <dcbw@redhat.com>
16328 * src/NetworkManager.c
16329 src/NetworkManagerMain.h
16330 - (nm_get_hal_ctx): new function, move Hal initialization code here
16331 - (nm_hal_init): new function, init libhal context then add devices
16332 - (nm_hal_deinit): new function, clean up libhal context
16333 - (nm_data_free): Move Hal cleanup here
16334 - (main): check whether Hal is running, and if so, get a list of
16335 network devices from it
16337 * src/NetworkManagerDbus.c
16338 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16339 and when it appears, get a list of network devices from it. If
16340 Hal goes away, clean up the libhal context
16342 2005-06-22 Robert Love <rml@novell.com>
16344 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16345 permissions of scripts before executing.
16347 2005-06-21 Robert Love <rml@novell.com>
16349 * initscript/SUSE/networkmanager: update.
16350 * src/backends/NetworkManagerSuSE.c: cleanup.
16352 2005-06-21 Robert Love <rml@novell.com>
16354 * gnome/applet/applet.c: use menu mnemonics.
16355 * gnome/applet/menu-items.c: (ditto)
16357 2005-06-21 Robert Love <rml@novell.com>
16359 * applet/applet-dbus-devices.c: mark non-static functions static.
16360 * applet/applet-dbus-vpn.c: (ditto)
16361 * applet/applet.c: (ditto)
16362 * applet/nm-device.h: (ditto)
16363 * applet/other-network-dialog.c: (ditto)
16364 * applet/passphrase-dialog.c: (ditto)
16365 * NetworkManager.c: (ditto)
16366 * NetworkManagerDbus.c: (ditto)
16367 * NetworkManagerDevice.c: (ditto)
16368 * NetworkManagerPolicy.c: (ditto)
16369 * NetworkManagerUtils.c: (ditto)
16370 * NetworkManagerWireless.c: (ditto)
16371 * NetworkManagerWireless.h: (ditto)
16372 * nm-netlink-monitor.c: (ditto)
16373 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16374 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16375 * autoip.c: include autoip.h.
16376 * autoip.h: new file. define get_autoip().
16377 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16378 * NetworkManagerDbus.h: remove duplicate definitions.
16380 2005-06-20 Robert Love <rml@novell.com>
16382 * Makefile.am: Add missing intltool-foo.in generated files to
16383 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16384 with the start of stuff to cleanup on 'distclea'.
16385 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16386 stuff right and 'distcheck' works.
16387 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16388 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16389 Makefile.am for each. And systray/Makefile needs to be redone.
16391 2005-06-19 Dan Williams <dcbw@redhat.com>
16393 * src/NetworkManagerDevice.c
16394 - (nm_device_wireless_process_scan_results): scan every 20s when
16395 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16397 2005-06-19 Dan Williams <dcbw@redhat.com>
16399 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16401 2005-06-18 Ray Strode <rstrode@redhat.com>
16403 * src/nm-netlink-monitor.c
16404 (nm_netlink_monitor_event_handler): check for the presence
16405 of either error condition not both.
16407 (nm_netlink_monitor_error_handler): emit error signal if
16410 (nm_netlink_monitor_event_handler),
16411 (nm_netlink_monitor_error_handler),
16412 (nm_netlink_monitor_disconnect_handler): if an
16413 assertion fails disconnect the event handler to prevent
16416 * src/nm-netlink-monitor.h: add new error condition
16417 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16419 2005-06-18 Ray Strode <rstrode@redhat.com>
16421 * src/nm-netlink-monitor.c
16422 (nm_netlink_monitor_event_handler): remove bogus < 0
16423 check on unsigned value and return early if the kernel
16424 didn't send any bytes.
16426 2005-06-17 Robert Love <rml@novell.com>
16428 * initscript/SUSE/networkmanager: Change the Provides and default
16431 2005-06-16 Dan Williams <dcbw@redhat.com>
16433 Patch from Robert Love:
16434 * gnome/applet/applet.c
16435 - Beautify some applet menu item names
16437 2005-06-17 David Zeuthen <davidz@redhat.com>
16439 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16440 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16441 Also add new methods can_export, import_file and export.
16443 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16446 * gnome/vpn-properties/nm-vpn-properties.c:
16447 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16448 nm-vpn-ui-interface.h.
16449 (update_edit_del_sensitivity): Also update "Export" sensitivity
16450 (add_vpn_connection): Also add new SVC_NAME column
16451 (import_settings): New function
16452 (retrieve_data_from_selected_connection): New function
16453 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16455 (export_cb): New function
16456 (init_app): Also setup the "export" widget
16457 (main): Support the --import-service and --import-file commandline
16460 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16463 2005-06-16 Dan Williams <dcbw@redhat.com>
16465 Patch from Robert Love:
16466 * gnome/applet/menu-items.c
16467 - (network_menu_item_new): pass -1 as wireless network
16468 menu items height size request rather than ascent / 2
16470 2005-06-16 Dan Williams <dcbw@redhat.com>
16472 * Clean up wording in Wireless Scan Methods menu items and constants
16474 2005-06-16 Robert Love <rml@novell.com>
16477 - remove gtkcell* files
16479 2005-06-15 Dan Williams <dcbw@redhat.com>
16481 Patch from Robert Love: make the applet stetic
16483 * gnome/applet/Makefile.am
16484 - Don't compile the gtkcellview and gtkcellrendererprogress files
16486 * gnome/applet/gtkcellview.h
16487 gnome/applet/gtkcellview.c
16488 gnome/applet/gtkcellrendererprogress.h
16489 gnome/applet/gtkcellrendererprogress.c
16492 * gnome/applet/menu-items.c
16493 - Progress bars are 5:1 size ratio
16494 - Use GTK progress bars rather than internal ones
16496 2005-06-15 Dan Williams <dcbw@redhat.com>
16498 Patch from Robert Love:
16499 * initscript/SUSE/networkmanager
16502 2005-06-15 Dan Williams <dcbw@redhat.com>
16504 * src/backends/NetworkManagerSuSE.c
16505 src/backends/NetworkManagerRedHat.c
16506 src/backends/NetworkManagerDebian.c
16507 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16509 2005-06-15 Dan Williams <dcbw@redhat.com>
16511 * src/backends/NetworkManagerDebian.c
16512 - Add nm_system_device_get_use_dhcp() to debian backend
16514 Patch from Kay Sievers:
16515 * src/backends/NetworkManagerSuSE.c
16516 - Update debian backend for static IP nameservers
16518 * src/NetworkManagerDevice.c
16519 - Actually set the device to use static IP or DHCP rather
16522 2005-06-15 Dan Williams <dcbw@redhat.com>
16524 Patch from Thom May:
16525 * src/backends/NetworkManagerDebian.c
16526 - Update debian backend for static IP nameservers
16528 2005-06-15 Dan Williams <dcbw@redhat.com>
16530 Patches from Robert Love:
16531 * gnome/applet/wireless-applet.glade
16532 - Tighten up wording
16534 * src/NetworkManagerDevice.c
16535 - Remove misplaced ';'
16538 initscript/Makefile.am
16539 initscript/SUSE/Makefile.am
16540 initscript/SUSE/networkmanager
16541 - Add SUSE initscript
16543 2005-06-12 David Zeuthen <davidz@redhat.com>
16545 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16547 * gnome/vpn-properties/nm-vpn-properties.glade: New file
16549 * gnome/vpn-properties/nm-vpn-properties.c: New file
16551 * gnome/vpn-properties/Makefile.am: New file
16553 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16556 * src/vpn-manager/nm-vpn-manager.c
16557 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16558 instead of just a single one
16560 * src/vpn-manager/nm-dbus-vpn.c:
16561 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16563 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16565 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
16566 Change the interface here to give a list of passwords. Also, don't
16567 require username, but do require service
16569 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16570 the binary for the auth-dialog and use that instead of putting up a
16571 dialog asking for a single password
16573 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16574 however do remember the service
16576 * gnome/applet/main.c (main): Setup i18n
16578 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16579 connection to '%s'" to the tooltip if we are connected using VPN
16580 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16581 key to determine whether we the auth-dialog needs to
16582 reprompt. Also cope with the fact that the auth-dialog now returns
16583 an array of passwords.
16584 (nmwa_menu_configure_vpn_item_activate): New handler for
16585 "Configure VPN..." menu item
16586 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16587 (is_vpn_available): New function to determine if we got any
16588 NM-compatible VPN software installed
16589 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16590 items only if we have NM-compatible VPN software installed
16591 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16592 logic for detecting when VPN connections are removed
16594 * gnome/applet/applet-dbus.h: Removed the prototypes for
16595 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16596 since these are defined elsewhere
16598 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16599 function used to keep track of whether the last attempt succeded
16600 (nmwa_dbus_filter): Update last_attempt according to whether the
16601 VPN connection could be established or not
16603 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
16604 Change prototype to take an array of passwords, not just a single
16607 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16608 update service, not user
16609 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16610 dbus_active_vpn_name is not NULL before using it
16611 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16612 string array instead of assuming a single password
16614 * gnome/applet/applet-dbus-info.c:
16615 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16616 user name; don't read from gconf
16618 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
16621 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16623 * configure.in: Add checks for gmodule-2.0.
16624 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16625 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16626 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
16629 * vpn-daemons/Makefile.am: Removed
16631 * vpn-daemons/README: New file to describe extensions points for VPN
16634 2005-06-10 Dan Williams <dcbw@redhat.com>
16636 * src/backends/NetworkManagerRedHat.c
16637 - (get_current_profile_name): new function, grab current network profile name from
16638 /etc/sysconfig/network
16639 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16640 update an IP4 Config structure's settings from it
16641 - (nm_system_device_get_system_config): if we're using static IP on this device,
16642 get DNS info from current network profile
16644 2005-06-09 Dan Williams <dcbw@redhat.com>
16646 Patch from Robert Love:
16647 * src/NetworkManagerDevice.c
16648 src/NetworkManagerUtils.c
16649 - 64-bit build fixes
16651 2005-06-09 Dan Williams <dcbw@redhat.com>
16653 Patch from Kay Sievers and Robert Love:
16655 src/backends/Makefile.am
16656 src/backends/NetworkManagerSuSE.c
16659 2005-06-09 Dan Williams <dcbw@redhat.com>
16662 - Add NMWirelessScanMethod enum for scan methods
16664 * gnome/applet/applet-dbus-devices.c
16665 - (nmwa_dbus_update_scanning_enabled_cb): remove
16666 - (nmwa_dbus_update_scanning_enabled): remove
16667 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16668 since it got removed
16669 - (nmwa_dbus_enable_scanning): remove
16671 * gnome/applet/applet-dbus-info.c
16672 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16673 update the wireless scanning method from NMI
16674 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16675 method value to NetworkManager
16676 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16678 * gnome/applet/applet-dbus-info.h
16679 - Add prototype for nmi_dbus_signal_update_scan_method
16681 * gnome/applet/applet.c
16682 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16683 Wireless Scanning menu based on current wireless scan method
16684 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16685 signal for Wireless Scanning menu items, tell NetworkManager the new method
16686 and update our menu items to make sure the right one is checked
16687 - (nmwa_set_scanning_enabled_cb): remove
16688 - (nmwa_context_menu_update): remove references to pause_scanning_item
16689 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16691 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16693 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16694 so we get notified of preference values too
16695 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16697 * gnome/applet/applet.h
16698 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16699 - Add wireless scan method member to applet data
16700 - Remove pause_scanning_item, add Wireless Scanning submenu
16702 * src/NetworkManager.c
16703 - (nm_data_new): default to NM_SCAN_METHOD_ON
16704 - (main): grab scanning method from NMI if we can
16706 * src/NetworkManagerDbus.c
16707 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16708 nm_dbus_update_wireless_scan_method()
16709 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16711 - (nm_dbus_nmi_is_running): redundant function, removed
16712 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16713 when NMI comes back
16715 * src/NetworkManagerDevice.c
16716 - (nm_device_is_activated): return TRUE if the device is activated
16717 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16718 and we are activated
16721 - (nm_dbus_nm_set_scanning_enabled): removed
16722 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16723 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16725 2005-06-09 Dan Williams <dcbw@redhat.com>
16728 src/vpn-manager/nm-vpn-service.c
16729 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16731 2005-05-27 Dan Williams <dcbw@redhat.com>
16733 * vpn-daemons/vpnc/nm-vpnc-service.c
16734 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16735 Should fix the bug where the VPN connection terminates the first time.
16737 2005-05-20 Dan Williams <dcbw@redhat.com>
16740 - Differentiate VPN config signals between bad VPN config options
16743 * gnome/applet/applet-dbus-info.h
16744 - Add prototypes for wireless network and vpn connection update functions
16746 * gnome/applet/applet-dbus.c
16747 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16749 * gnome/applet/applet.c
16750 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16752 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16753 propogation to NetworkManager
16754 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16755 notify propogation to NetworkManager
16757 * src/NetworkManagerDbus.c
16758 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16759 are updating so a network can be removed from it if necessary
16761 * src/vpn-manager/nm-vpn-manager.c
16762 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16764 * vpn-daemons/vpnc/nm-vpnc-service.c
16765 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16766 - (nm_vpnc_dbus_signal_launch_failed): remove
16767 - (nm_vpnc_dbus_signal_connect_failed): remove
16768 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16769 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16770 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16771 for new generalized error signal function, remove config file stuff
16772 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16773 we can write configuration options to it
16774 - (nm_vpnc_config_file_generate): removed
16775 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16776 - (nm_vpnc_config_options_validate): validate the config options we receive
16777 from NetworkManager to block potential exploits
16778 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16780 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16783 2005-05-16 Dan Williams <dcbw@redhat.com>
16785 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16786 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16789 2005-05-16 Dan Williams <dcbw@redhat.com>
16791 Patch from Tomislav Vujec <tvujec@redhat.com>
16792 * gnome/applet/applet-dbus-info.c
16793 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16794 GConf and pass them to NetworkManager. New key is 'routes' under
16795 the VPN connection, and should be a string list
16797 * src/NetworkManagerSystem.c
16798 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16799 set them on the device when we set the rest of the VPN config. Ensure
16800 they are in the correct format since they are passed directly to the
16803 * src/backends/NetworkManagerRedHat.c
16804 src/backends/NetworkManagerDebian.c
16805 - (nm_system_device_add_route_via_device_with_iface): new function
16807 * src/vpn-manager/nm-dbus-vpn.c
16808 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16810 * src/vpn-manager/nm-vpn-manager.c
16811 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16812 them into the IP4 config functions
16814 2005-05-15 Dan Williams <dcbw@redhat.com>
16816 From Filip Miletic:
16820 - Serbian translation added
16822 2005-05-15 Dan Williams <dcbw@redhat.com>
16824 * dispatcher-daemon/NetworkManagerDispatcher.c
16825 - (main): sync arguments with NetworkManager and the applet, now use
16826 "--no-daemon" rather than "daemon=no"
16827 - (nmd_print_usage): Fix script path in usage message
16829 2005-05-15 Dan Williams <dcbw@redhat.com>
16831 * src/NetworkManagerDevice.[ch]
16832 src/NetworkManagerPolicy.c
16833 src/NetworkManager.c
16835 - Remove the "just_added" parameter from nm_device_deactivate(). We no
16836 longer send the DeviceNoLongerActive signal unconditionally, but only
16837 when the device is actually active.
16839 * dispatcher-daemon/NetworkManagerDispatcher.c
16840 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16841 and simplify the logic
16842 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16843 we free it later on
16845 * initscript/RedHat/Makefile.am
16846 initscript/RedHat/NetworkManagerDispatcher
16847 - Add initscript for NetworkManagerDispatcher
16850 Patch from Bill Moss:
16851 * dispatcher-daemon/NetworkManagerDispatcher.c
16852 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16854 * src/NetworkManagerDbus.c
16855 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
16856 and DeviceNowActive gets signaled, then the device has a new IP address
16857 anyway. There's no need for a separate signal.
16859 * src/NetworkManagerDevice.c
16860 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16862 * src/NetworkManagerPolicy.c
16863 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16864 activates successfully. This kind of went missing when I reworked the
16867 2005-05-15 Dan Williams <dcbw@redhat.com>
16870 - Check for dhcdbd and error if its not found
16872 * src/dhcp-manager/Makefile.am
16873 src/dhcp-manager/nm-dhcp-manager.c
16874 - Use path to dhcdbd that configure found
16876 2005-05-14 Dan Williams <dcbw@redhat.com>
16878 * gnome/applet/nm-device.c
16879 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16880 sort wireless networks alphabetically
16882 * gnome/applet/applet-dbus-devices.c
16883 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16884 before copying them over to the GUI
16886 2005-05-14 Dan Williams <dcbw@redhat.com>
16888 * src/NetworkManager.c
16889 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16890 fixes a deadlock on shutdown with a VPN connection active. This function locks
16891 the device list, as does nm_get_active_device() which is called from
16892 nm_vpn_manager_deactivate_vpn_connection().
16894 2005-05-14 Dan Williams <dcbw@redhat.com>
16897 - Add signals for VPN Launch and Connect failures
16899 * gnome/applet/applet-dbus.c
16900 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16902 * gnome/applet/applet.c
16903 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16904 function to handle all VPN failure messages
16905 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
16906 function to hanlde all VPN failure messages
16907 - (show_warning_dialog): work around focus-stealing prevention
16909 * gnome/applet/other-network-dialog.c
16910 gnome/applet/passphrase-dialog.c
16911 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16912 problem where it never enabled for ASCII Key and Hex Key types
16914 * gnome/applet/wireless-applet.glade
16915 - Add window title to Other Wireless Network Dialog
16917 * src/vpn-manager/nm-dbus-vpn.c
16918 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16919 function to handle all VPN failure messages
16921 * src/vpn-manager/nm-vpn-manager.c
16922 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16924 * vpn-daemons/vpnc/nm-vpnc-service.c
16925 - (nm_vpnc_dbus_signal_launch_failed): new function
16926 - (nm_vpnc_dbus_signal_connect_failed): new function
16927 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16928 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16929 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16930 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16932 2005-05-11 Dan Williams <dcbw@redhat.com>
16934 * vpn-daemons/vpnc/nm-vpnc-service.c
16935 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16936 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16937 file exists before trying to write it out.
16939 2005-05-10 Dan Williams <dcbw@redhat.com>
16941 * gnome/applet/applet-dbus-device.c
16942 - (nmwa_dbus_set_device): remove check for valid key and key type, which
16943 prevented just entering ESSID and leaving key and key type up to
16944 NetworkManager (which should have them already cached)
16946 2005-05-08 Dan Williams <dcbw@redhat.com>
16948 * src/NetworkManagerPolicy.c
16949 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16950 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16951 fix a situation where NM is told to terminate and the device stops activation,
16952 but the main thread isn't aware of that because it would never have run
16953 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16956 * src/NetworkManagerDevice.c
16957 - (nm_device_probe_wired_link_state): cosmetic fixes
16958 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16959 we've failed to activate or been canceled.
16960 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16962 2005-05-08 Dan Williams <dcbw@redhat.com>
16964 * src/NetworkManagerWireless.c
16965 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16966 value of WEXT quality structures, and add a debug message when we cannot
16967 determine any quality % at all
16969 2005-05-08 Dan Williams <dcbw@redhat.com>
16971 * src/dhcp-manager/nm-dhcp-manager.c
16972 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16975 2005-05-06 Dan Williams <dcbw@redhat.com>
16977 * gnome/applet/applet-dbus-device.c
16978 gnome/applet/applet-dbus-info.c
16979 gnome/applet/applet-dbus.c
16980 gnome/applet/applet.c
16981 gnome/applet/applet.h
16982 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16984 * gnome/applet/applet-dbus.c
16985 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16986 so we notice when wired device's carriers come back on. Should
16987 fix issue with wired devices being grayed out even if the cable
16988 is in, for devices that support carrier detection.
16990 * gnome/applet/applet.c
16991 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16992 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16994 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16995 Fix situation where applet wouldn't respond to menu selections
16997 * src/NetworkManager.c
16998 src/NetworkManagerDevice.c
16999 src/NetworkManagerDbus.c
17000 src/NetworkManagerDbus.h
17001 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17003 * src/NetworkManagerDbus.c
17004 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17005 Remove, no longer used or relevant
17006 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17007 - (nm_dbus_schedule_device_status_change_signal): add
17009 * src/NetworkManagerDevice.c
17010 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17011 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17012 ie don't deactivate them unless explicitly told to by the user. Also send
17013 CARRIER_OFF / CARRIER_ON signals when link changes
17014 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17015 Don't print error message when device is no longer around
17016 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17017 not just during activation
17019 * src/NetworkManagerPolicy.c
17020 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17021 auto-device-selection.
17022 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17024 * src/NetworkManagerSystem.c
17025 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17026 is no longer present (Bill Moss)
17028 * src/backends/shvar.c
17029 - (svOpenFile): Open read-only to make SELinux happy
17031 * src/backends/NetworkManagerRedHat.c
17032 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17033 the path to the ifcfg-* files
17035 2005-05-05 Dan Williams <dcbw@redhat.com>
17037 * Expose activation stages to NetworkManager clients, like the applet
17038 * Add Diana's progress icons to the applet, cued off NM activation stage
17039 * Use more descriptive tooltips, cued off NM activation stage
17041 2005-05-05 Ray Strode <rstrode@redhat.com>
17043 * src/nm-netlink-monitor.c:
17044 - Use clear_event_source instead of g_nullify_pointer() again.
17046 2005-05-05 Dan Williams <dcbw@redhat.com>
17048 * gnome/applet/main.c
17049 - Fix session management so the applet is actually managed now
17051 * gnome/applet/passphrase-dialog.c
17052 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17054 2005-05-05 Dan Williams <dcbw@redhat.com>
17056 Patch from Bill Moss:
17057 * gnome/libnm_glib/libnm_glib.c
17058 - Fix for dbus-0.33
17060 2005-05-05 Dan Williams <dcbw@redhat.com>
17062 Suggestion from Bill Moss:
17063 * src/NetworkManagerSystem.c
17064 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17067 * src/NetworkManager.c
17068 - (nm_data_free): move destruction of the various managers after
17069 release of device list, because deactivating and freeing a device
17070 requires at least the named manager
17071 - (nm_poll_and_update_wireless_link_state):
17072 (nm_device_link_activated):
17073 (nm_device_link_deactivated):
17074 don't grab the device list lock when actually updating device
17075 link status or strength, since nm_device_set_link_active()
17076 needs to call nm_get_active_device(), which also locks the device list.
17078 * src/NetworkManagerDevice.c
17079 - (nm_device_set_link_active): if a device's link switches from off->on,
17080 and it's wired, and the active device is wireless (or there is no
17081 active device), activate the new device whose link just came on
17082 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17083 my only calling the link to the current ap "failed" when more than 2
17084 consecutive link checks have failed
17086 2005-05-04 Dan Williams <dcbw@redhat.com>
17088 * src/NetworkManagerDevice.c
17089 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17090 but let link_to_specific_ap() do the locking where it needs
17092 Patch from Bill Moss:
17093 * src/NetworkManagerSystem.c
17094 - Set MTU of VPN devices to 1412
17096 2005-05-04 Dan Williams <dcbw@redhat.com>
17098 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17100 * Fix some holes in device activation and retaining the currently connected
17103 2005-05-03 Dan Williams <dcbw@redhat.com>
17105 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
17106 This means that NetworkManager shouldn't have DHCP issues anymore. It also
17107 means you need dhcdbd, which you can get here (get the latest one):
17109 http://people.redhat.com/jvdias/dhcdbd/
17111 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17112 interface as dhcdbd.
17114 * Rewrite device activation to facilitate the new DHCP infrastructure and
17115 future improvements. Its now "activation request" based, ie there is a single
17116 activation request composed of the device, access point, and other info which
17117 follows the entire activation process. There are 5 stages of the activation
17118 process which correspond to:
17120 1) Device preparation
17121 2) Device configuration (bring it up, set ESSID/Key/etc)
17122 3) IP Config Start (fire off DHCP if we're using it)
17123 4) IP Config Get (grab config from DHCP or static config files)
17124 5) IP Config Commit (set device's IP address, DNS, etc)
17126 Note that there is no longer a "scanning" step, since the access point must
17127 be known _before_ activation starts. If the access point drops out or does
17128 not exist for some reason, the entire activation process fails and must be
17129 restarted for a different access point or device.
17131 Patch from Bill Moss:
17132 * gnome/applet/applet.c
17133 - Fix type of vpn_failure dialog -> vpn_banner dialog
17135 2005-04-27 Dan Williams <dcbw@redhat.com>
17137 * gnome/applet/applet-dbus-vpn.c
17138 gnome/applet/applet.c
17139 gnome/applet/applet.h
17140 - Fix up active VPN handling so that we reliably know when a VPN
17141 connection has been deactivated
17143 * src/vpn-manager/nm-vpn-manager.c
17144 - Remove duplicate VPNConnectionChange signal
17146 2005-04-27 Dan Williams <dcbw@redhat.com>
17148 Patch from Peter Jones:
17149 * Remove usage of varargs to fix crashes on PPC (RH #154336)
17151 Patch from Bill Moss:
17152 * src/NetworkManagerSystem.c
17153 - Fix checking of return value from ioctl()
17155 2005-04-27 Dan Williams <dcbw@redhat.com>
17157 * Fix choosing of wireless networks and "Other wireless network..." from the applet
17158 * Warn and exit if icons cannot be found
17160 2005-04-27 Dan Williams <dcbw@redhat.com>
17162 Patch from Tom Parker:
17163 * Update debian backend
17165 2005-04-27 Dan Williams <dcbw@redhat.com>
17167 * Merge the applet and the info-daemon, and move the converged
17168 applet under gnome/applet
17169 * Move libnm_glib to gnome/libnm_glib
17170 * Convert most dbus calls between the applet, info-daemon, and NM
17172 * Fix a few things valgrind noticed
17173 * Make NM broadcast state more reliably
17175 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
17177 * configure.in: Added ne in ALL_LINGUAS
17179 2005-04-15 Dan Williams <dcbw@redhat.com>
17181 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17182 code for dbus 0.2x versions
17184 2005-04-15 Dan Williams <dcbw@redhat.com>
17186 Patches from Tom Parker:
17188 - Join with worker thread rather than polling for its exit
17190 Patch from Bill Moss:
17191 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17193 2005-04-15 Dan Williams <dcbw@redhat.com>
17195 - Fixes to pass 'make distcheck'
17197 2005-04-15 Dan Williams <dcbw@redhat.com>
17199 Initial VPN Support
17201 - reworks device IP configuration, backend files have changed and will need
17202 to be updated for all distributions. I will try to do what I can for
17203 them, but I cannot test them.
17205 - Move named directory to src/named-manager
17206 - Make backends directory self-contained
17208 2005-04-06 Dan Williams <dcbw@redhat.com>
17210 Add debug code for socket/file descriptor leaks. We register every socket
17211 that we open (except for stuff in dhcpcd/) for tracking, and print out the
17212 list of sockets that we forgot to close on shutdown. This also consolidates
17213 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17215 2005-04-06 Dan Williams <dcbw@redhat.com>
17218 - (dhcp_interface_free): fix a file descriptor leak that may have
17219 caused network drivers to not unload due to refcounts > 0
17221 2005-04-04 Dan Williams <dcbw@redhat.com>
17223 * panel-applet/NMWirelessAppletDbus.c
17224 - (nmwa_dbus_call_nm_method): remove some commented code
17226 * src/NetworkManagerAPList.[ch]
17227 - (nm_ap_list_remove_ap_by_essid): new function
17229 * src/NetworkManagerDevice.c
17230 - (nm_device_wireless_force_use): remove access points from the ignore list
17231 when the user forces them
17233 * src/nm-dbus-device.c
17234 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17236 2005-04-04 Dan Williams <dcbw@redhat.com>
17238 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17240 2005-04-04 Dan Williams <dcbw@redhat.com>
17242 * src/NetworkManagerDevice.c:
17243 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17244 of only erroring after the second consecutive scan times out. Also
17245 don't exit when the card requires more time than we can give it, just
17246 log the event and continue.
17248 2005-04-01 Steve Murphy <murf@e-tools.com>
17250 * configure.in: Added "rw" to ALL_LINGUAS.
17252 2005-04-01 Dan Williams <dcbw@redhat.com>
17254 Perform scans during device activation, if needed. Both activation
17255 and scans run in the same GMainContext. Therefore, if an access point
17256 is not found by the time the device starts activation, it will not
17257 be available until after activation. We now try to scan during
17258 activation (in nm_wa_test) every 15s so that all available access
17259 points are more likely to be found and available for the activation
17262 Also change nm_wireless_link_state_handle() to only update the "best"
17263 AP if we are not forcing a device and if we are not about to change
17264 state. This attempts to work around a race when forcing a device,
17265 where the forced AP would get cleared out too soon by the link state
17266 checking timeout in the main thread, and the activation attempt with
17267 that AP would fail.
17269 2005-04-01 Dan Williams <dcbw@redhat.com>
17272 - Update with new translatables
17274 2005-03-31 Dan Williams <dcbw@redhat.com>
17276 * panel-applet/NMWirelessAppletDbus.c
17277 - Fix device names now that hal has changed device parenting for
17280 2005-03-31 Dan Williams <dcbw@redhat.com>
17282 Tighten up handling of wireless devices that don't support wireless
17283 scanning (ie, Orinoco). Due to restructuring of code, these devices
17284 hadn't been doing pseudo-scanning for a while either and would just
17285 spin waiting for an access point. They are now manual devices where
17286 the user must choose the access point from the menu every time. All
17287 "allowed" access points are listed in the applet's menu regardless
17288 of whether or not they can be seen by the card, since it can't scan
17291 * src/NetworkManager.c
17292 - (nm_wireless_link_state_handle): new function, but only update
17293 the "best" ap for non-scanning devices when its not activating,
17294 and when no device is being forced on the card
17295 - (nm_link_state_monitor): split wireless link state handling out
17296 into separate function
17298 * src/NetworkManagerDevice.c
17299 - (nm_device_copy_allowed_to_dev_list): new function
17300 - (nm_device_new): populate non-scanning cards' AP lists with
17301 access points from the "allowed" list
17302 - (nm_device_new): don't start a scanning timeout for devices that
17304 - (nm_device_activation_schedule_finish): new parameter, should be
17305 the AP that failed to be connected to, pass it on to the
17306 activation finish function in NetworkManagerPolicy.c
17307 - (nm_device_activate_wireless): don't ever try to get a new AP
17308 for non-scanning devices, just fail. The user must choose
17309 a new access point manually.
17310 - (nm_device_activate): grab the AP that failed connection and
17312 - (nm_device_update_best_ap): Clear the best AP if we don't have
17313 a link to it, user must manually choose a new one
17314 - (nm_device_do_pseudo_scan): remove function
17315 - (nm_device_wireless_process_scan_results): remove bits for non-
17316 scanning cards since they never get here
17317 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17318 and fake the scan list for test devices a bit earlier
17320 * src/NetworkManagerPolicy.c
17321 - (nm_policy_activation_finish): use the failed_ap that we get
17322 passed rather than getting the best_ap from the card, which
17323 may have changed since we were scheduled
17324 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17325 update their scan list directly from the allowed list when
17326 we get updates to the allowed list from NetworkManagerInfo
17328 * src/NetworkManagerPolicy.h
17329 - New member for failed access point in NMActivationResult
17331 -------------------------------------
17333 Driver Notification patch: notifies the user when their driver
17334 sucks. Gives them the option to ignore further insertions
17335 of the card that has the sucky driver.
17338 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17339 enum and replace it with NO_CARRIER_DETECT and
17342 * panel-applet/NMWirelessApplet.[ch]
17343 - Merge essid.glade -> wireless-applet.glade
17344 - Implement the "Your driver sucks" notification dialog
17346 * panel-applet/NMWirelessAppletDbus.c
17347 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17348 - Grab hardware address for each device from NM too
17349 - Check whether the driver for each device sucks or not whenever
17350 a new device is noticed
17352 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17353 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17355 * src/NetworkManager.c
17356 - Fix a double-unref on device removal
17358 * src/NetworkManagerUtils.c
17359 - Set appropriate driver support level on a device that doesn't
17360 support scanning or carrier detection
17362 * src/nm-dbus-device.c
17363 - New "getHWAddress" dbus method on devices
17364 - getSupportsCarrierDetect -> getDriverSupportLevel
17366 2005-03-31 Dan Williams <dcbw@redhat.com>
17368 * src/NetworkManagerDevice.c
17369 - (nm_device_wireless_scan): Fix leak of scan results in some
17372 2005-03-29 Dan Williams <dcbw@redhat.com>
17374 * src/NetworkManager.c
17375 - (nm_poll_and_update_wireless_link_state): make code less indented
17377 Patch from Bill Moss:
17378 * src/NetworkManager.c
17379 - (nm_device_update_link_state): Update signal strength on wireless
17380 devices every time we update link state too.
17382 2005-03-29 Dan Williams <dcbw@redhat.com>
17384 * src/NetworkManagerDevice.c
17385 - (nm_device_set_essid): Work around Orinoco cards which need
17386 extra time after setting the ESSID
17388 2005-03-29 Dan Williams <dcbw@redhat.com>
17390 * src/NetworkManagerDevice.c
17391 - Merge one more bit of Peter Jones' completion patch
17393 2005-03-29 Dan Williams <dcbw@redhat.com>
17395 * src/NetworkManagerDevice.c
17396 - (nm_device_force_use): Fix possible segfault
17398 2005-03-29 Dan Williams <dcbw@redhat.com>
17400 * src/NetworkManagerDevice.c
17401 - Use iw_get_ext() where we should rather than iw_set_ext()
17403 2005-03-29 Dan Williams <dcbw@redhat.com>
17405 * src/NetworkManagerDevice.c
17406 - (nm_device_set_up_down): remove check for unsupported devices
17407 that caused NM to not bring devices up when they were
17408 added to the device list.
17410 2005-03-28 Dan Williams <dcbw@redhat.com>
17412 * src/NetworkManagerDevice.c
17413 - (mdio_read): Fix two bugs that caused all devices to fail
17414 the MII carrier detection support checks
17416 2005-03-26 Dan Williams <dcbw@redhat.com>
17418 * src/NetworkManagerDevice.c
17419 - (nm_device_wireless_scan): Remove duplicated scanning code
17421 2005-03-25 Dan Williams <dcbw@redhat.com>
17423 * panel-applet/NMWirelessApplet.c
17424 - (nmwa_about_cb): Add some more contributors
17425 - (nmwa_update_state): show the applet when there's no connection
17426 - Enable the "Stop/Resume all wireless devices" option in the
17428 - New "no connection" icon
17430 * src/NetworkManager.c
17431 - (nm_poll_and_update_wireless_link_state): don't do anything if
17432 wireless is disabled or we're asleep
17434 * src/NetworkManagerDHCP.c
17435 - Remove trailing "\n" on debug messages
17437 * src/NetworkManagerDbus.c
17438 - (nm_dbus_network_status_from_data): new state "asleep"
17440 * src/NetworkManagerDevice.c
17441 - Merge most of Peter Jones' "completion" patch that greatly reduces
17442 latency and wait times for most operations
17443 - (nm_device_wireless_scan): Don't scan when asleep
17445 * src/NetworkManagerPolicy.c
17446 - (nm_policy_get_best_device): return no device when asleep
17447 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17448 for all wireless devices on update, not just active device
17450 * src/NetworkManagerUtils.c
17451 - Merge Peter Jones' "completion" patch
17454 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17455 we're told to disable them
17456 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17459 - New variants of the warn/info/error/debug print functions that can take
17460 variables rather than static strings
17462 2005-03-24 Dan Williams <dcbw@redhat.com>
17464 * src/NetworkManagerUtils.c
17465 - (nm_get_device_driver_name): driver names are now on the parents of
17466 "Network Interface" objects, so look for them there
17468 2005-03-24 Dan Williams <dcbw@redhat.com>
17471 - Escape some forgotten object paths before we shove them through dbus
17473 2005-03-24 Dan Williams <dcbw@redhat.com>
17475 * dhcpcd/dhcpcd.[ch]
17476 src/NetworkManagerDHCP.c
17477 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17478 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17480 * src/NetworkManagerDbus.c
17483 * src/nm-dbus-dhcp.c
17484 - Make the API suck less. There is now only 1 type of each function,
17485 ie only "getInteger" and no longer also "getIntegerv". All types
17486 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17487 that will never have more than 1 element. This should simplify
17490 * test/nm-dhcp-opt-test.c
17491 - Make the tool not segfault
17492 - adapt to new DHCP Options API
17494 2005-03-22 Dan Williams <dcbw@redhat.com>
17496 * src/NetworkManager.c
17497 - (nm_wired_link_deactivated): actually ignore netlink events from
17500 2005-03-22 Dan Williams <dcbw@redhat.com>
17502 * src/NetworkManager.c
17503 - (nm_wired_link_activated): actually ignore netlink events from
17506 2005-03-17 Dan Williams <dcbw@redhat.com>
17508 Patch from Tom Parker:
17509 * src/nm-netlink-monitor.c
17511 * info-daemon/NetworkManagerInfoDbus.c
17512 - (nmi_dbus_update_network_auth_method): free GConf values
17514 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17515 * src/NetworkManagerDevice.c
17516 - (nm_device_set_wireless_config): wait for successful
17517 association longer for some cards (Atheros a/b/g)
17519 2005-03-15 Ray Strode <rstrode@redhat.com>
17521 * src/NetworkManager.c:
17522 (sigterm_pipe_handler):
17525 2005-03-15 Ray Strode <rstrode@redhat.com>
17527 * src/NetworkManagerDbus.c:
17528 Fix some sign weirdness that gcc4 doesn't like,
17529 and add a header file so PPC can hopefully find
17532 2005-03-14 Ray Strode <rstrode@redhat.com>
17534 Fourth (probably working) cut at porting to
17535 dbus 0.30 api and new hal. This cut adds
17536 some new logging macros to make debugging
17539 * dispatcher-daemon/NetworkManagerDispatcher.c:
17540 * info-daemon/NetworkmanagerInfo.c:
17541 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17542 * info-daemon/NetworkManagerInfoVPN.c:
17543 * src/NetworkManager.c:
17544 * src/NetworkManagerAP.c:
17545 * src/NetworkManagerAPList.c:
17546 * src/NetworkManagerDHCP.c:
17547 * src/NetworkManagerDbus.c:
17548 * src/NetworkManagerDevice.c:
17549 * src/NetworkManagerPolicy.c:
17550 * src/NetworkManagerSystem.c:
17551 * src/NetworkManagerUtils.c:
17552 * src/NetworkManagerWireless.c:
17554 * src/nm-dbus-nm.c:
17555 * src/backends/NetworkManagerDebian.c:
17556 * src/backends/NetworkManagerGentoo.c:
17557 * src/backends/NetworkManagerRedHat.c:
17558 * src/backends/NetworkManagerSlackware.c:
17559 use new logging macros.
17561 * dispatcher-daemon/NetworkManagerDispatcher.c:
17562 (nmd_dbus_filter): s/dbus_free/g_free/
17564 * info-daemon/Makefile.am: link in utils library.
17565 * info-daemon/NetworkmanagerInfo.c: use new logging
17567 (nmi_dbus_get_network): don't assume enumerations
17569 (nmi_dbus_nmi_message_handler): don't free what
17570 doesn't belong to us.
17572 * libnm_glib/libnm_glib.c:
17573 (libnm_glib_get_nm_status):
17574 (libnm_glib_init): don't free what doesn't
17576 (libnm_glib_dbus): strdup result, so it doesn't get
17577 lost when message is unref'd.
17579 * panel-applet/NMWirelessAppletDbus.c:
17580 (nmwa_dbus_update_devices): s/dbus_free/g_free/
17582 * src/NetworkManager.c:
17583 (nm_monitor_wired_link_state): request initial status
17584 dump of all cards when we start up, instead of relying
17585 on /sys/.../carrier.
17586 (nm_info_handler), (nm_set_up_log_handlers):
17587 log handlers to specify what syslog priorites
17588 the logging macros default to.
17590 * src/NetworkManagerAPList.c:
17591 (nm_ap_list_populate_from_nmi):
17592 s/dbus_free_string_array/g_strfreev/
17594 * src/NetworkManagerDbus.c:
17595 (nm_dbus_get_network_object):
17596 validate d-bus message argument types.
17597 Advance message iterator after reading argument,
17598 prepend instead of append to GSList.
17600 * src/NetworkManagerDevice.c:
17601 (nm_device_probe_wired_link_status):
17602 remove redundant /sys in /sys path. remove wrong
17603 contents == NULL means has carrier assumption.
17605 * src/nm-netlink-monitor.c
17606 (nm_netlink_monitor_request_status): implement
17607 function to ask kernel to dump interface link
17608 status over netlink socket.
17610 * test/*.c: s/dbus_free/g_free/
17612 * utils/nm-utils.h:
17613 (nm_print_backtrace): new macro to print backtrace.
17614 (nm_get_timestamp): new macro to get sub-second precise
17616 (nm_info), (nm_debug), (nm_warning), (nm_error):
17617 new logging functions. nm_info just prints,
17618 nm_debug includes timestamp and function,
17619 nm_warning includes function, nm_error includes
17620 backtrace and sigtrap.
17622 2005-03-11 Ray Strode <rstrode@redhat.com>
17624 Third (unfinished, partially working) cut at porting to
17625 dbus 0.30 api and new hal.
17627 * info-daemon/NetworkManagerInfoDbus.c:
17628 don't free null arrays.
17630 * panel-applet/NMWirelessAppletDbus.c:
17631 * src/nm-dbus-device.c:
17632 * src/nm-dbus-net.c:
17633 * src/NetworkManagerDbus.c: more
17634 STRING -> OBJECT_PATH fun
17635 * src/NetworkManagerDevice.c:
17636 * src/NetworkManagerDevice.h:
17637 (rename nm_device_get_link_active): rename to
17638 nm_device_has_active_link
17639 (nm_device_wireless_link_active): rename to
17640 nm_device_probe_wireless_link_state
17641 (nm_device_wired_link_active): rename to
17642 nm_device_probe_wired_link_state. Rewrite to
17643 use carrier file since hal doesn't maintain
17644 link state anymore.
17645 (nm_device_update_link_active): rename to
17646 nm_device_update_link_state
17647 * src/NetworkManagerPolicy.c
17648 (nm_policy_activation_finish): check for NULL
17652 * src/NetworkManagerMain.h:
17653 * src/NetworkManager.c:
17654 * src/nm-netlink-monitor.c:
17655 * src/nm-netlink-monitor.h: New class to support
17656 monitoring wired ethernet link status, since HAL
17657 doesn't export that information anymore.
17659 2005-03-09 Ray Strode <rstrode@redhat.com>
17661 Second (unfinished, unworking) cut at porting to
17664 * dispatcher-daemon/NetworkManagerDispatcher.c:
17665 * info-daemon/NetworkManagerInfoDbus.c:
17666 * panel-applet/NMWirelessAppletDbus.c:
17667 * src/NetworkManagerDbusUtils.c:
17668 * src/NetworkManagerDbusUtils.h:
17669 * src/nm-dbus-device.c:
17670 * src/nm-dbus-nm.c:
17671 * test/nmtest.c: support dbus "object path" type
17675 * info-daemon/Makefile.am:
17676 * libnm_glib/Makefile.am:
17677 * panel-applet/Makefile.am:
17678 * dispatcher-daemon/Makefile.am
17680 * test/Makefile.am:
17681 * utils/Makefile.am:
17682 * utils/nm-utils.c:
17683 * utils/nm-utils.h: new utils static lib
17685 2005-03-07 Ray Strode <rstrode@redhat.com>
17687 * info-daemon/NetworkManagerInfoDbus.c:
17688 * libnm_glib/libnm_glib.c:
17689 * panel-applet/NMWirelessAppletDbus.c:
17690 * src/NetworkManager.c:
17691 * src/NetworkManagerDbus.c:
17692 * src/NetworkManagerDevice.c:
17693 * src/NetworkManagerUtils.c:
17694 * src/nm-dbus-device.c:
17695 * src/nm-dbus-dhcp.c:
17696 * src/nm-dbus-net.c:
17697 * src/nm-dbus-nm.c:
17698 * test/nminfotest.c:
17699 First (unfinished, unworking) cut at porting to dbus 0.30 api.
17701 2005-03-04 Dan Williams <dcbw@redhat.com>
17706 2005-03-04 Dan Williams <dcbw@redhat.com>
17708 Patch from Peter Jones:
17709 - Make stuff work with gcc 4.0
17711 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
17713 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17715 2005-02-27 Jim Huang <jserv@kaffe.org>
17717 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17719 2005-02-27 Dan Williams <dcbw@redhat.com>
17721 Patch from Bill Moss:
17722 * panel-applet/NMWirelessAppletDbus.c
17723 - Make sure strength for current access point is up-to-date when we
17724 update the gui data model
17726 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
17728 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17730 2005-02-27 Dan Williams <dcbw@redhat.com>
17732 * src/backends/NetworkManagerRedHat.c
17733 - (nm_system_init): Kill any dhclient processes lying around as well
17734 as stopping 'nifd' if its already been started. NetworkManager
17735 subsumes the functions of nifd (kicking mDNSResponder, autoip)
17737 2005-02-27 Dan Williams <dcbw@redhat.com>
17739 * panel-applet/NMWirelessApplet.c
17740 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17741 dbus data model, not the GUI data model twice.
17743 2005-02-27 Dan Williams <dcbw@redhat.com>
17745 * panel-applet/NMWirelessApplet.[ch]
17746 panel-applet/NMWirelessAppletDbus.[ch]
17747 - Move to incremental network updates. Instead of blowing away our list
17748 of devices every time we get a signal from NetworkManager, we now
17749 incrementally add/remove networks when NetworkManager notifies us that
17750 a new network has appeared or disappered. Strength updates now happen
17751 on-the-fly for each access point as well. There are now two copies of
17752 data from NetworkManager: one for the dbus side, and one for the gui side.
17753 When the dbus side data is modified, it is copied over to the gui side
17754 so we don't have to hold the data_mutex for long periods of time (and
17755 therefore block animation of the applet's icon).
17756 - Clean up some memleaks too
17758 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17759 - Minor code beautification
17761 * src/NetworkManagerAPList.c
17762 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17763 completely new and whether or not an existing one's strength was updated.
17764 Try to fix multiple access points and signal strength by using the highest
17765 signal strength in each scan for any given ESSID.
17767 * src/NetworkManagerDbus.[ch]
17768 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17769 wireless networks; now we have only WirelessNetworkUpdate which includes
17770 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17771 - Kill usage of DbusMessageIter
17773 * src/NetworkManagerDevice.c
17774 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17775 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
17776 AP rather than all-at-once. Also don't ever remove the AP a card is
17777 currently associated with from the network list.
17778 - Update for new signals during scan, send out Appeared, Disappeared, or
17779 StrengthChanged when necessary.
17781 2005-02-25 Dan Williams <dcbw@redhat.com>
17784 - Line break the README
17786 2005-02-25 Dan Williams <dcbw@redhat.com>
17788 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17789 - Remove usage of gtk_window_set_default_size()
17791 * panel-applet/essid.glade
17792 - Stick default size here
17793 - Add in random crap that current glade wants to add in now
17795 2005-02-25 Dan Williams <dcbw@redhat.com>
17797 * src/backends/NetworkManagerRedHat.c
17798 - For non-caching-nameserver/non-named case, ensure that nscd is running
17799 and that we actually tell nscd to reload the hosts cache when it changes
17801 2005-02-25 Dan Williams <dcbw@redhat.com>
17803 * info-daemon/NetworkManagerInfoDbus.c
17804 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17806 * test/nminfotest.c
17807 - Whack usage of DbusMessageIter
17808 - Clean up DbusError and DbusMessage handling and freeing
17809 - Remove unused unregister handler
17812 - Whack usage of DbusMessageIter
17814 * test/nmtestdevices.c
17815 - Whack usage of DbusMessageIter
17817 2005-02-25 Dan Williams <dcbw@redhat.com>
17820 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17823 2005-02-25 Dan Williams <dcbw@redhat.com>
17825 * named/nm-named-manager.c
17826 - Ensure that pid and watch variables for child named process get cleared out
17827 when the child goes away.
17829 2005-02-22 Dan Williams <dcbw@redhat.com>
17831 * src/NetworkManagerPolicy.c
17832 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17833 and NULL out data->active_device so that we have to choose another one.
17834 This may make NetworkManager keep attempting to connect to a wired network
17835 if it fails, but if it keeps failing the wired network has more problems than
17836 just NetworkManager.
17838 * src/backends/NetworkManagerRedHat.c
17839 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17842 * named/nm-named-manager.c
17843 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17844 named so that the distro can flush whatever name service caching
17847 2005-02-21 Dan Williams <dcbw@redhat.com>
17849 * src/NetworkManagerDHCP.[ch]
17850 - (nm_device_dhcp_remove_timeouts): new function
17852 * src/NetworkManagerDevice.c
17853 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17854 remove the DHCP timeouts.
17856 2005-02-21 Dan Williams <dcbw@redhat.com>
17858 * panel-applet/NMWirelessApplet.[ch]
17859 panel-applet/menu-info.[ch]
17860 - Give the panel applet some major love: menu items are no longer
17861 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17862 This allows the applet to actually reflect theme changes correctly,
17863 since themeing of subclassed items in GTK _sucks_.
17865 2005-02-18 Dan Williams <dcbw@redhat.com>
17867 * libnm_glib/libnm_glib.[ch]
17868 test/libnm_glib_test.c
17869 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17870 and its data, and doesn't have to free the callback data anymore
17872 2005-02-18 Dan Williams <dcbw@redhat.com>
17874 * panel-applet/NMWirelessApplet.c
17875 - Revert 2005-02-18 William Jon McCann fix for standard
17876 copyright string until it passes 'make distcheck'.
17877 With standard copyright string, xgettext complains
17878 about "Non-ASCII string at ...".
17880 2005-02-18 Dan Williams <dcbw@redhat.com>
17882 * panel-applet/essid.glade
17883 panel-applet/NMWirelessAppletOtherNetworksDialog.c
17884 - Correct spelling of "adaptor"->"adapter"
17886 2005-02-18 William Jon McCann <mccann@jhu.edu>
17888 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17889 (nmwa_about_cb): Use standard copyright string. Update comment
17890 text to reflect that it is a notification area applet. Remove
17891 leading newline in authors list.
17892 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17893 instead of on parent menu item activation. Fixes #167550.
17895 2005-02-18 William Jon McCann <mccann@jhu.edu>
17897 * panel-applet/essid.glade: Capitalize items as per HIG.
17900 2005-02-16 William Jon McCann <mccann@jhu.edu>
17902 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17903 files for GTK 2.4 or lower, since now public in GTK 2.6.
17905 * panel-applet/essid.glade: Don't specify window size.
17907 2005-02-17 Dan Williams <dcbw@redhat.com>
17909 Caught by Bill Moss:
17911 - Time remaining for DHCP transaction calculation was incorrectly
17912 inside a #ifdef DEBUG
17914 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
17916 * configure.in: Added fr (French) to ALL_LINGUAS.
17918 2005-02-14 Dan Williams <dcbw@redhat.com>
17920 * src/NetworkManagerDHCP.c
17921 - (set_domain_searches): Fix free of invalid pointer
17923 2005-02-14 Dan Williams <dcbw@redhat.com>
17925 Patch from Peter Jones:
17927 - Ensure we return RET_DHCP_CEASED everywhere we should
17928 * dhcpcd/udpipgen.c
17929 - Use faster TOS for IP packets
17930 - Don't set ip_id since we're UDP
17932 Patch from Tomislav Vujec:
17933 * src/nm-dbus-dhcp.c
17934 test/nm-dhcp-opt-test.c
17935 - Clean up warnings to enable cvs tree compilation.
17937 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
17941 - Add the Croatian locale.
17943 2005-02-14 Colin Walters <walters@verbum.org>
17945 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17946 list of domains to search.
17948 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17950 2005-02-13 Dan Williams <dcbw@redhat.com>
17953 - Debug output cleanups of DHCP option printing and parsing.
17955 2005-02-13 Dan Williams <dcbw@redhat.com>
17957 Patch from Dan Reed: DHCP options D-BUS API
17958 Exposes the DHCP options that a device receives to clients over D-BUS.
17964 - Correct names, option length, and types for DHCP options
17966 * dhcpcd/dhcpcd.[ch]
17967 - Clarify function names that access DHCP options & data
17969 * src/NetworkManagerDHCP.c
17970 - Use new DHCP data access functions
17972 * src/NetworkManagerDbus.c
17973 - Message handler for DHCP functions
17975 * src/nm-dbus-dhcp.[ch] (new)
17976 - DHCP dbus methods
17978 * test/nm-dhcp-opt-test.c
17979 - Test DHCP D-BUS API and return all present DHCP options
17981 2005-02-12 Dan Williams <dcbw@redhat.com>
17984 test/nmclienttest.c
17986 - Move nmclienttest.c -> nmtest.c
17988 2005-02-12 Dan Williams <dcbw@redhat.com>
17990 * dhcpcd/buildmsg.c
17991 - Pad DHCP packets until they are at least 300 bytes in size.
17993 2005-02-11 Dan Williams <dcbw@redhat.com>
17996 - (dhcp_init): only print out client ID and class ID if they are specified
17998 * src/NetworkManagerDbus.[ch]
17999 src/nm-dbus-nm.[ch]
18000 src/nm-dbus-device.[ch]
18001 src/nm-dbus-net.[ch]
18002 - Move NM, Device, and Net functions to separate files and use the
18003 dbus method list stuff in NetworkManagerDbusUtils.c to do
18006 * src/NetworkManagerDbusUtils.c
18007 - Add new validate_method called before each dispatch (if present)
18008 that can validate the method call
18010 * src/NetworkManagerWireless.c
18011 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18012 levels never to be evaluated
18014 Patch from j@bootlab.org
18015 * src/NetworkManagerDevice.c
18016 - Add typedef for "u64"
18018 * src/backends/NetworkManagerDebian.c
18019 - Copy in Dave Woodhouse's fixes for IPv6
18021 2005-02-11 Dan Williams <dcbw@redhat.com>
18023 Patch from Dave Woodhouse for IPv6:
18024 * src/NetworkManagerUtils.c
18025 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18026 and multicast addresses
18028 * src/NetworkManagerDevice.c
18029 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18030 after bringing up a card.
18032 2005-02-10 Dan Williams <dcbw@redhat.com>
18034 Patch from Dave Woodhouse:
18035 * src/NetworkManagerSystem.h
18036 src/backends/NetworkManagerDebian.c
18037 src/backends/NetworkManagerGentoo.c
18038 src/backends/NetworkManagerSlackware.c
18039 - New nm_system_device_add_ip6_link_address() function to add link-local
18040 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
18042 * src/backends/NetworkManagerRedHat.c
18043 - (nm_system_device_add_ip6_link_address): implement
18044 - (nm_system_device_flush_addresses): revert to previous behavior of
18045 flushing all addresses
18047 2005-02-10 Dan Williams <dcbw@redhat.com>
18049 Patch from Tom Parker:
18050 * src/NetworkManagerDevice.c
18051 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18052 mii.h headers are broken, and instead use our own typedefs
18054 2005-02-10 Dan Williams <dcbw@redhat.com>
18056 * dhcpcd/buildmsg.c
18057 - (fill_host_and_class_id): only fill in client and class IDs if
18058 they are set by callers.
18061 - (class_id_setup): don't autogenerate a class ID, only use one
18062 we're given, if any.
18063 - (client_id_setup): don't autogenerate a client ID, only use one
18064 we're given, if any.
18067 - (dhcp_interface_init): ensure that client options are correctly
18070 * src/NetworkManagerDHCP.c
18071 - (nm_device_dhcp_request): pass hostname to dhcp library
18073 2005-02-10 Dan Williams <dcbw@redhat.com>
18076 - #rh147661# Don't send kernel version in DHCP requests
18078 * src/NetworkManagerSystem.h
18079 src/backends/NetworkManagerDebian.c
18080 src/backends/NetworkManagerGentoo.c
18081 src/backends/NetworkManagerRedHat.c
18082 src/backends/NetworkManagerSlackware.c
18083 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18084 functions, they are no longer used anyway
18086 * src/backends/NetworkManagerRedHat.c
18087 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18088 addresses in an attempt to keep IPv6 local-scope addresses around
18090 2005-02-10 Dan Williams <dcbw@redhat.com>
18092 * src/NetworkManager.c
18093 - (nm_create_device_and_add_to_list): change the add message slightly
18095 * src/NetworkManagerUtils.c
18096 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18097 Return driver name to calling function
18098 - (nm_get_driver_support_level): print out the driver a device is using
18099 during the support check
18101 Patch from Dave Woodhouse:
18102 * dhcpcd/udpipgen.c
18103 - (in_cksum): copy last byte of odd-sized packets into a
18104 'u_short' rather than a 'u_char', should fix wrong checksums
18105 on big-endian platforms
18107 2005-02-09 Dan Williams <dcbw@redhat.com>
18109 * Clean up usage of GSList objects and looping through their members
18110 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18112 * Fix problem where even if scanning was turned off, card would still
18113 cycle through frequencies.
18115 2005-02-08 Dan Williams <dcbw@redhat.com>
18117 * panel-applet/NMWirelessApplet.c
18120 2005-02-08 Dan Williams <dcbw@redhat.com>
18122 Patch from Bill Moss
18123 * panel-applet/NMWirelessApplet.c
18124 - Restore correct ESSID in tooltips
18126 2005-02-07 Dan Williams <dcbw@redhat.com>
18128 * panel-applet/NMWirelessApplet.[ch]
18129 - Add a context menu that contains:
18130 Pause/Resume Wireless Scanning
18131 Stop/Start All Wireless Devices
18133 - Grab active device strength off active device,
18136 * panel-applet/NMWirelessAppletDbus.[ch]
18137 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18138 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18139 - Update active device strength every 2 seconds, not every 1 second
18141 * panel-applet/menu-info.c
18142 - Only disable wired devices in the menu when they support carrier detection,
18143 and don't currently have a link. Non-carrier-detect devices will always
18147 src/NetworkManagerDbusUtils.[ch]
18148 - Add new new dbus utils sources
18150 * src/NetworkManager.c
18151 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18152 with the boolean parameter
18153 - Set scanning_enabled & wireless_enabled to TRUE
18155 * src/NetworkManagerDbus.c
18156 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18157 - Implement scanning & wireless enable/disable calls
18158 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18160 * src/NetworkManagerDevice.c
18161 - New link detection stuff again...
18162 o Create device's mainloop earlier (but don't run it earlier)
18163 o Hook up new carrier-detect support stuff
18164 o Add in the ethtool & mii support detection code
18165 - Don't scan if scanning is disabled
18167 * src/NetworkManagerPolicy.c
18168 - Never automatically choose a device that doesn't support carrier detection
18169 - Don't automatically choose a wireless device if wireless is disabled
18171 2005-02-07 Dan Williams <dcbw@redhat.com>
18173 * libnm_glib/libnm_glib.c
18174 - Small cleanup in element list iteration
18176 2005-02-07 Dan Williams <dcbw@redhat.com>
18178 * src/NetworkManagerWireless.c
18179 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18180 to be in line with the WEXT quality specification
18182 2005-02-02 Dan Williams <dcbw@redhat.com>
18184 Patch from Nathan Fredrickson <nathan@silverorange.com>
18185 * Fix up compile for deprecation of libgnomeui
18186 - Switch to <glib/gi18n.h> from <libintl.h>
18187 - Remove <libgnomeui/libgnomeui.h> includes
18188 - Use gtk_window_set_default_icon_from_file() rather than
18189 gnome_window_set_default_icon_from_file()
18191 * named/nm-named-manager.c
18192 - (generate_named_conf): Fix return-nothing in non-void
18195 2005-02-02 Dan Williams <dcbw@redhat.com>
18197 * Clean up unused variables and the like
18199 2005-02-02 Dan Williams <dcbw@redhat.com>
18201 * src/NetworkManagerAPList.c
18202 - (nm_ap_list_merge_scanned_ap): merge strength too
18204 * src/NetworkManagerUtils.c
18205 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18206 of locking issues by printing out prettier information than g_mutex_lock
18207 - Print out names of mutexes registered with nm_register_mutex_desc()
18208 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18209 us to seemingly block here for too long
18211 * src/NetworkManager.c
18212 src/NetworkManagerAPList.c
18213 src/NetworkManagerDevice.c
18214 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18215 so we get better debug information printed
18217 * src/NetworkManagerDbus.c
18218 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18219 since it sometimes has locking side effects
18220 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18222 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18223 we don't need a switch. This gets called often enough that we can't block
18224 until the scan mutex is acquired, because we'll block on device activation
18225 and a few other things, which hangs main thread for too long.
18227 * src/NetworkManagerPolicy.c
18228 - (nm_policy_auto_get_best_device): reduce the possiblity that
18229 nm_device_need_ap_switch() will be called
18231 2005-02-02 Dan Williams <dcbw@redhat.com>
18233 * panel-applet/NMWirelessApplet.c
18234 - Display name of wireless network we are connecting to or connected to
18235 in the tooltip of the applet
18237 2005-02-02 Dan Williams <dcbw@redhat.com>
18239 * src/NetworkManagerDHCP.c
18240 - Hopefully fix double-default-route problem by cleaning up the default
18241 route added by DHCP code right before the DHCP transaction begins
18243 2005-02-02 Dan Williams <dcbw@redhat.com>
18245 * named/nm-named-manager.c
18246 - Write out valid resolv.conf when we exit
18248 2005-02-01 Dan Williams <dcbw@redhat.com>
18250 Patch from Colin Walters:
18251 * named/nm-named-manager.c
18252 - Make multi-domain search options work
18254 2005-01-31 Dan Williams <dcbw@redhat.com>
18256 * info-daemon/NetworkManagerInfoDbus.c
18257 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18259 * src/NetworkManagerDevice.c
18260 - (nm_device_new): Don't store the entire range struct, use only what we need
18261 (which is currently avg_quality, max_quality, and frequencies). Also
18262 zero device structure when we've free'd it to maybe expose errors down
18264 - (nm_device_update_signal_strength): grab the scan mutex before getting
18265 quality data from the card since quality will be useless during a scan.
18266 Call updated wireless qual-to-percent function with values stored in
18267 nm_device_new() earlier.
18268 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18269 nm_device_get_bad_crypt_packets())
18270 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18272 - (get_initial_auth_method): always use the Auth method that's in the allowed
18273 list if available. Problem was this: when the WEP key is wrong, NM will
18274 try OS then SK modes, and then get stuck in SK mode after that. This
18276 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18279 * src/NetworkManagerWireless.c
18280 - (nm_wireless_qual_to_percent): try to make this function actually work and
18281 mimic iwlib behavior. Use card's idea of quality divided by max_qual
18282 if that's all present, otherwise fall back to signal-to-noise ratios.
18284 2005-01-29 Dan Williams <dcbw@redhat.com>
18286 * initscript/RedHat/NetworkManager
18287 - Don't spit out sysctl stuff to console
18289 * libnm_glib/libnm_glib.c
18290 - (libnm_glib_init): call dbus_g_thread_init()
18292 * panel-applet/NMWirelessAppletDbus.c
18293 - (nmwa_dbus_worker): call dbus_g_thread_init()
18295 * src/NetworkManager.c
18296 - (main): call dbus_g_thread_init()
18298 * src/NetworkManagerAPList.c
18299 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18300 so we can actually see what's there in a normal syslog
18302 * src/NetworkManagerDevice.c
18303 - (nm_device_activate_wireless): print out the "waiting for access point"
18304 message only once, then say what access point we actually got after
18306 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18307 function, wait until the scan is done. Scans may change the ESSID of
18308 the card, making this function think we need to switch access points
18309 - (nm_device_wireless_process_scan_results): for artificial access points
18310 don't check against the card's ESSID, but the best_ap's ESSID. This
18311 prevents collisions with the scanning code, which may change the card's
18312 ESSID and cause the access point to get dropped from the device's AP
18313 list. Also increase the keep-around time to 2m from 60s since the max
18314 scan interval could be 60s in some cases.
18316 * src/NetworkManagerPolicy.c
18317 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18318 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18319 the new properties and ESSIDs to the device's AP list. Fixes some races
18320 between NM and NMI.
18322 2005-01-27 Dan Williams <dcbw@redhat.com>
18324 * info-daemon/NetworkManagerInfoDbus.c
18325 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18326 GConf, make a minimal entry for it (essid & timestamp)
18328 * src/NetworkManagerAPList.c
18329 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18330 NetworkManagerInfo isn't running
18332 * src/NetworkManagerDbus.[ch]
18333 - (nm_dbus_nmi_is_running): new function
18335 * src/NetworkManagerDevice.c
18336 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18337 address to garbage.
18339 * src/NetworkManagerPolicy.c
18340 - (nm_policy_activation_finish): On successful activation, make sure
18341 the "best" AP has a MAC address, and don't tell NMI to add the
18342 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18343 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18344 access point after refreshing our allowed list if it doesn't already
18345 have a "best" access point.
18347 2005-01-25 Dan Williams <dcbw@redhat.com>
18349 * panel-applet/NMWirelessAppletDbus.c
18350 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18351 so we check for NM_DBUS_SERVICE rather than not for it
18353 * libnm_glib/libnm_glib.c
18354 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18355 ServiceOwnerChanged signal
18357 2005-01-25 Dan Williams <dcbw@redhat.com>
18360 - Check DBUS version in configure, and set the C macros
18361 DBUS_VERSION_[MAJOR,MINOR,MICRO]
18363 * info-daemon/NetworkManagerInfoDbus.c
18364 - Remove #if 0-d section of code that quit NMI if NM went away.
18366 * panel-applet/NMWirelessAppletDbus.c
18367 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18369 * src/NetworkManager.c
18370 src/NetworkManagerMain.h
18371 src/NetworkManagerDbus.c
18372 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18373 - Make updating of our Allowed Wireless Network lists from NMI
18374 an idle function in the main thread now, with a high priority.
18376 2005-01-24 Dan Williams <dcbw@redhat.com>
18378 * panel-applet/gtkcellview.[ch]
18379 panel-applet/menu-info.c
18380 - Fix GTK version checks to be <= rather than <
18383 - Include the libtool archive of libnm_glib rather than
18384 trying to pull in the .so
18386 2005-01-24 Dan Williams <dcbw@redhat.com>
18388 * src/NetworkManagerDevice.c
18389 src/NetworkManagerDevicePrivate.h
18390 - Block nm_device_new() until our device's worker thread has had a
18391 chance to start up. Fixes a race between main thread and worker
18392 thread starting that caused activation requests to get lost.
18394 2005-01-24 Dan Williams <dcbw@redhat.com>
18396 * initscript/RedHat/NetworkManager
18397 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18398 to add the NM startup script at priority 50, which was
18401 2005-01-24 Colin Walters <walters@redhat.com>
18403 * named/named.conf: Use any port for query source instead of
18404 restricting to port 53.
18406 2005-01-24 Dan Williams <dcbw@redhat.com>
18408 * initscript/RedHat/NetworkManager
18409 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18410 to add the NM startup script at priority 50, which was
18413 2005-01-24 Dan Williams <dcbw@redhat.com>
18415 Patch from Tom Parker <palfrey@tevp.net>
18416 * Fix up compile warnings & errors in the wireless applet
18418 2005-01-24 Dan Williams <dcbw@redhat.com>
18420 * panel-applet/NMWirelessApplet.c
18421 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18423 2005-01-24 Dan Williams <dcbw@redhat.com>
18425 * panel-applet/gtkcellview.[ch]
18426 - Only compile these files for GTK 2.4 or lower, since
18427 GtkCellView is now public in GTK 2.6. Fixes crasher
18428 when choosing "Other Wireless Networks" from the panel
18431 2005-01-21 Dan Williams <dcbw@redhat.com>
18433 * src/NetworkManager.c
18434 - Daemonize earlier so that glib doesn't get confused (?)
18436 2005-01-21 Dan Williams <dcbw@redhat.com>
18438 * panel-applet/NMWirelessApplet.[ch]
18439 panel-applet/NMWirelessAppletDbus.c
18440 panel-applet/menu-info.c
18441 src/NetworkManagerDevice.c
18442 - Disable wired devices in the menu when they have no link.
18444 2005-01-21 Dan Williams <dcbw@redhat.com>
18446 * Cache last-known-good wireless authentication method in
18447 NetworkManagerInfo, and use that method first during
18448 wireless device activation. Should speed up devices that
18449 need Shared Key authentication method since Open System is
18452 * Remove the hack to not do full activation on wired connections
18453 that are active when we launch, it causes too many problems
18454 with name resolution and was a hack in the first place.
18456 * Re-work wireless device activation again somewhat to have a
18457 clearer chain of events and to use last-known-good
18458 authentication method of the access point. Also provide
18459 better status throughout activation to ensure the applet
18460 can tell the user exactly what's going on.
18462 * Remove the "find wireless network" code and now simply attempt
18463 to activate with that access point. This reduces the delay
18464 between selecting "Other wireless Network" and actually
18465 connecting to that network.
18467 * Correctly stop the device's worker thread when its removed.
18469 2005-01-21 Dan Williams <dcbw@redhat.com>
18472 - Clean up some of the debug messages
18474 2005-01-21 Dan Williams <dcbw@redhat.com>
18476 * Add new icons, more frames of animation
18477 * Remove some hacks to get the panel applet to display correct
18478 status, an NM update will soon follow that will fix the
18481 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18483 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18484 the first include for working i18n. Also, don't include it in .h files
18485 * panel-applet/NMWirelessApplet.h: Same
18486 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18487 * panel-applet/menu-info.c: Same
18489 2005-01-18 Dan Williams <dcbw@redhat.com>
18492 - Remove some debug messages
18493 - Wrap others in #ifdef DEBUG/#endif
18495 * src/NetworkManager.c
18496 - Remove some debug messages
18497 - Clarify some debug messages
18498 - Remove code related to old single-thread wireless scanning
18500 * src/NetworkManagerAP.[ch]
18501 - New AP property "last_seen" to track how recently an AP was
18503 - Start using 'const' more in function arguments
18505 * src/NetworkManagerAPList.[ch]
18506 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18507 of an AP found in an AP list from a source AP, or if not found
18508 in the list add the source AP
18509 - (nm_ap_list_combine): remove, no longer needed
18511 * src/NetworkManagerDevice.c
18512 - Each device now has a "worker" thread from start to end of its life.
18513 Scanning for wireless devices now happens in that thread,
18514 not in a single "wireless scanning thread" for all devices as
18515 previously. Activation consists of adding an idle handler to the
18516 thread's main loop/context, which gets run at the next available
18518 - Wireless scanning is also simplified, there is now only one list of
18519 access points per wireless device, and APs older than 60s are
18520 removed from the list. Previously, we kept results for the last
18521 3 scans and merged whole lists, which was complicated.
18522 - Cleaned up activation debug messages.
18523 - Wireless activation and access-point search routines now use Open System
18524 authentication before trying Shared Key.
18525 - Removed some code in nm_device_update_best_ap() that could cause cards
18526 to loose their link to the access point.
18527 - Scanning now uses a backoff algorithm, where the inverval becomes
18528 progressively longer between scans when the list of scanned access
18529 points doesn't change. A change will revert to the shortest scan
18532 * src/NetworkManagerWireless.[ch]
18533 - Remove code related to old single-thread wireless scanning
18535 2005-01-18 Colin Walters <walters@redhat.com>
18537 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18538 of older nameservers.
18540 2005-01-18 Colin Walters <walters@redhat.com>
18542 * named/nm-named-manager.c (generate_named_conf): Many fixes
18543 to config file generation.
18544 (safer_kill): Remove, was too much trouble for little gain.
18545 (nm_named_manager_start): Run named as NM_NAMED_USER.
18547 * configure.in: Add option --with-named-user.
18549 2005-01-14 Colin Walters <walters@redhat.com>
18551 Patch from ed@catmur.co.uk (Ed Catmur)
18553 * named/nm-named-manager.c: Add "context" property.
18554 Use it to add child watch source in specific GMainContext.
18556 * src/NetworkManager.c (nm_data_new): Initialize
18557 named with correct main context. Start named only
18560 2005-01-14 Colin Walters <walters@redhat.com>
18562 * named/nm-named-manager.c (generate_named_conf): Write config
18563 and pid files into NM_NAMED_DATA_DIR; this allows things to
18564 work better with FC3 named SELinux policy. Also fix up silly
18567 * configure.in: Add --with-named-dir option.
18569 2005-01-14 Colin Walters <walters@redhat.com>
18571 * configure.in: Make named support require passing --with-named.
18573 * named/nm-named-manager.c: Support writing resolv.conf directly
18574 without running named.
18576 2005-01-13 Dan Williams <dcbw@redhat.com>
18578 * named/nm-named-manager.c
18579 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18581 * src/NetworkManagerDevice.c
18582 - Rework wireless link detection code to be more reliable
18584 2005-01-12 Dan Williams <dcbw@redhat.com>
18586 * initscripts/RedHat/NetworkManager
18587 - Change initial level to "-" rather than "345" so that
18588 we don't activate ourselves by default on install
18590 2005-01-12 Dan Williams <dcbw@redhat.com>
18593 - Client library for applications using glib
18597 - Split NM_CFLAGS and NM_LIBS into separate variables
18598 like DBUS_*, HAL_* and GLIB_*
18600 * src/NetworkManager.c
18601 src/NetworkManagerMain.h
18602 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18603 broadcast a status changed signal over DBUS from the main thread.
18604 Still unused anywhere for the moment.
18606 Patch from j@bootlab.org
18607 * panel_applet/NMWirelessAppletDbus.c
18608 src/NetworkManagerDbus.c
18609 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18610 for the "getMode" method call
18612 2005-01-10 Dan Williams <dcbw@redhat.com>
18614 * src/NetworkManagerDevice.c
18615 - Minor fixups & corrections to "auto" frequency mode, make it
18616 less chatty with syslog
18618 2005-01-10 Dan Williams <dcbw@redhat.com>
18620 * src/NetworkManagerDevice.c
18621 - Implement "auto" frequency/channel support, since cards like Atheros
18622 can't use other frequencies at all when you've told it to use a
18623 specific one, even for scanning.
18624 - Grab the scan mutex around places where we can't tolerate wireless
18625 settings changing underneath us, like nm_device_wireless_network_exists()
18626 and nm_device_activate_wireless()
18628 * src/NetworkManagerWireless.c
18629 - Back scan interval off to 20s instead of 14s
18631 2005-01-09 Dan Williams <dcbw@redhat.com>
18633 * src/NetworkManagerDevice.c
18634 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18635 already set. Stops some drivers like Atmel from continually
18636 reloading the firmware, which they do upon every configuration
18639 2005-01-09 Dan Williams <dcbw@redhat.com>
18642 - Use correct timeout value
18644 * info-daemon/NetworkManagerInfoDbus.c
18645 src/NetworkManagerDbus.c
18646 - Consolidate communication between NM and NMI by doing only 1 dbus
18647 method call to get Wireless Network info from NMI instead of 6
18649 * src/NetworkManager.c
18650 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18651 when we didn't have an AP to use, we'd wait for one forever without
18654 * src/NetworkManagerDevice.c
18655 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18656 activation, dhcp might not have started yet but we don't quit activation
18657 before starting it, so the quit signal gets lost
18659 2005-01-07 Dan Williams <dcbw@redhat.com>
18662 - Rework the DHCP client code to be much less chatty when
18663 it receives non-DHCP UDP packets during the DHCP run
18664 (reported by and preliminary patches from Bill Moss)
18666 * Move wireless scanning to a separate thread. This thread forwards the
18667 results to the main thread when done where they are integrated into
18668 the device's access point lists. This keeps the main thread (which
18669 does all the DBUS communication) from being blocked for long periods
18670 of time by wireless scanning.
18672 * Make state modification an idle routine in the main loop, and trigger
18673 state changes rather than polling for them.
18675 * src/backends/NetworkManagerGentoo.c
18676 - Fix up invalid C90 code (reported by Christoph Ruessler)
18678 * src/NetworkManagerDevice.c
18679 - Revert IPv6 patch for wired devices from 2004-12-22 for
18680 router advertisements, causing problems and infinite loop
18681 during "best" device determination due to link going up/down
18682 (reported by Bill Moss)
18684 Apply patch from Peter Jones
18685 * src/NetworkManagerDevice.c
18686 - Shortcut for link-checking for ipw2x00 cards
18687 - Split out association check into separate routine
18689 2004-01-05 Colin Walters <walters@redhat.com>
18691 * named/named.conf: Add PID_FILE.
18693 * named/nm-named-manager.c: Always generate a pid
18694 file, since older BIND versions don't support
18697 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
18699 * configure.in (ALL_LINGUAS): Added ja (Japanese).
18701 2004-12-22 Dan Williams <dcbw@redhat.com>
18703 * src/NetworkManagerDevice.c
18704 - Silently fail when setting bitrate doesn't work
18707 Patches from j@bootlab.org:
18708 * src/backends/NetworkManagerDebian
18709 - Update backend to match functionality in RedHat backend
18710 * src/NetworkManagerDevice.c
18711 - Take down then bring up wired devices after connection so
18712 they send out ipv6 router advertisements
18714 2004-12-21 Colin Walters <walters@verbum.org>
18716 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18717 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18719 2004-12-21 Colin Walters <walters@redhat.com>
18721 * configure.in: Correct named detection.
18723 2004-12-21 Colin Walters <walters@redhat.com>
18725 * src/NetworkManager.c (nm_data_new): Initialize named.
18726 Also, set up a signal handler for SIGINT/SIGTERM, and exit
18727 the mainloop when these signals are received.
18728 (nm_data_free): Unref named.
18729 (sigterm_handler, sigterm_pipe_handler): New functions for
18732 * src/NetworkManagerMain.h (NMData): Add signal handling and
18735 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18738 * src/NetworkManagerDHCP.c (set_nameservers): New function;
18739 set nameservers from DHCP response data.
18740 (set_domain_search): Set domain search from DHCP response.
18741 (nm_device_dhcp_configure): Invoke them.
18743 * src/NetworkManagerSystem.c
18744 (nm_system_device_update_resolv_conf): Delete. Deleting
18745 code is totally sweet.
18747 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18749 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18750 implements an object which controls a nameserver. Currently
18753 * configure.in: Check for named.
18755 * Makefile.am (SUBDIRS): Add named dir.
18757 * named/named.conf: New template config file.
18759 2004-12-20 Colin Walters <walters@redhat.com>
18761 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18764 2004-12-17 Dan Williams <dcbw@redhat.com>
18766 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
18767 link-local addresses instead of doing DHCP.
18769 * In the panel applet, there's a new "Create new Wireless Network..." item
18771 * The panel applet also sticks around now even if NetworkManager dies, but
18772 it doesn't hide its icon when NM isn't around. Not hiding the icon is
18773 a bug, I'll fix that later.
18775 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18776 lookups after a switch rather than actually doing them.
18778 * Clean up some of those warnings in nm_ap_list_* functions
18780 * Delay between scans changed to 15s instead of 10s
18782 2004-12-15 Dan Williams <dcbw@redhat.com>
18784 Patch from Tom Parker
18785 * Add autoip/Link Local Addressing support when we fail to get a DHCP
18788 * Longer pause after setting ESSID on cards that support a larger number
18789 of channels to give the card time to find the right channel
18791 * Add system hook to restart mDNSResponder (or whatever the local implementation
18792 of Multicast DNS is) when we activate interfaces
18794 2004-12-15 Dan Williams <dcbw@redhat.com>
18796 * Rework the DHCP code again to revert to sending full ethernet frames
18797 rather then relying on the kernel to do the right thing with our
18800 2004-12-06 Dan Williams <dcbw@redhat.com>
18803 - Fix some minor errors in dhcp_handle_transaction() that caused
18804 unexpected early timeouts of DHCP transactions
18807 - DHCP retransmit time from 4s -> 5s
18809 2004-12-05 Dan Williams <dcbw@redhat.com>
18811 * Major rework of the DHCP code, taking some cues from pump. We don't
18812 write raw Ethernet packets anymore, which simplifies the code quite
18813 a bit. The new code should be more robust, not hang in recvfrom()
18814 as much, and generally work better. This also means that we need
18815 to force HAL/dbus to use a created GMainContext rather than the
18816 default context, since having the DHCP renew/rebind thread using
18817 its own GMainContext seemed to give dbus a fit. There is also more
18818 debugging information printed from the DHCP loop to help with future
18821 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18822 assume that the default gateway should be the DHCP server.
18824 Patch from Matthew Schick <matt oss-institute org>
18825 * src/backends/NetworkManagerGentoo.c
18826 - Fix compilation error due to missing "ip4_broadcast"
18828 2004-12-03 Dan Williams <dcbw@redhat.com>
18830 * initscript/Makefile.am
18831 * initscript/Debian/NetworkManager
18832 * initscript/Gentoo/NetworkManager
18833 * initscript/RedHat/NetworkManager
18834 * initscript/NMLaunchHelper.c
18835 - Remove NMLaunchHelper, if you need to wait until the network
18836 comes up, use the dead code from CVS.
18838 2004-12-01 Colin Walters <walters@redhat.com>
18840 * configure.in: Suck in gcc warnings code from Rhythmbox,
18841 but use fewer default flags, and in particular add -Wno-unused,
18842 since the codebase has a lot of unused variables.
18844 * test/nmtestdevices.c (create_device):
18845 * test/nminfotest.c (get_network_string_property)
18846 (get_networks_of_type):
18847 * test/nmclienttest.c (main):
18848 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
18849 * initscript/NMLaunchHelper.c (get_nm_status):
18850 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
18851 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
18852 Fix declarations after statements.
18854 2004-12-01 Colin Walters <walters@redhat.com>
18856 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18857 (nmi_dbus_get_vpn_userpass): New method.
18858 (nmi_dbus_nmi_message_handler): Invoke it.
18860 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18862 * info-daemon/NetworkManagerInfoVPN.h,
18863 info-daemon/NetworkManagerInfoVPN.c: New files; responds
18864 to requests for VPN passwords.
18866 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18868 2004-12-01 Colin Walters <walters@redhat.com>
18870 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18873 2004-12-01 Colin Walters <walters@redhat.com>
18875 * panel-applet/NMWirelessAppletDbus.c
18876 (nmwa_dbus_update_active_device_strength): Fix missing
18879 2004-12-01 Colin Walters <walters@redhat.com>
18881 * panel-applet/NMWirelessApplet.c: Add missing include.
18883 2004-12-01 Colin Walters <walters@redhat.com>
18885 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18886 Remove useless CLAMP (); the value is unsigned, and the case tests
18887 qual->qual < 100, so the value must always be between 0 and 100.
18889 2004-12-01 Colin Walters <walters@redhat.com>
18891 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18893 2004-11-22 Colin Walters <walters@verbum.org>
18895 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18896 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18897 which is essentially a noop since nscd caches hosts on disk too.
18899 2004-11-22 Colin Walters <walters@redhat.com>
18901 * src/Makefile.am (NetworkManager_SOURCES): Add
18902 NetworkManagerDevicePrivate.h.
18904 2004-11-22 Dan Williams <dcbw@redhat.com>
18906 * src/NetworkManagerDevicePrivate.h
18907 - Split out the NMDevice struct to a different file so that stuff like
18908 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18912 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18913 need to cancel the dhcp request during the send and recv
18916 - Move the DHCP option enum to dhcpcd.h
18918 * src/NetworkManagerDHCP.c
18919 - Split out the actual IP/netmask/etc setting code
18920 - New Renew/Rebind functions
18921 - New timer setup function for renew/rebind operations
18923 * src/NetworkManagerDevice.c
18924 - For device activation, if we are using DHCP then keep the activation thread
18925 alive until device deactivation. We need to renew/rebind the DHCP address
18926 after the T1 (renew) and T2 (rebind) times have expired.
18927 - Increase some timeouts after bringing wireless cards up/down
18929 2004-11-17 Dan Williams <dcbw@redhat.com>
18931 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18932 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
18933 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
18934 show known access points that don't broadcast their ESSID in the menus without
18935 any user intervention whatsoever.
18937 * info-daemon/NetworkManagerInfoDbus.c
18938 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18939 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18941 * src/NetworkManagerAP.[ch]
18942 - Add a "user_addresses" data member to the NMAccessPoint structure
18943 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18944 the user_addresses data member
18946 * src/NetworkManagerAPList.c
18947 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18948 the AP's reported address
18949 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18951 * src/NetworkManagerDHCP.c
18952 - Increase DHCP timeout from 25s -> 30s
18954 * src/NetworkManagerDbus.[ch]
18955 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18958 * src/NetworkManagerDevice.c
18959 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18960 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
18961 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18962 So, we take the card down to clear it out.
18963 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18964 too, since that's where the user_addresses are
18966 * src/NetworkManagerPolicy.c
18967 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18968 that wireless networks' user_addresses list upon successful activation
18970 2004-11-16 Dan Williams <dcbw@redhat.com>
18972 * src/NetworkManagerDevice.[ch]
18973 - (nm_device_clear_activation_fail): new function
18975 * src/NetworkManagerPolicy.c
18976 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18977 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18979 2004-11-16 Dan Williams <dcbw@redhat.com>
18981 * src/NetworkManagerDevice.c
18982 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18983 leak the structure, better updating of now_scanning status
18984 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18986 2004-11-15 Dan Williams <dcbw@redhat.com>
18988 Major rework of link detection code. We now use DHCP
18989 as part of the link detection which proves to be much more robust,
18990 and also supports Open System authentication for wireless networks.
18992 We no longer use external DHCP client programs. Instead, we use
18993 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18994 which was written by:
18995 Yoichi Hariguchi <yoichi@fore.com>
18996 Sergei Viznyuk <sv@phystech.com>
18997 http://www.phystech.com/download/
18998 It resides in the "dhcpcd" directory and was refactored into a general
18999 purpose DHCP client library by me.
19001 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19002 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19004 2004-11-15 Dan Williams <dcbw@redhat.com>
19006 Patch from Tom Parker <palfrey@tevp.net>:
19008 * src/NetworkManagerDevice.c
19009 - Less output to console when no access
19010 points are found during a scan
19012 2004-11-15 Dan Williams <dcbw@redhat.com>
19014 Patch from Tom Parker <palfrey@tevp.net>:
19016 * src/backends/interface_parser.c
19018 - Check for inp == NULL
19021 2004-11-13 Colin Walters <walters@redhat.com>
19023 Patch from Tom Parker <palfrey@tevp.net>:
19025 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19027 * src/backends/NetworkManagerRedHat.c: Switch to
19028 including shvar.h instead of shvar.c.
19030 * src/backends/NetworkManagerDebian.c: Don't include
19031 interface_parser.c in source file.
19033 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19034 and interface_parser.[ch].
19035 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19036 Include shvar.c and shvar.h here.
19037 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19038 interface_parser.c and interface_parser.h here.
19040 2004-11-12 Colin Walters <walters@redhat.com>
19042 * configure.in: Strip out TARGET_DISTRO and
19043 SYSTEM_BACKEND_FILE variables. Switch to Automake
19046 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19047 (libnmbackend_la_SOURCES): Use Automake conditionals
19048 to add distro-specific files.
19050 * initscript/Makefile.am (SUBDIRS): Update to
19053 2004-11-12 Colin Walters <walters@redhat.com>
19055 Patches from j bootlab org
19057 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
19058 Add interface_parser.[ch].
19060 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19061 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19063 2004-11-12 Colin Walters <walters@redhat.com>
19065 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19066 call to nmi_dbus_is_running too, not necessary anymore.
19067 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19070 2004-11-11 Colin Walters <walters@verbum.org>
19072 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19074 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19075 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19076 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19077 This avoids a race condition that made it pretty easily
19078 possible to get two NetworkManagerInfo daemons running.
19080 2004-11-11 Colin Walters <walters@verbum.org>
19082 * src/NetworkManager.c (main): Use daemon(3).
19084 * info-daemon/NetworkManagerInfo.c (main): Ditto.
19086 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19088 2004-11-10 Dan Williams <dcbw@redhat.com>
19090 Patches from j bootlab org
19091 * src/NetworkManagerDevice.c
19092 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19093 whether the card has a link or not, some cards are slow
19094 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19096 * info-daemon/NetworkManagerInfoPassphraseDialog.c
19097 - Disable the "Login" button on the passphrase dialog until the user
19098 enters a valid passphrase or key
19100 Patches from Tom Parker <palfrey tevp net>
19101 * src/backends/NetworkManagerDebian.c
19102 - Add static IP support to the debian backend
19104 * src/backends/interface_parser.[ch]
19105 - Parse debian interface config files
19107 2004-11-08 Dan Williams <dcbw@redhat.com>
19109 * src/NetworkManagerDevice.c
19110 - Some random fprintf->syslog conversions
19111 - (nm_device_wireless_network_exists): double-check for network
19112 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19114 * src/NetworkManagerWireless.[ch]
19115 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19116 so that the binary->ascii conversion works (if unsigned, the bitshift
19117 will fill with zeros, which is what's required). Also mask bitshift
19118 result with 0xF for futher assurance.
19120 2004-11-06 Dan Williams <dcbw@redhat.com>
19122 * src/NetworkManagerUtils.c
19123 - (nm_get_wireless_driver_support_level): default to
19124 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19125 flip this when changing from whitelist->blacklist of
19128 2004-11-05 Dan Williams <dcbw@redhat.com>
19130 Patch from Robert Paskowitz:
19131 * src/backends/NetworkManagerGentoo.c
19132 - Update static IP config code
19134 2004-11-05 Dan Williams <dcbw@redhat.com>
19136 * info-daemon/NetworkManagerInfoDbus.c
19137 src/NetworkManagerDbus.[ch]
19138 src/NetworkManagerDevice.c
19139 - Keep track of the # of attempts to get the WEP key
19140 from the user and pass that along to the info daemon
19142 2004-11-05 Dan Williams <dcbw@redhat.com>
19144 * src/NetworkManagerUtils.c
19145 - Blacklist wireless cards rather than whitelisting them.
19146 - Grab driver name from HAL rather than trying to find it
19149 2004-11-03 Dan Williams <dcbw@redhat.com>
19151 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19152 - Disable OK button until valid data is entered
19153 for encryption stuff too
19155 * panel-applet/NMWirelessApplet.c
19156 - Report card strength for current AP if the card
19157 doesn't report strength data for scanned access
19160 * src/NetworkManagerDevice.c
19161 - Smooth out cards reported quality, Atmel card was
19162 intermittently reporting no quality data but soon
19165 * src/NetworkManagerWireless.c
19166 - Better quality data percentage calculation. Atmel
19167 cards (mine at least) seem to report the quality
19168 in percentage format already, so honor that
19170 Patch from <j@bootlab.org>
19172 info-daemon/NetworkManagerInfoPassphraseDialog.c
19173 info-daemon/passphrase.glade
19174 panel-applet/NMWirelessAppletOtherNetworkDialog.c
19175 panel-applet/essid.glade
19176 src/NetworkManagerAP.c
19177 src/NetworkManagerDevice.c
19178 src/NetworkManagerWireless.[ch]
19179 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19181 2004-11-03 Dan Williams <dcbw@redhat.com>
19183 * src/NetworkManagerDevice.[ch]
19184 - (nm_device_set_enc_key): Add parameter to set Authentication
19185 Mode (Open System, Shared Key, or None). We're still using
19186 Shared Key for now though.
19188 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
19190 * panel-applet/menu-info.c: change from bold text to light
19191 colored, may cause problems with some themes, i've tested a lot
19192 and they seem fine.
19194 * panel-applet/NMWirelessApplet.c: fix strength tooltip
19196 2004-11-01 Colin Walters <walters@verbum.org>
19198 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19199 (nm_wireless_128bit_key_from_passphrase): Add const.
19201 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19202 (nm_ap_set_enc_key_source): Add const.
19204 2004-11-01 Colin Walters <walters@verbum.org>
19206 * .cvsignore: Update.
19208 2004-10-29 Dan Williams <dcbw@redhat.com>
19210 * src/NetworkManagerDevice.c
19211 - (nm_device_wireless_network_exists): Actually use the encryption
19212 key we got from the applet when attempting to find a wireless network
19213 - Don't bring devices down so much since on some cards it triggers
19214 firmware hotplugs each time
19216 * src/NetworkManagerDbus.c
19217 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19220 2004-10-29 Dan Williams <dcbw@redhat.com>
19222 * src/NetworkManager.c
19223 - (nm_hal_device_property_modified): unlock a locked active
19224 wireless device when a wired connection gets a link.
19225 (Means you'll switch to wired whenever you plug in no
19228 2004-10-29 Dan Williams <dcbw@redhat.com>
19230 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19231 - New files, implement the "Other wireless network" dialog
19233 * panel-applet/NMWirelessApplet.c
19234 - Move "other wireless network" dialog to separate file
19236 * panel-applet/NMWirelessAppletDbus.[ch]
19237 - Take key and key_type paramaters for the set_device function
19239 * panel-applet/essid.glade
19240 - Add UI bits for encryption settings
19242 * src/NetworkManagerDbus.c
19243 - Retrieve key and key_type params for "setActiveDevice" method call
19245 - unref AP returned from nm_device_get_best_ap() when needed
19247 * src/NetworkManagerDevice.c
19248 - (nm_device_get_best_ap): ref the ap before returning it
19249 - unref AP returned from nm_device_get_best_ap() when needed
19250 - (nm_device_activate_wireless): add "ap" parameter so we don't
19251 need to call nm_device_get_best_ap() here, it was pretty much
19253 - (AP_NEED_KEY): break second link check condition out into separate
19254 function, and fix segfault when ap->enc_key_source was NULL
19255 - (nm_device_find_and_use_essid): take key and key_type parameters and
19256 pass them along to nm_device_wireless_network_exists(). If the
19257 network does exist, set the passed-in key+key_type on the AP
19259 * src/NetworkManagerPolicy.c
19260 - unref AP returned from nm_device_get_best_ap() when needed
19262 2004-10-28 Dan Williams <dcbw@redhat.com>
19264 * src/NetworkManagerUtils.c
19265 - (nm_spawn_process): Fix a potential dereference of NULL
19267 Patches from Peter Jones:
19269 * src/NetworkManagerDevice.c
19270 - (nm_device_test_wireless_extensions): Better check for
19273 * src/NetworkManagerUtils.c
19274 - (nm_spawn_process): Pass in valid stdout and stderr so
19275 executed programs don't randomly SIGPIPE and fail
19276 - (nm_get_wired_driver_support_level): quash hal warning
19277 when checking for USB ethernet device
19279 2004-10-27 Dan Williams <dcbw@redhat.com>
19281 * info-daemon/NetworkManagerInfo.c
19282 info-daemon/NetworkManagerInfoDbus.c
19283 info-daemon/NetworkManagerInfoPassphraseDialog.c
19284 panel-applet/NMWirelessApplet.c
19285 - Properly escape gconf keys
19287 * src/NetworkManager.c
19288 - remove unused variables
19290 * src/NetworkManagerAP.c
19291 - (nm_ap_new_from_ap): Don't redundantly set new APs
19292 refcount since it got set in nm_ap_new()
19294 * src/NetworkManagerAPList.c
19295 - (nm_ap_list_combine): Give up ownership of newly created
19296 access points to the ap list, fixes memleak
19298 * src/NetworkManagerDevice.c
19299 - Remove cached_ap_list4 member since its not really needed
19300 - (nm_device_wireless_network_exists): Try to get correct
19301 encryption status of a found AP if its already in our
19303 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19304 memory allocs/deallocs a bit clearer and shorter-lived
19306 2004-10-26 Ray Strode <rstrode@redhat.com>
19308 * panel-applet/NMWirelessApplet.c:
19309 (custom_essid_item_selected): kill some compiler
19312 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19314 * info-daemon/NetworkManagerInfoDbus.c
19315 - (nmi_dbus_is_running): New function for determining if nmi is already running
19316 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19318 2004-10-23 Dan Williams <dcbw@redhat.com>
19320 * info-daemon/NetworkManagerInfoDbus.c
19321 - Trap the "DeviceActivationFailed" signal
19323 * docs/NetworkManager DBUS API.txt
19324 - Add "DeviceActivationFailed" signal
19326 * panel-applet/NMWirelessAppletDbus.c
19327 - Quash the "NetworkManager service not available" message
19329 * src/NetworkManagerDbus.[ch]
19330 - Add the "DeviceActivationFailed" signal
19332 * src/NetworkManagerDevice.c
19333 - Add support for activation_failed flag
19334 - Fix deadlock where activation thread didn't clean itself up, making
19335 main thread still believe it was alive forever (didn't reset activation
19336 flags like activating, just_activated, etc when IP configuration
19339 * src/NetworkManagerPolicy.c
19340 - Implement logic for DeviceActivationFailed signal, and when activation fails
19341 for wireless networks, try to fall back to some other access point
19343 2004-10-23 Dan Williams <dcbw@redhat.com>
19345 * panel-applet/NMWirelessApplet.[ch]
19346 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19347 to the applet object, so we can get tooltips
19348 - Add tooltips (RH #136866)
19350 * src/NetworkManagerDevice.c
19351 - When trying to find a wireless network, try to connect with encryption
19352 turned on first, so that we can more accurately detect whether or not
19353 we need to use encryption for the actual association later on
19355 2004-10-21 Dan Williams <dcbw@redhat.com>
19357 * Add some support for telling NetworkManagerInfo to tell the user
19358 that they are using a device that's not fully supported
19360 * Fix some assertions in debug messages due to null access point args
19362 2004-10-21 Dan Williams <dcbw@redhat.com>
19364 * src/NetworkManagerDevice.c
19365 - Don't try to activate/bring up/down unsupported
19368 * src/NetworkManagerUtils.c
19369 - Fix case of PCI ID checks for driver support levels
19371 2004-10-21 Dan Williams <dcbw@redhat.com>
19374 - New file, now contains commonly used structures and bits
19375 for the dbus API of NetworkManager
19378 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19380 * src/NetworkManager.h
19381 - Rename -> src/NetworkManagerMain.c
19383 * Various fixups all around to use NetworkManager.h and new
19384 src/NetworkManagerMain.h, remove redundant bits that got
19385 moved into NetworkManager.h
19387 * src/NetworkManagerDevice.[ch]
19388 src/NetworkManagerUtils.[ch]
19389 src/NetworkManagerPolicy.c
19390 src/NetworkManagerDbus.c
19391 - Whitelist wireless drivers, and blacklist some wired
19392 drivers. Also blacklist cipsec and ethernet-over-usb
19393 devices at this time (RH #135722, RH #135648)
19394 - Don't leak unsupported devices out over dbus, or allow
19395 them to be set as the active device. Skip over them
19396 during automatic device picking
19398 * test/nmclienttest.c
19399 - Clean up the dbus code a lot
19401 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19403 * configure.in: post release bump.
19405 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19408 * NEWS: Released NetworkManager-0.3.1
19410 2004-10-18 Dan Williams <dcbw@redhat.com>
19412 Patches from Thom May:
19413 * test/nmtestdevices.c
19414 - Include <string.h>
19415 * src/backends/NetworkManagerDebian.c:
19416 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19417 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19418 Move to using g_strdup_printf rather than arbitrary buffers
19419 - (nm_system_device_setup_static_ip4_config) Implement function.
19420 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19422 2004-10-17 Dan Williams <dcbw@redhat.com>
19424 * info-daemon/NetworkManagerInfoDbus.c
19425 - Display name of network in the "network not found" dialog
19427 * panel-applet/NMWirelessAppletDbus.c
19428 - (nmwa_dbus_call_nm_method): new function replaces all other
19429 nmwa_dbus_get_[string|string_array|int|boolean] methods
19430 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19431 consolidated into nmwa_dbus_get_object_name()
19433 2004-10-15 Dan Williams <dcbw@redhat.com>
19435 * src/NetworkManagerDbus.c
19436 info-daemon/NetworkManagerInfoDbus.c
19437 - Display an error dialog when the user tries to use an
19438 "Other wireless network" that's not found.
19440 2004-10-15 Dan Williams <dcbw@redhat.com>
19442 * panel-applet/NMWirelessApplet.[ch]
19443 - Fix up corner cases in applet state, making it
19444 look more responsive. Change state to "connecting" when
19445 the user is forcing a device too.
19447 2004-10-15 Dan Williams <dcbw@redhat.com>
19449 * src/NetworkManagerAPList.c
19450 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19452 * src/NetworkManagerDbus.c
19453 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19455 * src/NetworkManagerDevice.c
19456 - Disown APs after the device's AP list takes ownership
19458 2004-10-15 Dan Williams <dcbw@redhat.com>
19460 * panel-applet/NMWirelessApplet.c
19461 - Update our applet state from the GUI thread
19463 * panel-applet/NMWirelessAppletDbus.c
19464 - Greatly simplify the locking to make the GUI thread
19465 smoother. Update a private copy of the device list
19466 and active device and only when done talking to
19467 NetworkManager turn it over to the GUI thread.
19469 2004-10-15 Dan Williams <dcbw@redhat.com>
19471 * src/NetworkManagerAP.[ch]
19472 - Add "artificial" get/set functions, set for APs that
19473 aren't discovered as part of a scan but instead
19474 discovered by force-setting the ESSID
19476 * src/NetworkManagerDevice.[ch]
19477 - (nm_device_wireless_network_exists): pass back whether
19478 or not the discovered AP was encrypted. Also, try
19479 falling back to encrypted mode on the card if unencrypted
19480 association doesn't work
19481 - (nm_device_find_and_use_essid): If the network requested
19482 did in fact exists, but it wasn't in our scan list, add
19483 an "artificial" entry for it. Some Cisco cards don't
19484 see non-ESSID-broadcasting APs in their scan but can still
19485 associate with them if you know the ESSID, this works around
19487 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19488 to scan if the card is currently associated with that AP
19490 2004-10-15 Dan Williams <dcbw@redhat.com>
19492 ---- We have a website ----
19493 http://people.redhat.com/dcbw/NetworkManager
19495 Patch from Robert Paskowitz:
19496 * src/NetworkManager.c
19497 - (main): Make sure we are run as root
19498 * src/NetworkManagerDevice.c
19499 - Fix type in ad-hoc setting function
19501 Patch from Thom May:
19502 * src/backends/NetworkManagerDebian.c
19503 - Make Debian backend compile again
19505 2004-10-14 Dan Williams <dcbw@redhat.com>
19507 * Tagged NetworkManager-0_3
19509 2004-10-14 Dan Williams <dcbw@redhat.com>
19511 Patch from Robert Paskowitz:
19513 src/NetworkManagerDevice.[ch]
19514 src/backends/NetworkManagerDebian.c
19515 src/backends/NetworkManagerGentoo.c
19516 src/backends/NetworkManagerRedHat.c
19517 src/backends/NetworkManagerSlackware.c
19518 - Add support for grabbing and using a broadcast address
19519 from system config files
19520 - Some Gentoo backend fixes for grabbing network config
19521 - Fix LOG_WARN->LOG_WARNING
19523 2004-10-14 Dan Williams <dcbw@redhat.com>
19525 * NEWS: a few small fixes in the credits
19527 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
19529 * NEWS: prep for release.
19531 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
19533 * panel-applet/NMWirelessAppletDbus.c
19534 (nmwa_dbus_update_device_wireless_networks): remove warnings.
19536 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
19538 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19539 applet->state == APPLET_STATE_NO_NM animation.
19541 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19542 set the text correctly.
19544 2004-10-14 Dan Williams <dcbw@redhat.com>
19546 * src/NetworkManager.c
19547 - Only accept and manager 802.3 and 802.11 devices
19549 * src/NetworkManagerDbus.[ch]
19550 - (nm_dbus_nm_set_active_device): move most of the actual activation
19551 logic into NetworkManagerDevice.c
19552 - (nm_dbus_network_status_from_data): new function
19553 - (nm_dbus_signal_network_status_change): new function, unused for now
19554 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19556 * src/NetworkManagerDevice.[ch]
19557 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
19560 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19562 * info-daemon/NetworkManagerInfo.c
19563 - (main): Added session management
19565 2004-10-14 Dan Williams <dcbw@redhat.com>
19567 * panel-applet/NMWirelessAppletDbus.[ch]
19568 - Expose network_device_[un]ref()
19569 - Expose wireless_network_[un]ref()
19570 - (wireless_network_new_with_essid): new function, create and return
19571 a wireless network with a particular essid
19573 * panel-applet/NMWirelessApplet.c
19574 - Hook up the "other network" dialog to do something
19576 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
19578 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
19579 doesn't work yet, but it looks okay.
19581 * panel-applet/icons/*png: Resize to 22x22 and install in the
19584 2004-10-13 Dan Williams <dcbw@redhat.com>
19586 * panel-applet/NMWirelessApplet.c
19587 - Add function to print out applet_state in a readable
19590 * src/NetworkManager.c
19591 - (main): Don't segfault when nm_dbus_init() fails, we had
19592 a left-over call to hal_shutdown() into which we passed NULL
19594 * src/NetworkManagerAP.c
19595 - (nm_ap_set_essid): Allow NULL essids
19597 * src/NetworkManagerAPList.[ch]
19598 - More use of nm_ap_list_[un]lock ()
19599 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19600 network/essid, just return nothing. Also skip over NULL
19601 essid access points in the list when searching
19602 - (nm_ap_list_get_ap_by_address): new function
19603 - (nm_ap_list_update_network): set the access point's key source to
19604 NULL when the key returned from NetworkManagerInfo is NULL or
19606 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19607 copy timestamp over too
19608 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19609 find the correct ESSID for a blank-essid access point by searching
19610 through another list and matching access point MAC addresses
19611 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19613 * src/NetworkManagerDbus.c
19614 - (nm_dbus_nm_set_active_device): deal with random networks the user
19615 may specify. This is mainly for access points that don't
19616 broadcast their essid. So if the user tells us to associate with
19617 some random ESSID that's not in our access point list, we find
19618 out if the access point does in fact exist (by attempting association
19619 and then matching that access point's MAC address with the essid the
19620 user gave us) and then we switch to it.
19621 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19622 to the returned list of networks for the "getNetworks" method
19624 * src/NetworkManagerDevice.[ch]
19625 - Extra debugging info for link detection
19626 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19627 based on MAC address
19628 - (nm_device_get_path_for_ap): ignore blank-essid access points
19629 - (nm_device_wireless_network_exists): new function, find out whether
19630 a random ESSID exists by attempting to associate with it
19631 - (nm_device_do_normal_scan): allow blank-essid access points in our
19632 device list as long as they have an AP MAC address we can use.
19633 Also send WirelessNetwork[Dis]Appeared signals for non-active
19634 devices too. Lets the applet update more frequently.
19636 * src/backends/NetworkManagerGentoo.c
19637 - Patch from: Robert Paskowitz
19638 - Update backend code for Gentoo
19639 - Implement nm_system_device_update_config_info ()
19641 * test/nmclienttest.c
19642 - (set_network_device): new function, takes a command-line argument
19643 and tells NetworkManager to use that wireless network
19645 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19647 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19648 if the notification icon crashes 5 times within 5 seconds of each respawn
19650 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
19652 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19655 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
19657 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19659 * panel-applet/NMWirelessApplet.c: (animation_timeout),
19660 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19661 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19662 Change the name of the icons.
19664 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19665 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19666 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19667 (nm_menu_wireless_expose_event): Really bad hack to get the style
19668 to draw in the right color.
19670 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19672 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
19673 Notification if it crashes
19675 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
19677 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
19678 (nmwa_dbus_get_string): remove unused functions
19680 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19681 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19682 remove unused functions
19684 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19686 2004-10-12 Dan Williams <dcbw@redhat.com>
19688 * panel-applet/NMWirelessAppletDbus.c
19690 wireless_network_new
19691 wireless_network_copy
19693 network_device_copy
19695 * src/NetworkManagerDevice.[ch]
19697 nm_device_set_mode_managed
19698 nm_device_set_mode_adhoc
19699 - Use these functions where appropriate
19700 - When creating a new wireless device, force the card
19701 to managed/Infrastructure mode as soon as possible
19703 2004-10-12 Dan Williams <dcbw@redhat.com>
19705 * src/NetworkManagerDevice.c
19706 - Force wireless cards into Infrastructure mode before we use them
19708 2004-10-12 Dan Williams <dcbw@redhat.com>
19711 - Remove bit about static IP address support
19713 * src/NetworkManagerUtils.c
19714 - (nm_spawn_process): Add some error reporting
19716 * src/NetworkManagerDevice.c
19717 - (nm_device_activation_configure_ip): hook up to the static config
19718 routines in the backends
19720 * src/backends/NetworkManagerRedHat.c
19721 - (nm_system_device_update_config_info): use shvar.c routines to
19722 parse the config file iformation, not our own
19723 - (nm_system_device_setup_static_ip4_config): new function, based
19724 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
19725 with a static IP address and gateway
19727 * src/backends/shvar.[ch]
19728 - Parser (filched from initscripts package) for ifcfg-* files
19730 * src/backends/NetworkManagerSystem.h
19731 src/backends/NetworkManagerGentoo.c
19732 src/backends/NetworkManagerDebian.c
19733 src/backends/NetworkManagerSlackware.c
19734 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19736 2004-10-11 Dan Williams <dcbw@redhat.com>
19739 - Remove bit about more robust AP diffing since I just implemented it
19741 2004-10-11 Dan Williams <dcbw@redhat.com>
19743 * src/NetworkManagerAP.c
19744 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19745 enough RAM to allocate new AP structures, but return NULL instead
19747 * src/NetworkManagerAPList.[ch]
19748 - (nm_ap_list_is_empty): new function
19749 - (nm_ap_list_combine): new function, combine two access point lists
19750 - (nm_ap_list_copy_keys): new function, copy keys from one list
19753 * src/NetworkManagerDevice.[ch]
19754 - Rename some functions to be clearer:
19755 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19756 nm_device_just_activated -> nm_device_is_just_activated
19757 nm_device_activating -> nm_device_is_activating
19758 nm_device_now_scanning -> nm_device_is_scanning
19759 - Cache the last 4 scans so that the access point list is more stable.
19760 We combine the lastest two scans and use that as the AP list,
19761 and diff that combined list against the combination of the earliest
19762 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19764 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19766 * info-daemon/NWManagerInfo.h
19767 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19769 * info-daemon/NWManagerInfoDbus.c
19770 - (shutdown_callback): new function
19771 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19772 if NetworkManager goes away. Kill the timeout
19773 if NetworkManager restarts before the 30 seconds
19775 - (nmi_dbus_service_init):
19776 - call gtk_main_quit if NetworkManager is not running
19777 - add filters to monitor dbus service creations and
19780 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19782 * panel-applet/NMWirelessApplet.c
19783 - (nmwa_update_state): Hide notification icon if we are only
19784 showing one wired card and no wireless interfaces
19785 (Red Hat Bug #134895)
19787 * panel-applet/NMWirelessAppletDbus.c
19788 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19790 * info-daemon/NWManagerInfo.c
19791 - (main): Terminated the notification_icon_cmd array with a NULL
19793 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
19795 * configure.in (ALL_LINGUAS): Added de (German).
19797 2004-10-08 Dan Williams <dcbw@redaht.com>
19799 * src/NetworkManagerDevice.c
19800 - Be a bit more robust about link checking, ie make sure that
19801 the WEP key we were given actually has some data in it
19803 2004-10-08 Dan Williams <dcbw@redhat.com>
19805 * info-daemon/NetworkManagerInfo.c (main):
19806 - Initialize GError object to NULL
19808 2004-10-08 Dan Williams <dcbw@redhat.com>
19810 * panel-applet/NMWirelessAppletDbus.c
19811 - Die if NetworkManagerInfo dies, since it manages our lifetime
19813 2004-10-08 Dan Williams <dcbw@redhat.com>
19815 * info-daemon/NetworkManagerInfo.[ch]
19816 info-dameon/NetworkManagerInfoDbus.[ch]
19817 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19818 - Preserve original label text in the passphrase dialog so that
19819 it actually gets updated with the new network name the next
19820 time around. Previously, we were overwriting it so you'd get
19821 the wrong network name to enter a key for
19822 - Add a "Key Type" combo to the passphrase dialog, user selects
19823 encryption key type now, type is stored in GConf too
19824 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19826 * src/NetworkManagerAP.[ch]
19827 - Remove all the encyption method magic. It's now set by the user
19828 and NetworkManager retrieves the type of encryption key from
19831 * src/NetworkManagerAPList.[ch]
19832 src/NetworkManagerDbus.[ch]
19833 - Adjust to new way of setting encryption key and method
19834 - Pull encryption method down from NMI along with key
19836 * src/NetworkManagerDevice.[ch]
19837 - Removed encryption method fallback magic as the method is now
19838 determined by the user. This greatly simplifies the connection
19840 - More robust connection/link logic. Besides removing the encryption
19841 method fallback magic, check whether or not the card is receiving
19842 invalidly encrypted packets, which usually indicates that we have
19844 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19846 * test/nminfotest.c
19847 - Test out new "Key Type" stuff in the NMI passphrase dialog
19849 2004-10-07 Dan Williams <dcbw@redhat.com>
19851 * info-daemon/NetworkManagerInfo.conf
19852 - Allow root user to run NMI too
19854 2004-10-06 Dan Williams <dcbw@redhat.com>
19856 * src/NetworkManagerDevice.[ch]
19857 src/NetworkManagerDbus.c
19858 doc/NetworkManager DBUS API.txt
19859 - Add a new status tag "scanning", which is set when there
19860 is no active network connection, but NetworkManager is
19861 looking for an access point to associate with
19863 * panel-applet/main.c
19864 - Cast the applet appropriately for gtk_widget_show_all ()
19866 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
19868 * panel-applet/eggtrayicon.[ch]:
19869 * panel-applet/main.c: Add missing file
19871 2004-10-04 Dan Williams <dcbw@redhat.com>
19873 * src/NetworkManagerDevice.[ch]
19874 - Add a slightly more robust method of determining if the WEP key
19875 is correct or not, by checking the WEP-discarded packet count
19878 * info-daemon/NetworkManagerInfo.c
19879 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19880 un-escape values we pull out rather than escaping them
19882 2004-10-03 Marcel Telka <marcel@telka.sk>
19884 * configure.in (ALL_LINGUAS): Added sk.
19886 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
19888 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19889 and feel. We should be back to working, and have a good, clean
19892 2004-09-30 Dan Williams <dcbw@redhat.com>
19894 * info-daemon/NetworkManagerInfo.c
19895 info-daemon/NetworkManagerInfoDbus.c
19897 - Escape ESSIDs in gconf
19899 * src/NetworkManagerDevice.c
19900 - Fix pseudo-scanning to use netowrk list from info daemon
19902 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
19904 * configure.in: Add a temporary --enable-notification-icon. This
19905 will prolly go away.
19907 * info-daemon/Makefile.am:
19908 * info-daemon/NetworkManagerInfo.c:
19909 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19911 * panel-applet/Makefile.am:
19912 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19913 * panel-applet/NMWirelessApplet.h:
19915 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
19917 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
19918 before 'select custom ESSID'.
19920 * panel-applet/menu-info.c: Start rewrite for better headers. Not
19921 fully complete, but syncing in prep for merge.
19923 * panel-applet/icons/*png: New images
19925 2004-09-28 Dan Williams <dcbw@redhat.com>
19927 * src/NetworkManager.c
19928 src/NetworkManagerDevice.c
19929 src/NetworkManagerPolicy.c
19930 - Don't blow away an active wired connection on startup
19932 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
19936 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19938 * info-daemon/NetworkManagerInfoDbus.c: added service name to
19941 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
19943 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19944 have a wireless card.
19946 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
19948 * panel-applet/NMWirelessApplet.c: move the custom essid item.
19949 Also, get the right device strings.
19951 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
19953 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19954 the logic to make this right.
19956 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19957 devices so that wired networks are always first.
19959 2004-09-22 <clarkbw@cvs.gnome.org>
19961 * initscript/Debian/.cvsignore:
19962 * initscript/Slackware/.cvsignore:
19963 Added new cvsignores for Makefile, Makefile.in
19966 Added nmtestdevices
19968 * src/NetworkManagerDevice.c:
19969 * src/NetworkManager.c:
19970 Updated the wireless/wired HAL device strings from net.ethernet to
19971 net.80203 or net.80211 depending on wired or wireless respectively
19973 * examples/python/NetworkManager.py:
19974 s/Quality/Strength/
19976 * examples/python/systray/network_tray.py:
19977 Lots of little changes and fixes. been rotting for a while so I
19978 figured I'd finally sync them all with CVS
19980 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
19982 * configure.in: Add graphics
19984 * panel-applet/Makefile.am: Add graphics
19986 * panel-applet/icons/*: Add graphics
19988 * panel-applet/NMWirelessApplet.c: Use new menu times to display
19989 the icons fully lined up.
19991 * panel-applet/menu-info.c:
19992 * panel-applet/menu-info.h: Add another menu type.
19994 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
19996 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19998 * panel-applet/menu-item.[ch]: Wireless menu item.
20000 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
20002 * info-daemon/NetworkManagerInfo.conf
20003 - Created a more robust security policy for the DBus service
20004 - everything is denied by default
20005 - root can own and send to the service
20006 - users logged in at the console can send to the service
20008 2004-09-13 Dan Williams <dcbw@redhat.com>
20010 * src/NetworkManagerDevice.c
20011 - (nm_device_get_essid): use iw_get_basic_config() rather than
20012 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20015 2004-09-13 Dan Williams <dcbw@redhat.com>
20019 * docs/NetworkManager DBUS API.txt
20020 - Update for new signal strength changes
20022 * panel-applet/NMWirelessApplet.c
20023 - Make panel icon show strength of the current connection
20024 - Cleanups and memleak fixes
20026 * panel-applet/NMWirelessApplet.h
20027 - Add data members for signal strength on devices and networks
20029 * panel-applet/NMWirelessAppletDbus.c
20030 - Free more DBusErrors
20031 - Update for new signal strength changes
20032 - Make devices and networks more like real objects, use ref/unref methods
20033 - Actually unlock the mutex when updating the active device
20035 * src/NetworkManagerAP.c
20036 - Change AP functions and data members from "quality"->"strength"
20038 * src/NetworkManagerDbus.c
20039 - Kill "getMaxQuality" and "getQuality" methods
20040 - Add "getStrength" methods for Networks and Devices
20042 * src/NetworkManagerDevice.[ch]
20043 - Add accessors for device strength
20044 - Add functions to update strength for a device. Note that not all drivers
20045 actually support signal strength for scanned access points (Atmel drivers
20047 - Calculate signal strength for each AP during scan
20049 * src/NetworkManagerWireless.[ch]
20050 - Add function to return signal strength % from a device and a raw quality struct
20052 * test/nmclienttest.c
20053 - Update for new signal strength changes
20055 2004-09-11 Dan Williams <dcbw@redhat.com>
20057 * src/NetworkManager.c
20058 - Fix race condition between initscripts and NM on card insertion
20059 which could cause a card to keep an IP address and routes around
20060 even when it was not the active device
20062 * src/NetworkManagerDbus.c
20063 - Fix compile errors, free more DBusErrors
20065 2004-09-11 Dan Williams <dcbw@redhat.com>
20067 * docs/NetworkManager DBUS API.txt
20068 - Add an explanation of NM's API
20070 * src/NetworkManagerDbus.c
20071 - Free some more DBusErrors if needed
20073 2004-09-11 Dan Williams <dcbw@redhat.com>
20075 * panel-applet/NMWirelessApplet.c
20076 panel-applet/NMWirelessAppletDbus.c
20077 - Start using NetworkDevice/WirelessNetwork structures in more places
20078 - Update for unified device/network forcing in NetworkManager
20080 * src/NetworkManager.c
20081 - some code consolidation
20083 * src/NetworkManagerDbus.c
20084 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20085 or two arguments: the first is the NM ID of the device to switch to,
20086 and the second (optional) argument is the ESSID of a wireless network
20088 - Get rid of "setNetwork" method due to above change
20090 * src/NetworkManagerDevice.c
20091 - (nm_device_new): perform scan and update best AP on device creation
20092 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20093 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20094 spin waiting for cancellation to finish before returning
20096 * src/NetworkManagerPolicy.c
20097 - Changes here clarify the situations in which a device switch occurs, and
20098 make sure to keep using a forced device and network if the user gives
20100 - Remove old unused code
20102 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
20104 * configure.in: Added Danish (da) to ALL_LINGUAS.
20106 2004-09-09 Dan Williams <dcbw@redhat.com>
20108 * panel-applet/NMWirelessAppletDbus.c
20109 - Pull fresh devices and networks from NM when wireless networks
20110 change. Provides faster feedback of a forced wireless network
20112 * src/NetworkManagerDbus.c
20113 - Return error when "getMaxQuality" is called on a wired device
20114 - Make best_ap freezing actually work again, and signal cancellation
20115 of activation if there's already a device activation when the user
20116 freezes the best_ap
20118 * src/NetworkManagerDevice.c
20119 - Don't clear out the best_ap for wireless devices when the link goes
20120 down, that's done elsewhere
20121 - Kill any dhcp daemons when cancelling device activation since they
20122 may be stuck waiting for a DHCP address, and since we're cancelling
20123 activation we don't care about that anymore
20125 * src/NetworkManagerPolicy.c
20126 - Make sure to unref the device we ref earlier (we refed it to make sure
20127 it stuck around during device activation and such)
20128 - If we were going to change the best device, but its activating currently
20129 (and therefore the change didn't occur due to the check earlier)
20130 we mark the state changed to we come back to it later when device
20131 activation has canceled and its no longer activating
20133 * src/backends/NetworkManagerRedHat.c
20134 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20136 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
20138 * info-daemon/passphrase.glade:
20139 set passphrase input to activates_default : True
20141 * examples/python/systray/network_tray.py
20142 (network_tray.sort_networks):
20144 Added support for having wireless always scanning
20146 2004-09-09 Dan Williams <dcbw@redhat.com>
20148 NOTE: this commit changes the behavior of wireless devices in
20149 NetworkManager. They are now up all the time, scanning all
20150 the time. Only the active device has an IP address and routing
20151 information set up however. Also, NetworkManager will no longer
20152 opportunistically switch wireless networks when a better one
20153 comes in range, it will remain associated with one wireless network
20154 until that one drops out.
20156 * panel-applet/NMWirelessApplet.c
20157 panel-applet/NMWirelessAppletDbus.c
20158 - List all wireless cards and their respective networks
20160 * src/NMLoadModules
20161 - Use full path to /sbin/ip
20163 * src/NetworkManager.c
20164 - Keep wireless devices up all the time so they can scan
20166 * src/NetworkManagerDbus.c
20167 - On a WirelessNetworkUpdate signal from NMI, don't update
20170 * src/NetworkManagerDevice.c
20171 - (nm_device_set_link_active): clear out the best ap for
20172 wireless devices when the link is set to FALSE
20173 - Scan on all wireless cards, all the time
20174 - (nm_device_activation_worker): split out the wireless card
20175 link-waiting code to a separate function
20176 - Keep wireless cards up even if device activation fails
20177 - Don't update the "best" ap as much
20179 * src/NetworkManagerPolicy.c
20180 - Don't update the best ap when checking if its frozen,
20181 let link checking clear out a frozen best ap for us
20183 * src/NetworkManagerWireless.c
20184 - Scan on all wireless cards, all the time
20186 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
20188 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20190 2004-09-09 Ankit Patel <ankit@redhat.com>
20192 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20194 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
20196 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20198 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
20200 * examples/python/NetworkManager.py:
20201 added CONNECTED, CONNECTING, and DISCONNECTED states
20202 added methods to return number of devices of a single type
20204 * examples/python/systray/network_tray.py:
20205 did some tweaks to get the menu looking near what it is supposed
20206 to look like. Also did a Airo card hack to make it show the
20209 2004-09-08 Dan Williams <dcbw@redhat.com>
20211 * panel-applet/no-networkmanager.png
20212 panel-applet/Makefile.am
20213 panel-applet/NMWirelessApplet.c
20214 - Add a "NetworkManager not running" icon and use it
20215 - Use new consolidated GConf keys rather than Preferred/Trusted
20219 * info-daemon/NetworkManagerInfo.c
20220 info-daemon/NetworkManagerInfoDbus.[ch]
20221 info-daemon/NetworkManagerInfoPassphraseDialog.c
20222 - There are now no longer two separate lists of wireless networks,
20223 but one list where each network is "trusted" or not trusted
20224 - Add a "getNetworkTrusted" dbus method
20225 - "WirelessNetworkUpdate" signal now sent rather than
20226 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20227 - Start freeing some dbus errors (not completed yet)
20229 * info-daemon/passphrase.glade
20230 - Remove the "don't show" hints for pager and taskbar
20231 - Add a title since its going to be in the taskbar
20233 * src/NetworkManager.[ch]
20234 src/NetworkManagerAPList.[ch]
20235 - There are now no longer two separate lists of wireless networks,
20236 but one list where each network is "trusted" or not trusted
20238 * src/NetworkManagerAP.[ch]
20239 - Add get/set "trusted" accessors and data bit
20241 * src/NetworkManagerDbus.[ch]
20242 - Add function to get "trusted" status of a network from NetworkManagerInfo
20243 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20245 * src/NetworkManagerDevice.[ch]
20246 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20247 - (nm_device_new): Get device config from backend when initializing devices
20248 - (nm_device_activation_worker): Split out device configuration on
20249 activation to deal with static/dynamic IP differences, and try encryption
20250 fallbacks on a device if the encryption method for the best AP is not good
20251 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20252 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20254 * src/NetworkManagerWireless.c
20255 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20257 * src/backends/NetworkManagerRedHat.c
20258 src/backends/NetworkManagerSystem.h
20259 - (nm_system_device_update_config_info): Add function to get device configuration
20260 from system data in ifcfg-* files
20262 * src/backends/NetworkManagerDebian.c
20263 src/backends/NetworkManagerGentoo.c
20264 src/backends/NetworkManagerSlackware.c
20265 - Add stub functions for getting device configuration
20267 2004-09-07 Dan Williams <dcbw@redhat.com>
20269 * src/backends/NetworkManagerRedhat.c
20270 src/backends/NetworkManagerSlackware.c
20271 - Use full path to /sbin/ip everywhere
20273 2004-09-07 Dan Williams <dcbw@redhat.com>
20275 Patch from: Narayan Newton <narayan_newton@yahoo.com>
20278 initscript/Makefile.am
20279 initscript/Slackware/Makfile.am
20280 initscript/Slackware/rc.networkmanager
20282 src/backends/NetworkManagerSlackware.c
20283 - Add Slackware support
20285 2004-09-07 Dan Williams <dcbw@redhat.com>
20287 Patches below from:
20289 Mark Roach <mrroach@okmaybe.com>
20290 Thom May <thom@debian.org>
20293 initscript/Debian/NetworkManager
20294 initscript/Debian/Makefile.am
20295 - Initscript for Debian
20297 * src/backends/NetworkManagerDebian.c
20298 - Add missing system init function to allow compilation
20301 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
20303 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20305 2004-09-03 Akagic Amila <bono@linux.org.ba>
20307 * configure.in: Added 'bs' to ALL_LINGUAS.
20309 2004-09-02 Colin Walters <walters@verbum.org>
20311 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20312 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20313 g_strdup_printf instead of arbitrarily sized buffers.
20315 2004-09-01 Colin Walters <walters@verbum.org>
20317 * NetworkManager.pc.in: New file.
20319 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20321 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
20323 * configure.in: Punjabi(pa) is added to po/.
20325 2004-08-31 Dan Williams <dcbw@redhat.com>
20327 * Remove 'debug' extern global from all files since we now
20330 * src/NetworkManager.[ch]
20331 - Break out routine that get the net.interface property from HAL,
20332 removing that logic from nm_create_device_and_add_to_list()
20333 - (nm_create_device_and_add_to_list): make this a bit more general so
20334 it doesn't do the talking to HAL. Also add arguments to facilitate
20335 the create of test devices.
20336 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20337 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20338 which makes NetworkManager listen for dbus commands to create test
20339 devices, which have no backing hardware. Use when you're on a plane
20340 for example, and/or forgot your wireless card at home. Test devices
20341 _cannot_ be created unless NM is started with --enable-test-devices.
20343 * src/NetworkManagerDbus.[ch]
20344 - New "getLinkActive" method for devices
20345 - New "setLinkActive" method for devices (only works on test devices)
20346 - New "createTestDevice" method on NetworkManager object to create a test
20347 device of a specified type (ie wired, wireless). UDI is created from
20348 scratch, as is the interface name. Only works when NM is started with
20349 --enable-test-devices switch.
20350 - New "removeTestDevice" method on NetworkManager object which removes a
20351 test device. Only works when NM is started with --enable-test-devices
20353 * src/NetworkManagerDevice.[ch]
20354 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
20355 whether a device is a test device or not, and what its link status is.
20356 - Deal with test devices in most functions. For those that work directly on hardware
20357 special-case test devices.
20358 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20360 - (nm_device_update_link_active): split out logic for wired and wireless device link
20361 checking to separate functions to facilitate test device link checking.
20362 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20363 don't make a distinction between System Authentication and Encryption
20364 (namely Cisco aironet), we use Open System auth when setting a WEP key
20365 on the card. We don't deal with Shared Key auth yet.
20366 - (nm_device_activation_worker): split the activation cancel check logic out into
20367 a separate routine nm_device_activation_cancel_if_needed()
20368 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20369 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20370 a list of fake access points that they can "see"
20371 - (nm_device_is_test_device): return whether or not a device is a test device
20373 * src/NetworkManagerPolicy.c
20374 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20375 previously if you "locked"/forced NM to use a wireless device but then
20376 selected a wireless network for NM to use, it would switch to a wired device.
20377 So, if the active device is wireless and it has a "forced" best AP, use it
20378 if the "forced" best AP is still valid
20379 - (nm_state_modification_monitor): deal with NULL best devices, for example
20380 there were no usable network devices, or the last one was removed
20382 * src/backends/NetworkManager*.c
20383 - Deal with test devices, mostly just return success for operations like getting
20386 * test/nmtestdevices.c
20387 - Test tool to create/remove/link-switch test devices
20389 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20391 * examples/python/NetworkManager.py:
20392 added convience functions has_wired_device and has_wireless_device
20394 * examples/python/systray/network_tray.py:
20395 cleaned up a bunch of cruft, added support for listing wireless
20396 networks just like the real applet. This is probably all I'm
20397 going to work on this applet from now on.
20398 TODO: add support for actually changing networks and devices
20400 * examples/python/NetworkManager.py (NetworkManager.get_device):
20401 changed "nm.networks" into a dict from a list so I can store all
20402 the cool information about networks in there
20404 * examples/python/systray/network_tray.py:
20405 Added nice message when you try to run without running make first
20407 * examples/python/NetworkManager.py:
20408 Bug fixes to the code so we get all the device information
20409 that we need in get_device()
20411 * examples/python/NMTester.py:
20412 Fixed _print_device_list to print_device_list
20414 2004-08-29 Seth Nickell <seth@gnome.org>
20418 Actually properly setup the Debian backend in configure.
20420 2004-08-29 Colin Walters <walters@verbum.org>
20422 * test/nminfotest.c: Include string.h and stdlib.h.
20423 (get_network_string_property, get_networks_of_type): Return NULL.
20425 * test/nmclienttest.c (get_device_name, get_active_device): Return
20428 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20429 use strlen, fgets always NULL-terminates the string.
20431 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20432 dbus_message_get_member): Remove /* in comment.
20434 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20436 * src/NetworkManager.c (quit): Unused, delete.
20437 (nm_data_free): Cast arg to GFunc.
20439 * panel-applet/NMWirelessAppletDbus.c: Need to include
20440 string.h, and dbus-glib-lowlevel.h (the latter is needed
20441 for dbus_connection_setup_with_g_main at present).
20442 (nmwa_dbus_update_wireless_network_list): Parenthesize
20443 assignment in conditional.
20444 (nmwa_dbus_worker): Return NULL.
20446 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20447 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20448 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20449 (nmwa_populate_menu): Return NULL on failure, instead of just
20452 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20454 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20457 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20460 2004-08-29 Colin Walters <walters@verbum.org>
20462 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20463 a GTimeVal instead of time_t. This is easier to work with,
20464 since time_t may be a long or double, we don't know.
20466 * src/NetworkManagerDbus.h: Update prototype.
20468 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20470 (nm_ap_get_timestamp): Update to return GTimeVal.
20471 (nm_ap_set_timestamp): Update to take GTimeVal.
20473 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20474 to handle GTimeVal.
20476 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20478 (nm_ap_list_print_members): Fix warnings in printf format.
20480 2004-08-29 Colin Walters <walters@verbum.org>
20482 * panel-applet/NMWirelessApplet.c: Include config.h.
20484 2004-08-29 Colin Walters <walters@verbum.org>
20486 * configure.in: Generate config.h.
20488 * configure.in: Dump dependency on OpenSSL; we can't
20489 use it since this package is GPL:
20490 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20491 Instead, check for libgcrypt, use it if available,
20492 otherwise use included MD5 code.
20494 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20495 Suck in from gnome-keyring, munge a bit.
20497 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20498 gnome-keyring-md5.h gnome-keyring-md5.c.
20499 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20501 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20502 libgcrypt or included gnome-keyring md5 bits.
20503 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20505 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20507 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20509 2004-08-27 Bryan Clark <bclark@redhat.com>
20511 * examples/python/systray/Makefile:
20513 Updated the clean section
20515 * examples/python/systray/trayiconmodule.c:
20516 * examples/python/systray/trayicon.override:
20517 * examples/python/systray/network_tray.py:
20518 * examples/python/systray/eggtrayicon.h:
20519 * examples/python/systray/eggtrayicon.c:
20520 * examples/python/systray/Makefile:
20521 * examples/python/README:
20522 * examples/python/NetworkManager.py:
20523 * examples/python/NMTester.py:
20525 Initial commit of these python example files
20527 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20529 * panel-applet/NMWirelessApplet.c
20530 - Make current device bold
20531 - Show more user-friendly device name if we got one from hal
20533 * panel-applet/NMWirelessAppletDbus.c
20534 - Grab "info.product" key from hal for network devices
20535 - Cache the current active device
20537 2004-08-27 Adam Weinberger <adamw@gnome.org>
20539 * configure.in: Added en_CA to ALL_LINGUAS.
20541 2004-08-27 Christian Rose <menthos@menthos.com>
20543 * configure.in: Added "sv" to ALL_LINGUAS.
20545 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20547 * Tag NetworkManager-0.2
20549 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
20551 * initscripts/Makefile.am
20552 * configure.in: Make pass distcheck
20554 * po/ChangeLog: added
20556 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20558 * panel-applet/NMWirelessApplet.c
20559 - Remove debugging code
20560 - Enable device switching from menus
20562 * panel-applet/NMWirelessAppletDbus.[ch]
20563 - Method for asking NM to switch devices
20565 * src/NetworkManagerDevice.c
20566 - Set dev->activating earlier, avoids race between
20567 the dbus signal of "DeviceActivating" and setting
20568 dev->activating (which is what NM's "status" method call
20571 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20573 * panel-applet/NMWirelessApplet.[ch]
20574 - Rework menu code to add devices to menu, and to show
20575 signal strength for each access point. Code cleanups
20578 * panel-applet/NMWirelessAppletDbus.c
20579 - Grab network devices from NetworkManager too
20580 - Grab quality information from NM for wireless networks
20582 * src/NetworkManagerDbus.[ch]
20583 - Add dbus methods for getting the HAL UDI from a device and
20584 for getting its base quality, if its wireless
20585 - Consolidate some functions (wireless network notifications,
20586 device notifications)
20587 - Add method for requesting NM to use a particular device
20589 * src/NetworkManager.c
20590 - Change for function consolidations from NetworkManagerDbus.c
20591 - Implement active device locking and user-requested devices
20592 (ie, tell NM to use a particular device instead of the one
20595 * src/NetworkManagerDevice.c
20596 - Add method for getting the base quality of a device, if its
20598 - Grab device base quailty info from iwlib during scans
20600 * src/NetworkManagerPolicy.c
20601 - Use a user-requested device rather than the auto-chosen device
20604 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
20606 * Makefile.am: add po as a supdir
20608 * autogen.sh: use gnome-autogen.sh
20610 * initscript/Gentoo/.cvsignore:
20611 * initscript/RedHat/.cvsignore: Shut up cvs
20613 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20615 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20616 (nmwa_fill): Use gettext.
20618 * configure.in: add gettext support
20620 * po/NetworkManager.pot:
20623 2004-08-26 Seth Nickell <seth@gnome.org>
20625 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20626 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20627 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20628 (nmwa_dispose_menu_items), (nmwa_populate_menu),
20629 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20630 * panel-applet/NMWirelessApplet.h:
20632 Use a menu bar instead of a button for the main clickable
20635 2004-08-25 Dan Williams <dcbw@redhat.com>
20637 * src/NetworkManagerDevice.c
20638 - (nm_device_set_enc_key): always set device to "open" mode instead of
20639 turning encryption off, because the Cisco driver doesn't associate
20640 with WEP-enabled access points unless we are in "open"
20642 2004-08-25 Dan Williams <dcbw@redhat.com>
20644 * src/NetworkManagerWireless.c
20645 - Don't try to defererence blank passphrases
20647 2004-08-25 Dan Williams <dcbw@redhat.com>
20649 * panel-applet/NMWirelessApplet.c
20650 - Rebuild the menu whenever a user clicks
20652 2004-08-25 Dan Williams <dcbw@redhat.com>
20654 * panel-applet/NMWirelessApplet.c
20655 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20656 when NM isn't around or when its not connected
20658 * src/NetworkManagerDevice.c
20659 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20662 2004-08-25 Dan Williams <dcbw@redhat.com>
20664 * panel-applet/NMWirelessAppletDbus.c
20665 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20666 for getting encryption, and don't stop on "val" once we've gotten it
20667 from NetworkManager. Short form: encryption should now show up.
20669 2004-08-25 Dan Williams <dcbw@redhat.com>
20671 * panel-applet/NMWirelessApplet.c
20672 - Set ESSID on a gconf trusted network too when force-setting the wireless
20673 network to associate with
20675 2004-08-25 Dan Williams <dcbw@redhat.com>
20678 - Rework the panel applet to do all DBUS communication in a separate
20681 2004-08-25 Dan Williams <dcbw@redhat.com>
20683 * info-daemon/NetworkManagerInfo.[ch]
20684 - Remove "get_next_priority" function
20686 * info-daemon/NetworkManagerInfoDbus.[ch]
20687 - Convert "priority" functions to "timestamp"
20689 2004-08-25 Dan Williams <dcbw@redhat.com>
20691 * src/NetworkManagerAP.[ch]
20692 - Add a "enc_method_good" member and accessors to an Access Point
20693 to signal when we've found the correct encryption method
20694 for an access point
20695 - Add a "timestamp" member and accessors, remove "priority" member
20696 and accessors (use timestamps instead)
20697 - Rename "wep_key"->"enc_key"
20698 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20699 for a specified encryption method using the access points
20700 source encryption key/passphrase
20702 * src/NetworkManagerAPList.c
20703 - When updating a network with dbus, grab timestamp now instead of
20706 * src/NetworkManagerDBus.[ch]
20707 - Add signal for "DeviceActivating"
20708 - Switch priority->timestamp
20710 * src/NetworkManagerDevice.c
20711 - Change references of "wep_key" -> "enc_key" or "key"
20712 - Signal DeviceActivating when starting activation
20713 - When activating a wireless device, if the access point we are connecting
20714 to is encrypted, and we have a source key, try to generate a mangled
20715 key and use that (ie, generate real WEP key from a passphrase)
20716 - Rework device activation to fallback to other encryption methods if
20717 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20718 first, then if that doesn't work fall back to direct hex key).
20719 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20720 priority. We now prefer the latest access point used, rather than using
20722 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20723 points we've just discovered, and merge in correct info from the global
20726 2004-08-25 Seth Nickell <seth@gnome.org>
20728 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20732 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20733 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20734 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20735 (nm_system_delete_default_route),
20736 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20737 (nm_system_load_device_modules):
20739 2004-08-24 Dan Willemsen <dan@willemsen.us>
20741 * src/NetworkManager.c
20742 src/backends/NetworkManagerGentoo.c
20743 src/backends/NetworkManagerRedHat.c
20744 src/backends/NetworkManagerSystem.h
20745 - Implement preliminary Gentoo support, adding a
20746 nm_system_init function to the backend specification
20749 - Distribution auto-detection, lowercase any user-fed
20752 * initscript/.cvsignore
20753 initscript/Makefile.am
20754 initscript/RedHat/Makefile.am
20755 initscript/RedHat/NetworkManager
20756 initscript/Gentoo/Makefile.am
20757 initscript/Gentoo/NetworkManager
20758 - Refactored initscript code separately for each
20761 2004-08-23 Dan Williams <dcbw@redhat.com>
20765 src/NetworkManagerDevice.c
20766 src/NetworkManager.c
20767 src/NetworkManagerUtils.[ch]
20768 src/backends/NetworkManagerSystem.h
20769 src/backends/NetworkManagerRedHat.c
20770 src/backends/NetworkManagerGentoo.c
20771 - Refactor system-specific code into separate backends for
20774 2004-08-23 Dan Willemsen <dan@willemsen.us>
20776 * dispatcher-daemon/NetworkManagerDispatcher.c
20777 info-daemon/NetworkManagerInfo.[ch]
20778 info-daemon/NetworkManagerInfoDbus.c
20779 info-daemon/NetworkManagerInfoPassphraseDialog.c
20780 src/NetworkManager.c
20781 src/NetworkManagerAP.c
20782 src/NetworkManagerAPList.c
20783 src/NetworkManagerDbus.c
20784 src/NetworkManagerDevice.c
20785 src/NetworkManagerPolicy.c
20786 src/NetworkManagerUtils.[ch]
20787 src/NetworkManagerWireless.c
20788 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20790 * src/NetworkManager.c
20791 - Fixed usage wording for --no-daemon
20793 2004-08-23 Dan Williams <dcbw@redhat.com>
20795 * panel-applet/NMWirelessApplet.c
20796 - Update our state every second to get more responsive panel icon
20797 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20798 was causing our marching ants status blips to never move when
20799 looking for a wireless network
20801 * src/NetworkManagerDevice.c
20802 - (nm_device_activation_begin): return if activation has already begun
20803 - (nm_device_do_normal_scan): merge WEP key and priority from the
20804 trusted/preferred network into the device's access point when the
20805 scan list is processed
20807 2004-08-23 Dan Williams <dcbw@redhat.com>
20809 * initscript/NetworkManager
20810 - Use NMLaunchHelper rather than sleeping
20812 * initscript/NMLaunchHelper.c
20814 - Add helper program that exits only when NM activates a device,
20815 or 10 seconds have passed, whichever happens first. This
20816 stops the boot processes until we have a network connection,
20817 which NM can't do because it daemonizes and brings the connection
20818 up in the background. Allows stuff like NFS to not die.
20820 2004-08-20 Dan Williams <dcbw@redhat.com>
20822 * info-daemon/NetworkManagerInfoPassphraseDialog.c
20823 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20824 for a network, set the essid as well since it may not exist yet
20825 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20826 since WEP keys/passphrases are long and prone to entry-error
20828 * panel-applet/Makefile.am
20829 panel-applet/wired.png
20830 - Add (pulled from system-config-network temporarily)
20832 * panel-applet/NMWirelessApplet.[ch]
20833 - Show wired picture when a wired connection is used
20834 - Rename wireless icon enums, adding WIRELESS
20836 * src/NetworkManagerDevice.c
20837 - (nm_device_activate_wireless): unset encryption before bringing
20838 down the card and setting the essid
20839 - (nm_device_activatin_worker): request a key from the user if the
20840 AP we are connecting to is encrypted but we don't have a key
20842 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20843 strcmp() that prevented a user-entered key from actually getting
20846 2004-08-16 Dan Williams <dcbw@redhat.com>
20848 * initscript/NetworkManager
20849 - Check for /sbin/ip
20850 - Do sysctl magic that network service does
20851 - sleep 4s after start to allow network time to come up [hack]
20855 - Load all network device kernel modules (hal doesn't know devices
20856 are ethernet until the module is loaded, and therefore we don't know)
20858 * src/NetworkManager.c
20859 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20860 network devices, and bring up the loopback device explicitly
20862 * src/NetworkManagerUtils.[ch]
20863 - (nm_enable_loopback): new function
20865 2004-08-13 Dan Williams <dcbw@redhat.com>
20868 panel-applet/Makefile.am
20869 - Fix up cleanfiles and server_DATA/server_in_files
20872 - Update with some comments on theory of operation
20878 2004-08-12 Dan Williams <dcbw@redhat.com>
20880 * info-daemon/passphrase.glade
20881 - Set window title to " "
20883 * panel-applet/Makefile.am
20884 panel-applet/keyring.png
20885 - Deliver to correct place
20887 * panel-applet/NMWirelessApplet.[ch]
20889 - Remove applet->have_active_device as its no longer used
20890 - (nmwa_load_theme): load keyring.png too
20891 - (error_dialog): remove
20892 - (show_warning_dialog): subsume functionality of error dialog too
20893 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20894 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20896 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20897 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20898 and when we get broadcasts of changed wireless access points only, not when the
20899 user clicks on the button to display the menu (too long of a wait)
20900 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20901 networks that are encrypted
20902 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20903 menu item with g_object_set_data()
20905 * panel-applet/NMWirelessAppletDbus.[ch]
20906 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20907 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20908 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20909 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20910 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20911 activation/deactivation signals and rebuild the menu when they happen
20913 * src/NetworkManager.c
20914 - (main): use new nm_spawn_process() rather than system()
20916 * src/NetworkManagerDbus.c
20917 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20918 instead. Since we can now force best_aps to stick around, the AP structure to which
20919 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20920 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
20921 to freeze the best_ap.
20923 * src/NetworkManagerDevice.[ch]
20924 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20925 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20926 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20929 * src/NetworkManagerUtils.[ch]
20930 - (nm_spawn_process): add replacement for system() usage
20932 2004-08-11 Dan Williams <dcbw@redhat.com>
20934 * panel-applet/NMWirelessApplet.[ch]
20935 - Fix up copyright and credits to include Bastien and Eskil,
20936 who created the gnome-applets wireless applet, from whose
20937 skeleton this one was created
20938 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20939 pixmap to draw is computed during nmwa_update_state()
20940 - Applet now shows itself all the time due to panel packing issues
20941 which caused the applet to previously never come back after hiding.
20942 When a wired device is the active device, the applet shows "not connected"
20944 * panel-applet/NMWirelessAppletDbus.[ch]
20945 - Clean up error messages and show what function they are from
20946 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20947 - Add new device type getters, and a status getter
20949 * src/NetworkManagerDbus.c
20950 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20951 network is actually in the device's ap list
20952 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20954 * src/NetworkManagerDevice.c
20955 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20958 * test/nmclienttest.c
20959 - Report status of NetworkManager too
20961 2004-08-11 Dan Williams <dcbw@redhat.com>
20963 * info-daemon/NetworkManagerInfo.c:
20964 - (main): clean up Seth's code style
20966 * info-daemon/NetworkManagerInfoDbus.c:
20967 - Use the more aptly-named path/service/interface constants from NetworkManager
20968 - Don't return empty strings ("") as object paths ever, instead return errors
20970 * panel-applet/NMWirelessApplet.c:
20971 - Clean up Seth's code style
20973 * src/NetworkManager.[ch]
20974 - (nm_remove_device_from_list): remove anything having to do with pending_device
20975 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20977 * src/NetworkManagerAPList.[ch]
20978 - Move Iter struct right above the iter functions to preserve opacity
20979 - (nm_ap_list_remove_ap): implement
20980 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20981 remove AP if NetworkManagerInfo doesn't know anything about it
20982 - (nm_ap_list_diff): user NMAPList iterators
20983 - (nm_ap_list_print_members): implement debugging function
20985 * src/NetworkManagerDbus.[ch]
20986 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20987 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20988 and move the actual key setting stuff into NetworkManagerDevice.c
20989 - (nm_dbus_get_network_priority): return -1 now on errors
20990 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20991 get lost, and force the active device to update its "best" ap when AP lists change
20992 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20993 method call due to pending_device member removal
20995 * src/NetworkManagerDevice.[ch]
20996 - Move NMDevice structure to the top
20997 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20998 - Remove Pending Action stuff from everywhere
20999 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21000 activation for us. This thread blocks until all conditions for activation have
21001 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21002 then setup up the interface and runs dhclient. We have to do this because there
21003 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21004 run our main loop and respond to dbus method calls or HAL device removals/inserts
21005 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21006 can tell nm_device_activation_worker() that we've got a key
21007 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21008 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21009 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21010 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21012 * src/NetworkManagerPolicy.c
21013 - Remove anything to do with pending_device
21014 - Adjust device activation to deal with activation-in-worker-thread
21016 * src/NetworkManagerUtils.c
21017 - Clean up locking debugging a bit
21019 * src/NetworkManagerWireless.[ch]
21020 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
21021 was badly named and is better as a device function
21023 * panel-applet/.cvsignore: add
21025 2004-08-09 Seth Nickell <seth@gnome.org>
21027 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21028 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21030 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21032 Don't load the menus until clicked on (also removes a call outside
21033 normal code paths at first load).
21035 Hide applet when NM is not present.
21037 Improve printf debugging stuff.
21039 2004-08-09 Dan Williams <dcbw@redhat.com>
21041 * dispatcher-daemon/NetworkManagerDispatcher.c:
21042 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21043 - Use constants for NetworkManager interface, service, and path
21045 2004-08-09 Dan Williams <dcbw@redhat.com>
21047 * src/NetworkManagerDbus.c:
21048 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21049 instead return an error message
21050 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21051 on a wired device. Also never return an empty object path, instead return an error message
21053 2004-08-06 Seth Nickell <seth@gnome.org>
21055 * panel-applet/NMWirelessApplet.c: (nmwa_new):
21057 Check the error code when getting a connection.
21059 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21061 Check if the NM service exists when initializing (rather than
21062 assuming it does not).
21064 * src/NetworkManagerDbus.c: (nm_dbus_init):
21066 Don't acquire the well-known service name until we have
21067 registered object/path handlers and can actually receive
21070 2004-08-06 Dan Williams <dcbw@redhat.com>
21075 * src/NetworkManagerPolicy.c
21076 src/NetworkManager.c
21077 - Get access point lists from NetworkManagerInfo on-demand,
21078 and look for ServiceCreate/ServiceDeleted signals to see when
21079 we should query NMI for lists
21080 * src/NetworkManagerAPList.c
21081 - Make sure to init the list's mutex
21082 - Convert traversals of the list over to the list iter functions
21084 * src/NetworkManagerDbus.[ch]
21085 - Use more aptly-named path/service/interface constants
21086 - Treat both active and pending devices the same for "getActiveDevice"
21087 - Add a "status" method returning "connected", "connecting", or "disconnected"
21089 * src/NetworkManagerDevice.c
21090 - Honor "ignored" network list when picking best ap to use
21092 2004-08-06 Seth Nickell <seth@gnome.org>
21096 Autogenerated, remove from CVS.
21100 Don't hardcode automake version.
21103 * info-daemon/Makefile.am:
21104 * info-daemon/NetworkManagerInfo.c: (main):
21106 Use GnomeProgram et al. for doing session management.
21107 Use popt stuff for argument parsing rather than doing
21110 2004-08-05 Dan Williams <dcbw@redhat.com>
21112 * test/nminfotest.c
21113 - Update to new NMI dbus API, check different network types
21115 * info-daemon/NetworkManagerInfoDbus.c
21116 - Update to new NM dbus API, ie network type sent in query message
21118 2004-08-05 Dan Williams <dcbw@redhat.com>
21120 * An assload of changes
21122 2004-08-02 Dan Williams <dcbw@redhat.com>
21125 - new task: proper logging support
21127 * info-daemon/NetworkManagerInfo.c
21128 - Correct spelling of "canceled"
21129 - Correct casting of objects for g_signal_connect()
21131 * info-daemon/NetworkManagerInfoDbus.c
21132 - Add defines for NetworkManager namespace and object path, and use them
21133 - Add filter function to trap new signals from NetworkManager:
21134 WirelessNetworkAppeared, WirelessNetworkDisappeared
21136 * info-daemon/passphrase.glade
21137 - Change name of "ok" button to "Login to Network..."
21140 * src/NetworkManager.c
21141 - Code and debug message cleanups
21142 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21143 - (nm_add_initial_devices) Check returned string array of devices
21144 and don't try to add devices if array is NULL
21145 - (main) Initialize libhal a bit later, make code a bit clearer
21147 * src/NetworkManagerAP.[ch]
21148 - New accessor and data member "matched": used to speed up AP list
21150 - New accessor and data member "enc_method": will be used during key
21151 fallback to cache which passphrase->key conversion actually works
21152 so we don't have to do it every time
21154 * src/NetworkManagerAPList.[ch]
21155 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21156 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21157 between them, and send WirelessNetworkAppeared/Disappeared signals over
21158 dbus in response to those differences
21160 * src/NetworkManagerDbus.[ch]
21161 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21162 make an object path for that access point (NOTE that we don't yet check to
21163 make sure that access point is actually in the device's AP list yet)
21164 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21165 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21166 New: signal appearance/disappearance of wireless networks
21167 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21170 * src/NetworkManagerDevice.[ch]
21171 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21172 - (nm_device_ap_list_get) New: return the AP list (static function)
21173 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21174 new one resulting from the scan with the old one
21176 * src/NetworkManagerWireless.c
21177 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21179 * test/nminfotest.c
21180 - #define object paths and namespaces and use the #defines rather than static strings
21181 - Test out user-key functionality of NetworkManagerInfo too
21183 2004-07-29 Dan Williams <dcbw@redhat.com>
21185 * info-daemon/NetworkManagerInfoDbus.c
21186 src/NetworkManagerDbus.c
21187 - Update to current DBus (ie don't use decomposed paths when registering
21188 object paths/fallbacks)
21190 2004-07-27 Dan Williams <dcbw@redhat.com>
21192 * Remove various Makefile.in files
21195 - Add some more items
21198 - Add checks for OpenSSL/md5 headers and libs
21201 - Use OpenSSL CFLAGS
21203 * src/NetworkManagerAP.[ch]
21204 - Remove 'stamp' functions, replace with 'invalid' functions
21205 to support user cancelling WEP key entry
21207 * src/NetworkManagerDbus.c
21208 - Remove 'stamp' return functions
21209 - Treat returned user key as a passphrase and convert to a WEP key,
21210 but don't actually use the WEP key yet. We use the returned user
21211 key as a hexadecimal WEP key until we can figure out a UI for
21212 passphrase-vs-hex key
21214 * src/NetworkManagerWireless.[ch]
21215 - Add passphrase-to-128bit-key function
21217 2004-07-27 Dan Williams <dcbw@redhat.com>
21220 - Add a couple of items
21222 2004-07-27 Dan Williams <dcbw@redhat.com>
21224 * info-daemon/NetworkManagerInfo.c
21225 - Update allowed network's GConf key when user enters a WEP key explicitly
21227 * info-daemon/NetworkManagerDbus.c
21228 - Fix some comments
21229 - nmi_dbus_get_allowed_networks(): kill warning
21231 2004-07-27 Dan Williams <dcbw@redhat.com>
21233 * initscript/Makefile.in
21236 * initscript/Makefile.am
21237 - Add correct rules to install the init.d initscript
21239 * info-daemon/NetworkManagerInfoDbus.c
21240 - Remove debug fprintf
21242 * src/NetworkManagerDbus.[ch]
21243 - Remove debug fprintfs
21244 - Add macros for NetworkManagerInfo object path/namespace
21245 - Use said macros instead of constant strings
21247 2004-07-27 Dan Williams <dcbw@redhat.com>
21249 * initscript/.cvsignore
21252 * info-daemon/Makefile.am
21253 - Install .glade files and keyring.png
21254 - Fix stupid omission of a \ that caused half the flags not to be
21257 * info-daemon/NetworkManagerInfo.c
21258 - gtk_signal_connect->g_signal_connect
21259 - Alert NetworkManagerInfo to new glade file location
21261 2004-07-27 Dan Williams <dcbw@redhat.com>
21263 * test/nmclienttest.c
21265 - Add missing <dbus/dbus.h> headers
21266 - Add GPL message at top
21268 2004-07-27 Dan Williams <dcbw@redhat.com>
21270 * src/NetworkManagerAPList.[ch]
21272 - Add. Deal with allowed network list additions, deletions, and updates
21274 * dispatcher-daemon/NetworkManagerDispatcher.c
21275 - Add missing <dbus/dbus.h> header
21277 * info-daemon/NetworkManagerInfo.[ch]
21278 - Add missing <dbus/dbus.h> header
21279 - Implement the GConf notify callback to signal NetworkManager of an allowed
21281 - Better error checking
21283 * info-daemon/NetworkManagerInfoDbus.[ch]
21284 - Add missing <dbus/dbus.h> header
21285 - Convert to using dbus_message_append_args/dbus_message_get_args
21286 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21287 that an allowed network changed. We don't want to signal on individual
21288 keys _inside_ an allowed network really, just want NM to query the info
21289 daemon for updated info on all keys.
21290 - Better error checking
21292 * src/NetworkManager.[ch]
21293 - Add missing <dbus/dbus.h> header
21294 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21295 - Zero out NMData structure on free
21296 - No longer use a thread for allowed_ap_list updating, instead its now done
21297 through dbus queries against NetworkManagerInfo
21298 - Populate allowed_ap_list initially before adding existing network devices
21299 to the device list, so wireless devices can get their "best" AP
21301 * src/NetworkManagerDbus.[ch]
21302 - Convert to using dbus_message_append_args/dbus_message_get_args
21303 - Better error checking
21304 - Implement Allowed Network info functions to request allowed network
21305 info from NetworkManagerInfo
21306 - Implement the filter function to process signals from NetworkManagerInfo
21307 about changing allowed networks
21309 * src/NetworkManagerDevice.c
21310 - Fix file descriptor leak in nm_device_update_ip4_address()
21312 2004-07-27 Dan Williams <dcbw@redhat.com>
21317 dispatcher-daemon/.cvsignore
21318 info-daemon/.cvsignore
21319 - Add .cvsignore files to reduce noise when diffing
21321 2004-07-24 Dan Williams <dcbw@redhat.com>
21323 * src/NetworkManager.[ch]
21324 src/NetworkManagerDbus.[ch]
21325 src/NetworkManagerDevice.[ch]
21326 src/NetworkManagerPolicy.c
21327 src/NetworkManagerWireless.[ch]
21328 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21329 - Pass the NMData application data structure through all calls
21330 that need it so we can get rid of nm_get_global_data()
21331 - Change deallocation of the allowed_ap_list GSList in preparation
21332 for not completely clearing it every time we get an update,
21333 but instead getting incremental updates via GConf/dbus
21335 2004-07-22 Dan Williams <dcbw@redhat.com>
21338 - Add checks for GConf libs & headers & flags
21340 * info-daemon/Makefile.am
21341 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21343 * info-daemon/NetworkManagerInfo.[ch]
21344 - Don't use gquarks for data storage, just use normal data storage
21345 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21347 * info-daemon/NetworkManagerDbus.[ch]
21348 - Add method call for getting allowed networks
21349 - Add method calls for getting an allowed network's essid, priority, and key
21350 - Hook the method calls up to GConf
21351 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21352 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21354 * src/NetworkManagerDbus.[ch]
21355 - Switch for enumeration of networks to using essid instead
21359 - Add test program for NetworkManagerInfo
21361 2004-07-19 Dan Williams <dcbw@redhat.com>
21363 * src/NetworkManagerDbus.c
21364 - Switch from indexed device paths to names. Less code, more efficient.
21365 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21367 2004-07-19 Dan Williams <dcbw@redhat.com>
21369 * dispatcher-daemon/NetworkManagerDispatcher.c
21370 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21372 2004-07-19 Dan Williams <dcbw@redhat.com>
21375 - Add info-daemon directory
21378 - Check for glade libs and headers
21379 - Add info-daemon directory
21381 * src/NetworkManagerAP.c
21382 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21383 copied over to the new AP.
21385 * src/NetworkManagerDbus.c
21386 src/NetworkManagerDbus.h
21387 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21388 - Remove nm_dbus_signal_need_key_for_network()
21389 - Add disabled code for asynchronous user wep key callbacks
21390 - Add functions for getting, setting, and cancelling user key operations
21391 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21392 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21394 * src/NetworkManagerDevice.c
21395 src/NetworkManagerDevice.h
21396 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21397 logic is in device activation now
21398 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21399 key is wrong) trigger get-user-key pending action
21400 - Implement get-user-key pending action stuff, tie to dbus messages
21401 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21402 - Add nm_device_ap_list_get_ap_by_essid()
21403 - Instead of copying "best" access points, ref them instead so that the key we set
21406 * src/NetworkManagerPolicy.c
21407 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21408 - Don't cancel pending actions on a device if its the same device as last iteration
21409 - Only promote pending_device->active_device if activation was successfull
21412 - Rename nmclienttest->nmtest
21414 * info-daemon/Makefile.am
21415 info-daemon/NetworkManagerInfo.c
21416 info-daemon/NetworkManagerInfo.h
21417 info-daemon/NetworkManagerInfoDbus.c
21418 info-daemon/NetworkManagerInfoDbus.h
21419 info-daemon/passphrase.glade
21420 info-daemon/NetworkManagerInfo.conf
21421 info-daemon/keyring.png
21422 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21423 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21424 lists to NetworkManager by proxying user's GConf
21427 2004-07-15 Dan Williams <dcbw@redhat.com>
21432 * src/NetworkManager.c
21433 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21434 that doing the deactivation ourselves
21435 - Cancel an pending actions on a device if its being removed
21436 - Break up link state checking a bit, make non-active wireless cards
21437 deactivated to save power
21438 - Remove unused variables
21440 * src/NetworkManager.h
21441 - Add support for "pending" device
21443 * src/NetworkManagerAP.h
21444 src/NetworkManagerAP.c
21445 - Add support for determining whether and AP has encryption enabled or not
21446 - AP address is now "struct ether_addr" rather than a string
21448 * src/NetworkManagerDbus.h
21449 src/NetworkManagerDbus.c
21450 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21451 - Changes for AP address from struct ether_addr->string
21453 * src/NetworkManagerDevice.h
21454 src/NetworkManagerDevice.c
21455 - Remove unused variables, fix warnings
21456 - Add support for Pending Actions (things that block a device from being "active"
21457 until they are completed).
21458 - First pending action: Get a WEP key from the user
21459 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21460 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21461 - Update wireless link checking to try to determine if the AP we are associated
21462 with is correct, but the WEP key we are using is just wrong. If its wrong,
21463 trigger the GetUserKey pending action on the device
21464 - If dhclient can't get an IP address, it brings the device down. Bring it back
21465 up in that case, otherwise we can't scan or link-check on it
21466 - Add IP address change notifications at appropriate points (still needs some work)
21467 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21469 * src/NetworkManagerPolicy.h
21470 src/NetworkManagerPolicy.c
21471 - Split out "best" access point determiniation into separate function
21472 - Make device activation 2-stage: first the device is pending, then
21473 in the next iteration through it becomes "active" unless it has
21476 * src/NetworkManagerUtils.h
21477 src/NetworkManagerUtils.c
21478 - Clean up unused variables and warnings
21479 - Wrap our debug macros in {} to prevent possible confusion
21481 * src/NetworkManagerWireless.c
21482 - Forgot to return current best priority, which lead to last available AP always
21483 being chosen no matter what its priority was. Corrected.
21485 2004-07-15 Dan Williams <dcbw@redhat.com>
21487 * dispatcher-daemon/Makefile.am
21490 * dispatcher-daemon/NetworkManagerDispatcher.c
21491 - Remove unused variables due to warnings
21492 - Fix some comments
21493 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21495 2004-07-06 Dan Williams <dcbw@redhat.com>
21497 * src/NetworkManager.c
21498 - Add IPv4 address update for active device during link state check
21499 - Don't allow wireless cards to be powered up when they are not the
21502 * src/NetworkManagerDbus.c
21503 src/NetworkManagerDbus.h
21504 - Add DBUS IPv4 address change signal
21505 - Add DBUS IPv4 address get method for devices
21507 * src/NetworkManagerDevice.c
21508 - Make setting the WEP key actually work
21509 - Move IP address get/set/update stuff here, per-device
21510 - Power down/bring down wireless device when deactivated
21511 - For scanning wireless devices, if first scan returned ENODATA, try again
21513 * src/NetworkManagerPolicy.c
21514 - Only set the WEP key for an allowed access point if there is one.
21515 We were setting it to be blank if one wasn't specified.
21517 * src/NetworkManagerUtils.h
21518 src/NetworkManagerUtils.c
21519 - Move the IP address stuff to NetworkManagerDevice.c
21521 * dispatcher-daemon/NetworkManagerDispatcher.c
21522 - Add device IPv4 address change notification stuff
21524 2004-07-05 Dan Williams <dcbw@redhat.com>
21526 * dispatcher-daemon/NetworkManagerDispatcher.c
21527 - A bit more descriptive state message
21528 - Don't segfault when reading directory
21530 * src/NetworkManager.h
21531 - Remove NMData desired_ap member, its now
21532 per-device rather than global
21534 * src/NetworkManager.c
21535 - Remove references to desired_ap
21536 - Move the allowed AP list refresh stuff into a thread
21538 * src/NetworkManagerDevice.c
21539 src/NetworkManagerDevice.h
21540 - Each wireless device now has a "best ap"
21541 - Make device activate/deactivate functions per-device
21542 - Make wireless scanning per-device
21543 - Add IPv4 address discover functions, stub IPv6 ones
21544 - Move ethernet address validation functions to NetworkManagerUtils.c
21545 - Add wireless access point accessor function
21546 - Get/Set functions for "best ap"
21548 * src/NetworkManagerPolicy.c
21549 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21550 - Deal with per-device "best ap" rather than data->desired_apa
21551 - Implement allowed access point worker thread
21552 - Add nm_policy_essid_is_allowed() function
21554 * src/NetworkManagerUtils.c
21555 src/NetworkManagerUtils.h
21556 - Add nm_ethernet_address_is_valid() function
21557 - Add IPv4/IPv6 address get functions
21559 * src/NetworkManagerWireless.c
21560 src/NetworkManagerWireless.h
21561 - Move scanning stuff into NetworkManagerDevice.c, per-device
21563 2004-06-29 Dan Williams <dcbw@redhat.com>
21565 * dispatcher-daemon/NetworkManagerDispatcher.c
21566 - Implement script callout functionality
21568 2004-06-24 Dan Williams <dcbw@redhat.com>
21572 - Flush device routes and ip addresses when added to the device list
21574 * NetworkManagerDbus.c
21576 - Add missing returns in the two signal functions
21578 * NetworkManagerPolicy.c
21579 - Spacing and variable cleanups
21581 2004-06-24 Dan Williams <dcbw@redhat.com>
21586 dispatcher-daemon/Makefile.am
21587 dispatcher-daemon/Makefile.in
21588 dispatcher-daemon/NetworkManagerDispatcher.c
21589 - Add a daemon that receives signals from NetworkManager
21590 and will (eventually) call scripts in /etc/somewhere
21591 when devices go up or down.
21595 - Flush device routes and ip addresses when added to the device list
21597 * NetworkManagerDbus.c
21599 - Add missing returns in the two signal functions
21601 * NetworkManagerPolicy.c
21602 - Spacing and variable cleanups
21603 - Rename nm_policy_switch_interface->nm_policy_switch_device
21604 - nm_policy_switch_device():
21605 Use kill (pid) instead of system ("kill <pid>")
21606 - nm_state_modification_monitor():
21607 Add wireless essid to output of debug statements
21608 Correct typo in device compare to switch or not (should be !=)
21609 Don't sleep after sending "no longer active" signal, was useless
21611 2004-06-24 Dan Williams <dcbw@redhat.com>