1 2008-10-28 Dan Williams <dcbw@redhat.com>
3 Patch from Tambet Ingo <tambet@gmail.com>
5 * libnm-util/libnm-util.ver
6 libnm-util/nm-setting-wireless.c
7 libnm-util/nm-setting-wireless.h
8 - Make properties private and add accessor functions
10 * src/NetworkManagerAP.c
13 src/supplicant-manager/nm-supplicant-config.c
14 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
15 system-settings/plugins/ifcfg-fedora/reader.c
16 system-settings/plugins/ifcfg-suse/parser.c
17 system-settings/plugins/ifupdown/parser.c
18 - Use wireless setting accessors
20 2008-10-27 Dan Williams <dcbw@redhat.com>
22 Patch from Tambet Ingo <tambet@gmail.com>
24 * libnm-util/libnm-util.ver
25 libnm-util/nm-setting-ppp.c
26 libnm-util/nm-setting-ppp.h
27 - Make properties private and add accessor functions
29 * src/ppp-manager/nm-ppp-manager.c
30 - Use ppp setting accessors
32 2008-10-27 Dan Williams <dcbw@redhat.com>
34 Patch from Tambet Ingo <tambet@gmail.com>
36 * libnm-util/nm-setting.h
37 libnm-util/nm-setting.c
38 - Make properties private and add accessor functions
40 * libnm-util/nm-connection.c
41 libnm-util/nm-setting-8021x.c
42 libnm-util/nm-setting-cdma.c
43 libnm-util/nm-setting-connection.c
44 libnm-util/nm-setting-gsm.c
45 libnm-util/nm-setting-ip4-config.c
46 libnm-util/nm-setting-ip6-config.c
47 libnm-util/nm-setting-ppp.c
48 libnm-util/nm-setting-pppoe.c
49 libnm-util/nm-setting-serial.c
50 libnm-util/nm-setting-template.c
51 libnm-util/nm-setting-vpn.c
52 libnm-util/nm-setting-wired.c
53 libnm-util/nm-setting-wireless-security.c
54 libnm-util/nm-setting-wireless.c
55 system-settings/plugins/keyfile/reader.c
56 system-settings/plugins/keyfile/writer.c
57 - Use setting accessors
59 2008-10-27 Dan Williams <dcbw@redhat.com>
61 * libnm-util/libnm-util.ver
62 libnm-util/nm-setting-connection.c
63 libnm-util/nm-setting-connection.h
64 - Add a 'read-only' property that indicates the connection cannot be
67 * system-settings/plugins/ifcfg-fedora/reader.c
68 system-settings/plugins/ifcfg-suse/parser.c
69 system-settings/plugins/ifupdown/parser.c
70 - These plugins are read-only at the moment
72 * system-settings/plugins/keyfile/reader.c
73 system-settings/plugins/keyfile/writer.c
74 - Read-only shouldn't get saved out to files or read in from them
76 2008-10-27 Tambet Ingo <tambet@gmail.com>
78 * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
79 correct speed reporting for fast devices (kernel >= 2.6.27).
81 2008-10-26 Dan Williams <dcbw@redhat.com>
83 Attempt to compensate for modems that don't enable full AT parsing before
84 the PIN has been entered.
87 - (init_modem): accept different init strings
88 - (init_done): try different init strings on failure
89 - (check_pin_done): on PIN success, do full modem init
91 2008-10-26 Dan Williams <dcbw@redhat.com>
93 Patch from Tambet Ingo <tambet@gmail.com>
95 * libnm-util/libnm-util.ver
96 libnm-util/nm-setting-connection.c
97 libnm-util/nm-setting-connection.h
98 - Make properties private and add accessor functions
100 * src/NetworkManagerPolicy.c
102 src/nm-device-ethernet.c
103 src/nm-device-interface.c
107 src/ppp-manager/nm-ppp-manager.c
108 src/vpn-manager/nm-vpn-connection.c
109 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
110 system-settings/plugins/ifcfg-fedora/plugin.c
111 system-settings/plugins/ifcfg-fedora/reader.c
112 system-settings/plugins/ifcfg-suse/parser.c
113 system-settings/plugins/ifupdown/parser.c
114 system-settings/plugins/keyfile/nm-keyfile-connection.c
115 system-settings/plugins/keyfile/plugin.c
116 system-settings/plugins/keyfile/writer.c
117 system-settings/src/main.c
118 - Use those accessors
120 2008-10-26 Dan Williams <dcbw@redhat.com>
122 Patch from Tambet Ingo <tambet@gmail.com>
124 * libnm-util/libnm-util.ver
125 libnm-util/nm-setting-gsm.c
126 libnm-util/nm-setting-gsm.h
127 - Make properties private and add accessor functions
129 * src/nm-gsm-device.c
130 src/nm-hso-gsm-device.c
131 src/ppp-manager/nm-ppp-manager.c
132 - Use those accessors
134 2008-10-26 Dan Williams <dcbw@redhat.com>
136 Patch from Tambet Ingo <tambet@gmail.com>
138 * libnm-util/libnm-util.ver
139 libnm-util/nm-setting-cdma.c
140 libnm-util/nm-setting-cdma.h
141 - Make properties private and add accessor functions
143 * src/nm-cdma-device.c
144 src/ppp-manager/nm-ppp-manager.c
145 - Use those accessors
147 2008-10-26 Dan Williams <dcbw@redhat.com>
149 Patch from Tambet Ingo <tambet@gmail.com>
151 * libnm-util/libnm-util.ver
152 libnm-util/nm-setting-pppoe.c
153 libnm-util/nm-setting-pppoe.h
154 - Make properties private and add accessor functions
156 * src/nm-device-ethernet.c
157 src/ppp-manager/nm-ppp-manager.c
158 - Use those accessors
160 2008-10-26 Dan Williams <dcbw@redhat.com>
162 Patch from Tambet Ingo <tambet@gmail.com>
164 * libnm-util/libnm-util.ver
165 libnm-util/nm-setting-wired.c
166 libnm-util/nm-setting-wired.h
167 - Make properties private and add accessor functions
169 * src/nm-device-ethernet.c
170 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
171 system-settings/plugins/ifcfg-suse/parser.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-serial.c
181 libnm-util/nm-setting-serial.h
182 src/nm-serial-device.c
183 - Make properties private and use accessors instead
185 2008-10-26 Dan Williams <dcbw@redhat.com>
187 * src/supplicant-manager/nm-supplicant-interface.c
188 src/supplicant-manager/nm-supplicant-interface.h
189 src/supplicant-manager/nm-supplicant-manager.c
190 src/supplicant-manager/nm-supplicant-manager.h
191 - Add state-to-string conversion functions
193 * src/nm-device-wifi.c
194 src/nm-device-ethernet.c
195 - Normalize state info logging and use strings instead of numbers
197 2008-10-26 Dan Williams <dcbw@redhat.com>
199 * src/NetworkManagerPolicy.c
200 - (update_routing_and_dns): ignore host routes when determining whether
201 a VPN connection should own the default route (bgo #552594)
203 2008-10-24 Dan Williams <dcbw@redhat.com>
205 * src/nm-gsm-device.c
206 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
208 2008-10-23 Dan Williams <dcbw@redhat.com>
210 * src/ppp-manager/nm-ppp-manager.c
211 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
212 add really important stuff to the command line to ensure that NM
213 overrides /etc/ppp/options (bgo #556781)
215 2008-10-22 Dan Williams <dcbw@redhat.com>
217 * src/NetworkManagerSystem.c
219 - Use the device's IP interface where appropriate (Per Hallsmark)
221 2008-10-22 Dan Williams <dcbw@redhat.com>
223 * src/nm-gsm-device.c
224 - (schedule_automatic_registration_again): use a short timeout here
225 instead of an idle handler to avoid using too much CPU polling for
226 something we should be waiting a bit for anyway
228 2008-10-22 Dan Williams <dcbw@redhat.com>
230 * include/NetworkManager.h
231 introspection/nm-device.xml
232 - Add device state change reason for carrier changes
234 * src/nm-device-ethernet.c
235 - (set_carrier): use the carrier change reason when changing device
236 state in response to carrier changes
238 2008-10-21 Dan Williams <dcbw@redhat.com>
240 * src/NetworkManagerPolicy.c
241 - (update_etc_hosts): don't leak errors, and ensure that
242 g_file_set_contents() gets a valid error placeholder (rh #461933)
244 2008-10-21 Dan Williams <dcbw@redhat.com>
247 - (free_get_settings_info): don't use the DBusGProxy which could be
248 disposed of by the time the function is called
249 - (internal_new_connection_cb): save connection scope
250 - (connection_get_settings_cb): don't replace a connection unless it's
251 actually different from the existing one; fixes an issue where
252 killing the settings service wouldn't deactivate an active connection
253 provided by that settings service, because it was using a connection
254 that had already been replaced in the system or user hash
256 2008-10-21 Dan Williams <dcbw@redhat.com>
258 * src/NetworkManager.c
259 - (main): keep the DHCP manager around since it's a singleton; fixes
260 a use-after-free exposed by r4196 since the DHCP manager singleton
261 variable isn't cleared when the DHCP manager object is finalized
263 2008-10-20 Dan Williams <dcbw@redhat.com>
265 * libnm-util/nm-setting-wireless-security.c
266 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
268 2008-10-20 Dan Williams <dcbw@redhat.com>
270 * src/supplicant-manager/nm-supplicant-config.c
271 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
273 2008-10-20 Dan Williams <dcbw@redhat.com>
275 * src/dhcp-manager/nm-dhcp-manager.c
276 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
277 manager object already refs it once
278 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
279 also get cleaned up by nm_dhcp_device_destroy() to prevent
282 2008-10-20 Dan Williams <dcbw@redhat.com>
285 - (initial_get_connections): use private dbus manager, don't keep
286 ref-ing the singleton. Fixes mismatched refcounts of the dbus
289 2008-10-18 Dan Williams <dcbw@redhat.com>
291 * libnm-glib/nm-settings.c
292 libnm-glib/nm-settings.h
293 - Rename the "get_secrets" virtual function "service_get_secrets" to
294 clarify when it's used; NMExportedConnetion is a base-class for both
295 the client and service side, which is sort of confusing, and
296 get_secrets only makes sense on the service side.
298 * libnm-glib/nm-dbus-connection.c
299 - (get_secrets): remove, unused, and clients need to do extra work to
300 get secrets anyway since the call can block on the remote side
302 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
303 system-settings/plugins/keyfile/nm-keyfile-connection.c
304 - Fix up for get_secrets -> service_get_secrets
306 2008-10-16 Dan Williams <dcbw@redhat.com>
308 * src/nm-device-wifi.c
309 - (constructor): correctly determine encryption capabilities
311 2008-10-15 Dan Williams <dcbw@redhat.com>
313 * src/nm-device-wifi.c
314 - (wireless_qual_to_percent): fix quality calculation in a fallback case
317 2008-10-15 Dan Williams <dcbw@redhat.com>
319 * src/NetworkManagerSystem.c
320 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
321 if the ip4_dest is in a smaller subnet contained within a subnet
322 the machine is currently on, the destination is in the same subnet
323 - (nm_system_device_set_ip4_route): move subnet checks to callers
324 - (add_vpn_gateway_route): check if the VPN gateway is in the same
325 subnet as the parent device, and if so, don't add the direct
326 host route via the parent device's gateway (bgo #481620)
327 - (nm_system_apply_ip4_config): check whether the route to be added
328 is contained within a subnet the device is already on
330 2008-10-11 Dan Williams <dcbw@redhat.com>
332 * include/NetworkManager.h
333 introspection/nm-device.xml
334 include/NetworkManagerVPN.h
335 - Add a few more state reasons for the device deactivated state
337 * src/nm-device-interface.c
338 src/nm-device-interface.h
339 - (nm_device_interface_deactivate): add a 'reason' argument
343 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
344 - (nm_device_state_changed): pass the state change reason to
345 nm_device_take_down()
346 - (nm_device_set_managed): take a 'reason' argument, and pass it along
347 to the state change function
351 - (remove_one_device, handle_unmanaged_devices, sync_devices,
352 impl_manager_sleep): pass a reason code to nm_device_set_managed()
353 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
354 something reasonable along to VPN deactivation
356 * src/vpn-manager/nm-vpn-manager.c
357 src/vpn-manager/nm-vpn-manager.h
358 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
359 pass that along to nm_vpn_connection_disconnect()
361 2008-10-11 Dan Williams <dcbw@redhat.com>
363 * src/nm-device-wifi.c
364 - (can_scan): remove old madwifi hack for not scanning while connected
366 2008-10-11 Dan Williams <dcbw@redhat.com>
368 Add support for VPN subnet gateways (bgo #549196)
370 * include/NetworkManager.h
371 - Add key for internal VPN subnet gateway
373 * src/vpn-manager/nm-vpn-connection.c
374 - (ip_address_to_string): return a const from a static buffer so we
375 don't leak a lot of strings
376 - (print_vpn_config): print internal VPN gateway as well
377 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
379 - (nm_vpn_connection_get_ip4_internal_gateway): new function
381 * src/NetworkManagerSystem.c
382 src/NetworkManagerSystem.h
383 - (nm_system_device_replace_default_ip4_route): split into two, one for
384 VPN connections and one for normal devices
385 - (replace_default_ip4_route): break out route stuff into its own function
386 - (nm_system_replace_default_ip4_route_vpn,
387 nm_system_replace_default_ip4_route): simplify by having two cases,
388 one for VPNs and one for normal devices
390 * src/NetworkManagerPolicy.c
391 - (update_routing_and_dns): simplify, use split default route replacement
394 2008-10-10 Dan Williams <dcbw@redhat.com>
396 Rework default route handling to consolidate decisions in the policy,
397 and to take active VPN connections into account when changing the default
400 * src/NetworkManager.c
401 - (main): pass the vpn_manager to the policy so it knows about active
402 VPN connections; clean up the named manager which wasn't done before
404 * src/NetworkManagerPolicy.c
405 src/NetworkManagerPolicy.h
406 - (nm_policy_new): get a clue about the vpn_manager
407 - (update_default_route): remove, fold into update_routing_and_dns()
408 - (update_routing_and_dns): handle active VPN connections too; an
409 active VPN connection becomes the default route if it does not have
410 server-specified or user-specified custom routes. Otherwise, the
411 best active device gets the default route
412 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
413 nm_policy_destroy): track VPN connection activation and deactivation
414 and update the default route when appropriate
416 * src/NetworkManagerSystem.c
417 src/NetworkManagerSystem.h
418 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
419 in the VPN connection itself
420 - (nm_system_vpn_device_set_from_ip4_config,
421 nm_system_device_set_from_ip4_config): merge together to make
422 nm_system_apply_ip4_config()
423 - (add_vpn_gateway_route): add a route to the VPN's external gateway
424 via the parent device
425 - (nm_system_apply_ip4_config): simplify
426 - (add_ip4_route_to_gateway): new function; add a direct route to the
428 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
429 route stuff out into add_ip4_route_to_gateway() for clarity
432 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
434 * src/vpn-manager/nm-vpn-connection.c
435 src/vpn-manager/nm-vpn-connection.h
436 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
437 nm_vpn_connection_get_parent_device): add
438 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
440 - (connection_state_changed): update the named manager now that
441 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
444 * src/vpn-manager/nm-vpn-manager.c
445 src/vpn-manager/nm-vpn-manager.h
446 - Add a 'connection-activated' signal
447 - (nm_vpn_manager_get_active_connections): new function; mainly for the
448 policy to find out about active VPN connections
450 2008-10-10 Tambet Ingo <tambet@gmail.com>
452 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
453 a daemon to prevent NM logging spew on console on startup and shutdown (due
454 to dependency loop between NM and syslog).
456 2008-10-10 Alexander Sack <asac@ubuntu.com>
458 Implement managed mode. We bind devices configured in /etc/network/interfaces
459 to their connections by updating wired/wireless setting with the
460 mac address of the device.
462 * system-settings/plugins/ifupdown/plugin.c
463 - (get_net_address_for_udi): implement function to retrieve MAC
464 address of udi from hal in GByteArray format
465 - (bind_device_to_connection): bind mac address of device to
466 wired/wireless system connection
467 - (hal_device_added_cb): call bind_device_to_connection for
468 system connections with a matching interface.name
469 - (hal_device_added_cb): ensure that all code paths
470 properly free the "iface" string.
472 2008-10-10 Alexander Sack <asac@ubuntu.com>
474 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
475 mode of the ifupdown system config plugin.
477 * system-settings/plugins/ifupdown/plugin.c
478 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
479 private unmanage_well_known state field accordingly
481 2008-10-10 Alexander Sack <asac@ubuntu.com>
483 Implement unmanaged mode that will prevent all devices in the
484 well_known_udis set from being touched by NetworkManager
486 * system-settings/plugins/ifupdown/plugin.c
487 - (typedef struct SCPluginIfupdownPrivate): add gboolean
488 unmanage_well_known field used to turn on/off unmanaged
490 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
491 signal when well_known_udis get added/removed
492 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
493 if we are in unmanaged mode
495 2008-10-10 Alexander Sack <asac@ubuntu.com>
497 Add support to track network devices that have a configuration
498 with a matching interface.name in /etc/network/interfaces
500 * system-settings/plugins/ifupdown/plugin.c
501 - (typedef struct SCPluginIfupdownPrivate): add hash table
502 to track |well_known_udis|
503 - (get_iface_for_udi): helper function to get interface.name
505 - (hal_device_added_cb, hal_device_removed_cb): callbacks
506 that add and remove devices to and from the well_known_udis
507 set depending on whether their |interface.name| matches
508 any interface definition in /etc/network/interfaces
509 - (SCPluginIfupdown_init): connect callbacks from above with
510 hal_mgr and setup well_known_udis hashtable
511 - (GObject__dispose): destroy well_known_udis hashtable
512 - (hal_device_added_cb2): implement wrapper callback with GFunc
513 signature. user_data is supposed to be a triple (hal_mgr,
515 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
516 startup and call hal_device_added_cb2
518 2008-10-10 Alexander Sack <asac@ubuntu.com>
520 Remove implementation for not used NMSystemConfigInterface callback functions
523 * system-settings/plugins/ifupdown/plugin.c
524 - (SCPluginIfupdown_unmanaged_devices_changed): removed
525 - (SCPluginIfupdown_connection_added): removed
527 2008-10-08 Dan Williams <dcbw@redhat.com>
529 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
531 * src/NetworkManagerUtils.c
532 - (nm_utils_call_dispatcher): add a 'hostname' action
534 * src/NetworkManagerPolicy.c
535 - (set_system_hostname): dispatch hostname changes
537 * callouts/nm-dispatcher-action.c
538 - (nm_dispatcher_action): handle 'hostname' actions
540 2008-10-08 Dan Williams <dcbw@redhat.com>
542 * src/NetworkManagerSystem.c
543 - (find_route): ref the route so it doesn't get destroyed when the cache
545 - (nm_system_device_set_priority): unref the route here after it's done
548 2008-10-08 Dan Williams <dcbw@redhat.com>
550 * src/nm-serial-device.c
551 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
553 2008-10-08 Tambet Ingo <tambet@gmail.com>
555 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
556 connection with new settings before saving it.
558 2008-10-06 Dan Williams <dcbw@redhat.com>
560 * src/nm-ip4-config.c
562 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
564 * src/nm-device-interface.c
565 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
566 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
567 by using '/' for the object path
570 - (src/nm-device.c): marshal missing/unexported ip4-config through
571 dbus as '/' since dbus-glib can't handle NULL objects nor can
572 dbus handle NULL object paths
574 2008-10-03 Alexander Sack <asac@ubuntu.com>
576 Implement system hostname support for debian/ubuntu
578 * system-settings/plugins/ifupdown/plugin.c
579 - (GObject__get_property): extend announced capabilities; add
580 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
581 - (GObject__set_property,write_system_hostname): implement
582 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
583 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
584 update_system_hostname, get_hostname):
585 implement hostname property that watches and
588 2008-10-03 Alexander Sack <asac@ubuntu.com>
590 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
591 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
592 system-settings/plugins/ifcfg-fedora/Makefile.am
593 system-settings/src/nm-inotify-helper.c
594 system-settings/src/nm-inotify-helper.h
596 - Move ifcfg-fedora inotify helpers to the system settings service so
597 they are available to all plugins
599 2008-10-03 Alexander Sack <asac@ubuntu.com>
601 Implement support for wep-tx-keyidx in ifupdown system
604 * system-settings/plugins/ifupdown/parser.c
605 - (update_wireless_security_setting_from_if_block): introduce
606 free_type_mapping func table; rename a few local
607 variables to improve readability; add wpa security mapping
608 for wep-tx-keyidx property
609 - (string_to_gpointerint): new function used for the auto_type_mapping
610 of new wep-tx-keyidx property
611 - (slist_free_all): free func used for mapped slist types
613 2008-10-03 Alexander Sack <asac@ubuntu.com>
615 * system-settings/src/main.c:
616 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
617 always used as the hash key; fixes a crash when removing wired
620 2008-10-02 Dan Williams <dcbw@redhat.com>
622 * src/nm-gsm-device.c
623 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
624 pass the required GSM secret along via user_data rather than keeping
625 it around in the private data where it sometimes didn't get cleared
626 - (real_get_ppp_name): implement using the GSM username
628 2008-10-02 Dan Williams <dcbw@redhat.com>
630 * src/ppp-manager/nm-ppp-manager.c
631 src/ppp-manager/nm-ppp-manager.h
632 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
633 the settings daemon for completely new ones
634 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
635 local PPP peer name; allow PPP debuging by launching NM with
636 the environment variable NM_PPP_DEBUG defined
637 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
638 create_pppd_cmd_line()
640 * src/nm-serial-device.c
641 src/nm-serial-device.h
642 - New 'get_ppp_name' function for subclasses to implement to return the
644 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
645 and pass that name to the PPP manager
647 * src/nm-device-ethernet.c
648 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
651 * src/nm-cdma-device.c
652 - (real_get_ppp_name): implement using the CDMA username
654 2008-10-02 Dan Williams <dcbw@redhat.com>
656 Patch from Alexander Sack <asac ubuntu com>
658 * system-settings/plugins/ifupdown/parser.c
659 - Implement more graceful ip4 config parsing for cases where
660 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
661 by using default values
663 2008-10-02 Dan Williams <dcbw@redhat.com>
665 * src/NetworkManagerPolicy.c
666 - (device_state_changed): when marking a connection invalid, clear its
667 secrets too so that fresh secrets get requested the next time
669 2008-10-01 Dan Williams <dcbw@redhat.com>
671 * system-settings/src/dbus-settings.c
672 - (nm_sysconfig_settings_init): cache system hostname on startup as
673 a fallback if no plugin provides a hostname
674 - (get_property): fall back to cached hostname if no plugin provides
677 2008-10-01 Dan Williams <dcbw@redhat.com>
679 Fix setting value comparison issue that caused some settings to look the
680 same when they were really different (rh #464417)
682 * libnm-util/nm-param-spec-specialized.c
683 - (type_is_fixed_size): return fundamental size of the fixed type too
684 - (nm_gvalues_compare_collection): use the fundamental fixed type size
685 in the comparison so that the _entire_ fixed type collection gets
686 compared rather than just the first 'len1' bytes
688 2008-09-30 Dan Williams <dcbw@redhat.com>
690 * src/NetworkManagerPolicy.c
691 - (lookup_thread_worker): don't store the idle handler ID becuase the
692 idle handler could have already run and freed the LookupThread
695 2008-09-30 Tambet Ingo <tambet@gmail.com>
697 * src/nm-device.c (nm_device_get_priority): Implement.
698 (nm_device_set_ip4_config): Send the device priority to system ip4
701 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
702 Add priority argument and if it's >= 0, set the priority of the network
703 route added automatically by netlink (or kernel?).
704 (nm_system_device_set_priority): Implement.
706 * src/NetworkManagerPolicy.c (get_best_device): Use
707 nm_device_get_priority() instead of home-grown version. Revert the
708 meaning, best priority is the lowest one.
710 2008-09-29 Dan Williams <dcbw@redhat.com>
712 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
713 when it returns EAGAIN (rh #362421)
715 * src/nm-device-wifi.c
716 - (wireless_get_range): try GIWRANGE a few times until the card responds
717 - (real_get_generic_capabilities, constructor): use wireless_get_range()
719 2008-09-28 Dan Williams <dcbw@redhat.com>
721 * src/nm-serial-device.c
722 src/nm-serial-device.h
723 - (nm_serial_device_close): stop PPP manager here so that PPP gets
724 cleaned at the right times when subclasses close the serial port too
725 - (nm_serial_device_send_command): use a default send delay; don't
726 spin forever on EAGAIN
727 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
728 remove, no longer used
729 - (find_response): return the matched response if any
730 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
732 - (wait_for_reply_done): pass the matched response to the callback
733 - (wait_for_reply_got_data): save the matched response; simplify timeout
735 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
736 const since they never get modified
737 - (cleanup_device): split out common cleanup stuff to a new function
738 - (real_deactivate_quickly, finalize): use cleanup_device()
740 * src/nm-gsm-device.c
741 - (modem_get_reply): remove, unused
742 - (set_apn): give the card a bit more time to respond
743 - (manual_registration_again, schedule_manual_registration_again,
744 manual_registration_response, manual_registration): handle manual
745 registration timeouts better by retrying registration a few times
746 because cards are a bit slow after CFUN=1
747 - (automatic_registration_get_network, get_network_response): use
748 modem_wait_for_reply() because it interacts better with the serial
749 buffer and does more intelligent matching; need to wait for 'OK'
750 rather than just matching terminators
751 - (schedule_automatic_registration_again,
752 automatic_registration_response, automatic_registration): retry
753 registration a few times on timeout or "searching" because cards
754 take a bit to find a network after being powered up with CFUN=1
755 - (power_up_response, power_up, init_full_done, enter_pin,
756 check_pin_done): power up the card with CFUN=1 before trying to
757 register with the network
758 - (init_modem_full, init_modem): use more standard 3G init strings
760 * src/nm-hso-gsm-device.c
761 - (modem_get_reply): remove, unused
762 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
763 modem_wait_for_reply() to match actual responses instead of single
764 termination characters; it doesn't leave stuff in the serial buffer
765 that might confuse later calls
766 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
767 to ensure that the call is really disconnected and not leave extra
768 stuff in the serial buffer
770 * src/nm-cdma-device.c
771 - (power_up_response, power_up, init_done): try Sierra-style modem
772 power up before attempting to connect
774 2008-09-27 Dan Williams <dcbw@redhat.com>
776 * libnm-util/nm-setting-gsm.c
777 - (verify): verify GSM network ID
779 2008-09-25 Dan Williams <dcbw@redhat.com>
781 * libnm-util/nm-setting-gsm.c
782 libnm-util/nm-setting-gsm.h
783 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
784 technology terms (bgo #551361)
786 2008-09-25 Dan Williams <dcbw@redhat.com>
788 Fix bgo #549401 (inspired by patch from Alexander Sack)
790 * src/nm-device-ethernet.c
791 - (finish_supplicant_task): clean up scheduled tasks and free memory
792 - (remove_supplicant_interface_error_handler): remove the supplicant
793 error idle callback too
794 - (supplicant_interface_release): rename from supplicant_interface_clean
795 to match nm-device-wifi.c; clean up supplicant interface-related
796 state tasks when the supplicant interface is disposed of
797 - (schedule_state_handler): add scheduled tasks to a list so they can
799 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
800 supplicant_iface_connection_state_cb_handler): use
801 finish_supplicant_task() to clean up each completed task
802 - (supplicant_iface_connection_error_cb_handler,
803 supplicant_connection_timeout_cb): clear source id when the task is
805 - (supplicant_iface_connection_error_cb): save scheduled task id for
807 - (nm_device_ethernet_dispose): clean up any pending supplicant state
810 * src/nm-device-wifi.c
811 - (finish_supplicant_task): clean up scheduled tasks and free memory
812 - (remove_supplicant_interface_error_handler): remove the supplicant
813 error idle callback too
814 - (supplicant_interface_release): clean up supplicant interface-related
815 state tasks when the supplicant interface is disposed of
816 - (schedule_state_handler): add scheduled tasks to a list so they can
818 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
819 supplicant_iface_connection_state_cb_handler): use
820 finish_supplicant_task() to clean up each completed task
821 - (supplicant_iface_connection_error_cb_handler): clear source id when
823 - (supplicant_iface_connection_error_cb): save scheduled task id for
825 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
827 2008-09-24 Tambet Ingo <tambet@gmail.com>
829 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
830 method and get/set hostname property.
832 2008-09-24 Tambet Ingo <tambet@gmail.com>
834 * src/supplicant-manager/nm-supplicant-interface.c
835 (nm_supplicant_interface_disconnect): Don't increment the reference
836 count when disconnecting. The problem is on shutdown, when the replies
837 to these commands do not arrive before NM exits, resulting on never
838 calling supplicant interface's dispose(), which removes the interface
841 2008-09-24 Tambet Ingo <tambet@gmail.com>
843 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
844 all the public function arguments.
846 2008-09-22 Tambet Ingo <tambet@gmail.com>
848 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
849 "Failure" signal from VPN plugins, store the failure reason, and
850 use it when the state is changed to failure.
852 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
855 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
856 reason to the end of the list to not break the API.
857 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
858 so it can be shared by plugins and daemon.
860 2008-09-18 Dan Williams <dcbw@redhat.com>
862 Patch from Alexander Sack <asac@ubuntu.com>
865 system-settings/plugins/Makefile.am
866 system-settings/plugins/ifupdown/Makefile.am
867 system-settings/plugins/ifupdown/interface_parser.c
868 system-settings/plugins/ifupdown/interface_parser.h
869 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
870 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
871 system-settings/plugins/ifupdown/parser.c
872 system-settings/plugins/ifupdown/parser.h
873 system-settings/plugins/ifupdown/plugin.c
874 system-settings/plugins/ifupdown/plugin.h
875 - Implement a Debian/Ubuntu legacy network configuration plugin
878 2008-09-18 Dan Williams <dcbw@redhat.com>
880 Implement support for honoring configured and automatic hostnames, and for
881 setting the configured hostname.
883 * introspection/nm-ip4-config.xml
886 src/dhcp-manager/nm-dhcp-manager.c
887 - Remove useless hostname property; it's not really part of the IPv4
890 * introspection/nm-settings-system.xml
891 libnm-glib/nm-dbus-settings-system.c
892 libnm-glib/nm-dbus-settings-system.h
893 - Add SetHostname() call to system settings D-Bus interface
894 - Add Hostname property to system settings D-Bus interface
895 - (nm_dbus_settings_system_save_hostname,
896 nm_dbus_settings_system_get_hostname): implement
900 - (nm_device_get_dhcp4_config): implement
904 - Fetch and track system settings service hostname changes, and proxy
905 the changes via a GObject property of the manager
907 * system-settings/src/nm-system-config-interface.c
908 system-settings/src/nm-system-config-interface.h
909 - Replace nm_system_config_interface_supports_add() with a capabilities
912 * system-settings/src/nm-system-config-error.c
913 system-settings/src/nm-system-config-error.h
914 - Add additional errors
916 * system-settings/src/dbus-settings.c
917 system-settings/src/dbus-settings.h
918 - (get_property, nm_sysconfig_settings_class_init): add hostname
919 property; first plugin returning a hostname wins
920 - (impl_settings_add_connection): use plugin capabilities instead of
921 nm_system_config_interface_supports_add()
922 - (impl_settings_save_hostname): implement hostname saving
924 * src/NetworkManagerPolicy.c
925 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
926 lookup_thread_die): implement an asynchronous hostname lookup thread
927 which given an IPv4 address tries to look up the hostname for that
928 address with reverse DNS
929 - (get_best_device): split out best device code from
930 update_routing_and_dns()
931 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
932 to preserve the 127.0.0.1 reverse mapping that so many things require
933 - (set_system_hostname): set a given hostname
934 - (update_system_hostname): implement hostname policy; a configured
935 hostname (from the system settings service) is used if available,
936 otherwise an automatically determined hostname from DHCP, VPN, etc.
937 If there was no automatically determined hostname, reverse DNS of
938 the best device's IP address will be used, and as a last resort the
939 hostname 'localhost.localdomain' is set.
940 - (update_routing_and_dns): use get_best_device(); update the system
941 hostname when the network config changes
942 - (hostname_changed): update system hostname if the system settings
943 service signals a hostname change
944 - (nm_policy_new): list for system settings service hostname changes
945 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
948 * system-settings/plugins/keyfile/plugin.c
949 system-settings/plugins/ifcfg-suse/plugin.c
950 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
951 capabilities properties
953 * system-settings/plugins/ifcfg-fedora/shvar.c
954 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
955 writes out /etc/sysconfig/network now
957 * system-settings/plugins/ifcfg-fedora/plugin.c
958 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
959 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
960 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
961 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
962 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
963 hostname get/set and capabilities get
965 2008-09-18 Dan Williams <dcbw@redhat.com>
967 * libnm-util/nm-setting-wireless.c
968 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
969 group ciphers if the wireless-security setting explicitly specified
970 them, effectively making the default be "all ciphers" (idea from
973 2008-09-15 Dan Williams <dcbw@redhat.com>
975 Patch from Alexander Sack <asac@ubuntu.com>
977 * src/named-manager/nm-named-manager.c
978 - (dispatch_resolvconf): respect resolvconf exit code
980 2008-09-12 Tambet Ingo <tambet@gmail.com>
982 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
983 again. Add some debugging.
985 2008-09-11 Dan Williams <dcbw@redhat.com>
987 * system-settings/plugins/keyfile/plugin.c
988 - (update_connection_settings): update connection manually, since
989 nm_exported_connection_update() does authentication
990 - (dir_changed): update_connection_settings() doesn't need to return
993 2008-09-09 Dan Williams <dcbw@redhat.com>
995 * libnm-glib/nm-vpn-plugin-ui-interface.c
996 libnm-glib/nm-vpn-plugin-ui-interface.h
997 libnm-glib/libnm_glib_vpn.ver
998 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
999 should clean up resources related to the connection (like keyring
1001 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1002 should save user-scope secrets (like to the keyring)
1004 2008-09-08 Dan Williams <dcbw@redhat.com>
1006 Patch from Alexander Sack <asac@ubuntu.com>
1008 * libnm-util/crypto_gnutls.c
1009 libnm-util/crypto_nss.c
1010 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1012 * libnm-util/nm-utils.c
1013 libnm-util/nm-utils.h
1014 libnm-util/libnm-util.ver
1015 - (nm_utils_init): initialize libnm-util
1016 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1018 * libnm-util/nm-setting-8021x.c
1019 - (nm_setting_802_1x_class_init): init libnm-util when needed
1021 2008-09-05 Dan Williams <dcbw@redhat.com>
1023 Patch from Roy Marples <roy@marples.name> and others
1026 src/named-manager/nm-named-manager.c
1027 - Add support for resolvconf; use --with-resolvconf at configure time
1030 2008-09-05 Dan Williams <dcbw@redhat.com>
1032 * libnm-util/crypto_nss.c
1033 libnm-util/crypto_gnutls.c
1035 - (crypto_init): return error when init fails
1037 2008-09-05 Dan Williams <dcbw@redhat.com>
1039 * libnm-glib/nm-device-wifi.c
1040 - (access_point_removed_proxy): clean up the active access point too
1041 just in case the active ap changed signal didn't come through yet
1042 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1044 2008-09-05 Dan Williams <dcbw@redhat.com>
1046 * libnm-glib/nm-client.c
1047 - (constructor): get initial state after we know whether NM is running
1050 2008-09-05 Dan Williams <dcbw@redhat.com>
1052 * libnm-glib/nm-ip4-config.c
1053 libnm-glib/nm-dhcp4-config.c
1054 - (finalize): clean up the DBusGProxy
1056 2008-09-04 Dan Williams <dcbw@redhat.com>
1058 * src/nm-ip4-config.c
1060 - (nm_ip4_config_new): don't export over D-Bus here
1061 - (nm_ip4_config_export): new function; export the config over D-Bus
1062 - (nm_ip4_config_is_exported): new function
1065 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1066 objects by balancing the IP4Config constructor; the device holds
1067 a reference to the IP4Config already
1068 - (nm_device_set_ip4_config): export the IP4Config when needed
1070 2008-09-04 Dan Williams <dcbw@redhat.com>
1072 * src/supplicant-manager/nm-supplicant-settings-verify.c
1073 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1075 2008-09-04 Dan Williams <dcbw@redhat.com>
1077 * libnm-util/nm-setting-vpn.c
1078 libnm-util/nm-setting-vpn.h
1079 - Split VPN secrets from VPN data so that settings services can actually
1080 figure out that they are secrets and store them accordingly
1082 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1083 system-settings/plugins/keyfile/reader.c
1084 system-settings/plugins/keyfile/reader.h
1085 system-settings/plugins/keyfile/writer.c
1086 - Store VPN secrets separately from VPN data so that they can be fetched
1088 - Implement the get_secrets() call so that (a) secrets don't leak out
1089 to unprivileged callers, and (b) secrets can be sent to privileged
1092 * vpn-daemons/vpnc/src/nm-vpnc-service.c
1093 - Handle split VPN secrets
1095 2008-08-27 Dan Williams <dcbw@redhat.com>
1097 * system-settings/plugins/ifcfg-fedora/reader.c
1098 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1100 2008-08-27 Dan Williams <dcbw@redhat.com>
1102 Ensure zombie children get cleaned up. To get notifications when children
1103 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1104 that requires calling waitpid() yourself if you've removed the child watch
1105 handler before the process has actually died, which NM needs to do in a few
1106 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1107 cleans up after the child when required. Should fix problems trying to
1108 activate mobile broadband connections after a previous failure.
1110 * src/dhcp-manager/nm-dhcp-dhclient.c
1111 src/dhcp-manager/nm-dhcp-dhcpcd.c
1112 - Use G_SPAWN_DO_NOT_REAP_CHILD
1114 * src/dhcp-manager/nm-dhcp-manager.c
1115 - (nm_dhcp_device_destroy): ensure child is cleaned up
1116 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1117 block on child quitting, since the non-blocking functionality was
1120 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1121 - (dm_watch_cb): child is already reaped here
1122 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1125 - (aipd_cleanup): block until child is dead
1127 * src/named-manager/nm-named-manager.c
1128 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1129 event bothering to watch the child
1131 * src/ppp-manager/nm-ppp-manager.c
1132 - (ppp_watch_cb): child is already reaped here
1133 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1135 * src/vpn-manager/nm-vpn-service.c
1136 - (vpn_service_watch_cb): child is already reaped here
1137 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1138 status of the child is actually tracked
1139 - (ensure_killed, finalize): block until child is dead
1141 2008-08-26 Dan Williams <dcbw@redhat.com>
1143 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1144 - (update): Update filename of the connection if the connection id
1147 * system-settings/plugins/keyfile/plugin.c
1148 - (dir_changed): first pass at handling connection renames correctly
1150 * system-settings/plugins/keyfile/writer.c
1151 system-settings/plugins/keyfile/writer.h
1152 - (write_connection): replace '/' with '*' when writing out the filename
1153 from the connection id
1155 2008-08-26 Dan Williams <dcbw@redhat.com>
1157 Add connection UUIDs, since connection names can be changed, and since
1158 old-style connection IDs could change over the life of the connection. The
1159 UUID should be assigned at connection creation time, be stable for a given
1160 connection, and should be unique among all connections for a given settings
1164 libnm-util/Makefile.am
1167 * introspection/nm-exported-connection.xml
1168 - Remove "GetID" method
1170 * libnm-glib/nm-dbus-connection.c
1171 libnm-glib/nm-settings.c
1172 libnm-glib/nm-settings.h
1173 - Remove id-related stuff
1175 * libnm-util/nm-utils.c
1176 libnm-util/nm-utils.h
1177 libnm-util/libnm-util.ver
1178 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1179 utility functions to generate UUIDs
1181 * libnm-util/nm-setting-connection.c
1182 libnm-util/nm-setting-connection.h
1183 - Add 'uuid' member to the connection setting
1184 - (verify): require valid 'uuid' for a valid connection
1186 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1187 system-settings/plugins/ifcfg-fedora/reader.c
1188 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1189 system-settings/plugins/ifcfg-suse/parser.c
1190 system-settings/plugins/keyfile/nm-keyfile-connection.c
1191 system-settings/src/main.c
1192 - Remove id-related stuff
1193 - Give connections UUIDs where needed
1195 2008-08-25 Dan Williams <dcbw@redhat.com>
1197 * libnm-util/crypto_gnutls.c
1198 libnm-util/crypto_nss.c
1199 - (crypto_init, crypto_deinit): refcount init/deinit
1200 - (crypto_md5_hash): allow NULL salt
1202 2008-08-22 Michael Biebl <mbiebl@gmail.com>
1204 * libnm-glib/Makefile.am
1205 libnm-util/Makefile.am
1206 libnm-glib/libnm_glib.ver
1207 libnm-glib/libnm_glib_vpn.ver
1208 libnm-util/libnm-util.ver
1209 - Use linker version scripts to control the list of exported
1210 symbols. List each exported symbol explicitely.
1211 * libnm-util/Makefile.am
1212 - Fix compilation of the test-crypto binary. The crypto
1213 functions are no longer part of the libnm-util API. Add
1214 crypto_*.c to test_crypto_SOURCES and link against the correct
1217 2008-08-19 Dan Williams <dcbw@redhat.com>
1221 - Don't build test/test-common
1222 - Remove unused stuff
1224 * test/nm-set-fallback
1225 test/nmtestdevices.c
1226 test/test-common/.cvsignore
1227 test/test-common/Makefile.am
1228 test/test-common/test-common.c
1229 test/test-common/test-common.h
1232 2008-08-18 Dan Williams <dcbw@redhat.com>
1234 * libnm-util/nm-utils.c
1235 libnm-util/nm-utils.h
1236 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1237 export anything that needs to be converted with this function
1239 * src/dhcp-manager/nm-dhcp-manager.c
1240 - (garray_to_string): convert a byte array to a UTF-8 string with
1241 minimal validation; the DHCP client sends it in ASCII anyway
1242 - (get_option, copy_option): use garray_to_string()
1244 2008-08-18 Dan Williams <dcbw@redhat.com>
1246 * include/NetworkManager.h
1247 introspection/nm-device.xml
1248 - Add a "missing firmware" device state reason
1250 * src/NetworkManagerSystem.c
1251 src/NetworkManagerSystem.h
1252 - (nm_system_device_set_up_down): add a no_firmware argument
1253 - (nm_system_device_set_up_down_with_iface): if the result of setting
1254 IFF_UP is ENOENT, that almost always means missing firmware
1256 * src/backends/NetworkManagerGeneric.c
1257 src/nm-device-ethernet.c
1258 src/nm-device-private.h
1259 src/nm-device-wifi.c
1262 src/nm-hso-gsm-device.c
1263 src/vpn-manager/nm-vpn-connection.c
1264 - Pass no_firmware along; check it where appropriate
1266 2008-08-18 Dan Williams <dcbw@redhat.com>
1268 Patch from Robert Buchholz <rbu@gentoo.org>
1272 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1273 1003.1-1988, allowing for file names longer than 99 characters
1275 2008-08-17 Dan Williams <dcbw@redhat.com>
1277 * include/NetworkManager.h
1278 introspection/nm-device.xml
1280 - Finer-grained GSM registration failure error codes
1282 2008-08-17 Dan Williams <dcbw@redhat.com>
1284 * callouts/Makefile.am
1286 - Move dispatcher directory creation to callouts/Makefile.am
1288 * system-settings/plugins/keyfile/Makefile.am
1289 - Create keyfile connections directory in DESTDIR (bgo #546833)
1291 2008-08-15 Dan Williams <dcbw@redhat.com>
1293 Do connection sharing in a cleaner manner; all required iptables rules
1294 are now stored in the activation request and pertain only to the device
1295 which is being shared to other computers. (rh #458625)
1297 * src/nm-activation-request.c
1298 src/nm-activation-request.h
1299 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1300 the activation request which will get torn down automatically when
1301 the activation request dies
1302 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1303 is started, and tear them down when sharing is stopped
1306 - (start_sharing): start up sharing by doing the required iptables magic
1307 - (share_init): poke the right bits of the kernel and load the right
1309 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1310 connection if it's a 'shared' connection
1312 * src/NetworkManagerPolicy.c
1313 - Remove all sharing stuff; done in the device code itself
1315 2008-08-15 Dan Williams <dcbw@redhat.com>
1317 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1318 - (create_dm_cmd_line): send the right router address
1320 2008-08-15 Dan Williams <dcbw@redhat.com>
1322 * src/ppp-manager/nm-ppp-manager.c
1323 - (pppd_timed_out): ensure timeouts fail the connection
1325 2008-08-14 Dan Williams <dcbw@redhat.com>
1327 * src/nm-properties-changed-signal.c
1328 src/nm-properties-changed-signal.h
1329 - Add a property spec flag for "don't export this property" in
1330 property changed signals
1332 * src/nm-hso-gsm-device.c
1334 src/nm-cdma-device.c
1335 - Don't export monitor interface or netdev interface properties
1337 2008-08-14 Dan Williams <dcbw@redhat.com>
1339 * src/NetworkManagerPolicy.c
1340 - (update_routing_and_dns): 'hso' devices can be default even if they
1341 don't have a gateway
1343 2008-08-14 Dan Williams <dcbw@redhat.com>
1346 - (nm_device_deactivate_quickly): tear down activation request after
1347 calling device-specific deactivation
1349 * src/nm-hso-gsm-device.c
1350 - (real_deactivate_quickly): terminate connection when deactivating
1352 2008-08-14 Dan Williams <dcbw@redhat.com>
1354 * src/nm-activation-request.h
1355 - Add HSO secrets caller
1357 * src/nm-gsm-device.c
1359 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1360 something to the callback function
1361 - (set_apn, set_apn_done): call class dial function, not a static one
1362 - (nm_gsm_device_class_init): add a class 'dial' function
1364 * src/nm-hal-manager.c
1365 - (get_hso_netdev): find the hso-driven hardware's net device
1366 - (modem_device_creator): recognize hso-driven hardware and create the
1367 right type of device object for it
1370 src/nm-hso-gsm-device.c
1371 src/nm-hso-gsm-device.h
1372 - Implement support for devices driven by the 'hso' driver as a subclass
1375 2008-08-14 Dan Williams <dcbw@redhat.com>
1377 * src/NetworkManagerSystem.c
1378 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1379 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1380 success if the operation really was successful
1382 2008-08-14 Dan Williams <dcbw@redhat.com>
1384 * src/nm-netlink-monitor.c
1385 src/nm-netlink-monitor.h
1386 src/nm-device-ethernet.c
1387 - (nm_netlink_monitor_request_status): return an error on failure
1388 - (constructor): don't segfault on missing error
1390 2008-08-13 Dan Williams <dcbw@redhat.com>
1392 * callouts/nm-dispatcher-action.c
1393 - Add IP4 config info to script environment
1395 2008-08-12 Dan Williams <dcbw@redhat.com>
1398 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1399 that want to use DHCP hostnames should use dispatcher scripts
1402 * src/NetworkManagerSystem.h
1403 src/backends/NetworkManagerArch.c
1404 src/backends/NetworkManagerDebian.c
1405 src/backends/NetworkManagerFrugalware.c
1406 src/backends/NetworkManagerGeneric.c
1407 src/backends/NetworkManagerGeneric.h
1408 src/backends/NetworkManagerGentoo.c
1409 src/backends/NetworkManagerMandriva.c
1410 src/backends/NetworkManagerPaldo.c
1411 src/backends/NetworkManagerRedHat.c
1412 src/backends/NetworkManagerSlackware.c
1413 src/backends/NetworkManagerSuSE.c
1414 - Remove nm_system_set_hostname(), no longer used
1416 * src/backends/Makefile.am
1417 src/backends/shvar.c
1418 src/backends/shvar.h
1419 - Remove shvar.*; no longer used
1421 2008-08-12 Dan Williams <dcbw@redhat.com>
1423 Revert most of the 'hostname' patch. Too much stuff still breaks when
1424 hostname is updated at runtime. Distros or users who want hostname updates
1425 can use dispatcher scripts to update the hostname if they need it.
1427 2008-08-12 Dan Williams <dcbw@redhat.com>
1429 * introspection/nm-settings-system.xml
1430 system-settings/src/dbus-settings.c
1431 system-settings/src/dbus-settings.h
1432 - Add a 'Hostname' property (rw) which represents the configured
1433 hostname and domain of the system, if any
1435 * system-settings/src/nm-system-config-error.c
1436 system-settings/src/nm-system-config-error.h
1437 system-settings/src/nm-system-config-interface.c
1438 system-settings/src/nm-system-config-interface.h
1439 - Add a 'hostname' property to the plugin interface
1440 - Add a method to send updated hostname to plugins to save in their
1441 backing configuration store
1443 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1444 system-settings/plugins/keyfile/plugin.c
1445 system-settings/plugins/keyfile/writer.c
1446 system-settings/plugins/keyfile/writer.h
1447 system-settings/plugins/ifcfg-suse/plugin.c
1448 - Add minimal hostname support
1450 * system-settings/plugins/ifcfg-fedora/plugin.c
1451 - Add support for updating system hostname in /etc/sysconfig/network
1453 2008-08-12 Dan Williams <dcbw@redhat.com>
1455 * system-settings/plugins/ifcfg-fedora/shvar.c
1456 system-settings/plugins/ifcfg-fedora/shvar.c
1457 - Fix double-free caused by svSetValue() followed by svCloseFile()
1459 2008-08-12 Tambet Ingo <tambet@gmail.com>
1461 * Makefile.am: Fix distcheck.
1463 2008-08-12 Tambet Ingo <tambet@gmail.com>
1465 * libnm-glib/*.c. Document some more.
1467 2008-08-12 Tambet Ingo <tambet@gmail.com>
1469 Start documenting libnm-glib public API using gtk-doc.
1471 * libnm-glib/nm-serial-device.c:
1472 * libnm-glib/nm-object.c:
1473 * libnm-glib/nm-gsm-device.c:
1474 * libnm-glib/nm-device.c:
1475 * libnm-glib/nm-device-wifi.c:
1476 * libnm-glib/nm-device-ethernet.c:
1477 * libnm-glib/nm-client.c:
1478 * libnm-glib/nm-cdma-device.c: Document the public API.
1480 * docs/libnm-glib/libnm-glib.types: Implement.
1482 * docs/libnm-glib/Makefile.am: Implement.
1486 * Makefile.am: Add gtk-doc support.
1488 2008-08-12 Tambet Ingo <tambet@gmail.com>
1490 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1492 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1493 the composite result of all the IP4 configurations and call a distro
1494 specific update_resolv_conf().
1495 (update_resolv_conf): Implement one for directly writing to
1496 /etc/resolv.conf and one for opensuse to call netconfig.
1498 2008-08-11 Dan Williams <dcbw@redhat.com>
1500 * src/ppp-manager/nm-ppp-manager.c
1501 - (impl_ppp_manager_need_secrets): pass interface as required
1503 2008-08-11 Dan Williams <dcbw@redhat.com>
1505 Merge the vpn-properties setting with the vpn setting since it was pointless
1506 to keep both of them around. Convert the vpn 'data' hash table to a hash
1507 of string:string (instead of string:variant) so that system settings plugins
1508 can have an easier time dealing with the arbitrary key/value pairs.
1510 2008-08-11 Dan Williams <dcbw@redhat.com>
1512 * libnm-util/nm-utils.c
1513 - (nm_utils_register_value_transformations): add value transform for
1514 a hash table of string:string
1516 2008-08-10 Dan Williams <dcbw@redhat.com>
1518 * libnm-glib/nm-vpn-plugin.c
1519 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1520 an idle handler so the Connect reply gets delivered before the
1521 stop StateChanged signal
1523 2008-08-10 Dan Williams <dcbw@redhat.com>
1525 * src/nm-ip4-config.c
1526 - (get_property): use common ip4 address/route conversion functions
1527 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1528 copy the new route here, not take ownership
1530 2008-08-08 Tambet Ingo <tambet@gmail.com>
1532 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1533 Update the IP4 setting's method name.
1535 2008-08-07 Dan Williams <dcbw@redhat.com>
1537 * introspection/nm-ip4-config.xml
1538 libnm-glib/libnm-glib-test.c
1539 libnm-glib/nm-ip4-config.c
1540 libnm-glib/nm-ip4-config.h
1541 src/NetworkManagerSystem.h
1542 src/backends/NetworkManagerArch.c
1543 src/backends/NetworkManagerDebian.c
1544 src/backends/NetworkManagerFrugalware.c
1545 src/backends/NetworkManagerGeneric.c
1546 src/backends/NetworkManagerGeneric.h
1547 src/backends/NetworkManagerGentoo.c
1548 src/backends/NetworkManagerMandriva.c
1549 src/backends/NetworkManagerPaldo.c
1550 src/backends/NetworkManagerRedHat.c
1551 src/backends/NetworkManagerSlackware.c
1552 src/backends/NetworkManagerSuSE.c
1553 src/dhcp-manager/nm-dhcp-manager.c
1557 - Remove NIS logic; should be done from dispatcher scripts instead
1559 2008-08-07 Dan Williams <dcbw@redhat.com>
1561 * src/dhcp-manager/nm-dhcp-manager.c
1562 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1563 mis-handling of DHCP responses that returned more than one router
1564 (found by Grant Williamson)
1566 2008-08-07 Dan Williams <dcbw@redhat.com>
1568 * callouts/nm-dispatcher-action.c
1569 - (nm_dispatcher_action): grab device path and create the device; pass
1570 the device's DHCP4 config to script caller
1571 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1574 * libnm-glib/nm-dhcp4-config.c
1575 libnm-glib/nm-dhcp4-config.h
1576 - (nm_dhcp4_config_get_options): expose
1577 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1579 2008-08-07 Dan Williams <dcbw@redhat.com>
1581 * include/NetworkManager.h
1582 - Add the DHCP4Config D-Bus interface
1584 * libnm-glib/Makefile.am
1585 libnm-glib/nm-dhcp4-config.c
1586 libnm-glib/nm-dhcp4-config.h
1587 - Handle DHCP4 config objects exported by NM over D-Bus
1589 * libnm-glib/nm-device.c
1590 libnm-glib/nm-device.h
1591 - Add a 'dhcp4-config' property
1593 * libnm-glib/libnm-glib-test.c
1594 - Print out DHCP4 config for devices
1595 - Fix some crashes when no connections are active
1597 * src/nm-device-interface.c
1599 src/nm-dhcp4-config.c
1600 src/nm-dhcp4-config.h
1601 - Treat dhcp4-config object as an object path at the D-Bus interface so
1602 that when it doesn't exist we can proxy it as "/" which dbus-glib
1603 doesn't let us do when the property type is G_TYPE_OBJECT
1605 2008-08-07 Dan Williams <dcbw@redhat.com>
1607 * src/NetworkManager.c
1608 src/NetworkManagerSystem.h
1609 src/backends/NetworkManagerArch.c
1610 src/backends/NetworkManagerDebian.c
1611 src/backends/NetworkManagerFrugalware.c
1612 src/backends/NetworkManagerGeneric.c
1613 src/backends/NetworkManagerGeneric.h
1614 src/backends/NetworkManagerGentoo.c
1615 src/backends/NetworkManagerMandriva.c
1616 src/backends/NetworkManagerPaldo.c
1617 src/backends/NetworkManagerRedHat.c
1618 src/backends/NetworkManagerSlackware.c
1619 src/backends/NetworkManagerSuSE.c
1620 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1622 2008-08-06 Dan Williams <dcbw@redhat.com>
1624 * libnm-glib/nm-ip4-config.c
1625 libnm-glib/nm-ip4-config.h
1626 - Add 'routes' property
1628 * libnm-util/nm-setting-vpn.c
1629 libnm-util/nm-setting-vpn.h
1630 - Remove 'routes' property
1632 * libnm-util/nm-setting-ip4-config.c
1633 libnm-util/nm-setting-ip4-config.h
1634 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1635 - Add 'ignore-auto-routes' property
1636 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
1637 accomodate route metrics
1638 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1640 * libnm-util/nm-utils.c
1641 libnm-util/nm-utils.h
1642 - Add helpers for marshalling IP4 routes
1644 * src/NetworkManagerUtils.c
1645 - (nm_utils_merge_ip4_config): handle property renames and new route
1648 * src/NetworkManagerSystem.c
1649 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1650 nm_system_vpn_device_set_from_ip4_config): respect route metrics
1652 * src/dhcp-manager/nm-dhcp-manager.c
1653 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1655 * system-settings/plugins/ifcfg-fedora/reader.c
1656 system-settings/plugins/ifcfg-fedora/writer.c
1657 - Handle routes separately from addresses now that routes have a different
1660 * introspection/nm-ip4-config.xml
1663 - Rename internal routing functions
1664 - 'static-routes' renamed to 'routes'
1666 2008-08-04 Dan Williams <dcbw@redhat.com>
1668 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1670 * src/NetworkManager.c
1673 - More explicitly make the NMManager a singleton
1675 2008-08-04 Dan Williams <dcbw@redhat.com>
1677 * libnm-util/nm-connection.c
1678 libnm-util/nm-connection.h
1679 - (nm_connection_verify): return error on missing 'connection' setting
1680 (found by Sjoerd Simons)
1682 2008-08-04 Dan Williams <dcbw@redhat.com>
1684 Handle multiple concurrent PPP connections.
1686 * src/ppp-manager/nm-ppp-manager.c
1687 src/ppp-manager/nm-ppp-manager.h
1688 - (constructor): only PPP Manager request bus name once; each
1689 NMPPPManager object gets a unique object path
1690 - (nm_ppp_manager_class_init, get_property, set_property,
1691 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1693 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1694 remove timeout until PPP manager gets an IP4 config
1695 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1696 the plugin can call back to this specific PPP manager instance
1698 * src/nm-device-ethernet.c
1699 src/nm-serial-device.c
1700 - Pass parent device in nm_ppp_manager_new()
1702 * src/nm-gsm-device.c
1703 src/nm-cdma-device.c
1704 - (device_state_changed): don't close serial device on NEED_AUTH
1705 state changed, that's not a failure case like the rest are
1707 * src/ppp-manager/nm-pppd-plugin.c
1708 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1709 binds one interface to any pppd process, thus the correct index
1710 is always 0; send PHASE_DEAD on error to alert NM immediately of
1711 problems; try harder to get a peer address in spite of pppd
1712 - (plugin_init): use 'ipparam' as the object path back to our specific
1713 PPP manager instance
1715 2008-08-04 Dan Williams <dcbw@redhat.com>
1717 * src/ppp-manager/nm-ppp-manager.c
1718 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1719 since the GSM and CDMA settings now implement need_secrets, we can
1720 rely on them to do the right thing. Where secrets are not required,
1721 just pass empty strings back to the pppd plugin.
1722 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1723 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1724 on successful IP4 config receipt
1726 2008-08-04 Dan Williams <dcbw@redhat.com>
1728 * libnm-util/nm-setting-cdma.c
1729 libnm-util/nm-setting-gsm.c
1730 - (verify): validate username & password if they exist
1731 - (need_secrets): if username given, require a password too
1733 2008-08-04 Dan Williams <dcbw@redhat.com>
1735 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1736 - (create_dm_cmd_line): really don't listen on lo, despite what the
1737 manpage says about --listen-address without --interface
1740 2008-08-01 Dan Williams <dcbw@redhat.com>
1742 * libnm-glib/nm-device.c
1743 - (proxy_get_string): util function for querying a HAL property
1744 - (get_ancestor_device): split out from get_product_and_vendor()
1745 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1746 from PCI devices by querying subsys properties
1747 - (nm_device_update_description): simplify
1749 2008-08-01 Dan Williams <dcbw@redhat.com>
1751 * libnm-util/nm-setting-ip4-config.c
1752 libnm-util/nm-setting-ip4-config.h
1753 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1754 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
1755 settings, and they don't necessarily use DHCP.
1757 * src/NetworkManagerPolicy.c
1759 system-settings/plugins/ifcfg-fedora/reader.c
1760 system-settings/plugins/ifcfg-suse/parser.c
1761 - Fixup for method changes
1763 2008-07-31 Dan Williams <dcbw@redhat.com>
1765 * src/nm-activation-request.c
1766 src/vpn-manager/nm-vpn-connection.c
1767 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1768 itself should be attached to the activation request or the VPN
1769 connection, not the NMConnection object, since the call is not
1770 expected to live as long as the NMConnection itself
1772 2008-07-31 Dan Williams <dcbw@redhat.com>
1774 * src/nm-device-wifi.c
1775 - (real_act_stage2_config): fix issue where association would continue
1776 even though secrets were needed; 'goto out' was in wrong scope and
1777 result of handle_auth_or_fail() should have been dumped directly to
1778 'ret' to ensure that the association was postponed until secrets
1781 2008-07-31 Dan Williams <dcbw@redhat.com>
1783 * system-settings/plugins/ifcfg-fedora/plugin.c
1784 system-settings/plugins/ifcfg-fedora/reader.c
1785 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1788 2008-07-29 Dan Williams <dcbw@redhat.com>
1790 * src/nm-gsm-device.c
1791 - (automatic_registration_response, automatic_registration): recognize
1792 denied registration and reorder responses
1794 2008-07-29 Dan Williams <dcbw@redhat.com>
1796 * src/nm-serial-device.c
1797 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
1798 time(2) is used for current time, which returns seconds, we shouldn't
1799 be multiplying by 1000.
1801 2008-07-28 Dan Williams <dcbw@redhat.com>
1803 Patch from Fabrice Bellet <fabrice@bellet.info>
1805 * src/NetworkManagerSystem.c
1806 - (route_in_same_subnet): mask addresses and compare them so that the
1807 function actually does what it says it's going to do (rh #456685)
1809 2008-07-27 Dan Williams <dcbw@redhat.com>
1811 * libnm-util/nm-setting-ip6-config.c
1812 - (set_property): add missing break that caused routes to be overwritten
1815 * libnm-util/nm-setting-ip6-config.c
1816 - (verify): validate routes and return GError everywhere on invalid setting
1817 - (finalize): don't leak routes
1818 - (set_property): add missing break that caused routes to be overwritten
1821 2008-07-27 Dan Williams <dcbw@redhat.com>
1824 - Relicense to LGPLv2+
1826 2008-07-27 Dan Williams <dcbw@redhat.com>
1828 * system-settings/plugins/ifcfg-fedora/reader.c
1829 - (make_ip4_setting): fix parsing automatic configs
1831 2008-07-27 Dan Williams <dcbw@redhat.com>
1833 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1835 src/ppp-manager/nm-ppp-manager.c
1836 - Ensure child process gets reaped. The child watch function may be
1837 removed from the mainloop before the child gets killed, so we have
1838 to make sure the child is reaped when it's told to die intentionally
1840 2008-07-27 Dan Williams <dcbw@redhat.com>
1842 Patch from Roy Marples <roy@marples.name>
1844 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1845 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1847 2008-07-27 Dan Williams <dcbw@redhat.com>
1849 * src/nm-gsm-device.c
1850 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1851 Huawei devices turn echo back on after CPIN (rh #456770)
1853 2008-07-24 Tambet Ingo <tambet@gmail.com>
1855 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1856 format argument to g_set_error() call.
1858 * src/backends/interface_parser.[ch]: Remove.
1860 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1862 2008-07-21 Dan Williams <dcbw@redhat.com>
1864 * src/ppp-manager/nm-ppp-manager.c
1865 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1866 to prevent pppd from picking up some random local address from an
1867 interface that doesn't have anything to do with the one we're
1868 interested in (rh #455348)
1870 2008-07-17 Dan Williams <dcbw@redhat.com>
1872 * libnm-util/nm-utils.c
1873 - (string_to_utf8): general function for conversion to UTF-8 assisted
1875 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1876 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1878 2008-07-17 Dan Williams <dcbw@redhat.com>
1880 * introspection/Makefile.am
1881 introspection/nm-device.xml
1882 introspection/nm-dhcp4-config.xml
1883 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1885 * src/nm-device-interface.c
1886 src/nm-device-interface.h
1887 - Add the DHCP4Config property
1890 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1891 D-Bus clients when it changes
1893 * src/nm-dhcp4-config.c
1894 src/nm-dhcp4-config.h
1895 - Simple object to store DHCP4 options, export them over D-Bus, and
1896 notify when they change
1898 * src/dhcp-manager/nm-dhcp-manager.c
1899 src/dhcp-manager/nm-dhcp-manager.h
1900 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1901 filter server-returned DHCP options into an NMDHCP4Config object
1903 2008-07-16 Dan Williams <dcbw@redhat.com>
1905 * introspection/nm-device.xml
1906 - Add device state reasons
1908 2008-07-16 Dan Williams <dcbw@redhat.com>
1910 Patch from Roy Marples <roy@marples.name>
1913 - Add --with-dhcp-client option
1915 * src/dhcp-manager/Makefile.am
1916 - pass DHCP_CLIENT_PATH on compile line
1918 * src/dhcp-manager/nm-dhcp-manager.c
1919 src/dhcp-manager/nm-dhcp-manager.h
1920 - Genericize for both dhcpcd and dhclient
1922 * src/dhcp-manager/nm-dhcp-dhclient.c
1923 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1925 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1926 - Implement support for dhcpcd too
1928 2008-07-16 Tambet Ingo <tambet@gmail.com>
1930 * system-settings/src/nm-system-config-interface.c
1931 (nm_system_config_interface_supports_add): Implement.
1932 (nm_system_config_interface_add_connection): Return a boolean to notify
1935 * system-settings/src/nm-polkit-helpers.c:
1936 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1939 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1940 Return an error when none of the plugins support add or if addition
1941 failed for some reason.
1943 * system-settings/src/nm-system-config-error.h:
1944 * system-settings/src/nm-system-config-error.c: New files, mostly moved
1945 here from nm-polkit-helpers.[ch].
1947 * system-settings/src/Makefile.am: Build new files.
1949 * system-settings/plugins/keyfile/reader.c
1950 (read_array_of_array_of_uint): Make it more general so that it would
1951 work for routes as well.
1953 * system-settings/plugins/keyfile/writer.c
1954 (write_array_of_array_of_uint): Ditto.
1955 Fix the netmask/prefix writing.
1957 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1958 boolean to notify errors.
1960 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1961 Return more specific error.
1964 2008-07-11 Dan Williams <dcbw@redhat.com>
1966 Modify the NMDevice::state-changed signal to include the previous state
1967 and reason. Enables the applet to provide more information why device
1970 2008-07-09 Dan Williams <dcbw@redhat.com>
1972 * callouts/Makefile.am
1973 callouts/nm-avahi-autoipd-action.c
1974 callouts/nm-avahi-autoipd.conf
1975 - avahi-autoipd callout to send options back to NM
1982 src/nm-device-private.h
1984 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1987 2008-07-07 Dan Williams <dcbw@redhat.com>
1989 * system-settings/plugins/ifcfg-fedora/reader.c
1990 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1991 handle PREFIX too; clean up
1993 2008-07-07 Dan Williams <dcbw@redhat.com>
1995 Convert to using IPv4 prefixes instead of netmasks.
1997 2008-07-03 Dan Williams <dcbw@redhat.com>
1999 * libnm-util/nm-setting-ip4-config.c
2000 libnm-util/nm-setting-ip4-config.h
2001 - Add properties for DHCP Client Identifier and DHCP Hostname
2003 * src/dhcp-manager/nm-dhcp-manager.c
2004 src/dhcp-manager/nm-dhcp-manager.h
2005 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2006 setting as an argument to pass on to the dhclient config file
2008 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2010 - (dhclient_run): punt config file handling to create_dhclient_config()
2011 - (create_dhclient_config): create an interface-specific dhclient
2012 config file since there may need to be interface-specific options
2014 - (merge_dhclient_config): merge normal distro dhclient config file and
2015 add options from the connection
2016 - (nm_dhcp_device_new): generate the interface specific dhclient
2017 config file path once
2018 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2019 dhclient config file path
2022 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2023 DHCP manager when starting DHCP
2025 2008-07-02 Dan Williams <dcbw@redhat.com>
2027 * libnm-util/nm-setting-8021x.c
2028 - (verify): allow forcing the PEAP label to 0
2030 2008-07-02 Dan Williams <dcbw@redhat.com>
2032 * introspection/nm-active-connection.xml
2033 introspection/nm-vpn-connection.xml
2034 libnm-glib/nm-active-connection.c
2035 src/nm-activation-request.c
2036 src/nm-active-connection.h
2037 src/vpn-manager/nm-vpn-connection.c
2038 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2039 and libnm-glib API since sharing didn't get implemented that way
2041 2008-07-02 Dan Williams <dcbw@redhat.com>
2043 * src/nm-device-wifi.c
2044 - (can_scan): don't scan when a shared connection is activated since
2045 that makes drivers mad (causing disconnects); also NM doesn't need
2046 to hedge against disconnects by keeping up-to-date network topology
2047 because the connection originates from the local machine, and thus
2048 there should be no disconnects
2050 2008-07-01 Dan Williams <dcbw@redhat.com>
2052 Fix mobile broadband username/password issues. NM was never requesting
2053 mobile broadband secrets, nor was it passing back the username and password
2056 * marshallers/nm-marshal.list
2057 - Add some new types for activation request objects
2059 * src/nm-activation-request.c
2060 src/nm-activation-request.h
2061 - (get_secrets_cb): pass the caller type in the signal
2062 - (nm_act_request_request_connection_secrets): take a caller type, so
2063 that GetSecrets() reply handlers know who asked for the secrets in
2064 the first place; use secret hints too so the settings service can
2065 figure out exactly what NM wants (ie, PIN or the PPP password)
2067 * src/ppp-manager/nm-ppp-manager.c
2068 src/ppp-manager/nm-ppp-manager.h
2069 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2070 detect needed secrets when the secret could be blank, like GSM/CDMA
2071 passwords. So always ask for secrets, and send a hint as to what
2072 secret we really want.
2073 - (nm_ppp_manager_update_secrets): make function more generic by making
2074 the device specific class figure out the username and password, and
2075 accept an error argument to return back over D-Bus
2077 * src/nm-device-wifi.c
2078 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2079 nm_act_request_request_connection_secrets()
2080 - (real_connection_secrets_updated): update for 'caller' changes
2084 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2085 for 'caller' changes
2087 * src/nm-device-ethernet.c
2088 - (real_connection_secrets_updated): update for 'caller' changes and
2089 move logic for getting PPPoE username and password here before
2090 calling nm_ppp_manager_update_secrets()
2091 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2092 nm_act_request_request_connection_secrets()
2094 * src/nm-cdma-device.c
2095 - (real_connection_secrets_updated): pass username and password back
2096 to the PPP manager when required
2098 * src/nm-gsm-device.c
2099 - (enter_pin): send the required secret name to the settings service
2100 - (real_connection_secrets_updated): pass username and password back
2101 to the PPP manager when required
2103 2008-06-30 Dan Williams <dcbw@redhat.com>
2105 * src/nm-device-wifi.c
2106 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2108 2008-06-30 Dan Williams <dcbw@redhat.com>
2110 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
2111 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2112 priv->supplicant.iface. When either condition is false, the device should
2113 transition back to UNAVAILABLE because it cannot be used.
2115 * src/nm-device-wifi.c
2116 - (constructor): cleanup; connect to supplicant manager here since the
2117 supplicant manager is always around
2118 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2119 ensure the supplicant manager is in the IDLE state
2120 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2121 cancel any pending scans too
2122 - (real_bring_up): don't set up the supplicnat interface here, because
2123 we need the supplicant interface at times when the device may not
2125 - (real_take_down): just remove the periodic source
2126 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2127 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2128 do anything if there's no supplicant interface
2129 - (cleanup_association_attempt): cleanup
2130 - (supplicant_iface_state_cb_handler): request an immediate scan when
2131 the interface enters the READY state; transition to UNAVAILABLE
2132 state when the interface goes down because the device can't be used
2133 without a supplicant interface
2134 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2135 up and transition to UNAVAILABLE; if the supplicant becomes ready,
2136 acquire the supplicant interface and transition to DISCONNECTED
2137 if the radio isn't killed
2138 - (nm_device_wifi_dispose): move most of device_cleanup() here
2139 - (state_changed_cb): release any existing supplicant interface; if the
2140 radio is enabled then try to acquire a new supplicant interface;
2141 if the radio is enabled and a supplicant interface has been acquired,
2142 we can transition to DISCONNECTED
2143 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2144 don't enable the radio, because HAL probably lied to us about the
2145 killswitch being off. If bringing the hardware up worked, then
2146 try to grab a supplicant interface, and if that was successful,
2147 transition to DISCONNECTED
2149 2008-06-30 Dan Williams <dcbw@redhat.com>
2151 * src/supplicant-manager/nm-supplicant-interface.c
2152 - (request_scan_results, nm_supplicant_interface_dispose,
2153 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2154 the id of the timeout, not a GSource
2156 2008-06-30 Tambet Ingo <tambet@gmail.com>
2158 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
2159 bunch of typoes introduced by "Patch from David Cantrell
2160 <dcantrell@redhat.com> and me".
2162 2008-06-30 Tambet Ingo <tambet@gmail.com>
2164 * src/nm-serial-device.c:
2165 * src/nm-gsm-device.c:
2166 * src/nm-cdma-device.c: Move the pending call handling to a common location
2167 in serial device. Handle setting device state to failed in one place as well.
2169 2008-06-29 Dan Williams <dcbw@redhat.com>
2171 * src/nm-hal-manager.c
2172 - Rework killswitch handling to query killswitch status immediately
2173 when the first killswitch is added, so that rfkill state is
2174 known as early as possible
2175 - Also treat failure of GetPower() as rfkill when the dbus method
2176 call times out (but not when the HAL callout returns an error)
2178 2008-06-26 Dan Williams <dcbw@redhat.com>
2180 Patch from David Cantrell <dcantrell@redhat.com> and me
2182 * include/nm-dbus-glib-types.h
2183 - Add IP6 address types
2185 * libnm-util/Makefile.am
2186 libnm-util/nm-setting-ip6-config.c
2187 libnm-util/nm-setting-ip6-config.h
2188 - Add IP6 settings object
2190 * libnm-util/nm-connection.c
2191 - (register_default_settings): register ip6 settings object
2193 * libnm-util/nm-utils.c
2194 libnm-util/nm-utils.h
2195 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2196 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2197 ip6 address conversion functions
2199 2008-06-26 Dan Williams <dcbw@redhat.com>
2201 Patch from David Cantrell <dcantrell@redhat.com>
2203 * Use inet_ntop() and inet_pton() everwhere and check for errors
2205 2008-06-26 Dan Williams <dcbw@redhat.com>
2207 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2209 2008-06-26 Dan Williams <dcbw@redhat.com>
2211 Patch from Adel Gadllah <adel.gadllah@gmail.com>
2213 * src/nm-device-wifi.c
2214 - (link_timeout_cb): don't ignore disconnects due to scanning
2215 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2216 a longer timeout when scanning; avoids case where supplicant can't
2217 find the AP and just keeps scanning forever but isn't connected
2219 2008-06-26 Dan Williams <dcbw@redhat.com>
2221 Patch from Michael Biebl <biebl@debian.org>
2223 * Clean up build system stuff
2225 2008-06-23 Christian Persch <chpe@gnome.org>
2227 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2228 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2229 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2231 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2233 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2234 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2235 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2237 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2238 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2239 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2240 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2241 * vpn-daemons/pptp/properties/vpnui_opt.c:
2242 (vpnui_opt_connect_signals):
2243 * vpn-daemons/pptp/properties/vpnui_opt.h:
2244 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2245 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2246 deprecated gtk type macros. Bug #539325.
2248 2008-06-20 Dan Williams <dcbw@redhat.com>
2250 * libnm-glib/nm-vpn-plugin-ui-interface.c
2251 libnm-glib/nm-vpn-plugin-ui-interface.h
2252 - 'validity-changed' -> 'changed' to work better with the connection
2253 editor. Plugin UI widgets should emit 'changed' whenever their
2254 UI values change in a meaningful way.
2255 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2256 update_connection member now returns validity of the UI widget
2258 2008-06-20 Tambet Ingo <tambet@gmail.com>
2260 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2262 2008-06-17 Dan Williams <dcbw@redhat.com>
2264 * libnm-glib/nm-vpn-plugin-ui-interface.c
2265 libnm-glib/nm-vpn-plugin-ui-interface.h
2266 - Add "desc" property for longer descriptions of the VPN plugin
2268 2008-06-16 Dan Williams <dcbw@redhat.com>
2271 libnm-glib/libnm_glib_vpn.pc.in
2272 - add a .pc file for libnm_glib_vpn
2274 * libnm-glib/nm-vpn-plugin-ui-interface.c
2275 libnm-glib/nm-vpn-plugin-ui-interface.h
2276 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2277 rework it substantially
2279 2008-06-12 Dan Williams <dcbw@redhat.com>
2281 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2282 and add error enums to each NMSetting subclass. Each NMSetting subclass now
2283 returns a descriptive GError when verification fails.
2285 2008-06-11 Dan Williams <dcbw@redhat.com>
2287 Patch from Tambet Ingo <tambet@gmail.com>
2289 * libnm-util/nm-setting-gsm.c
2290 - (verify): validate APN
2292 * src/nm-gsm-device.c
2293 - (manual_registration_done): start setting APN if needed
2294 - (set_apn, set_apn_done): set the APN
2295 - (do_dial): use the APN when dialing
2297 2008-06-11 Dan Williams <dcbw@redhat.com>
2299 * src/NetworkManagerSystem.c
2300 - (nm_system_device_set_ip4_route,
2301 nm_system_device_replace_default_ip4_route): check for the right
2302 return value from rtnl_route_add() to know when to add a gateway
2305 2008-06-11 Dan Williams <dcbw@redhat.com>
2307 * src/NetworkManagerPolicy.c
2308 - do_ipt_cmd -> do_cmd
2309 - (sharing_init): use do_cmd() instead of system()
2311 2008-06-10 Dan Williams <dcbw@redhat.com>
2313 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2314 and use "wifi" everwhere instead.
2316 2008-06-10 Dan Williams <dcbw@redhat.com>
2318 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2320 2008-06-10 Dan Williams <dcbw@redhat.com>
2322 Patch from Tambet Ingo <tambet@gmail.com>
2324 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2327 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2328 a signal to emit these changes over dbus.
2330 * src/Makefile.am: Genereate nm-serial-device-glue.
2332 * libnm-glib/nm-serial-device.[ch]: Implement.
2334 * libnm-glib/nm-cdma-device.[ch]
2335 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2337 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2339 * introspection/nm-device-serial.xml: Implement.
2341 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2343 * introspection/Makefile.am: Add nm-device-serial.xml.
2345 * include/NetworkManager.h: Add a DBus interface for serial device.
2347 2008-06-10 Dan Williams <dcbw@redhat.com>
2350 - Add TARGET_* define to config.h to distinguish distros
2352 * src/dhcp-manager/nm-dhcp-manager.c
2353 - (dhclient_run): use distro-specific path for dhclient config file
2355 2008-06-09 Dan Williams <dcbw@redhat.com>
2357 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2358 src/dnsmasq-manager/nm-dnsmasq-manager.h
2359 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2360 calculate the addresses passed to dnsmasq instead of hard-coding
2364 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2365 IP addresses for shared connections to guard against shared
2366 connection address collisions
2367 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2369 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2372 2008-06-09 Dan Williams <dcbw@redhat.com>
2374 * src/NetworkManagerPolicy.c
2375 - (update_routing_and_dns): set the default connection _after_ unsetting
2376 default on all non-default connections so that two connections can
2377 never be default at the same time
2378 - (device_state_changed): start and stop connection sharing when
2380 - (active_connection_default_changed): restart or stop sharing when
2381 the default connection changes to keep shared connections always
2382 NAT-ed through the default connection
2383 - (check_sharing): handle activation/deactivation of shared connections
2384 - (sharing_restart): atom-bomb approach to connection sharing until we
2385 can use libnl; reinit all sharing when the default connection or
2386 shared connections change
2387 - (sharing_init, sharing_stop): evil functions that init and deinit
2390 2008-06-09 Dan Williams <dcbw@redhat.com>
2392 * src/nm-activation-request.c
2393 src/nm-activation-request.h
2394 - (nm_act_request_set_shared, nm_act_request_get_shared,
2395 nm_act_request_get_device): new functions to facilitate connection
2398 2008-06-09 Dan Williams <dcbw@redhat.com>
2401 - (clear_act_request): unset the 'default' property of the activation
2402 request when clearing it to ensure the property changed signal gets
2403 delivered and handled
2405 2008-06-09 Dan Williams <dcbw@redhat.com>
2407 * libnm-glib/nm-device-802-11-wireless.c
2408 - (access_point_removed_proxy): actually unref the AP after removing
2409 it from the device's AP list. Fixes refcounting bug for APs that
2410 caused them to get mixed up in the applet's menu.
2412 2008-06-09 Tambet Ingo <tambet@gmail.com>
2414 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2415 (nm_dhcp_device_destroy): Destroy the device options hash table.
2417 2008-06-06 Dan Williams <dcbw@redhat.com>
2419 * system-settings/src/nm-polkit-helpers.c
2420 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2421 unref the context if the initialization fails; also avoid spew when
2424 2008-06-06 Dan Williams <dcbw@redhat.com>
2426 Patch from Tambet Ingo <tambet@gmail.com>
2428 * src/NetworkManagerSystem.c
2429 src/NetworkManagerSystem.h
2430 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2431 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2432 - (nm_system_device_set_ip4_route): clean up
2433 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2436 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2438 * src/vpn-manager/nm-vpn-connection.c
2439 - (ip_address_to_string): new function
2440 - (print_vpn_config): use ip_address_to_string
2441 - (merge_vpn_routes): add user-defined routes to the ip4 config
2442 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2444 * include/NetworkManagerVPN.h
2447 2008-06-05 Dan Williams <dcbw@redhat.com>
2449 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2452 - Show which device is the default device
2454 2008-06-05 Tambet Ingo <tambet@gmail.com>
2458 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2459 Free data returned from dbus method call.
2461 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2462 dbus_g_method_get_sender() returns a duplicated string, free it
2464 (check_polkit_privileges): Looks like policykit sometimes returns
2465 error and non-null return value, don't leak errors in that case.
2467 * system-settings/src/main.c (find_plugin): Don't leak existing
2469 (load_stuff): Don't leak device list and list items.
2470 (have_connection_for_device): Don't leak connection list.
2472 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2473 Free the data received from g_keyfile_get_*.
2475 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2476 the key when the security object is updated.
2478 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2479 Free data returned from dbus method call.
2480 (iface_state_cb): Ditto.
2481 (add_network_cb): Ditto.
2482 (nm_supplicant_interface_add_cb): Don't make another copy of already
2483 duplicated object path.
2484 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2487 * src/supplicant-manager/nm-supplicant-config.c
2488 (ADD_STRING_LIST_VAL): Fix a memory leak.
2490 * src/nm-manager.c (free_get_settings_info): Free the allocated
2492 (list_connections_cb): Free data returned from dbus method call.
2493 (system_settings_get_unmanaged_devices_cb): Ditto.
2495 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2497 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
2498 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
2499 * src/backends/shvar.c (svCloseFile): Free the duplicated content
2502 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2503 arguments after the object is created.
2505 2008-06-04 Dan Williams <dcbw@redhat.com>
2507 * libnm-util/Makefile.am
2508 - Don't distribute nm-param-spec-specialized.h
2510 2008-06-02 Tambet Ingo <tambet@gmail.com>
2512 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2514 * src/nm-ip4-config.[ch]: Store the static routes as a list of
2515 NMIP4Address, update the getters and setters.
2517 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2518 Use the updated NMIP4Config routes api.
2520 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2521 static routes as well.
2523 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2524 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2527 2008-05-30 Dan Williams <dcbw@redhat.com>
2529 * src/named-manager/nm-named-manager.c
2530 src/named-manager/nm-named-manager.h
2531 - Remove stale/obsolete bits for controlling bind over DBus
2533 2008-05-29 Dan Williams <dcbw@redhat.com>
2535 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2536 src/dnsmasq-manager/nm-dnsmasq-manager.h
2537 - (nm_dnsmasq_manager_new): move iface argument here
2538 - (constructor): remove, not needed
2539 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2540 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2543 - (real_act_stage4_get_ip4_config,
2544 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2547 2008-05-29 Dan Williams <dcbw@redhat.com>
2550 - (dnsmasq_state_changed_cb): new function; fail the connection if
2551 something happens to dnsmasq
2552 - (nm_device_new_ip4_shared_config): new function; create a new
2553 ip4-config for shared connections. Shared connections always use a
2554 fixed static IP address.
2555 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2556 autoip connections by actually using the returned ip4-config and
2558 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2560 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2563 2008-05-29 Dan Williams <dcbw@redhat.com>
2565 * src/nm-device-802-11-wireless.c
2566 - (real_get_best_auto_connection): auto-activate 'shared' method
2569 2008-05-29 Dan Williams <dcbw@redhat.com>
2571 * libnm-util/nm-setting-ip4-config.c
2572 libnm-util/nm-setting-ip4-config.h
2573 - Add a 'shared' method to indicate that this connection should be
2574 brought up with a DHCP and proxy DNS server to facilitate
2576 - (verify): 'shared' method doesn't allow DNS or searches either
2578 2008-05-29 Dan Williams <dcbw@redhat.com>
2582 src/dnsmasq-manager/Makefile.am
2583 src/dnsmasq-manager/nm-dnsmasq-manager.c
2584 src/dnsmasq-manager/nm-dnsmasq-manager.h
2585 - Add a dnsmasq daemon manager to facilitate connection sharing
2587 2008-05-29 Dan Williams <dcbw@redhat.com>
2589 * src/nm-device-private.h
2590 - Remove unused prototypes and clean up
2593 - Remove anything related to system_config_data, which is no longer used
2594 - (nm_device_new_ip4_autoip_config): make static
2596 2008-05-29 Tambet Ingo <tambet@gmail.com>
2598 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2599 (file_changed): Fix a bug where suse system settings plugin didn't
2600 update the connections automatically when the files changed.
2602 2008-05-28 Dan Williams <dcbw@redhat.com>
2604 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2606 2008-05-28 Dan Williams <dcbw@redhat.com>
2608 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2610 * src/NetworkManagerSystem.c
2611 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2612 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2613 was causing -EINVAL errors since the libnl code actually does flush
2614 the routes on VPN interfaces now
2616 * src/backends/NetworkManagerArch.c
2617 src/backends/NetworkManagerDebian.c
2618 src/backends/NetworkManagerFrugalware.c
2619 src/backends/NetworkManagerGeneric.c
2620 src/backends/NetworkManagerGentoo.c
2621 src/backends/NetworkManagerMandriva.c
2622 src/backends/NetworkManagerPaldo.c
2623 src/backends/NetworkManagerRedHat.c
2624 src/backends/NetworkManagerSlackware.c
2625 src/backends/NetworkManagerSuSE.c
2626 - (nm_system_device_flush_ip4_routes,
2627 nm_system_device_flush_ip4_routes_with_iface): remove
2629 2008-05-28 Dan Williams <dcbw@redhat.com>
2631 * libnm-util/nm-setting-wireless.c
2632 libnm-util/nm-setting-wireless.h
2633 - (set_property, get_property, nm_setting_wireless_class_init): add the
2634 'adhoc-create' property, which when TRUE indicates that NM should
2635 create this connection as an adhoc wifi network if it's not found
2636 as an adhoc network during scanning. Can be used to auto-create
2637 adhoc networks when used in combination with autoconnect.
2639 2008-05-28 Tambet Ingo <tambet@gmail.com>
2641 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2643 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2644 checked, it doesn't work on some devices.
2646 2008-05-28 Tambet Ingo <tambet@gmail.com>
2648 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
2649 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2651 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2652 Use inet_aton() everywhere to improve error detection.
2653 Don't fall back to 'dhcp_server_identifier' if the gateway is not
2656 2008-05-26 Tambet Ingo <tambet@gmail.com>
2658 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2661 2008-05-26 Tambet Ingo <tambet@gmail.com>
2663 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2664 reference counting issue.
2666 2008-05-23 Dan Williams <dcbw@redhat.com>
2668 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2670 * src/backends/NetworkManagerGeneric.c
2671 - (nm_generic_enable_loopback): use libnl
2673 2008-05-23 Dan Williams <dcbw@redhat.com>
2675 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2677 * src/NetworkManagerSystem.h
2678 src/backends/NetworkManagerArch.c
2679 src/backends/NetworkManagerDebian.c
2680 src/backends/NetworkManagerFrugalware.c
2681 src/backends/NetworkManagerGentoo.c
2682 src/backends/NetworkManagerMandriva.c
2683 src/backends/NetworkManagerPaldo.c
2684 src/backends/NetworkManagerRedHat.c
2685 src/backends/NetworkManagerSlackware.c
2686 src/backends/NetworkManagerSuSE.c
2687 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2688 nm_system_flush_arp_cache): remove, unused
2690 * src/backends/NetworkManagerGeneric.c
2691 src/backends/NetworkManagerGeneric.h
2692 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2693 nm_generic_flush_arp_cache): remove, unused
2695 2008-05-23 Dan Williams <dcbw@redhat.com>
2697 * system-settings/plugins/ifcfg-fedora/reader.c
2698 - (make_ip4_setting): honor PEERDNS setting
2700 2008-05-23 Dan Williams <dcbw@redhat.com>
2702 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2704 * src/NetworkManagerSystem.c
2705 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2708 * src/backends/NetworkManagerArch.c
2709 src/backends/NetworkManagerDebian.c
2710 src/backends/NetworkManagerFrugalware.c
2711 src/backends/NetworkManagerGentoo.c
2712 src/backends/NetworkManagerMandriva.c
2713 src/backends/NetworkManagerPaldo.c
2714 src/backends/NetworkManagerRedHat.c
2715 src/backends/NetworkManagerSlackware.c
2716 src/backends/NetworkManagerSuSE.c
2717 - (nm_system_device_flush_ip4_addresses,
2718 nm_system_device_flush_ip4_addresses_with_iface): remove
2720 * src/backends/NetworkManagerGeneric.c
2721 - (nm_generic_device_flush_ip4_addresses,
2722 nm_generic_device_flush_ip4_addresses_with_iface): remove
2724 2008-05-23 Dan Williams <dcbw@redhat.com>
2726 * src/supplicant-manager/nm-supplicant-settings-verify.c
2727 - Switch 'bssid' from bytes to keyword type
2728 - (validate_type_keyword): allow NULL keyword lists
2730 * src/supplicant-manager/nm-supplicant-config.c
2731 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2732 a byte array to string form, which is what the supplicant expects
2734 2008-05-23 Tambet Ingo <tambet@gmail.com>
2736 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2737 information received from DHCP.
2739 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2740 to make it possible to ignore the DNS information (both servers and
2741 searches) returned by DHCP server.
2743 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2744 name servers and searches if "ignore_dhcp_dns" is set.
2746 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2747 (nm_ip4_config_reset_searches): Implement.
2749 2008-05-22 Dan Williams <dcbw@redhat.com>
2751 Remove anything mDNS related. This is better done from a distro-specific
2752 dispatcher script. Plus, any distro using avahi doesn't need to restart
2753 avahi, since avahi can handle interface changes just fine using netlink.
2756 - Remove --with-mdns-provider
2758 * src/NetworkManagerPolicy.c
2759 - (global_state_changed): don't restart the mdns provider
2761 * src/NetworkManagerSystem.h
2762 src/backends/NetworkManagerArch.c
2763 src/backends/NetworkManagerDebian.c
2764 src/backends/NetworkManagerFrugalware.c
2765 src/backends/NetworkManagerGentoo.c
2766 src/backends/NetworkManagerMandriva.c
2767 src/backends/NetworkManagerPaldo.c
2768 src/backends/NetworkManagerRedHat.c
2769 src/backends/NetworkManagerSlackware.c
2770 src/backends/NetworkManagerSuSE.c
2771 - (nm_system_restart_mdns_responder): remove
2773 * src/backends/NetworkManagerGeneric.c
2774 src/backends/NetworkManagerGeneric.h
2775 - (nm_generic_restart_mdns_responder): remove
2777 2008-05-22 Dan Williams <dcbw@redhat.com>
2780 - clean up crypto options; just use --with-crypto=nss or
2781 --with-crypto=gnutls
2783 2008-05-22 Tambet Ingo <tambet@gmail.com>
2785 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2786 anymore, do it right away.
2788 2008-05-22 Tambet Ingo <tambet@gmail.com>
2790 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2791 serial device open when we're not connecting or connected.
2793 * src/nm-cdma-device.c (device_state_changed): Ditto.
2795 2008-05-22 Tambet Ingo <tambet@gmail.com>
2797 Don't remove all devices on waking up, sync with HAL.
2799 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2800 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2801 (hal_manager_hal_reappeared_cb): Just call sync_devices.
2803 2008-05-21 Tambet Ingo <tambet@gmail.com>
2805 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2806 If the default gateway is unreachable, add a route to gateway and try
2809 2008-05-20 Dan Williams <dcbw@redhat.com>
2811 * system-settings/plugins/ifcfg-fedora/reader.c
2812 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2814 2008-05-19 Dan Williams <dcbw@redhat.com>
2816 * system-settings/plugins/ifcfg-fedora/reader.c
2817 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2818 if the ifcfg doesn't specify one (rh #446527)
2820 2008-05-19 Dan Williams <dcbw@redhat.com>
2822 Make the system settings service exit when the bus goes away. Since it's
2823 a bus-activated service, it's lifetime is limited to the bus that activated
2826 * system-settings/src/Makefile.am
2827 system-settings/src/nm-system-config-hal-manager-private.h
2828 - Remove nm-system-config-hal-manager-private.h
2830 * system-settings/src/nm-system-config-hal-manager.c
2831 - (nm_system_config_hal_manager_reinit_dbus,
2832 nm_system_config_hal_manager_deinit_dbus): remove
2834 * system-settings/src/main.c
2835 - (dbus_reconnect): remove
2836 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2837 - (destroy_cb): just quit when the bus goes away
2838 - (start_dbus_service, dbus_init): simplify
2839 - (main): destroy the wired devices hash table after destroying
2840 the HAL manager so we don't have to disconnect signals from the
2843 2008-05-15 Tambet Ingo <tambet@gmail.com>
2845 Move crypto functions from nm-applet to libnm-util.
2847 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2848 (nm_setting_802_1x_set_client_cert)
2849 (nm_setting_802_1x_set_phase2_ca_cert)
2850 (nm_setting_802_1x_set_phase2_client_cert)
2851 (nm_setting_802_1x_set_private_key)
2852 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2853 file (or private key and it's password), read the certificate data.
2855 * libnm-util/crypto_nss.c:
2856 * libnm-util/crypto_gnutls.c:
2857 * libnm-util/crypto.[ch]: Move here from nm-applet.
2859 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2861 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2862 Imlement WPA-EAP configuration reading from sysconfig.
2864 2008-05-16 Dan Williams <dcbw@redhat.com>
2866 * src/nm-device-802-11-wireless.c
2867 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2870 2008-05-14 Dan Williams <dcbw@redhat.com>
2872 Fix Linus' bug in rh #134886
2874 * src/nm-device-802-3-ethernet.c
2875 - (constructor): request initial carrier state
2877 * src/nm-netlink-monitor.c
2878 - (nm_netlink_monitor_request_status): schedule emission of carrier
2879 signals after refilling the link cache. Because the refill is a
2880 synchronous operation, the normal message hander won't get called
2881 since libnl has already consumed the messages.
2882 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2884 2008-05-14 Dan Williams <dcbw@redhat.com>
2886 * src/NetworkManagerSystem.c
2887 - (nm_system_device_is_up_with_iface): clean up
2889 2008-05-13 Dan Williams <dcbw@redhat.com>
2891 Fix refcounting issues over sleep/wake when a VPN connection was active that
2892 caused NM to try registering an object path for a device upon wake that was
2893 the same as an already registered object path.
2896 - (nm_device_take_down): properly handle cases where the device is
2897 no longer active but was just active, and therefore must be
2898 deactivated. When a device moves to unmanaged mode, this function
2899 previously would not deactivate the device, because the state was
2900 already unmanaged by the time this function was called.
2902 * src/vpn-manager/nm-vpn-connection.c
2903 - (device_state_changed): properly handle multiple devices states in
2904 which the device is now deactivated. Code previously didn't handle
2905 transitions to the UNAVAILABLE (like rfkill or carrier off) and
2908 2008-05-13 Dan Williams <dcbw@redhat.com>
2910 * src/nm-device-private.h
2912 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2914 * src/nm-device-802-11-wireless.c
2915 - (nm_device_802_11_wireless_set_enabled): take devices up
2916 and down as appropriate for the rfkill state
2918 2008-05-13 Dan Williams <dcbw@redhat.com>
2920 * marshallers/nm-marshal.list
2921 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2923 * system-settings/plugins/ifcfg-fedora/Makefile.am
2924 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2925 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2926 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2927 events. Solely for use watching ifcfg files to pick up changes
2928 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2930 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2931 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2932 file contents change
2933 - (finalize): clean up inotify watches
2934 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2935 and the connection ifcfg for changes on their hardlinks
2936 - (files_changed_cb): proxy the changed signal back out to listeners
2938 * system-settings/plugins/ifcfg-fedora/plugin.c
2940 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2942 - (read_one_connection): connect to change signals on the new connection
2943 - (dir_changed, connection_changed_handler,
2944 handle_connection_remove_or_new): break out connection change
2945 handling and connection new/remove handling so it can be used from
2946 both the GFileMonitor callback and the NMIfcfgConnection changed
2949 * system-settings/plugins/ifcfg-fedora/reader.c
2950 system-settings/plugins/ifcfg-fedora/reader.h
2951 - (connection_from_file): return the keyfile path the connection would use
2953 2008-05-13 Tambet Ingo <tambet@gmail.com>
2955 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
2956 single PolKitContext which is shared by all. PolKitContext::unref leaks
2957 just about everything, including all open file descriptiors and results
2958 in 99% cpu usage when data arrives to any of the fds that don't belong
2959 to any context anymore.
2961 2008-05-12 Dan Williams <dcbw@redhat.com>
2963 * gfilemonitor/glocaldirectorymonitor.c
2964 gfilemonitor/glocaldirectorymonitor.h
2965 - (g_local_directory_monitor_constructor): actually subscribe to the
2967 - (_g_local_directory_monitor_new): ensure that inotify is started up
2969 * gfilemonitor/glocalfilemonitor.c
2970 gfilemonitor/glocalfilemonitor.h
2971 - (g_local_file_monitor_constructor): actually subscribe to the watch
2972 - (_g_local_file_monitor_new): ensure that inotify is started up
2974 2008-05-11 Dan Williams <dcbw@redhat.com>
2977 - record PolicyKit version
2979 * system-settings/src/nm-polkit-helpers.c
2980 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2981 with PolicyKit <= 0.6
2983 2008-05-11 Dan Williams <dcbw@redhat.com>
2985 Update Fedora system-settings plugin to support latest API and use
2986 GFileMonitor rather than home-rolled inotify code.
2988 * system-settings/plugins/ifcfg-fedora/Makefile.am
2989 system-settings/plugins/ifcfg-fedora/common.h
2990 system-settings/plugins/ifcfg-fedora/plugin.c
2991 - Update to latest system settings plugin API; use GIO instead of
2992 custom inotify code; use NMIfcfgConnection objects instead of
2993 ConnectionData structures tacked onto NMConnection objects
2995 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2996 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2997 - Implement an NMExportedConnection subclass mapping ifcfg files to
3000 * system-settings/plugins/ifcfg-fedora/reader.c
3001 system-settings/plugins/ifcfg-fedora/reader.h
3002 - Move ifcfg parsing bits here from parser.c
3004 * system-settings/plugins/ifcfg-fedora/parser.c
3005 system-settings/plugins/ifcfg-fedora/parser.h
3006 - Remove; most code moved to reader.c
3008 2008-05-11 Dan Williams <dcbw@redhat.com>
3013 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3014 implementation, so that the same change monitoring code can be used
3015 on systems without glib-2.14 (like Fedora 8)
3017 * system-settings/plugins/keyfile/Makefile.am
3018 system-settings/plugins/keyfile/plugin.c
3019 system-settings/plugins/ifcfg-suse/Makefile.am
3020 system-settings/plugins/ifcfg-suse/plugin.c
3021 - Use private gfilemonitor code if GIO is not present
3023 2008-05-09 Tambet Ingo <tambet@gmail.com>
3025 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3026 NMExportedConnection's 'update' and 'delete' and return error with
3027 descriptive message.
3029 2008-05-08 Dan Williams <dcbw@redhat.com>
3031 Patch from Markus Becker <mab@comnets.uni-bremen.de>
3033 * src/nm-gsm-device.c
3034 src/nm-cdma-device.c
3035 - (real_get_best_auto_connection): implement; allow autoconnection
3036 to GSM & CDMA devices
3038 2008-05-08 Tambet Ingo <tambet@gmail.com>
3040 Use PolicyKit to authorize the system settings' AddConnection method
3041 and the system settings connections' Update and Delete methods.
3043 * libnm-glib/nm-settings.c (impl_exported_connection_update)
3044 (impl_exported_connection_delete, nm_exported_connection_update)
3045 (nm_exported_connection_delete): Return boolean and fill GError
3046 to notify the callers of the reasons why it might have failed.
3048 * libnm-glib/nm-dbus-settings-system.c
3049 (nm_dbus_settings_system_add_connection): Return the error from dbus
3050 call so that the callers can see why it failed.
3052 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
3055 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3057 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3058 abstract base class that checks PolicyKit permissions.
3060 * system-settings/src/dbus-settings.c:
3061 (impl_settings_add_connection): Check the policy before carring out
3064 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3065 Inherit from NMSysconfigConnection, check the policies before
3066 allowing updating or removing.
3068 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3069 Inherit from NMSysconfigConnection.
3071 * introspection/nm-exported-connection.xml: Annotate "Update" and
3072 "Delete" methods with async flag so that the implementations can get
3073 access to DBusGMethodInvocation.
3075 * system-settings/src/dbus-settings.c
3076 (settings_add_connection_check_privileges): Implement.
3077 (impl_settings_add_connection): Check the privileges before adding a new
3078 connection. Improve error reporting.
3080 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3081 async so that the implementation can access DBusGMethodInvocation.
3083 * configure.in: Check for PolicyKit.
3085 * policy/org.freedesktop.network-manager-settings.system.policy:
3088 * policy/Makefile.am: Install the policy file.
3090 * configure.in: Add 'policy' subdir.
3092 2008-05-08 Tambet Ingo <tambet@gmail.com>
3094 Rewrite the suse system settings plugin.
3096 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3098 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3100 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3102 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3104 * system-settings/src/dbus-settings.c: Fix connection reference counting.
3106 * system-settings/src/main.c (load_plugins): Improve error reporting.
3108 * system-settings/src/sha1.[ch] Add.
3110 * system-settings/src/Makefile.am: Add sha1[ch] to build.
3112 2008-05-07 Dan Williams <dcbw@redhat.com>
3114 * system-settings/plugins/keyfile/reader.c
3115 - (read_one_setting_value): handle IP address items separately
3116 - (read_array_of_uint): read IPv4 DNS option as a string array
3117 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3120 * system-settings/plugins/keyfile/writer.c
3121 - (write_setting_value): handle IP address items separately
3122 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3123 not an array of uint, so that it's user-editable
3124 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3125 arrays, so they are user-editable
3127 2008-05-07 Dan Williams <dcbw@redhat.com>
3129 * system-settings/plugins/keyfile/Makefile.am
3130 - Change location of the keyfile plugin settings to
3131 /etc/NetworkManager/system-connections
3133 2008-05-05 Tambet Ingo <tambet@gmail.com>
3135 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3137 * system-settings/plugins/keyfile/plugin.c: Work with
3138 NMKeyfileConnections.
3140 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3141 Plugins are supposed to return NMExportedConnections now and handle the
3142 updated(), removed(), and GetSecrets().
3143 Store the internal list of connections in hash table to make it easier
3146 2008-05-07 Tambet Ingo <tambet@gmail.com>
3148 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3149 for multiple IP addresses.
3151 2008-05-07 Tambet Ingo <tambet@gmail.com>
3153 Patch from André Lemos.
3155 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3158 2008-05-06 Dan Williams <dcbw@redhat.com>
3160 * src/dhcp-manager/nm-dhcp-manager.c
3161 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3162 NMIP4Config to support multiple IP addresses
3164 * src/NetworkManagerUtils.c
3165 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3167 * src/nm-ip4-config.c
3169 - Store a list of IPv4 address/netmask/gateway tuples
3170 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3171 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3172 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3173 nm_ip4_config_set_address): remove
3174 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3175 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3176 new functions; handle multiple IPv4 addresses
3179 src/ppp-manager/nm-ppp-manager.c
3180 src/vpn-manager/nm-vpn-connection.c
3181 src/NetworkManagerPolicy.c
3183 libnm-glib/libnm-glib-test.c
3184 - update for changes to NMIP4Config for multiple IPv4 addresses
3186 * src/NetworkManagerSystem.c
3187 - (nm_system_device_set_ip4_route): don't add the route if any address
3188 is on the same subnet as the destination
3189 - (check_one_address): ignore the exact match, just match family and
3191 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3193 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3194 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3196 * introspection/nm-ip4-config.xml
3197 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3198 - Add 'addresses' property which is an array of (uuu) tuples of
3199 address/netmask/gateway
3201 * libnm-util/nm-setting-ip4-config.c
3202 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3204 * libnm-glib/nm-ip4-config.c
3205 libnm-glib/nm-ip4-config.h
3206 - Handle D-Bus interface changes to support multiple IP addresses
3208 2008-05-06 Dan Williams <dcbw@redhat.com>
3210 * libnm-util/nm-utils.c
3211 libnm-util/nm-utils.h
3212 - (nm_utils_ip4_addresses_from_gvalue,
3213 nm_utils_ip4_addresses_to_gvalue): new functions
3215 2008-05-06 Tambet Ingo <tambet@gmail.com>
3217 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3218 the returned connection paths.
3220 2008-05-05 Tambet Ingo <tambet@gmail.com>
3222 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
3223 "PropertiesChanged" signal signature.
3225 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3226 defined in nm-dbus-glib-types.h.
3227 Don't register the connection on dbus, we're a proxy class to
3228 communicate with an already registered connection over dbus.
3230 2008-04-30 Tambet Ingo <tambet@gmail.com>
3232 Implement new subclasses of NMSettings and NMExportedConnection to make
3233 it easier for the applet to access and modify system settings.
3235 * libnm-glib/nm-dbus-connection.[ch]:
3236 * libnm-glib/nm-dbus-settings.[ch]:
3237 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3239 * libnm-glib/Makefile.am: Add the new files to build, generate some more
3242 * include/NetworkManager.h: Define the system settings DBus interface.
3244 2008-04-30 Tambet Ingo <tambet@gmail.com>
3246 Implement additional C API for exported connections to make them identical
3247 with the DBus API. Change the (list_connections) virtual function to be
3248 more usable from C - instead of requiring implementers to return a GPtrArray
3249 of dbus paths, return a list of connections.
3251 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3252 (nm_settings_list_connections):
3253 (nm_exported_connection_new):
3254 (nm_exported_connection_update):
3255 (nm_exported_connection_delete): Implement.
3257 (impl_settings_list_connections):
3258 (impl_exported_connection_update):
3259 (impl_exported_connection_delete): Use the new public functions to make
3260 sure the C and dbus interfaces stay in sync.
3262 * system-settings/src/dbus-settings.c (list_connections): Return a list of
3265 2008-05-02 Dan Williams <dcbw@redhat.com>
3267 * system-settings/plugins/ifcfg-fedora/plugin.c
3268 - (dispose): use right unref call on the DBusGConnection
3270 2008-05-02 Dan Williams <dcbw@redhat.com>
3272 * src/nm-serial-device.c
3273 - (find_terminator): don't compare the whole line, just the size of the
3274 terminator, since some modems put stuff after the terminator, like
3277 2008-05-01 Dan Williams <dcbw@redhat.com>
3279 Patch from Michael Biebl <biebl@debian.org>
3281 * callouts/Makefile.am
3282 callouts/org.freedesktop.nm_dispatcher.service.in
3283 system-settings/src/Makefile.am
3284 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3285 - use the right install location for dbus-activated stuff
3287 2008-04-30 Dan Williams <dcbw@redhat.com>
3289 * src/nm-gsm-device.c
3290 - (enter_pin): fix setting name passed to applets when asking for a GSM
3293 2008-04-30 Dan Williams <dcbw@redhat.com>
3296 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3298 2008-04-30 Dan Williams <dcbw@redhat.com>
3300 * src/nm-device-802-3-ethernet.c
3301 src/nm-device-802-11-wireless.c
3302 - (real_is_up): return true instead of chaining up to unimplemented
3305 2008-04-30 Dan Williams <dcbw@redhat.com>
3307 * src/NetworkManagerSystem.c
3308 src/NetworkManagerSystem.h
3309 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3310 functions to check device flags for IFF_UP
3312 * src/nm-serial-device.c
3313 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3316 * src/nm-device-802-3-ethernet.c
3317 src/nm-device-802-11-wireless.c
3318 - (real_hw_is_up): call nm_system_device_is_up()
3321 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3322 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3325 2008-04-29 Dan Williams <dcbw@redhat.com>
3327 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3329 * marshallers/nm-marshal.list
3332 * src/NetworkManager.c
3333 - (main): let the NMManager handle the NMHalManager
3335 * src/nm-hal-manager.c
3336 src/nm-hal-manager.h
3337 - convert to a GObject, and emit singals when stuff changes. Let the
3338 NMManager handle the signals, instead of the NMHalManager calling
3343 - (remove_one_device): consolidate device removals here
3344 - (dispose): use remove_one_device()
3345 - (nm_manager_get_device_by_udi): make static
3346 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3347 manager for devices at startup or wakeup time
3348 - (nm_manager_new): create and monitor the HAL manager
3349 - (hal_manager_udi_added_cb): new function; do what
3350 nm_manager_add_device() used to do when signalled by the hal manager
3351 - (hal_manager_udi_removed_cb): new function; do what
3352 nm_manager_remove_device() used to do when signalled by the hal
3354 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3356 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3357 in our device list that aren't known to HAL
3358 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3359 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3361 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3362 nm_manager_activation_pending, nm_manager_wireless_enabled,
3363 nm_manager_wireless_hardware_enabled,
3364 nm_manager_set_wireless_hardware_enabled): remove, unused
3366 2008-04-28 Dan Williams <dcbw@redhat.com>
3368 Fix the device up/down ambiguities. Up/down state used to be a
3369 conglomeration of hardware state (IFF_UP) and any device-specific things
3370 (supplicant, periodic timers, etc) that the device used to indicate
3371 readiness. Unfortunately, if the hardware was already IFF_UP for some
3372 reason, then the device specific stuff wouldn't get run, and the device
3377 - Create hw_is_up, hw_bring_up, and hw_take_down
3378 - Rename bring_down -> take_down
3379 - (real_hw_is_up): check interface flags for IFF_UP
3380 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3381 - (nm_device_is_up): make static; only used locally
3382 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3383 if the device is already up; if the device isn't up, bring it up
3384 - (nm_device_hw_take_down): just take down hardware
3385 - (nm_device_bring_up): bring up HW first, then device specific stuff
3386 - (nm_device_take_down): always deactivate device when called; always
3387 try to take hardware down too
3388 - (nm_device_state_changed): take device down when entering unmanaged
3389 state from a higher state
3391 * src/nm-device-802-11-wireless.c
3392 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3394 - (real_take_down, supplicant_iface_state_cb_handler,
3395 supplicant_iface_connection_state_cb_handler,
3396 supplicant_mgr_state_cb_handler): fix some messages
3398 * src/nm-device-802-3-ethernet.c
3399 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3402 2008-04-28 Dan Williams <dcbw@redhat.com>
3406 - (nm_manager_error_get_type): add new error
3407 - (nm_manager_remove_device): don't bother taking down the device here,
3408 the state change from unmanaging the device will do it
3409 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3410 uses it; when going to sleep, just unmanage the device instead of
3411 taking it down, because stuff will cleaned up correctly when the
3412 device gets unmanaged
3414 2008-04-28 Dan Williams <dcbw@redhat.com>
3416 * src/nm-hal-manager.c
3417 - (add_initial_devices): convert to a GSourceFunc prototype
3418 - (nm_manager_state_changed): when coming out of sleep, punt the
3419 device re-addition to an idle handler to let D-Bus events go out
3420 first, fixing a potential dbus-glib assert if the old device was
3421 not yet disposed (due to references held while emitting the D-Bus
3422 signals) but the new device was found, because the mainloop didn't
3423 run between signal emission and add_initial_devices()
3425 2008-04-27 Dan Williams <dcbw@redhat.com>
3427 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3429 * initscript/paldo/NetworkManager.in
3430 initscript/SUSE/networkmanager.in
3431 - Remove last bits of dhcdbd
3433 2008-04-27 Dan Williams <dcbw@redhat.com>
3435 * src/nm-device-802-11-wireless.c
3436 - (link_timeout_cb): don't ask for secrets when disconnected during
3437 association/authentication phase, drivers are still just too crappy
3439 2008-04-27 Dan Williams <dcbw@redhat.com>
3443 dispatcher-daemon/Makefile.am
3444 dispatcher-daemon/NetworkManagerDispatcher.c
3445 initscript/Arch/Makefile.am
3446 initscript/Arch/networkmanager-dispatcher.in
3447 initscript/Gentoo/Makefile.am
3448 initscript/Gentoo/NetworkManagerDispatcher.in
3449 initscript/Mandriva/Makefile.am
3450 initscript/Mandriva/networkmanagerdispatcher.in
3451 initscript/RedHat/Makefile.am
3452 initscript/RedHat/NetworkManagerDispatcher.in
3453 initscript/SUSE/Makefile.am
3454 initscript/SUSE/networkmanager-dispatcher.in
3455 initscript/Slackware/Makefile.am
3456 initscript/Slackware/rc.networkmanager-dispatcher.in
3457 initscript/paldo/Makefile.am
3458 initscript/paldo/NetworkManagerDispatcher.in
3460 man/NetworkManagerDispatcher.8.in
3461 - Remove the dispatcher daemon
3463 2008-04-27 Dan Williams <dcbw@redhat.com>
3465 * callouts/Makefile.am
3466 callouts/nm-dispatcher-action.c
3467 callouts/nm-dispatcher-action.h
3468 callouts/nm-dispatcher.conf
3469 callouts/nm-dispatcher.xml
3470 callouts/org.freedesktop.nm_dispatcher.service
3471 - Re-implement the dispatcher as a system-bus activated service that
3472 NM calls on-demand, rather than an always running daemon
3475 - Add callouts dir to includes to pick up dispatcher defines
3478 - (nm_device_state_changed): call dispatcher on device activated/
3481 * src/vpn-manager/nm-vpn-connection.c
3482 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3485 * src/NetworkManagerUtils.c
3486 src/NetworkManagerUtils.h
3487 - (nm_utils_call_dispatcher): helper to call dispatcher
3489 2008-04-27 Dan Williams <dcbw@redhat.com>
3491 * src/NetworkManagerUtils.c
3492 src/NetworkManagerUtils.h
3493 - remove unneeded includes
3494 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3495 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3496 nm_timeval_cmp, nm_timeval_add): remove, unused
3497 - clean up formatting
3498 - (nm_spawn_process): de-uglify
3500 * src/nm-device-802-11-wireless.c
3501 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3503 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
3505 * initscript/Gentoo/NetworkManager.in:
3506 Fix for starting the daemon.
3508 2008-04-25 Dan Williams <dcbw@redhat.com>
3510 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3512 * src/NetworkManagerSystem.c
3513 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3515 2008-04-25 Dan Williams <dcbw@redhat.com>
3517 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3519 * src/NetworkManagerSystem.c
3520 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3521 implementation of nm_system_device_replace_default_route()
3523 * src/NetworkManagerPolicy.c
3524 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3526 * src/backends/NetworkManagerArch.c
3527 src/backends/NetworkManagerDebian.c
3528 src/backends/NetworkManagerFrugalware.c
3529 src/backends/NetworkManagerGeneric.c
3530 src/backends/NetworkManagerGeneric.h
3531 src/backends/NetworkManagerGentoo.c
3532 src/backends/NetworkManagerMandriva.c
3533 src/backends/NetworkManagerPaldo.c
3534 src/backends/NetworkManagerRedHat.c
3535 src/backends/NetworkManagerSlackware.c
3536 src/backends/NetworkManagerSuSE.c
3537 - (nm_system_device_replace_default_route): remove
3539 2008-04-25 Dan Williams <dcbw@redhat.com>
3541 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3543 * src/NetworkManagerSystem.c
3544 - (validate_ip4_route): remove; use nl_addr_parse() instead
3545 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3546 replace nm_system_device_add_route_via_device_with_iface() in the
3549 * src/backends/NetworkManagerArch.c
3550 src/backends/NetworkManagerDebian.c
3551 src/backends/NetworkManagerFrugalware.c
3552 src/backends/NetworkManagerGeneric.c
3553 src/backends/NetworkManagerGeneric.h
3554 src/backends/NetworkManagerGentoo.c
3555 src/backends/NetworkManagerMandriva.c
3556 src/backends/NetworkManagerPaldo.c
3557 src/backends/NetworkManagerRedHat.c
3558 src/backends/NetworkManagerSlackware.c
3559 src/backends/NetworkManagerSuSE.c
3560 - Remove nm_system_device_add_route_via_device_with_iface()
3562 2008-04-25 Dan Williams <dcbw@redhat.com>
3564 * system-settings/plugins/ifcfg-fedora/parser.c
3565 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3567 2008-04-24 Dan Williams <dcbw@redhat.com>
3569 * dispatcher-daemon/NetworkManagerDispatcher.c
3570 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3572 2008-04-24 Dan Williams <dcbw@redhat.com>
3574 * initscript/RedHat/NetworkManager.in
3575 initscript/RedHat/NetworkManagerDispatcher.in
3576 - Be active at runlevel 2
3577 - Adjust priorities earlier
3579 2008-04-22 Dan Williams <dcbw@redhat.com>
3581 * src/NetworkManagerPolicy.c
3582 - (update_routing_and_dns): when checking for a gateway, look at the
3583 composite IP4 config, not the connection's ip4-config setting, which
3584 doesn't include DHCP-returned information
3586 2008-04-22 Tambet Ingo <tambet@gmail.com>
3588 Implement GKeyFile system settings plugin.
3589 Implement writing system settings (currently supported only by GKeyFile plugin).
3591 * system-settings/src/main.c:
3592 * system-settings/src/dbus-settings.c: Move the communication with plugins
3593 from main.c to dbus-settings.c. Makes it possible to talk to all registered
3594 plugins for adding/updating/removing connections.
3596 * system-settings/src/nm-system-config-interface.c
3597 (nm_system_config_interface_add_connection): Implement
3598 (nm_system_config_interface_update_connection): Implement.
3599 (nm_system_config_interface_remove_connection): Implement.
3601 * system-settings/plugins/keyfile/Makefile.am:
3602 * system-settings/plugins/keyfile/plugin.[ch]:
3603 * system-settings/plugins/keyfile/writer.[ch]:
3604 * system-settings/plugins/keyfile/reader.[ch]: Implement.
3606 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3608 * configure.in: Generate GKeyFile Makefile.
3610 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3611 corruption, need to duplicate the returned string.
3612 (impl_exported_connection_update): Implement.
3613 (impl_exported_connection_delete): Implement.
3615 * introspection/nm-settings-system.xml: Add "AddConnection" method.
3617 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3619 2008-04-22 Dan Williams <dcbw@redhat.com>
3621 Patch from Charles R. Anderson (cra@wpi.edu)
3623 * src/NetworkManagerPolicy.c
3624 - (update_routing_and_dns): don't select devices without a gateway
3625 as having the default route (rh #437338)
3627 2008-04-21 Dan Williams <dcbw@redhat.com>
3629 * src/nm-activation-request.c
3630 src/nm-activation-request.h
3631 - (dispose): ensure to disconnect from the device's state-changed signal
3632 when appropriate so the signal doesn't get handled by an already
3633 disposed NMActRequest
3634 - (device_state_changed): update is_default here too just to make sure
3635 default is only True when the child device is activated
3636 - (nm_act_request_set_default): new function
3638 * src/NetworkManagerPolicy.c
3639 - (update_routing_and_dns): set 'default' on the active connection which
3640 has the default route and DNS
3642 2008-04-21 Dan Williams <dcbw@redhat.com>
3644 * src/NetworkManagerPolicy.c
3645 - (device_state_changed): update routing and DNS when a device goes
3646 into unmanaged or unavailable states too (like rfkill or carrier loss)
3648 2008-04-21 Dan Williams <dcbw@redhat.com>
3650 * include/NetworkManager.h
3651 - Add NMActiveConnectionState enum
3653 * introspection/nm-active-connection.xml
3654 introspection/nm-vpn-connection.xml
3655 - Add 'State' property for overall active connection state
3656 - Add 'Default' property, when True means this active connection
3657 has the default route
3658 - Add PropertyChanged signals so changes actually go out over the bus
3660 * src/nm-active-connection.h
3661 - Add defines for State & Default properties
3663 * src/nm-activation-request.c
3664 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3665 signal to determine active connection state
3667 * src/vpn-manager/nm-vpn-connection.c
3668 src/vpn-manager/nm-vpn-connection.h
3669 src/vpn-manager/nm-vpn-manager.c
3670 src/vpn-manager/nm-vpn-service.c
3671 - Rename old 'state' to 'vpn-state'
3672 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3673 - Add 'state' and 'default' properties, hook up to the vpn connection's
3674 'vpn-state-changed' signal
3676 * libnm-glib/nm-active-connection.c
3677 libnm-glib/nm-active-connection.h
3678 - Add new 'state' and 'default' properties and accessors
3680 * libnm-glib/nm-vpn-connection.c
3681 libnm-glib/nm-vpn-connection.h
3682 - Rename old 'state' property to 'vpn-state'
3683 - Add new 'state' and 'default' properties and accessors
3685 2008-04-21 Dan Williams <dcbw@redhat.com>
3687 * src/nm-ip4-config.c
3688 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3689 not specified (rh #443474)
3691 2008-04-20 Dan Williams <dcbw@redhat.com>
3693 * src/NetworkManagerUtils.c
3694 src/NetworkManagerUtils.h
3695 - (nm_utils_merge_ip4_config): new function; merge settings from an
3696 NMSettingIP4Config to an NMIP4Config object
3699 - (merge_ip4_config): move to NetworkManagerUtils.c
3701 * src/vpn-manager/nm-vpn-connection.c
3702 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3705 2008-04-18 Dan Williams <dcbw@redhat.com>
3707 * libnm-util/nm-setting-ppp.c
3708 libnm-util/nm-setting-ppp.h
3709 - Add 'no-vj-comp' option for TCP header compression
3710 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3713 2008-04-18 Dan Williams <dcbw@redhat.com>
3715 * libnm-util/nm-setting-ppp.c
3716 libnm-util/nm-setting-ppp.h
3717 src/ppp-manager/nm-ppp-manager.c
3718 - Add 'refuse-pap' and 'refuse-mschapv2' options
3720 2008-04-18 Dan Williams <dcbw@redhat.com>
3722 * libnm-util/nm-setting-ppp.c
3723 libnm-util/nm-setting-ppp.h
3724 src/ppp-manager/nm-ppp-manager.c
3725 - Remove the 'usepeerdns' option and always request DNS servers from
3726 the PPP server; the connection chooses to use/override/ignore the
3727 DNS servers returned from the PPP server
3729 2008-04-18 Dan Williams <dcbw@redhat.com>
3731 * libnm-util/nm-setting-ppp.c
3732 libnm-util/nm-setting-ppp.h
3733 src/ppp-manager/nm-ppp-manager.c
3734 - Remove the 'require-mppc' option, because pppd doesn't support it and
3735 it seems to have been an erroneous addition to the PPTP plugin in
3736 the first place (from which the ppp-manager is derived)
3738 2008-04-17 Dan Williams <dcbw@redhat.com>
3740 * libnm-util/nm-setting-pppoe.c
3741 - (verify): require a PPP setting too
3743 * src/ppp-manager/nm-ppp-manager.c
3744 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3747 2008-04-17 Dan Williams <dcbw@redhat.com>
3750 - (nm_device_state_changed): do deactivation and and promotion to
3751 unavailable here, so that the device gets cleaned up before the
3752 manager runs and starts emitting signals; do the
3753 FAILED->DISCONNECTED transition from an idle handler rather than
3754 immediately to guard against recursion
3755 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3756 FAILED->DISCONNECTED handler if it's scheduled
3758 2008-04-17 Dan Williams <dcbw@redhat.com>
3760 * src/nm-device-802-11-wireless.c
3761 - (state_changed_cb): clear AP list when device transitions to
3762 unavailable or unmanaged
3763 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3764 since this is already done in device_cleanup()
3765 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3766 isn't available or managed
3767 - (device_cleanup): use remove_all_aps()
3768 - (remove_all_aps): consolidate code removing all APs
3770 2008-04-17 Dan Williams <dcbw@redhat.com>
3772 * src/nm-serial-device.c
3773 src/nm-serial-device.h
3774 - (wait_for_reply_got_data): break input into lines, and search each
3775 line for responses _and_ terminator strings; also make sure that
3776 the read loop doesn't continue after the timeout is supposed to fire
3777 - (nm_serial_device_wait_for_reply): take an array of terminators too
3779 * src/nm-gsm-device.c
3780 src/nm-cdma-device.c
3781 - Send terminators to nm_serial_device_wait_for_reply()
3783 2008-04-16 Dan Williams <dcbw@redhat.com>
3785 Patch from 陈鑫 <znscnchen@gmail.com>
3787 * src/ppp-manager/nm-pppd-plugin.c
3788 - (get_credentials): return correct value for success; handle case where
3789 pppd just does some checking but doesn't want a password
3790 - (plugin_init): make CHAP work too
3792 2008-04-16 Dan Williams <dcbw@redhat.com>
3794 Patch from 陈鑫 <znscnchen@gmail.com>
3796 * src/ppp-manager/nm-ppp-manager.c
3797 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3799 2008-04-16 Dan Williams <dcbw@redhat.com>
3801 Patch from 陈鑫 <znscnchen@gmail.com>
3803 * src/nm-device-802-3-ethernet.c
3804 - (real_deactivate_quickly): clear the IP interface name on
3805 deactivation, otherwise the wrong interface might get used later
3806 for routing and IP management
3808 2008-04-15 Dan Williams <dcbw@redhat.com>
3810 * libnm-glib/nm-device.c
3811 - (get_product_and_vendor): handle serial devices correctly
3812 - (nm_device_update_description): pass device to get_product_and_vendor()
3814 2008-04-15 Dan Williams <dcbw@redhat.com>
3816 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3818 * src/NetworkManagerSystem.h
3819 src/backends/NetworkManagerArch.c
3820 src/backends/NetworkManagerDebian.c
3821 src/backends/NetworkManagerFrugalware.c
3822 src/backends/NetworkManagerGeneric.c
3823 src/backends/NetworkManagerGeneric.h
3824 src/backends/NetworkManagerGentoo.c
3825 src/backends/NetworkManagerMandriva.c
3826 src/backends/NetworkManagerPaldo.c
3827 src/backends/NetworkManagerRedHat.c
3828 src/backends/NetworkManagerSlackware.c
3829 src/backends/NetworkManagerSuSE.c
3831 - (nm_generic_device_add_ip6_link_address,
3832 nm_system_device_add_ip6_link_address): remove
3834 2008-04-15 Dan Williams <dcbw@redhat.com>
3836 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3838 * src/backends/NetworkManagerArch.c
3839 src/backends/NetworkManagerDebian.c
3840 src/backends/NetworkManagerFrugalware.c
3841 src/backends/NetworkManagerGeneric.c
3842 src/backends/NetworkManagerGeneric.h
3843 src/backends/NetworkManagerGentoo.c
3844 src/backends/NetworkManagerMandriva.c
3845 src/backends/NetworkManagerPaldo.c
3846 src/backends/NetworkManagerRedHat.c
3847 src/backends/NetworkManagerSlackware.c
3848 src/backends/NetworkManagerSuSE.c
3849 src/NetworkManagerSystem.h
3850 - flush_routes -> flush_ip4_routes
3851 - flush_addresses -> flush_ip4_addresses
3853 * src/NetworkManagerSystem.c
3855 src/vpn-manager/nm-vpn-connection.c
3856 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3858 2008-04-15 Dan Williams <dcbw@redhat.com>
3860 Remove exposure of wireless-tools mode types in the API.
3862 * include/NetworkManager.h
3863 - Define NM80211Mode enum
3865 * introspection/generic-types.xml
3866 - Describe NM_802_11_MODE enum
3867 - Remove IW_MODE_* enum
3869 * introspection/nm-access-point.xml
3870 libnm-glib/nm-access-point.c
3871 libnm-glib/nm-access-point.h
3872 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3874 * introspection/nm-device-802-11-wireless.xml
3875 libnm-glib/nm-device-802-11-wireless.c
3876 libnm-glib/nm-device-802-11-wireless.h
3877 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3879 * libnm-util/nm-setting-wireless.c
3880 src/NetworkManagerAP.c
3881 src/NetworkManagerAP.h
3882 src/nm-device-802-11-wireless.c
3883 src/nm-device-802-11-wireless.h
3885 - Use NM80211Mode not IW_MODE_*
3887 2008-04-15 Dan Williams <dcbw@redhat.com>
3889 Enhance nm-online based on a patch from Bill Nottingham.
3893 - Add help messages and option summary
3894 - Add long-format options
3895 - Add a '-x' option to exit if NM isn't running or isn't connecting
3897 2008-04-15 Tambet Ingo <tambet@gmail.com>
3899 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3901 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3903 2008-04-15 Dan Williams <dcbw@redhat.com>
3905 * nm-setting-ip4-config.c
3906 - (ip4_addresses_from_gvalue): handle NULL address array
3908 * nm-setting-8021x.c
3909 - (verify_tls, verify_ttls): warn on failed verification
3911 2008-04-10 Dan Williams <dcbw@redhat.com>
3913 * src/nm-gsm-device.c
3914 - (automatic_registration): accept "+CREG: 0,0"
3915 - (automatic_registration_response): fail on "+CREG: 0,0"
3917 2008-04-10 Tambet Ingo <tambet@gmail.com>
3919 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3921 2008-04-10 Tambet Ingo <tambet@gmail.com>
3923 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
3924 Make it compile again by commenting out broken code that at first didn't work and
3925 now didn't compile either.
3927 2008-04-08 Dan Williams <dcbw@redhat.com>
3929 * libnm-glib/nm-object-cache.c
3930 libnm-glib/nm-settings.c
3931 src/dhcp-manager/nm-dhcp-manager.c
3932 system-settings/plugins/ifcfg-fedora/plugin.c
3933 system-settings/plugins/ifcfg-suse/plugin.c
3934 system-settings/src/nm-system-config-hal-manager.c
3935 libnm-util/nm-utils.c
3936 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3937 not threadsafe anyway
3939 2008-04-08 Dan Williams <dcbw@redhat.com>
3941 * system-settings/src/main.c
3942 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3943 callbacks take a device type too
3945 2008-04-08 Dan Williams <dcbw@redhat.com>
3947 The system settings service will now create a new default DHCP connection
3948 for wired devices that have no existing applicable connection.
3950 * system-settings/src/nm-system-config-hal-manager.c
3951 system-settings/src/nm-system-config-hal-manager.h
3952 - (nm_system_config_hal_manager_get_type_for_udi): new function
3954 * system-settings/src/dbus-settings.c
3955 system-settings/src/dbus-settings.h
3956 - (nm_sysconfig_settings_get_connections): new function
3957 - (nm_sysconfig_settings_is_device_managed): new function
3959 * system-settings/src/main.c
3960 - (load_stuff): check for wired devices that need a default connection
3961 - (get_details_for_udi): get interface and MAC address from HAL
3962 - (add_default_dhcp_connection): add a default connection for a wired
3964 - (device_added_cb, device_removed_cb): do the right thing with
3965 wired devices and their default connections on HAL device events
3967 2008-04-07 Dan Williams <dcbw@redhat.com>
3969 * libnm-glib/nm-device.c
3970 libnm-glib/nm-device.h
3971 - Proxy the 'managed' property
3973 2008-04-07 Dan Williams <dcbw@redhat.com>
3975 * src/nm-gsm-device.c
3976 src/nm-cdma-device.c
3977 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3978 handler to transition to DISCONNECTED
3980 2008-04-07 Dan Williams <dcbw@redhat.com>
3982 Patch from Bill Nottingham
3984 * dispatcher-daemon/NetworkManagerDispatcher.c
3985 - ignore backup/packaging crufy (rh #440143)
3987 2008-04-07 Dan Williams <dcbw@redhat.com>
3989 * include/NetworkManager.h
3990 - Remove the DOWN and CANCELLED device states
3991 - Add UNMANAGED and UNAVAILABLE device states
3992 - Document the device states
3994 * introspection/nm-device.xml
3995 src/nm-device-interface.c
3996 src/nm-device-interface.h
3997 - Add the 'managed' property
4000 - (detail_device): print out device state
4002 * src/NetworkManagerSystem.h
4003 src/backends/NetworkManagerArch.c
4004 src/backends/NetworkManagerDebian.c
4005 src/backends/NetworkManagerFrugalware.c
4006 src/backends/NetworkManagerGentoo.c
4007 src/backends/NetworkManagerMandriva.c
4008 src/backends/NetworkManagerPaldo.c
4009 src/backends/NetworkManagerRedHat.c
4010 src/backends/NetworkManagerSlackware.c
4011 src/backends/NetworkManagerSuSE.c
4012 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4013 nm_system_device_free_system_config): remove; they were unused and
4014 their functionality should be re-implemented in each distro's
4015 system settings service plugin
4017 * src/nm-gsm-device.c
4019 src/nm-cdma-device.c
4020 src/nm-cdma-device.h
4021 - (*_new): take the 'managed' argument
4024 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4025 - (nm_device_init): start in unmanaged state, not disconnected
4026 - (constructor): don't start device until the system settings service
4027 has had a chance to figure out if the device is managed or not
4028 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4029 don't set device state here, let callers handle that as appropriate
4030 - (nm_device_dispose): don't touch the device if it's not managed
4031 - (set_property, get_property, nm_device_class_init): implement the
4033 - (nm_device_state_changed): bring the device up if its now managed,
4034 and deactivate it if it used to be active
4035 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4036 with the managed state
4038 * src/nm-hal-manager.c
4039 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4040 take initial managed state and pass it along to device constructors
4041 - (create_device_and_add_to_list): get managed state and pass to
4044 * src/nm-device-802-11-wireless.c
4045 - (real_can_activate): fold in most of
4046 nm_device_802_11_wireless_can_activate()
4047 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4048 - (link_timeout_cb): instead of deactivating, change device state and
4049 let the device state handler to it
4050 - (real_update_hw_address): clean up
4051 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4052 handler to transition to DISCONNECTED if the device isn't rfkilled
4054 * src/nm-device-802-3-ethernet.c
4055 - (set_carrier): move above callers and get rid of prototype
4056 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4057 idle handler to transition to DISCONNECTED if the device has a
4059 - (real_update_hw_address): clean up
4060 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4061 deactivation directly as deactivation doesn't change state anymore
4063 * src/NetworkManagerPolicy.c
4064 - (schedule_activate_check): yay, remove wireless_enabled hack since
4065 the NMManager and wireless devices work that out themselves now
4066 - (device_state_changed): change to a switch and update for new device
4068 - (device_carrier_changed): remove; device handles this now through
4070 - (device_added): don't care about carrier any more; the initial
4071 activation check will happen when the device transitions to
4075 - (dispose): clear unmanaged devices
4076 - (handle_unmanaged_devices): update unmanaged device list and toggle
4077 the managed property on each device when needed
4078 - (system_settings_properties_changed_cb): handle signals from the
4079 system settings service
4080 - (system_settings_get_unmanaged_devices_cb): handle callback from
4081 getting the unmanaged device list method call
4082 - (query_unmanaged_devices): ask the system settings service for its
4083 list of unmanaged devices
4084 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4086 - (manager_set_wireless_enabled): push rfkill state down to wireless
4087 devices directly and let them handle the necessary state transitions
4088 - (manager_device_state_changed): update for new device states
4089 - (nm_manager_add_device): set initial rfkill state on wireless devices
4090 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4091 - (nm_manager_activate_connection): return error if the device is
4093 - (nm_manager_sleep): handle new device states correctly; don't change
4094 the state of unavailable/unmanaged devices
4096 * libnm-glib/nm-device-802-11-wireless.c
4097 - (state_changed_cb): update for new device states
4099 2008-04-07 Dan Williams <dcbw@redhat.com>
4101 * marshallers/nm-marshal.list
4102 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4104 2008-04-07 Dan Williams <dcbw@redhat.com>
4106 * system-settings/src/main.c
4107 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4108 plugins to the dbus settings object
4109 - (load_stuff): start the dbus service after grabbing unmanaged devices
4110 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4111 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4112 - (main): switch default logging to syslog with a 'debug' option to
4113 output to console; start up the HAL manager
4115 2008-04-07 Dan Williams <dcbw@redhat.com>
4117 * introspection/nm-settings-system.xml
4118 introspection/Makefile.am
4119 - Define the unmanaged devices interface for the system settings service
4121 * system-settings/src/nm-system-config-hal-manager.c
4122 system-settings/src/nm-system-config-hal-manager.h
4123 system-settings/src/nm-system-config-hal-manager-private.h
4124 system-settings/src/Makefile.am
4125 - Add a lightweight HAL manager object for tracking network devices for
4126 the purpose of determining unmanaged devices and which devices need
4127 the default DHCP connections
4129 * system-settings/src/nm-system-config-interface.c
4130 system-settings/src/nm-system-config-interface.h
4131 - (nm_system_config_interface_init): add the HAL manager as an argument
4132 - (nm_system_config_interface_get_unmanaged_devices): implement
4133 - Define 'unmanaged-devices-changed' signal
4135 * system-settings/src/dbus-settings.c
4136 system-settings/src/dbus-settings.h
4137 - Implement the unmanaged devices interface; some cleanups
4139 * system-settings/plugins/ifcfg-suse/plugin.c
4140 - Fixup for plugin interface changes
4142 * system-settings/plugins/ifcfg-fedora/plugin.c
4143 - (get_ether_device_udi): new function; find the device that has
4144 a specified MAC address and return its UDI
4145 - (get_udi_for_connection): new function; try to find the specific
4146 device a connection is locked to, if any
4147 - (device_added_cb, device_removed_cb): update unmanaged device list in
4148 response to HAL events
4149 - (get_unmanaged_devices): new function; return unmanaged device list
4150 - (build_one_connection): set the connection's locked device, if any
4151 - (write_auto_wired_connection): remove
4152 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4153 - (handle_connection_changed): alert listeners that the unmanaged device
4155 - (init): fixup for plugin interface changes, implement unmanaged devices
4157 * system-settings/plugins/ifcfg-fedora/parser.c
4158 system-settings/plugins/ifcfg-fedora/parser.h
4159 - (connection_data_free): clean up connection UDI
4161 2008-04-07 Dan Williams <dcbw@redhat.com>
4163 * system-settings/plugins/ifcfg-fedora/parser.c
4164 - (make_ip4_setting): fix parsing of DNS servers
4166 2008-04-05 Dan Williams <dcbw@redhat.com>
4170 marshallers/Makefile.am
4171 marshallers/nm-marshal-main.c
4172 marshallers/nm-marshal.list
4173 - Consolidate marshallers
4175 * libnm-glib/nm-marshal-main.c
4176 libnm-glib/nm-marshal.list
4177 src/marshallers/Makefile.am
4178 src/marshallers/nm-marshal-main.c
4179 src/marshallers/nm-marshal.list
4182 * libnm-glib/Makefile.am
4184 src/dhcp-manager/Makefile.am
4185 src/ppp-manager/Makefile.am
4186 src/supplicant-manager/Makefile.am
4187 src/vpn-manager/Makefile.am
4188 - Use consolidated marshallers
4190 2008-04-04 Dan Williams <dcbw@redhat.com>
4192 * src/nm-hal-manager.c
4193 src/nm-hal-manager.h
4194 - (hal_init): don't look for hardware here
4195 - (nm_hal_manager_start): new function; look for hardware here instead,
4196 which can be done at a later time than hal_init()
4198 * src/NetworkManager.c
4199 - (main): start HAL manager after entering the main loop
4201 2008-04-03 Dan Williams <dcbw@redhat.com>
4203 * libnm-glib/nm-settings.c
4204 libnm-glib/nm-settings.h
4205 - (nm_exported_connection_get_id): new function
4206 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4208 2008-04-02 Dan Williams <dcbw@redhat.com>
4210 * src/nm-device-interface.c
4211 src/nm-device-interface.h
4214 - Rename check_connection_conflicts() to check_connection_compatible()
4216 * src/nm-device-802-11-wireless.c
4217 - (real_check_connection_conflicts): remove
4218 - (real_check_connection_compatible): implement; match MAC address
4220 * src/nm-device-802-3-ethernet.c
4221 - (real_check_connection_conflicts): remove
4222 - (real_check_connection_compatible): implement; match MAC address
4223 - (real_get_best_auto_connection): correctly handle PPPoE cases
4226 - (check_connection_allowed): remove; unused until PolicyKit integration
4227 - (internal_activate_device): check whether the connection is compatible
4228 with the device before trying to activate it
4230 2008-04-02 Dan Williams <dcbw@redhat.com>
4232 * system-settings/plugins/ifcfg-fedora/parser.c
4233 - (read_mac_address): new function; read in MAC address and stuff it
4235 - (add_one_wep_key): remove debug spew
4236 - (make_wireless_security_setting): validate the default TX key; don't
4237 add the wireless-security setting if the connection doesn't need
4238 security; don't leak the keys shvarFile on error cases
4239 - (make_wireless_setting, make_wired_setting): populate device's MAC
4242 2008-04-02 Dan Williams <dcbw@redhat.com>
4244 * libnm-util/nm-setting-connection.c
4245 libnm-util/nm-setting-connection.h
4246 - (set_property, get_property, nm_setting_connection_class_init): remove
4247 the 'lockdown' property; it's functionality will be replaced by
4250 2008-04-01 Dan Williams <dcbw@redhat.com>
4252 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4255 initscript/Makefile.am
4256 initscript/Mandriva/Makefile.am
4257 initscript/Mandriva/networkmanager.in
4258 initscript/Mandriva/networkmanagerdispatcher.in
4259 src/backends/Makefile.am
4260 src/backends/NetworkManagerMandriva.c
4261 system-settings/plugins/Makefile.am
4262 - Add Mandriva support
4264 2008-03-31 Dan Williams <dcbw@redhat.com>
4266 * src/vpn-manager/nm-vpn-service.c
4267 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4268 errors can be passed back to the caller; also no longer scheduled
4269 as an idle handler, but called directly; and bump up VPN service
4270 spawn timeout, 2s is really short
4271 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4272 but call it directly so that errors are reported on return from
4273 ActivateConnection() and don't get lost. If scheduled as an idle
4274 handler, clients don't have the time to query NM for the new VPN
4275 connection's properties before the VPN connection is torn down again
4276 if the service couldn't be launched, and therefore launch errors
4279 2008-03-31 Dan Williams <dcbw@redhat.com>
4281 * src/vpn-manager/nm-vpn-connection.c
4282 - (device_state_changed): send correct state on device failure too
4283 - (plugin_state_changed): failed state means unexpected disconnection,
4284 thus if the service goes away while the VPN connection is activated
4285 that's a failure too
4287 2008-03-31 Dan Williams <dcbw@redhat.com>
4289 * src/vpn-manager/nm-vpn-manager.c
4290 src/vpn-manager/nm-vpn-manager.h
4291 - Make VPNManager errors more available; add a service-start-failed error
4293 2008-03-31 Dan Williams <dcbw@redhat.com>
4295 * libnm-glib/nm-client.c
4296 libnm-glib/nm-client.h
4297 - (activate_cb): pass the new active connection to callback; fix
4298 message when no callback is specified
4300 2008-03-30 Dan Williams <dcbw@redhat.com>
4302 * libnm-util/nm-setting-wireless-security.c
4303 - (need_secrets): only require key0 if the transmit key index is also
4305 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4307 2008-03-29 Dan Williams <dcbw@redhat.com>
4309 * libnm-util/nm-setting-8021x.c
4310 libnm-util/nm-setting-ip4-config.c
4311 libnm-util/nm-setting-vpn-properties.c
4312 libnm-util/nm-setting-vpn.c
4313 libnm-util/nm-setting-wireless-security.c
4314 libnm-util/nm-setting-wireless.c
4315 libnm-util/nm-utils.c
4316 src/dhcp-manager/nm-dhcp-manager.c
4317 src/nm-activation-request.c
4320 src/nm-properties-changed-signal.c
4321 src/ppp-manager/nm-pppd-plugin.c
4322 src/supplicant-manager/nm-supplicant-interface.c
4323 src/vpn-manager/nm-vpn-connection.c
4324 - consistently use nm-dbus-glib-types.h
4326 2008-03-29 Dan Williams <dcbw@redhat.com>
4328 * src/vpn-manager/nm-vpn-connection.c
4329 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4332 * src/nm-activation-request.c
4333 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4336 2008-03-29 Dan Williams <dcbw@redhat.com>
4338 * libnm-glib/nm-device-802-11-wireless.c
4339 - (access_point_added_proxy): create new APs if not found
4341 2008-03-29 Dan Williams <dcbw@redhat.com>
4343 * libnm-glib/nm-client.c
4344 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4347 2008-03-29 Dan Williams <dcbw@redhat.com>
4349 * system-settings/plugins/ifcfg-fedora/parser.c
4350 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4351 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4353 2008-03-29 Dan Williams <dcbw@redhat.com>
4355 * system-settings/plugins/ifcfg-fedora/parser.c
4356 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4358 2008-03-27 Dan Williams <dcbw@redhat.com>
4361 - (nm_object_queue_notify): don't notify multiple times for the same
4364 * nm-object-private.h
4365 - (handle_ptr_array_return): return NULL if the given array is NULL or
4366 if it has zero elements
4369 - (finalize): use g_ptr_array_foreach() when freeing domains
4370 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4372 * nm-active-connection.c
4373 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4375 * nm-device-802-11-wireless.c
4376 nm-device-802-11-wireless.h
4377 - (nm_device_802_11_wireless_get_access_points): return const; use
4378 handle_ptr_array_return()
4381 - (nm_object_array_demarshal): always create an array, even of length
4382 zero, to distinguish between "NM returned no items" and "haven't
4386 - (dispose): free active connections too
4387 - (proxy_name_owner_changed): free active connections too when NM goes
4389 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4390 - (nm_client_get_active_connections): use handle_ptr_array_return()
4392 2008-03-26 Dan Williams <dcbw@redhat.com>
4394 Rework VPN connection handling for a more consistent D-Bus API. The
4395 VPNManager object has been removed, and active VPN connections are now the
4396 same as any other active connection. The Manager object's ActivateConnection
4397 and DeactivateConnection methods are used to start and stop a VPN connection,
4398 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4399 When activating a VPN connection, pass the path of the active connection
4400 to which the VPN connection is tied in the 'specific_object' argument.
4402 Consequently, the libnm-glib API has been reworked to match this arrangement,
4403 with the VPNManager object removed, and the NMVPNConnection objects now
4404 being subclasses of NMActiveConnection.
4406 2008-03-25 Dan Williams <dcbw@redhat.com>
4408 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4410 * initscript/Arch/networkmanager.in
4411 initscript/Arch/networkmanager-dispatcher.in
4412 - Updates for Arch Linux (gnome.org #523701)
4414 2008-03-25 Dan Williams <dcbw@redhat.com>
4416 * libnm-glib/nm-ip4-config.c
4417 libnm-glib/nm-active-connection.c
4418 libnm-glib/nm-access-point.c
4419 - Use nm_object_queue_notify() instead of g_object_notify()
4421 * libnm-glib/nm-device.c
4422 - (demarshal_ip4_config): distinguish between successful but missing
4423 ip4-config request, and unsuccessful and missing ip4-config request
4424 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4426 - Use nm_object_queue_notify() instead of g_object_notify()
4428 * libnm-glib/nm-device-802-11-wireless.c
4429 - (demarshal_active_ap): distinguish between successfull but missing
4430 active-ap request, and unsuccessful and missing active-ap request
4431 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4433 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4434 for the NMClient to notify the device that wireless is disabled,
4435 and therefore to clear the AP list and active AP
4436 - Use nm_object_queue_notify() instead of g_object_notify()
4438 * libnm-glib/nm-client.c
4439 - (poke_wireless_devices_with_rf_status): new function
4440 - (update_wireless_status): notify wireless devices of the rfkill status
4441 so they can clean up if needed
4442 - Use nm_object_queue_notify() instead of g_object_notify()
4444 2008-03-25 Dan Williams <dcbw@redhat.com>
4446 * libnm-glib/nm-object.c
4447 libnm-glib/nm-object-private.h
4448 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4449 signals to an idle handler
4450 - (nm_object_get_property): add a timeout to the D-Bus method call
4452 2008-03-25 Dan Williams <dcbw@redhat.com>
4454 * introspection/nm-device-cdma.xml
4455 introspection/nm-device-gsm.xml
4456 introspection/Makefile.am
4457 introspection/all.xml
4458 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4460 * src/nm-gsm-device.h
4462 src/nm-cdma-device.h
4463 src/nm-cdma-device.c
4465 - Implement PropertiesChanged signals
4467 * libnm-glib/nm-cdma-device.c
4468 libnm-glib/nm-cdma-device.c
4469 - Attach to PropertiesChanged signals
4471 2008-03-24 Dan Williams <dcbw@redhat.com>
4473 * libnm-glib/nm-client.c
4474 - (client_device_added_proxy): add new devices to the internal device
4475 list so they appear to clients
4477 2008-03-24 Dan Williams <dcbw@redhat.com>
4479 Massive fixup of libnm-glib to:
4480 a) have all objects (with the exception of VPN) cache their properties and
4481 update them asynchronously on PropertiesChanged signals from NM
4482 b) return internal const data for most attributes/properties instead of
4483 allocated values that the caller must free
4484 c) cache wrapped objects such that a given D-Bus path will always map to the
4485 same GObject returned by libnm-glib
4486 d) remove a few signals and move them to GObject property notifications
4487 e) match recent NM D-Bus API changes for activation/deactivation
4488 f) remove some private functions from libnm-glib headers
4490 2008-03-20 Dan Williams <dcbw@redhat.com>
4493 - (nm_manager_update_state, manager_device_state_changed,
4494 nm_manager_activate_device, connection_added_default_handler,
4495 impl_manager_activate_connection, impl_manager_deactivate_connection):
4496 queue PropertyChanged singals when the active connections change
4498 2008-03-20 Dan Williams <dcbw@redhat.com>
4500 * introspection/nm-manager.xml
4501 introspection/nm-manager-client.xml
4502 - (ActivateConnection): return the object path of the active connection
4504 - (GetActiveConnections): remove
4505 - (DeactivateConnection): new function; deactivate a currently active
4507 - Add an ActiveConnections property which returns an array of
4508 active connection object paths
4510 * introspection/nm-device.xml
4511 - (Deactivate): remove
4513 * introspection/all.xml
4514 - Add ActiveConnection introspection
4516 * introspection/nm-active-connection.xml
4517 - Add the ActiveConnection object
4519 * include/NetworkManager.h
4520 - Add the Connection.Active D-Bus interface
4522 * src/nm-device-interface.c
4523 - (impl_device_deactivate): remove
4525 * src/nm-activation-request.c
4526 src/nm-activation-request.c
4528 - Implement the Connection.Active D-Bus interface
4531 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4532 - (nm_manager_activate_device): return the active connection path
4533 - (connection_added_default_handler, impl_manager_activate_connection):
4534 return the active connection to the caller
4535 - (add_one_connection_element, impl_manager_get_active_connections):
4537 - (impl_manager_deactivate_connection): new function; deactivate an
4540 * libnm-glib/nm-device.c
4541 libnm-glib/nm-device.h
4542 - Remove Deactivate() function
4544 2008-03-19 Dan Williams <dcbw@redhat.com>
4546 * introspection/nm-manager.xml
4547 introspection/nm-manager-client.xml
4548 - Rename the ActivateDevice method to ActivateConnection to better
4549 reflect it's usage; it's arguments get reordered a bit too
4550 - Convert GetActiveConnections method return from a struct to a dict
4552 * include/NetworkManager.h
4553 - Define the dict keys for return value of GetActiveConnections
4556 - impl_manager_activate_device -> impl_manager_activate_connection
4557 - (add_one_connection_element): return a populated hash table, not
4560 * libnm-glib/nm-client.c
4561 libnm-glib/nm-client.h
4562 - nm_client_activate_device -> nm_client_activate_connection
4563 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4564 - (nm_client_get_active_connections): return a GSList of GHashTables,
4565 instead of the custom structures. Each element of the returned list
4566 must be freed with nm_client_free_active_connections_element()
4568 2008-03-18 Dan Williams <dcbw@redhat.com>
4570 * system-settings/plugins/ifcfg-fedora/parser.c
4571 system-settings/plugins/ifcfg-fedora/parser.h
4572 system-settings/plugins/ifcfg-fedora/plugin.c
4573 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4574 profiles. DNS servers and searches must now be stored in the ifcfg
4577 2008-03-18 Tambet Ingo <tambet@gmail.com>
4579 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4580 print out username and password, it's supposed to be a secret.
4582 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
4583 request and set the device state accordingly.
4585 2008-03-18 Tambet Ingo <tambet@gmail.com>
4587 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4589 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4591 2008-03-18 Dan Williams <dcbw@redhat.com>
4593 * src/vpn-manager/nm-vpn-connection.c
4594 - (get_secrets_cb): handle new GetSecrets return format
4596 2008-03-18 Dan Williams <dcbw@redhat.com>
4598 Adapt system settings service for split 802.1x.
4600 * system-settings/src/nm-system-config-interface.h
4601 - clarify return value of get_secrets()
4603 * system-settings/src/dbus-settings.c
4604 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4605 - (check_for_secrets): check if there actually secrets returned by a
4607 - (exported_connection_get_secrets): just return the plugin-returned
4608 hash of settings' secrets if it looks valid
4610 * system-settings/plugins/ifcfg-fedora/plugin.c
4611 - (get_secrets): add split secrets with correct format to reply hash
4613 * system-settings/plugins/ifcfg-fedora/parser.c
4614 system-settings/plugins/ifcfg-fedora/parser.h
4615 - (copy_one_cdata_secret, connection_data_copy_secrets,
4616 connection_data_free, connection_data_add): keep secrets for
4617 different settings in different hashes
4619 2008-03-17 Tambet Ingo <tambet@gmail.com>
4621 Clean up activating device deactivation.
4623 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4624 should be done whether the device activation gets cancelled or the device
4625 is just getting deactivated.
4626 (nm_device_activation_cancel): Remove.
4627 (nm_device_deactivate_quickly): Handle the case where device is activating.
4629 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4630 It does the exact same thing as real_deactivate_quickly().
4632 2008-03-17 Dan Williams <dcbw@redhat.com>
4634 Split the 802.1x bits out of the wireless-security setting so they are
4635 generalized enough for wired 802.1x to use too.
4637 * introspection/nm-exported-connection.xml
4638 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4639 of just a hash of the secrets for one setting
4641 * libnm-util/nm-setting-wireless-security.c
4642 libnm-util/nm-setting-wireless-security.h
4643 - Remove 802.1x-specific stuff
4644 - Added leap-username and leap-password properties for old-school LEAP
4648 - (connection_secrets_updated_cb): take a list of updated settings names,
4651 * src/supplicant-manager/nm-supplicant-config.c
4652 src/supplicant-manager/nm-supplicant-config.h
4653 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4654 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4655 to nm_supplicant_config_add_setting_8021x()
4656 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4657 the supplicant config
4659 * src/nm-device-802-11-wireless.c
4660 - (build_supplicant_config): pass in the 802.1x setting too, if any
4661 - (real_connection_secrets_updated): take a list of updated settings
4664 * src/nm-device-802-3-ethernet.c
4665 src/nm-cdma-device.c
4667 - (real_connection_secrets_updated_cb): take a list of updated settings
4670 * src/nm-activation-request.c
4671 src/nm-activation-request.h
4672 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4673 now passes a list of updated settings names, not just one
4674 - (update_one_setting): new function; handle one updated setting
4675 - (get_secrets_cb): handle multiple settings returned from the
4676 settings service; have to be careful of ordering here as there are
4677 some dependencies between settings (ex. wireless-security and 802.1x
4680 * src/marshallers/nm-marshal.list
4681 - new marshaller for connection-secrets-updated signal
4683 * libnm-util/nm-setting-8021x.c
4684 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4686 - (verify): a valid 'eap' property is now required
4688 * libnm-util/nm-connection.c
4689 - (register_default_settings): add priorities to settings; there are
4690 some dependencies between settings, and during the need_secrets
4691 calls this priority needs to be respected. For example, only the
4692 wireless-security setting knows whether or not the connection is
4693 going to use 802.1x or now, so it must be asked for secrets before
4694 any existing 802.1x setting is
4695 - (nm_connection_lookup_setting_type): expose
4697 * libnm-util/nm-setting-wireless.c
4698 - (verify): should verify even if all_settings is NULL; otherwise won't
4699 catch the case where there is missing security
4701 * libnm-util/nm-setting-wireless-security.c
4702 - Remove everything to do with 802.1x
4703 - Add old-school LEAP specific properties for username and password
4704 - (need_secrets): rework LEAP secrets checking
4705 - (verify): rework for LEAP and 802.1x verification
4707 2008-03-17 Dan Williams <dcbw@redhat.com>
4709 * src/NetworkManagerPolicy.c
4710 - (auto_activate_device): always remove the current activation check
4711 from the pending activation list, otherwise when the policy gets
4712 destroyed on NM exit it will attempt to free the already freed
4715 2008-03-14 Tambet Ingo <tambet@gmail.com>
4717 * src/backends/NetworkManagerSlackware.c
4718 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4720 * src/backends/NetworkManagerSuSE.c: Add missing includes.
4722 2008-03-14 Dan Williams <dcbw@redhat.com>
4725 - (nm_device_interface_get_iface): g_object_get() will return an
4726 allocated value, so this function must not return const
4727 - (nm_device_interface_activate): free returned iface
4729 2008-03-14 Tambet Ingo <tambet@gmail.com>
4731 * libnm-util/Makefile.am: Add new files to build.
4733 * libnm-util/nm-connection.c: Register NMSetting8021x.
4735 * libnm-util/nm-setting-8021x.c
4736 * libnm-util/nm-setting-8021x.h: Implement.
4738 2008-03-14 Tambet Ingo <tambet@gmail.com>
4740 * libnm-util/Makefile.am: Add new files to build.
4742 * libnm-util/nm-connection.c: Register NMSetting8021x.
4744 * libnm-util/nm-setting-8021x.c
4745 * libnm-util/nm-setting-8021x.h: Implement.
4747 2008-03-14 Tambet Ingo <tambet@gmail.com>
4749 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4752 2008-03-14 Dan Williams <dcbw@redhat.com>
4754 * include/wireless-helper.h
4756 - One place for all the junk needed for #including wireless.h
4759 src/NetworkManagerAP.c
4762 libnm-util/nm-utils.c
4763 libnm-util/nm-setting-wireless.c
4764 libnm-glib/nm-device-802-11-wireless.c
4765 libnm-glib/nm-access-point.c
4766 libnm-glib/libnm-glib-test.c
4767 - include wireless-helper.h, not iwlib.h
4770 - Don't need libiw really, just need to check for wireless.h
4772 * src/kernel-types.h
4773 - Remove; used types moved into wpa.c
4775 * src/nm-device-802-11-wireless.c
4776 - (nm_device_802_11_wireless_update_signal_strength,
4777 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4778 nm_device_802_11_wireless_set_mode,
4779 nm_device_802_11_wireless_get_frequency,
4780 nm_device_802_11_wireless_get_ssid,
4781 nm_device_802_11_wireless_set_ssid,
4782 nm_device_802_11_wireless_get_bitrate,
4783 nm_device_802_11_wireless_get_bssid,
4784 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4785 instead of iwlib functions
4787 2008-03-14 Dan Williams <dcbw@redhat.com>
4789 * src/ppp-manager/nm-ppp-manager.c
4790 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4791 should only take the DBusGMethodInvocation argument, not user/pass
4792 too. With dbus-glib, async functions only take 2 C arguments since
4793 the real dbus method arguments get passed back with
4794 dbus_g_method_return()
4796 2008-03-13 Tambet Ingo <tambet@gmail.com>
4798 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
4799 Adapt the changes of NMSettingIP4Config.
4801 2008-03-13 Dan Williams <dcbw@redhat.com>
4803 * src/NetworkManagerUtils.c
4804 src/NetworkManagerUtils.h
4805 - (nm_ether_ntop): replacement for iw_ether_ntop()
4807 * src/NetworkManagerAP.c
4808 src/nm-device-802-11-wireless.c
4809 src/nm-device-802-3-ethernet.c
4810 - s/iw_ether_ntop/nm_ether_ntop/g
4812 2008-03-13 Dan Williams <dcbw@redhat.com>
4814 * src/NetworkManagerPolicy.c
4815 - (update_routing_and_dns): never set the default route through an
4816 IPv4LL addressed device
4818 2008-03-13 Dan Williams <dcbw@redhat.com>
4820 * NetworkManagerUtils.c
4821 NetworkManagerUtils.h
4822 - Remove NMSock stuff
4823 - Remove the completion stuff
4828 NetworkManagerSystem.c
4830 nm-device-802-11-wireless.c
4831 nm-device-802-3-ethernet.c
4832 - Remove NMSock and completion stuff
4833 - Remove nm_ioctl_info()
4835 2008-03-12 Dan Williams <dcbw@redhat.com>
4838 - (merge_ip4_config): avoid duplicates
4840 2008-03-12 Dan Williams <dcbw@redhat.com>
4842 * libnm-util/nm-setting-ip4-config.c
4843 libnm-util/nm-setting-ip4-config.h
4844 - Remove 'manual' and 'autoip' properties
4845 - Add 'method' property
4846 - (verify): fix verification with 'method'
4847 - (finalize): free 'method'
4848 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4852 - (real_act_stage3_ip_config_start): check IP4Config method
4853 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4855 - (merge_ip4_config): IP settings are valid with DHCP too
4856 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4857 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4859 * src/nm-device-802-11-wireless.c
4860 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4861 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4864 * system-settings/plugins/ifcfg-fedora/parser.c
4865 system-settings/plugins/ifcfg-suse/parser.c
4866 - (make_ip4_setting): fix up for 'method'
4868 2008-03-12 Dan Williams <dcbw@redhat.com>
4870 * system-settings/plugins/ifcfg-fedora/parser.c
4871 system-settings/plugins/ifcfg-fedora/parser.h
4872 - (get_ifcfg_name): ignore more file suffixes
4873 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4875 2008-03-12 Dan Williams <dcbw@redhat.com>
4878 - Bring in the bits of gnome-common we actually use (all 15 lines)
4880 2008-03-12 Dan Williams <dcbw@redhat.com>
4882 * system-settings/plugins/ifcfg-fedora/plugin.c
4883 - (write_auto_wired_connection): new function; write out an auto
4884 wired connection file since the applet isn't doing it any more
4885 - (reload_all_connections): write out the auto wired connection file
4886 if there aren't any wired connections already
4887 - (init): don't leak a GError
4889 2008-03-12 Dan Williams <dcbw@redhat.com>
4891 * src/nm-device-interface.c
4892 - (nm_device_interface_activate): print the ID of the connection
4893 that's about to be activated
4895 2008-03-12 Dan Williams <dcbw@redhat.com>
4897 Harmonize the 802.11 bitrate API
4899 * introspection/nm-access-point.xml
4900 - 'Rate' -> 'MaxBitrate'; clarify units
4902 * introspection/nm-device-802-11-wireless.xml
4903 - Clarify units of 'Bitrate'
4905 * src/NetworkManagerAP.c
4906 src/NetworkManagerAP.h
4907 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4908 property to 'max-bitrate'
4909 - (foreach_property_cb): convert rate to Kb/s
4911 * src/nm-device-802-11-wireless.c
4912 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4914 * libnm-glib/nm-access-point.c
4915 libnm-glib/nm-access-point.h
4916 - 'rate' -> 'max-bitrate'
4919 libnm-glib/libnm-glib-test.c
4920 - Fix up for these changes
4922 2008-03-12 Dan Williams <dcbw@redhat.com>
4925 - (nm_device_set_ip4_config): don't send property notifications when
4926 the ip4 config is set to NULL; it causes a PropertyChanged signal
4927 which dbus-glib can't parse because the value is NULL, which isn't
4928 a legal object path. Setting the IP4 config to NULL is only
4929 valid when deactivating a device anyway, so the device state change
4930 will alert listeners that the ip4 config is invalid.
4932 2008-03-12 Dan Williams <dcbw@redhat.com>
4934 * src/nm-properties-changed-signal.c
4935 - (add_to_string): better handling of NULL objects
4937 2008-03-12 Dan Williams <dcbw@redhat.com>
4939 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4940 convert the libnm-glib NMDevice8023Ethernet to cached properties
4942 * introspection/nm-device-802-3-ethernet.xml
4943 - New 'Carrier' property
4944 - New 'PropertiesChanged' signal
4946 * introspection/nm-device.xml
4947 - Remove 'Carrier' property
4948 - Remove 'CarrierChanged' signal
4950 * src/nm-device-interface.c
4951 src/nm-device-interface.h
4952 - (nm_device_interface_init): remove 'carrier' property and
4953 'carrier-changed' signal
4957 - (nm_device_get_carrier, nm_device_set_carrier): remove
4958 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4959 the link here; wired device will handle that
4960 - (handle_dhcp_lease_change): don't bother updating link here
4961 - (get_property, nm_device_class_init): remove carrier property
4963 * src/nm-device-802-11-wireless.c
4964 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4965 real_update_link(); wireless devices don't use carrier at all
4966 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4967 supplicant_iface_connection_state_cb_handler,
4968 supplicant_mgr_state_cb_handler): remove anything to do with carrier
4970 * src/nm-device-802-3-ethernet.c
4971 src/nm-device-802-3-ethernet.h
4972 - (nm_device_802_3_ethernet_carrier_on,
4973 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4974 instead of nm_device_set_carrier()
4975 - (device_state_changed): update link from sysfs on activation;
4976 replaces real_update_link()
4977 - (real_update_link): remove, replaced by device_state_changed()
4978 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4979 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4980 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4981 new get_carrier function
4982 - (get_property): add 'carrier' property
4983 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4984 hook into property-changed signal helper
4986 * src/NetworkManagerPolicy.c
4987 - (device_carrier_changed): will only ever be called with a wired device
4988 - (device_added): only hook up to carrier-changed for wired devices
4990 * libnm-glib/nm-device.c
4991 libnm-glib/nm-device.h
4992 - (constructor, nm_device_class_init): remove carrier-changed signal
4993 - (device_carrier_changed_proxy): remove; unused
4994 - (nm_device_get_carrier): remove; carrier a property of wired devices
4996 * libnm-glib/nm-device-802-3-ethernet.c
4997 libnm-glib/nm-device-802-3-ethernet.h
4998 - Convert to cached properties like AP and Wireless objects
4999 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5000 instead of a 'char *', return value should not be freed
5001 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5002 - (constructor): hook into properties-changed helper
5003 - (set_property, get_property): new functions
5004 - (nm_device_802_3_ethernet_class_init): export GObject properties
5007 - (detail_device): strdup the wired hardware address too since it's
5010 * libnm-glib/libnm-glib-test.c
5011 - (dump_wired): strdup the wired hardware address too since it's
5014 2008-03-12 Dan Williams <dcbw@redhat.com>
5016 * libnm-util/nm-setting-ip4-config.c
5017 libnm-util/nm-setting-ip4-config.h
5018 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5019 the 'autoip' property from the spec
5021 2008-03-11 Dan Williams <dcbw@redhat.com>
5023 * src/backends/NetworkManagerGeneric.c
5024 src/backends/NetworkManagerGeneric.h
5025 - (nm_generic_device_get_use_dhcp): remove
5027 2008-03-11 Dan Williams <dcbw@redhat.com>
5030 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5031 already in nm_device_set_ip4_config()
5032 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5033 due to a DHCP rebind fails
5034 - (nm_device_set_ip4_config): send property notifications when the
5036 - (get_property): only report IP4Config property during valid states
5038 * src/NetworkManagerPolicy.c
5039 - (update_routing_and_dns): ignore devices that don't have an ip4
5040 config; add parameter 'force_update' to allow callers to specify
5041 that changes should be made even if the default device doesn't change
5042 - (device_ip4_config_changed): update DNS and routing when the device's
5043 IP4Config changes, like for DHCP updates
5044 - (device_added): listen for ip4-config property changes
5046 2008-03-11 Dan Williams <dcbw@redhat.com>
5048 Fix address handling as a result of DHCP rebind/renew/reboot.
5050 * src/NetworkManagerSystem.c
5051 - (check_one_address): delete an address if it doesn't match a given
5052 one for the same interface
5053 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5054 be smarter about flushing addresses (only flush ones that don't
5055 match the one we're about to apply)
5057 * src/backends/NetworkManagerDebian.c
5058 src/backends/NetworkManagerSuSE.c
5059 src/backends/NetworkManagerArch.c
5060 src/backends/NetworkManagerSlackware.c
5061 src/backends/NetworkManagerRedHat.c
5062 src/backends/NetworkManagerPaldo.c
5063 src/backends/NetworkManagerFrugalware.c
5064 src/backends/NetworkManagerGentoo.c
5065 - (nm_system_delete_default_route): remove
5067 * src/backends/NetworkManagerGeneric.c
5068 src/backends/NetworkManagerGeneric.h
5069 - (nm_generic_enable_loopback): fix the loopback device label
5070 - (nm_generic_delete_default_route): remove; no longer used
5072 2008-03-11 Dan Williams <dcbw@redhat.com>
5074 * src/nm-device-interface.h
5075 - Delimit property name words with '-', otherwise g_object_notify()
5076 doesn't work the way we expect
5078 2008-03-11 Tambet Ingo <tambet@gmail.com>
5080 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5082 2008-03-11 Dan Williams <dcbw@redhat.com>
5084 * src/NetworkManagerPolicy.c
5085 - (update_routing_and_dns): don't change anything if the default device
5086 hasn't changed; print something out when switching the default route
5089 2008-03-10 Tambet Ingo <tambet@gmail.com>
5093 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5094 setting. Use "nic-$eth".
5096 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5097 the device is activating here to fix a race condition.
5099 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5101 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5102 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5103 (nm_ppp_manager_start): Take activation request instead of connection, we might
5104 need it for asking secrets.
5105 (nm_ppp_manager_update_secrets): Implement.
5107 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5108 ppp manager start. It might be needed for asking secrets.
5110 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5111 (ppp_state_changed): Handle pppd daemon disappearing.
5112 (pppoe_stage2_config): Send activation request to ppp manager start.
5114 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5116 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5117 username and password.
5119 2008-03-10 Dan Williams <dcbw@redhat.com>
5122 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5123 response to a DHCP lease change
5124 - (dhcp_state_changed): handle DHCP lease changes while activated
5125 - (nm_device_set_ip4_config): remove a previously set named config
5126 when setting an ip4 config
5128 2008-03-10 Dan Williams <dcbw@redhat.com>
5130 * src/nm-serial-device.c
5131 - (nm_serial_device_send_command): report errno on error
5132 - (get_reply_got_data): limit the size of the overall buffer
5133 - (wait_for_reply_info_destroy): destroy result string
5134 - (wait_for_reply_got_data): append received data to an overall buffer
5135 until timeout, filled buffer, or error instead of keeping a per-call
5136 buffer. Some devices send data slowly enough that this function
5137 gets called multiple times for the same command stream.
5138 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5139 wait_for_reply_got_data() here
5141 2008-03-10 Dan Williams <dcbw@redhat.com>
5143 * src/nm-cdma-device.c
5144 - (do_dial, init_modem): handle errors from
5145 nm_serial_device_send_command_string()
5147 * src/nm-gsm-device.c
5148 - (do_dial, manual_registration, automatic_registration_get_network,
5149 automatic_registration, enter_pin, check_pin, init_modem): handle
5150 errors from nm_serial_device_send_command_string()
5152 2008-03-10 Dan Williams <dcbw@redhat.com>
5154 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5156 * src/named-manager/nm-named-manager.c
5157 - (compute_searches): prefer searches before domains
5158 - (compute_domain): new function
5159 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5160 - (merge_one_ip4_config): if there are no searches in the source config,
5161 merge domains of the source config into the target config
5162 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5164 2008-03-10 Dan Williams <dcbw@redhat.com>
5166 * src/nm-serial-device.c
5167 - (get_reply_got_data): clean up indentation, shrink serial buffer
5168 - (wait_for_reply_got_data): try to handle slower serial devices where
5169 the reply is broken up into multiple reads by concatenating replies
5170 together until either an error is received or the search string is
5173 2008-03-10 Dan Williams <dcbw@redhat.com>
5176 - (nm_device_bring_down): deactivate the device if it's activating too,
5177 not just if it's already activated. This makes sure that everything
5178 from an association attempt is cleaned up (like DHCP for example)
5180 2008-03-10 Dan Williams <dcbw@redhat.com>
5182 * src/nm-serial-device.c
5183 - (config_fd): report error from TCSETA
5184 - (nm_serial_device_open): fail when config_fd() fails
5186 2008-03-10 Dan Williams <dcbw@redhat.com>
5188 * src/nm-ip4-config.c
5189 - (nm_ip4_config_init): allocate searches list
5190 - (finalize): free searches list
5192 2008-03-09 Dan Williams <dcbw@redhat.com>
5194 Patch from Bas Zoetekouw <bas@debian.org>
5196 * src/dhcp-manager/nm-dhcp-manager.c
5197 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5199 2008-03-09 Dan Williams <dcbw@redhat.com>
5201 Patch from Bas Zoetekouw <bas@debian.org>
5203 * src/nm-ip4-config.c
5205 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5206 nm_ip4_config_get_num_searches): add 'searches' as distinct from
5207 domains. 'searches' is the correct way to store multiple search
5208 domains, whereas 'domains' is really just supposed to store one
5209 domain. Some sites abuse the DHCP 'domain-name' option to push
5210 search domains to the client.
5211 - (nm_ip4_config_add_domain): group with related functions (my patch)
5213 2008-03-09 Dan Williams <dcbw@redhat.com>
5215 * src/dhcp-manager/nm-dhcp-manager.c
5216 - (dhclient_run): send interface-specific config files to dhclient
5218 2008-03-07 Dan Williams <dcbw@redhat.com>
5220 * system-settings/plugins/ifcfg-fedora/parser.c
5221 - (is_wireless_device): new function; test a device for wireless
5223 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5224 test the device for wireless extensions to determine the type
5226 2008-03-07 Dan Williams <dcbw@redhat.com>
5228 Change manager's StateChange signal to StateChanged for consistency.
5230 * introspection/nm-manager.xml
5231 - Add 'StateChanged' signal
5232 - Move 'StateChange' down to the deprecated section
5234 * src/nm-hal-manager.c
5235 - (nm_hal_manager_new): connect to 'state-changed' instead
5237 * src/NetworkManagerPolicy.c
5238 - (nm_policy_new): connect to 'state-changed' instead
5242 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5243 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5246 * libnm-glib/nm-client.c
5247 libnm-glib/nm-client.h
5248 - (constructor, nm_client_class_init, client_state_changed_proxy):
5249 track and proxy 'state-changed' instead of 'state-change'
5251 2008-03-07 Dan Williams <dcbw@redhat.com>
5253 First pass of multiple active device support. Expect bugs.
5255 * src/nm-ip4-config.c
5257 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5258 there are better ways to do this in the named manager
5262 - (nm_device_can_activate): return whether the device can activate a
5263 connection right now; taking into account things like carrier state
5265 - (nm_device_get_best_auto_connection): renamed from
5266 nm_device_get_best_connection
5267 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5268 device subclasses themselves, so that each device can override the
5269 MTU from it's NMSetting subclass if needed
5270 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5271 in NetworkManagerSystem.c, not here
5273 * src/named-manager/nm-named-manager.c
5274 src/named-manager/nm-named-manager.h
5275 - (nm_named_manager_name_owner_changed,
5276 nm_named_manager_dbus_connection_changed): fix for changes to
5277 rewrite_resolv_conf()
5278 - (compute_nameservers): don't need the NMNamedManager at all, remove
5280 - (merge_one_ip4_config): new function; merge ip4 configs together
5281 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5282 ip4 configs; the VPN config takes precedence, then the best
5283 device config, then the rest of the configs
5284 - (get_domain_for_config): take the NMNamedManager as an argument
5285 to check whether the config is the VPN config
5286 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5287 attribute from ip4 configs
5288 - (add_all_ip4_configs_to_named): add all the configs in priority order
5289 - (remove_ip4_config_from_named): fix for changes to
5290 get_domain_for_config()
5291 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5292 based on its type; callers must pass in the type now
5293 - (get_last_default_domain): remove, unused
5294 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5296 * src/nm-device-802-11-wireless.c
5297 - (real_can_activate): new function
5298 - (real_get_best_auto_connection): renamed from real_get_best_connection
5299 - (real_act_stage4_get_ip4_config): handle MTU override
5301 * src/nm-device-802-3-ethernet.c
5302 - (real_can_activate): new function
5303 - (real_get_best_auto_connection): renamed from real_get_best_connection
5304 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5306 * src/vpn-manager/nm-vpn-connection.c
5307 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5308 attribute on the ip4 config
5310 * src/NetworkManagerPolicy.c
5311 - (nm_policy_auto_get_best_device): remove
5312 - (nm_policy_device_change_check): remove
5313 - (update_default_route): new function; set the default route via
5314 the specified device
5315 - (get_device_priority): new function; return the priority number of
5316 a device type WRT which one should have the default route. Order is
5317 (highest to lowest) wired, wireless, GSM, CDMA.
5318 - (update_routing_and_dns): new function; determine which device should
5319 have the default route, then update the routing table and DNS
5320 - (maybe_auto_activate_device): new function; if a device is now
5321 available for activation, find out what connection it would like to
5323 - (schedule_activate_check): new function; if a device can be activated
5324 now, schedule the activation. Each device may have only one
5325 pending activation at a given time.
5326 - (device_state_changed): if activation was canceled, try again,
5327 possibly with another connection; if the device was activated,
5328 update routing and DNS; if the device was deactivated, try again
5329 with another connection
5330 - (device_carrier_changed): if there is no carrier, deactivate the
5331 device; otherwise schedule an activation check for the device
5332 - (wireless_networks_changed): schedule an activation check for the
5334 - (device_added): keep track of the signal handler IDs so they can
5335 be removed when the device goes away
5336 - (device_removed): remove any signal handlers that might be attached
5337 to the device; update routing and DNS
5338 - (schedule_activate_all): new function
5339 - (connections_added, connection_added, connection_updated): when
5340 connections change, schedule all devices for an activation check
5341 - (connection_removed): when a device is deactivated because its
5342 connection was removed, schedule another activation check for it
5343 - (nm_policy_destroy): destroy pending activations and disconnect
5344 all device signal handlers
5347 - (nm_manager_activate_device): if the device was already actived,
5349 - (deactivate_old_device): remove
5350 - (connection_added_default_handler, impl_manager_activate_device):
5351 don't deactivate other devices when activating this one
5353 * src/backends/NetworkManagerGentoo.c
5354 src/backends/NetworkManagerFrugalware.c
5355 src/backends/NetworkManagerPaldo.c
5356 src/backends/NetworkManagerRedHat.c
5357 src/backends/NetworkManagerSlackware.c
5358 src/backends/NetworkManagerArch.c
5359 src/backends/NetworkManagerSuSE.c
5360 src/backends/NetworkManagerDebian.c
5361 - (nm_system_get_mtu): remove; MTU should be provided through the
5362 distro's system settings service plugin instead
5363 - (nm_system_device_add_default_route_via_device): remove
5364 - (nm_system_device_add_default_route_via_device_with_iface): remove
5365 - (nm_system_device_replace_default_route): new function; call
5366 generic implementation
5368 * src/backends/NetworkManagerGeneric.c
5369 src/backends/NetworkManagerGeneric.h
5370 - (nm_generic_device_add_default_route_via_device,
5371 nm_generic_device_add_default_route_via_device_with_iface): remove
5372 - (nm_generic_device_replace_default_route): replace the default route
5373 with the given route via some gateway
5375 * src/NetworkManagerSystem.c
5376 src/NetworkManagerSystem.h
5377 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5378 to routing and DNS; but set the MTU here
5379 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5380 ip_iface of the active device; use the standard MTU setting function
5381 - (nm_system_set_mtu): remove
5382 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5384 2008-03-07 Tambet Ingo <tambet@gmail.com>
5386 Rework the interaction between ppp manager and pppd plugin. Register a well
5387 known DBUS service in manager and let the plugin call it's methods instead
5388 of listening plugin's signals.
5390 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5391 of emitting signals.
5393 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5395 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5397 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5398 nm_ppp_manager_start().
5400 * introspection/nm-ppp-manager.xml: New file.
5402 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5403 the case correctly where driver is trying to send -1 for the speed, which gets
5404 casted to u16 and thus is always > 0.
5406 2008-03-07 Dan Williams <dcbw@redhat.com>
5408 * src/nm-hal-manager.c
5409 - (nm_get_device_driver_name): use net.originating_device first, fall
5410 back to physical device. HAL has deprecated physical_device.
5412 * libnm-glib/nm-device.c
5413 - (get_product_and_vendor): use net.originating_device first, fall
5414 back to physical device. HAL has deprecated physical_device.
5415 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5417 2008-03-07 Dan Williams <dcbw@redhat.com>
5420 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5421 last commit; fix that
5422 - (get_link_cache): print error string
5424 2008-03-07 Dan Williams <dcbw@redhat.com>
5427 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5428 don't need this hack any more (Benoit Boissinot)
5430 2008-03-06 Dan Williams <dcbw@redhat.com>
5433 - Die gnome-common, die
5435 2008-03-04 Dan Williams <dcbw@redhat.com>
5437 Patch from Michael Biebl <biebl@debian.org>
5439 * NetworkManager.pc.in
5440 - doesn't actually depend on dbus-1
5442 * libnm-util/nm-utils.h
5443 - remove unused #include <dbus/dbus.h>
5445 * libnm-glib/libnm_glib.pc.in
5446 - depends on glib and dbus-glib
5448 2008-03-02 Dan Williams <dcbw@redhat.com>
5450 * src/NetworkManagerPolicy.c
5451 - s/device_state_changed_idle_id/update_state_id/
5453 2008-03-02 Dan Williams <dcbw@redhat.com>
5457 src/nm-device-802-11-wireless.c
5458 src/nm-device-802-3-ethernet.c
5459 src/NetworkManagerPolicy.c
5460 - s/link_active/carrier
5461 - nm_device_set_active_link() -> nm_device_set_carrier()
5462 - nm_device_has_active_link() -> nm_device_get_carrier()
5464 2008-03-02 Dan Williams <dcbw@redhat.com>
5466 * system-settings/plugins/ifcfg-fedora/parser.c
5467 - (make_wireless_setting): fail connection creation on missing SSID
5469 2008-02-29 Dan Williams <dcbw@redhat.com>
5471 * src/NetworkManagerPolicy.c
5472 - (nm_policy_device_change_check): ensure that a previously active
5473 device with a system connection has a link before denying a switch
5474 to a user connection
5476 2008-02-29 Dan Williams <dcbw@redhat.com>
5478 * src/nm-device-802-11-wireless.c
5479 - (link_timeout_cb): try again if scanning; deactivate the device when
5480 activated if the link dies
5481 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5484 2008-02-29 Dan Williams <dcbw@redhat.com>
5486 * src/nm-device-802-11-wireless.c
5487 src/nm-device-802-11-wireless.h
5488 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5489 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5490 - (device_cleanup): reset the scan interval lower when the device
5492 - (can_scan): base decision mostly off device state, not supplicant
5493 interface state since the supplicant interface state isn't a
5494 great indicator of whether the device is active or not
5495 - (request_wireless_scan): clean up; schedule the next scan here
5496 - (schedule_scan): only back the scan interval off if a new scan
5497 actually gets scheduled; and make scan intervals tighter when the
5498 device is disconnected
5499 - (supplicant_iface_state_cb_handler): fold in the bits of
5500 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5502 - (activation_success_handler): reset scan interval to something
5505 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
5507 reviewed by: Steev <steev@steev.net>
5510 * src/backends/NetworkManagerGentoo.c:
5511 (nm_system_restart_mdns_responder):
5512 Howl is no longer a supported mDNS provider
5514 2008-02-28 Tambet Ingo <tambet@gmail.com>
5516 Get rid of a bunch of unused distro specific functions.
5518 2008-02-28 Tambet Ingo <tambet@gmail.com>
5520 Implement suse plugin for system settings daemon.
5522 * system-settings/plugins/ifcfg-suse/*: Implement.
5524 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5527 * configure.in: Check (without failing) for gio.
5528 Create ifcfg-suse plugin's Makefile.
5530 2008-02-20 Dan Williams <dcbw@redhat.com>
5532 * libnm-util/nm-connection.c
5533 libnm-util/nm-connection.h
5534 - (nm_connection_compare): accept compare flags and pass them to the
5535 setting compare function
5537 * libnm-util/nm-setting.c
5538 libnm-util/nm-setting.h
5539 - (nm_setting_compare): accept compare flags; ignore properties that are
5542 * libnm-util/nm-setting-connection.c
5543 libnm-util/nm-setting-wireless.c
5544 libnm-util/nm-setting-ppp.c
5545 libnm-util/nm-setting-wired.c
5546 - Mark some setting properties as ignorable when doing a fuzzy compare
5549 - (device_activation_precheck): use exact compare
5551 2008-02-20 Dan Williams <dcbw@redhat.com>
5553 * src/NetworkManagerPolicy.c
5554 - (nm_policy_device_change_check): get scope off the connection, not
5555 using the manager helper
5559 - (get_scope_for_proxy): rename from get_type_for_proxy()
5560 - (connection_get_settings_cb): set scope and path on connection, not
5561 using GObject data items
5562 - (get_connection_for_proxy): don't need to return path, since that
5563 can be gotten from the connection
5564 - (get_connection_for_proxy): get path off the connection, not from
5566 - (connection_removed_cb, connection_updated_cb): don't need to get
5567 path from get_connection_for_proxy(); get scope off the connection
5568 instead of using GObject data items
5569 - (connection_added_default_handler, add_one_connection_element): use
5570 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5571 - (nm_manager_get_connection_dbus_path): remove
5572 - (nm_manager_get_connection_scope): remove
5574 2008-02-20 Dan Williams <dcbw@redhat.com>
5576 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5579 * Add 'path' and 'scope' properties to NMConnection since both NM and the
5580 applet were having to hack this in anyway. Remove the 'path' stuff from
5581 NMExportedConnection
5583 * Internally rename NMConnectionType -> NMConnectionScope
5585 * Provide default implementations of the 'get_id' and 'get_settings' methods
5586 of NMExportedConnection
5588 2008-02-15 Dan Williams <dcbw@redhat.com>
5590 * src/nm-device-802-11-wireless.c
5591 - (device_cleanup): release the AP list here too so that the AP list
5592 doesn't survive across suspend/resume and up/down. There is some
5593 room for optimization, for example blow the list away when the card
5594 brought back up, but only if the device has only been down for a
5597 2008-02-15 Dan Williams <dcbw@redhat.com>
5599 * src/nm-hal-manager.c
5600 - (modem_device_creator): recognize new HAL modem capabilities
5602 2008-02-12 Dan Williams <dcbw@redhat.com>
5604 * system-settings/plugins/ifcfg-fedora/plugin.c
5605 - (watch_path): handle IN_DELETE_SELF too
5606 - (handle_connection_changed): notify when removing a connection
5607 - (stuff_changed): don't warn on unknown inotify watches; handle the
5608 case of a file moving out of the profile directory
5610 2008-02-12 Dan Williams <dcbw@redhat.com>
5612 * system-settings/plugins/ifcfg-fedora/parser.c
5613 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5615 2008-02-12 Dan Williams <dcbw@redhat.com>
5617 * libnm-util/nm-utils.c
5618 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5619 just any empty array
5621 2008-02-12 Dan Williams <dcbw@redhat.com>
5623 * system-settings/src/nm-system-config-interface.c
5624 system-settings/src/nm-system-config-interface.h
5625 - (load_connections): get_connections() should now return an allocated
5626 GSList that the system settings service will free
5628 * system-settings/plugins/ifcfg-fedora/plugin.c
5629 system-settings/plugins/ifcfg-fedora/parser.h
5630 system-settings/plugins/ifcfg-fedora/parser.c
5631 - Fix up inotify issues; handle keys-* files, handle new files appearing
5632 in the profile directory, handle resolv.conf file changes
5634 2008-02-10 Dan Williams <dcbw@redhat.com>
5636 * src/nm-device-802-3-ethernet.c
5637 - (real_bring_up): save the supplicant interface state signal id
5638 - (real_bring_down): disconnect from the supplicant interface state
5641 2008-02-07 Dan Williams <dcbw@redhat.com>
5643 * initscript/RedHat/NetworkManager.in
5644 initscript/RedHat/NetworkManagerDispatcher.in
5645 - Add new-style LSB init headers
5647 2008-02-07 Dan Williams <dcbw@redhat.com>
5649 * system-settings/src/dbus-settings.c
5650 system-settings/src/dbus-settings.h
5651 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5653 - (connection_settings_get_secrets): consolidate error returns into
5654 one place; use the new get_secrets() plugin interface function to
5655 get secrets from the plugin itself rather than using GObject data
5658 * system-settings/src/main.c
5659 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5660 load_connections): keep a private list of the plugin-returned
5661 connections, don't use the plugin's GSList
5663 * system-settings/plugins/ifcfg-fedora/plugin.c
5664 - (watch_path): watch the path, not the filename (duh)
5665 - (reload_all_connections): use the direct hash/equal functions; the
5666 ones for int aren't appropriate here
5667 - (get_secrets, system_config_interface_init): implement the
5668 get_secrets() function
5669 - (build_one_connection, find_connection_by_path): ifcfg file path is
5670 now in the connection's ConnectionData instead of being a GObject
5672 - (handle_profile_item_changed): ifcfg file path is now in the
5673 connection's ConnectionData instead of being a GObject data property;
5674 be sure to copy secrets over from the new connection to the existing
5675 connection when updating the connection's settings
5676 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5679 * system-settings/plugins/ifcfg-fedora/parser.c
5680 system-settings/plugins/ifcfg-fedora/parser.h
5681 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5682 connection_data_copy_secrets, connection_data_free,
5683 connection_data_add): new functions; connection data manipulation
5684 - (make_wireless_security_setting): stuff secrets into the
5685 connection data, not as GObject data items; make sure to close
5687 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5688 connection data to the connection
5690 2008-02-07 Dan Williams <dcbw@redhat.com>
5692 * system-settings/src/nm-system-config-interface.c
5693 system-settings/src/nm-system-config-interface.h
5694 - Add a get_secrets() interface function to retrieve secrets for a
5695 specific setting of a specific connection. Document the interface
5698 2008-02-07 Dan Williams <dcbw@redhat.com>
5700 * src/nm-device-802-11-wireless.c
5701 - (handle_auth_or_fail): new function; consolidate device activation
5702 failure check after a certain number of failures getting secrets
5703 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5704 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5705 the connection if secrets were requested more than a few times
5706 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5707 tries here; otherwise they are cleared before the IP configure
5708 timeout, which happens with open system WEP when key is wrong
5709 - (activation_success_handler): clear wireless secrets tries here too
5711 2008-02-07 Dan Williams <dcbw@redhat.com>
5713 * src/NetworkManagerPolicy.c
5714 - (connection_updated): clear invalid tag when connection gets updated
5715 to allow that connection to be tried again
5716 - (nm_policy_new): save signal ids so they can be disconnected when
5717 the policy is destroyed
5718 - (nm_policy_destroy): stop any in-progress state change idle handler,
5719 and disconnect all signals from the manager object so that none
5720 of the policy functions gets called after the policy is destroyed
5722 2008-02-06 Dan Williams <dcbw@redhat.com>
5725 - (finalize): remove devices a bit earlier; clean up system settings
5727 - (nm_manager_name_owner_changed): clean up system settings poke when
5728 the service appears, and try to restart it if it fails
5729 - (poke_system_settings_daemon_cb): try to get the system settings
5730 service started through D-Bus service activation
5731 - (initial_get_connections): start the system settings daemon if it's
5734 2008-02-05 Dan Williams <dcbw@redhat.com>
5736 * src/supplicant-manager/nm-supplicant-config.c
5737 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5738 broadcast networks too
5740 2008-02-04 Dan Williams <dcbw@redhat.com>
5742 * system-settings/plugins/ifcfg-fedora/parser.c
5743 - (make_wireless_security_setting): fix spelling; unencrypted networks
5744 need key_mgmt set too
5745 - (parser_parse_file): validate ifcfg file name and don't try to parse
5746 .bak files; ensure that an error is set whenever NULL gets returned
5748 2008-02-04 Dan Williams <dcbw@redhat.com>
5750 * system-settings/src/Makefile.am
5751 - Install D-Bus service activation file for the system settings
5754 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5755 - D-Bus service activation file for system settings service
5757 2008-02-04 Dan Williams <dcbw@redhat.com>
5759 * system-settings/src/main.c
5760 - (parse_config_file): parse a config file
5761 - (main): accept --config option and read plugins from config file
5763 2008-02-04 Dan Williams <dcbw@redhat.com>
5765 * system-settings/plugins/ifcfg-fedora/plugin.c
5766 - Change reported name to 'ifcfg-fedora'
5767 - Use IFCFG_PLUGIN_NAME
5769 * system-settings/plugins/ifcfg-fedora/plugin.c
5770 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5772 2008-02-04 Dan Williams <dcbw@redhat.com>
5774 * system-settings/plugins/ifcfg-fedora/parser.c
5775 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5776 - (make_connection_setting): use get_ifcfg_name()
5777 - (make_wireless_security_setting): handle shadow key files
5778 - (get_one_wep_key): treat empty string as NULL
5780 2008-02-04 Dan Williams <dcbw@redhat.com>
5782 * src/supplicant-manager/nm-supplicant-manager.c
5783 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5784 glib automatically reschedule
5785 - (nm_supplicant_manager_init): immediately try to start the supplicant
5786 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5789 2008-02-01 Dan Williams <dcbw@redhat.com>
5791 * src/NetworkManagerPolicy.c
5792 - (device_state_changed): schedule a change check when a device gets
5793 deactivated so something happens if you disconnect GSM/CDMA
5795 2008-01-31 Dan Williams <dcbw@redhat.com>
5797 * src/nm-device-802-11-wireless.h
5798 src/nm-device-802-11-wireless.c
5799 - (ap_list_get_ap_by_ssid, is_associated,
5800 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5801 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5802 - (nm_device_802_11_wireless_get_activation_ap): collapse
5803 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5806 2008-01-30 Dan Williams <dcbw@redhat.com>
5808 * system-settings/plugins/ifcfg
5809 * system-settings/plugins/ifcfg-fedora
5810 - Move the ifcfg plugin to ifcfg-fedora
5812 2008-01-24 Dan Williams <dcbw@redhat.com>
5814 * libnm-glib/nm-device-802-11-wireless.c
5815 - (get_access_point): move the "/" check here; check for invalid path
5817 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5818 to get_access_point()
5819 - (access_point_added_proxy, access_point_removed_proxy): don't try
5820 to send signals for non-existent access points
5822 2008-01-24 Dan Williams <dcbw@redhat.com>
5824 * libnm-glib/nm-device-802-11-wireless.c
5825 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5827 2008-01-23 Dan Williams <dcbw@redhat.com>
5829 * libnm-glib/libnm_glib.c
5830 - (libnm_glib_init): make thread joinable
5831 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5833 2008-01-23 Dan Williams <dcbw@redhat.com>
5835 * test/libnm_glib_test.c
5836 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5837 - (main): set up signal handlers; call libnm_glib_shutdown
5839 2008-01-21 Dan Williams <dcbw@redhat.com>
5841 * include/NetworkManager.h
5842 - Add CDMA mobile broadband card device type
5844 * src/nm-hal-manager.c
5845 - (modem_device_creator): handle both CDMA and GSM modems; the device
5846 must now be tagged with 'cdma' or 'gsm' capability
5848 * src/nm-cdma-device.c
5849 src/nm-cdma-device.h
5851 - Add the CDMA mobile broadband card device class
5853 * libnm-util/nm-connection.c
5854 - (register_default_settings): add NMSettingCdma
5856 * libnm-util/nm-setting-cdma.c
5857 libnm-util/nm-setting-cdma.h
5858 libnm-util/Makefile.am
5859 - Add the CDMA mobile broadband card setting class
5861 * libnm-glib/nm-cdma-device.c
5862 libnm-glib/nm-cdma-device.h
5863 libnm-glib/Makefile.am
5864 - Add the CDMA mobile broadband card GLib proxy class
5866 * libnm-glib/nm-client.c
5867 - (get_device): handle CDMA devices too
5869 2008-01-21 Dan Williams <dcbw@redhat.com>
5871 * src/ppp-manager/nm-ppp-manager.c
5872 - (ip4_config_get): set peer address too
5874 * src/ppp-manager/nm-pppd-plugin.c
5875 - (nm_ip_up): try harder to get the peer's address
5877 * src/NetworkManagerSystem.c
5878 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5879 address, use that too. Otherwise, some PPP connections won't work.
5881 2008-01-19 Dan Williams <dcbw@redhat.com>
5883 * src/NetworkManagerPolicy.c
5884 - (nm_policy_device_change_check): system connections override user
5885 connections; don't activate a user connection if there's a currently
5886 active system connection, and new, better system connections always
5887 interrupt user connections
5889 2008-01-19 Dan Williams <dcbw@redhat.com>
5892 - (nm_manager_get_connection_type): new function
5894 2008-01-19 Dan Williams <dcbw@redhat.com>
5896 * src/nm-device-802-11-wireless.c
5897 - (real_get_best_connection): collapse find_best_connection() into this
5900 2008-01-19 Dan Williams <dcbw@redhat.com>
5902 * src/nm-device-802-3-ethernet.c
5903 - (real_get_best_connection): collapse find_best_connection() into this
5906 2008-01-18 Dan Williams <dcbw@redhat.com>
5908 * src/nm-device-802-3-ethernet.c
5909 - (find_best_connection): check MAC address too
5910 - (real_get_best_connection): let autoconnect=True connections activate
5911 for devices that don't have carrier detection
5913 * src/nm-device-802-11-wireless.c
5914 - (find_best_connection): check MAC address too
5916 2008-01-18 Dan Williams <dcbw@redhat.com>
5918 * system-settings/plugins/ifcfg/parser.c
5919 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5921 2008-01-17 Dan Williams <dcbw@redhat.com>
5923 * src/nm-device-802-3-ethernet.c
5924 - (nm_device_802_3_ethernet_carrier_on,
5925 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5926 carrier events that might come in for devices that don't support
5929 2008-01-17 Dan Williams <dcbw@redhat.com>
5931 * src/nm-device-interface.c
5932 - (nm_device_interface_check_connection_conflicts): need to actually
5933 get the interface, not cast to the object
5936 - (nm_device_check_connection_conflicts): need to get the device class,
5937 not cast the device to the device class
5939 2008-01-17 Dan Williams <dcbw@redhat.com>
5941 * src/nm-device-802-11-wireless.c
5942 - (real_check_connection_conflicts): ignore connections that aren't
5943 wireless connections
5945 2008-01-17 Dan Williams <dcbw@redhat.com>
5947 * src/NetworkManagerPolicy.c
5948 - (nm_policy_device_change_check): clear change check idle here
5949 - (device_change_check_done): remove
5950 - (schedule_change_check): simplify
5952 2008-01-17 Dan Williams <dcbw@redhat.com>
5955 - (check_connection_allowed): take an NMDeviceInterface instead of
5956 an NMDevice object as an argument
5957 - (nm_manager_activate_device): pass an NMDeviceInterface to
5958 check_connection_allowed()
5960 2008-01-13 Dan Williams <dcbw@redhat.com>
5962 * libnm-glib/nm-device-802-11-wireless.c
5963 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5965 2008-01-12 Dan Williams <dcbw@redhat.com>
5967 * src/nm-device-802-11-wireless.c
5968 - (activation_success_handler): if a match was found in the scan list
5969 and that match is a hidden AP, update that AP's SSID
5971 2008-01-11 Dan Williams <dcbw@redhat.com>
5973 * src/NetworkManagerAP.c
5974 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5976 * src/nm-device-802-11-wireless.c
5977 - (get_active_ap): do two passes over the scan list if the caller
5978 requests that hidden APs get matched too; during the second pass
5979 when matching hidden APs, ignore the SSID since hidden APs in the
5980 scan list don't have an SSID yet
5981 - (periodic_update): move some checks to
5982 nm_device_802_11_periodic_update() because not all callers need them
5983 - (nm_device_802_11_periodic_update): move some checks here from
5985 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5986 matching on incoming scan results, because the fake AP's flags
5987 might be slightly different (yet still compatible) with the incoming
5988 scan result's flags and they might actually be the same AP; update
5989 the rate on merged APs too
5990 - (activation_success_handler): update the frequency of the fake AP
5991 on successful connection; match hidden APs too since if the
5992 current AP is fake, there might already be a scan result in the
5993 scan list for the desired AP, just without it's SSID filled in yet
5995 2008-01-10 Dan Williams <dcbw@redhat.com>
5997 * src/NetworkManagerAP.c
5998 - (foreach_property_cb): catch more hidden SSID formats
6000 2008-01-10 Dan Williams <dcbw@redhat.com>
6002 Fix gnome.org #464215. Requires the kernel patch titled
6003 "Introduce WEXT scan capabilities" but will handle the patch not being
6004 present, you'll just continue to have problems with hidden SSIDs when
6005 using mac80211-based drivers.
6007 * src/supplicant-manager/nm-supplicant-config.h
6008 src/supplicant-manager/nm-supplicant-config.c
6009 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6010 whether the driver supports SSID scans or not. If it does, and if
6011 the AP is hidden, use ap_scan=1 instead of ap_scan=2
6013 * src/nm-device-802-11-wireless.c
6014 - (constructor): check whether or not the driver supports SSID scans
6015 - (build_supplicant_config): pass driver SSID scan capability when
6016 building the wireless bits of the supplicant config
6018 2008-01-09 Dan Williams <dcbw@redhat.com>
6022 - (device_activation_precheck, check_connection_complete): remove this
6023 virtual function; incomplete connections should be invalid by
6024 definition, complete-ness should be checked in the setting's
6027 * src/nm-serial-device.c
6029 - (real_check_connection_complete): remove
6031 * libnm-util/nm-setting-serial.c
6032 - (verify): new function; ensure there is a PPP setting too
6034 * libnm-util/nm-setting-gsm.c
6035 - (verify): ensure there is a serial setting too
6037 2008-01-06 Dan Williams <dcbw@redhat.com>
6039 * src/dhcp-manager/nm-dhcp-manager.c
6040 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6043 2008-01-04 Dan Williams <dcbw@redhat.com>
6045 * src/named-manager/nm-named-manager.c
6046 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6047 nameservers if the secondary config doesn't have any
6050 2008-01-02 Tambet Ingo <tambet@gmail.com>
6052 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6053 with G_PARAM_CONSTRUCT so that they get the default values.
6055 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6056 the monitoring device and prints out the output for now. Or more precicely, doesn't
6057 do absolutely anything right now since the montoring device argument is never set.
6059 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6060 requires it's own knob to turn it on.
6061 (config_fd): Add NMSettingSerial to the arguments list.
6062 (nm_serial_device_open): Ditto.
6063 (get_reply_got_data): Ignore the terminators at the beginning of the output.
6064 (nm_serial_device_get_io_channel): Implement.
6066 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6067 a new reference every time (and forgetting to release it sometimes) is a pain and
6068 it's not like NMManager could work without dbus.
6069 (nm_manager_add_device): Register the added device on dbus here.
6071 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6074 * src/nm-device.c (constructor): Don't export the device here, instead export
6075 it when it's added to the NMManager's device list.
6077 2007-12-31 Dan Williams <dcbw@redhat.com>
6079 * src/nm-device-interface.c
6080 src/nm-device-interface.h
6081 - (nm_device_interface_check_connection_conflicts): new function
6085 - (nm_device_check_connection_conflicts): new function
6086 - (device_activation_precheck): don't require subclasses to implement
6087 check_connection_complete()
6088 - check_connection() -> check_connection_complete()
6090 * src/nm-device-802-11-wireless.c
6091 - (real_check_connection): remove; unused
6092 - (real_check_connection_conflicts): implement, handle lockdown for
6095 * src/nm-device-802-3-ethernet.c
6096 - (real_check_connection): remove; unused
6099 - (check_connection_allowed): new function
6100 - (nm_manager_activate_device): ensure the connection being requested
6101 is allowed to be activated
6103 * src/nm-serial-device.c
6105 - real_check_connection() -> real_check_connection_complete()
6107 2007-12-27 Dan Williams <dcbw@redhat.com>
6109 * src/nm-device-interface.c
6110 src/nm-device-interface.h
6111 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6112 normalize and expand errors
6113 - (nm_device_interface_init): register errors so they can be marshalled
6115 - (nm_device_interface_activate): ensure that failure of activation
6120 - (device_activation_precheck): implementations of check_connection()
6121 now take a GError and must fill it in if the check fails. Return
6122 more descriptive error if the requested connection is already
6124 - (nm_device_activate): actually try to return descriptive errors on
6127 * src/nm-device-802-11-wireless.c
6128 src/nm-device-802-3-ethernet.c
6129 src/nm-serial-device.c
6131 - (real_check_connection): return more descriptive errors on failure
6133 * src/NetworkManagerPolicy.c
6134 - (nm_policy_device_change_check): print activation errors in the logs
6137 - (nm_manager_error_quark, nm_manager_error_get_type,
6138 nm_manager_class_init): new errors
6139 - (nm_manager_activate_device): handle errors
6140 - (nm_manager_error_new): removed
6141 - (wait_for_connection_expired, connection_added_default_handler,
6142 impl_manager_activate_device): better error handling
6144 2007-12-27 Dan Williams <dcbw@redhat.com>
6146 Fixes gnome.org #466954
6148 * src/supplicant-manager/nm-supplicant-settings-verify.c
6149 - Allow 'frequency' network property
6151 * src/supplicant-manager/nm-supplicant-config.c
6152 src/supplicant-manager/nm-supplicant-config.h
6153 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6154 for callers to specify the frequency an Ad-Hoc network should operate
6155 on. Some drivers require this to successfully create an Ad-Hoc
6158 * src/nm-device-802-11-wireless.c
6159 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6160 guint32 value in MHz
6161 - (constructor, nm_device_802_11_wireless_get_frequency): use
6163 - (find_supported_frequency): new function; find a free supported
6164 frequency for a user-created Ad-Hoc network
6165 - (build_supplicant_config): if no frequency was specified for a user-
6166 created Ad-Hoc network, find a free one to use
6167 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6168 a specific object as user-created
6170 2007-12-27 Dan Williams <dcbw@redhat.com>
6172 * libnm-util/nm-utils.c
6173 libnm-util/nm-utils.h
6174 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6177 2007-12-24 Dan Williams <dcbw@redhat.com>
6179 * libnm-util/nm-setting-wireless.c
6180 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6181 185, 187, 188, 192, and 196
6183 2007-12-24 Dan Williams <dcbw@redhat.com>
6185 * src/nm-device-802-11-wireless.c
6186 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6187 a channel # instead of a frequency
6189 2007-12-24 Dan Williams <dcbw@redhat.com>
6191 * src/NetworkManagerAP.c
6192 src/NetworkManagerAP.h
6193 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6194 - (freq_to_channel): handle split band tables
6195 - (channel_to_freq): handle split band tables, take a band argument
6197 2007-12-24 Dan Williams <dcbw@redhat.com>
6199 * libnm-util/nm-setting-connection.h
6200 libnm-util/nm-setting-connection.c
6201 - Add 'lockdown' member
6203 2007-12-22 Dan Williams <dcbw@redhat.com>
6205 * libnm-util/nm-setting-wireless.c
6206 - (nm_setting_wireless_class_init): add missing 'rate' property
6209 2007-12-18 Dan Williams <dcbw@redhat.com>
6211 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6213 * src/nm-netlink-monitor.c
6214 src/nm-netlink-monitor.h
6215 - Remove handrolled netlink, use libnl instead
6217 * src/nm-device-802-3-ethernet.c
6218 - (constructor, nm_device_802_3_ethernet_carrier_off,
6219 nm_device_802_3_ethernet_carrier_on): use new names
6221 2007-12-17 Dan Williams <dcbw@redhat.com>
6224 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6225 and fixes memory leaks)
6228 - (nm_netlink_get_default_handle): handle new versions of libnl that
6229 automatically handle the netlink PID
6231 2007-12-17 Dan Williams <dcbw@redhat.com>
6233 Patch from Michael Biebl <biebl@debian.org>
6236 src/ppp-manager/Makefile.am
6237 - fix up install dir of pppd plugin
6238 - clean up configure.in a bit
6240 2007-12-12 Dan Williams <dcbw@redhat.com>
6242 * system-settings/src/nm-system-settings.conf
6243 - Allow non-root clients (like the applet) to read settings
6245 2007-12-10 Tambet Ingo <tambet@gmail.com>
6247 * Replace all occurences of 'UMTS' with 'GSM'.
6249 2007-12-07 Dan Williams <dcbw@redhat.com>
6251 * src/nm-serial-device.c
6252 - (real_is_up): serial devices are always "up"
6254 2007-12-07 Dan Williams <dcbw@redhat.com>
6257 src/NetworkManagerSystem.c
6258 - (new_nl_handle): ensure that the same netlink pid is never chosen
6259 twice (gnome.org #491047)
6260 - Make more robust against allocation-related failures should they occur
6262 2007-12-07 Dan Williams <dcbw@redhat.com>
6264 Noticed by Christian Persch <chpe@gnome.org>
6266 Always chain up to parent object in dispose and finalize handlers.
6269 2007-12-07 Dan Williams <dcbw@redhat.com>
6271 * src/nm-device-802-11-wireless.c
6272 - Wrap #include of linux/mii.h to fix redefined structures due to
6273 incorrect kernel headers (gnome.org #350061)
6275 2007-12-06 Tambet Ingo <tambet@gmail.com>
6277 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6278 before doing anything else.
6279 (init_modem): Move modem initialization here.
6281 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6282 (nm_serial_device_flash): Implement.
6284 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6285 changes signal is "StateChanged" and not "Status".
6286 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6288 2007-12-06 Dan Williams <dcbw@redhat.com>
6290 * src/supplicant-manager/nm-supplicant-config.c
6291 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6292 to only send some options when they make sense; also send phase2
6293 option to the supplicant (possible fix for rh #399631)
6295 2007-12-06 Tambet Ingo <tambet@gmail.com>
6297 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6298 arguments: This whole file shouldn't really know anything about NMDevices, it
6299 should deal only with device interfaces. Devices might have different ifaces for
6300 different stuff and this place shouldn't know anything about it.
6302 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6303 (global_state_changed): Implement. In the current NM it's not really important,
6304 but will be required in the case of multiple active devices. (Or even better,
6305 if stuff like that gets moved out from NM).
6307 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6308 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6311 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6312 devices like serial devices (ttyS0 and ppp0 for example).
6313 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6315 (nm_device_set_ip_iface): Implement.
6316 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6317 after setting ip4_config from here ...
6318 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6319 than this function should call nm_system_device_set_from_ip4_config() because no
6320 other code has enough information on which arguments to use. So instead, other code
6321 could just set the new ip4 config using this function and everyone is happy.
6323 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6324 if we happen to get deactivated while something is pending.
6325 (automatic_registration): Handle the response that indicates pending network
6326 registration and wait until the pending registration is done.
6327 (real_deactivate_quickly): If there's a pending operation, cancel it.
6329 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6330 (real_deactivate_quickly): ... and remove it when it's down.
6331 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6333 (nm_serial_device_wait_for_reply): Ditto.
6335 2007-12-05 Tambet Ingo <tambet@gmail.com>
6337 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6338 (get_network_done): Remove newline, nm_info() does it already.
6339 (real_act_stage1_prepare): Turn the modem echo off.
6341 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6342 device, set the route to the device interface. This is a hack.
6344 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6345 return, no need for a new-line.
6346 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6347 Change the device iface here (ugh).
6348 (real_act_stage4_get_ip4_config): Implement.
6349 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6350 Restore the device iface.
6352 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6353 device is not wired or wireless (eg, automatically upped) device.
6355 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6357 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6359 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6360 before calling it's is_device_fn().
6362 2007-12-05 Dan Williams <dcbw@redhat.com>
6364 * libnm-util/nm-utils.c
6365 - (nm_utils_register_value_transformations,
6366 nm_utils_convert_gvalue_hash_to_string): better debug output of
6367 GHashTables of GValues too
6369 2007-12-04 Dan Williams <dcbw@redhat.com>
6371 * initscript/RedHat/NetworkManager.in
6372 - No longer start named; it's D-Bus interface is going away
6374 2007-12-04 Dan Williams <dcbw@redhat.com>
6376 Patch from Michael Biebl <biebl@debian.org>
6378 * system-settings/plugins/ifcfg/Makefile.am
6379 system-settings/src/main.c
6380 system-settings/src/Makefile.am
6381 - Put system settings plugins in NM plugins dir
6383 * src/ppp-manager/Makefile.am
6384 src/ppp-manager/nm-ppp-manager.c
6385 - Move pppd plugin to NM plugins dir
6387 2007-12-04 Dan Williams <dcbw@redhat.com>
6389 * libnm-util/nm-setting-vpn-properties.h
6390 - Clarify usage of the 'data' member of the setting
6392 * libnm-util/nm-setting-vpn-properties.c
6393 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6394 - (set_property): just remove all the settings; don't recreate the has
6395 - (update_one_secret): don't need to create the hash table here since
6396 it should always be present
6398 2007-12-03 Tambet Ingo <tambet@gmail.com>
6400 Implement PIN and PUK requesting.
6402 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6403 (enter_pin): Handle PIN and PUK requests.
6404 (real_act_stage1_prepare): Clear the secret type.
6405 (real_connection_secrets_updated): Implement this class method to get
6406 notified when new secrets arrive.
6407 (nm_umts_device_class_init): Add private data back to the umts device class
6408 to store the required secret type.
6410 2007-12-01 Dan Williams <dcbw@redhat.com>
6412 * system-settings/plugins/ifcfg/parser.c
6413 - (parser_parse_file): don't try to verify NULL connections
6415 2007-12-01 Dan Williams <dcbw@redhat.com>
6417 * system-settings/src/main.c
6418 - (load_connections, add_connection_to_settings): actually export
6419 plugin-provided connections over D-Bus so NM can get them
6421 2007-12-01 Dan Williams <dcbw@redhat.com>
6423 * system-settings/plugins/ifcfg/parser.c
6424 system-settings/plugins/ifcfg/parser.h
6425 system-settings/plugins/ifcfg/plugin.c
6426 - Hook up more inotify bits (untested)
6428 2007-11-29 Dan Williams <dcbw@redhat.com>
6430 * system-settings/src/nm-system-config-interface.h
6431 system-settings/src/nm-system-config-interface.c
6432 - (nm_system_config_interface_init,
6433 nm_system_config_interface_get_connections): add
6435 * system-settings/src/main.c
6436 - (load_plugins, load_connections, main): use a GSList for plugins
6437 to ensure priority ordering
6439 * system-settings/plugins/ifcfg/parser.c
6440 - (ifcfg_error_quark): move to plugin.c, and rename
6442 * system-settings/plugins/ifcfg/plugin.h
6443 system-settings/plugins/ifcfg/plugin.c
6444 - (ifcfg_plugin_error_quark): move here from parser.c
6445 - rework connection loading and initialization
6446 - Add preliminary inotify support for network profile config file
6448 2007-11-28 Tambet Ingo <tambet@gmail.com>
6450 Merge the beginnings of the new GSM card support.
6452 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6453 ppp watch source before killing pppd - If this happens from g_object_unref()
6454 then the ppp manager is already destroyed by the time the watch callback runs.
6456 * src/nm-hal-manager.c: Add a device_type_name string to the device
6457 creators, so that we can print a nice human readable string when a
6460 * src/nm-umts-device.c (automatic_registration_get_network): Query
6461 for the activated network, not much is done with the result thought.
6463 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6464 (ppp_ip4_config): Change the device state to activated here for now.
6465 (real_check_connection): Make sure the connection includes ppp setting.
6467 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6469 * libnm-glib/Makefile.am: Add the new files to build.
6471 * libnm-glib/nm-umts-device.c:
6472 * libnm-glib/nm-umts-device.h: Implement.
6474 2007-11-26 Tambet Ingo <tambet@gmail.com>
6476 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6477 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6479 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6480 the timeout source - this function is only called when the timeout source has
6482 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6483 to be big enough to contain the terminating zero element as well.
6484 The timeout argument is meant to be in seconds now.
6485 (real_deactivate_quickly): Implement.
6487 * src/NetworkManager.conf: Allow root to own
6488 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6490 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6491 (not unsigned ints).
6493 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
6494 small issue with parity bounds - capital letters have lower ascii codes
6495 than lower case letters.
6497 * libnm-util/nm-connection.c (register_default_settings): Register serial
6500 2007-11-22 Tambet Ingo <tambet@gmail.com>
6502 Remove the "index" property from devices as not all device types have this.
6504 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6506 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6507 (wired_device_creator): Get the device interface from hal to create the device.
6508 (wireless_device_creator): Ditto.
6510 * src/nm-device.c (nm_device_init): Remove the index member.
6511 (constructor): Remove the checks for index property, make interface property
6512 a require constructor property.
6513 Use the HAL udi for DBus path for devices.
6514 (nm_device_get_index): Remove.
6515 (set_property): Remove index handling.
6516 (get_property): Ditto.
6517 (nm_device_get_dbus_path): Remove.
6519 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6522 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6523 Access the device index through it's interface.
6524 (nm_device_802_3_ethernet_link_deactivated): Ditto.
6525 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6526 index argument. Add interface argument.
6528 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6529 the useless test_dev argument. Remove index argument. Add interface arugment.
6531 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6532 device index through interface.
6533 (nm_system_set_mtu): Ditto.
6535 * introspection/nm-device.xml: Remove the "Index" property.
6537 2007-11-21 Tambet Ingo <tambet@gmail.com>
6539 * src/nm-serial-device.c:
6540 * src/nm-serial-device.c:
6541 * src/nm-umts-device.c:
6542 * src/nm-umts-device.h: Implement.
6544 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
6545 allocated by libhal.
6546 (modem_device_creator): Implement.
6547 (register_built_in_creators): Register the modem creator.
6549 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
6550 Remove the unused test_dev argument.
6552 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6554 * src/Makefile.am: Add new files to build.
6555 Link in ppp-manager.
6557 * libnm-util/nm-setting-umts.c:
6558 * libnm-util/nm-setting-umts.h:
6559 * libnm-util/nm-setting-serial.c:
6560 * libnm-util/nm-setting-serial.h: Implement.
6562 * libnm-util/Makefile.am: Add new files to build.
6564 2007-11-28 Dan Williams <dcbw@redhat.com>
6566 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6568 Support DHCP-provided static routes.
6570 * src/nm-ip4-config.h
6572 - Add get/set functions for static routes
6574 * src/dhcp-manager/nm-dhcp-manager.c
6575 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6578 * src/NetworkManagerSystem.c
6579 - (nm_system_device_set_from_ip4_config): set any static routes on the
6580 interface when applying the IP4Config
6582 2007-11-28 Dan Williams <dcbw@redhat.com>
6584 * src/nm-device-802-11-wireless.c
6585 - (real_act_stage1_prepare): mark APs created for hidden networks
6588 2007-11-27 Dan Williams <dcbw@redhat.com>
6590 * system-settings/src/nm-system-config-interface.h
6591 - Note how to store secrets on NMSetting objects
6593 * system-settings/src/dbus-settings.c
6594 - (connection_settings_get_secrets): implement
6596 2007-11-27 Dan Williams <dcbw@redhat.com>
6598 * system-settings/plugins/ifcfg/Makefile.am
6599 system-settings/plugins/ifcfg/parser.c
6600 system-settings/plugins/ifcfg/parser.h
6601 system-settings/plugins/ifcfg/plugin.c
6602 - Parse wireless connections too
6604 * system-settings/src/dbus-settings.c
6605 system-settings/src/dbus-settings.h
6606 system-settings/src/main.c
6607 - Handle connection update/removal if the plugin supports it
6609 2007-11-27 Dan Williams <dcbw@redhat.com>
6611 * src/nm-dbus-manager.h
6612 src/nm-hal-manager.c
6613 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6617 src/NetworkManagerDbusUtils.c
6618 src/NetworkManagerDbusUtils.h
6619 - Remove these two source files; they are unused
6621 2007-11-27 Dan Williams <dcbw@redhat.com>
6623 * src/vpn-manager/nm-vpn-manager.c
6624 - (impl_vpn_manager_connect): fix system settings check (found by
6627 2007-11-26 Dan Williams <dcbw@redhat.com>
6629 * Fix warnings so everything compiles with --enable-more-warnings
6631 2007-11-25 Dan Williams <dcbw@redhat.com>
6634 - Rework structure and code to use GModule-loaded plugins and a plugin
6635 interface that plugins export to the system settings service
6637 2007-11-21 Dan Williams <dcbw@redhat.com>
6640 - Add Soren's system settings service. Needs work for distros other
6641 than Fedora; the backends from NM should mostly migrate to here
6642 and be converted to GObjects
6644 2007-11-21 Dan Williams <dcbw@redhat.com>
6646 * libnm-util/nm-setting-vpn-properties.c
6647 - (set_property): must deep-copy the given settings hash, otherwise
6648 double-free errors occur when the setting is disposed of
6650 2007-11-21 Dan Williams <dcbw@redhat.com>
6652 * src/vpn-manager/nm-vpn-act-request.h
6653 src/vpn-manager/nm-vpn-act-request.c
6656 2007-11-20 Dan Williams <dcbw@redhat.com>
6658 * libnm-util/nm-utils.c
6659 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6660 nm_utils_convert_ip4_addr_struct_array_to_string,
6661 nm_utils_register_value_transformations): print out the readable
6662 values of more types of properties of NMSettings subclasses
6664 2007-11-20 Dan Williams <dcbw@redhat.com>
6666 * libnm-util/nm-setting-ip4-config.c
6667 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6668 nm_setting_ip4_config_class_init): apparently dbus-glib can't
6669 marshal GValueArrays inside collections, so switch to types that it
6670 can actually marshal/demarshal
6672 2007-11-16 Dan Williams <dcbw@redhat.com>
6674 * libnm-util/nm-setting-wireless-security.c
6675 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6676 minimal verification of EAP methods too
6677 - (verify): verify phase1 eap methods too
6679 2007-11-15 Dan Williams <dcbw@redhat.com>
6681 * libnm-glib/nm-device.h
6682 libnm-glib/nm-device.c
6683 - (nm_device_get_product, nm_device_get_vendor): should be returning
6686 2007-11-15 Dan Williams <dcbw@redhat.com>
6688 * libnm-glib/nm-device.c
6689 - (get_product_and_vendor): don't try to free things that should be
6692 2007-11-15 Dan Williams <dcbw@redhat.com>
6694 * src/NetworkManagerUtils.c
6695 - (nm_ethernet_address_is_valid): unbreak previous fix
6697 2007-11-15 Dan Williams <dcbw@redhat.com>
6699 * src/supplicant-manager/nm-supplicant-config.c
6700 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6703 2007-11-15 Dan Williams <dcbw@redhat.com>
6705 * src/NetworkManagerUtils.c
6706 - (nm_ethernet_address_is_valid): fix style, clarify
6707 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6709 * src/nm-device-802-11-wireless.c
6710 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6711 - (nm_device_802_11_wireless_get_ssid,
6712 nm_device_802_11_wireless_get_bssid,
6713 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6714 before calling the ioctl; fixes valgrind-reported jump depends on
6715 uninitialized value errors
6717 2007-11-15 Dan Williams <dcbw@redhat.com>
6719 * libnm-util/nm-setting.c
6720 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6721 unecessary to serialize 'name'
6723 * src/nm-activation-request.c
6724 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6727 2007-11-15 Dan Williams <dcbw@redhat.com>
6729 * libnm-util/nm-setting-connection.h
6730 libnm-util/nm-setting-connection.c
6731 - Rename the 'name' property to 'id', because it conflicted with the
6732 NMSetting superclass' 'name' property.
6734 * libnm-util/nm-setting.c
6735 - (nm_setting_to_hash): serialize the 'name' property
6736 - (one_property_cb): ignore 'name' on deserialization of a connection
6738 * src/nm-device-802-11-wireless.c
6739 src/vpn-manager/nm-vpn-connection.c
6740 src/NetworkManagerPolicy.c
6741 - Fix up for NMSettingConnection 'name'->'id' changes
6743 2007-11-13 Dan Williams <dcbw@redhat.com>
6745 * libnm-glib/nm-device-802-11-wireless.h
6746 libnm-glib/nm-device-802-11-wireless.c
6747 - (nm_device_802_11_wireless_get_hw_address): return should be const
6750 libnm-glib/libnm-glib-test.c
6751 - Fixes for above change
6753 2007-11-12 Dan Williams <dcbw@redhat.com>
6755 * src/supplicant-manager/nm-supplicant-settings-verify.c
6756 - Allow fragment_size option
6758 * src/supplicant-manager/nm-supplicant-settings-verify.c
6759 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6760 EAP fragment size than the default to help some TLS connections
6762 2007-11-12 Dan Williams <dcbw@redhat.com>
6764 Make certs actually work. The private key is now a secret, and should be
6765 decrypted when requested by NM. The private key and phase2 private key
6766 passwords are no longer interesting to NM because they should be used by
6767 the settings service to decrypt the private key itself before passing it
6768 to NM, and hence have been removed as fields.
6770 * libnm-util/nm-setting-wireless-security.h
6771 libnm-util/nm-setting-wireless-security.c
6772 - Remove private-key-passwd and phase2-private-key-passwd from
6774 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6775 need_secrets): use property #defines instead strings to keep things
6777 - (need_secrets_tls): if a client certificate is present but no
6778 private key, request the private key
6779 - (set_property, get_property, nm_setting_wireless_security_class_init):
6780 remove private key password stuff, mark private keys as secret
6782 * src/supplicant-manager/nm-supplicant-settings-verify.c
6783 - Remove private_key_passwd and private_key2_passwd from opt_table
6785 2007-11-09 Dan Williams <dcbw@redhat.com>
6787 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6788 Since the vpn-properties are managed and known by the VPN daemons themselves,
6789 libnm-util doesn't know what's secret and what's in the setting's 'data'
6792 * libnm-util/nm-setting.h
6793 libnm-util/nm-setting.c
6794 - Add the ability for subclasses to override update_one_secret
6796 * libnm-util/nm-setting-vpn-properties.c
6797 - Override update_one_secret and just copy the values into the
6800 2007-11-09 Dan Williams <dcbw@redhat.com>
6802 * libnm-glib/nm-settings.h
6803 libnm-glib/nm-settings.c
6804 - (nm_settings_new_error): remove
6805 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6806 clients should use g_set_error() with NM_SETTINGS_ERROR
6808 2007-11-09 Dan Williams <dcbw@redhat.com>
6810 * src/supplicant-manager/nm-supplicant-config.c
6811 - (nm_supplicant_config_add_setting_wireless_security): private key
6812 passwords are never sent to wpa_supplicant, because the supplicant
6813 should never be reading random files from the disk. Clients like
6814 the applet are required to decrypt the private keys and send NM
6815 the decrypted blobs.
6817 2007-11-08 Dan Williams <dcbw@redhat.com>
6819 * libnm-util/nm-setting-wireless-security.h
6820 libnm-util/nm-setting-wireless-security.c
6821 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6822 members to 802-11-wireless-security structure. This should be used
6823 to indicate that the values in private-key and phase2-private-key
6824 are already decrypted by the user agent, and that no
6825 private-key-passwd or phase2-private-key-passwd should be expected.
6826 It is not meant to be a stored configuration value, but meant to
6827 be set when the conneciton is sent to NM over dbus.
6829 2007-11-08 Dan Williams <dcbw@redhat.com>
6831 * libnm-util/nm-connection.h
6832 libnm-util/nm-connection.c
6833 - (nm_connection_need_secrets): add argument to return hints
6835 * src/nm-device-802-11-wireless.c
6836 - (link_timeout_cb, supplicant_connection_timeout_cb,
6837 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6838 nm_connection_need_secrets() change
6840 2007-11-07 Tambet Ingo <tambet@gmail.com>
6842 Rework NMSetting structures: Move each setting to it's own file.
6843 Convert to GObject. Remove home grown setting types and use GTypes.
6844 Use GObject property introspection for hash conversion, enumerating
6847 * libnm-util/nm-setting-connection.[ch]
6848 * libnm-util/nm-setting-ip4-config.[ch]
6849 * libnm-util/nm-setting-ppp.[ch]
6850 * libnm-util/nm-setting-vpn.[ch]
6851 * libnm-util/nm-setting-vpn-properties.[ch]
6852 * libnm-util/nm-setting-wired.[ch]
6853 * libnm-util/nm-setting-wireless.[ch]
6854 * libnm-util/nm-setting-wireless-security.[ch]
6856 New files, each containing a setting.
6858 * libnm-util/nm-setting-template.[ch]: A template for creating new
6859 settings. To use it, just replace 'template' with the new setting
6860 name, and you're half-way done.
6862 * libnm-util/nm-setting.c: Convert to GObject and use GObject
6863 introspection instead of internal types and tables.
6865 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6867 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6868 GValue types defined by dbus-glib for composed types like collections,
6869 structures and maps.
6871 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6872 a setting from connection takes the setting type now. Also, since
6873 the settings are in multiple files, include relevant settings.
6875 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
6878 * src/backends/NetworkManagerGentoo.c:
6879 (nm_system_restart_mdns_responder): Implement restarts for other mdns
6880 providers in Gentoo.
6882 2007-10-31 Dan Williams <dcbw@redhat.com>
6884 * libnm-util/nm-connection.c
6885 - (gvalue_to_string): handle UINT32 arrays
6887 2007-10-31 Dan Williams <dcbw@redhat.com>
6889 * libnm-glib/nm-device.h
6890 libnm-glib/nm-device.c
6891 - (nm_device_get_description): remove
6892 - (nm_device_get_product, nm_device_get_vendor): add
6893 - (nm_device_update_description): new function (private); walk HAL
6894 devices to get product and vendor IDs for a specific device
6896 2007-10-31 Dan Williams <dcbw@redhat.com>
6898 * src/nm-device-802-11-wireless.c
6899 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6901 2007-10-29 Dan Williams <dcbw@redhat.com>
6903 * src/nm-hal-manager.c
6904 - (device_added, device_new_capability): ignore device additions while
6905 asleep. Fixes crash caused when NM goes to sleep, a network device
6906 kernel module is unloaded and reloaded and recognized by NM again.
6908 2007-10-26 Dan Williams <dcbw@redhat.com>
6910 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6912 * src/NetworkManagerAP.c
6913 src/NetworkManagerAP.h
6914 libnm-glib/nm-access-point.c
6915 libnm-glib/nm-access-point.h
6916 - Make 'rate' property a guint32 to better match with WEXT and
6917 wpa_supplicant and to allow representation of higher bitrates
6919 * src/nm-device-802-11-wireless.c
6920 introspection/nm-device-802-11-wireless.xml
6921 libnm-glib/nm-device-802-11-wireless.c
6922 libnm-glib/nm-device-802-11-wireless.h
6923 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6925 * src/nm-device-802-3-ethernet.c
6926 src/nm-device-802-3-ethernet.h
6927 introspection/nm-device-802-3-ethernet.xml
6928 libnm-glib/nm-device-802-3-ethernet.c
6929 libnm-glib/nm-device-802-3-ethernet.h
6930 - Make 'speed' property a guint32 to match other speed/rate types
6931 - Make nm_device_802_3_ethernet_get_speed() static
6934 - Update for the changes above
6936 2007-10-26 Dan Williams <dcbw@redhat.com>
6938 * src/named-manager/nm-named-manager.c
6939 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6940 not calling fclose() twice on some error conditions
6942 2007-10-26 Dan Williams <dcbw@redhat.com>
6944 * src/nm-activation-request.c
6945 - (dispose): clean up indentation; get the right DBusGProxy object to
6946 cancel the GetSecrets pending call on. Need to use the Secrets
6947 proxy, not the regular connection proxy. Otherwise the GetSecrets
6948 pending call doesn't get canceled, and pressing Cancel in the
6949 applet's password dialog could cause get_secrets_cb() to be called
6950 after the activation request has already been destroyed
6952 2007-10-24 Dan Williams <dcbw@redhat.com>
6954 * src/supplicant-manager/nm-supplicant-config.c
6955 - (nm_supplicant_config_add_blob): pass blob data and length for
6957 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6959 2007-10-24 Dan Williams <dcbw@redhat.com>
6961 * src/supplicant-manager/nm-supplicant-settings-verify.c
6962 - (opt_table): max length for certificates should be 65536
6964 2007-10-24 Dan Williams <dcbw@redhat.com>
6966 * src/supplicant-manager/nm-supplicant-interface.c
6967 - (blob_free): correctly free blob data after use
6968 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6970 2007-10-24 Dan Williams <dcbw@redhat.com>
6972 * libnm-util/nm-setting.c
6973 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6974 EAP method need secrets
6976 2007-10-24 Dan Williams <dcbw@redhat.com>
6978 * src/backends/NetworkManagerRedHat.c
6979 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6981 2007-10-23 Dan Williams <dcbw@redhat.com>
6983 * libnm-util/nm-setting.c
6984 libnm-util/nm-setting.c
6985 - (nm_setting_compare): implement
6986 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6987 compare_one_hash_gvalue): compare the contents of a setting
6989 * libnm-util/nm-connection.c
6990 - (nm_connection_compare): implement
6992 2007-10-23 Dan Williams <dcbw@redhat.com>
6994 * src/nm-activation-request.c
6995 - (get_secrets_cb): handle getting a setting back that is more than
6996 just secrets (ie, user changed auth or EAP method or something)
6998 2007-10-23 Dan Williams <dcbw@redhat.com>
7000 * libnm-util/nm-setting.c
7001 libnm-util/nm-setting.h
7002 - (nm_setting_verify): new function; verify one setting
7003 - (nm_settings_verify_all): rename from nm_settings_verify()
7004 - (setting_connection_verify, setting_wireless_verify): allow NULL
7007 * libnm-util/nm-connection.c
7008 - (nm_connection_replace_settings, nm_connection_verify,
7009 nm_connection_new_from_hash): handle nm_settings_verify() rename
7011 2007-10-23 Dan Williams <dcbw@redhat.com>
7013 * src/nm-device-802-11-wireless.c
7014 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7017 2007-10-23 Dan Williams <dcbw@redhat.com>
7019 * src/supplicant-manager/nm-supplicant-settings-verify.c
7020 - eap_allowed, phase2_allowed: harmonize with allowed values from
7023 2007-10-23 Dan Williams <dcbw@redhat.com>
7025 * src/nm-device-802-11-wireless.c
7026 - (real_act_stage2_config): after the first association failure,
7027 if the connection still needs secrets ask the user for them
7028 explicitly. After the fourth association failure due to bad
7029 secrets, fail the connection entirely. Handles the GetSecrets
7030 loop that NM gets into when the provided secrets don't match up
7031 with the connection details.
7033 2007-10-23 Dan Williams <dcbw@redhat.com>
7035 * src/supplicant-manager/nm-supplicant-config.c
7036 - (nm_supplicant_config_add_setting_wireless_security): only add
7037 WPA-specific options when WPA is in use
7039 2007-10-23 Dan Williams <dcbw@redhat.com>
7041 * src/supplicant-manager/nm-supplicant-config.c
7042 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7043 secret doesn't need to be unhexified
7045 2007-10-23 Dan Williams <dcbw@redhat.com>
7047 * libnm-util/nm-setting.c
7048 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7049 before trying to do something with it
7051 2007-10-23 Dan Williams <dcbw@redhat.com>
7053 * src/nm-device-802-11-wireless.c
7054 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7056 2007-10-23 Dan Williams <dcbw@redhat.com>
7058 * src/nm-device-802-11-wireless.c
7059 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7060 non-SSID-broadcasting APs
7062 2007-10-23 Dan Williams <dcbw@redhat.com>
7064 * src/NetworkManagerAP.c
7065 - (match_cipher, security_compatible): remove
7066 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7069 2007-10-23 Dan Williams <dcbw@redhat.com>
7071 * libnm-util/nm-utils.c
7072 libnm-util/nm-utils.h
7073 - (nm_utils_ap_security_compatible): common function for checking
7074 whether a specific AP is compatible with an NMConnection
7076 2007-10-23 Dan Williams <dcbw@redhat.com>
7078 * libnm-util/nm-setting.c
7079 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7080 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7081 need_secrets_password, setting_wireless_security_verify): fix
7082 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7083 secrets logic for each supported EAP method
7085 2007-10-23 Dan Williams <dcbw@redhat.com>
7087 * src/supplicant-manager/nm-supplicant-config.c
7088 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7089 config option name, should be "private_key2_passwd"
7091 2007-10-22 Tambet Ingo <tambet@gmail.com>
7093 Implement support for static IP addresses, additional/overridden DNS and
7094 DNS domain search lists.
7096 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7097 (ip4_addresses_to_gvalue): Implement.
7098 (convert_array_to_byte_array): Implement.
7099 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7100 NM_S_TYPE_IP4_ADDRESSES.
7101 (nm_setting_hash): Ditto.
7102 (default_setting_clear_secrets): Add a default case for the switch: IP address
7103 shouldn't be secret, ever.
7104 (setting_ip4_config_verify): Update, requires addresses in case of manual
7106 (setting_ip4_config_destroy): Free stuff.
7108 * src/nm-device.c (merge_ip4_config): Implement.
7109 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7111 2007-10-22 Dan Williams <dcbw@redhat.com>
7113 * libnm-util/nm-setting.c
7114 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7115 pairwise cipher options for Dynamic WEP
7117 2007-10-21 Dan Williams <dcbw@redhat.com>
7119 * src/NetworkManagerAP.c
7120 src/NetworkManagerAP.h
7121 - Rename 'articifical' -> 'fake' since that's what they are until
7123 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7124 from the attributes in an NMConnection object
7125 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7127 - (nm_ap_match_in_list): find a matching AP in a scan list
7129 * src/nm-device-802-11-wireless.c
7130 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7131 AP when searching the scan list; match on frequency and mode too
7132 - (nm_device_802_11_wireless_get_frequency): implement
7133 - (merge_scanned_ap): replace duplicate matching logic with
7134 nm_ap_match_in_list()
7135 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7136 the user is trying to connect to a hidden network that is not yet
7137 known from the scan list
7138 - (activation_success_handler): now that the card knows the AP's BSSID,
7139 there may already be a scanned AP in the scan list that is what
7140 we really wanted to connect to, but didn't know at the time. Use
7141 that instead of the 'fake' AP created at activation start and get
7142 rid of the 'fake' AP
7143 - (cull_scan_list): don't remove fake APs
7145 2007-10-21 Dan Williams <dcbw@redhat.com>
7147 * src/nm-activation-request.h
7148 src/nm-activation-request.c
7149 - (nm_act_request_set_specific_object): new function; allow setting the
7150 specific object if one isn't set yet
7152 2007-10-20 Dan Williams <dcbw@redhat.com>
7154 * src/supplicant-manager/nm-supplicant-config.h
7155 src/supplicant-manager/nm-supplicant-config.c
7156 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7157 table to store blobs
7158 - (nm_supplicant_config_add_blob): new function; add blob to internal
7160 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7161 - (nm_supplicant_config_add_setting_wireless_security): handle
7162 options that use certificates (ie, blobs)
7164 * src/nm-device-802-11-wireless.c
7165 - (build_supplicant_config): pass a UID (just use the connection path)
7166 to the supplicant config as now required
7168 * src/supplicant-manager/nm-supplicant-interface.c
7169 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7170 there are any blobs to send to wpa_supplicant, send those first
7171 before sending the network configuration
7173 2007-10-19 Dan Williams <dcbw@redhat.com>
7175 Split the GetSecrets() call off to a separate D-Bus interface so that it
7176 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
7177 should be able to call GetSecrets().
7179 * include/NetworkManager.h
7180 - Define the connection secrets D-Bus interface
7182 * src/vpn-manager/nm-vpn-connection.c
7183 - (clear_need_auth): get the right proxy object for the connection
7185 - (get_connection_secrets): use the connection secrets proxy; send
7186 empty hints in get secrets request
7188 * src/nm-activation-request.c
7189 - (nm_act_request_request_connection_secrets): use the connection
7190 secrets proxy; send empty hints in get secrets request
7194 - (connection_get_settings_cb): set the connection secrets proxy on
7195 the connection object too
7196 - (internal_new_connection_cb): create the connection secrets proxy
7198 * introspection/nm-settings-connection.xml
7199 - Define Connection.Secrets interface and move GetSecrets there
7200 - Add a 'hints' argument to GetSecrets
7202 * libnm-glib/nm-settings.c
7203 libnm-glib/nm-settings.h
7204 - (impl_connection_settings_get_secrets): add 'hints' argument
7206 2007-10-19 Dan Williams <dcbw@redhat.com>
7209 - (constructor): add message about what path a device is exported as
7210 to help in debugging rh #339011
7212 2007-10-17 Dan Williams <dcbw@redhat.com>
7214 * libnm-util/nm-utils.h
7215 libnm-util/nm-utils.c
7216 - (nm_utils_security_valid): common function to help find the intersection
7217 of capabilities of devices and (optionally) access points
7219 2007-10-17 Dan Williams <dcbw@redhat.com>
7221 * src/nm-device-802-11-wireless.c
7222 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7223 don't get erroneously cleared
7225 2007-10-17 Dan Williams <dcbw@redhat.com>
7229 src/nm-hal-manager.c
7230 - (device_removed, finalize, nm_manager_remove_device,
7231 nm_manager_sleep): add a 'deactivate' argument to
7232 nm_manager_remove_device() to fully deactivate devices when necessary
7233 (ie, always except when waking up)
7235 2007-10-16 Dan Williams <dcbw@redhat.com>
7237 * libnm-util/nm-setting.c
7238 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7239 also isn't valid phase2 autheap method
7241 2007-10-16 Dan Williams <dcbw@redhat.com>
7243 * libnm-glib/nm-client.c
7244 - (update_wireless_status): consolidate updates of wireless status
7245 - (constructor): use update_wireless_status()
7246 - (manager_running): set wireless status off when NM goes away; requery
7247 the wireless status when NM comes back
7249 2007-10-16 Dan Williams <dcbw@redhat.com>
7251 * libnm-glib/nm-client.c
7252 - (nm_client_activate_device): actually use the fixed-up specific
7255 2007-10-16 Dan Williams <dcbw@redhat.com>
7257 * src/nm-hal-manager.c
7258 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7259 killswitch error messages once
7261 2007-10-16 Dan Williams <dcbw@redhat.com>
7264 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7265 if it's disabled in hardware; don't touch network devices while
7268 2007-10-16 Dan Williams <dcbw@redhat.com>
7270 * libnm-util/nm-client.c
7271 - (nm_client_activate_device): convert NULL specific_object to "/",
7272 which is used in place of NULL
7275 - (impl_manager_activate_device): convert "/" specific_object back into
7278 2007-10-16 Tambet Ingo <tambet@gmail.com>
7280 Implement a generic NMSetting creator from setting name.
7281 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7282 add a virtual function 'populate_fn'.
7284 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7285 (register_default_creators): Register setting creators instead of functions
7286 that create and then populate.
7287 (parse_one_setting): Use the common setting creator and then setting specific
7288 poplulation function.
7290 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7291 they all looked exactly the same.
7292 Add a 'populate_fn' virtual function to NMSetting.
7293 Use default virtual functions in case they are not overriden.
7294 (nm_setting_populate_from_hash): Implement.
7296 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7297 name, use a defined string.
7298 (real_act_stage4_get_ip4_config): Ditto.
7300 2007-10-16 Tambet Ingo <tambet@gmail.com>
7302 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7303 HAL is int, not uint.
7305 2007-10-15 Tambet Ingo <tambet@gmail.com>
7307 Implement killswitch polling through HAL.
7309 * src/nm-manager.c: Add wireless hardware status property. Add
7310 'properties-changed' signal for changes in wireless and wireless hardware
7313 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7314 and update NMManager's wireless hardware state when it has changed.
7315 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7318 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7319 values of wireless state and wireless hardware state. Listen for the
7320 'properties-changed' signals, update the cached values and emit notify.
7322 * include/NetworkManager.h: Fix a typo in a comment.
7324 2007-10-14 Dan Williams <dcbw@redhat.com>
7326 * libnm-util/nm-setting.c
7327 - (setting_wireless_security_need_secrets): handle LEAP secrets
7329 2007-10-13 Dan Williams <dcbw@redhat.com>
7331 * libnm-util/nm-setting.h
7332 libnm-util/nm-setting.c
7333 src/supplicant-manager/nm-supplicant-config.c
7334 - Make the 'proto' field of the 802-11-wireless-security field a
7337 2007-10-12 Tambet Ingo <tambet@gmail.com>
7339 Rework the "properties-changed" signal listening implementation.
7340 Add a generic implementation to NMObject class that listens for
7341 the signal and calls property setters of the target NMObject.
7343 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7345 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7346 code to the end of file so that all the static functions are available
7347 without extra declarations.
7348 Remove the "properties-changed" signal handling and use the framework from
7350 Implement property setters for properties that change with
7351 "properties-changed" signal.
7353 * libnm-glib/nm-access-point.c: Ditto.
7355 2007-10-12 Tambet Ingo <tambet@gmail.com>
7357 Rework the "properties-changed" signal implementation.
7358 In classes that need to use it, just emit "GObject::notify" and the new
7359 framework takes care of the rest to make the signal available on dbus.
7360 The framework queues the notifications and tries to send as many together
7361 in one signal as possible.
7363 * src/nm-properties-changed-signal.c:
7364 * src/nm-properties-changed-signal.h: Implement.
7366 * src/Makefile.am: Add new files to build.
7368 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7371 * src/nm-device-802-11-wireless.c: Ditto.
7373 2007-10-10 Dan Williams <dcbw@redhat.com>
7376 - (wait_for_connection_expired): ensure info is valid
7377 - (connection_added_default_handler): Should only remove pending
7378 connection info when the manager has the connection that it's
7379 waiting for. Fixes segfault in wait_for_connection_info().
7381 2007-10-10 Dan Williams <dcbw@redhat.com>
7383 * libnm-util/nm-setting.c
7384 libnm-util/nm-setting.h
7385 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7386 can use if they choose. Should be filled in by the settings service
7387 on-the-fly with the currently logged in user's username
7389 2007-10-10 Dan Williams <dcbw@redhat.com>
7391 * src/nm-device-802-11-wireless.c
7392 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7393 as such, because even if the manager fills in the SSID, NM still
7394 has to indicate to wpa_supplicant that the AP isn't broadcasting
7397 2007-10-10 Tambet Ingo <tambet@gmail.com>
7399 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7400 code that used NM's own version of dbus signal handling and custom dictionary
7401 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7402 and we get to maintain over 2000 lines less code.
7404 * libnm-util/dbus-dict-helpers.c:
7405 * libnm-util/dbus-dict-helpers.h: Remove.
7407 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7409 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7411 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7414 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7416 * configure.in: Remove test/libnm-util/Makefile creation.
7418 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7420 * test/libnm-util/: Remove the whole directory.
7422 2007-10-10 Tambet Ingo <tambet@gmail.com>
7424 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7425 device_state_changed_idle_id variable or it would contain some random value and the
7426 schedule_change_check calls would not do anything.
7428 2007-10-09 Dan Williams <dcbw@redhat.com>
7430 * src/nm-device-802-11-wireless.c
7431 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7432 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7433 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7434 merging of non-SSID-broadcasting APs
7436 2007-10-09 Tambet Ingo <tambet@gmail.com>
7438 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7439 "guint8 *" since it's usually used with GByteArray->data.
7440 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7442 2007-10-09 Tambet Ingo <tambet@gmail.com>
7444 * src/NetworkManagerUtils.c
7445 (nm_utils_is_empty_ssid):
7446 (nm_utils_escape_ssid):
7447 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7448 lot of places, so they belong to libnm-utils instead.
7450 Now with 100% less compiler warnings:
7452 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7453 (nm_dbus_unescape_object_path): Ditto.
7454 (nm_utils_ssid_to_utf8): Ditto.
7455 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7456 (nm_utils_escape_ssid): Ditto.
7457 (nm_utils_same_ssid): Ditto.
7459 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7460 (add_one_connection_element): Remove an unused variable.
7461 (impl_manager_get_active_connections): Ditto.
7463 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7466 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7467 from the previous commit.
7469 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7470 (real_act_stage1_prepare): Ditto.
7471 (activation_success_handler): Ditto.
7472 (get_property): Ditto.
7474 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7477 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7480 * src/supplicant-manager/nm-supplicant-config.c
7481 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7482 to expected "char *".
7483 (nm_supplicant_config_add_setting_wireless): Ditto.
7484 (nm_supplicant_config_remove_option): Remove, not used.
7486 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7488 (test_wireless_enabled): Ifdef out unused function.
7489 (device_deactivate): Ditto.
7490 (device_state_changed): Ditto.
7491 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7492 (nm_utils_escape_ssid): Ditto.
7494 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7495 (nm_utils_is_empty_ssid): Ditto.
7497 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7500 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7501 (setting_vpn_properties_update_secrets): Ditto.
7502 (int_to_gvalue): Ifdef out for now, not used.
7503 (byte_to_gvalue): Ditto.
7505 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
7508 2007-10-08 Tambet Ingo <tambet@gmail.com>
7510 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7511 about dbus manager, not named manager.
7512 Make sure hal_manager and dbus_mgr are created before trying to unreference.
7514 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7515 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7516 However, the same signal is emitted when we destroy it and there's
7517 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7519 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7520 releasing the DBusGConnection, since proxy needs a conneciton.
7521 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7523 2007-10-08 Dan Williams <dcbw@redhat.com>
7525 * src/NetworkManager.c
7526 - (main): error on unknown command-line options
7528 2007-10-08 Dan Williams <dcbw@redhat.com>
7530 Reimplement the invalid connection list. Don't try to re-activate a
7531 connection that just failed or was canceled.
7534 - (connection_secrets_failed_cb): fail device activation, don't just
7535 deactivate the device. Listeners have to know about the failure.
7537 * src/NetworkManagerPolicy.c
7538 - (nm_policy_auto_get_best_device): exclude invalid connections from
7539 the connection list given to a device's get_best_connection()
7541 - (device_state_changed): tag failed connections as invalid; clear the
7542 tag from successful connections
7544 2007-10-08 Dan Williams <dcbw@redhat.com>
7546 Fix problems with interrupted activation. Previously, choosing an AP
7547 from the menu, then choosing another one before the first connection was
7548 successful wouldn't deactivate the device before starting the new connection
7549 on that same device.
7551 * src/NetworkManagerPolicy.c
7552 - (deactivate_old_device, device_state_changed, state_changed,
7553 nm_policy_new): wrong place to deactivate old devices
7556 - (pending_connection_info_destroy, finalize,
7557 wait_for_connection_expired): decouple destruction of the pending
7558 connection info from the manager device
7559 - (connection_added_default_handler): deactivate any active or
7560 activating device before starting a new activation
7561 - (impl_manager_activate_device): deactivate any active or activating
7562 device before starting a new activation; be sure not to leak
7563 pending connection info if a new activation request arrives but
7564 there's already a pending one in-process
7566 2007-10-08 Dan Williams <dcbw@redhat.com>
7568 * src/NetworkManagerAP.h
7569 src/NetworkManagerAP.c
7570 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
7571 should handle default SSIDs and whether or not to autoconnect
7574 2007-10-08 Dan Williams <dcbw@redhat.com>
7576 * src/NetworkManagerPolicy.c
7577 - (nm_policy_device_change_check): print out connection name where
7580 2007-10-08 Dan Williams <dcbw@redhat.com>
7582 * src/nm-device-802-11-wireless.c
7583 src/nm-device-802-11-wireless.h
7584 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7585 'hidden-ap-found' signal (for internal use only) that allows the
7586 NMManager to fill in the AP's SSID if a connection has that AP's
7587 BSSID in its seen-bssids list
7590 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7591 wireless device's hidden-ap-found signal and fill in the APs SSID
7594 2007-10-07 Dan Williams <dcbw@redhat.com>
7598 - Add a 'connections-added' signal to batch together updates of large
7599 numbers of connections, like when reading from a settings service
7600 the first time. Otherwise, the policy would just activate the first
7601 suitable connection it saw rather than waiting for the full list
7603 - (nm_manager_class_init): register new signal
7604 - (get_type_for_proxy, connection_get_settings_cb,
7605 get_connection_for_proxy): centralize places where a proxy's setting
7606 service is determined
7607 - (free_get_settings_info): if the call being freed is the last call
7608 in a pending call group, fire off the connections-added signal
7609 - (internal_new_connection_cb): add call to a pending call group if
7611 - (list_connections_cb): always create a call group here, because this
7612 call results in a batch of new connections
7613 - (initial_get_connections): start getting system connections first
7614 - (nm_manager_connections_destroy, emit_removed): actually emit the
7615 removed signal when destroying connections
7617 * src/NetworkManagerPolicy.c
7618 - (nm_policy_new, connections_added): handle connections-added signal
7621 2007-10-06 Dan Williams <dcbw@redhat.com>
7623 * src/nm-device-802-11-wireless.c
7624 - (constructor): fix leaked socket
7626 2007-10-06 Dan Williams <dcbw@redhat.com>
7628 * src/NetworkManagerPolicy.c
7629 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
7630 connection in the list returned by nm_manager_get_connections() is
7631 reffed, but they weren't getting unreffed before returning
7633 2007-10-06 Dan Williams <dcbw@redhat.com>
7636 - (connections_to_slist): sort connections first on autoconnect, then
7639 2007-10-06 Dan Williams <dcbw@redhat.com>
7641 * libnm-util/nm-connection.c
7642 - (gvalue_to_string): handle UINT64
7644 2007-10-06 Dan Williams <dcbw@redhat.com>
7646 * src/NetworkManagerPolicy.c
7647 - (connection_updated, nm_policy_new): recheck state when a connection
7650 2007-10-06 Dan Williams <dcbw@redhat.com>
7654 - (nm_manager_get_connection_dbus_path): make static
7655 - (nm_manager_update_connections): remove; unused
7656 - Add a connection-updated signal
7657 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7658 handle connection object updates
7660 2007-10-06 Dan Williams <dcbw@redhat.com>
7662 * src/NetworkManagerPolicy.c
7663 - (connection_removed): deactivate removed connections
7665 2007-10-06 Dan Williams <dcbw@redhat.com>
7667 * libnm-util/nm-connection.c
7668 libnm-util/nm-connection.h
7669 - (nm_connection_replace_settings): new function
7671 2007-10-06 Dan Williams <dcbw@redhat.com>
7673 * libnm-glib/nm-device-802-11-wireless.c
7674 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7675 on error when getting the active access point over D-Bus from NM
7677 2007-10-05 Dan Williams <dcbw@redhat.com>
7679 * libnm-util/nm-setting.c
7680 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7681 to the NMSettingWireless table; it's now a string array not an array
7684 2007-10-05 Dan Williams <dcbw@redhat.com>
7686 * libnm-glib/nm-device-802-11-wireless.c
7687 - Cache properties and update cached properties on D-Bus signals from NM
7689 2007-10-05 Dan Williams <dcbw@redhat.com>
7691 * src/nm-device-802-11-wireless.c
7692 - (set_current_ap): consolidate current_ap handling code into one place
7693 to ensure that PropertiesChanged signals are emitted in all cases
7694 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7695 nm_device_802_11_wireless_dispose): use set_current_ap()
7697 2007-10-05 Dan Williams <dcbw@redhat.com>
7699 * libnm-glib/nm-access-point.c
7700 libnm-glib/nm-access-point.h
7701 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7702 because the value is cached internally now. Callers should not
7703 free the internal value.
7704 - Make signal name defines private
7707 libnm-glib/libnm-glib-test.c
7708 - Don't free value returned from nm_access_point_get_hw_address()
7710 2007-10-04 Dan Williams <dcbw@redhat.com>
7712 * introspection/nm-device-802-11-wireless.xml
7713 src/nm-device-802-11-wireless.h
7714 src/nm-device-802-11-wireless.c
7715 - Add a PropertiesChanged signal for wireless device
7716 - Store currently associated access point
7717 - (periodic_update): generalize; update rate here too and emit the
7718 correct PropertiesChanged signal when stuff changes
7719 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7720 real_activation_cancel_handler): clear current_ap when device is
7722 - (link_to_specific_ap, get_ap_blacklisted,
7723 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7725 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7727 - (real_set_hw_address): emit property changed signal if the card's
7729 - (real_act_stage1_prepare): set the initial current_ap to the AP
7730 the card is supposed to be connecting to
7731 - (activation_success_handler): send out property updates on successful
7733 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7734 for ACTIVE_ACCESS_POINT property because sometimes there won't be
7735 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7736 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7737 is now boxed; add PropertiesChanged signal
7739 2007-10-04 Dan Williams <dcbw@redhat.com>
7741 * libnm-util/nm-connection.c
7742 libnm-util/nm-connection.h
7743 - (nm_connection_verify): new function
7745 2007-10-04 Dan Williams <dcbw@redhat.com>
7747 * libnm-util/nm-setting.c
7748 - (nm_settings_verify): use #defines when possible rather than strings
7749 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7750 - (setting_vpn_verify): tighter validity check on 'service_type'
7752 2007-10-04 Dan Williams <dcbw@redhat.com>
7754 * libnm-glib/nm-settings.c
7755 - (nm_connection_settings_class_init): provide correct type for argument
7756 to the Updated signal so that dbus-glib knows how to marshal it
7758 2007-10-03 Dan Williams <dcbw@redhat.com>
7760 * src/nm-device-802-3-ethernet.c
7761 - (real_get_best_connection): don't create automatic connections
7762 internally; clients should provide a setting that applies to
7763 the device with 'autoconnect: True'. Problem was that these
7764 internally auto-created connections don't have a proxy or service
7765 name becuase they weren't created by a settings daemon, and therefore
7766 clients have no idea what to do with them.
7768 2007-10-03 Dan Williams <dcbw@redhat.com>
7770 * src/nm-device-802-11-wireless.c
7771 src/nm-device-802-11-wireless.h
7772 introspection/nm-device-802-11-wireless.xml
7773 - GetActiveNetworks -> GetAccessPoints
7774 - ActiveNetwork -> ActiveAccessPoint
7775 - NetworkAdded -> AccessPointAdded
7776 - NetowrkRemoved -> AccessPointRemoved
7778 * libnm-glib/nm-device-802-11-wireless.c
7779 libnm-glib/nm-device-802-11-wireless.h
7780 - network-added signal -> access-point-added
7781 - network-removed signal -> access-point-removed
7782 - nm_device_802_11_wireless_get_active_network() ->
7783 nm_device_802_11_wireless_get_active_access_point()
7784 - nm_device_802_11_wireless_get_network_by_path() ->
7785 nm_device_802_11_wireless_get_access_point_by_path()
7786 - nm_device_802_11_wireless_get_networks() ->
7787 nm_device_802_11_wireless_get_access_points()
7789 * libnm-glib/libnm-glib-test.c
7791 src/NetworkManagerPolicy.c
7792 - Fixups for Network -> AccessPoint
7794 2007-10-03 Dan Williams <dcbw@redhat.com>
7796 Add a GetActiveConnections() method on the Manager object.
7800 introspection/nm-manager.xml
7801 - (connection_get_settings_cb): keep connection type around too
7802 - (impl_manager_get_active_connections, add_one_connection_element):
7803 implement; returns all active connections and what devices they
7806 * libnm-glib/nm-client.c
7807 libnm-glib/nm-client.h
7808 introspection/nm-manager-client.xml
7809 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7810 by the caller; free here to avoid memory leak
7811 - (nm_client_get_active_connections): implement; return the list of
7813 - (nm_client_free_active_connection_element): implement; free an element
7814 of the GSList returned by nm_client_get_active_connections()
7816 2007-10-03 Dan Williams <dcbw@redhat.com>
7818 * src/nm-device-802-11-wireless.c
7819 - (nm_device_802_11_wireless_update_bssid): remove
7820 - (get_active_ap): new function; find the AP in the scan list which
7821 matches the current BSSID and SSID of the wireless device
7822 - (nm_device_802_11_periodic_update): get current AP using
7823 get_active_ap() and print AP roam messages
7825 2007-10-01 Dan Williams <dcbw@redhat.com>
7827 * libnm-util/nm-setting.h
7828 - Add a 'timestamp' option to NMSettingConnection
7831 * libnm-util/nm-setting.c
7832 - (uint64_to_gvalue): new function
7833 - (nm_setting_populate_from_hash, nm_setting_hash,
7834 default_setting_clear_secrets): handle UINT64 type
7835 - con_table: add 'timestamp' member
7837 2007-10-01 Dan Williams <dcbw@redhat.com>
7840 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7841 value when the connection can be activated immediately
7843 2007-10-01 Dan Williams <dcbw@redhat.com>
7845 * libnm-glib/nm-device.c
7846 - (nm_device_class_init): actually tell glib about the carrier-changed
7849 2007-10-01 Dan Williams <dcbw@redhat.com>
7852 src/marshallers/Makefile.am
7853 src/marshallers/nm-marshal.list
7854 src/marshallers/nm-marshal-main.c
7855 - Consolidate glib marshallers into one place
7857 * src/dhcp-manager/Makefile.am
7858 src/dhcp-manager/nm-dhcp-manager.c
7859 src/supplicant-manager/Makefile.am
7860 src/supplicant-manager/nm-supplicant-manager.c
7861 src/supplicant-manager/nm-supplicant-interface.c
7862 src/ppp-manager/Makefile.am
7863 src/ppp-manager/nm-ppp-manager.c
7864 src/vpn-manager/Makefile.am
7865 src/vpn-manager/nm-vpn-connection.c
7867 - Use consolidated marshallers
7869 * src/dhcp-manager/nm-dhcp-marshal.list
7870 src/dhcp-manager/nm-dhcp-marshal-main.c
7871 src/supplicant-manager/nm-supplicant-marshal-main.c
7872 src/supplicant-manager/nm-supplicant-marshal.list
7873 src/nm-marshal-main.c
7875 src/ppp-manager/nm-ppp-marshal-main.c
7876 src/ppp-manager/nm-ppp-marshal.list
7877 src/vpn-manager/nm-vpn-marshal-main.c
7878 src/vpn-manager/nm-vpn-marshal.list
7881 2007-10-01 Dan Williams <dcbw@redhat.com>
7883 * include/NetworkManagerVPN.h
7884 - define VPN connection state change reason codes
7886 * src/vpn-manager/Makefile.am
7887 src/vpn-manager/nm-vpn-marshal.list
7888 src/vpn-manager/nm-vpn-marshal-main.c
7889 - Add marshallers for StateChanged signal
7891 * introspection/nm-vpn-connection.xml
7892 - New Banner property
7893 - StateChanged signal now includes a 'reason' argument
7895 * src/vpn-manager/nm-vpn-connection.c
7896 src/vpn-manager/nm-vpn-connection.h
7897 - Add a "Banner" property that contains the returned VPN server login
7898 banner (if any); valid only in the ACTIVATED state
7899 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7900 a 'reason' argument and emits that reason along with the
7901 state-changed signal
7902 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7903 - (nm_vpn_connection_ip4_config_get): save banner for later
7904 - (nm_vpn_connection_get_banner, get_property,
7905 nm_vpn_connection_class_init): implement Banner property
7907 * src/vpn-manager/nm-vpn-service.c
7908 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7909 connection list because elements may get added/removed from it
7910 while iterating over the list
7911 - (connection_state_changed): signal now includes the 'reason' argument
7913 * libnm-glib/nm-vpn-connection.c
7914 libnm-glib/nm-vpn-connection.h
7915 - (nm_vpn_connection_get_banner): new function
7916 - (state_changed_proxy): handle reason argument
7918 2007-09-28 Tambet Ingo <tambet@gmail.com>
7922 Implement device activation through NMManager.
7923 Implement "pending device activation" here - If the connection isn't found,
7924 we try to wait for up to 5 seconds for the connection to be provided.
7925 Add NMConnectionType argument to "connection-added" and "connection-removed"
7927 (nm_manager_get): Remove. Finally.
7929 * src/nm-activation-request.c:
7930 * src/nm-activation-request.h:
7931 Remove all the deferred activation code.
7933 * src/nm-device.c: Remove all the deferred activation code. Once the device
7934 activation is started, it's started. Update the activation virtual function
7937 * src/nm-device-interface.c:
7938 * src/nm-device-interface.h:
7939 Device activation now takes only NMActRequest argument.
7940 Don't expose device activation directly on dbus, it's supposed to go through
7943 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7945 Use the new device activation methods through NMManager.
7947 * introspection/nm-manager-client.xml:
7948 * introspection/nm-manager.xml:
7949 * libnm-glib/nm-client.c:
7950 * libnm-glib/nm-client.h:
7951 Add device activation method.
7953 * libnm-glib/nm-device.c:
7954 * libnm-glib/nm-device.h:
7955 * introspection/nm-device.xml:
7956 Remove device activation method. It's done through NMManager now.
7958 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7959 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7961 2007-09-28 Dan Williams <dcbw@redhat.com>
7963 * libnm-glib/nm-vpn-connection.c
7964 - (nm_vpn_connection_get_state): try to update state if the current
7967 2007-09-27 Dan Williams <dcbw@redhat.com>
7969 Patch from Bill Nottingham
7971 * src/supplicant-manager/nm-supplicant-config.c
7972 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7973 data to the supplicant
7975 2007-09-27 Dan Williams <dcbw@redhat.com>
7977 * src/NetworkManagerSystem.c
7978 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7979 and all address manipulation here should be happening on the
7980 _VPN_ device, not the active device
7982 2007-09-26 Dan Williams <dcbw@redhat.com>
7986 src/nm-activation-request.c
7987 src/nm-activation-request.h
7988 - Move the GetSecrets stuff out of the NMManager instance because it
7989 doesn't really need to be there and complicates things
7992 - (connection_secrets_failed_cb, device_activation_go): connect to the
7993 connection-secrets-failed signal and deactivate the device if
7994 the GetSecrets call fails
7996 * src/nm-device-802-11-wireless.c
7997 - (link_timeout_cb, supplicant_connection_timeout_cb,
7998 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7999 secrets and give correct hints about whether new secrets should be
8000 asked for by the client or not
8002 2007-09-26 Dan Williams <dcbw@redhat.com>
8004 * src/vpn-manager/nm-vpn-connection.c
8005 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8006 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8007 to the secrets-updated signal of the NMConnection since updating
8008 the secrets is done within the scope of the NMVPNConnection object
8010 - (get_connection_secrets): fix an uninialized variable usage error
8012 2007-09-26 Dan Williams <dcbw@redhat.com>
8014 * libnm-util/nm-setting.c
8015 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8016 actually get updated when the user enters them
8018 2007-09-26 Dan Williams <dcbw@redhat.com>
8020 * libnm-glib/nm-vpn-plugin.c
8021 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8023 2007-09-26 Dan Williams <dcbw@redhat.com>
8025 * include/NetworkManagerVPN.h
8026 - Add a NEED_AUTH state
8028 * src/vpn-manager/nm-vpn-connection.c
8029 - Implement the NEED_AUTH state. First ask the VPN service plugin if
8030 the connection needs secrets, and if so, then ask the settings
8031 service to fill in the secrets. Then start the connection.
8033 2007-09-26 Dan Williams <dcbw@redhat.com>
8035 * src/vpn-manager/nm-vpn-manager.c
8036 - (new_vpn_error, impl_vpn_manager_connect): set errors
8038 2007-09-26 Dan Williams <dcbw@redhat.com>
8040 * introspection/nm-vpn-plugin.xml
8041 libnm-glib/nm-vpn-plugin.c
8042 libnm-glib/nm-vpn-plugin.h
8043 - (impl_vpn_plugin_need_secrets): implement a call that should return
8044 the name of the NMSetting in an NMConnection that may require
8045 secrets specific to that VPN plugin
8047 2007-09-26 Dan Williams <dcbw@redhat.com>
8051 - (nm_manager_get_connection_secrets): make static, unused outside
8053 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8055 2007-09-26 Tambet Ingo <tambet@gmail.com>
8057 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8059 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8060 unreference the connection.
8062 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8063 passing properties hash and routes string list, pass NMConnection (in hashed form).
8065 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8066 as GSList, no need to copy stuff around anymore.
8067 (nm_vpn_connection_activate): Update the plugin activation method.
8069 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8070 routes argument to GSList.
8072 2007-09-26 Tambet Ingo <tambet@gmail.com>
8074 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8075 state and try to get the secrets.
8077 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8078 connections from NMManager and let the device to choose the best from the list.
8079 Since the connection list is sorted by system ones first and user ones later,
8080 the devices still prefer system connections like they did before.
8081 (deactivate_old_device): Implement. When a device starts activation, we have a
8082 policy (for now at least) to deactivate any other device that might be either
8083 active or still activating.
8085 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8086 It's set on construction, there will be no other way to access it.
8088 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8089 device events and drive the device, not the other way around.
8091 * src/nm-device-802-3-ethernet.c: Ditto.
8093 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8094 sent along, pass it on to virtual functions.
8096 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8097 for now, but should really be public instead of nm_device_get_iface() since iface
8098 is a property of the DeviceInterface, not Device.
8099 (impl_device_activate): Don't touch NMManager!
8101 2007-09-26 Jürg Billeter <j@bitron.ch>
8103 * initscript/paldo/NetworkManager.in:
8104 * initscript/paldo/NetworkManagerDispatcher.in:
8105 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8106 (nm_system_flush_loopback_routes): update paldo backend
8108 2007-09-26 Tambet Ingo <tambet@gmail.com>
8110 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8111 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8112 which means none of the devices get brought down properly, which in turn leaves
8113 DHCP client running.
8115 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8116 (supplicant_connection_timeout_cb): Ditto.
8118 2007-09-25 Dan Williams <dcbw@redhat.com>
8121 - (device_activation_go): small hack to work around race when
8122 activating deferred connections; should solve this in a better way
8124 2007-09-25 Dan Williams <dcbw@redhat.com>
8126 * introspection/nm-device.xml
8127 libnm-glib/nm-device.c
8128 libnm-glib/nm-device.h
8129 - Add 'Carrier' property to exported NMDevice objects
8131 * src/nm-device-interface.h
8132 src/nm-device-interface.c
8134 - Add a 'carrier' property to internal NMDevice objects
8136 2007-09-25 Dan Williams <dcbw@redhat.com>
8138 * src/nm-device-802-11-wireless.c
8139 - (ap_auth_enforced): also return the encryption status of the AP so
8140 that callers can differentiate easily between unencrypted APs
8141 and encrypted ones, in addition to whether the AP has an
8143 - (link_timeout_cb, supplicant_connection_timeout_cb,
8144 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8145 previously would request secrets from unencrypted APs at times
8147 2007-09-25 Dan Williams <dcbw@redhat.com>
8150 - (nm_manager_update_state): new function; updates state and emits
8151 appropriate signals ensuring a state-change signal for the same state
8152 never gets emitted twice in a row.
8153 - (manager_device_state_changed): handle more device state to get a
8154 better picture of the overall NM state
8156 2007-09-25 Dan Williams <dcbw@redhat.com>
8158 * libnm-glib/nm-settings.c
8159 libnm-glib/nm-settings.h
8160 - (new_error -> nm_settings_new_error): make public so that subclasses
8161 can use the same error domain. Also pass a valid error code to
8162 g_error_new_literal() so that libdbus doesn't assert when converting
8163 the GError into a DBusError
8164 - (impl_settings_list_connections, impl_connection_settings_get_id,
8165 impl_connection_settings_get_settings,
8166 impl_connection_settings_get_secrets): use new error creator
8169 2007-09-25 Dan Williams <dcbw@redhat.com>
8171 * src/NetworkManager.c
8172 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8174 2007-09-25 Dan Williams <dcbw@redhat.com>
8176 * src/supplicant-manager/nm-supplicant-manager.c
8177 - (poke_supplicant_cb, nm_supplicant_manager_init,
8178 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8179 nm_supplicant_manager_startup): when the supplicant isn't running,
8180 try to start it periodically via system bus activation. Fixes
8181 a problem where if wpa_supplicant goes away, NM gets stuck waiting
8182 for the supplicant to come back
8184 2007-09-25 Dan Williams <dcbw@redhat.com>
8186 Ensure that old activation requests are forgotten about; previously
8187 hitting Cancel in the password dialog would deactivate whatever device
8188 that password was requested for, even if that wasn't the currently
8189 activating connection.
8193 - (nm_manager_get_connection_secrets): track the pending call
8194 object so it can be canceled later if needed
8195 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8196 GetSecrets call for a particular connection
8198 * src/nm-activation-request.c
8199 - (dispose): cancel any outstanding GetSecrets calls on the
8202 2007-09-25 Dan Williams <dcbw@redhat.com>
8204 * src/NetworkManagerPolicy.c
8205 - (nm_policy_device_change_check): handle devices that have a
8206 deferred activation. These devices are not really active _yet_,
8207 but need to be treated as such here. Don't interrupt them
8210 * src/nm-device-interface.c
8211 - (impl_device_activate): handle devices that have a deferred activation
8212 like activating or active devices. When multiple active devices
8213 get committed, the device shouldn't be deactivated until the
8214 connection details are available to avoid DoS and such. Currently,
8215 any active, activating, or deferred activation device is deactivated
8216 here before starting the new activation request.
8218 2007-09-25 Dan Williams <dcbw@redhat.com>
8220 Properly re-query secrets from the settings daemon when stuff fails.
8222 * src/nm-device-802-11-wireless.c
8223 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8224 between Shared Key and Open System auth modes
8225 - (link_timeout_cb, supplicant_connection_timeout_cb,
8226 real_act_stage4_ip_config_timeout): clear existing secrets and
8227 request new ones when something fails due to a suspected wrong key
8228 - (real_act_stage2_config): fix for new request_new argument to
8229 nm_manager_get_connection_secrets()
8233 - (nm_manager_get_connection_secrets): return error status; pass
8234 new request_new argument on to the settings daemon
8236 * introspection/nm-settings-connection.xml
8237 - New 'request_new' argument to the GetSecrets call that hints to the
8238 settings daemon to ask the user for completely new secrets
8240 * libnm-glib/nm-settings.c
8241 libnm-glib/nm-settings.h
8242 - (impl_connection_settings_get_secrets): handle new 'request_new'
8245 2007-09-25 Dan Williams <dcbw@redhat.com>
8247 * libnm-util/nm-connection.c
8248 libnm-util/nm-connection.h
8249 - (nm_connection_clear_secrets): new function; clear secrets out of
8250 each NMSetting in an NMConnection
8252 * libnm-util/nm-setting.h
8253 libnm-util/nm-setting.c
8254 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
8255 secrets out of an NMSetting
8256 - (nm_setting_connection_new, nm_setting_ip4_config_new,
8257 nm_setting_wired_new, nm_setting_wireless_new,
8258 nm_setting_wireless_security_new, nm_setting_ppp_new,
8259 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8260 to default handler default_setting_clear_secrets()
8262 2007-09-25 Dan Williams <dcbw@redhat.com>
8264 * src/nm-activation-request.c
8265 src/nm-activation-request.h
8266 - (nm_act_request_is_deferred): new function
8268 2007-09-24 Dan Williams <dcbw@redhat.com>
8270 * src/nm-device-802-11-wireless.c
8271 - (activation_success_handler): update signal strength immediately
8274 2007-09-24 Dan Williams <dcbw@redhat.com>
8276 * libnm-util/nm-setting.c
8277 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8279 2007-09-24 Dan Williams <dcbw@redhat.com>
8281 * src/NetworkManagerPolicy.c
8282 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8283 device by deactivating it because it doesn't have a "best connection".
8284 Since autoconnect=False connections aren't automatically chosen,
8285 NM would interrupt activation of such a connection because it
8286 would never be "best" due to autoconnect=False.
8288 2007-09-24 Dan Williams <dcbw@redhat.com>
8291 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8292 actually has some time to enter a key before the GetSecrets call
8295 2007-09-24 Dan Williams <dcbw@redhat.com>
8297 * introspection/nm-manager.xml
8299 - (impl_manager_legacy_state): fix 'state' method call return value
8301 2007-09-24 Matthias Clasen <mclasen@redhat.com>
8303 * test/Makefile.am: Install nm-tool
8305 2007-09-24 Dan Williams <dcbw@redhat.com>
8307 Patch from Ross Burton <ross@burtonini.com>
8310 callouts/nm-dhcp-client-action.c
8312 src/vpn-manager/nm-vpn-connection.c
8313 libnm-glib/libnm-glib-test.c
8316 2007-09-24 Dan Williams <dcbw@redhat.com>
8318 * libnm-util/nm-utils.h
8319 libnm-util/nm-utils.c
8320 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8323 2007-09-23 Dan Williams <dcbw@redhat.com>
8325 * vpn-daemons/vpnc/properties/nm-vpnc.c
8326 - Update for new VPN properties API bits; instead of passing around
8327 a lot of random things, everything goes into the NMConnection
8330 2007-09-23 Dan Williams <dcbw@redhat.com>
8332 * libnm-util/nm-setting.c
8333 - Correctly dispose of settings objects if creating them from a hash
8336 2007-09-23 Dan Williams <dcbw@redhat.com>
8338 * libnm-util/nm-setting.c
8339 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8340 the hash table in a standard manner. Clients of libnm-util should
8341 only call g_hash_table_remove_all(), never destroy the hash table
8344 2007-09-22 Dan Williams <dcbw@redhat.com>
8346 * src/nm-device-802-11-wireless.c
8347 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8348 real reason to do it so often, and reduces wakeups for clients.
8350 2007-09-21 Dan Williams <dcbw@redhat.com>
8352 * src/nm-device-802-11-wireless.c
8353 - (build_supplicant_config): wpa_supplicant requires the option
8354 key_mgmt=NONE for unencrypted networks
8355 - (real_act_stage2_config): clarify log message on activation
8357 2007-09-21 Dan Williams <dcbw@redhat.com>
8359 * test/nm-supplicant-test.c
8361 - Remove supplicant test binary; no longer applicable
8363 2007-09-21 Dan Williams <dcbw@redhat.com>
8365 * src/supplicant-manager/nm-supplicant-manager.c
8366 - (nm_supplicant_manager_init): poke the supplicant at startup to
8367 activate it on the system bus
8369 2007-09-20 Dan Williams <dcbw@redhat.com>
8371 * initscript/RedHat/NetworkManager.in
8372 - dhcdbd is no longer used, so don't try to start it from the initscripts
8374 2007-09-20 Dan Williams <dcbw@redhat.com>
8377 - (nm_device_is_activating): work around a race between auto-activation
8378 and the user activating the same device that is being auto-activated
8380 2007-09-20 Dan Williams <dcbw@redhat.com>
8382 * src/nm-device-interface.c
8383 - (impl_device_activate): until multiple active device support lands,
8384 ensure only one device can be active at a time
8386 2007-09-20 Dan Williams <dcbw@redhat.com>
8388 * src/supplicant-manager/nm-supplicant-config.c
8389 src/supplicant-manager/nm-supplicant-config.h
8390 - (nm_supplicant_config_add_option): hide secrets from system logs
8392 2007-09-20 Dan Williams <dcbw@redhat.com>
8394 * src/NetworkManagerPolicy.c
8395 - (nm_policy_device_change_check): re-enable the wireless device change
8396 checking code; insted of checking for SSIDs, check for the same
8399 2007-09-20 Dan Williams <dcbw@redhat.com>
8401 * src/nm-device-802-11-wireless.c
8402 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8403 composite link state when determining when to start the disconnection
8404 timer; that link state is already based on the supplicant interface's
8405 status which is exactly what's already being examined, plus the link
8406 state is a conglomeration of various things that we don't want here
8408 2007-09-20 Dan Williams <dcbw@redhat.com>
8410 * libnm-glib/nm-access-point.c
8411 - (handle_property_changed): strength is a UCHAR
8413 2007-09-20 Dan Williams <dcbw@redhat.com>
8415 * src/supplicant-manager/nm-supplicant-config.c
8416 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8417 string list keywords too since that's what wpa_supplicant wants
8419 2007-09-20 Dan Williams <dcbw@redhat.com>
8421 * libnm-util/nm-setting.c
8422 - (convert_strv_to_slist): dupe the values in the list because since
8423 the list is a boxed value, it'll get destroyed when it's container
8424 (like a hash table or whatever) gets destroyed
8426 2007-09-20 Tambet Ingo <tambet@gmail.com>
8428 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8431 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8433 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8434 just use (g_object_set_data_full).
8436 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8437 that NMSettingVPN->routes is a GSList, convert it to char **.
8438 (nm_vpn_connection_ip4_config_get): Free routes when done.
8439 (nm_vpn_connection_activate): Ditto.
8441 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8442 (real_act_stage2_config): Use defined setting names.
8444 2007-09-20 Dan Williams <dcbw@redhat.com>
8446 * src/nm-device-802-11-wireless.c
8449 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8450 so that the device can be deactivated if secrets are wrong
8452 2007-09-20 Dan Williams <dcbw@redhat.com>
8454 * introspection/nm-settings-connection.xml
8455 libnm-glib/nm-settings.c
8456 libnm-glib/nm-settings.h
8457 - Make GetSecrets asynchronous on the server side
8459 2007-09-20 Dan Williams <dcbw@redhat.com>
8463 - (nm_device_activate): actually check if a given connection
8464 exists before assuming it doesn't
8466 2007-09-20 Tambet Ingo <tambet@gmail.com>
8468 * libnm-util/nm-connection.c (register_default_creators): Use defined
8469 setting names. Register NMSettingVPN and NMSettingVPNProperties.
8471 * libnm-util/nm-setting.c: Define property name strings, use them.
8472 Implement NMSettingVPN and NMSettingVPNProperties settings.
8473 Implement NM_S_TYPE_GVALUE_HASH.
8474 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8475 (setting_connection_verify): Rename 'devtype' property to 'type'.
8477 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8480 * src/vpn-manager/nm-vpn-service.c: Ditto.
8482 * src/vpn-manager/nm-vpn-connection.c: Ditto.
8484 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8485 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8487 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8488 names. NMSettingConnection->devtype got renamed to 'type'.
8490 * src/nm-device-802-3-ethernet.c (find_best_connection):
8491 (real_get_best_connection): Ditto.
8493 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8495 * libnm-glib/nm-vpn-manager.[ch]: Update.
8497 2007-09-19 Dan Williams <dcbw@redhat.com>
8499 * src/NetworkManagerAP.c
8500 src/NetworkManagerAP.h
8501 introspection/nm-access-point.xml
8502 - Change strength-changed signal into a properties-changed signal
8503 for all properties, not just strength. Export that signal over dbus
8504 so listeners don't have to poll NM for changes.
8505 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8506 get exported over D-Bus, so break up the logic and let other bits
8507 decided when to export the AP
8508 - (nm_ap_new_from_ap): remove, unused
8510 * src/nm-device-802-11-wireless.c
8511 - (merge_scanned_ap): only export APs that are actually on the device
8512 list, not every AP created internally
8514 * libnm-glib/nm-access-point.c
8515 libnm-glib/nm-access-point.h
8516 - Cache properties internally and only hit DBus when needed. Get
8517 property updates from NM signals
8519 2007-09-16 Dan Williams <dcbw@redhat.com>
8521 * libnm-util/nm-connection.c
8522 libnm-util/nm-connection.h
8523 - (nm_connection_for_each_setting_value): new function; iterate over
8524 each setting's value and call a user-provided function with details
8527 * libnm-util/nm-setting.c
8528 libnm-util/nm-setting.h
8529 - (nm_setting_enumerate_values): new function; enumerate the values
8530 of a specific NMSetting subclass for a user-provided function with
8531 details about that value
8532 - Change wep_tx_keyidx to a uint32
8533 - Create settings value tables for each setting defining their type,
8534 key name, offset into the NMSetting subclass' structure, and whether
8535 they are required and/or a secret
8536 - (nm_setting_populate_from_hash): generic function to populate an
8537 NMSetting from a GHash table, make all settings use it
8538 - (nm_setting_hash): generic function to derive a GHashTable from
8539 an NMSetting object, make all settings use it
8541 2007-09-14 Dan Williams <dcbw@redhat.com>
8543 Remove unused stuff in libnm-util
8546 libnm-util/Makefile.am
8547 libnm-util/cipher-private.h
8548 libnm-util/cipher-wep-ascii.c
8549 libnm-util/cipher-wep-ascii.h
8550 libnm-util/cipher-wep-hex.c
8551 libnm-util/cipher-wep-hex.h
8552 libnm-util/cipher-wep-passphrase.c
8553 libnm-util/cipher-wep-passphrase.h
8554 libnm-util/cipher-wpa-psk-hex.c
8555 libnm-util/cipher-wpa-psk-hex.h
8556 libnm-util/cipher-wpa-psk-passphrase.c
8557 libnm-util/cipher-wpa-psk-passphrase.h
8560 libnm-util/dbus-helpers.c
8561 libnm-util/dbus-helpers.h
8562 libnm-util/gnome-keyring-md5.c
8563 libnm-util/gnome-keyring-md5.h
8566 src/nm-device-802-11-wireless.c
8567 test/libnm-util/Makefile.am
8568 test/libnm-util/test-ciphers.c
8569 test/libnm-util/test-dbus-helpers.c
8570 test/libnm-util/test-inputs.h
8573 2007-09-14 Dan Williams <dcbw@redhat.com>
8575 * libnm-util/dbus-method-dispatcher.c
8576 libnm-util/dbus-method-dispatcher.h
8579 2007-09-14 Dan Williams <dcbw@redhat.com>
8581 Implement deferred activation support in the device class.
8583 * src/nm-device-interface.c
8584 src/nm-device-interface.h
8585 - (nm_device_interface_activate): take more arguments to support
8586 deferred activation; callers must pass one of (connection) OR
8587 (service_name, connection_path)
8588 - (impl_device_activate): connection validation is punted to the device
8589 to be able to handle deferred activation. Yes, this means errors
8590 don't get returned from the Activate() dbus call, and yes, that
8591 should be fixed somehow later.
8595 - (clear_act_request): clear additional deferred activation stuff too
8596 - (deferred_activation_timeout_cb): new function; clean up when
8597 deferred activation times out.
8598 - (deferred_activation_start_cb): new function; when the connection
8599 finally becomes available, start device activation
8600 - (nm_device_activate): attach to the right signals of the activation
8601 request if we need to defer activation until the connection is valid
8603 * src/NetworkManagerPolicy.c
8604 - (nm_policy_device_change_check): update for additional arguments
8605 required for nm_device_interface_activate(). Pass NULL for these
8606 though because this function already knows exactly which
8609 2007-09-14 Dan Williams <dcbw@redhat.com>
8611 Implement deferred activation handling in the NMActRequest class. When a
8612 client wants to activate a device but must create the NMConnection details
8613 on the fly, there likely hasn't been enough time yet for NM to receive the
8614 new connection signal and grab all the connection details. So the
8615 activation is deferred (and bounded by a timer) for a while, and if the
8616 connection appears within the window, it is activated.
8618 * src/nm-activation-request.c
8619 src/nm-activation-request.h
8620 - (nm_act_request_class_init): two new signals to support deferred
8621 activation, to allow the listener to handle both timeout and success
8622 - (nm_act_request_new_deferred): new function, starts the deferred
8623 activation timeout handler and listens to the NMManager for
8624 new-connection signals to notice when the connection comes in
8626 2007-09-14 Dan Williams <dcbw@redhat.com>
8630 - (nm_manager_get_connection_service_name,
8631 nm_manager_get_connection_dbus_path): get details about a connection
8632 known internally by the NMManager
8633 - (nm_manager_class_init): fix connection add/remove signal marshalers
8634 because NMConnection is now a GObject subclass
8635 - Use constant for the gobject data tag used on NMConnection objects for
8636 storing the associated DBusGProxy
8638 2007-09-14 Dan Williams <dcbw@redhat.com>
8643 src/supplicant-manager/Makefile.am
8644 src/dhcp-manager/Makefile.am
8645 src/backends/Makefile.am
8646 src/named-manager/Makefile.am
8647 src/ppp-manager/Makefile.am
8648 src/vpn-manager/Makefile.am
8649 test/libnm-util/Makefile.am
8650 test/test-common/Makefile.am
8651 - Remove utils/; it was unused
8653 2007-09-13 Dan Williams <dcbw@redhat.com>
8655 * libnm-glib/nm-vpn-manager.h
8656 libnm-glib/nm-vpn-manager.c
8657 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8659 2007-09-13 Dan Williams <dcbw@redhat.com>
8661 * src/nm-device-802-3-ethernet.c
8662 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8663 netlink monitor carrier signals on dispose, not bring down. The
8664 carrier signals should be handled over the entire lifetime of the
8665 device anyway, not created/destroyed on up or down.
8667 2007-09-13 Dan Williams <dcbw@redhat.com>
8669 * libnm-glib/nm-device.c
8670 libnm-glib/nm-device.h
8671 - (nm_device_activate): take a connection object path rather than an
8672 NMConnection because NMConnection isn't exported over D-Bus and
8673 therefore it dbus-glib can't automatically get an object path from it
8675 2007-09-13 Dan Williams <dcbw@redhat.com>
8677 * libnm-util/nm-setting.c
8678 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8680 2007-09-13 Tambet Ingo <tambet@gmail.com>
8682 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8684 2007-09-12 Tambet Ingo <tambet@gmail.com>
8686 * src/vpn-manager/nm-vpn-connection.[ch]:
8687 * src/vpn-manager/nm-vpn-manager.[ch]:
8688 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
8689 dbus-glib, GObjects, signals etc.
8691 * libnm-glib/nm-vpn-manager.[ch]:
8692 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8693 so much, rewrite these too.
8695 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8696 the new introspection files.
8698 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8700 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8701 the header with the same name from libnm-utils.
8703 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8705 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8707 * introspection/nm-vpn-plugin.xml: Implement.
8709 * introspection/nm-vpn-connection.xml: Implement.
8711 * introspection/nm-vpn-manager.xml: Implement.
8713 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8714 the named manager argument, it can just as easily get it as the caller.
8715 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8717 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8719 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8721 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8724 * libnm-util/nm-connection.c: Ditto.
8726 * src/NetworkManagerMain.h: Remove, it's finally empty.
8728 * configure.in: Remove utils/ from build.
8730 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8731 of hard-coded strings.
8733 * utils/: Move it over to libnm-util.
8735 * test/Makefile.am: Link against libnm-util now that util/ is gone.
8737 * dispatcher-daemon/Makefile.am: Ditto.
8739 * src/Makefile.am: Ditto.
8741 2007-09-12 Dan Williams <dcbw@redhat.com>
8743 Wireless connections can be made with config data from the applet now.
8747 * src/supplicant-manager/nm-supplicant-config.h
8748 src/supplicant-manager/nm-supplicant-config.c
8749 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8750 - (nm_supplicant_config_add_setting_wireless,
8751 nm_supplicant_config_add_setting_wireless_security): new functions;
8752 add key/value pairs from the settings objects to the supplicant
8755 * src/nm-device-802-11-wireless.c
8756 - (cull_scan_list): fix check to not prune currently associated AP
8757 - (build_supplicant_config, real_act_stage2_config): call the functions
8758 of the NMSupplicantConfig that parse settings objects rather than
8759 doing it manually here
8761 2007-09-12 Dan Williams <dcbw@redhat.com>
8763 * src/supplicant-manager/nm-supplicant-interface.c
8764 src/supplicant-manager/nm-supplicant-marshal.list
8765 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8766 "connection-error" signal arguments should be STRING not CHAR
8768 2007-09-12 Dan Williams <dcbw@redhat.com>
8770 * src/NetworkManagerUtils.c
8771 src/NetworkManagerUtils.h
8772 - (nm_utils_hexstr2bin): new function
8774 2007-09-11 Dan Williams <dcbw@redhat.com>
8777 - (connection_get_settings_cb): emit connection-added signal
8778 - (connection_removed_cb): uncomment bits for system settings service,
8779 send connection-removed when appropriate
8780 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8781 the stack by trying to g_object_set_data() on something that's
8782 not a GObject; handle case where settings service returns
8783 empty settings hash table
8785 2007-09-11 Dan Williams <dcbw@redhat.com>
8787 * src/NetworkManagerPolicy.c
8788 - (connection_added, connection_removed): trigger device change checks
8789 on connection changes
8791 2007-09-11 Dan Williams <dcbw@redhat.com>
8793 * src/nm-activation-request.c
8794 - (connection_secrets_updated_cb): fix c&p error in signal emission
8796 2007-09-11 Dan Williams <dcbw@redhat.com>
8798 * src/nm-device-802-11-wireless.c
8799 - (real_connection_secrets_updated): fix erroneous check
8801 2007-09-11 Dan Williams <dcbw@redhat.com>
8803 * introspection/nm-device.xml
8804 libnm-glib/nm-device.c
8805 libnm-glib/nm-device.c
8806 - Fix Activate call argument borkage; Activate takes 3 arguments
8808 2007-09-11 Dan Williams <dcbw@redhat.com>
8810 * libnm-glib/nm-access-point.c
8811 libnm-glib/nm-access-point.c
8812 - (nm_access_point_get_frequency): now returns guint32 to match
8813 property change on 2007-09-10
8815 2007-09-11 Dan Williams <dcbw@redhat.com>
8817 * src/nm-device-802-11-wireless.c
8818 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8819 somewhere defines 'index' and I missed this one when I fixed the
8820 shadow declaration errors earlier
8822 2007-09-11 Dan Williams <dcbw@redhat.com>
8824 * libnm-util/nm-connection.c
8825 - (nm_connection_update_secrets, need_secrets_check): move
8826 802-11-wireless-security need_secrets checks to the setting object
8827 itself, where it belongs
8829 * libnm-util/nm-setting.c
8830 libnm-util/nm-setting.h
8831 - (nm_setting_need_secrets): new function
8832 - (setting_wireless_security_verify,
8833 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8834 - (setting_wireless_security_need_secrets): mostly copy code over
8835 from nm-connection.c
8837 2007-09-11 Dan Williams <dcbw@redhat.com>
8839 * libnm-util/nm-setting.c
8840 libnm-util/nm-setting.h
8841 - (nm_setting_update_secrets): new function; add a virtual function that
8842 subclasses can implement to update their secrets
8843 - (setting_wireless_security_update_secrets): implement that function
8844 for the 802-11-wireless-security subclass
8846 * libnm-util/nm-connection.c
8847 libnm-util/nm-connection.h
8848 - (nm_connection_update_secrets): update secrets for a Setting and
8849 emit a signal on success
8854 - (connection_get_settings_cb): enable system settings bits
8855 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8856 to request secrets from the settings dbus service and to
8857 push those secrets to the NMConnection itself
8859 * src/nm-activation-request.c
8860 src/nm-activation-request.h
8861 - Attach to the 'secrets-updated' signal of the NMConnection that's
8862 currently being activated, and proxy that signal to other listeners.
8863 Goes through the activation request because the activation request
8864 is the thing that manages the lifetime of the NMConnection that's
8867 * src/nm-device-802-11-wireless.c
8868 - (real_connection_secrets_updated): implement the connection secrets
8869 updated notification and restart activation when secrets are
8871 - (real_act_stage2_config): request secrets from the settings dbus
8872 service if secrets are needed
8876 - (clear_act_request, nm_device_activation_cancel,
8877 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8878 where the activation request is cleared
8879 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8880 updated secrets signal of activation request and add a function
8881 that subclasses can override to handle it easily
8883 2007-09-11 Tambet Ingo <tambet@gmail.com>
8885 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8886 removal of NetworkManagerAPList.
8888 2007-09-10 Dan Williams <dcbw@redhat.com>
8890 * src/NetworkManagerAP.c
8891 src/NetworkManagerAP.h
8892 introspection/nm-access-point.xml
8893 - Change 'freq' property to a guint32 instead of a double since we
8894 weren't using the floating point bits anyway
8896 2007-09-10 Dan Williams <dcbw@redhat.com>
8898 * NetworkManagerAP.c
8900 NetworkManagerPolicy.c
8901 NetworkManagerSystem.c
8902 NetworkManagerUtils.c
8903 NetworkManagerUtils.h
8904 nm-device-802-11-wireless.c
8905 nm-device-802-3-ethernet.c
8908 vpn-manager/nm-dbus-vpn.c
8909 - Warning fixes; casts and removal of unused variables
8911 2007-09-10 Dan Williams <dcbw@redhat.com>
8913 * include/NetworkManager.h
8914 - Kill NMNetworkType; AP types don't matter any more
8916 * src/NetworkManagerAPList.c
8917 src/NetworkManagerAPList.h
8919 - Kill; NMAccessPointList has outlived it's usefulness
8921 * src/NetworkManagerAP.c
8922 src/NetworkManagerAP.h
8923 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8924 functions; check if an NMConnection object is compatible with the
8926 - (freq_to_channel, channel_to_freq): utility functions for
8927 channel <-> frequency conversion
8931 - (nm_device_get_best_connection): pass the specific object around
8932 (which might be the object path of a specific AP to connect to).
8933 The get_best_connection() call should populate this on return
8934 if needed (wireless does).
8936 * src/nm-device-802-3-ethernet.c
8937 - (real_get_best_connection): handle specific_object argument
8939 * src/NetworkManager.c
8940 src/NetworkManagerMain.h
8941 - Remove unused includes
8943 * src/nm-device-802-11-wireless.c
8944 src/nm-device-802-11-wireless.h
8945 - Convert the ap_list into a GSList from an NMAccessPointList
8946 - No need for caching the 'activation_ap' since this is now determined
8947 from the specific_object of the activation request, which is
8948 populated from the get_best_connection() call or from a user request
8949 - (nm_device_802_11_wireless_update_bssid): fix warning
8950 - (get_wireless_capabilities): fix error message format arguments
8951 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8952 - (find_best_connection, real_get_best_connection): implement
8953 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8954 move here from NetworkManagerAPList
8955 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8956 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8957 already verified earlier
8958 - (real_act_stage2_config): use nm_connection_need_secrets()
8960 * src/NetworkManagerPolicy.c
8961 - (nm_policy_auto_get_best_device): handle specific objects
8962 - (create_connection): remove; automatic connection creation functionality
8963 is handled by the Connection objects
8964 - (nm_policy_device_change_check): handle specific_object
8966 * libnm-util/nm-connection.c
8967 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8969 2007-09-10 Dan Williams <dcbw@redhat.com>
8972 - (query_connections): fix uninitialized variable problem that caused
8974 - (nm_manager_add_device): take devices down on startup so that we can
8975 be assured that nm_device_is_up() won't short-circuit the init
8976 process. Hack until the is_up check gets split into two pieces
8977 that aren't behaviorally confusing.
8979 2007-09-09 Dan Williams <dcbw@redhat.com>
8981 * introspection/nm-device.xml
8982 - The 'Activate' method now takes 3 arguments, a service name for the
8983 settings service (user or system), the object path of the connection
8984 to activate, and the specific object to activate, if any
8986 * src/nm-device-interface.c
8987 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8989 - (impl_device_activate): adapt to new Activate arguments; validate
8990 the service name and get the Connection object from the NMManager
8991 before starting to activate the device with the specified connection
8993 * src/nm-device-802-3-ethernet.c
8994 - (real_get_best_connection): find the best connection, or create a
8995 default one if no existing connections can be used
8997 * src/NetworkManagerPolicy.c
8998 - (nm_policy_auto_get_best_device): Get the device's best connection
8999 and only pick the device if it has one
9000 - (nm_policy_device_change_check): disable wireless bits for now until
9001 wireless get_best_connection() can be implemented (replacing "best_ap");
9002 don't create a default connection here as the device subclass will do
9007 - (nm_manager_get): make NMManager a singleton and expose the getter
9009 - Rework internal NMManager connection handling to use the same
9010 routines for both the system and user settings services. Most calls
9011 take a new NMConnectionType argument specifying either system or user
9013 - (nm_manager_get_connection_by_object_path): new function; get a
9014 connection keyed on its object path
9016 * src/NetworkManager.c
9017 - (main): use nm_manager_get()
9019 2007-09-09 Dan Williams <dcbw@redhat.com>
9023 - (nm_device_get_best_connection): new function; get best connection
9024 for the device at that time
9026 2007-09-09 Dan Williams <dcbw@redhat.com>
9028 * src/nm-device-interface.h
9029 - Add NMDeviceInterfaceError with an UnknownConnection error
9031 2007-09-09 Dan Williams <dcbw@redhat.com>
9033 Stupid mistake on my part; object path and interface for settings service
9034 and connection objects can be the same, only the service name must be
9035 different for the system and user settings services.
9037 * include/NetworkManager.h
9039 introspection/nm-settings-connection.xml
9040 introspection/nm-settings.xml
9041 libnm-glib/nm-settings.c
9042 - (nm_connection_settings_init, query_user_connections,
9043 new_connection_cb): Unify NetworkManagerSettings and Connection
9044 interface name and object path
9046 2007-09-06 Dan Williams <dcbw@redhat.com>
9048 * libnm-glib/nm-object.c
9049 - (nm_object_get_string_property, nm_object_get_object_path_property,
9050 nm_object_get_int_property, nm_object_get_uint_property,
9051 nm_object_get_boolean_property, nm_object_get_byte_property,
9052 nm_object_get_double_property, nm_object_get_byte_array_property):
9053 clear GValues after copying their contents, fixes memory leaks
9054 after every property access because dbus-glib copies the values
9055 from the DBusMessage into the GValue already.
9057 2007-09-06 Dan Williams <dcbw@redhat.com>
9059 * introspection/nm-access-point.xml
9060 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9061 them to be. There's some magic property name parsing going on in
9062 dbus-glib that breaks up property names based on studly-caps and
9063 puts - between words.
9065 * libnm-glib/nm-access-point.c
9066 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9069 2007-09-06 Dan Williams <dcbw@redhat.com>
9072 - (nm_manager_user_connections_destroy): clear the user connections hash
9073 table, don't destroy it
9074 - (finalize): only destroy the hash table on NMManager finalization
9076 2007-09-02 Dan Williams <dcbw@redhat.com>
9078 * include/NetworkManager.h
9079 libnm-glib/nm-settings.c
9080 - defines for the user settings daemon D-Bus bits
9082 * src/NetworkManager.c
9083 - Remove stuff that referred to the old NetworkManagerInfo service
9085 * src/vpn-manager/nm-dbus-vpn.h
9086 - Move old NMI defines to the only place they are used still
9088 * libnm-util/nm-connection.c
9089 libnm-util/nm-connection.h
9090 src/nm-activation-request.c
9091 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9095 - Get connections and their settings from the user settings daemon
9096 at the appropriate times
9098 2007-09-02 Dan Williams <dcbw@redhat.com>
9100 * libnm-util/nm-setting.c
9101 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9102 - (setting_wireless_hash): set the right value on the item
9104 2007-09-02 Dan Williams <dcbw@redhat.com>
9108 - Remove, no longer useful
9110 2007-08-30 Dan Williams <dcbw@redhat.com>
9113 src/NetworkManagerDbus.c
9114 src/NetworkManagerDbus.h
9115 src/vpn-manager/nm-dbus-vpn.c
9116 - Remove, no longer necessary. Move last bits to the only place its
9117 used, in nm-dbus-vpn.c
9119 * src/NetworkManagerAPList.c
9121 src/NetworkManager.c
9122 src/nm-device-802-11-wireless.c
9123 src/vpn-manager/nm-vpn-manager.c
9124 src/vpn-manager/nm-vpn-service.c
9125 src/NetworkManagerPolicy.c
9127 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9128 that was message_is_error()
9130 2007-08-30 Dan Williams <dcbw@redhat.com>
9133 - Include config.h to get defines for endiannes (gnome.org #420216)
9135 2007-08-30 Dan Williams <dcbw@redhat.com>
9137 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9139 * src/ppp-manager/Makefile.am
9140 - use -fPIC (gnome.org #471825)
9142 2007-08-29 Dan Williams <dcbw@redhat.com>
9144 * include/NetworkManager.h
9145 - Keep NMConnection object path in sync
9147 * libnm-glib/nm-settings.c
9148 libnm-glib/nm-settings.h
9149 - Break D-Bus object registration out of the init function, because
9150 every object that's exported over D-Bus needs to use the _same_
9151 DBusConnection. Otherwise, each object would get a different object
9152 path tree and wouldn't be callable.
9154 2007-08-29 Dan Williams <dcbw@redhat.com>
9156 * libnm-util/nm-setting.h
9157 libnm-util/nm-setting.c
9158 libnm-util/nm-connection.c
9159 src/NetworkManagerPolicy.c
9160 - 'info' settings object should be 'connection' says the spec
9161 at NetworkManagerConfigurationSpecification
9163 2007-08-29 Dan Williams <dcbw@redhat.com>
9165 * libnm-glib/nm-settings.c
9166 libnm-glib/nm-settings.h
9167 - make the dbus path a property of the object, and autogenerate it.
9168 It can't be composed of the 'id' field becuase that's not available
9169 yet during the GObject creation in nm_connection_settings_init()
9171 2007-08-29 Dan Williams <dcbw@redhat.com>
9173 * introspection/nm-settings-connection.xml
9174 introspection/nm-settings.xml
9175 - Service name -> NetworkManagerUserSettings because two services
9176 can't share part of the same path. I'm not really sure how we'll use
9177 the same code with the system-settings daemon...
9179 2007-08-28 Dan Williams <dcbw@redhat.com>
9181 * src/nm-device-interface.c
9182 src/nm-device-interface.h
9183 - Kill one more bit of NMData
9185 2007-08-28 Dan Williams <dcbw@redhat.com>
9187 * src/NetworkManagerSystem.h
9190 src/nm-hal-manager.c
9191 src/NetworkManager.c
9192 src/nm-device-802-11-wireless.c
9193 src/nm-hal-manager.h
9194 src/nm-device-802-3-ethernet.c
9195 src/vpn-manager/nm-vpn-service.h
9196 src/vpn-manager/nm-vpn-manager.c
9197 src/vpn-manager/nm-vpn-manager.h
9198 src/vpn-manager/nm-vpn-service.c
9199 src/nm-device-802-11-wireless.h
9200 src/NetworkManagerMain.h
9201 src/nm-device-802-3-ethernet.h
9202 src/backends/NetworkManagerGentoo.c
9203 src/backends/NetworkManagerPaldo.c
9204 src/backends/NetworkManagerFrugalware.c
9205 src/backends/NetworkManagerRedHat.c
9206 src/backends/NetworkManagerSlackware.c
9207 src/backends/NetworkManagerGeneric.c
9208 src/backends/NetworkManagerArch.c
9209 src/backends/NetworkManagerSuSE.c
9210 src/backends/NetworkManagerGeneric.h
9211 src/backends/NetworkManagerDebian.c
9214 2007-08-28 Dan Williams <dcbw@redhat.com>
9216 * src/NetworkManagerMain.h
9217 src/nm-device-802-11-wireless.c
9218 src/NetworkManager.c
9219 - Remove invalid AP list from NMData; need to rework this somewhat, but
9220 for now we should set the 'invalid' property on individual APs, and when
9221 we need to invalidate a whole ESS, set the 'invalid' on every member of
9224 2007-08-28 Dan Williams <dcbw@redhat.com>
9226 * src/NetworkManagerAP.c
9227 src/NetworkManagerAP.h
9228 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9229 'autoconnect' property instead
9231 * src/NetworkManager.c
9232 src/NetworkManagerMain.h
9233 src/NetworkManagerPolicy.c
9234 src/NetworkManagerPolicy.h
9235 - Remove the 'allowed_ap_list', which should be replaced by
9236 NMConnection/NMSettings instead, since _those_ are the allowed
9237 things that NM can connect to
9239 * src/nm-device-802-11-wireless.c
9240 - Remove both allowed_ap_list usage and 'fallback' checking
9242 2007-08-28 Dan Williams <dcbw@redhat.com>
9245 src/named-manager/nm-named-manager.c
9246 src/named-manager/nm-named-manager.h
9247 src/NetworkManager.c
9248 src/vpn-manager/nm-vpn-manager.c
9249 src/NetworkManagerMain.h
9250 src/NetworkManagerSystem.c
9251 - Remove the named-manager object from NMData structure in preparation
9252 for NMData's timely death. Make the NMNamedManager the singleton that
9255 2007-08-28 Dan Williams <dcbw@redhat.com>
9257 Remove NMAPSecurity objects, they are replaced with flags on the APs for
9258 each AP's capabilities, and by NMConnection/NMSettings objects for user
9259 defined connections.
9261 * include/NetworkManager.h
9262 - Redefine 802.11 security properties. There are now device capabilities
9263 and AP flags and AP security flags. It was way to unclear before.
9266 src/nm-ap-security-leap.h
9267 src/nm-ap-security-leap.c
9268 src/nm-ap-security-wpa-eap.c
9269 src/nm-ap-security-wpa-eap.h
9270 src/nm-ap-security-private.h
9271 src/nm-ap-security-wpa-psk.c
9272 src/nm-ap-security-wpa-psk.h
9273 src/nm-ap-security-wep.c
9274 src/nm-ap-security-wep.h
9275 src/nm-ap-security.c
9276 src/nm-ap-security.h
9277 - Removed, to be replaced with NMConnection/NMSettings objects
9281 - Removed, to be replaced by code that talks to the new info daemon
9282 interface and gets NMConnection/NMSettings objects
9284 * src/backends/NetworkManagerSuSE.c
9285 - Remove usage of NMAPSecurity; should be replaced by a system-level
9286 info-daemon that does the same thing but talks the new info-daemon
9289 * src/NetworkManagerAP.h
9290 src/NetworkManagerAP.c
9291 src/NetworkManagerAPList.c
9292 libnm-glib/libnm-glib-test.c
9293 - Remove usage of NMAPSecurity objects and adjust to new flags for
9296 * libnm-glib/nm-access-point.c
9297 libnm-glib/nm-access-point.h
9298 introspection/nm-access-point.xml
9300 - Adjust to new flags for AP security
9304 src/vpn-manager/nm-dbus-vpn.c
9305 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9306 stuff which is the only place it's used
9308 * src/nm-device-interface.c
9309 src/nm-device-interface.h
9310 introspection/nm-device.xml
9311 src/nm-activation-request.c
9312 src/nm-activation-request.h
9314 - Add a new 'specific_object' argument that hints to NM what actual
9315 AP or other device-specific thing the connection should apply to.
9316 NMConnection objects can apply to more than one actual device/AP.
9318 * libnm-util/nm-connection.c
9319 * libnm-util/nm-connection.h
9320 - Add 'have_secrets" call stubs
9322 * libnm-util/cipher.h
9323 - Move NM_AUTH_TYPE_* defines here for now
9325 * src/nm-device-802-11-wireless.c
9326 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9329 * src/NetworkManagerDbus.c
9330 * src/NetworkManagerPolicy.c
9331 - Remove usage of update_allowed_networks, should be pushing data in
9334 2007-08-27 Tambet Ingo <tambet@gmail.com>
9336 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9337 dbus-glib frees it when the call is done.
9339 2007-08-26 Dan Williams <dcbw@redhat.com>
9341 * introspection/nm-device.xml
9342 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9344 2007-08-26 Dan Williams <dcbw@redhat.com>
9346 * src/nm-device-802-3-ethernet.c
9347 - (constructor): move connection of interface-connected/disconnected
9348 signals here from real_bring_up(). Should be listening to netlink
9349 for carrier events no matter what the initial state of the device
9352 2007-08-26 Dan Williams <dcbw@redhat.com>
9354 * src/nm-netlink-monitor.c
9355 - (nm_netlink_monitor_class_init): fix marshalling types for
9356 interface-connected/interface-disconnected
9357 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9360 2007-08-26 Dan Williams <dcbw@redhat.com>
9362 Convert to using interface indexes as the primary method of identifying
9363 devices inside NetworkManager. Indexes are (?) stable, but devices can
9364 be renamed at any time. Device object paths now refer to the device
9365 index rather than the name, and you can map those two manually if you like
9366 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9367 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9368 to use interface indexes rather than names.
9370 2007-08-26 Dan Williams <dcbw@redhat.com>
9372 * src/nm-netlink-monitor.h
9373 - Remove one last bit of wireless-event signal
9375 2007-08-26 Dan Williams <dcbw@redhat.com>
9377 * src/nm-netlink-monitor.c
9378 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9379 don't need the 'wireless-event' signal anymore since that's all
9380 handled by wpa_supplicant
9382 2007-08-25 Dan Williams <dcbw@redhat.com>
9384 It's 2007. Remove support for drivers that don't support wireless scanning.
9387 include/NetworkManager.h
9388 src/NetworkManagerUtils.c
9389 src/NetworkManagerPolicy.c
9390 src/nm-device-802-11-wireless.c
9391 - Remove special handling for non-scanning devices and mark them
9392 as unsupported/unhandled
9394 2007-08-20 Dan Williams <dcbw@redhat.com>
9396 * src/nm-device-802-11-wireless.c
9397 src/nm-device-802-3-ethernet.c
9398 - (real_is_up): move device-specific tests before generic IFF_UP test,
9399 because when the card is pulled or the module removed, the device
9400 is already !IFF_UP and then device-specific cleanup (removing
9401 the supplicant interface, periodic checks, etc) never gets done
9403 2007-08-20 Dan Williams <dcbw@redhat.com>
9406 - (nm_manager_remove_device): bring device down before disconnecting
9407 signal handlers, so that the 'state' signal will get broadcast when
9408 the device enters the DOWN state
9409 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9410 of states that cause the NMManager to recheck its state
9412 2007-08-20 Dan Williams <dcbw@redhat.com>
9414 * src/supplicant-manager/nm-supplicant-interface.c
9415 - (interface_disconnect_done): don't try to dispose of the net proxy
9416 when it may already have been disposed of
9418 2007-08-20 Dan Williams <dcbw@redhat.com>
9420 * src/nm-device-802-11-wireless.c
9421 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9422 the SSID isn't available; this can happen when the card is pulled
9423 or the module unloaded, during the post-removal deactivation
9424 paths, when the ioctl returns ENODEV
9426 2007-08-20 Dan Williams <dcbw@redhat.com>
9428 * src/nm-device-802-11-wireless.c
9429 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9430 frequency, and mode match. Applets are now responsible for grouping
9433 2007-08-20 Dan Williams <dcbw@redhat.com>
9435 * src/NetworkManagerAP.c
9436 * src/NetworkManagerAP.h
9437 - (nm_ap_print_self): new function
9439 * src/NetworkManagerAPList.c
9440 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9443 2007-08-17 Dan Williams <dcbw@redhat.com>
9445 * src/nm-device-802-3-ethernet.c
9446 - (real_bring_down): don't try to dispose of stuff that might not
9449 2007-08-17 Dan Williams <dcbw@redhat.com>
9451 * src/NetworkManagerAP.c
9452 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9453 applet. This ensures that the case between the seen-bssids and
9454 the bssids reported by the driver match.
9456 2007-08-17 Dan Williams <dcbw@redhat.com>
9458 * src/nm-device-802-11-wireless.c
9459 - (device_cleanup): disconnect the interface in wpa_supplicant before
9460 we dispose of the interface proxy in NM
9462 2007-08-16 Dan Williams <dcbw@redhat.com>
9464 * libnm-glib/nm-client.c
9465 - (nm_client_init): create VPN connections hash table with key free
9467 - (proxy_vpn_connection_added): VPN connections hash table key should
9468 be a duplicated value, not the same memory address as the VPN
9469 connection name. This is because the VPN connection name could
9470 potentially be freed and set to something else during the lifetime
9471 of the NMVPNConnection object.
9473 2007-08-16 Tambet Ingo <tambet@gmail.com>
9475 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9476 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9477 with the file descriptors. Send a child setup function to change the pppd
9480 2007-08-15 Dan Williams <dcbw@redhat.com>
9482 * src/supplicant-manager/nm-supplicant-interface.c
9483 - (try_remove_iface): new function, ask wpa_supplicant to remove
9485 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9486 disposing of the NMSupplicantInterface. Otherwise weird stuff
9487 happens on hotplug if wpa_supplicant doesn't tear down and readd
9488 the interface internally
9490 2007-08-15 Dan Williams <dcbw@redhat.com>
9492 * src/nm-device-802-11-wireless.c
9493 - (real_bring_down): move most of this function into device_cleanup()
9494 so that it can be called from elsewhere
9495 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9496 and stuff on dispose. These would normally get cleaned up when
9497 the device is marked down and deactivated, but when the device is
9498 hot-unplugged, it's already down and real_down() never gets run
9500 2007-08-15 Dan Williams <dcbw@redhat.com>
9503 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9504 caused a reference leak on device for which NM requested a key
9506 2007-08-15 Dan Williams <dcbw@redhat.com>
9508 * libnm-glib/nm-client.c
9509 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9511 2007-08-15 Tambet Ingo <tambet@gmail.com>
9513 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9514 nothing is using it at the moment, but it'll be all useful and stuff later on.
9516 * libnm-util/nm-setting.h: Define NMSettingPPP.
9518 * libnm-util/nm-setting.c: Implement NMSettingPPP.
9520 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9522 * src/Makefile.am: Add ppp-manager to SUBDIRS.
9524 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9526 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9528 2007-08-14 Tambet Ingo <tambet@gmail.com>
9530 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9532 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9533 an issue with dbus-glib bindings generator. The issue is, the generated C caller
9534 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9535 name and different arguments and it won't compile anymore. To fix this, we now have
9536 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9537 that is new API + compatibility API and used by the daemon. The other,
9538 nm-manager-client.xml is only the new API without compatibility bits and is used
9539 by libnm-glib to make it compile.
9541 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9543 * src/nm-manager.c (impl_manager_legacy_sleep)
9544 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9545 interface functions for 0.6 branch.
9547 2007-08-14 Dan Williams <dcbw@redhat.com>
9549 * src/NetworkManagerAP.c
9550 - (nm_ap_new_from_properties): fix mistaken check of return value
9551 from memcmp (should expect 0)
9553 2007-08-14 Dan Williams <dcbw@redhat.com>
9555 (force-commit to fix wrong comment and partial commit of r2685; this
9556 commit actually applies to r2685)
9558 * src/NetworkManagerUtils.c
9559 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9560 ignores trailing nulls in the SSID to work around mismatches in
9561 expectations between WEXT and what the info-daemon passes back. The
9562 info-daemon would pass back the correct length, but due to the
9563 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9564 the device would always have an SSID + 1 depending on what versions
9565 of wpa_supplicant, the kernel, and NM you have. This was most often
9566 visible by just quitting the applet and relaunching, which caused
9567 NM to reassociated to the same network over again when reloading
9570 * src/NetworkManagerPolicy.c
9571 src/NetworkManagerUtils.h
9572 src/nm-device-802-11-wireless.c
9573 - Update for new parameter to nm_utils_same_ssid()
9575 2007-08-14 Dan Williams <dcbw@redhat.com>
9577 * src/NetworkManagerAP.c
9578 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
9579 I encountered a BSS that wasn't just hiding it's ESSID, it was
9580 setting the BSSID to all 0s. That confused the heck out of NM,
9581 plus it's useless and probably out-of-spec.
9583 2007-08-14 Dan Williams <dcbw@redhat.com>
9585 * callouts/Makefile.am
9586 src/dhcp-manager/nm-dhcp-manager.c
9587 src/dhcp-manager/nm-dhcp-manager.h
9588 src/dhcp-manager/Makefile.am
9589 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9591 2007-08-14 Dan Williams <dcbw@redhat.com>
9593 * src/dhcp-manager/nm-dhcp-manager.c
9594 - (dhclient_run): don't pass -x to dhclient until we figure out if
9595 it's really needed, get rid of unused xtra_args parameter
9597 2007-08-14 Dan Williams <dcbw@redhat.com>
9599 * include/NetworkManagerVPN.h
9600 src/vpn-manager/nm-dbus-vpn.c
9601 src/vpn-manager/nm-dbus-vpn.h
9602 src/vpn-manager/nm-vpn-act-request.c
9603 src/vpn-manager/nm-vpn-act-request.h
9604 src/vpn-manager/nm-vpn-service.c
9605 src/vpn-manager/nm-vpn-service.h
9606 libnm-glib/nm-vpn-connection.c
9607 libnm-glib/nm-vpn-connection.h
9608 libnm-glib/nm-client.h
9609 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
9610 NMVPNServiceState to clarify what they apply to
9611 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9612 NMVPNActStage -> NMVPNConnectionState for the same reason
9614 * libnm-glib/nm-client.c
9615 - Constant + type renames from above
9616 - Properly handle NameOwnerChanged/manager_running signals
9617 for NM service; only emit when state really changes
9618 - Use hash tables correctly so that the key (which was previously owned
9619 by the D-Bus message) now has the same lifetime as the value, since
9620 the key is now taken from the the NMVPNConnection itself. This
9621 really fixes the double-VPN names in the applet
9623 2007-08-13 Dan Williams <dcbw@redhat.com>
9625 Patch from Michael Biebl <biebl@debian.org>
9629 - Update for vpn-properties move
9631 2007-08-13 Dan Williams <dcbw@redhat.com>
9633 * libnm-glib/nm-client.c
9634 - Convert internal VPN connection tracking from a list to a hash table
9635 to easily avoid duplicates
9636 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9637 must be freed by the caller, like nm_client_get_devices()
9638 - (nm_client_remove_vpn_connection): don't let the removal signal
9639 leak through for NMVPNConnection objects that aren't actually
9641 - (manager_running): throw away VPN connection list when NM goes away,
9642 like with the device list
9644 2007-08-13 Dan Williams <dcbw@redhat.com>
9646 * src/dhcp-manager/nm-dhcp-manager.c
9647 - Stop any dhclient instance that might be already running for a
9648 particular interface before starting an NM spawned dhclient. Fixes
9649 dhclient processes left over if NM crashes, stuff like that.
9651 2007-08-13 Dan Williams <dcbw@redhat.com>
9653 * src/NetworkManagerAP.c
9654 - (finalize): don't try to g_array_free (NULL, ...), which happened
9655 when the AP wasn't broadcasting it's SSID
9657 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
9659 * include/NetworkManager.h: added DBus path for connection settings.
9661 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9662 nm_connection_settings_signal_updated,
9663 nm_connection_settings_signal_removed): new functions to wrap the
9665 (nm_connection_settings_init): register GObject with DBus.
9666 (nm_connection_settings_get_dbus_object_path): new function.
9668 * libnm-glib/Makefile.am: added libnmutil to link flags.
9670 2007-08-13 Tambet Ingo <tambet@gmail.com>
9672 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9674 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9675 libnm_glib directory got merged with libnm-glib/.
9677 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9679 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9680 Rename the library from libnm-glib to libnm_glib to maintain the library API
9681 compatibility with 0.6 branch.
9683 * Makefile.am: Remove gnome/ SUBDIR.
9685 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9687 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9689 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9691 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9693 Remove checks for wpa_supplicant binary, it's used over dbus.
9694 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9696 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9697 Link the binaries with libnm_glib.la.
9699 2007-08-12 Dan Williams <dcbw@redhat.com>
9701 * src/NetworkManagerPolicy.c
9702 - (nm_policy_device_change_check): fix policy to deactivate old device
9703 before activating new one, at least until the multiple active
9704 device support lands
9706 2007-08-12 Dan Williams <dcbw@redhat.com>
9708 * src/NetworkManagerPolicy.c
9709 - (nm_policy_new): hook up to connection-added / connection-removed
9710 signals instead of connections-changed
9712 2007-08-12 Dan Williams <dcbw@redhat.com>
9714 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
9715 Robert Frank <rfrank@redhat.com>
9717 * src/dhcp-manager/nm-dhcp-manager.c
9718 src/dhcp-manager/nm-dhcp-manager.c
9720 - Spawn and communicate with dhclient directly, through means of a
9721 custom dhclient callout script. Process callout D-Bus signals
9722 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
9723 sent via gobject signals rather than being driven by the dhcp manager
9726 2007-08-12 Dan Williams <dcbw@redhat.com>
9728 * callouts/nm-dhcp-client-action.c
9729 - (build_message): ignore non-DHCP-related environment variables
9731 2007-08-12 Dan Williams <dcbw@redhat.com>
9735 callouts/Makefile.am
9736 callouts/nm-dhcp-client-action.c
9737 callouts/nm-dhcp-client.conf
9738 - Add dhclient-executed callout that takes the place of dhclient-script
9739 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9742 2007-08-09 Tambet Ingo <tambet@gmail.com>
9744 [Based on patch by Helmut Schaa <hschaa@suse.de>]
9746 * libnm-glib/nm-client.h:
9747 * libnm-glib/nm-object.h:
9748 * libnm-glib/nm-vpn-connection.h:
9749 * libnm-glib/nm-settings.h:
9750 * libnm-glib/nm-device.h:
9751 * libnm-glib/nm-ip4-config.h:
9752 * libnm-glib/nm-access-point.h:
9753 * libnm-glib/nm-device-802-3-ethernet.h:
9754 * libnm-util/nm-setting.h:
9755 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9757 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9759 * libnm-glib/nm-access-point.c: Strength has type char.
9761 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9762 to fix build. GnomeDruid is deprecated in recent libgnomeui.
9764 * introspection/nm-access-point.xml: Strength property is char, not int.
9766 * src/NetworkManagerAP.c (set_property): Set strength from char.
9767 (get_property): Handle hidden APs (with empty SSID).
9768 Get strength value from char.
9769 (nm_ap_class_init): Strength property has char type.
9771 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
9773 * introspection/Makefile.am:
9774 * introspection/nm-settings.xml:
9775 * introspection/nm-settings-connection.xml: added Settings interfaces.
9777 * libnm-glib/nm-settings.[ch]:
9778 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9779 containing the DBus implementation.
9781 2007-07-26 Dan Williams <dcbw@redhat.com>
9783 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9785 * src/NetworkManagerSystem.c
9786 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9787 same subnet (#437396)
9789 2007-07-26 Dan Williams <dcbw@redhat.com>
9791 Patch from Kelemen Gábor <kelemeng@gnome.hu>
9793 * gnome/vpn-properties/nm-vpn-properties.c
9794 - Fix translatable strings (#445865)
9796 2007-07-26 Dan Williams <dcbw@redhat.com>
9798 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9801 - Remove useless junk (#412530)
9803 2007-07-10 Christopher Aillon <caillon@redhat.com>
9805 Patch from Robert Buchholz <rbu@gentoo.org>:
9809 * introspection/Makefile.am:
9810 Make make distcheck work again.
9812 2007-06-27 Dan Williams <dcbw@redhat.com>
9814 * Make SSIDs GByteArrays everywhere
9815 * Rename "essid" -> "ssid" everywhere that's appropriate
9816 * Refcount activation_ap member of the 802.11 wireless device class
9818 2007-06-27 Tambet Ingo <tambet@ximian.com>
9820 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9822 2007-06-22 Tambet Ingo <tambet@ximian.com>
9824 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9825 that we got a new AP when we just update existing AP properties.
9827 2007-06-21 Tambet Ingo <tambet@ximian.com>
9829 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9831 * nm-utils.[ch]: Remove.
9833 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9834 objects for easy property access and dbus connection handling.
9836 * libnm-glib/nm-client.c: Derive from NMObject.
9838 * libnm-glib/nm-device.c: Ditto.
9840 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9842 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9844 * libnm-glib/nm-ip4-config.c: Ditto.
9846 * libnm-glib/nm-access-point.c: Ditto.
9848 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9849 comparision. Currently used by the device activation code to determine if the new
9850 activation is the same as the old one.
9852 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9853 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9854 able to ask password for the AP.
9856 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9857 up if the device is already connected, tear down it's connection (if it isn't the
9858 same as new one) and start the activation.
9860 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9862 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9863 the issue where all APs are always listed as encrypted.
9865 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9866 their own registered paths.
9868 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9869 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9871 2007-06-13 Tambet Ingo <tambet@ximian.com>
9873 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9876 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9877 because the handling code will cause the next state change and signal listeners
9878 get the signals in wrong order.
9880 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9881 correctly in case of pending activation.
9883 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9884 Convert the essid byte array to string correctly, including the terminating NULL.
9886 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9887 mode with correct types.
9889 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9890 constructed info to dbus call instead of the activation request.
9892 2007-06-11 Christopher Aillon <caillon@redhat.com>
9894 Patch from Christian Persch <chpe@gnome.org>
9896 * libnm-glib/Makefile.am:
9897 * dispatcher-daemon/Makefile.am:
9898 Use the correct variables, the correct paths, and correct ordering. (446315)
9900 2007-06-11 Tambet Ingo <tambet@ximian.com>
9902 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9903 argument. The activation request is easy to retrieve.
9905 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9906 just to be a convenient location for devices to store random stuff.
9908 2007-06-11 Christopher Aillon <caillon@redhat.com>
9910 Patch from Alex Smith <alex@alex-smith.me.uk>
9912 * src/backends/NetworkManagerFrugalware.c:
9913 Update the FrugalWare backend to fix a few segfaults. (#392642)
9915 2007-06-08 Tambet Ingo <tambet@ximian.com>
9917 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9919 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9921 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9923 2007-06-06 Tambet Ingo <tambet@ximian.com>
9925 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9927 Implement NMSettingIP4Config.
9928 Finish NMSettingWired by adding all known members.
9929 (setting_wired_verify): Implement.
9930 Finish NMSettingWireless by adding all known members.
9931 (setting_wireless_verify): Implement.
9933 * libnm-util/nm-connection.c: Register "ipv4" setting.
9934 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9935 dump function, we can introspect the GHashTable which is used for sending connections
9938 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9939 Take GByteArray for essid, it's really not a string.
9941 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9942 Start DHCP request if setting is not passed or if it states that DHCP should be used.
9943 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9944 means overriding the values we got from DHCP.
9945 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9946 (nm_device_deactivate_quickly): Ditto.
9948 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9951 2007-05-07 Tambet Ingo <tambet@ximian.com>
9953 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9956 * libnm-glib/nm-device-802-11-wireless.c:
9957 (nm_device_802_3_ethernet_activate): Remove.
9959 * libnm-glib/nm-device-802-3-ethernet.c
9960 (nm_device_802_3_ethernet_activate): Remove.
9962 * libnm-glib/nm-device.c (nm_device_activate): Implement.
9964 * src/nm-device-802-3-ethernet.c: Implement the new activation using
9967 * src/nm-device-802-11-wireless.c: Store an activation AP once the
9968 activation has started.
9969 Implement the new activation using NMConnection.
9971 * src/nm-activation-request.c: Store a generic connection object instead
9972 of a wireless-specific AP.
9974 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9975 on device type, create a device specific connection object suitable for
9978 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9979 specific check to validate the connection and on success start the
9982 * src/nm-device-interface.h: Add a activate virtual function to the
9983 interface definition.
9985 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9986 (impl_device_activate): Implement.
9988 * introspection/nm-device.xml: Add a generic device activation interface
9989 that accepts an abstract NMConnection structure that has device-specific
9992 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9993 activation interface.
9995 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9996 activation interface.
9998 * libnm-util/nm-connection.c:
9999 * libnm-util/nm-connection.h:
10000 * libnm-util/nm-setting.c:
10001 * libnm-util/nm-setting.h: Add.
10003 * libnm-util/Makefile.am: Build the added files.
10005 * src/nm-dbus-manager.c
10006 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10007 DbusConnection argument from 'name-owner-changed' signal. The manager
10008 is already passed as a first argument to the signal and the connection
10009 is easy enough to get from it.
10011 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10012 Update the signature of the function.
10014 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10017 * src/NetworkManager.c: Ditto.
10019 * src/named-manager/nm-named-manager.c
10020 (nm_named_manager_name_owner_changed): Ditto.
10022 * src/supplicant-manager/nm-supplicant-manager.c
10023 (nm_supplicant_manager_name_owner_changed): Ditto.
10025 * src/nm-hal-manager.c (name_owner_changed): Ditto.
10027 * src/dhcp-manager/nm-dhcp-manager.c
10028 (nm_dhcp_manager_name_owner_changed): Ditto.
10030 * src/nm-hal-manager.c: Add a list of device detectors and creators
10031 to make it easier to add new devices. Each device type has it's own
10032 entry in the table so adding new device types is only a matter of
10033 implementing a couple of functions, one for device detection and the
10034 other for device creation.
10036 2007-04-25 Dan Williams <dcbw@redhat.com>
10038 * initscript/RedHat/NetworkManager.in: remove trailing backslash
10039 (gnome.org #432401)
10041 2007-03-30 Dan Williams <dcbw@redhat.com>
10043 * src/NetworkManagerSystem.c
10044 - (nm_system_device_set_ip4_route): clean up and fix argument
10045 to nm_dev_sock_open()
10047 2007-03-28 Tambet Ingo <tambet@ximian.com>
10049 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10050 data to correct types instead of always using string.
10052 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10053 _not_ have NM_802_11_CAP_PROTO_NONE.
10054 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10057 2007-03-27 Tambet Ingo <tambet@ximian.com>
10059 * libnm-glib/Makefile.am: Fix the build issue.
10061 2007-03-26 Tambet Ingo <tambet@ximian.com>
10063 * libnm-glib/nm-vpn-connection.h:
10064 * libnm-glib/nm-vpn-connection.c: Implement.
10066 * libnm-glib/nm-client.c: Add VPN support.
10068 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10071 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10074 2007-03-26 Dan Williams <dcbw@redhat.com>
10076 * src/NetworkManagerAPList.c
10077 * src/nm-device-802-11-wireless.c
10078 * src/NetworkManagerAP.c:
10079 - Store last seen as glong instead of GTimeVal.
10080 - Fix the upper bound of capabilities, it's a bitfield.
10082 2007-03-16 Tambet Ingo <tambet@ximian.com>
10084 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10086 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10087 "manager-running" signal that notifies the appearance/disappearance of NM.
10088 (nm_client_sleep): Implement.
10090 * libnm-glib/nm-device.c:
10091 * libnm-glib/nm-device-802-11-wireless.c:
10092 * libnm-glib/nm-device-802-3-ethernet.c:
10094 Don't inherit from DBusGProxy, add a proxy to private
10095 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10096 for anything but their own dbus interface. DBusGProxy objects support only one
10097 interfaces and to work around this, NMDevice has spearate proxy for each dbus
10098 interface. The nice side effect of this change is that we do not create a new
10099 DBusGProxy object for each property access.
10101 2007-03-15 Tambet Ingo <tambet@ximian.com>
10103 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10104 with zeroes before passing them to functions - the functions never do that and
10105 reading the values back may produce wrong values.
10106 (real_bring_up): Store the signal handler id ...
10107 (real_bring_down): ... So that it can be removed here.
10108 Disconnect the supplicant interface here as well.
10109 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10110 from the access point instead of old $device/Networks/$essid.
10112 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10113 device state is connected (instead of just having link/carrier).
10115 * src/nm-activation-request.c: Don't store NMData in activation request, it's
10116 already easily accessible through the device.
10118 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10119 store it within the object.
10120 (nm_ap_get_dbus_path): Export it to public as well.
10122 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10125 2007-03-12 Dan Williams <dcbw@redhat.com>
10127 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
10128 for non-carrier-detect capable devices, and useless for carrier-detect
10129 devices since we get notifications from netlink about carrier status anyway.
10131 * src/nm-device-802-3-ethernet.c
10132 - remove 'link_source_id' member from private data
10133 - (probe_link): remove and collapse into real_update_link()
10134 - (nm_device_802_3_periodic_update): remove
10135 - (real_is_up): check for sup_iface rather than link_source_id
10136 - (real_bring_up): return gboolean for success/fail; require that
10137 sup_iface be valid for device bringup to succeed
10138 - (real_bring_down): zero out link signal ids
10141 - (nm_device_activate_stage2_device_config): fail activation if device
10143 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10145 - (nm_device_bring_up): return success/fail
10148 - bring_up now returns success/fail
10150 * src/nm-device-802-11-wireless.c
10151 - (real_bring_up): return success from bringup
10153 2007-03-07 Dan Williams <dcbw@redhat.com>
10155 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
10156 * src/nm-ap-security-wpa-psk.c
10157 - (real_write_supplicant_config): work with PSKs that may contain
10158 zeros in the binary format rather than treating it as a string
10160 2007-03-02 Tambet Ingo <tambet@ximian.com>
10162 * libnm-glib/nm-device-802-11-wireless.c
10163 (nm_device_802_11_wireless_get_capabilities): Implement.
10165 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10167 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10169 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10170 reply only if it's not NULL. Not sure why this started happening right now.
10172 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10173 code paths for when devices get removed on shutdown or when a device is just
10175 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10176 gets freed so any signal from a device (disconnected for instance) would invoke
10177 NMState update which would crash.
10178 (nm_manager_remove_device): Bring the device down when it gets removed.
10180 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10181 the unused dev_type.
10183 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10184 reference to the added device, NMManager will own it (if it wants).
10186 * test/nm-tool.c: Rewrite using libnm-glib.
10188 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10189 We get signalled when it changes.
10191 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10194 * libnm-glib/nm-device.c: Cache the device state property.
10196 * libnm-glib/nm-access-point.c: Cache the strength property.
10198 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10199 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10200 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10201 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10202 the device is down, activating, or activated (in case of A/B/G cards).
10203 Remove some old dead ifdef'ed out code that used to configure wireless devices,
10204 it's all done through supplicant now.
10206 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10207 counting issues with pending calls which caused leaks and crashes when
10208 interface was removed (now that the interface actually gets removed).
10210 * src/nm-call-store.c: Make a copy of data before running a foreach
10211 with user callback on it - The most common usage pattern is to cancel
10212 (and thus remove) all pending calls with foreach which would modify
10213 the hash table we're iterating over.
10215 * src/nm-manager.c: When a device is added, make sure it is "up". When
10216 it's removed or disabled due to disabling wireless or networking, bring
10219 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10221 * src/nm-device-802-11-wireless.c:
10222 * src/nm-device-802-3-ethernet.c:
10224 - Remove "init" virtual function, all gobjects have a place for that
10225 already (constructor).
10226 - Replace "start" virtual function with "bring_up", devices can be
10227 brought up and down more than just on startup now.
10228 - Add "is_up" virtual function.
10229 - Implement one way to bring a device down instead of previous 4 different
10230 ways, each of witch did something different.
10232 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10233 all it needs is the device interface.
10235 Get rid of NMData.dev_list (3 members to go).
10236 Get rif of NMData in a lot of places.
10238 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10240 2007-02-23 Dan Williams <dcbw@redhat.com>
10242 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10244 * src/NetworkManagerAP.c
10245 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10246 OR-ing rather than AND-ing
10248 2007-02-20 Tambet Ingo <tambet@ximian.com>
10250 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10251 "network-removed" signals.
10253 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10255 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10256 when receiving the signal from dbus.
10258 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10261 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10262 deactivation of the previously activated device working again.
10264 * src/nm-activation-request.c: Remove NMActStage property and it's getter
10267 * src/nm-device.c (nm_device_is_activated): Remove.
10268 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10270 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10271 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10272 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10273 NM_DBUS_SIGNAL_STATE_CHANGE signal.
10274 Remove NMNetworkStatus and NMActStage enums.
10276 2007-02-19 Tambet Ingo <tambet@ximian.com>
10278 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10279 Handle device state changes and disconnect VPN if it's device deactivates.
10281 * src/nm-dbus-nm.c:
10282 * src/nm-dbus-nm.h:
10283 * src/nm-dbus-device.c:
10284 * src/nm-dbus-device.c:
10285 * src/nm-dbus-net.c:
10286 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10288 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10290 * src/nm-device.c (nm_device_get_by_udi):
10291 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10292 implemented in the correct location (NMManager).
10293 Rip out all the test_device stuff.
10295 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10296 failure handlers, it's all done by NMDevice already.
10298 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10299 Remove the iochannel hack to route the unix signals to the main thread since
10300 we're not threaded anymore.
10302 * src/NetworkManagerAP.c: Implement HWAddress property.
10304 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10305 automatically with dbus-glib.
10307 * src/nm-netlink-monitor.c:
10308 * src/nm-netlink-monitor.h:
10309 - Move it low in the class hierarchy, don't reference any NM types.
10310 - Remove private data from the header.
10311 - Use type safe checks in public API methods.
10312 - Make it a singleton so we don't have to pass the single reference around.
10314 2007-02-16 Tambet Ingo <tambet@ximian.com>
10316 * introspection/nm-ip4-config.xml: Implement.
10318 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10320 * libnm-glib/nm-ip4-config.c:
10321 * libnm-glib/nm-ip4-config.c: Implement.
10323 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10324 securities. APs reference security.
10326 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10327 be exported over DBUS.
10329 * src/nm-device-802-3-ethernet.c: Ditto.
10331 * src/NetworkManagerAP.c:
10332 * src/NetworkManagerAP.h:
10333 - Convert to GObject, export over DBUS.
10335 * src/nm-ip4-config.h:
10336 * src/nm-ip4-config.h:
10337 - Convert to GObject, export over DBUS.
10339 2007-02-12 Dan Williams <dcbw@redhat.com>
10341 Patch from Helmut Schaa <hschaa@suse.de>
10343 * vpn-daemons/pptp/configure.in
10344 vpn-daemons/pptp/Makefile.am
10345 vpn-daemons/openvpn/configure.in
10346 vpn-daemons/openvpn/Makefile.am
10347 vpn-daemons/vpnc/configure.in
10348 vpn-daemons/vpnc/Makefile.am
10349 - Add --without-gnome switch which disables building gnome bits
10351 2007-02-12 Tambet Ingo <tambet@ximian.com>
10353 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10355 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10357 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10360 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10362 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10364 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10367 - Remove old low-level dbus interface implementations and replace them
10368 with dbus-glib one.
10371 - Require dbus-glib >= 0.72.
10372 - Plug in new sources to build.
10375 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10376 to make it more convenient to use from GObject based programs.
10379 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10381 2007-02-09 Tambet Ingo <tambet@ximian.com>
10383 * src/nm-device-802-11-wireless.c:
10384 - Add "network-added" and "network-removed" signals.
10385 - Use gobject boilerplate macros to define the GObject.
10386 - Implement wireless device activation.
10387 - Remove activation_failure_handler and activation_success_handler
10388 and instead listen on state-changed signals and run the same code
10392 - Implment NMDeviceInterface::deactivate.
10393 - Remove activation_failure_handler and activation_success_handler
10394 virtual methods. Each device which is interested in these events
10395 can just listen on it's state changed signals.
10397 * src/NetworkManagerPolicy.c:
10398 - Move a bit more NMData usage to NMManager.
10399 - Remove activation scheduling bits.
10400 - Add listeners for wireless device's "network-added" and
10401 "network-removed" signals.
10402 - Listen device changed signals and deactivate currently activated
10403 device when another device start activating (for now).
10404 - Remove (nm_policy_schedule_device_change_check): There's never a need
10405 for calling this, the policy code knows exactly when this should happen,
10406 by listening on events from NMManager and NMDevices.
10408 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10411 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10412 method on the specific device instead of going to through policy code
10413 and determining the device type by passed in AP's existance.
10415 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10416 abstract NMDevice deactivation.
10418 2007-02-08 Tambet Ingo <tambet@ximian.com>
10420 * src/NetworkManager.c:
10421 - Set up all the shiny new managers.
10423 * src/NetworkManagerPolicy.c:
10424 - Add the beginnings of new NMPolicy code. Instead of requireing all
10425 classes to call into policy code, make the policy code kind of like
10426 a supervisor that monitors what's going on and drives the whole NM.
10428 * src/nm-hal-manager.c:
10429 * src/nm-hal-manager.h:
10430 - Collect all libhal code scattered around NM to this one class.
10431 - Listen libhal and NMManager events and add/remove devices to
10434 * src/nm-manager.c:
10435 * src/nm-manager.h:
10436 - Implment a replacement for NMData. NMData is now officially
10439 2007-02-05 Tambet Ingo <tambet@ximian.com>
10441 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10442 * src/supplicant-manager/nm-supplicant-interface.h
10443 * src/supplicant-manager/nm-supplicant-interface.c
10444 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10445 argument to boolean from enum.
10447 Make NMDevice abstract class, remove almost all references to it's
10448 subclasses (the last place gets removed with new policy manager). Add
10449 NMDeviceInterface (which NMDevice implements) so that when we have
10450 NMDevice exported over DBUS, there's a common NMDevice interface which
10451 all instances have, plus there's a device specific interface for each
10453 Remove functions (nm_device_is_802_3_ethernet) and
10454 (nm_device_is_802_11_wireless). There are already standard GObject macros
10455 for type safe checks.
10456 Use the updated supplican manager API.
10458 * src/nm-device-interface.h:
10459 * src/nm-device-interface.c:
10460 * src/nm-call-store.h:
10461 * src/nm-call-store.c: Implement.
10463 * src/supplicant-manager/nm-supplicant-interface.c:
10464 * src/supplicant-manager/nm-supplicant-interface.h:
10465 * src/supplicant-manager/nm-supplicant-manager.c:
10466 * src/supplicant-manager/nm-supplicant-manager.h:
10467 - Remove all private data type references from public header files.
10468 - Remove all references to other NM classes, this class is just a
10469 proxy between wpa_supplicant and NM so it doesn't have to know
10471 - Convert to dbus-glib bindings.
10472 - Type safe checks for public methods' arguments.
10473 - Store pending DBUS call ids to NMCallStore.
10475 * src/supplicant-manager/nm-supplicant-config.c:
10476 - Store config values in a GHashTable instead of GSList.
10478 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10480 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10483 * src/nm-device.c: Use the new DHCP manager API.
10485 * src/nm-activation-request.c:
10486 * src/nm-activation-request.h:
10487 - Remove all dhcp related properties and methods.
10489 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10491 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10493 * src/dhcp-manager/nm-dhcp-manager.c:
10494 * src/dhcp-manager/nm-dhcp-manager.h:
10495 - Convert it to GObject since we need to signal state changes.
10496 - Remove all references to other NM classes, this class is one
10497 of the lowest classes in our hierarchy.
10498 - One less class to use NMActRequest.
10499 - Make it singleton, one less user of NMData.
10500 - Remove a couple of sleep() calls.
10501 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10502 One less class to use the NM's custom tailored signal handlig.
10504 * Makefile.am: Generate marshallers, add them to build.
10506 2007-02-02 Dan Williams <dcbw@redhat.com>
10512 - Remove last bits referencing gnome applet
10514 2007-02-02 Dan Williams <dcbw@redhat.com>
10516 * src/vpn-manager/nm-vpn-service.c
10517 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10518 and NBNS server addresses
10520 2007-02-02 Tambet Ingo <tambet@ximian.com>
10522 * src/nm-dbus-manager.c:
10523 * src/nm-dbus-manager.h:
10524 - Convert all internal DBUS code to use dbus-glib bindings.
10525 - Remove GObject properties, we don't need them here.
10526 - Don't explicitly set things to NULL after freeing, glib is
10527 happy to do it if asked nicely (G_DEBUG=gc-friendly).
10528 - Make public API argument checks type safe.
10529 - Remove unnecessary (and wrong) cast to GObject for the first
10530 argument to g_signal_* calls - The first argument is a gpointer.
10531 - Export DBusGConnection to other cool classes that (are going to)
10534 2007-01-26 Dan Williams <dcbw@redhat.com>
10536 * libnm-util/dbus-dict-helpers.c
10537 libnm-util/dbus-dict-helpers.h
10538 - Coordinate style with wpa_supplicant version to minimize diff
10539 - Add uint32 array support
10540 - (nmu_dbus_dict_append_uint32_array): new function
10541 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10542 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10543 version; allow adding string array elements individually
10545 * test/libnm-util/test-dbus-dict-helpers.c
10546 - Test uint32 arrays
10548 2007-01-27 Jürg Billeter <j@bitron.ch>
10550 * src/backends/NetworkManagerPaldo.c
10551 - (nm_system_update_dns): clear nscd hosts cache
10553 2007-01-04 Dan Williams <dcbw@redhat.com>
10555 Threading removal related cleanups:
10557 - Use the glib default main context. Remove the device main context
10558 member from NMDevice, and the main_context member from NMData. Change
10559 all the idle and timeout scheduler functions to use plain
10560 g_idle_add() and g_timeout_add().
10562 - As a side-effect of the first change, nm_dbus_manager_get() no longer
10563 takes an argument; fix that up too.
10565 - Remove all locking, which is useless since we no longer use threads. For
10566 example, nm_get_device_by_iface_locked() has been removed. The global
10567 device list lock, the AP List lock, and all static locks in
10568 NetworkManagerPolicy.c have been removed. The locking utility functions
10569 in NetworkManagerUtils.c have also been removed.
10571 - Other cleanups in spacing and code style
10573 2007-01-01 Dan Williams <dcbw@redhat.com>
10575 Found by Bill Moss:
10577 * src/supplicant-manager/nm-supplicant-interface.c
10578 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10579 the supplicant interface wasn't already disconnected. Always
10580 call removeNetwork and disconnect unless the supplicant interface
10581 is in the DISCONNECTED or INACTIVE state.
10583 2006-12-28 Dan Williams <dcbw@redhat.com>
10585 Use a single thread for everything. With the move to wpa_supplicant
10586 and communication over D-Bus, there's no reason for multiple threads.
10587 Almost all of the blocking code has been removed, with one exception in
10588 the DHCP manager and a few in the VPN manager. This commit removes the
10589 per-device worker thread and fixes activation cancellation in the absence
10590 of threads. Further removal of thread-related code would be removing
10591 any locking code (like the device list lock) and simplification of logic
10592 around areas of code or data structures that are currently locked.
10595 dhcp-manager/nm-dhcp-manager.c
10596 nm-device-802-11-wireless.c
10597 nm-device-802-3-ethernet.c
10600 - Remove usage of multiple threads
10602 2006-12-19 Dan Williams <dcbw@redhat.com>
10604 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10605 plus a few other patches from wpa_supplicant bugzilla.
10608 src/NetworkManagerPolicy.c
10609 src/NetworkManagerUtils.c
10610 src/NetworkManagerUtils.h
10611 src/nm-ap-security-leap.c
10612 src/nm-ap-security-wep.c
10613 src/nm-ap-security-wpa-eap.c
10614 src/nm-ap-security-wpa-psk.c
10615 src/nm-ap-security.c
10616 src/nm-ap-security.h
10617 src/nm-device-802-11-wireless.c
10618 src/nm-device-802-11-wireless.h
10619 src/supplicant-manager/nm-supplicant-config.c
10620 src/supplicant-manager/nm-supplicant-config.h
10621 src/supplicant-manager/nm-supplicant-interface.c
10622 src/supplicant-manager/nm-supplicant-interface.h
10623 src/supplicant-manager/nm-supplicant-marshal.list
10624 src/supplicant-manager/nm-supplicant-settings-verify.c
10625 src/supplicant-manager/nm-supplicant-settings-verify.h
10626 - Move all connection management and association handling to
10627 wpa_supplicant over dbus, rather than spawning a private copy
10629 2006-12-19 Dan Williams <dcbw@redhat.com>
10631 * src/NetworkManagerPolicy.c
10632 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10633 better locking of the device change check handler ID. Incorrect
10634 locking was causing lost device change requests
10636 2006-12-18 Dan Williams <dcbw@redhat.com>
10638 * libnm-util/dbus-dict-helpers.c
10639 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10640 _nmu_dbus_dict_entry_get_byte_array): replace usage of
10641 dbus_message_iter_get_array_len() (Gnome.org #382898)
10643 2006-12-18 Dan Williams <dcbw@redhat.com>
10645 * gnome/libnm_glib/libnm_glib.c
10646 - Change dbus_connection_close() -> dbus_connection_unref()
10648 2006-12-11 Dan Williams <dcbw@redhat.com>
10650 * src/supplicant-manager/nm-supplicant-interface.c
10651 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10652 wpa_supplicant interface state
10653 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10654 state before transitioning to READY state
10656 2006-12-04 Dan Williams <dcbw@redhat.com>
10658 * src/nm-device-802-11-wireless.c
10659 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10660 odd length of ESSID returned from ieee80211 stack-based drivers
10662 2006-12-04 Dan Williams <dcbw@redhat.com>
10664 * src/nm-device-802-11-wireless.c
10665 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10666 IE handling blocks that cause mis-parsing of the IE
10668 2006-12-04 Dan Williams <dcbw@redhat.com>
10670 * src/nm-device-802-11-wireless.c
10671 - (init_supplicant_interface): new function; pull supplicant interface
10672 setup code out into standalone function since it must be called from
10673 two different places
10674 - (real_init): sup_mgr is now in private object data; get and track
10675 the supplicant manager object over the NMDevice subclass' lifetime
10676 and register a signal handler for its state signals; only try to
10677 initialize the supplicant interface if the supplicant manager is in
10678 the IDLE state (and therefore is ready for requests)
10679 - (request_wireless_scan): reschedule the scan request if (a) there is
10680 no supplicant interface yet (meaning wpa_supplicant isn't running
10681 or isn't ready yet), or (b) if the supplicant interface isn't ready
10683 - (supplicant_iface_connection_state_cb): new function; stub for
10684 handling supplicant interface connection state signals
10685 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10687 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10688 supplicant manager object that's being tracked starting with this
10691 2006-12-04 Dan Williams <dcbw@redhat.com>
10693 * src/supplicant-manager/nm-supplicant-interface.c
10694 - (nm_supplicant_interface_set_property): track signal handler ID
10695 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10697 2006-12-04 Dan Williams <dcbw@redhat.com>
10699 * src/supplicant-manager/nm-supplicant-interface.[ch]
10700 - (nm_supplicant_interface_get_state): new function
10702 2006-12-04 Dan Williams <dcbw@redhat.com>
10704 * src/supplicant-manager/nm-supplicant-interface.c
10705 - (bssid_properties_cb): don't treat DBus errors as valid
10706 scanned AP messages
10708 2006-12-04 Dan Williams <dcbw@redhat.com>
10710 * src/supplicant-manager/nm-supplicant-interface.[ch]
10711 - (nm_supplicant_interface_get_connection_state): new function
10712 - define new supplicant connection states
10713 - send a signal when the supplicant connection state changes
10715 2006-12-03 Dan Williams <dcbw@redhat.com>
10717 * src/supplicant-manager/Makefile.am
10718 src/supplicant-manager/nm-supplicant-connection.h
10719 src/supplicant-manager/nm-supplicant-connection.c
10720 src/supplicant-manager/nm-supplicant-config.h
10721 src/supplicant-manager/nm-supplicant-config.c
10722 src/supplicant-manager/nm-supplicant-types.h
10723 src/supplicant-manager/nm-supplicant-interface.h
10724 src/supplicant-manager/nm-supplicant-interface.c
10725 - Rename NMSupplicantConnection -> NMSupplicantConfig
10727 2006-12-03 Dan Williams <dcbw@redhat.com>
10729 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
10733 - Move VPN-related translatables to .skip
10735 * vpn-daemons/pptp/po/POTFILES.in
10736 - Update with new translatables
10738 2006-12-02 Dan Williams <dcbw@redhat.com>
10740 Patch from Christian Persch <chpe@gnome.org>
10742 * gnome/applet/Makefile.am
10743 gnome/applet/applet-dbus-devices.c
10744 gnome/applet/applet-notifications.c
10745 gnome/applet/applet.c
10746 gnome/applet/applet.h
10747 gnome/applet/main.c
10748 - Be a GtkStatusIcon on GTK+ >= 2.10
10750 2006-12-02 Dan Williams <dcbw@redhat.com>
10752 * gnome/applet/applet.c
10753 - (nma_update_info): fix two unecessary allocations
10755 2006-12-02 Dan Williams <dcbw@redhat.com>
10757 Patch from Michael Biebl <biebl@teco.edu>
10759 man/NetworkManager.1.in
10760 man/NetworkManagerDispatcher.1.in
10761 man/NetworkManager.8.in
10762 man/NetworkManagerDispatcher.8.in
10763 - Add .SH NAME stanzas
10764 - Move NM & NM Dispatcher manpages to section 8 (admin)
10766 2006-12-02 Dan Williams <dcbw@redhat.com>
10768 Patch from Christian Persch <chpe@gnome.org>
10771 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10773 2006-11-29 Tambet Ingo <tambet@ximian.com>
10775 Patch by Timo Hoenig <thoenig@suse.de>:
10776 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10779 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10780 we can't use the one from the main source directory.
10782 2006-11-27 Dan Williams <dcbw@redhat.com>
10784 Patch from Christian Persch <chpe@gnome.org>
10786 * gnome/applet/applet-dbus-devices.c
10787 - (hal_info_product_cb): fix memleak; free duped string.
10790 2006-11-27 Dan Williams <dcbw@redhat.com>
10792 Patch from Christian Persch <chpe@gnome.org>
10794 * gnome/applet/menu-items.c
10795 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10796 as gtk_progress_set_percentage is deprecated. Should
10797 work as far back as GTK+ 2.4. Gnome.org #379780
10799 2006-11-26 Dan Williams <dcbw@redhat.com>
10801 Scan using wpa_supplicant over DBus.
10803 * src/nm-device-802-11-wireless.c
10804 - remove wireless extensions netlink event handler bits
10805 (wireless_event_helper, nm_device_802_11_wireless_event)
10806 - remove wireless extensions scan event handler bits
10807 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10808 hex2byte, hex2num, request_and_convert_scan_results,
10809 free_process_scan_cb_data, scan_results_timeout,
10810 schedule_scan_results_timeout, cancel_scan_results_timeout)
10811 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10812 and request scans from the supplicant interface rather than directly
10813 - Move functionality of convert_scan_results() to cull_scan_list() and
10814 supplicant_iface_scanned_ap_cb()
10815 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10816 at the scan interval when the current scan has finished
10817 - (supplicant_iface_state_cb): start scanning when the supplicant
10818 interface enters the READY state, and stop scanning when it
10819 enters the DOWN state
10820 - (cull_scan_list): weed out old access points from the scan list
10821 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10822 point into an NMAccessPoint and merge it into the device's scan list
10824 * src/supplicant-manager/nm-supplicant-interface.c
10825 src/supplicant-manager/nm-supplicant-interface.h
10826 - Add a new signal "scan-result" which is issued when the supplicant
10827 notifies NM that a scan has completed
10828 - Add a new signal "scanned-ap" that notifies listeners of a new access
10829 point found in the scan. Called once for each access point that
10830 the supplicant interface object receives from the supplicant as a
10831 result of the "scanResults" method call
10832 - (wpas_iface_query_scan_results): don't wait 4s before querying
10833 for the initial scan results
10834 - (scan_request_cb): new function; send listeners the result
10835 (success, error) of a wireless scan request
10836 - (nm_supplicant_interface_request_scan): new function; ask the
10837 supplicant to perform an immediate wireless scan
10839 2006-11-25 Dan Williams <dcbw@redhat.com>
10841 * src/supplicant-manager/Makefile.am
10842 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10843 add HAL cflags/includes and named-manager includes directory
10845 * src/supplicant-manager/nm-supplicant-interface.h
10846 - New state STARTING to handle transition from INIT to READY where
10847 the addInterface pending call is still outstanding
10849 * src/supplicant-manager/nm-supplicant-interface.c
10850 - track pending calls differently since we may have more than one
10851 going on at any given time
10852 - request scan results from wpa_supplicant; but don't do it more often
10853 than every 4 seconds. Drivers that do background scanning
10854 (like the 'ipw' drivers) send a continuous stream of scan completion
10855 notifications, so we don't want to hammer the supplicant or dbus
10856 with requests for all scan results every time we get a completion
10859 2006-11-25 Dan Williams <dcbw@redhat.com>
10861 * src/supplicant-manager/nm-supplicant-types.h
10862 - new file; move all supplicant manager object typedefs here for
10865 * src/supplicant-manager/nm-supplicant-interface.c
10866 src/supplicant-manager/nm-supplicant-interface.h
10867 - new file; an object that interfaces an NMDevice object to the
10868 supplicant and handles signals from the supplicant. This object
10869 does all necessary DBus communication with wpa_supplicant.
10871 * src/supplicant-manager/nm-supplicant-manager.c
10872 src/supplicant-manager/nm-supplicant-manager.h
10873 - Actually do something. Track the state of the wpa_supplicant service
10874 and deal with its comings & goings. Handle life events of
10875 supplicant interfaces too.
10876 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10878 * src/supplicant-manager/nm-supplicant-connection.h
10879 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10881 * src/supplicant-manager/Makefile.am
10882 - Add new files to build, and add libnm-util to includes
10884 * src/nm-marshal.list
10885 - New marshaler type: VOID:UINT,UINT
10887 * src/nm-device-802-3-ethernet.c
10888 - (real_init): grab a supplicant interface
10889 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10890 - (supplicant_iface_state_cb): new function, stub for handling
10891 supplicant interface state changes
10893 * src/nm-device-802-11-wireless.c
10894 - (real_init): grab a supplicant interface
10895 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10896 - (supplicant_iface_state_cb): new function, stub for handling
10897 supplicant interface state changes
10899 * src/NetworkManager.c
10900 - (main): create and keep the supplicant manager around for the lifetime
10904 - Link to the supplicant manager sub-library and use the supplicant
10907 2006-11-25 Dan Williams <dcbw@redhat.com>
10909 Rework DBus manager signal handling to be more flexible. Previously,
10910 only one signal handler could be registered for a particular interface.
10911 The DBus manager now reference counts DBus bus matches and allows multiple
10912 clients to register signal handlers for the same interface and sender.
10914 * src/NetworkManager.c
10915 - (main): track NMI signal handler ID and remove it when we quit
10917 * src/NetworkManagerMain.h
10918 - Keep track of NMI signal handler ID
10920 * src/nm-dbus-manager.c
10921 src/nm-dbus-manager.h
10922 - rework signal handling; each signal handler references one signal
10923 match, but a signal match may be referenced by one or more
10924 signal handlers. Matches are refcounted and are destroyed when the
10925 last signal handler that references the match is removed. This is
10926 necessary because two signal handlers may end up requiring the same
10927 dbus bus match, so the match must live until the last signal handler
10928 is destroyed (for example, with the wpa_supplicant network interface
10931 * src/dhcp-manager/nm-dhcp-manager.c
10932 - (nm_dhcp_manager_new): track DHCP signal handler id
10933 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10935 * src/vpn-manager/nm-vpn-service.c
10936 - (nm_vpn_service_add_watch): track VPN service signal handler id
10937 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10939 2006-11-25 Dan Williams <dcbw@redhat.com>
10941 Suggested by Helmut Schaa <hschaa@suse.de>
10943 * src/vpn-daemons/nm-vpn-service.c
10944 - (supplicant_child_setup): new function
10945 - (supplicant_exec): make child process use a new process group id
10947 * src/nm-device-802-11-wireless.c
10948 - (nm_vpn_service_child_setup): new function
10949 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10952 2006-11-19 Dan Williams <dcbw@redhat.com>
10954 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
10955 * gnome/vpn-properties/nm-vpn-properties.c
10956 - clean up after renamed VPN connection
10958 2006-11-19 Dan Williams <dcbw@redhat.com>
10960 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
10961 * gnome/applet/applet-dbus-vpn.c
10962 - (nma_dbus_vpn_properties_cb): sort VPN connections
10964 * gnome/vpn-properties/nm-vpn-properties.c
10965 - (init_app): sort VPN connections
10967 2006-11-09 Dan Williams <dcbw@redhat.com>
10969 * src/NetworkManagerAPList.c
10970 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10971 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10972 from the nm_ap_list_get_ap_by_address() call was incorrect and
10973 broke hidden SSID matching. Found by Bill Moss.
10975 2006-10-25 Dan Williams <dcbw@redhat.com>
10978 - (nm_dbus_nm_set_active_device): return an empty success message on
10979 success, rather than falling through to the error case.
10981 2006-10-25 Dan Williams <dcbw@redhat.com>
10983 * src/NetworkManagerUtils.c
10984 - (nm_utils_supplicant_request_with_check): suppress messages for the
10987 2006-10-24 Dan Williams <dcbw@redhat.com>
10989 Reduce the number of times the Gnome applet wakes up, especially when
10990 it's doing absolutely nothing and is hidden. Initial patch by
10993 * gnome/applet/applet-dbus.c
10994 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10995 kill the redraw timeout. When NM starts up, start the redraw
10996 timeout. Also, if we get kicked off the bus for some reason,
10997 start the reconnection timeout if one's not already running.
10998 - (nma_dbus_init): better handling of error conditions, don't leak
10999 a half-initialized dbus connection
11000 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11001 the applet's data, just call nm_dbus_init_helper()
11002 - (nma_start_dbus_connection_watch): new function, starts a periodic
11003 timeout that calls nma_dbus_connection_watcher()
11004 - (nma_dbus_init_helper): if we get a successful connection, kill the
11005 reconnection timeout, and don't start the reconnection timeout
11006 unconditionally anymore
11008 * gnome/applet/applet-dbus.h
11009 - Expose nma_start_dbus_connection_watch()
11011 * gnome/applet/applet.c
11012 - (nma_update_state): no longer static, called from applet-dbus.c for
11013 immediate UI updates on certain events
11014 - (nma_set_running): new function; take over setting applet->running,
11015 when not running (ie, NM is not active), don't activate the redraw
11016 timeout because we're not showing the applet anyway. When we are
11017 running (ie, NM is active), and only when we're running, start the
11019 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11020 kill any reconnection timeout
11021 - (nma_get_instance): move one-off dbus initialization code here since
11022 nm_dbus_init_helper() gets called more than once, possibly by the
11023 reconnection timeout function too. And, when we start up, if we
11024 can't get a connection to the bus, start the reconnection timeout.
11025 But don't start the redraw timeout yet, only do that when we get
11026 NM's state and find out if it's running or not.
11028 * gnome/applet/applet.h
11029 - Add the reconnection GSource ID
11030 - Add prototypes for nma_set_running() and the no-longer-static
11033 2006-10-24 Dan Williams <dcbw@redhat.com>
11035 * src/vpn-daemons/nm-dbus-vpnc.c
11036 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11037 pending call tracker
11038 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11039 pending call tracker; register one-vpn-connection update pending
11040 call in pending call tracker
11041 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11042 update pending call in pending call tracker
11043 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11044 update pending call in pending call tracker; don't block waiting
11047 2006-10-19 Robert Love <rml@novell.com>
11049 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11052 2006-10-14 Dan Williams <dcbw@redhat.com>
11054 * src/dhcp-manager/nm-dhcp-manager.c
11055 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11056 the dbus connection and the device object path rather than
11057 constructing it inside both functions. Saves a bit of memory
11058 and clarifies a failure path.
11059 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11060 and allocate device path here rather than each of the two
11063 2006-10-13 Dan Williams <dcbw@redhat.com>
11065 * src/NetworkManager.c
11066 - (nm_name_owner_changed_handler): handle NMI coming and going,
11067 this somehow droppout in the refactor
11069 2006-10-13 Dan Williams <dcbw@redhat.com>
11071 * Huge DBus refactor:
11072 - Create a "DBus Manager" object which manages the connection and
11073 sends signals on NameOwnerChanged and connection/disconnection events,
11074 handles reconnection to the bus if NM gets kicked off, and abstracts
11076 - Remove DBusConnection members from places where they are no
11077 longer needed due to the refactor, like the dbus-connection
11078 property of the named manager, and from NMData
11079 - Reformats a bunch of the code to gnome style
11080 (8-space tabs, braces on same line as statement, 80-col width).
11081 Consider it open season to reformat any bits to gnome style.
11082 style that aren't already.
11084 2006-10-13 Dan Williams <dcbw@redhat.com>
11086 * src/supplicant-manager/Makefile.am
11089 * src/supplicant-manager/nm-supplicant-manager.[ch]:
11090 - Make it a minimal GObject
11092 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
11093 - Verify settings destined for wpa_supplicant
11095 * src/supplicant-manager/nm-supplicant-connection.[ch]:
11096 - Minimal GObject to track wpa_supplicant controlled device
11099 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
11101 * gnome/applet/applet.c: (nma_update_info),
11102 (nma_act_stage_to_pixbuf), (nma_update_state):
11103 Mark missing strings for translation. Fixes bug #343306.
11105 2006-10-01 Dan Williams <dcbw@redhat.com>
11107 * src/vpn-manager/nm-vpn-manager.c
11108 - (nm_vpn_manager_load_services): split and clean up
11109 for readability and correctness. Restrict VPN service
11110 files to ending in ".name", as was meant from the
11111 beginning (but not coded in). Better error reporting.
11113 2006-10-01 Dan Williams <dcbw@redhat.com>
11116 - Clean up formatting of debug/info/warning log messages
11118 2006-09-27 Robert Love <rml@novell.com>
11120 Patch by Tambet Ingo <tambet@ximian.com>:
11121 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11124 2006-09-07 Dan Williams <dcbw@redhat.com>
11127 test/libnm-util/Makefile.am
11128 test/nm-supplicant-test.c
11129 - Add test program emulating the way NM drives wpa_supplicant
11130 to help debug supplicant issues
11132 2006-08-24 Dan Williams <dcbw@redhat.com>
11136 src/supplicant-manager/Makefile.am
11137 src/supplicant-manager/nm-supplicant-manager.c
11138 src/supplicant-manager/nm-supplicant-manager.h
11139 - Add skeleton bits of the wpa_supplicant manager
11141 2006-08-24 Dan Williams <dcbw@redhat.com>
11143 Patch from Ed Catmur:
11144 * src/NetworkManagerUtils.c
11145 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11146 if netmask is 0 (Gnome #352634)
11148 2006-08-17 Robert Love <rml@novell.com>
11150 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11151 package is now DBUS-enabled and listens for the NM signals.
11153 2006-08-14 Dan Williams <dcbw@redhat.com>
11155 * Patch from Christian Persch <chpe gnome org>
11158 vpn-daemons/openvpn/po/LINGUAS
11159 vpn-daemons/openvpn/configure.in
11160 vpn-daemons/pptp/po/LINGUAS
11161 vpn-daemons/pptp/configure.in
11162 vpn-daemons/vpnc/po/LINGUAS
11163 vpn-daemons/vpnc/configure.in
11164 - Convert to LINGUAS method so translators don't have to modify
11165 configure.in, just stuff in po/. Gnome #343132, requires intltool
11168 2006-08-14 Dan Williams <dcbw@redhat.com>
11170 Patch from Alex Smith <alex.extreme2@gmail.com>
11172 src/backends/Makefile.am
11173 src/backends/NetworkManagerFrugalware.c
11174 - Add support for Frugalware
11176 2006-08-13 Dan Williams <dcbw@redhat.com>
11178 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11179 * src/nm-device-802-11-wireless.c
11180 - (supplicant_exec): spawn wpa_supplicant without debug spew
11183 2006-08-13 Dan Williams <dcbw@redhat.com>
11185 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11186 * src/nm-ap-security.c
11187 src/nm-ap-security.h
11188 - Add authentication_required bits for subclasses to specify whether
11189 or not real authentication is required for connections, i.e. whether
11190 the AP rejects us when an encryption key is wrong or not.
11192 * src/nm-ap-security-wep.c
11193 src/nm-ap-security-wpa-eap.c
11194 src/nm-ap-security-wpa-psk.c
11195 src/nm-ap-security-leap.c
11196 - Implement authentication_required appropriately for each method
11198 * src/nm-device-802-11-wireless.c
11199 - Be smarter about when to request a key; for example, using a wrong key
11200 in WEP shared key mode previously just timed out and did not request
11203 2006-08-13 Dan Williams <dcbw@redhat.com>
11205 * gnome/libnm_glib/libnm_glib.c
11206 - dbus_connection_disconnect() -> dbus_connection_close() for
11209 2006-08-07 Dan Williams <dcbw@redhat.com>
11211 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11212 * src/NetworkManagerSystem.c
11213 - Respect specified MTU. Gnome #344967
11215 2006-08-07 Dan Williams <dcbw@redhat.com>
11217 * src/vpn-manager/nm-vpn-service.c
11218 - Simplify print_vpn_config() arguments
11220 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11221 * src/vpn-manager/Makefile.am
11222 src/vpn-manager/nm-vpn-service.c
11223 - Add new API for passing VPN config options as a dict. Gnome #344967
11225 2006-08-06 Dan Williams <dcbw@redhat.com>
11227 * gnome/applet/applet-dbus-devices.c
11228 gnome/applet/applet-dbus-vpn.c
11229 gnome/applet/applet-dbus.c
11230 gnome/applet/applet-dbus.h
11234 - Make pending call tracking code generic,
11235 so we can use it in NM as well as the applet
11237 2006-08-06 Dan Williams <dcbw@redhat.com>
11239 * src/nm-activation-request.c
11240 - Refcount pending call objects
11242 2006-08-06 Dan Williams <dcbw@redhat.com>
11244 Patch from Christan Chiesa <christanc@gmail.com>
11246 - Tell sha1.c to use bigendian mode on PPC
11248 2006-08-04 Robert Love <rml@novell.com>
11250 Glib Memory Slices!
11251 * configure.in: Require glib 2.10 or later.
11252 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11253 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11254 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11255 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11256 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
11257 Memory Slices are the greatest thing since bread slices.
11258 * src/NetworkManagerAP.c: Also, fix memory leak.
11260 2006-08-01 Robert Love <rml@novell.com>
11262 * gnome/applet/main.c: Shutdown all VPN connections on logout.
11264 2006-07-31 Robert Love <rml@novell.com>
11266 * src/backends/interface_parser.c: Declarations must begin the block.
11268 2006-07-24 Dan Williams <dcbw@redhat.com>
11270 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11271 * src/backends/Makefile.am
11272 src/backends/NetworkManagerArch.c
11273 src/backends/NetworkManagerDebian.c
11274 src/backends/NetworkManagerGeneric.c
11275 src/backends/NetworkManagerGeneric.h
11276 src/backends/NetworkManagerGentoo.c
11277 src/backends/NetworkManagerPaldo.c
11278 src/backends/NetworkManagerRedHat.c
11279 src/backends/NetworkManagerSlackware.c
11280 src/backends/NetworkManagerSuSE.c
11281 - Genericize common backend functions
11283 2006-07-18 Robert Love <rml@novell.com>
11285 * configure.in: Add "--with-notify" option to allow disabling of
11288 2006-07-13 Dan Williams <dcbw@redhat.com>
11290 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11291 * gnome/applet/applet.glade
11292 gnome/applet/Makefile.am
11293 gnome/applet/nm-gconf-wso.c
11294 gnome/applet/nm-gconf-wso-leap.c
11295 gnome/applet/nm-gconf-wso-leap.h
11296 gnome/applet/wireless-security-manager.c
11297 gnome/applet/wso-leap.c
11298 gnome/applet/wso-leap.h
11299 include/NetworkManager.h
11300 libnm-util/dbus-helpers.c
11301 libnm-util/dbus-helpers.h
11303 src/NetworkManagerAP.c
11304 src/nm-ap-security.c
11305 src/nm-ap-security-leap.c
11306 src/nm-ap-security-leap.h
11307 - Add LEAP authentication support
11309 2006-07-13 Dan Williams <dcbw@redhat.com>
11311 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11313 src/backends/NetworkManagerArch.c
11314 src/backends/NetworkManagerDebian.c
11315 src/backends/NetworkManagerGentoo.c
11316 src/backends/NetworkManagerPaldo.c
11317 src/backends/NetworkManagerRedHat.c
11318 src/backends/NetworkManagerSlackware.c
11319 src/backends/NetworkManagerSuSE.c
11320 - Convert hardcoding of 'ip' path to configure-time
11323 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11325 * configure.in: added ru to ALL_LINGUAS
11327 2006-07-10 Dan Williams <dcbw@redhat.com>
11329 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11331 - (real_act_stage3_ip_config_start): don't infinite loop when
11332 dhcdbd isn't running (Gnome #346845)
11334 2006-07-09 Dan Williams <dcbw@redhat.com>
11336 * gnome/applet/applet.c
11337 - (nma_destroy): don't pass NULL to notify_notification_close
11340 2006-07-09 Dan Williams <dcbw@redhat.com>
11342 * gnome/applet/applet.c
11343 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11345 2006-07-04 Tor Krill <tor@krill.nu>
11347 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11348 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11349 (nm_system_restart_mdns_responder), (ArchReadConfig),
11350 (nm_system_device_get_system_config):
11351 - Explicitly check for DHCP configuration
11352 - Check if daemons are running before starting them
11354 2006-06-25 Dan Williams <dcbw@redhat.com>
11356 * libnm-util/dbus-dict-helpers.[ch]
11357 test/libnm-util/test-dbus-dict-helpers.c
11358 - Add string array support
11360 2006-06-24 Dan Williams <dcbw@redhat.com>
11362 * src/dhcp-manager/nm-dhcp-manager.c
11363 - (nm_dhcp_manager_process_signal): clean up spacing
11365 2006-06-21 Dan Williams <dcbw@redhat.com>
11367 * src/nm-dbus-device.c
11368 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11371 2006-06-21 Raivis Dejus <orvils@gmail.com>
11373 * configure.in: Added 'lv' to ALL_LINGUAS
11375 2006-06-19 Dan Williams <dcbw@redhat.com>
11377 * src/NetworkManagerAP.c
11378 - Clarify usage of user_created
11380 * src/nm-ap-security-wep.c
11381 src/nm-ap-security-wpa-eap.c
11382 src/nm-ap-security-wpa-psk.c
11383 src/nm-ap-security.c
11384 src/nm-ap-security.h
11385 - s/user_created/adhoc, because we really do mean adhoc
11387 Patch from Bernard Blackham <bernard@blackham.com.au>
11388 * src/nm-device-802-11-wireless.c
11389 - (supplicant_send_network_config): instead of user_created,
11390 use adhoc, and do AP_SCAN 2 for adhoc networks
11392 2006-06-18 Robert Love <rml@novell.com>
11394 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11395 we have a value to set. Gconf generates a warning if `val' is NULL.
11396 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11397 unless we actually received a valid private key file passphrase or
11398 password. Otherwise, we don't know to later ask the applet to pull
11399 the key from the keyring.
11401 2006-06-17 Dan Williams <dcbw@redhat.com>
11403 * libnm-util/dbus-dict-helpers.[ch]
11404 test/libnm-util/test-dbus-dict-helpers.c
11405 - Fixes for zero-length byte arrays
11406 - Replace return values of 0 with FALSE for clarity
11407 - Test zero-length byte arrays
11409 2006-06-17 Dan Williams <dcbw@redhat.com>
11411 * libnm-util/dbus-dict-helpers.[ch]
11412 test/libnm-util/test-dbus-dict-helpers.c
11413 - Add helpers for byte arrays
11414 - Rework bits of the testcase
11416 2006-06-16 Dan Williams <dcbw@redhat.com>
11418 * libnm-util/Makefile.am
11419 * libnm-util/dbus-dict-helpers.[ch]
11420 - Add some helpers to take the pain out of using dict types in
11423 * test/libnm-util/Makefile.am
11424 * test/libnm-util/test-dbus-dict-helpers.c
11425 - Test cases for the dict helper functions
11427 2006-06-15 Robert Love <rml@novell.com>
11429 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11430 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11431 if there is no key to pass.
11432 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11433 receiving a non-NULL key.
11435 2006-06-14 Robert Love <rml@novell.com>
11437 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11441 2006-06-14 Dan Williams <dcbw@redhat.com>
11443 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11444 * src/nm-device-802-11-wireless.c
11445 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11446 or ones where the driver is unknown
11447 - (supplicant_exec): don't wait for supplicant startup here
11448 - (supplicant_interface_init): finer grained polling for supplicant
11451 2006-06-13 Robert Love <rml@novell.com>
11453 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11454 if it is currently set to TRUE. Otherwise, we will reset the value
11455 when we connect normally.
11456 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11457 the old BSSID is valid, too. The recently added ESSID check may not be
11458 sufficient (we can remove it?). What we really want to catch is the
11459 case of going from all-zeros to the BSSID of some other network, which
11460 happens on failure.
11462 2006-06-09 Dan Williams <dcbw@redhat.com>
11464 * src/NetworkManagerSystem.[ch]
11465 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11466 it was unused and pointless
11467 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11468 fix for set_up_down_with_iface change
11470 * src/vpn-manager/nm-vpn-connection.c
11471 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11473 * src/backends/NetworkManagerPaldo.c
11474 src/backends/NetworkManagerRedHat.c
11475 src/backends/NetworkManagerSuSE.c
11476 src/backends/NetworkManagerArch.c
11477 src/backends/NetworkManagerDebian.c
11478 src/backends/NetworkManagerGentoo.c
11479 - (nm_system_enable_loopback): use set_up_down_with_iface where
11481 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11484 2006-06-09 Dan Williams <dcbw@redhat.com>
11486 Patch from Peter Jones:
11487 * src/nm-device-802-11-wireless.c
11488 - (nm_device_802_11_wireless_update_bssid): make sure that the
11489 SSID hasn't changed from what we expect before automatically
11490 updating the saved BSSID from a new AP
11492 2006-06-08 Robert Love <rml@novell.com>
11494 Add 'fallback' support. NetworkManager will attempt to brute-force
11495 connect to networks marked as fallback if there are no better wireless
11496 connections available. This is useful as a method of last resort, to
11497 work around driver problems, and for use with hidden networks.
11498 * gnome/applet/applet-dbus-devices.c,
11499 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11500 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11501 pass it on via DBUS.
11502 * gnome/applet/applet.c: No fallback by default.
11503 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11504 Update other-network-dialog to add UI checkbox toggling fallback.
11505 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11506 propery from AP object. Add "fallback" property to AP object.
11507 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11508 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11509 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11510 separate function. Add get_best_fallback_ap() for returning an AP
11511 on which to attempt fallback.
11512 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11513 * test/nm-set-fallback: New file. Sets a given network as fallback.
11515 2006-06-07 Robert Love <rml@novell.com>
11517 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11518 checked that the return type was GCONF_VALUE_STRING, not the correct
11519 GCONF_VALUE_BOOL, and thus it never worked.
11520 * src/NetworkManagerAPList.c: Before concluding that two networks are
11521 identical based on their BSSID, make sure that the BSSID in question
11522 is actually valid. Specifically, an empty or all zero BSSID does not
11524 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11525 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11526 similar invariant clean up.
11528 2006-06-02 Robert Love <rml@novell.com>
11530 * gnome/applet/applet.c: Update copyright years. Add Novell.
11532 2006-05-28 Dan Williams <dcbw@redhat.com>
11534 * gnome/applet/applet.glade
11535 gnome/vpn-properties/nm-vpn-properties.glade
11536 - Set window icons on dialogs (Gnome.org #333420)
11538 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
11540 * gnome/vpn-properties/nm-vpn-properties.glade:
11541 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11542 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11543 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11544 - Make the VPN properties pages prettier and more HIG
11545 compliant. Gnome Bug #336913.
11547 2006-05-28 Dan Williams <dcbw@redhat.com>
11549 Patch from Christian Persch <chpe@gnome.org>
11550 * gnome/vpn-properties/nm-vpn-properties.c
11551 * gnome/vpn-properties/nm-vpn-properties.glade
11552 - HIG-ification love (Gnome.org #336846)
11554 2006-05-28 Dan Williams <dcbw@redhat.com>
11556 Patch from Christian Persch <chpe@gnome.org>
11558 gnome/vpn-properties/nm-vpn-properties.c
11559 - (main): Fix option parsing. Gnome.org #336847
11561 2006-05-28 Dan Williams <dcbw@redhat.com>
11563 * gnome/vpn-properties/nm-vpn-properties.c
11564 - (find_vpn_ui_by_service_name): protect against NULL service names
11565 - (update_edit_del_sensitivity): protect against NULL service names
11568 2006-05-28 Dan Williams <dcbw@redhat.com>
11570 Patch from Chris Fuller <crf@grandecom.net>:
11571 * src/nm-device-802-11-wireless.c
11572 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11573 don't dispose of wireless-specific stuff unless it is actually
11574 initialized. Gnome.org #341263
11576 2006-05-28 Dan Williams <dcbw@redhat.com>
11578 * src/NetworkManagerPolicy.c
11579 - (nm_policy_device_change_check): don't switch devices if the "best"
11580 AP is essentially the same as the current activation request, but
11581 the current activation request isn't done activating yet. Fixes
11582 multiple requests for keyring password on startup for Gnome applet.
11585 2006-05-26 Nicolas Trangez <eikke@eikke.com>
11587 * src/NetworkManager.c: use GOptions instead of getopt
11588 * configure.in: bump glib required version to >= 2.6 for GOption
11591 2006-05-25 Robert Love <rml@novell.com>
11593 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11594 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
11595 instead of dumping ifdef's throughout the code.
11596 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11597 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11598 use nm_ioctl_info() in lieu.
11600 2006-05-25 Robert Love <rml@novell.com>
11602 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11603 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11604 not using gcrypt. Otherwise, we get a linker error.
11606 2006-05-25 Robert Love <rml@novell.com>
11608 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11609 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11610 configure flag to disable building of the GNOME-based applet.
11612 2006-05-25 Robert Love <rml@novell.com>
11614 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11615 parameter from link, because it shadows a global variable with some
11616 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
11617 should never have exported to the entire system a common four letter
11618 word. But we here at NetworkManager are team players. Fixes
11621 2006-05-25 Arangel Angov <ufo@linux.net.mk>
11623 * configure.in: Added mk.po, Macedonian translation.
11625 2006-05-24 Robert Love <rml@novell.com>
11627 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11628 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11629 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11631 2006-05-24 Robert Love <rml@novell.com>
11633 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11634 libnm-util/Makefile.am, src/Makefile.am,
11635 vpn-daemons/openvpn/auth-dialog/Makefile.am,
11636 vpn-daemons/openvpn/properties/Makefile.am,
11637 vpn-daemons/pptp/auth-dialog/Makefile.am,
11638 vpn-daemons/pptp/properties/Makefile.am,
11639 vpn-daemons/vpnc/auth-dialog/Makefile.am,
11640 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11641 user passed for --datadir, if anything, when setting the GNOME locale
11642 directory. It should be a function of the specified datadir and not
11645 2006-05-24 Robert Love <rml@novell.com>
11647 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11648 src/NetworkManager.c: Take care to call bindtextdomain with the
11649 location of msgid files.
11650 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11653 2006-05-22 Robert Love <rml@novell.com>
11655 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11656 stage4_timeout on failure unless the wireless network is Ad-Hoc.
11657 99% of the time there is a real problem with wireless, and a
11658 seemingly successful connection via Zeroconf just confuses the user.
11659 And that 1% of the time the network is probably Ad-Hoc, anyhow.
11661 2006-05-22 Robert Love <rml@novell.com>
11663 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11664 autofs on interface up if NIS is configured. On interface down, do
11667 2006-05-22 Robert Love <rml@novell.com>
11669 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11670 to avoid calling g_object_unref() on stale pointers on error in
11671 nma_icons_free(). This happens because we short-circuit loaded the
11672 icons on the first failure but then free all icons. Normally we have
11673 no issue because the icons were zero'ed out malloc, but we have stale
11674 pointer data after nma_icon_theme_changed().
11675 * gnome/applet/main.c: Return error code if nma_new() failed.
11677 2060-05-21 Dan Williams <dcbw@redhat.com>
11679 * initscript/NetworkManager.in
11680 - Ensure both dhcdbd and named are started before NM
11682 2006-05-21 Dan Williams <dcbw@redhat.com>
11685 - Bump version to 0.7 to signify we are in 0.7 development
11687 2006-05-21 Dan Williams <dcbw@redhat.com>
11689 Patch from Adam Schreiber <sadam@clemson.edu>
11690 * gnome/vpn-properties/nm-vpn-properties.c
11691 - (main): correct Gnome program name (gnome.org #342498)
11693 2006-05-21 Dan Williams <dcbw@redhat.com>
11695 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11697 * src/NetworkManagerDbus.[ch]
11698 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11699 clarify that function's argument should be an escaped dbus object
11700 path, and look for path segment end before returning a match
11701 * src/nm-dbus-nm.c:
11702 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11704 2006-05-17 Robert Love <rml@novell.com>
11706 Functionality to differentiate Ad-Hoc networks from infrastructure
11707 networks in the applet, by displaying a special icon:
11708 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11709 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11710 * gnome/applet/menu-items.c: Set a special icon in the scan list for
11711 ad-hoc networks. TODO: Add a third icon representing "encrypted and
11712 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
11713 networks, encrypted or not.
11714 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11715 accessor functions to get and set the mode of a given network,
11716 wireless_network_get_mode() and wireless_network_set_mode().
11718 2006-05-17 Robert Love <rml@novell.com>
11720 Functionality to automatically add BSSIDs to the allowed-MAC list as
11721 one roams from access point to access point on a given network:
11722 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11723 helper function to compare two ether_addr structures and return TRUE
11724 if they contain the same MAC address.
11725 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11727 * src/nm-device-802-11-wireless.c: New function to update the BSSID
11728 stored with the current AP. If the BSSID has indeed changed, we
11729 send it out to the applet, allowing the allowed-MAC list to grow
11730 automatically in response to roaming.
11732 2006-05-16 Robert Love <rml@novell.com>
11734 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11735 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11737 2006-05-13 Dan Williams <dcbw@redhat.com>
11739 * src/nm-device-802-3-ethernet.c
11740 - (real_get_generic_capabilities): Don't ignore devices that can't do
11741 carrier detect (Debian bug #366373)
11743 2006-05-11 Dan Williams <dcbw@redhat.com>
11745 Patch from Michael Biebl <biebl@teco.edu>
11746 * src/backends/NetworkManagerDebian.c
11747 - Debian backend fixups
11749 2006-05-10 Robert Love <rml@novell.com>
11751 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11753 2006-05-09 Robert Love <rml@novell.com>
11755 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11756 private certificate passphrase, if any, in the GNOME Keyring.
11757 * libnm-utils/dbus-helpers.c: Update.
11759 2006-05-05 Dan Williams <dcbw@redhat.com>
11761 * src/nm-device-802-11-wireless.c
11762 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11763 nm_device_802_11_wireless_disable_encryption() since that's all
11764 we use it for anymore; we don't ever set WEP keys ourselves.
11765 - (real_deactivate_quickly): reset SSID and encryption keys
11766 - (real_deactivate): move SSID and encryption key reset to
11767 real_deactivate_quickly(), which gets run before us anyway
11769 2006-05-05 Robert Love <rml@novell.com>
11771 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11772 root has a wacky default of its own (or, more common, a user has a
11773 bad umask and uses su/sudo to restart NetworkManager). Anything
11774 other than 0022 does not do what we want with, for example,
11775 resolv.conf. This problem is amplified by our judicious use of
11776 fopen(), which uses mode 0666 -- implying that the only way to get
11777 the permissions we want is with a umask of 0022.
11779 2006-05-05 Dan Williams <dcbw@redhat.com>
11781 * gnome/libnm_glib/libnm_glib.c
11782 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11783 to reconnect; instead wait a bit more with each reconnect attempt
11784 up to a max of one minute.
11786 2006-05-04 Ryan Lortie <desrt@desrt.ca>
11788 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11789 the WirelessNetwork structure using the proper function instead of
11790 just casting it directly to (const char *) (gnome.org #336991)
11792 2006-05-03 Robert Love <rml@novell.com>
11794 * src/backends/NetworkManagerSuSE.c: Respect the variable
11795 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11796 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11797 to dynamically update /etc/resolv.conf.
11799 2006-05-02 Peter Jones <pjones@redhat.com>
11801 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11803 2006-05-02 Robert Love <rml@novell.com>
11805 Patch by Timo Hoenig;
11806 * tests/nm-online.c: Print pretty status indicator as timeout winds
11807 down. Also fix possible race between DBUS startup and failure
11810 2006-05-01 Robert Love <rml@novell.com>
11812 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11815 2006-04-27 Jeremy Katz <katzj@redhat.com>
11817 * src/nm-device.c (discover_device_type): Actually use the hal
11818 device type instead of ioctl poking
11820 2006-04-26 Robert Love <rml@novell.com>
11822 * tests/nm-online.c: New file. Simple utility that returns exit status
11823 noting whether the connection is offline or online. If offline on
11824 start, it waits 30 seconds (or a command-line given value) for an
11825 online signal. If it times out, it again returns offline. This is
11826 useful for scripts that want to wait for network connections.
11828 2006-04-25 Robert Love <rml@novell.com>
11830 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11831 key mode (the authentication algorithm), e.g. open or shared, when we
11832 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
11833 only shared was broken. If the user specified a shared key, set it
11834 explicitly, otherwise let wpa_supplicant go with the default.
11836 2006-04-24 Dan Williams <dcbw@redhat.com>
11838 * src/nm-device-802-11-wireless.c
11839 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11841 2006-04-24 Dan Williams <dcbw@redhat.com>
11843 Commit the async scanning patch
11845 * src/nm-device-802-11-wireless.c
11846 - get rid of scan_mutex
11847 - (wireless_event_helper): act on wireless scan events
11848 - (real_start): schedule a pending scan
11849 - (link_to_specific_ap): fake the link to the AP during a scan
11850 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11851 strength during scans
11852 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11853 nm_device_set_bitrate): unused with new scanning code, disable
11854 - (nm_device_wireless_schedule_scan): removed
11855 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11856 - (request_and_convert_scan_results): new function; retrieve scan
11857 results from the driver and schedule the processing function
11858 - (scan_results_timeout): timeout triggered when card doesn't send
11859 a scan results wireless event during a certain interval
11860 - (schedule_scan_results_timeout): new function; schedule the scan
11862 - (cancel_scan_results_timeout): new function; cancel the scan
11864 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11865 to do the scanning. Otherwise, just request a scan but don't
11866 grab results here; instead schedule a timeout for scan results and
11867 let netlink notify us of scan completion events
11868 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11869 - (cancel_pending_scan): new function; cancel a pending wireless scan
11870 - (supplicant_status_cb): ignore disconnect events while scanning
11871 - (supplicant_exec): wait a bit longer for the supplicant to start up
11872 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11874 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11876 2006-04-24 Dan Williams <dcbw@redhat.com>
11878 * gnome/applet/applet-dbus.c
11879 - Disable the pending call debug stuff, seems under control now
11881 2006-04-20 Robert Love <rml@novell.com>
11883 Fix bug where hidden ESSID's would not show up in the applet, even
11884 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
11885 because nm_policy_device_list_update_from_allowed_list() would merge
11886 the data, putting a name to the hidden networks, but never notify NMI
11887 of the changes. Simple fix is to invoke the function
11888 nm_dbus_signal_wireless_network_change() if we make a mapping.
11889 * src/NetworkManagerAPList.c: Call the function
11890 nm_dbus_signal_wireless_network_change() if we made a successful
11891 BSSID to ESSID mapping, notifying the applet of the "new" network.
11892 * src/NetworkManagerAPList.h: Update the prototypes for both
11893 nm_ap_list_copy_essids_by_address() and
11894 nm_ap_list_copy_one_essid_by_address().
11896 2006-04-20 Robert Love <rml@novell.com>
11898 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11899 not set. Just return zero.
11901 2006-04-20 Robert Love <rml@novell.com>
11903 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11904 only one copy of nm-vpn-properties is running at a time via the 'ol
11905 X selection trick. This prevents the user from opening two "VPN
11906 Connections" windows from within the applet, which leads to mass
11908 * clipboard.c: New file, implementing simple X selection logic.
11909 * clipboard.h: New file.
11910 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11912 2006-04-18 Nicolas Trangez <eikke@eikke.com>
11914 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11916 initscript/Gentoo/Makefile.am
11917 initscript/Gentoo/NetworkManagerDispatcher.in
11919 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11922 2006-04-16 Dan Williams <dcbw@redhat.com>
11924 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11926 initscript/Slackware/Makefile.am
11927 initscript/Slackware/rc.networkmanager-dispatcher.in
11928 initscript/Slackware/rc.networkmanager.in
11929 - Update slackware initscripts
11931 2006-04-10 Robert Love <rml@novell.com>
11933 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11934 the "delete_event" signal on the druid's parent window and handle it
11935 our way, lest using the WM to close the druid results in a series of
11936 bloody and ultimately lethal errors.
11938 2006-04-10 Robert Love <rml@novell.com>
11940 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11941 'Back' too or else the 'Forward' option is initially disabled despite
11944 2006-04-06 Robert Love <rml@novell.com>
11946 Fix bad but simple bug where an active modem connection did not update
11947 NM's connection state, breaking any app that did online/offline:
11948 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11949 represented whether a dial up connection is active, or not.
11950 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11951 to modem activation and deactivation.
11952 * src/NetworkManagerDbus.c: When asked our state, do not return
11953 disconnected if the modem is active.
11955 2006-04-04 Robert Love <rml@novell.com>
11957 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11958 applet. It just confuses the crap out of people and does not make a
11959 lot of sense, as the daemon still runs.
11961 2006-04-02 Tor Krill <tor@krill.nu>
11963 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11964 in start of service.
11965 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11966 get Archlinux backend up to date.
11968 2006-03-29 Robert Love <rml@novell.com>
11970 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11971 to add support for per-route MSS and improve support for per-interface
11973 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11974 optionally take an MSS parameter and set it for the given route.
11975 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
11976 NMIP4Config's stored MSS, if any.
11977 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11978 the interface's MTU and the route's MSS, respectively. Add functions
11979 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11980 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11982 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11983 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11984 nm_ip4_config_set_mss.
11985 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11987 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11988 Change the retval of nm_system_get_mtu to guint32.
11989 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11990 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
11991 servers can specify MTU's, we should set it here if the MTU was not
11994 2006-03-27 Jürg Billeter <j@bitron.ch>
11997 * initscript/Makefile.am:
11998 * initscript/paldo/Makefile.am:
11999 * initscript/paldo/NetworkManager.in:
12000 * initscript/paldo/NetworkManagerDispatcher.in:
12001 * src/backends/Makefile.am:
12002 * src/backends/NetworkManagerPaldo.c:
12003 - Add paldo support
12005 2006-03-27 Dan Williams <dcbw@redhat.com>
12007 Patch from Christian Persch <chpe@gnome.org>
12008 * gnome/applet/applet.glade
12009 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12011 2006-03-27 Dan Williams <dcbw@redhat.com>
12013 Patch from Diffe <diffie@blazebox.homeip.net>
12014 * src/backends/NetworkManagerSlackware.c
12015 - Don't restart howl, since it's been replaced by Avahi
12016 in most distributions
12018 2006-03-27 Dan Williams <dcbw@redhat.com>
12020 Patch from Tor Krill <bugzilla@krill.nu>
12022 initscript/Makefile.am
12023 src/backends/Makefile.am
12024 src/backends/NetworkManagerArch.c
12025 initscript/Arch/Makefile.am
12026 initscript/Arch/networkmanager-dispatcher.in
12027 initscript/Arch/networkmanager.in
12028 - Add Arch Linux support, fixes gnome.org #335147
12030 2006-03-27 Dan Williams <dcbw@redhat.com>
12032 Patch from Diffe <diffie@blazebox.homeip.net>
12033 * initscript/Slackware/rc.networkmanager
12034 - update, fixed gnome.org #333368
12036 2006-03-27 Robert Love <rml@novell.com>
12038 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12039 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12041 2006-03-27 Robert Love <rml@novell.com>
12043 Patch by Jürg Billeter <j@bitron.ch>:
12044 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12046 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12047 as we prefer glibc over kernel headers, if possible.
12049 2006-03-27 Robert Love <rml@novell.com>
12051 Patch by Jon Escombe <list@dresco.co.uk>:
12052 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12053 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12054 fail, don't bail out. We don't expect all of the various WPA-EAP
12055 values to be present.
12056 * src/nm-ap-security.c: We need to match all capabilities for each
12057 encryption type, not any one of them.
12059 2006-03-27 Robert Love <rml@novell.com>
12061 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12062 restart, not reload, ypbind. Unfortunately there is no superior
12065 2006-03-24 Christopher Aillon <caillon@redhat.com>
12067 * gnome/applet/applet-notifications.c:
12068 When displaying a notification, make sure to get rid of the
12069 previous notification so as to not have competing bubbles,
12070 and stop leaking the old one.
12072 * gnome/applet/applet.c:
12073 * gnome/applet/applet.h:
12074 Add a new 'notification' member to the applet, and zero it out
12075 and free it appropriately.
12077 2006-03-23 Robert Love <rml@novell.com>
12079 Patch by j <j@bootlab.org>:
12080 * gnome/applet/applet.glade: Don't set the invisible_char property,
12081 which simply overrides the GTK default. By and by, this behavior
12082 ought to be fixed in Glade.
12084 2006-03-22 Robert Love <rml@novell.com>
12086 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12088 2006-03-22 Robert Love <rml@novell.com>
12090 Bug fix by Timo Hoenig <thoenig@suse.de>:
12091 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12092 disconnect. Otherwise, we have the daemon surviving DBUS restarts
12093 and the applet going AWOL.
12095 2006-03-22 Robert Love <rml@novell.com>
12097 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12098 preprocessor define and use it instead of open-coded the DHCP
12099 timeout, which is currently 25 seconds, everywhere.
12101 2006-03-22 Robert Love <rml@novell.com>
12103 Implement "Dynamic WEP", which is basically WPA authentication and WEP
12104 key exchange via WPA, ostensibly providing good security without
12105 requiring hardware that supports full WPA. Also, add UI elements to
12106 allow the user to select the pairwise & group cipher for WPA Enterprise
12108 * gnome/applet/applet.glade: Update glade file.
12109 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12110 key type, too, to and from gconf.
12111 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12112 wso_wpa_create_key_type_model(), noting whether we are handling PSK
12113 or EAP configuration, and in the latter case add in "Dynamic WEP" if
12114 the capabilities match.
12115 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12117 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12118 serialize from UI to DBUS.
12119 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12121 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12122 nmu_security_serialize_wpa_eap_with_cipher(), and
12123 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12124 serialize/deserialize the key type via DBUS as the new third DBUS
12126 * libnm-util/dbus-helpers.h: Update prototypes.
12127 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12128 too. If the key type is WEP104, do Dynamic WEP, which means
12129 "IEEE8021X" for "key_mgmt". Also add support for user-specified
12130 pairwise and group ciphers (fixes a FIXME).
12132 2006-03-21 Robert Love <rml@novell.com>
12134 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12135 nm_system_get_mtu(), which returns a user-provided or system-mandated
12136 MTU value for a given device, if any, or zero if no such value
12137 exists. Add nm_system_set_mtu() to set the MTU for a given device
12138 if we have a provided value.
12139 * src/nm-device.c: Set the MTU of devices.
12140 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12141 * src/backends/NetworkManagerDebian.c,
12142 src/backends/NetworkManagerGentoo.c,
12143 src/backends/NetworkManagerRedHat.c,
12144 src/backends/NetworkManagerSlackware.c: Implement stub functions.
12146 2006-03-21 Robert Love <rml@novell.com>
12148 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12149 configuration file.
12151 2006-03-17 Robert Love <rml@novell.com>
12153 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12154 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12155 it, in case it is not running in the first place. We just want its
12156 configuration reloaded. Also, do not "rcypbind stop" on device down.
12158 2006-03-15 Robert Love <rml@novell.com>
12160 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12161 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12162 label "WEP 40/128-bit" is inconsistent because the physical key size
12163 is 40 or 104-bits, to which a 24-bit initialisation vector is
12164 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
12165 to read "40/104" or "64/128". I do not care much which, but most
12166 users think of "silver" and "gold" encryption as 64 and 128-bits, so
12167 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
12168 WEP passphrase support only handles 128-bit keys, and any future
12169 64-bit passphrase support will require a new option (no way to auto-
12170 detect the target key size), explicitly label our passphrase support
12171 "WEP 128-bit Passphrase".
12173 2006-03-15 Robert Love <rml@novell.com>
12175 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12176 the system init scripts (or some other mechanism) starting it (or a
12177 compatible DBUS service) before NetworkManager runs. This means that
12178 distributions might need to update their init scripts. This fixes
12179 possible races and is quite a bit cleaner.
12180 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12181 starting the NetworkManager daemon.
12184 2006-03-14 Robert Love <rml@novell.com>
12186 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12187 before adding anything.
12189 2006-03-13 Robert Love <rml@novell.com>
12191 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12192 widgets, too, if they exist, in case the user hit the back button.
12193 Fixes a bug where the details page contains the widgets of multiple
12194 VPN modules (Novell bug #157048).
12196 2006-03-13 Robert Love <rml@novell.com>
12198 Patch by Timo Hoenig <thoenig@suse.de>:
12199 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12200 daemon survive DBUS restarts, too.
12202 2006-03-10 Robert Love <rml@novell.com>
12204 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12206 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12207 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12208 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12209 in response to "toggled" signal on new toggle.
12211 2006-03-10 Robert Love <rml@novell.com>
12213 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12214 serialization if strings are NULL, lest DBUS get angry.
12216 2006-03-10 Robert Love <rml@novell.com>
12218 * src/nm-ap-security-wpa-eap.c: Don't log the password.
12220 2006-03-09 Robert Love <rml@novell.com>
12222 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12225 2006-03-09 Dan Williams <dcbw@redhat.com>
12227 Track pending call requests in the applet, and report how many are
12228 outstanding, and how long each completed one takes.
12230 * gnome/applet/applet-dbus-devices.c
12231 gnome/applet/applet-dbus-vpn.c
12232 - Track pending calls
12234 * gnome/applet/applet-dbus.[ch]
12235 - Remove some unused enums
12236 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12237 new functions to track dbus pending calls and spit out some
12238 statistics about them
12240 2006-03-09 Robert Love <rml@novell.com>
12242 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12243 nm_ap_set_timestamp() take the second and micro-second parameters as
12244 direct arguments, which avoids both a dynamic memory allocation and a
12245 structure-to-structure copy! Add a new interface, the aptly named
12246 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12247 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12248 the return from nm_ap_get_timestamp(). New users should use the new
12249 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12250 the extreme benefit to performance.
12251 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12252 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12254 2006-03-08 Robert Love <rml@novell.com>
12256 * gnome/applet/applet.glade: Hide the password entry text with
12259 2006-03-08 Robert Love <rml@novell.com>
12261 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12262 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12263 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12264 a second argument, NMData.
12265 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12266 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12267 config files as trusted.
12269 2006-03-06 Robert Love <rml@novell.com>
12271 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12272 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12273 to exit the applet. As a sweet side-effect, idea courtesy of Chris
12274 Rivera, detect if the applet was auto-started. If so, ask the user
12275 if he or she would like to stop automatically running the applet on
12276 login. If so, disable autostart.
12278 2006-03-06 Robert Love <rml@novell.com>
12280 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
12281 directory in CFLAGS so developers can actually use NetworkManager.h.
12283 2006-03-06 Robert Love <rml@novell.com>
12285 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12286 open-coded integer constants. Add state_to_string() to map a given
12287 state to a textual description, and provide that when notifying of
12289 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12290 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
12291 this header directly, but it is currently not installed on most
12294 2006-03-05 Dan Williams <dcbw@redhat.com>
12296 Process netlink messages in device subclasses rather than in
12297 NetworkManager.c. Also add support for recognizing Wireless Events.
12300 - Find GLIB_GENMARSHAL
12303 - Since we're marshalling custom types for wireless event signals,
12304 we get to create our own marshallers using GLIB_GENMARSHAL
12306 * src/NetworkManager.c
12307 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12308 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12309 cut down somewhat. We no longer process signals here.
12310 - (nm_data_new): create the netlink monitor here, and remove a
12311 useless call to nm_policy_schedule_device_change_check()
12312 - (nm_data_free): get rid of the netlink monitor here
12313 - (nm_device_link_activated, nm_device_link_deactivated): removed
12314 - (main): don't create the netlink monitor here, let nm_data_new
12315 do that. Call nm_policy_schedule_device_change_check() right
12316 before we jump to the mainloop to figure out which device
12319 * src/NetworkManagerSystem.[ch]
12320 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12321 convert back and forth from interface names to interface
12324 * src/nm-device-802-11-wireless.c
12325 - (real_init): connect to wireless-event signals from the netlink
12327 - (nm_device_802_11_wireless_event): new function, schedule handler
12328 for wireless event signals from the netlink monitor object. We
12329 want the handler to run in the device's context
12330 - (wireless_event_helper): handle wireless-event signals from netlink
12331 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12334 * src/nm-device-802-11-wireless.h
12335 - remove unused prototype for nm_device_802_11_wireless_new
12337 * src/nm-device-802-3-ethernet.c
12338 - (real_init): new function; set up signal handlers for link events
12339 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12340 handler for netlink link activated events on device's main loop
12341 - (link_activated_helper): when we get a link activated event, set
12342 the device's link to be active
12343 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12344 handler for netlink link deactivated events on device's main loop
12345 - (link_deactivated_helper): when we get a link deactivated event, set
12346 the device's link to be inactive
12347 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12350 * src/nm-device-802-3-ethernet.h
12351 - remove unused prototype for nm_device_802_3_ethernet_new
12353 * src/nm-device.[ch]
12354 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12355 but locks the device list
12356 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12358 * src/nm-netlink-monitor.[ch]
12359 - (nm_netlink_monitor_class_install_signals): New signal
12361 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12363 - (nm_netlink_monitor_event_handler): expand for wireless events too
12365 * src/nm-marshal-main.c
12366 - Include generated nm-marshal.c and nm-marshal.h
12368 * src/nm-marshal.list
12369 - List of custom marshal functions
12371 2006-03-05 Dan Williams <dcbw@redhat.com>
12373 * gnome/applet/applet-notifications.h
12374 - Protect prototype of nma_send_event_notification() because it
12375 includes libnotify-specific types
12376 - Include libnotify/libnotify.h too, since we technically need it
12378 * gnome/applet/applet.c
12379 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12380 - (nma_show_vpn_login_banner_dialog): add some error checking
12382 2006-03-04 Dan Williams <dcbw@redhat.com>
12384 Clean up activation cancellation. Should be a lot faster now. Observed
12385 an issue with wireless devices between stage 2 and 3 of activation, where
12386 activation would be cancelled, but the device thread wouldn't notice until
12387 the supplicant association timed out. Reorganize activation such that
12388 a cancellation handler gets immediately scheduled in the device's thread,
12389 and devices have a chance to perform any custom cleanup too.
12391 * src/nm-device.[ch]
12392 - (activation_cancel_handler): new device-type-specific function
12393 for cleaning up device-type-specific stuff on cancellation
12394 - (cancel_activation): removed
12395 - (nm_device_activation_cancel): subsume functionality of
12396 real_cancel_activation, but instead of doing anything, punt
12397 operation to a handler that's run in device-thread context
12398 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12400 - (activation_handle_cancel_helper): cancellation handler run in
12401 device-thread context, calls device-type-specific cancelation,
12402 then tears down the activation request
12403 - (real_activation_cancel_handler): generic cancellation handler,
12404 deals with cancelling any in-process DHCP request
12405 - (nm_device_activate_stage1_device_prepare,
12406 nm_device_activate_stage2_device_config,
12407 nm_device_activate_stage3_ip_config_start,
12408 nm_device_activate_stage4_ip_config_get,
12409 nm_device_activate_stage4_ip_config_timeout,
12410 nm_device_activate_stage5_ip_commit): don't call
12411 nm_device_schedule_activation_handle_cancel() any more, since
12412 cancellation will have been already scheduled for us by
12413 nm_device_activation_cancel(). Just exit the function and
12414 assume that the cancel handler will be called next.
12416 * src/nm-device-802-3-ethernet.c
12417 - (real_act_stage2_config): remove; didn't do anything anyway
12419 * src/nm-device-802-11-wireless.c
12420 - (supplicant_status_cb): ensure we don't do anything if the activation
12422 - (real_activation_cancel_handler): implement; cancel user key request
12423 on activation cancellation
12425 2006-03-04 Dan Williams <dcbw@redhat.com>
12427 * src/nm-device-802-11-wireless.c
12428 - (supplicant_send_network_config): assume that drivers that don't
12429 support WPA pretty much suck, and can't handle NM scanning
12430 along with wpa_supplicant.
12432 2006-03-03 Robert Love <rml@novell.com>
12434 * configure.in: Bump version to 0.6.0.
12437 2006-03-03 Robert Love <rml@novell.com>
12439 * configure.in: Require DBUS 0.60 or later.
12441 2006-03-03 Dan Williams <dcbw@redhat.com>
12443 Fix a crash if an "Other wireless network" was chosen, failed, then
12444 chosen again from the applet's menu. If the other network wasn't
12445 noticed in a scan, it wouldn't have any capabilities, but would still
12446 be listed because the user forced the network. To fix this, we set
12447 sensible capabilities on the forced network, which will get overwritten
12448 with the correct ones if the network shows up later in a scan.
12450 * src/nm-ap-security.h
12451 - Add a new "get_default_capabilities_func" member to the
12454 * src/nm-ap-security.c
12455 - (nm_ap_security_get_default_capabilities): new function
12457 * src/nm-ap-security.c
12458 src/nm-ap-security-wep.c
12459 src/nm-ap-security-wpa-psk.c
12460 src/nm-ap-security-wpa-eap.c
12461 - Implement get_default_capabilities_func() for all, which
12462 uses the information contained in a specific NMAPSecurity
12463 object to determine default AP capabilites necessary
12464 to support that object
12466 As a secondary measure, we now prune artificial access points that fail
12467 to be activated right away. The thing failed, and we have no scan data for
12468 it, so it's pretty much useless since security information is only saved
12469 in the applets when a connection is successful.
12471 * src/NetworkManagerAPList.c
12472 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12473 not artificial. If we see it, it's no longer a figment of the
12474 user's imagination :)
12476 * src/NetworkManagerPolicy.c
12477 - (nm_policy_activation_failed): send along the failed AP if we
12480 * src/nm-device-802-11-wireless.c
12481 - (real_activation_failure_handler): remove artificial APs from
12482 the device list, because activation failed
12484 2006-03-02 Robert Love <rml@novell.com>
12486 Add support for retrieving both the per-device speed and the
12487 per-network maximum supported rate. Then change the getProperties
12488 DBUS API for both networks and devices to report this informaiton.
12489 Finally, display the information via both nm-applet and nm-tool:
12490 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12492 * gnome/applet/applet.c: Display the device's speed in the 'Connection
12493 Information' dialog.
12494 * gnome/applet/applet.glade: Update the UI to show per-device speed.
12495 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12496 network_device_get_speed() and network_device_set_speed() for
12497 retrieving and setting, respectively, a network device's current
12499 * src/nm-dbus-device.c: Send the device's speed on getProperties.
12500 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12501 in the function nm_device_802_11_wireless_get_bitrate() -- it does
12502 not matter (yet) what the units are, because we only feed it its own
12503 output. Implement SIOCGIRATE and set the per-network maximum
12504 supported rate during scanning.
12505 * src/nm-device-802-11-wireless.h: Export the function
12506 nm_device_802_11_wireless_get_bitrate().
12507 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12508 function nm_device_802_3_ethernet_get_speed() for returning an
12509 802.3's current speed, in Mb/s.
12510 * test/nm-tool.c: Display the per-device current speed, if available,
12511 and the per-network maximum rate.
12513 2006-03-02 Dan Williams <dcbw@redhat.com>
12515 * src/nm-device-802-11-wireless.c
12516 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12517 card when it gets initialized. Since devices don't get added to
12518 the scan list until they are initialized, this function wasn't
12519 setting the intitial scan interval correctly, and was leaving
12520 it at 0. This caused cards to get many scan requests in a short
12521 amount of time when they were initialized
12523 2006-03-02 Robert Love <rml@novell.com>
12525 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12526 active device. But do not do what we used to do and override the
12527 state, which caused the dreaded icon race of '05.
12529 2006-03-02 Robert Love <rml@novell.com>
12531 Commit Dan's update of my previous commit:
12532 * src/nm-device-802-11-wireless.c: Always set the mode, because the
12533 set_mode() function itself does the check. But do only set the
12534 frequency if in Ad-Hoc mode.
12536 2006-03-02 Robert Love <rml@novell.com>
12538 Patch by Brian Magnuson <magnuson@rcn.com>:
12539 * src/nm-device-802-11-wireless.c: During scanning, only set the
12540 wireless mode to infrastructure if it is not currently in
12541 infrastructure mode. For some driver, setting the mode is a costly
12542 operation, apparently.
12544 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
12546 * Makefile.am: use the correct dir for autostart mechanism.
12548 2006-02-28 Dan Williams <dcbw@redhat.com>
12550 Patch from Brian Magnuson <magnuson@rcn.com>
12551 * gnome/applet/applet.c
12552 - (nma_show_vpn_failure_dialog): fix errors left over from
12553 libnotify support changes
12555 2006-02-28 Dan Williams <dcbw@redhat.com>
12557 * src/vpn-manager/nm-vpn-act-request.[ch]
12558 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12560 - (nm_vpn_act_request_is_failed): new function; return whether or
12561 not the vpn activation request has failed
12563 * src/vpn-manager/nm-vpn-manager.c
12564 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12565 daemon to kill the connection when the activation request fails.
12566 Fixes issue where NM would get confused if the VPN activation
12567 request timed out, and would not allow further VPN connections
12570 2006-02-28 Dan Williams <dcbw@redhat.com>
12572 * gnome/applet/applet.c
12573 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12574 overlapping connection requests, disable all VPN menu items
12575 but the active VPN connection
12577 2006-02-28 Dan Williams <dcbw@redhat.com>
12579 * src/vpn-manager/nm-vpn-connection.c
12580 - (nm_vpn_connection_set_parent_device): fix C&P error which
12581 called g_object_unref() on the connection's parent device
12582 when it should have been ref-ed instead. Fixes crash with
12583 repeated vpn connect requests
12585 2006-02-28 Christopher Aillon <caillon@redhat.com>
12587 * gnome/applet/applet.glade:
12588 Mark a few strings non-translatable, since they shouldn't be.
12590 2006-02-28 Dan Williams <dcbw@redhat.com>
12592 * src/vpn-manager/nm-vpn-service.c
12593 - (nm_vpn_service_start_connection): if the vpn service daemon is
12594 already running, don't blindly ask it to connect, but wait until
12595 it's in the STOPPED state first. Fixes an assertion when user
12596 starts a second vpn connection without stopping the first.
12597 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12598 dbus service exists before continuing with the connection
12599 process, and reduce latency while waiting for it to become
12601 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12602 waiting for the vpn service daemon to become available
12603 - General log message cleanups; show progress via "Stage x of 4"
12604 rather than not telling anyone how many stages there are
12606 2006-02-28 Robert Love <rml@novell.com>
12608 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12609 * src/backends/NetworkManagerSuSE.c: Implement the interface
12610 nm_system_should_modify_resolv_conf() for SUSE.
12611 * src/backends/NetworkManagerDebian.c,
12612 src/backends/NetworkManagerGentoo.c,
12613 src/backends/NetworkManagerRedHat.c,
12614 src/backends/NetworkManagerSlackware.c: Add stub.
12615 * src/named-manager/Makefile.am: Grab includes from src.
12616 * src/named-manager/nm-named-manager.c: Allow backends to disable the
12617 automatic updating of resolv.conf. This is useful for testing,
12618 broken static configurations, and administrator lock-down.
12620 2006-02-28 Dan Williams <dcbw@redhat.com>
12622 * src/nm-device-802-11-wireless.c
12623 - Move all the wpa_supplicant-related management stuff into its
12624 own struct, just for oranization's sake
12625 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12626 to a GIOChannel/GSource
12627 - (supplicant_log_stdout): new function; grab output from the
12628 wpa_supplicant stdout pipe and write it to our logs.
12630 2006-02-27 Christopher Aillon <caillon@redhat.com>
12632 * src/nm-device-802-11-wireless.c:
12633 Err, fix thinko in my previous commit.
12635 2006-02-28 Robert Love <rml@novell.com>
12637 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12639 2006-02-28 Robert Love <rml@novell.com>
12641 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12642 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12643 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12644 deserializers are responsible for freeing the returned DBUS strings.
12646 2006-02-27 Christopher Aillon <caillon@redhat.com>
12648 * src/nm-device-802-11-wireless.c:
12649 The scan list is being pruned prematurely. We should prune after
12650 the device has gone MIA for three scans, not one. Split out the
12651 interval to realtime seconds function to better serve this.
12653 2006-02-27 Robert Love <rml@novell.com>
12655 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12656 Open the pid file O_TRUNC, so if it already exists we truncate it to
12657 zero length. Also, be more verbose about warnings generated during
12658 writing out the pid file. Finally, always write out the pid file if
12659 in daemon mode. Use "--pid-file" to override the default.
12661 2006-02-27 Robert Love <rml@novell.com>
12663 Patch by R. Vinay <rvinay@novell.com>:
12664 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12665 'last_attempt_success' when removing a VPN connection, too. (Fixes
12666 Novell bug #153628).
12668 2006-02-27 Robert Love <rml@novell.com>
12670 * gnome/applet/applet.glade: Set "activates_default" on passphrase
12671 entry so user can hit <ENTER> after entering passphrase (Novell bug
12674 2006-02-27 Dan Williams <dcbw@redhat.com>
12677 - Mass search/replace of:
12679 NMWirelessApplet -> NMApplet
12680 NM_*_WIRELESS_APPLET -> NM_*_APPLET
12681 (it ain't just for wireless anymore, ma!)
12682 - Fix duplicate function name printing when using nm_warning
12683 - wireless-applet.glade -> applet.glade
12685 2006-02-27 Dan Williams <dcbw@redhat.com>
12687 * dispatcher-daemon/NetworkManagerDispatcher.c
12688 - Accept --pid-file with a path to a pidfile, write it out on
12689 startup, and delete it on shutdown
12691 * src/NetworkManager.c
12692 - Accept --pid-file with a path to a pidfile, write it out on
12693 startup, and delete it on shutdown
12694 - Move nm_print_usage() lower
12696 * initscripts/RedHat/NetworkManager.in
12697 - Use new --pid-file option
12698 - Fix service stopping to wait a bit for NM to quit
12700 * initscripts/RedHat/NetworkManagerDispatcher.in
12701 - Use new --pid-file option
12703 2006-02-26 Dan Williams <dcbw@redhat.com>
12706 - make and install nm-crash-logger
12708 * src/nm-logging.[ch]
12709 - New files; consolidate logging and crash handling
12711 * src/nm-crash-logger.c
12713 - Standalong crashlogger for NM, grab a backtrace
12716 * src/NetworkManager.[ch]
12717 - Remove signal handling and put it into nm-logging.c
12719 2006-02-26 Dan Williams <dcbw@redhat.com>
12722 gnome/applet/Makefile.am
12723 - Conditionalize all the notify stuff
12725 Merge most of Chris Aillon's notification patch:
12727 * gnome/applet/applet-notifications.[ch]
12728 - New files; show a notification
12730 * gnome/applet/applet-dbus-devices.[ch]
12731 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12732 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12733 new functions, do the right thing when a device change occurs
12735 * gnome/applet/applet-dbus.c
12736 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12737 signals, so we can handle them specially
12739 * gnome/applet/applet.[ch]
12740 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12741 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12742 - (nmwa_notify_state): remove
12743 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12744 notification work is now done when the appropriate dbus signals
12746 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12747 defer execution of the notification/dialog stuff. That was an
12748 artifact of the previous multi-threaded nature of the applet
12749 and is now pointless.
12750 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12751 no longer needed. Function folded into applet-notifications.c
12753 * src/NetworkManagerPolicy.c
12754 - (nm_policy_activation_finish): send the AP along with the device
12755 status change signal, if the connection is wireless. Should
12756 fix the race where applet would show a connection to "unknown"
12758 2006-02-25 Robert Love <rml@novell.com>
12760 Add WPA Enterprise support:
12761 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12762 nm-gconf-wso-wpa-eap.h.
12763 * gnome/applet/nm-gconf-wso-wpa-eap.c,
12764 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
12765 serialization and deserialization.
12766 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12767 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12768 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12769 * gnome/applet/wireless-applet.glade: Add UI for configurating security
12770 settings related to WPA Enterprise.
12771 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12772 instantiate WPA Enterprise wireless-security-option.
12773 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12774 Implement WPA Enterprise wireless-security-option object.
12775 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12777 * libnm-util/cipher-wpa-psk-hex.c,
12778 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12779 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12780 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12781 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12782 including the cipher to DBUS method, and
12783 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12785 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12786 nm-ap-security-wpa-eap.h
12787 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12788 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12789 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12790 files. Implement NMAPSecurityWPA_EAP object.
12791 * src/nm-ap-security-wpa-psk.c: Cleanup.
12792 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12793 an NMAPSecurityWPA_EAP object via the method
12794 nm_ap_security_wpa_eap_new_deserialize().
12795 * src/nm-dbus-nm.c: Cleanup.
12796 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12797 WPA Enterprise support.
12799 2006-02-24 Robert Love <rml@novell.com>
12801 Patch from Timo Hoenig <thoenig@suse.de>:
12802 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12804 2006-02-24 Robert Love <rml@novell.com>
12806 Patch from Dan Winship <danw@novell.com>:
12807 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
12808 area to transparent.
12810 2006-02-21 Dan Williams <dcbw@redhat.com>
12812 * gnome/applet/applet.[ch]
12813 gnome/applet/applet-dbus.c
12814 - Implement notification support for VPN messages too
12816 2006-02-21 Dan Williams <dcbw@redhat.com>
12818 * gnome/applet/applet-dbus-info.c
12819 - Clean up warning messages to not double-print the function
12821 2006-02-21 Dan Williams <dcbw@redhat.com>
12823 * gnome/applet/applet-compat.c
12824 - (convert_one_entry): accept entries without a key_type and
12825 convert them to unencrypted networks
12827 2006-02-21 Dan Williams <dcbw@redhat.com>
12829 * gnome/libnm_glib/libnm_glib.c
12830 - Use __func__ everywhere we can
12832 - Use dbus pending calls rather than blocking
12833 - Reduce busywaits for our thread to start and stop
12834 (gnome.org #330562)
12835 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12836 stomp on others using the default shared dbus connection.
12837 Fixes #rh177546# and gnome.org #326572
12839 2006-02-21 Dan Williams <dcbw@redhat.com>
12841 Patch from Rodney Dawes <dobey@novell.com>
12843 gnome/applet/Makefile.am
12844 gnome/applet/applet.c
12845 - Add libnotify support if '--enable-notify=yes' is passed
12848 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
12850 * configure.in (ALL_LINGUAS): ko added. (Korean)
12852 2006-02-15 Robert Love <rml@novell.com>
12854 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12855 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12856 and WPA_SUPPLICANT_CONTROL_SOCKET.
12858 2006-02-15 Robert Love <rml@novell.com>
12860 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12861 information about what connection stage we are at, provide the total
12862 number of stages, e.g. "Stage 2 of 5", so users know how far along
12863 they are if they experience problems.
12865 2006-02-15 Robert Love <rml@novell.com>
12867 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12868 define to $sysconfdir.
12869 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12870 editing dialog, vpn_edit_widget, which fixes a bug where editing one
12871 type of VPN and then editing another results in a mangled dialog
12872 box containing the widgets from both VPNs (fixes Novell #150854).
12873 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12875 2006-02-14 Robert Love <rml@novell.com>
12877 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12878 syslog's file descriptor.
12880 2006-02-14 Robert Love <rml@novell.com>
12882 Fix bug around since the change to "deal with APs changing settings on
12883 us," checked in on the fifth of February in the year of the dog,
12884 wherein connecting to non-broadcast encrypted networks always fails
12885 because nm_ap_get_encrypted() always returns FALSE, even when the user
12886 provided a key, because the newly-created fake AP does not have any
12887 capabilities set, which is a sypmtom of security settings not matching
12888 capabilities (Novell bug #150784):
12889 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12890 nm_ap_add_capabilities_from_security(), which sets the given AP's
12891 capabilities off the given security settings. Also improve our
12892 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12893 NM_AUTH_CIPHER_AUTO.
12894 * src/nm-device-802-11-wireless.c: Call the function
12895 nm_ap_add_capabilities_from_security() to ensure that capabilities
12896 match newly updated security settings.
12898 2006-02-14 Robert Love <rml@novell.com>
12900 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12901 error as a string, not an integer, if possible; do not print the
12902 function name twice; always give the interface, if possible; misc.
12905 2006-02-12 Dan Williams <dcbw@redhat.com>
12907 Patch from Tom Parker <palfrey@tevp.net>
12908 * src/NetworkManagerSystem.h
12909 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12912 * src/backends/NetworkManagerDebian.c
12913 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12916 2006-02-12 Dan Williams <dcbw@redhat.com>
12918 * vpn-daemons/openvpn/intltool-extract.in
12919 vpn-daemons/openvpn/intltool-merge.in
12920 vpn-daemons/openvpn/intltool-update.in
12921 vpn-daemons/pptp/intltool-extract.in
12922 vpn-daemons/pptp/intltool-merge.in
12923 vpn-daemons/pptp/intltool-update.in
12924 - Remove from CVS, they should get created by intltoolize,
12927 2006-02-12 Dan Williams <dcbw@redhat.com>
12929 * vpn-daemons/pptp/src/pppd/patchlevel.h
12930 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12931 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12932 Makefile-defined VERSION
12934 2006-02-09 Dan Williams <dcbw@redhat.com>
12936 Patch from: Vinay A R <rvinay@novell.com>
12937 * src/vpn-manager/nm-vpn-act-request.[ch]
12938 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12939 IPSec VPNs require them for std gateway.
12940 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12941 and 'user_routes_count'
12942 - (nm_vpn_act_request_get_user_routes): new function; gets user
12943 defined routes from NMVPNActRequest object, returns the string
12946 * src/vpn-manager/nm-vpn-manager.[ch]
12947 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12948 for 'user_routes' and 'user_routes_count'
12950 * src/vpn-manager/nm-dbus-vpn.c
12951 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12952 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12954 * src/vpn-manager/nm-vpn-service.c
12955 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12958 Modifications by Dan:
12959 * src/vpn-manager/nm-vpn-service.c
12960 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12963 * vpn-daemons/vpnc/src/nm-vpnc-service.c
12964 * vpn-daemons/pptp/src/nm-pptp-service.c
12965 * vpn-daemons/openvpn/src/nm-openvpn-service.c
12966 - Grab user routes from dbus message
12967 - Free all string arrays we got from dbus
12969 2006-02-07 Robert Love <rml@novell.com>
12971 Patch by Stefan Seyfried <seife@suse.de>:
12972 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12974 2006-02-06 Robert Love <rml@novell.com>
12976 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12978 2006-02-06 Robert Love <rml@novell.com>
12980 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12981 test ">=" is never false. If no newline is found, we loop forever.
12982 We can just check for ">" because the following if() will see the
12983 zero-th argument if the while() gets that far.
12985 2006-02-05 Dan Williams <dcbw@redhat.com>
12987 Refine handling of non-broadcast networks.
12989 * src/NetworkManagerAPList.c
12990 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12991 property from scanned AP to the AP from the device list
12993 * src/nm-device-802-11-wireless.c
12994 - (supplicant_send_network_config): use ap_scan=1 for all networks
12995 except non-SSID-broadcasting and Ad-Hoc networks. Use
12996 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
12997 networks since those don't have APs.
12998 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12999 AP as non-SSID-broadcasting
13000 - (process_scan_results): don't handle non-SSID-broadcasting here
13002 2006-02-05 Dan Williams <dcbw@redhat.com>
13004 * src/nm-device-802-11-wireless.c
13005 - (get_supplicant_timeout): new function; return
13006 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13007 14 channels. These are likely a/b/g cards, like Atheros, and
13008 slow as hell to scan.
13009 - (supplicant_timeout_cb, supplicant_monitor_start): use
13010 get_supplicant_timeout()
13012 2006-02-05 Dan Williams <dcbw@redhat.com>
13014 * src/dhcp-manager/nm-dhcp-manager.c
13015 - Loose a commit race with Robert; make sure size check
13016 uses size of DHCP_SERVICE_LEN, not hardcoded 15
13018 2006-02-05 Robert Love <rml@novell.com>
13020 Patch by Christoph Brill <chrisbrill@gmx.net>:
13021 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13022 with DHCP_SERVICE_NAME.
13024 2006-02-05 Dan Williams <dcbw@redhat.com>
13026 Remove anything having to do with device_setup_func from the
13027 AP security objects, since it's no longer used.
13029 * src/nm-ap-security.h
13030 - Kill device_setup_func and nm_ap_security_device_setup()
13032 * src/nm-ap-security-wep.c
13033 src/nm-ap-security-wpa-psk.c
13034 - (real_device_setup): remove
13036 * src/nm-ap-security.c
13037 - (real_device_setup): remove
13038 - (nm_ap_security_device_setup): remove
13040 * src/nm-device-802-11-wireless.[ch]
13041 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13042 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13043 and done by wpa_supplicant now anyway
13045 2006-02-05 Dan Williams <dcbw@redhat.com>
13047 * src/nm-device-802-11-wireless.c
13048 - (ap_need_key, real_act_stage2_config): deal with APs changing
13049 settings on us. Previously NM would loop asking for the
13050 key but getting the same one back. Now, if the NMI-supplied
13051 cipher doesn't overlap with the scanned AP capabilities,
13052 we request a completely new key from the user.
13054 2006-02-05 Dan Williams <dcbw@redhat.com>
13056 * src/NetworkManagerUtils.c
13057 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13058 Handle newline killing better
13060 2006-02-05 Dan Williams <dcbw@redhat.com>
13062 * gnome/applet/nm-gconf-wso.c
13063 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
13064 of unencrypted access point security info.
13066 2006-02-03 Robert Love <rml@novell.com>
13068 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13069 user's encryption key, so we print the err_msg_cmd not the command,
13070 if available. So long as SUPPLICANT_DEBUG is default, this makes
13073 2006-02-03 Christopher Aillon <caillon@redhat.com>
13075 * initscript/RedHat/NetworkManagerDispatcher.in:
13076 * initscript/RedHat/NetworkManager.in: modify the pidfile location
13077 Patch from Dan Walsh <dwalsh@redhat.com>
13079 2006-02-03 Robert Love <rml@novell.com>
13081 * dispatcher-daemon/NetworkManagerDispatcher.c,
13082 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13083 but use the sysconfdir.
13085 2006-02-03 Robert Love <rml@novell.com>
13087 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13088 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13090 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13091 nm_ip4_config_get_hostname() and
13092 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13093 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
13094 leak g_strdup() result.
13096 2006-02-03 Robert Love <rml@novell.com>
13098 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13099 broadcast == TRUE. Also, copy broadcast and artificial properties
13100 from source network to destination in nm_ap_copy().
13101 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13102 since we now default new networks to non-hidden.
13104 2006-02-03 Dan Williams <dcbw@redhat.com>
13106 * gnome/applet/main.c
13107 - (main): change the NEVER->ALWAYS so we start at the
13108 beginning of the session, if being session-managed
13110 2006-02-03 Dan Williams <dcbw@redhat.com>
13112 * gnome/applet/main.c
13113 - (main): in a variation on Robert's patch, change
13114 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
13117 2006-02-02 Robert Love <rml@novell.com>
13119 * src/Makefile.am: If we aren't going to create the run directory at,
13120 uh, run-time, create it during install. Then users just doing
13121 'make install' are cool, too. While we are here, create the
13122 dispatcher.d directory, too.
13123 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13124 the exact run directory.
13125 * Makefile.am: Install nm-applet.desktop.
13127 2006-02-02 Robert Love <rml@novell.com>
13129 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13130 structure, which denotes whether or not the AP is hidden. This is a
13131 superset of 'artificial' -- we need 'broadcast' because a hidden AP
13132 can show up in the scan list. Add nm_ap_get_broadcast() and
13133 nm_ap_set_broadcast() accessor interfaces.
13134 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13135 nm_ap_set_broadcast().
13136 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13137 "getProperties" method, which denotes whether or not the given
13139 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13140 an artificial network. Set broadcast to TRUE when scanning returns
13141 an ESSID and FALSE when not.
13142 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13143 from "getProperties" method on a network. Possible TODO is to
13144 somehow display this.
13145 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13147 2006-02-02 Dan Williams <dcbw@redhat.com>
13149 * src/nm-device-802-11-wireless.c
13150 - (supplicant_interface_init): don't try to create
13151 /var/run/NetworkManager, since that should be done by
13152 the distro package. Causes problems for stuff like SELinux
13154 2006-02-02 Robert Love <rml@novell.com>
13156 Patch by Sureshkumar T <tsureshkumar@novell.com>:
13157 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13158 Check for and handle empty string for iface.
13160 2006-02-01 Robert Love <rml@novell.com>
13162 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13165 2006-01-31 Dan Williams <dcbw@redhat.com>
13167 * nm-applet.desktop
13168 - Add --sm-disable to Exec arguments, presuming that when
13169 using autostart, we don't want session management
13171 2006-01-31 Robert Love <rml@novell.com>
13173 * src/NetworkManagerAP.c: Add two new manufacturer default network
13174 names: linksys-a and linksys-g. These are found (at least) on the
13175 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13178 2006-01-31 Robert Love <rml@novell.com>
13180 * src/NetworkManagerAP.c: Optimize the function
13181 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
13182 machine code. This is the first in a series of code tweaks aiming to
13183 generate better machine code and make NetworkManager all the better.
13184 Just kidding. Who has time to go through the assembly generated for
13185 every function? I certainly don't. I have a wife, a kid, a job,
13186 a mortgage, a mistress. But this function was so bad, I was called
13187 to arms. Like the book.
13189 2006-01-31 Robert Love <rml@novell.com>
13191 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13192 AP is not broadcasting, to scan with probe request frames. Required
13193 for non-broadcast networks.
13195 2006-01-31 Robert Love <rml@novell.com>
13197 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13198 preprocessor define (still 20s). Fix message text in nm_info()
13199 s/too too/took too/.
13201 2006-01-30 Dan Williams <dcbw@redhat.com>
13203 * src/nm-device-802-11-wireless.c
13204 - (supplicant_monitor_start): increase connect/auth timeout to
13205 20 seconds from 10 seconds
13207 2006-01-30 Dan Williams <dcbw@redhat.com>
13210 - Define LOCALSTATEDIR
13212 * src/nm-device-802-11-wireless.c
13213 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13214 socket where we want it to
13216 * src/wpa_ctrl.[ch]
13217 - (wpa_ctrl_open): accept location to put local control socket
13219 2006-01-30 Robert Love <rml@novell.com>
13221 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13222 get_ip4_string() for "domain_name".
13224 2006-01-30 Robert Love <rml@novell.com>
13226 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13227 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13228 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13229 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13230 support for "Automatic" pairwise and group cipher configuration by
13231 letting wpa_supplicant handle the details. Add UI elements, new
13232 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
13233 charm. Note this does more than add a nice feature, it fixes a bug.
13234 Apparently, some people have AP's where the pairwise cipher does not
13235 match the group cipher. Insane, but true.
13237 2006-01-30 Dan Williams <dcbw@redhat.com>
13239 * gnome/applet/applet-dbus-devices.c
13240 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13241 functions, grab device driver name from NetworkManager
13242 - (nmwa_dbus_device_properties_cb): call functions to get driver
13244 * gnome/applet/applet.c
13245 - (nmwa_update_info): show driver name in Connection Information
13248 * gnome/applet/nm-device.[ch]
13249 - (network_device_get_driver, network_device_set_driver): add
13250 accessors for driver name
13252 * gnome/applet/wireless-applet.glade
13253 - Add line for driver name to Connection Information dialog
13255 * src/nm-dbus-device.c
13256 - (nm_dbus_device_get_driver): new function to return driver name
13257 - (nm_dbus_device_methods): hook up driver name function to dbus
13260 - (get_driver_name): new function
13261 - (detail_device): grab and show driver name
13263 2006-01-30 Robert Love <rml@novell.com>
13265 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13266 does not parse the markup if it is not part of the format.
13268 2006-01-30 Robert Love <rml@novell.com>
13270 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13271 FALSE, we have no security options for this dialog, so we throw up
13272 an error dialog instead of a broken passphrase dialog. Fixes
13274 * gnome/applet/wireless-security-manager.c,
13275 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13276 does not add any security options, not even NONE, print a warning
13277 and return FALSE. This let's functions constructing a dialog bail
13278 out if the device's capabilities and the network's requirements have
13281 2006-01-27 Robert Love <rml@novell.com>
13283 * configure.in: Require wpa_supplicant. Detect location of binary and
13284 use it. Override with "--with-wpa_supplicant=foo".
13285 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13286 path to wpa_supplicant but use the auto-detected or user-provided
13287 value from configure.
13289 2006-01-27 Robert Love <rml@novell.com>
13291 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13292 but the DHCP server did not return a hostname, try to look up our
13293 name via DNS and set the system hostname to that.
13295 2006-01-27 Dan Williams <dcbw@redhat.com>
13297 * src/backends/NetworkManagerRedHat.c
13298 - Add NM_CONTROLLED system network script support for RH/Fedora
13300 2006-01-27 Dan Williams <dcbw@redhat.com>
13302 * src/backends/NetworkManagerGentoo.c
13303 - (nm_system_device_get_disabled): add missing function.
13306 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
13308 * configure.in: Added vi in ALL_LINGUAS line.
13310 2006-01-26 Robert Love <rml@novell.com>
13312 * src/Makefile.am, src/kernel-types.h: Now that two different source
13313 files are feeling the crack-addled leakage of kernel types such as
13314 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13315 types in user-space -- define a header and include it as needed.
13316 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13317 * src/nm-device-802-3-ethernet.h: Remove defines.
13318 * src/wpa.c: Remove defines and include kernel-types.h.
13320 2006-01-26 Robert Love <rml@novell.com>
13322 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13325 2006-01-26 Robert Love <rml@novell.com>
13327 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13328 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13329 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13330 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13331 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13332 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13333 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13334 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13335 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13336 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13337 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13338 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13339 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13340 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13341 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13342 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13343 Kill unused variables, labels, and static functions. Don't pass
13344 string literals as the format string for printf-like functions.
13346 2006-01-25 Dan Williams <dcbw@redhat.com>
13348 * gnome/applet/wireless-applet.glade
13349 - Remove WPA2 Checkbox
13351 * gnome/applet/wireless-security-manager.c
13352 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13353 This means the Wireless Security menu now has two WPA options,
13354 one for "WPA Personal" and one for "WPA2 Personal"
13356 * gnome/applet/wso-wpa-psk.[ch]
13357 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13358 'wpa2' argument to determine WPA version to use
13359 - (append_dbus_params_func): pass stored WPA version to cipher
13360 rather than using the (removed) checkbox
13362 2006-01-24 Robert Love <rml@novell.com>
13364 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13365 before we g_strdup(), not the ultimate string.
13367 2006-01-23 Dan Williams <dcbw@redhat.com>
13369 * src/NetworkManagerAP.[ch]
13370 - (nm_ap_new_from_ap): copy original essid too
13371 - (nm_ap_unref): free original essid
13372 - (nm_ap_get_orig_essid): new function
13373 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13374 but keep original essid around too
13376 * src/nm-device-802-11-wireless.c
13377 - (supplicant_send_network_config): send wpa_supplicant the
13378 _original_ essid, and not as a string, but in hex. Should
13379 allow us to connect to more APs that use wierd character
13380 encodings for their essids
13382 * utils/nm-utils.[ch]
13383 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13384 to UTF-8. If it's not already valid UTF-8, we check LANG and
13385 use the current locale as a hint for what encoding the essid
13386 might be in. Obviously not 100% accurate, but the idea here is
13387 that if a user's locale is ex. ja_JP, they are more likely than
13388 not to be in Japan, where access points will likely be in some
13391 2006-01-23 Dan Williams <dcbw@redhat.com>
13393 * libnm-util/cipher-private.h
13394 libnm-util/cipher.c
13395 libnm-util/cipher.h
13396 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13398 2006-01-23 Robert Love <rml@novell.com>
13400 Patch by Timo Hoenig <thoenig@suse.de>:
13401 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13402 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13403 by DHCP and pass it to the backends, allowing distribution-specific
13404 behavior with respect to the DHCP-supplied hostname (if nothing else,
13405 some distributions might not want to set the hostname).
13406 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13407 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13408 Also update our NIS behavior.
13409 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13410 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13411 Add stub functions.
13413 2006-01-23 Robert Love <rml@novell.com>
13415 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13416 gnome-session does autostart. TODO: We need to install this to
13417 $prefix/share/autostart/.
13419 2006-01-22 Dan Williams <dcbw@redhat.com>
13421 * src/NetworkManagerAP.[ch]
13423 src/nm-device-802-11-wireless.c
13424 - Make nm_ap_get_essid return "const char *"
13426 2006-01-22 Dan Williams <dcbw@redhat.com>
13428 * src/NetworkManagerAP.[ch]
13429 - (nm_ap_get_matched, nm_ap_set_matched): remove
13431 * src/NetworkManagerAPList.[ch]
13432 - (nm_ap_list_diff): removed
13433 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13434 deal with access points changing essids on us
13436 * src/nm-device-802-11-wireless.c
13437 - (add_new_ap_to_device_list): move AP dbus signal logic to
13438 src/NetworkManagerAPList.c
13439 - (real_can_interrupt_activation): new function; allow interruption
13440 of device activation if we are waiting for a network key
13442 * src/NetworkManagerPolicy.c
13443 - (nm_policy_device_change_check): allow interruption of currently
13444 activating devices if the device allows it. Previous behavior
13445 would refuse to activate a just-plugged wired device if a
13446 wireless device was waiting for a key.
13448 * src/nm-device.[ch]
13449 - (nm_device_can_interrupt_activation): new function; ask devices
13450 whether their activation can be interrupted
13452 2006-01-20 Robert Love <rml@novell.com>
13454 * Makefile.am, configure.in: Add new man subdirectory.
13455 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13456 man/Makefile.am: Add man pages for NetworkManager and its
13457 crime-solving bumbling buddy, NetworkManagerDispatcher.
13458 * man/.cvsignore: Add.
13459 * initscript/Debian/NetworkManager,
13460 initscript/Gentoo/NetworkManager.in,
13461 initscript/RedHat/NetworkManager.in,
13462 initscript/RedHat/NetworkManagerDispatcher.in,
13463 initscript/SUSE/networkmanager-dispatcher.in,
13464 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13466 2006-01-20 Robert Love <rml@novell.com>
13468 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13469 instead of queuing. This prevents the running of multiple NM
13470 daemons concurrently, which does not work whatsoever and results in
13471 neither daemon working correctly. Also, we don't handle queuing and
13472 name-owner-changes, anyhow.
13474 2006-01-20 Robert Love <rml@novell.com>
13476 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13477 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13480 2006-01-19 Robert Love <rml@novell.com>
13482 * configure.in: Require hal 0.5.0 or later.
13484 2006-01-18 Robert Love <rml@novell.com>
13486 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13487 Allow backends to flag a device (in whatever distro-dependent way
13488 they so desire) as disabled. NM will ignore any such device.
13489 * src/backends/NetworkManagerDebian.c,
13490 src/backends/NetworkManagerRedHat.c,
13491 src/backends/NetworkManagerSlackware.c: Add stub function
13492 nm_system_device_get_disabled() that always returns FALSE (enabled).
13493 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13494 SUSE-specific configuration structure. Fill it in from the
13495 NM_CONTROLLED variable in the system networking scripts. If this var
13496 exists and is "no", we ignore the device.
13498 2006-01-17 Robert Love <rml@novell.com>
13500 * configure.in: Remove 'no' language. Replaced by 'nb', which is
13501 identical for NM. For a full discussion, see the thread at
13502 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13504 2006-01-17 Dan Williams <dcbw@redhat.com>
13507 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13508 function. Fixes crash when wired DHCP fails.
13510 2006-01-16 Robert Love <rml@novell.com>
13512 * src/Makefile.am: Don't install NMLoadModules
13513 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13514 from src/ to test/ as no one uses it anymore. Note that I would be
13515 fine with removing it altogether.
13517 2006-01-16 Robert Love <rml@novell.com>
13519 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13520 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13521 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13522 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13523 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13524 src/nm-netlink-monitor.c: Don't miss any initializers on structure
13525 declarations, ever.
13526 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13527 NM_STATE_DISCONNECTED is zero).
13529 2006-01-16 Robert Love <rml@novell.com>
13531 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
13532 uninitialized parameter and buffer overflow. Novell #143496.
13534 2006-01-16 Dan Williams <dcbw@redhat.com>
13536 Apply the PtP Address bits of a patch from Tim Niemueller
13538 * src/nm-ip4-config.[ch]
13539 - Add ip4_ptp_address member to object
13540 - (nm_ip4_config_copy): copy ptp address too
13541 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13543 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13544 rather than local tunnel ip address
13546 * src/vpn-manager/nm-vpn-service.c
13547 - (print_vpn_config): update for PtP address
13548 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13549 DBusMessageIters in preparation for getting routes from the VPN
13550 service daemons too
13552 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13553 - (send_config_info): update for PtP address, clean up code
13554 - (main): update for PtP address, clean up code, fix typo
13556 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13557 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13559 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13560 - (pptp_ip_up): update for PtP address
13562 * vpn-daemons/pptp/src/nm-pptp-service.c
13563 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13565 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13566 - (print_vpn_config): update for PtP address
13567 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13569 2006-01-16 Dan Williams <dcbw@redhat.com>
13571 * gnome/applet/applet.c
13572 - (nmwa_add_networks_helper): don't indicate an active network
13573 if NM is disconnected or asleep
13575 2006-01-16 Dan Williams <dcbw@redhat.com>
13577 * src/NetworkManagerPolicy.c
13578 - (nm_policy_device_change_check): switch devices if we lose the link
13579 on an ethernet device.
13581 2006-01-16 Dan Williams <dcbw@redhat.com>
13583 * gnome/applet/wso-wpa-psk-hex.[ch]
13584 - Renamed -> wso-wpa-psk.[ch]
13586 * gnome/applet/wso-wpa-psk.[ch]
13589 * gnome/applet/wso-wpa-psk-passphrase.[ch]
13590 - Removed, rolled into wso-wpa-psk.[ch]
13592 * gnome/applet/Makefile.am
13593 - Updated for above changes
13595 * gnome/applet/wireless-applet.glade
13596 - Consolidate WPA-PSK options into one notebook
13597 widget, and make dialogs invisible by default
13598 to fix screen oddities
13600 * gnome/applet/wireless-security-manager.c
13601 - (wsm_set_capabilities): create the new wpa-psk widget rather
13602 than both the old hex & passphrase ones
13604 2006-01-16 Dan Williams <dcbw@redhat.com>
13606 * gnome/applet/other-network-dialog.c
13607 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13609 2006-01-16 Dan Williams <dcbw@redhat.com>
13611 * gnome/applet/applet.c
13612 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13613 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13614 prevention to realize window before trying to get server
13617 * gnome/applet/other-network-dialog.c
13618 - (nmwa_other_network_dialog_run): fix up focus-stealing
13619 prevention to realize window before trying to get server
13622 * gnome/applet/passphrase-dialog.c
13623 - (nmi_passphrase_dialog_new): fix up focus-stealing
13624 prevention to realize window before trying to get server
13627 2006-01-16 Robert Love <rml@novell.com>
13629 Patch from Timo Hoenig <thoenig@suse.de:
13630 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13631 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13632 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13633 libnm-util/dbus-helpers.h: add checks whether headers are used
13634 within a C++ build.
13636 2006-01-16 Dan Williams <dcbw@redhat.com>
13638 * gnome/applet/wireless-security-option.c
13639 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13641 2006-01-16 Dan Williams <dcbw@redhat.com>
13643 * libnm-util/cipher-wpa-psk-passphrase.c
13644 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13645 be 8 - 63 characters inclusive
13647 2006-01-16 Dan Williams <dcbw@redhat.com>
13650 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13652 2006-01-13 Robert Love <rml@novell.com>
13654 Patch by T Sureshkumar <tsureshkuman@novell.com>:
13655 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13656 modules that do not use an interface.
13658 2006-01-13 Dan Williams <dcbw@redhat.com>
13662 - Allow subclasses to implement deactivate_quickly()
13663 - (nm_device_deactivate_quickly): call subclass
13664 deactivate_quickly() methods
13665 - (nm_device_set_active_link): small cleanups, and don't
13666 deactivate the device right away because we risk a deadlock
13667 when called from device thread, waiting for the device
13668 thread to cancel activation
13670 * src/nm-device-802-11-wireless.c
13671 - (real_deactivate_quickly): new function
13672 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13673 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13674 so that we kill the supplicant when we sleep too
13675 - (supplicant_interface_init): work around naive naming attempts of
13676 wpa_ctrl when naming sockets
13678 2006-01-13 Dan Williams <dcbw@redhat.com>
13680 * src/nm-device-802-11-wireless.c
13681 - (supplicant_cleanup): delete old device control sockets too
13682 - (supplicant_get_device_socket_path): new function to consolidate
13683 locations that need a path to a device's control socket
13685 2006-01-12 Robert Love <rml@novell.com>
13687 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13688 description so that the description is unique for each
13689 pair (device,provider). Fixes Novell #142773.
13691 2006-01-12 Dan Williams <dcbw@redhat.com>
13693 * src/nm-device-802-11-wireless.c
13694 - (supplicant_exec): ensure GError is correctly initialized
13695 Reported by Diego González (gnome.org #326708)
13697 2006-01-11 Robert Love <rml@novell.com>
13699 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13700 define if_mii(), open code the same results, and do so without any
13703 2006-01-11 Robert Love <rml@novell.com>
13705 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13706 that wso_foo_new() returned non-NULL. Instead, only append the new
13707 wso to wsm->options if the wso is non-NULL. The crux is that we
13708 assume that the relevant key types are implied by WEP and WPA as
13709 appropriate. To be sure, they should be, but we should not expect
13710 drivers to not be oozing piles of wolf fecal matter.
13712 2006-01-11 Robert Love <rml@novell.com>
13714 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13715 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13716 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13717 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13718 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13719 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13720 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13721 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13722 comparing values within DBL_EPSILON. Also fix shadowed variable
13725 2006-01-11 Dan Williams <dcbw@redhat.com>
13727 Add options for WPA2 and WPA1+CCMP (AES).
13729 * gnome/applet/wireless-applet.glade
13730 - Add UI bits for WPA+CCMP
13732 * gnome/applet/other-network-dialog.c
13733 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13734 and don't allow creation of WPA2 Ad-Hoc networks since
13735 wpa_supplicant doesn't support them
13737 * gnome/applet/wireless-security-manager.c
13738 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13739 on to the specific wireless security option being created
13741 * gnome/applet/wireless-security-option.[ch]
13742 - (wso_wpa_create_key_type_model): new utility function to create
13743 the model required for WPA Key Type combo box
13745 * gnome/applet/wso-private.h
13746 gnome/applet/wireless-security-option.h
13747 - Move private function prototypes into wso-private.h
13749 * gnome/applet/wso-wpa-psk-hex.[ch]
13750 gnome/applet/wso-wpa-psk-passphrase.[ch]
13751 - (append_dbus_params_func): get WPA version from checkbox and pass
13752 it to the dbus serialization helper
13753 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13754 key type combo changes
13755 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13758 * libnm-util/cipher-wpa-psk-hex.c
13759 libnm-util/cipher-wpa-psk-passphrase.c
13760 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13761 new function; allow the cipher to be changed after object creation
13763 * src/nm-ap-security-wpa-psk.c
13764 - (set_description): Do WPA2 descriptions too
13766 * src/nm-ap-security.c
13767 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13769 2006-01-11 Robert Love <rml@novell.com>
13771 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13772 is defined in <linux/mii.h> to return the mii_ioctl_data structure
13773 from the ifreq structure in lieu of an open coded solution. Removes
13774 a life-threatening type-punning.
13775 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13776 types, ever, whatsoever, baby.
13778 2006-01-11 Robert Love <rml@novell.com>
13780 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13781 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13782 assignments to applet->nm_state into a new nmwa_set_state() function
13783 for both cleanliness and to help debugging.
13785 2006-01-10 Robert Love <rml@novell.com>
13787 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
13788 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13789 seconds, exclusive. That is, we want to sleep x seconds such that
13792 2006-01-10 Robert Love <rml@novell.com>
13794 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13795 the attr fields according to the example in the email available at
13796 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13797 Conversely, we do have to free 'name', so we do so, fixing a leak.
13799 2006-01-10 Robert Love <rml@novell.com>
13801 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13802 sure that we close the socket!
13804 2006-01-10 Robert Love <rml@novell.com>
13806 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13807 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13808 src/nm-device.c: Fix a FIXME! Reimplement the function
13809 nm_device_update_hw_address() in device subclass variants,
13810 nm_device_802_3_ethernet_set_address() and
13811 nm_device_802_11_wireless_set_address(), hook them up, and use them.
13812 This fixes the existing bug where MAC addresses are all zeros.
13814 2006-01-10 Robert Love <rml@novell.com>
13816 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13817 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13818 option to give users ability to globally disconnect and put NM to
13819 sleep. This is useful as a 'lockdown mode' for flying, security, and
13822 2006-01-09 Robert Love <rml@novell.com>
13824 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
13825 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13826 User-space does not supply these types, so we have to define them
13827 ourselves. The relevant kernel maintainer refused to accept a patch
13828 switching these headers to the proper C99 types.
13830 2006-01-09 Dan Williams <dcbw@redhat.com>
13832 Apply Robert's 'tray icon redo' patch with fixes
13833 * gnome/applet/applet.c
13834 gnome/applet/applet.h
13835 - Instead of using a menu bar + menu item, simulate menu
13836 behavior using a popup menu. Highlight the area around
13837 the icon more like a menu too, by playing with the
13838 applet's size requisition
13840 2006-01-09 Timo Hoenig <thoenig@suse.de>
13841 * libnm-util/dbus-helpers.c
13842 libnm-util/dbus-helpers.h
13843 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13844 to 'exception_namespace' (:namespace is a keyword in
13847 2006-01-09 Dan Williams <dcbw@redhat.com>
13849 * src/NetworkManagerPolicy.c
13850 - (nm_policy_device_change_check): don't autoswitch away from
13851 Ad-Hoc networks, since there's really no concept of
13855 - (nm_dbus_nm_create_wireless_network): mark created networks
13858 * src/nm-device-802-11-wireless.c
13859 - (real_activation_success_handler): add user-created Ad-Hoc
13860 networks to the device's scan list
13862 2006-01-08 Dan Williams <dcbw@redhat.com>
13864 We now require a patch for wpa_supplicant to support Ad-Hoc
13866 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13868 * src/nm-device-802-11-wireless.c
13869 - (supplicant_send_network_config): turn off wpa_supplicant's
13870 scanning. Fixes Ad-Hoc networks.
13872 2006-01-08 Dan Williams <dcbw@redhat.com>
13874 * src/nm-ap-security.c
13875 src/nm-ap-security.h
13876 - Add a user_created argument to the write_supplicant_config
13879 * src/nm-ap-security-wep.c
13880 src/nm-ap-security-wpa-psk.c
13881 src/nm-device-802-11-wireless.c
13882 - Make Ad-Hoc mode somewhat work, at least write the
13883 correct options to wpa_supplicant
13885 2006-01-08 Dan Williams <dcbw@redhat.com>
13887 * src/nm-device-802-11-wireless.c
13888 - Remove unused code from the old device activation path
13890 2006-01-08 Dan Williams <dcbw@redhat.com>
13892 * libnm-util/dbus-helpers.c
13893 - (nmu_security_serialize_wpa_psk): pass a blank key through
13894 dbus when key == NULL
13896 2006-01-08 Dan Williams <dcbw@redhat.com>
13898 * gnome/applet/nm-gconf-wso-wpa-psk.c
13899 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13900 correct arguments to nmu_security_deserialize_wpa_psk()
13902 * src/nm-ap-security-wpa-psk.c
13903 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13904 arguments to nmu_security_deserialize_wpa_psk()
13906 2006-01-08 Dan Williams <dcbw@redhat.com>
13908 * gnome/applet/wso-wpa-psk-hex.c
13909 gnome/applet/wso-wpa-psk-passphrase.c
13910 - Hook up the append_dbus_params_func() function
13912 2006-01-08 Dan Williams <dcbw@redhat.com>
13914 * src/nm-device-802-11-wireless.c
13915 - (get_wireless_capabilities): correctly detect driver WPA
13918 2006-01-08 Dan Williams <dcbw@redhat.com>
13920 * gnome/applet/Makefile.am
13921 gnome/applet/wso-wpa-psk-hex.c
13922 gnome/applet/wso-wpa-psk-hex.h
13923 - New files, implement WPA-PSK Hex key input
13925 * gnome/applet/wireless-applet.glade
13926 - Change existing wpa-psk stuff to wpa-psk-hex
13927 - Add new widgets for wpa-psk-passphrase
13929 * gnome/applet/wireless-security-manager.c
13930 - (wsm_set_capabilities): enable WPA options
13932 * gnome/applet/wso-wpa-psk-passphrase.c
13933 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13934 for WPA-PSK passphrase
13936 2006-01-08 Dan Williams <dcbw@redhat.com>
13938 * include/NetworkManager.h
13939 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13940 applet/info-daemons
13942 * gnome/applet/passphrase-dialog.c
13943 - Use the constant. Fixes a bug where the arguments to
13944 dbus_message_new_error() were incorrect
13946 * src/nm-dbus-nmi.c
13949 2006-01-07 Dan Williams <dcbw@redhat.com>
13951 * src/nm-device-802-11-wireless.c
13952 - Add a link timeout so we allow the supplicant time to
13953 reassociate if it can, before we deactivate the card
13954 - Fix up link status and link updating so things work better
13956 2006-01-07 Dan Williams <dcbw@redhat.com>
13958 * src/nm-device-802-11-wireless.c
13959 - Switch over to using wpa_supplicant
13960 - Add a timeout of 10s for association of the supplicant
13961 - Start the monitor callback of the supplicant
13963 2006-01-07 Dan Williams <dcbw@redhat.com>
13965 * src/NetworkManagerUtils.c
13966 - (nm_utils_supplicant_request,
13967 nm_utils_supplicant_request_with_check):
13968 pass correct buffer length to wpa_ctrl_request()
13970 2006-01-07 Dan Williams <dcbw@redhat.com>
13972 * src/nm-device-private.h
13974 - (nm_device_activate_schedule_stage3_ip_config_start): make
13975 this function available to subclasses
13977 2006-01-06 Robert Love <rml@novell.com>
13979 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13980 user plugging in a network cable signals their preference for to
13981 switch, unless the user explicitly selected a wireless network and
13982 therefore signaled their preference for said wireless network over
13983 wired. In other words, do exactly what makes sense.
13985 2006-01-06 Robert Love <rml@novell.com>
13987 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13988 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13989 src/NetworkManagerWireless.h: Remove, no longer used and they keep
13990 showing up in my greps.
13992 2006-01-06 Robert Love <rml@novell.com>
13994 * gnome/applet/applet-dbus-devices.c,
13995 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13996 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13997 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
13998 New Network' both failed in the non-encrypted case because we were
13999 not appending the security options to the DBUS message. And
14000 'Connect to Other' was also failing in the encrypted case because
14001 we were not incrementing to the next DBUS parameter. All fixed.
14002 Thanks to dcdw for some debugging help.
14004 2006-01-06 Robert Love <rml@novell.com>
14006 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14007 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14008 hangup code and add per-device hangup. Tie last commit into the
14009 GNOME applet. TODO: Save, understand, and respond to the state of
14010 each dialup device.
14012 2006-01-06 Robert Love <rml@novell.com>
14014 Patch by Timo Hoenig <thoenig@suse.de>:
14015 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14016 hangup specific dialup devices.
14017 * src/backends/NetworkManagerDebian.c,
14018 src/backends/NetworkManagerGentoo.c,
14019 src/backends/NetworkManagerRedHat.c,
14020 src/backends/NetworkManagerSlackware.c: Add stub backend.
14021 * src/backends/NetworkManagerRedHat.c,
14022 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14023 hangup specific dialup devices.
14025 2006-01-04 Robert Love <rml@novell.com>
14027 * gnome/applet/applet-dbus-devices.c,
14028 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14029 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14032 2006-01-04 Dan Williams <dcbw@redhat.com>
14034 First dump of wpa_supplicant-related code. It's not hooked up to
14035 anything yet though. Thanks to Kay Sievers for
14036 wpa_supplicant_wrapper.c, which formed the basis for this work,
14037 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14041 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14043 * src/NetworkManagerUtils.[ch]
14044 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14045 Add convenience functions for talking to wpa_supplicant
14047 * src/nm-ap-security.[ch]
14048 src/nm-ap-security-wep.c
14049 src/nm-ap-security-wpa-psk.[ch]
14050 - Update and implement real_write_supplicant_config functions
14051 in all security types
14052 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14053 nm-ap-security-wpa-psk.c
14055 * src/nm-device-802-11-wireless.c
14056 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14057 wpa_supplicant_start, wpa_supplicant_interface_init,
14058 wpa_supplicant_send_network_config): add functions to talk to
14059 wpa_supplicant and write network config to it
14061 2006-01-04 Robert Love <rml@novell.com>
14063 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14064 values so that distribution-backends can differentiate between the
14065 various types (modem, ISDN, et cetera) of dialup device that they
14067 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14070 2006-01-03 Dan Williams <dcbw@redhat.com>
14072 * src/NetworkManagerPolicy.c
14074 src/nm-device-802-11-wireless.c
14075 - Move wireless-specific activation failure and success code
14076 into wireless device class
14078 2006-01-03 Robert Love <rml@novell.com>
14080 Patch by Preggna S:
14081 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14082 IPsec does not require that a VPN client be bound to an interface,
14083 due to the use of the in-kernel IPSec bits. So make the tunnel
14086 2006-01-03 Dan Williams <dcbw@redhat.com>
14088 * src/NetworkManagerAP.c
14089 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14090 the WPA IE specifies that WEP is supported
14092 * src/nm-device-802-11-wireless.c
14093 - (process_scan_results): don't mark an AP as supporting WEP
14094 if there's already other encryption capability info
14096 2006-01-03 Dan Williams <dcbw@redhat.com>
14098 * src/dhcp-manager/nm-dhcp-manager.c
14099 - Recognize activation cancellation when waiting for DHCP
14100 configuration from dhcdbd
14101 - Ignore non-dhcdbd messages
14104 - (real_act_stage3_ip_config_start): return to correct behavior
14105 of letting the dhcp-manager notify us of failure or
14106 success rather than incorrectly doing that ourselves
14107 - (nm_device_activate_stage4_ip_config_get): deal with
14108 activation cancellation a bit earlier
14110 2006-01-03 Dan Williams <dcbw@redhat.com>
14112 * src/nm-device-802-11-wireless.c
14114 - Add hooks to subclasses for stage3_ip_config_start and
14115 stage4_ip_config_timeout
14117 * src/nm-device-802-3-ethernet.c
14118 - (real_get_generic_capabilities): make devices NM-supported
14121 2006-01-03 Robert Love <rml@novell.com>
14123 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14124 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14125 latter cannot differentiate between error and the address -1; misc.
14128 2006-01-03 Dan Williams <dcbw@redhat.com>
14130 * src/NetworkManager.c
14131 - Move link-checking/probing into the device subclasses
14134 * src/nm-device.[ch]
14135 src/nm-device-802-11-wireless.c
14136 src/nm-device-802-3-ethernet.c
14137 - Do periodic link checking in device subclasses rather
14138 than being triggered from NetworkManager.c
14139 - discover_wireless_capabilities -> get_wireless_capabilities
14140 - discover_generic_capabilities -> get_generic_capabilities
14141 - Device subclass activation routines now return a value of type
14142 NMActStageReturn to indicate what step to perform next
14143 - Devices now override stage4_get_ip4_config if they choose
14145 2006-01-01 Dan Williams <dcbw@redhat.com>
14147 * src/nm-device-802-11-wireless.c
14148 - (real_init): don't chain up to parent init because we don't
14149 need to do that anymore
14152 - (discover_device_type): fix arguments to ioctl() to correctly
14153 pass interface name
14154 - (nm_device_new): consolidate generic device initialization into
14156 - (real_init): remove, consolidated to nm_device_new()
14157 - (nm_device_deactivate, real_deactivate): consolidate
14159 2006-01-01 Dan Williams <dcbw@redhat.com>
14161 * src/nm-activation-request.c
14162 - Change dhcp_state member of the NMActRequest structure
14163 from guint8 to guint32
14165 * src/dhcp-manager/nm-dhcp-manager.[ch]
14166 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14167 than guint8 to match the dbus argument. Turns out we were
14168 overwriting memory since we were passing in only a guint8
14170 2005-12-31 Dan Williams <dcbw@redhat.com>
14172 * refactor NMDevice into a GObject-based framework with separate
14173 objects for wired and wireless. The following files are no
14174 longer used but should stick around for a bit so we don't
14175 loose code through the cracks:
14176 NetworkManagerDevice.c
14177 NetworkManagerDevice.h
14178 NetworkManagerWireless.c
14179 NetworkManagerWireless.h
14181 The intent here is to allow each device type to manage its own
14182 connection & activation life-cycle, ie to allow wireless devices
14183 to interface with wpa_supplicant, etc. There's a fair bit of
14184 encapsulation breakage right now that should gradually get pulled
14185 back into each device, along with things like periodic property
14186 updates and link probing.
14188 2005-12-29 Dan Williams <dcbw@redhat.com>
14190 * include/NetworkManager.h
14191 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14192 between networks that don't have any encryption at all
14194 2005-12-29 Dan Williams <dcbw@redhat.com>
14196 * test/test-common.c
14199 - Move to a test-common subdirectory
14201 * test/libnm-util/test-ciphers.c
14202 - Move test data to test-inputs.h
14203 - Test WPA ciphers too
14205 * test/libnm-util/test-dbus-helpers.c
14206 - Test serialization/deserialization of ciphers
14208 2005-12-29 Dan Williams <dcbw@redhat.com>
14210 * gnome/applet/applet-dbus-devices.c
14211 - Replace 'enc' parameter with 'capabilities' for wireless networks
14212 in dbus calls to NM
14213 - Set capabilities on WirelessNetwork objects
14214 - Receive and save type-specific device capabilities too
14216 * gnome/applet/applet-dbus-info.c
14217 gnome/applet/applet-dbus.c
14218 - Passphrase dialog no longer a singleton; new instance gets created
14219 on each request. Updates to deal with that.
14221 * gnome/applet/applet.c
14222 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14223 than single 'encrypted' flag
14224 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14226 - Passphrase dialog updates per above
14228 * gnome/applet/menu-items.c
14229 - (network_menu_item_update): use AP capabilities to determine
14232 * gnome/applet/nm-device.[ch]
14233 - Add accessors for type-specific device capabilities
14235 * gnome/applet/other-network-dialog.c
14236 - Rework to respect device capabilities. i.e., if the device doesn't
14237 support WPA, remove that option from the security dropdown
14239 * gnome/applet/passphrase-dialog.c
14240 - Massive rework so that a new instance is created each time
14241 it's used, to support wireless network capabilities
14243 * gnome/applet/wireless-network.[ch]
14244 - Add accessors and members for wireless network capabilities
14246 * gnome/applet/wireless-security-manager.[ch]
14247 - (wsm_set_capabilities): called after creation to set which
14248 security options get shown to the user
14250 2005-12-29 Dan Williams <dcbw@redhat.com>
14252 * libnm-util/cipher-wpa-psk-passphrase.c
14253 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14256 2005-12-23 Dan Williams <dcbw@redhat.com>
14258 * gnome/applet/applet-dbus-info.c
14259 - (nmi_dbus_get_key_for_network): if there's no entry in
14260 GConf for a network, assume we want a new key
14261 - (nmi_save_network_info): serialize wireless security info
14262 into GConf so its saved
14265 - Fix warning as we may not be passed security info when
14266 connecting to a wireless network
14268 2005-12-23 Dan Williams <dcbw@redhat.com>
14270 * gnome/applet/applet-compat.c
14271 - Fix bugs in GConf entry conversion
14273 * gnome/applet/applet-dbus-info.c
14274 - (nmi_dbus_get_network_properties): handle case of the BSSID
14275 list being zero-length
14277 * libnm-util/cipher-*
14278 libnm-util/dbus-helpers.c
14279 - All ciphers must now return hashed keys as UTF-8 valid
14280 hexadecimal strings, ie "8f3dae4023". They are pushed
14281 through dbus as strings too.
14282 - Consolidate various functions that do bin->hex and hex->bin
14283 conversion into cipher.c
14285 * src/nm-ap-security-wep.c
14286 src/nm-ap-security-wpa-psk.c
14287 - Handle NULL keys since we may not know keys right away
14289 * src/nm-dbus-nmi.c
14290 - (nm_dbus_get_network_data_cb): actually advance to the start
14291 of the wireless security info before we try to deserialize it
14293 * libnm-util/test-ciphers.c
14294 - Update cipher tests for the change to UTF-8 hexadecimal strings
14296 2005-12-22 Dan Williams <dcbw@redhat.com>
14298 * gnome/applet/applet-compat.[ch]
14299 - Convert old-format GConf and keyring entries
14300 when the applet starts up.
14302 * gnome/applet/applet.c
14303 - (nmwa_get_instance): Call the conversion function
14304 on startup before dbus is initialized
14306 2005-12-22 Dan Williams <dcbw@redhat.com>
14308 * gnome/applet/applet-dbus-info.c
14309 - Remove nmi_dbus_create_error_message() in favor of
14310 nmu_create_dbus_error_message()
14311 - (nmi_dbus_get_network_properties): Error message cleanups
14312 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14313 gconf key rather than 'addresses', since they really are BSSIDs
14314 - (nmi_dbus_get_network_properties): Dispose of the security
14315 object when we're done with it
14317 2005-12-21 Dan Williams <dcbw@redhat.com>
14319 * Consolidate the info-daemon's "updateNetworkInfo" and
14320 "addNetworkAddress" calls into just "updateNetworkInfo"
14322 2005-12-21 Dan Williams <dcbw@redhat.com>
14324 * Make connection after key retrieval work again
14326 2005-12-21 Dan Williams <dcbw@redhat.com>
14328 * gnome/applet/nm-gconf-wso*
14329 - Make the serialize functions return gboolean
14332 * gnome/applet/nm-gconf-wso.c
14333 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14334 parent class handling so we don't segfault
14336 * src/NetworkManagerAP.[ch]
14337 - (nm_ap_get_capabilities): new function, return capabilities
14338 now that something can use them
14339 - (nm_ap_set_encrypted): assume that an access point supports
14340 both WEP104 and WEP40 if its set encrypted. FIXME: can
14341 we even tell whether it just supports WEP40?
14343 * src/NetworkManagerDevice.c
14344 - (ap_need_key): resurrect and update for the New World Order
14345 - (nm_device_wireless_get_activation_ap): if we're not given
14346 security info to use, create some based on access point
14349 * src/nm-ap-security-wep.c
14350 - (nm_ap_security_wep_new_from_ap): create a new object
14351 based on a certain access point's capabilities
14353 * src/nm-ap-security.c
14354 - (nm_ap_security_new_from_ap): delegate creation of a new
14355 object based on access point capabilities to a subclass
14356 - (nm_ap_security_copy_properties): don't segfault if we
14357 don't have a key yet
14360 - (nm_dbus_nm_set_active_device): provide more informative
14361 output when errors occur. Also construct security info
14362 for a given access point if we weren't given any
14364 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14366 * configure.in: Added Lithuanian to ALL_LINGUAS.
14368 2005-12-21 Dan Williams <dcbw@redhat.com>
14371 - Add some testcases for WEP ciphers
14373 2005-12-17 Dan Williams <dcbw@redhat.com>
14377 2005-12-17 Dan Williams <dcbw@redhat.com>
14379 * include/NetworkManager.h
14380 - Finally kill NMEncKeyType
14382 * gnome/applet/applet-dbus-info.c
14383 - (nmi_save_network_info): convert to NMGConfWSO
14385 * gnome/applet/nm-gconf-wso-*.c
14386 - Implement gconf serialization functions
14388 * src/NetworkManagerPolicy.c
14389 - (nm_policy_activation_finish): fix up meaning of
14390 automatic/user_requested
14392 2005-12-17 Dan Williams <dcbw@redhat.com>
14395 - More applet cleanups
14396 - Use the dbus-method-dispatcher
14398 * libnm-util/dbus-method-dispatcher.[ch]
14399 - Generalize the implementation from NM in
14400 NetworkManagerUtils.c
14402 2005-12-16 Dan Williams <dcbw@redhat.com>
14405 - Fix up the passphrase dialog to use all the
14406 WirelessSecurityOption stuff (untested)
14408 2005-12-16 Dan Williams <dcbw@redhat.com>
14410 * Move nm_gconf_get_*_helper() functions to separate files,
14411 gconf-helpers.c & gconf-helpers.h
14413 * New NMGConfWSO objects for managing the gconf side of things.
14414 Eventually these should be merged with the
14415 WirelessSecurityOption objects and a common base (that can
14416 serialize/deserialize from dbus & gconf) should be
14417 refactored out, but for now they are separate.
14419 2005-12-16 Robert Love <rml@novell.com>
14421 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14422 binaries unless they exist (nm_spawn_process() emits a warning if
14423 asked to spawn a non-existant process).
14425 2005-12-16 Dan Williams <dcbw@redhat.com>
14427 * gnome/applet/applet-dbus-info.c
14428 - Clean up lots of gconf-related code
14430 2005-12-16 Robert Love <rml@novell.com>
14432 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14434 2005-12-16 Dan Williams <dcbw@redhat.com>
14436 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14438 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14439 bits still to be done)
14441 2005-12-16 Dan Williams <dcbw@redhat.com>
14443 * Finally move info-daemon related stuff out of
14444 NetworkManagerDbus.c to nm-dbus-nmi.c
14446 2005-12-16 Dan Williams <dcbw@redhat.com>
14448 * Kill auth_method for access points, since that's now done
14449 by NMAPSecurity objects
14451 * Add a copy-constructor of sorts to NMAPSecurity
14452 (how do you do this properly in glib???)
14454 2005-12-15 Dan Williams <dcbw@redhat.com>
14456 * Exorcise encryption key hashing on APs
14457 * Use libnm-util's serialization/deserialization in both the
14459 * Random other stuff
14461 2005-12-15 Robert Love <rml@novell.com>
14463 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14464 is being added to the icon naming spec, so let's use that (Tango CVS
14465 has the icon). Because it is new, however, we fall back to the
14466 current "gnome-lockscreen" if the new icon is not around, thus
14467 behavior is the same.
14468 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
14471 2005-12-15 Robert Love <rml@novell.com>
14473 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14474 well, help to give. Couple other misc. bits.
14476 2005-12-15 Dan Williams <dcbw@redhat.com>
14478 * libnm-util/dbus-helpers.[ch]
14479 - Make this the one-stop-shop for serializing/deserializing
14480 AP & connection security settings over dbus. Both NM
14481 and applets should use this to ensure consistent dbus
14482 API going forwared.
14484 2005-12-15 Robert Love <rml@novell.com>
14486 Patch by Timo Hoenig <thoenig@suse.de>:
14487 * src/NetworkManagerDbus.c
14488 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14489 if HAL jumps off the system bus. Otherwise libdbus
14490 (dbus_connection_dispatch) will try to run the filter
14491 function of our libhal context which is already freed.
14493 2005-12-15 Alexander Shopov <ash@contact.bg>
14495 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14497 2005-12-14 Dan Williams <dcbw@redhat.com>
14499 * include/NetworkManager.h
14500 src/NetworkManagerWireless.c
14501 - Rearrange 802.11 wireless-specific capabilities again
14504 - Forgot to add wpa.c/wpa.h to the makefiles
14506 * src/NetworkManagerAP.[ch]
14507 - Implement access point capabilities and parse the
14508 WPA/RSN IEs into the capability bitfield
14509 - Switch the "encrypted" attribute to utilize the bitfield
14510 and capabilities rather than being independent
14512 * src/NetworkManagerDevice.c
14513 - (nm_device_wireless_get_activation_ap): break it horribly
14514 until we can push NMAPSecurity objects into access point
14515 objects and through the activation chain
14516 - Stuff WPA & RSN IEs into AP capabilities
14519 - Take a shot at actually making setActiveDevice work
14522 - Make the API a bit saner
14524 2005-12-14 Dan Williams <dcbw@redhat.com>
14526 * include/NetworkManager.h
14527 - Add 802.11-specific capability for 802.1x key
14531 - Pull in WPA IE and RSN IE parsing code from
14532 wpa_supplicant so we can determine access point
14534 - Move WPA-related constants here from NetworkManagerAP.h
14535 and NetworkManagerDevice.c
14537 * src/NetworkManagerDevice.c
14538 src/NetworkManagerAP.[ch]
14539 - Use WPA-related constants from wpa.h
14541 2005-12-14 Dan Williams <dcbw@redhat.com>
14543 * include/NetworkManager.h
14544 - Update and split 802.11 wireless-specific capabilities from
14545 generic device capabilities
14547 * src/NetworkManagerDevice.c
14548 src/NetworkManagerDevicePrivate.h
14549 - (nm_device_wireless_discover_capabilities): Move 802.11
14550 wireless-specific capability checks to
14551 NetworkManagerWireless.c
14552 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14553 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14555 * src/NetworkManagerWireless.[ch]
14556 - (nm_802_11_wireless_discover_capabilities): Check extended
14557 802.11 wireless-specific capabilities of the driver
14559 2005-12-14 Robert Love <rml@novell.com>
14561 Patch from Stefan Scheler <sscheler@suse.de>:
14562 * src/NetworkManagerDevice.c: call backend code to activate and
14564 * src/NetworkManagerSystem.h: add new NIS interfaces.
14565 * src/backends/NetworkManagerDebian.c,
14566 src/backends/NetworkManagerGentoo.c,
14567 src/backends/NetworkManagerRedHat.c,
14568 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14570 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14572 2005-12-14 Dan Williams <dcbw@redhat.com>
14574 * src/nm-ap-security*.[ch]
14575 - Add AP security abstractions to NetworkManager
14577 * src/nm-dbus-device.c
14578 - Begin to parse new format dbus messages from the applet
14579 and construct an AP security object from the message
14581 * libnm-util/dbus-helpers.c
14582 - Use message iters so we can append the key as a fixed
14583 array of bytes, which actually works rather than
14584 using dbus_message_append_args() as we were before
14586 2005-12-14 Dan Williams <dcbw@redhat.com>
14588 * src/NetworkManagerDbus.c
14589 gnome/applet/applet-dbus.c
14590 - Fix up dbus service replacement options. The applet
14591 should allow replacement, NM itself should not.
14593 2005-12-13 Robert Love <rml@novell.com>
14595 * src/named-manager/nm-named-manager.c: Revert earlier commit.
14596 Instead, fail silently if config is NULL by not asserting and not
14597 returning FALSE. Also, make sure we always fclose() the file.
14599 2005-12-13 Robert Love <rml@novell.com>
14601 Patch by Stefan Scheler <sscheler@suse.de>:
14602 * src/nm-ip4-config.h, src/nm-ip4-config.c,
14603 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14604 via DHCP. Still need the backends to commit the NIS domain name and
14605 and servers to yp.conf as needed.
14607 2005-12-13 Robert Love <rml@novell.com>
14609 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14610 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14612 2005-12-13 Robert Love <rml@novell.com>
14614 * src/named-manager/nm-named-manager.c: Don't unref the config until
14615 after we call rewrite_resolv_conf(), because get_last_default_domain()
14616 needs to access the config. Fixes "rewrite_resolv_conf: assertion
14617 `config != NULL' failed" assertion failures and "Could not commit DNS
14620 2005-12-12 Dan Williams <dcbw@redhat.com>
14622 * libnm-util/dbus-helpers.[ch]
14623 libnm-util/Makefile.am
14624 - new helper calls to consolidate locations where
14625 NM's setDevice method is called
14627 * gnome/applet/applet-dbus-devices.c
14628 gnome/applet/wireless-security-option.c
14630 - Implement dbus message param append function for
14631 all wireless security options
14633 2005-12-12 Robert Love <rml@novell.com>
14635 * libnm-util/cipher-wep-passphrase.c,
14636 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14637 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14638 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14639 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14640 When handling keys, we don't care what the sign is. The compiler
14641 guarantees us that we get our 8-bits, which is all we care about.
14642 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
14644 2005-12-12 Dan Williams <dcbw@redhat.com>
14646 * gnome/applet/applet-dbus-devices.[ch]
14647 gnome/applet/applet.c
14648 gnome/applet/other-network-dialog.c
14649 gnome/applet/wireless-security-manager.[ch]
14650 gnome/applet/wireless-security-option.[ch]
14652 - Push the wireless security options further into the applet
14654 2005-12-12 Robert Love <rml@novell.com>
14656 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14657 return any name servers. That is perfectly valid. (Novell #134369).
14659 2005-12-11 Dan Williams <dcbw@redhat.com>
14661 * gnome/applet/wso-*
14662 gnome/applet/wireless-security-option.*
14663 gnome/applet/Makefile.am
14664 - split each security option out so we can eventually
14665 have each one build up their own dbus message
14666 arguments to send to NM
14668 2005-12-11 Dan Williams <dcbw@redhat.com>
14670 * Make validation of the key work correctly
14672 2005-12-11 Dan Williams <dcbw@redhat.com>
14674 * Hook more bits of the Other Network Dialog up to the
14675 wireless security manager stuff, and restructure
14676 bits of the dialog so there's less code.
14678 2005-12-10 Dan Williams <dcbw@redhat.com>
14680 * gnome/applet/Makefile.am
14681 - Add libnm-util to includes
14682 - Add libnm-util to link list
14683 - Add wireless-security-common.* to compile list
14685 * gnome/applet/other-network-dialog.c
14686 - Convert to using the WirelessSecurityManager code and
14689 * gnome/applet/passphrase-dialog.c
14690 - Comment out references to stuff in the glade file that
14691 cause runtime errors until it can be fixed up
14692 to use the WirelessSecurityManager code
14694 * gnome/applet/wireless-applet.glade
14695 - Rename some widgets
14696 - Add widgets for the WirelessSecurityManager code
14697 - Remove passphrase-related stuff since that's now
14698 handled by the WirelessSecurityManager code
14700 2005-12-10 Dan Williams <dcbw@redhat.com>
14702 * gnome/applet/applet-dbus-devices.c
14703 - Print out error message details for dbus pending call callbacks
14704 - Move nmwa_dbus_update_devices() up
14706 * gnome/applet/applet-dbus-vpn.c
14707 - Print out error message details for dbus pending call callbacks
14709 2005-12-10 Dan Williams <dcbw@redhat.com>
14713 - Remove cipher-manager.* because we don't need it
14714 - Forgot to add gnome-keyring-md5 files to compile list
14716 2005-12-09 Dan Williams <dcbw@redhat.com>
14721 - Add a utility library for clients of NetworkManager. It's
14722 only targetted at applets for the moment, and contains
14723 a generalized 802.11 cipher framework for different
14724 types of keys (WEP & WPA Hex, ASCII, Passphrase)
14726 2005-12-09 Robert Love <rml@novell.com>
14728 * src/NetworkManagerDevice.c: handle error better in
14729 nm_device_set_mode().
14731 2005-12-08 Robert Love <rml@novell.com>
14733 * include/NetworkManager.h: add WPA capabilities constants
14734 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14735 or WPA2 and add the capabilities bits as appropriate.
14737 2005-12-08 Robert Love <rml@novell.com>
14739 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14740 NetworkManagerDispatcher.
14741 * configure.in, initscript/SUSE/.cvsignore,
14742 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14745 2005-12-08 Robert Love <rml@novell.com>
14747 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14749 2005-12-08 Robert Love <rml@novell.com>
14751 * src/NetworkManagerDevice.c: We want to fall back on and default to
14752 IW_MODE_AUTO, not -1, which is more in line with our previous
14753 behavior. Otherwise, we try to set the wireless mode to -1 in
14754 nm_device_set_mode().
14756 2005-12-07 Robert Love <rml@novell.com>
14758 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14759 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14760 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14761 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14762 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14763 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
14766 2005-12-07 Robert Love <rml@novell.com>
14768 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14769 supplied IP is invalid, fall back to DHCP.
14771 2005-12-07 Dan Williams <dcbw@redhat.com>
14773 * Convert NETWORK_MODE_* constants to IW_MODE_*
14774 * Make all the get_mode/set_mode functions take and return 'int'
14775 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14777 2005-12-07 Robert Love <rml@novell.com>
14779 * src/NetworkManagerDevice.c: strncpy() buffer check.
14780 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14782 2005-12-06 Dan Williams <dcbw@redhat.com>
14784 * gnome/applet/applet-dbus.c
14785 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14787 * gnome/applet/applet-dbus-vpn.c
14788 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14789 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14790 to TRUE here if stage was ACTIVATED
14792 2005-12-06 Dan Williams <dcbw@redhat.com>
14794 * Change nm_device_is_* functions to better names:
14795 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14796 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14798 2005-12-06 Dan Williams <dcbw@redhat.com>
14800 * Change naming of NMDeviceType to something more sensible:
14801 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14802 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14803 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14805 2005-12-06 Dan Williams <dcbw@redhat.com>
14807 * Move NetworkManager.h -> include/NetworkManager.h
14808 * Split out VPN stuff into include/NetworkManagerVPN.h
14809 * Fix up makefiles to include new location
14810 * Fix up sources to include NetworkManagerVPN.h
14812 2005-12-06 Dan Williams <dcbw@redhat.com>
14814 Various changes in the applet to move VPN connection "state" -> "stage",
14815 which it actually is. I'd like to change the signal as well when we
14816 break compat in the near future.
14818 2005-12-06 Dan Williams <dcbw@redhat.com>
14820 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14821 * initscript/Slackware/rc.networkmanager
14824 * src/backends/NetworkManagerSlackware.c
14825 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14828 2005-12-05 Robert Love <rml@novell.com>
14830 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14831 to free, particularly here as it just barfs.
14833 2005-12-05 Dan Williams <dcbw@redhat.com>
14835 * gnome/applet/applet-dbus.c
14836 - Work with dbus 0.6 too
14838 2005-12-03 Dan Williams <dcbw@redhat.com>
14840 * src/NetworkManagerUtils.[ch]
14841 src/nm-ip4-config.c
14842 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14843 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14845 2005-12-01 Robert Love <rml@novell.com>
14847 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14848 need a NULL for the '...' parameter, too, to fill the so-called
14851 2005-12-01 Robert Love <rml@novell.com>
14853 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14854 interface is already gone, so don't call rtnl_link_change() to down
14855 it (which will segfault, anyhow).
14857 2005-11-22 Robert Love <rml@novell.com>
14859 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14860 gateway is not set, just print a little note. Configurations without
14861 gateways are valid.
14863 2005-11-22 Robert Love <rml@novell.com>
14867 2005-11-20 Ilkka Tuohela <hile@iki.fi>
14869 * configure.in: Added Finnish translation to ALL_LINGUAS
14871 2005-11-14 Robert Love <rml@novell.com>
14873 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14874 Niemueller <tim@niemueller.de>.
14876 2005-11-08 Dan Williams <dcbw@redhat.com>
14878 Patch from Bill Moss <bmoss@clemson.edu>
14879 * src/NetworkManagerDevice.c
14880 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14881 of nm_policy_schedule_activation_finish() to prevent a
14882 race condition that causes the link to be dropped
14884 2005-11-08 Dan Williams <dcbw@redhat.com>
14886 Patch from Bill Moss <bmoss@clemson.edu>
14887 * src/NetworkManagerAPList.c
14888 src/NetworkManagerDevice.c
14889 src/NetworkManagerDbus.c
14890 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14891 we get more readable ether/mac addresses
14893 2005-11-02 Christopher Aillon <caillon@redhat.com>
14895 * gnome/applet/main.c: Don't set the restart command. This fixes
14896 the issue where the restart command was getting copies of all its
14897 arguments for each time the applet was restarted.
14899 2005-11-02 Robert Love <rml@novell.com>
14901 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14902 if the widget state differs from our saved state. This ensures we
14903 do not enter an endless loop of death and destruction. Also, this
14904 guarantees us that we enforce the widget state.
14906 2005-11-02 Robert Love <rml@novell.com>
14908 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14909 * gnome/applet/applet-dbus-devices.c: invoke the new function
14910 nmwa_enable_wireless_set_active() to ensure that the state of the
14911 'Enable Wireless' checkbox matches the daemon's state. This is a
14912 concern because the daemon remembers the state.
14914 2005-11-02 Robert Love <rml@novell.com>
14916 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14917 Enabled", as checkboxes should be actions/commands not positive
14918 statements, otherwise they are confusing in the unselected case. See
14919 examples in GNOME HIG, Chapter 6.
14921 2005-11-02 Robert Love <rml@novell.com>
14923 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
14924 show a list of wireless networks or the wireless devices or the
14925 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
14926 a bad bug: If wireless is disabled and the user picks a wireless
14927 network, NM will switch to the network, only to immediately switch
14928 back, as wireless is disabled. This also reassures people that NM
14929 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
14931 2005-11-02 Christopher Aillon <caillon@redhat.com>
14933 * gnome/applet/applet.c:
14934 * gnome/applet/applet.h:
14935 Partial backout of Dan's timeout animation patch.
14936 Timeout IDs cannot legally be 0, so revert the code in place to handle
14937 a timeout ID of 0 to denote the timeout isn't running.
14939 2005-11-02 Christopher Aillon <caillon@redhat.com>
14941 * src/NetworkManagerPolicy.c:
14942 (nm_policy_device_change_check) Clarify wireless switch nm_info text
14944 2005-10-28 Robert Love <rml@novell.com>
14946 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14947 "Import Saved Configuration..." to make it clear that importing is
14948 not the next step, but an option. As an aside, a nice TODO would be
14949 to move Importing out of the vpn-specific dialog and into the main
14950 property editor, as Importing goes with Adding, but that will require
14951 some rearchitecting of the VPN stuff I suspect.
14953 2005-10-27 Dan Williams <dcbw@redhat.com>
14955 Start using libnl. You need 1.0-pre3 or higher. Eventually
14956 we should replace most of the distro-specific backend code
14959 Get it here: http://people.suug.ch/~tgr/libnl/
14963 - Add checks for libnl pkgconfig file
14964 - Use LIBNL_LIBS & LIBNL_CFLAGS
14966 * src/NetworkManagerSystem.c
14967 src/nm-ip4-config.[ch]
14968 - Use libnl rather than ioctl() for most things
14969 - Remove unused functions
14971 2005-10-27 Robert Love <rml@novell.com>
14973 * src/backends/NetworkManagerSuSE.c: fix warning message text
14975 2005-10-27 Christopher Aillon <caillon@redhat.com>
14977 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14979 2005-10-27 Christopher Aillon <caillon@redhat.com>
14981 * gnome/applet/applet.c: The applet's about dialog can advertise our
14982 project page <http://www.gnome.org/projects/NetworkManager/>
14984 2005-10-26 Christopher Aillon <caillon@redhat.com>
14986 * gnome/applet.c: Also use translator credits if we don't have
14987 the new GtkAboutDialog (older versions of GTK+)
14989 2005-10-26 Robert Love <rml@novell.com>
14991 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14992 failure; correct usage text for "--no-daemon"
14994 2005-10-25 Dan Williams <dcbw@redhat.com>
14996 * src/NetworkManagerDevice.c
14997 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14999 - (free_process_scan_cb_data): unref the device when freeing results
15000 - (nm_device_wireless_process_scan_results): free scan results a bit later
15001 so we don't unref the device underneath ourselves
15003 2005-10-25 Dan Williams <dcbw@redhat.com>
15005 * Back out 2005-10-24 commit from Tor Krill. Patch
15006 causes nameservers never to be removed from named.
15008 2005-10-24 Dan Williams <dcbw@redhat.com>
15010 Clean up wireless scanning and wireless link probing.
15012 * src/NetworkManagerDevice.c
15013 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15014 just see if there's an activation request on the device, and check the
15015 current link against the activation request access point's ESSID.
15016 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15017 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15018 don't call process_scan_results() on zero-length data
15019 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
15020 15 seconds (from 10)
15022 2005-10-24 Dan Williams <dcbw@redhat.com>
15024 Cleanup some applet stuff:
15026 - Animation timeouts. If NM died while the applet was animating,
15027 the applet would not hide itself. This is now fixed.
15029 - Remove some dead code
15031 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15032 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15034 - Track animation timeout using a gboolean rather than the timeout's
15035 ID, since timeout IDs can legally be 0.
15037 2005-10-24 Dan Williams <dcbw@redhat.com>
15039 * src/backends/interface_parser.c
15040 - Add void to function declarations that need it
15041 to match patch from Engin AYDOGAN
15043 * src/backends/interface_parser.h
15044 - Remove unused prototype for ifparser_interfaces()
15046 Patch from Engin AYDOGAN <engin@bzzzt.biz>
15047 * src/backends/interface_parser.h:
15048 - Compile fixes for gcc 4.0.2 (add void)
15050 2005-10-24 Dan Williams <dcbw@redhat.com>
15052 Patch from Tor Krill <tor@krill.nu>
15053 * src/named-manager/nm-named-manager.c
15054 - Write more than just the first nameserver to /etc/resolv.conf
15055 - Write out valid /etc/resolv.conf on exit
15057 2005-10-21 Christopher Aillon <caillon@redhat.com>
15059 * gnome/applet/applet-dbus-vpn.c:
15060 Get rid of spurious newlines in debug console output
15062 2005-10-21 Christopher Aillon <caillon@redhat.com>
15064 * src/backends/NetworkManagerGentoo.c:
15065 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
15067 2005-10-20 Robert Love <rml@novell.com>
15069 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15070 direct comparison of floating point values, which is never correct.
15071 Also some misc. cleanup.
15073 2005-10-19 Robert Love <rml@novell.com>
15075 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15077 2005-10-19 Robert Love <rml@novell.com>
15079 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15080 sensitivity of the buttons. Specificaly, do the right thing if
15081 there are no entries.
15083 2005-10-19 Christopher Aillon <caillon@redhat.com>
15085 * configure.in: Update check for adequate wireless-tools
15086 with an AC_TRY_COMPILE for the new symbols we use.
15088 2005-10-19 Dan Williams <dcbw@redhat.com>
15090 * src/NetworkManagerDevice.c
15091 - (process_scan_results): don't drop the last (or only)
15092 access point we see
15094 2005-10-19 Christopher Aillon <caillon@redhat.com>
15096 * src/backends/NetworkManagerSlackware.c:
15097 Patch from Nico <lordllucifer@gmail.com>
15098 - Update the Slackware backend.
15100 2005-10-18 Christopher Aillon <caillon@redhat.com>
15102 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15103 if we've got GLib 2.8.0
15105 2005-10-18 Robert Love <rml@novell.com>
15107 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15108 function nm_schedule_state_change_signal_broadcast() when we
15109 deactivate a device, too.
15111 2005-10-18 Robert Love <rml@novell.com>
15113 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15114 be used uninitialized.
15116 2005-10-18 Christopher Aillon <caillon@redhat.com>
15118 * test/libnm_glib_test.c: Test unregistering, too.
15120 2005-10-17 Christopher Aillon <caillon@redhat.com>
15122 * configure.in: Bump to 0.5.0
15124 2005-10-17 Dan Williams <dcbw@redhat.com>
15127 - Remove WPA-related constants so they aren't part of the
15130 2005-10-17 Christopher Aillon <caillon@redhat.com>
15132 * gnome/applet/applet.c:
15133 * gnome/applet/applet.h:
15134 Desensitize the 'Connection Information' menu item when there is
15135 no active connection.
15137 2005-10-17 Christopher Aillon <caillon@redhat.com>
15139 * gnome/libnm_glib/libnm_glib.c:
15140 Make libnm_glib_unregister_callback () actually unregister the callback
15142 2005-10-17 Robert Love <rml@novell.com>
15144 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15145 two seconds -- tries is updated every 1/10 of a second, not every
15148 2005-10-17 Christopher Aillon <caillon@redhat.com>
15150 * gnome/applet/applet-dbus-info.c:
15151 Let D-BUS know that we haven't handled a message when we haven't.
15153 2005-10-17 Robert Love <rml@novell.com>
15155 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15156 in order to remain 64-bit clean.
15158 2005-10-17 Christopher Aillon <caillon@redhat.com>
15160 * gnome/applet/applet-dbus-info.c:
15161 Find network encryption keys asynchronously
15163 2005-10-17 Robert Love <rml@novell.com>
15165 * src/backends/NetworkManagerDebian.c,
15166 src/backends/NetworkManagerRedHat,
15167 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15170 2005-10-17 Robert Love <rml@novell.com>
15172 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15175 2005-10-17 Christopher Aillon <caillon@redhat.com>
15177 * src/NetworkManagerDevice.c: (process_scan_results)
15178 Fix logic that checks to see whether we have an ESSID.
15180 2005-10-15 Dan Williams <dcbw@redhat.com>
15182 Move scanning code into NetworkManager rather than use iwlib's
15183 iw_scan() function, so that we can figure out AP capabilities.
15186 - Add AP capability bits
15188 * src/NetworkManagerAP.[ch]
15189 - Add capability field to NMAccessPoint structure
15190 - Add WPA & RSN Information Element fields and accessor
15191 functions to NMAccessPoint
15193 * src/NetworkManagerDevice.c
15194 - Remove usage of iw_scan
15195 - Add scanning code to NetworkManager rather than use
15196 iw_scan() from iwlib
15198 * src/NetworkManagerUtils.[ch]
15199 - (nm_dispose_scan_results): remove, unused
15201 2005-10-14 Christopher Aillon <caillon@redhat.com>
15203 * gnome/libnm_glib/libnm_glib.c:
15204 * gnome/libnm_glib/libnm_glib.h:
15205 Use guint instead of gint for callback IDs.
15207 2005-10-12 Christopher Aillon <caillon@redhat.com>
15209 * gnome/applet/applet.c:
15210 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
15211 every 1000ms. It will unconditionally call nmwa_update_state which
15212 kills the existing animation timeout and registers a new one with a
15213 callback to draw a new frame every 100ms. There are 11 connecting
15214 icon frames, so the last 2 frames kept getting dropped. Only reset
15215 the animation timeout if we aren't animating.
15217 2005-10-11 Dan Williams <dcbw@redhat.com>
15219 * gnome/applet/applet-dbus-devices.c
15220 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15221 We want to grab the product & vendor from net.physical_dev
15222 rather than info.parent.
15224 2005-10-11 Dan Williams <dcbw@redhat.com>
15226 * src/NetworkManagerDevice.c
15227 - Use the driver's WE version for scanning rather than
15228 the WE version NM was compiled with. Fixes random
15229 crashes in iw_scan () in iwlib.
15231 2005-10-10 Dan Williams <dcbw@redhat.com>
15233 * Remove nm_system_load_device_modules() from backend files
15234 and from NetworkManager.c
15236 2005-10-10 Dan Williams <dcbw@redhat.com>
15238 * src/NetworkManagerPolicy.c
15239 - Fix some bugs introduced by the capabilities patch
15241 2005-10-10 Dan Williams <dcbw@redhat.com>
15243 * gnome/applet/applet-dbus-info.c
15244 - (nmi_dbus_get_network_key): hide the menu when putting up
15245 the keyring dialog. (not sure if the code is right...)
15247 2005-10-09 Dan Williams <dcbw@redhat.com>
15249 Patch from Bill Moss <bmoss@clemson.edu>
15250 * src/NetworkManagerDevice.c
15251 - (nm_device_set_user_key_for_network): don't try to set auth
15252 mode on the AP from the allowed list if it's NULL
15254 2005-10-09 Dan Williams <dcbw@redhat.com>
15256 * Replace the "driver support level" stuff with capabilities. The
15257 capability field is a bitfield that is more flexible than the
15258 old driver support level thing. It's mostly so we can easily
15259 figure out what supports WPA and what doesn't, but should be
15260 quite useful later.
15262 2005-10-09 Dan Williams <dcbw@redhat.com>
15269 - Added new "nm-tool" tool that gives quite a bit more
15272 2005-10-07 Robert Love <rml@novell.com>
15274 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15275 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15276 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15277 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15280 2005-10-07 Robert Love <rml@novell.com>
15282 * configure.in: Change our compile flags for the betterment of mankind.
15283 Add "-Wstrict-prototypes" because we comply anyhow and missing a
15284 prototype is very bad on 64-bit platforms as types default to int but
15285 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15286 "-Wmissing-declarations" to warn if we define an exported function
15287 but fail to put it in a header.
15289 2005-10-07 Robert Love <rml@novell.com>
15291 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15292 by the name nm_update_device_wireless_timeouts() and once tried,
15293 without success, to steal my pet turtle.
15295 2005-10-07 Robert Love <rml@novell.com>
15297 * Cleanup prototypes: put some functions in header files and mark
15298 others as 'static' -- feel free to invert
15299 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15300 nm_vpn_manager_vpn_connection_list_copy()
15301 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15302 nm_vpn_service_get_dbus_connection()
15303 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15304 nm_vpn_manager_vpn_connection_list_copy()
15305 * src/vpn-manager/nm-vpn-service.c: make
15306 nm_vpn_service_act_request_failed() and
15307 nm_vpn_service_stage2_daemon_wait() static
15308 * src/vpn-manager/nm-vpn-service.h: add prototype for
15309 nm_vpn_service_get_dbus_connection()
15311 2005-10-06 Christopher Aillon <caillon@redhat.com>
15313 * gnome/applet/applet.c:
15314 * gnome/applet/applet.h:
15315 * gnome/applet/icons/Makefile.am:
15316 Convey information about the current connection stage in the
15317 icons themselves instead of creating a separate progress bar.
15319 2005-10-04 Robert Love <rml@novell.com>
15321 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15322 convert an ether_addr structure's MAC into a string, because the
15323 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15324 versus 07:3B:04, while the former will not.
15326 2005-10-04 Robert Love <rml@novell.com>
15328 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15329 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15330 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15331 default route in the 'Connection Information' dialog, send primary
15332 and secondary name servers in in "getProperties" DBUS method, add
15333 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15334 secondary domain name servers are crucial pieces of information
15335 that a user might need in debugging a network problem.
15337 2005-10-04 Robert Love <rml@novell.com>
15339 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15340 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15341 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15342 default route in the 'Connection Information' dialog, send default
15343 route in "getProperties" DBUS method, add network_device_set_route(),
15344 and network_device_get_route(). The Gateway is a crucial piece of
15345 connection-related information that a user might need in debugging a
15348 2005-10-03 Robert Love <rml@novell.com>
15350 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15353 2005-10-02 Dan Williams <dcbw@redhat.com>
15355 * Shorten time taken to sleep by fastpathing bits of device deactivation
15356 necessary for sleep.
15358 * Fix issue where deactivating a device might deactivate the active
15359 VPN connection, even if the VPN was not using the device.
15361 2005-10-02 Dan Williams <dcbw@redhat.com>
15363 * gnome/applet/applet.c
15364 - Adjust signal strength -> icon mapping values slightly
15365 (so that 51% signal doesn't show a 75% icon) by adding
15366 5% to the values. ex: > 5% now shows 25% icon, > 30%
15367 shows 50% icon, etc.
15369 2005-09-29 Robert Love <rml@novell.com>
15371 * src/NetworkManager.c: removed unused variable.
15373 2005-09-28 Dan Williams <dcbw@redhat.com>
15375 Support for named + DBus, using Red Hat DBus patches for named. You
15376 can find those patches here, with "dbus" in the patch's filename:
15378 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15380 Don't forget the named dbus service file either.
15382 Instead of writing a config file and spawing a named process, NM will
15383 use an already-running dbus-enabled named if it finds one. NM will
15384 update named's forwarder configuration on the fly using dbus.
15386 If there is no dbus-enabled named running, NM will automatically fall
15387 back to writing the most-recent DNS server information to /etc/resolv.conf
15388 and calling nm_system_update_dns() to kick the system's resolver.
15390 Accordingly, all named-related configure-time options have been removed.
15392 2005-09-26 Robert Love <rml@novell.com>
15394 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15396 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15397 bug in error path if "ASKPASSWORD" is "no".
15399 2005-09-26 Robert Love <rml@novell.com>
15401 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15402 comment in /etc/resolv.conf -- ';' is not.
15404 2005-09-19 Dan Williams <dcbw@redhat.com>
15406 * src/backends/NetworkManagerRedHat.c:
15407 * src/backends/NetworkManagerDebian.c:
15408 * src/backends/NetworkManagerSlackware.c:
15409 * src/backends/NetworkManagerGentoo.c:
15410 * src/backends/NetworkManagerSUSE.c:
15411 Fix invocations of "/sbin/ip address" to use short form instead
15413 2005-09-19 Christopher Aillon <caillon@redhat.com>
15415 * src/nm-dbus-device.c: Don't assert when getting
15416 addresses of a not yet connected interface.
15418 * gnome/applet/applet.c: Free icons if loading fails.
15419 Use translator-credits so translators can make themselves known.
15421 2005-09-15 Christopher Aillon <caillon@redhat.com>
15423 * src/NetworkManagerAP.c:
15424 * src/NetworkManagerAP.h:
15425 * src/NetworkManagerDevice.c:
15426 Set a blacklist for certain common manufacturer default ESSIDs:
15427 APs with these ESSIDs are extremely likely to be completely
15428 different networks: connecting to one should not make NM
15429 auto-connect to every other AP with the same default ESSID.
15431 2005-09-12 Christopher Aillon <caillon@redhat.com>
15433 * gnome/applet/wireless-applet.glade:
15434 The passphrase entry should also activate the default
15436 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15438 * gnome/applet/applet-dbus-devices.c:
15439 * gnome/applet/applet.c:
15440 * gnome/applet/nm-device.c:
15441 * gnome/applet/nm-device.h:
15442 * src/NetworkManagerUtils.c:
15443 * src/NetworkManagerUtils.h:
15444 * src/nm-dbus-device.c:
15445 I've got a fever, and the only cure for it is less ioctl.
15446 Make NM push IP data rather than make the applet open a socket
15449 2005-09-10 Christopher Aillon <caillon@redhat.com>
15451 * gnome/applet/applet.c:
15452 * gnome/applet/applet-dbus-devices.c:
15453 * gnome/applet/applet-dbus-info.c:
15454 * gnome/applet/passphrase-dialog.c:
15455 * gnome/libnm_glib/libnm_glib.c:
15456 * gnome/vpn-properties/nm-vpn-properties.c:
15458 * src/backends/NetworkManagerRedHat.c:
15459 * src/named-manager/nm-named-manager.c:
15460 * src/NetworkManagerAPList.c:
15461 * src/NetworkManager.c:
15462 * src/NetworkManagerDbus.c:
15463 * src/NetworkManagerDevice.c:
15464 * src/NetworkManagerPolicy.c:
15465 * src/NetworkManagerSystem.c:
15466 * src/nm-dbus-device.c:
15467 * src/nm-dbus-nm.c:
15468 * src/vpn-manager/nm-vpn-manager.c:
15469 * src/vpn-manager/nm-vpn-service.c:
15470 * test/libnm_glib_test.c:
15471 * test/nminfotest.c:
15472 * test/nmtestdevices.c:
15473 Fix a bunch of 'unused variable' compiler warnings
15475 * NetworkManager.h:
15476 * gnome/applet/applet-dbus-info.c:
15477 * gnome/applet/applet-dbus-info.h:
15478 * gnome/applet/applet.c:
15479 * gnome/applet/applet.h:
15480 * src/NetworkManager.c:
15481 * src/NetworkManagerDbus.c:
15482 * src/NetworkManagerDbus.h:
15483 * src/NetworkManagerDevice.c:
15484 * src/NetworkManagerDevice.h:
15485 * src/NetworkManagerMain.h:
15486 * src/NetworkManagerWireless.c:
15487 * src/NetworkManagerWireless.h:
15488 * src/nm-dbus-nm.c:
15489 Make NetworkManager be smart about how frequently to scan
15490 based on its current state. Remove the UI for choosing when
15491 to scan. Scanning still may disabled completely by the user
15492 via the "Wireless Enabled" menu item.
15494 2005-09-09 Christopher Aillon <caillon@redhat.com>
15496 * gnome/applet/applet.c:
15497 Also overlay the vpn connecting icons onto the wired icon,
15500 * gnome/vpn-properties/nm-vpn-properties.glade:
15501 Clean up a few strings to use better grammar and proper casing.
15503 2005-09-08 Christopher Aillon <caillon@redhat.com>
15505 * gnome/applet/vpn-connection.c:
15506 * gnome/applet/vpn-connection.h:
15507 Add nmwa_vpn_connection_is_activating ()
15509 * gnome/applet/applet.c:
15510 * gnome/applet/applet.h:
15511 * gnome/applet/icons/nm-vpn-connecting*.png:
15512 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15513 the user know something's happening between clicking the VPN item and it
15514 actually being connected.
15516 2005-09-07 Christopher Aillon <caillon@redhat.com>
15518 * gnome/applet/applet-dbus-info.c: need to free attributes in the
15519 failure case as well.
15521 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
15523 * gnome/panel/eggtrayicon.[ch]:
15524 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15526 2005-09-07 Dan Williams <dcbw@redhat.com>
15528 Patch from Bill Moss <bmoss@clemson.edu>
15529 * src/applet-dbus.c
15530 - (nmwa_dbus_filter): strip whitespace from beginning
15531 and end of VPN login banner
15533 2005-09-07 Dan Williams <dcbw@redhat.com>
15535 * The great VPN Manager rewrite of 2005
15537 2005-09-07 Christopher Aillon <caillon@redhat.com>
15539 * gnome/applet/menu-items.c:
15540 * gnome/applet/nm-device.c:
15541 * gnome/applet/wireless-network.c:
15542 * gnome/libnm_glib/libnm_glib.c:
15543 * src/NetworkManagerDbusUtils.c:
15544 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15545 g_malloc0 doesn't return NULL
15547 2005-09-06 Dan Williams <dcbw@redhat.com>
15549 Patch from Tomislav Vujec <tvujec@redhat.com>
15550 * src/NetworkManagerDevice.c
15551 - (nm_get_device_by_udi): don't return a device when we
15552 actually didn't find what we were looking for
15554 2005-09-06 Christopher Aillon <caillon@redhat.com>
15556 * gnome/applet/applet-dbus-devices.c:
15557 * gnome/applet/applet-dbus-devices.h:
15558 * gnome/applet/applet-dbus.c:
15559 * src/NetworkManagerDbus.c:
15560 * src/NetworkManagerDbus.h:
15561 * src/NetworkManagerDevice.c:
15562 * src/nm-dbus-device.c:
15563 Make NM push updates about active device strength when it changes,
15564 rather than having the applet poll every 2s.
15566 2005-09-05 Christopher Aillon <caillon@redhat.com>
15568 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15569 network_device_set_strength
15571 2005-09-04 Dan Williams <dcbw@redhat.com>
15573 Patch from Bill Nottingham <notting@redhat.com>
15574 * src/NetworkManagerDevice.c
15575 - (nm_device_activation_cancel): reset the quit_activation flag
15577 2005-09-04 Dan Williams <dcbw@redhat.com>
15579 * src/nm-activation-request.c
15580 - (nm_act_request_unref): actually free the structure,
15581 which we didn't seem to be doing before
15583 2005-09-04 Dan Williams <dcbw@redhat.com>
15585 Patch from John Palmieri <johnp@redhat.com>
15586 * gnome/applet/applet-dbus-devices.c
15587 - Fix up unreffing of DBusMessage objects
15589 2005-09-04 Dan Williams <dcbw@redhat.com>
15591 Patch from John Palmieri <johnp@redhat.com>
15592 * gnome/applet/nm-device.c
15593 - (nm_device_unref): clear network_device's memory _before_ freeing it
15595 2005-09-02 Christopher Aillon <caillon@redhat.com>
15597 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15599 2005-09-02 Bill Nottingham <notting@redhat.com>
15601 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15603 2005-09-01 Dan Williams <dcbw@redhat.com>
15605 * src/NetworkManager.c
15606 - (nm_remove_device_from_list): rename to nm_remove_device
15607 - (nm_hal_device_removed): call nm_remove_device()
15609 * src/NetworkManagerDevice.c
15610 - Change the NMWirelessScanCB member 'reschedule' which
15611 wasn't used to 'force' to indicate that we need to
15612 force a scan when adding a device
15615 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15616 from the device list
15617 - (nm_dbus_nm_wake): Re-add all devices to the device list
15619 2005-09-01 Robert Love <rml@novell.com>
15621 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15622 and the check "!iface" in the error case is probably never true.
15624 2005-09-01 Dan Williams <dcbw@redhat.com>
15626 Patch from Bill Nottingham <notting@redhat.com>
15627 * src/backends/NetworkManagerRedHat.c
15628 - Add initial dialup support to Red Hat/Fedora backend
15630 2005-09-01 Dan Williams <dcbw@redhat.com>
15632 * gnome/applet/applet-dbus-devices.c
15633 - Sort both wireless networks and devices again, which got
15634 broken when removing threading
15636 2005-09-01 Christopher Aillon <caillon@redhat.com>
15638 * gnome/applet/applet.c:
15639 Only show the "Stop/Start All Wireless Devices" menuitem
15640 if we actually have wireless devices.
15642 * gnome/applet/applet-dbus-info.c:
15643 * gnome/applet/applet.c:
15644 * gnome/applet/other-network-dialog.c:
15645 * gnome/applet/vpn-password-dialog.c:
15646 Drop the gtk_dialog_run () calls in favor of connecting to
15647 "response" signals, needed now that the applet is not threaded.
15649 2005-08-31 Dan Williams <dcbw@redhat.com>
15651 Patch from Bill Moss <bmoss@clemson.edu>
15652 * src/NetworkManagerDevice.c
15653 - (nm_device_wireless_scan): fix scan timeout values
15655 2005-08-30 Dan Williams <dcbw@redhat.com>
15657 * gnome/applet/wireless-applet.glade
15658 - HIG-ify the Other Wireless Networks dialog a bit more
15659 - Fix some potential segfaults in the info dialog
15661 2005-08-30 Dan Williams <dcbw@redhat.com>
15663 * gnome/applet/applet-dbus-devices.c
15664 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15666 2005-08-30 Dan Williams <dcbw@redhat.com>
15668 * gnome/applet/applet-dbus.[ch]
15669 - Remove all the nmwa_dbus_call_method_xxxx functions since
15670 they weren't being used anyway
15672 2005-08-30 Bastien Nocera <hadess@hadess.net>
15674 * test/nmtestdevices.c: (print_usage), (main):
15675 Check the number of arguments, and fix a typo
15677 2005-08-29 Dan Williams <dcbw@redhat.com>
15679 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15680 * gnome/applet/applet.c
15681 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15683 2005-08-29 Dan Williams <dcbw@redhat.com>
15686 - Don't use threads any more. Anything that blocks
15687 (like gtk_dialog_run()) will have to get fixed up which
15688 should happen quickly. We really only had threads to make
15689 the animation smooth, and when everything got converted over
15690 to DBus Pending Calls, the need for threads kind of went away
15692 2005-08-29 Christopher Aillon <caillon@redhat.com>
15694 * gnome/applet/applet.c: Draw VPN connections as radio items
15695 since we don't yet support multiple VPNs.
15696 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15697 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15699 2005-08-29 Dan Williams <dcbw@redhat.com>
15701 Patch from j@bootlab.org
15702 - Make --without-named work
15703 - Make --with-dhcdbd work correctly
15705 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
15707 * configure.in: Added "ca" to ALL_LINGUAS.
15709 2005-08-26 Christopher Aillon <caillon@redhat.com>
15711 * Fix up VPN state handling between the applet and NetworkManager,
15712 so that the applet doesn't show a VPN as connected when one
15714 - The applet no longer has a pointer to the active VPN's
15715 name, but tracks each VPNs state individually
15716 - NM no longer has a "getActiveVPNConnection" method
15717 - NM no longer broadcasts the "VPNConnectionChange" signal
15718 - NM now broadcasts a "VPNConnectionStateChange" signal
15719 whenever the state of a VPN changes
15721 2005-08-26 Dan Williams <dcbw@redhat.com>
15723 * gnome/applet/applet-dbus-devices.c
15724 gnome/applet/applet-dbus-vpn.c
15725 - Remove calls to dbus_pending_call_ref() because we already
15726 "own" the pending call
15727 - Remove calls to dbus_pending_call_get_completed() because
15728 when we are in the callback, the pending call is completed
15731 2005-08-22 Dan Williams <dcbw@redhat.com>
15733 Patch by Bill Moss <bmoss@clemson.edu>
15734 * src/dhcp-manager/nm-dhcp-manager.c
15735 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15736 some time to send out a RELEASE if they like
15738 2005-08-22 Dan Williams <dcbw@redhat.com>
15740 Noticed by Bill Moss <bmoss@clemson.edu>
15741 * src/NetworkManagerDbus.c
15742 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15743 instead of just cancelling its activation
15745 * src/NetworkManagerDevice.c
15746 - (nm_device_deactivate): some small cleanups
15747 - (nm_device_set_user_key_for_network): deactivate the device
15748 instead of just cancelling its activation
15750 2005-08-22 Dan Williams <dcbw@redhat.com>
15752 Noticed by Bill Moss <bmoss@clemson.edu>
15753 * src/NetworkManagerDevice.c
15754 - (nm_device_wireless_scan): fix scan timeout, we were
15755 waiting way too long for scans to complete
15757 2005-08-22 Dan Williams <dcbw@redhat.com>
15759 Patch from j@bootlab.org:
15760 * src/backends/NetworkManagerDebian.c
15761 - Make the Debian backend work for static IP again
15763 2005-08-20 Christopher Aillon <caillon@redhat.com>
15765 * gnome/applet/other-network-dialog.c:
15766 The "Create New Network" and "Connect to Other Network"
15767 dialogs share alot of code, but shouldn't share a window
15768 title. Give them different ones.
15770 * gnome/applet/wireless-applet.glade:
15771 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15772 Some more minor UI tweaks.
15774 2005-08-19 Christopher Aillon <caillon@redhat.com>
15776 * gnome/applet/other-network-dialog.c:
15777 * gnome/applet/wireless-applet.glade:
15778 Also need mnemonic widgets, and underline enabled.
15780 2005-08-19 Dan Williams <dcbw@redhat.com>
15782 * vpn-daemons/vpnc/nm-vpnc-service.c
15783 - (vpnc_watch_cb): remove no-longer-relevant comment
15784 - (write_config_option): new function, helper to write
15785 config options to vpnc's stdin
15786 - (nm_vpnc_config_write): use the new helper, make the
15789 2005-08-19 Christopher Aillon <caillon@redhat.com>
15791 * gnome/applet/passphrase-dialog.c:
15792 * gnome/applet/wireless-applet.glade:
15793 Make the passphrase dialog response based, and treat
15794 responses other than OK (such as Esc, [X]) as a cancel.
15796 2005-08-18 Christopher Aillon <caillon@redhat.com>
15798 * initscript/Gentoo/NetworkManager:
15799 * initscript/RedHat/NetworkManager:
15800 * initscript/RedHat/NetworkManagerDispatcher:
15801 * initscript/SUSE/networkmanager:
15802 CVS remove these in place of .in replacements
15805 * initscript/Gentoo/NetworkManager.in:
15806 * initscript/RedHat/NetworkManager.in:
15807 * initscript/RedHat/NetworkManagerDispatcher.in:
15808 * initscript/SUSE/networkmanager.in:
15809 These scripts now are generated so they work still when
15810 NM is built using a bindir other than /usr/bin
15812 2005-08-18 Dan Williams <dcbw@redhat.com>
15814 * gnome/applet/main.c
15815 - Revert previous change for --no-session since
15816 --sm-disable does the same thing
15818 2005-08-18 Dan Williams <dcbw@redhat.com>
15820 * gnome/applet/applet-dbus-info.c
15821 - (nmi_dbus_create_error_message): new function
15822 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15823 functions. Also don't check for both device _and_ network before
15824 asking for a user's key, because we may not have gotten all our
15825 networks back from NM quite yet (due to the dbus pending calls
15826 coming in later). Fixes a hang in NM/nm-applet.
15828 * src/NetworkManagerDbus.c
15829 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15830 slightly more sane manner, even though we are still broken for
15831 certain other error conditions.
15832 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15833 to the info-daemon too
15835 * src/NetworkManagerDevice.c
15836 - Fix some debug messages to be info messages instead
15838 2005-08-18 Dan Williams <dcbw@redhat.com>
15840 * gnome/applet/main.c
15841 - Add new "--no-session" parameter that disables applet
15842 session management, ie for testing
15844 2005-08-18 Christopher Aillon <caillon@redhat.com>
15846 * gnome/applet/other-network-dialog.c:
15847 * gnome/applet/wireless-applet.glade: More mnemonics
15849 2005-08-17 Robert Love <rml@novell.com>
15851 * initscript/SUSE/networkmanager: update
15853 2005-08-17 Dan Williams <dcbw@redhat.com>
15855 * Tag NM_0_4_1_RELEASE
15857 2005-08-17 Christopher Aillon <caillon@redhat.com>
15859 * gnome/applet/applet.c: More translatable string cleanup
15862 2005-08-17 Dan Williams <dcbw@redhat.com>
15864 * gnome/applet/applet-dbus-info.c
15865 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15866 from the dbus message, which tells us to unconditionally
15867 ask the user for a new key. Otherwise, we pull the key from
15868 the keyring and return it. If we fail to get the key from the
15869 keyring, we ask the user for a new key.
15870 - (nmi_dbus_get_network_key): new function to grab the key for
15871 an essid from the keyring.
15872 - (nmi_dbus_get_network_properties): don't access the keyring here.
15873 Also, don't return any key in the dbus message.
15875 * src/NetworkManagerDbus.[ch]
15876 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15877 indicate that we unconditionally want a new key. This function
15878 is now also used to get keys from the info-daemon which are
15879 pre-stored, not just for asking the user for a new key. The
15880 "new_key" parameter indicates whether or not we wish to ask the
15881 user for a new key.
15882 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15883 info-daemon in the return message, so use NULL instead. The
15884 key will be filled in at connect time by calling
15885 nm_dbus_get_user_key_for_network()
15887 * src/NetworkManagerDevice.c
15888 - (nm_device_wireless_configure): update for "new_key" param to
15889 nm_dbus_get_user_key_for_network(). We initially set new_key
15890 to FALSE to see if we have a stored key in the info-daemon, but
15891 if the connection is unsuccessful at this stage we request a
15894 2005-08-17 Dan Williams <dcbw@redhat.com>
15896 * gnome/applet/icons/nm-no-connection.png
15897 gnome/applet/icons/nm-device-wired.png
15898 - Use Diana's new RJ45 connector icons
15900 2005-08-17 Dan Williams <dcbw@redhat.com>
15902 * src/NetworkManagerPolicy.c
15903 - (nm_policy_device_change_check): clarify switching rules if
15904 both new and old devices are valid; mainly, don't switch
15905 away from user-requested wireless connection back to a wired
15908 2005-08-17 Dan Williams <dcbw@redhat.com>
15910 * gnome/applet/Makefile.am
15911 - Relocate the applet to /usr/bin since it is no longer
15912 executed by anything, but directly by the user
15914 2005-08-17 Dan Williams <dcbw@redhat.com>
15916 Patch from Bill Moss <bmoss@clemson.edu>
15918 * gnome/applet/applet-dbus-info.[ch]
15919 - (nmi_save_network_info): save timestamp for network if it
15920 was a change requested by the user
15921 - (nmi_dbus_update_network_info): get user_requested from dbus
15922 message and pass to nmi_save_network_info()
15924 * gnome/applet/applet.c
15925 - (nmwa_update_network_timestamp): remove
15926 - (nmwa_menu_item_activate): don't set timestamp on networks
15927 here, only after a successful connect in nmi_save_network_info()
15929 * src/NetworkManagerDbus.[ch]
15930 - (nm_dbus_update_network_info): pass user_requested into the
15933 * src/NetworkManagerPolicy.c
15934 - (nm_policy_activation_finish): pass user_requested to
15935 nm_dbus_update_network_info()
15937 2005-08-16 Robert Love <rml@novell.com>
15939 * gnome/applet/applet.c: Better "Dial Up" menu item.
15941 2005-08-16 Robert Love <rml@novell.com>
15943 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15944 "Connection Information" menu item.
15946 2005-08-16 Dan Williams <dcbw@redhat.com>
15948 Patch from j@bootlab.org
15949 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15951 * configure.in: allow specifying the path to dhcdbd
15953 2005-08-16 Robert Love <rml@novell.com>
15955 Patch from j@bootlab.org
15956 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15957 src/backends/interface_parser.h: Debian dialup support.
15959 2005-08-16 Christopher Aillon <caillon@redhat.com>
15961 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15962 * gnome/applet/applet.c: Add some mnemonics for VPNC
15964 * vpn-daemons/.cvsignore: fix this up a little bit
15966 2005-08-16 Robert Love <rml@novell.com>
15968 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15971 2005-08-16 Christopher Aillon <caillon@redhat.com>
15973 * gnome/applet/applet.c: Split markup out of translatable strings
15974 and clean up logic a little bit. (fixes #309012)
15976 2005-08-15 Christopher Aillon <caillon@redhat.com>
15978 * gnome/vpn-properties/nm-vpn-properties.c:
15979 * gnome/vpn-properties/nm-vpn-ui-interface.h:
15980 * vpn-daemons/vpnc/properties/nm-vpnc.c:
15981 Makeshift fix to remove newlines from translatable strings.
15982 Note that we now return an allocated string, so callers of
15983 get_confirmation_details () must now call g_free () on the
15984 result. (fixes #309033).
15986 2005-08-12 Robert Love <rml@novell.com>
15988 * gnome/applet/applet-dbus.c: remove newlines from translatable
15989 strings--not needed here anyway. (fix b.g.o #309011)
15990 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15992 2005-08-11 Robert Love <rml@novell.com>
15994 * gnome/applet/applet.c: mark string as translatable.
15996 2005-08-11 Robert Love <rml@novell.com>
15998 * initscript/SUSE/networkmanager: update.
16000 2005-08-11 Dan Williams <dcbw@redhat.com>
16002 * src/nm-dhcp-manager.c
16003 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16004 an gateway returned from DHCP, try to use the address of the DHCP
16005 server as the gateway instead. Found by Ralf Ertzinger.
16007 2005-08-10 Robert Love <rml@novell.com>
16009 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16010 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16012 2005-08-10 Dan Williams <dcbw@redhat.com>
16014 Patch from Bill Moss <bmoss@clemson.edu>
16015 * Consolidate writes of access point information updates to the info daemon
16016 so that we only do it when the connection to the access point was
16017 successful. Also consolidates updates to GConf in the Gnome applet.
16019 * src/nm-netlink-monitor.c
16020 - Silence compile warning when calling g_object_new()
16022 2005-08-08 Dan Williams <dcbw@redhat.com>
16024 Patch from Steev <steev@steev.net>:
16025 * src/backends/NetworkManagerGentoo.c
16026 - Stub new dialup backend functions
16028 2005-08-08 Dan Williams <dcbw@redhat.com>
16030 Patch from Colin Slater:
16031 * src/backends/NetworkManagerGentoo.c
16032 - (nm_system_update_dns): Fix exit status check for restarting
16035 2005-08-05 Robert Love <rml@novell.com>
16037 * NetworkManager.h,
16038 gnome/applet/applet-dbus-devices.c,
16039 gnome/applet/applet-dbus-devices.h,
16040 gnome/applet/applet-dbus.c,
16041 gnome/applet/applet.c,
16042 gnome/applet/applet.h,
16043 src/NetworkManager.c,
16044 src/NetworkManagerMain.h,
16045 src/NetworkManagerSystem.h,
16046 src/backends/NetworkManagerRedHat.c,
16047 src/backends/NetworkManagerSuSE.c,
16048 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16050 2005-08-05 Robert Love <rml@novell.com>
16052 * gnome/applet/other-network-dialog.c: default the adhoc network to the
16053 machine's hostname to make adhoc creation idiot-proof.
16055 2005-08-04 Robert Love <rml@novell.com>
16057 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16060 2005-08-04 Dan Williams <dcbw@redhat.com>
16062 * gnome/applet/applet-dbus-info.c
16063 gnome/applet/applet-dbus-info.h
16064 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16065 to store key, key type, and auth method rather than just auth method
16066 - (nmi_dbus_update_network_info): new function
16067 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16069 * gnome/applet/passphrase-dialog.c
16070 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16071 of saving the info ourselves
16073 * gnome/libnm_glib/libnm_glib.c
16074 - Remove the stupid version check for dbus
16076 * src/NetworkManagerAP.c
16077 src/NetworkManagerAP.h
16078 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16080 * src/NetworkManagerDbus.c
16081 src/NetworkManagerDbus.h
16082 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16083 more than just the auth method
16085 * src/NetworkManagerDevice.c
16086 - Update network info at the appropriate times
16088 2005-07-29 Ray Strode <rstrode@redhat.com>
16090 * src/NetworkManager.c (nm_info_handler): don't use input as format
16091 string (Spotted by Ian Jackson).
16093 2005-07-27 Dan Williams <dcbw@redhat.com>
16097 - Random cleanups of spacing
16099 * gnome/applet/applet.h
16100 gnome/applet/other-network-dialog.c
16101 gnome/applet/passphrase-dialog.c
16102 - Conslidate usage of NMWAEncryptionKeyTypes enum
16104 Patch from Bill Moss:
16105 - Make Other Wireless Networks work again with encryption keys
16107 2005-07-26 Dan Williams <dcbw@redhat.com>
16109 Patch from Steev <steev@steev.net>:
16110 * src/backends/NetworkManagerGentoo.c
16111 src/backends/Makefile.am
16112 - Fix up Gentoo backend
16114 2005-07-26 Robert Love <rml@novell.com>
16116 * src/backends/NetworkManagerSuSE.c: misc. cleanup
16118 2005-07-25 Robert Love <rml@novell.com>
16120 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16121 in the same group as the wireless networks, since they are all
16122 mutually exclusive.
16124 2005-07-24 Ray Strode <rstrode@redhat.com>
16126 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
16127 remove unneeded NULL arg from g_object_new(). Any
16128 warnings caused by not having the extra NULL are just a
16129 result of a bug in glib 2.7.0 - 2.7.2.
16131 2005-07-22 Robert Love <rml@novell.com>
16133 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16135 2005-07-22 Robert Love <rml@novell.com>
16137 * src/nm-netlink-monitor.c: g_object_new() needs at least three
16138 parameters (gcc 4.0.2 warning fix).
16140 2005-07-18 Robert Love <rml@novell.com>
16142 Suggested by Aaron Bockover (abockover@novell.com)
16143 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16145 * gnome/applet/passphrase-dialog.c: ditto
16146 * gnome/applet/wireless-applet.glade: ditto
16148 2005-07-13 Dan Williams <dcbw@redhat.com>
16150 Patch from Ray Strode <halfline@gmail.com>
16151 * vpn-daemons/vpnc/nm-vpnc-service.c
16152 - Don't let vpnc daemonize, fixes some races with PID file reading
16154 2005-07-13 Dan Williams <dcbw@redhat.com>
16156 Patch from Ray Strode <halfline@gmail.com>
16157 * Random cleanups for strict CFLAGS
16159 2005-07-07 Dan Williams <dcbw@redhat.com>
16161 Patch from Derek Atkins <warlord@MIT.EDU>
16162 * src/nm-dbus-net.c:
16163 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16165 2005-07-07 Dan Williams <dcbw@redhat.com>
16167 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16168 * src/backends/NetworkManagerGentoo.c
16169 - Gentoo backend Static IP nameserver fixes
16170 - General Gentoo backend goodness
16172 2005-07-07 Dan Williams <dcbw@redhat.com>
16174 Patch from Bastien Nocera:
16175 * gnome/applet/applet.c
16176 - Fix up error reporting when icons or glade files are missing
16178 2005-07-07 Robert Love <rml@novell.com>
16180 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16181 are not any VPN connections above it.
16183 2005-07-07 Robert Love <rml@novell.com>
16185 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16187 2005-07-05 Robert Love <rml@novell.com>
16189 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16192 2005-07-05 Robert Love <rml@novell.com>
16194 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16195 on wired or unencrypted wireless.
16197 2005-07-01 Robert Love <rml@novell.com>
16199 * src/NetworkManagerSystem.c: Print the error via strerror().
16201 2005-06-30 Robert Love <rml@novell.com>
16203 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16204 then exit if the glade file is not found. currently the application
16207 2005-06-30 Robert Love <rml@novell.com>
16209 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16210 explicitly up all interfaces on wake from sleep.
16212 2005-06-30 Robert Love <rml@novell.com>
16214 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16215 with information about the currently active connection.
16216 * gnome/applet/applet.h: (ditto)
16217 * gnome/applet/wireless-applet.glade: (ditto), new file
16219 2005-06-30 Robert Love <rml@novell.com>
16221 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16222 * src/nm-dbus-nm.c: print when we sleep and wake up.
16223 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16224 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16225 in /sbin unless D-BUS is, folks).
16226 * README: update to reflect nm-applet replacing NetworkManagerInfo.
16228 2005-06-27 Robert Love <rml@novell.com>
16230 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16233 2005-06-27 Robert Love <rml@novell.com>
16235 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16238 2005-06-26 Robert Love <rml@novell.com>
16240 * src/NetworkManagerDevice.c: be specific about which device in
16243 2005-06-23 Adam Weinberger <adamw@gnome.org>
16245 * src/nm-netlink-monitor.c: correct spelling error.
16247 2005-06-23 Robert Love <rml@novell.com>
16249 * gnome/applet/applet-dbus-info.c: gnome keyring support!
16250 * gnome/applet/passphrase-dialog.c: more of that keyring!
16252 2005-06-23 Robert Love <rml@novell.com>
16254 * configure.in: remove extraneous GNOMEKEYRING directives.
16255 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16256 * gnome/applet/applet.c: nmwa_icons_init: make style local.
16257 * gnome/applet/passphrase-dialog.c: whitespace.
16259 2005-06-23 Robert Love <rml@novell.com>
16261 * src/NetworkManagerDevice.c: division in assignment was flipped.
16263 2005-06-23 David Zeuthen <david@fubar.dk>
16265 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16266 signal to the child to indicate that we got what we wanted when we
16267 see two new-lines right after each other.
16268 (nmwa_vpn_request_password): Pass a structure with several members
16269 instead of just the passwords
16271 2005-06-23 Dan Williams <dcbw@redhat.com>
16273 * src/NetworkManager.c
16274 src/NetworkManagerMain.h
16275 - (nm_get_hal_ctx): new function, move Hal initialization code here
16276 - (nm_hal_init): new function, init libhal context then add devices
16277 - (nm_hal_deinit): new function, clean up libhal context
16278 - (nm_data_free): Move Hal cleanup here
16279 - (main): check whether Hal is running, and if so, get a list of
16280 network devices from it
16282 * src/NetworkManagerDbus.c
16283 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16284 and when it appears, get a list of network devices from it. If
16285 Hal goes away, clean up the libhal context
16287 2005-06-22 Robert Love <rml@novell.com>
16289 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16290 permissions of scripts before executing.
16292 2005-06-21 Robert Love <rml@novell.com>
16294 * initscript/SUSE/networkmanager: update.
16295 * src/backends/NetworkManagerSuSE.c: cleanup.
16297 2005-06-21 Robert Love <rml@novell.com>
16299 * gnome/applet/applet.c: use menu mnemonics.
16300 * gnome/applet/menu-items.c: (ditto)
16302 2005-06-21 Robert Love <rml@novell.com>
16304 * applet/applet-dbus-devices.c: mark non-static functions static.
16305 * applet/applet-dbus-vpn.c: (ditto)
16306 * applet/applet.c: (ditto)
16307 * applet/nm-device.h: (ditto)
16308 * applet/other-network-dialog.c: (ditto)
16309 * applet/passphrase-dialog.c: (ditto)
16310 * NetworkManager.c: (ditto)
16311 * NetworkManagerDbus.c: (ditto)
16312 * NetworkManagerDevice.c: (ditto)
16313 * NetworkManagerPolicy.c: (ditto)
16314 * NetworkManagerUtils.c: (ditto)
16315 * NetworkManagerWireless.c: (ditto)
16316 * NetworkManagerWireless.h: (ditto)
16317 * nm-netlink-monitor.c: (ditto)
16318 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16319 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16320 * autoip.c: include autoip.h.
16321 * autoip.h: new file. define get_autoip().
16322 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16323 * NetworkManagerDbus.h: remove duplicate definitions.
16325 2005-06-20 Robert Love <rml@novell.com>
16327 * Makefile.am: Add missing intltool-foo.in generated files to
16328 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16329 with the start of stuff to cleanup on 'distclea'.
16330 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16331 stuff right and 'distcheck' works.
16332 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16333 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16334 Makefile.am for each. And systray/Makefile needs to be redone.
16336 2005-06-19 Dan Williams <dcbw@redhat.com>
16338 * src/NetworkManagerDevice.c
16339 - (nm_device_wireless_process_scan_results): scan every 20s when
16340 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16342 2005-06-19 Dan Williams <dcbw@redhat.com>
16344 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16346 2005-06-18 Ray Strode <rstrode@redhat.com>
16348 * src/nm-netlink-monitor.c
16349 (nm_netlink_monitor_event_handler): check for the presence
16350 of either error condition not both.
16352 (nm_netlink_monitor_error_handler): emit error signal if
16355 (nm_netlink_monitor_event_handler),
16356 (nm_netlink_monitor_error_handler),
16357 (nm_netlink_monitor_disconnect_handler): if an
16358 assertion fails disconnect the event handler to prevent
16361 * src/nm-netlink-monitor.h: add new error condition
16362 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16364 2005-06-18 Ray Strode <rstrode@redhat.com>
16366 * src/nm-netlink-monitor.c
16367 (nm_netlink_monitor_event_handler): remove bogus < 0
16368 check on unsigned value and return early if the kernel
16369 didn't send any bytes.
16371 2005-06-17 Robert Love <rml@novell.com>
16373 * initscript/SUSE/networkmanager: Change the Provides and default
16376 2005-06-16 Dan Williams <dcbw@redhat.com>
16378 Patch from Robert Love:
16379 * gnome/applet/applet.c
16380 - Beautify some applet menu item names
16382 2005-06-17 David Zeuthen <davidz@redhat.com>
16384 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16385 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16386 Also add new methods can_export, import_file and export.
16388 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16391 * gnome/vpn-properties/nm-vpn-properties.c:
16392 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16393 nm-vpn-ui-interface.h.
16394 (update_edit_del_sensitivity): Also update "Export" sensitivity
16395 (add_vpn_connection): Also add new SVC_NAME column
16396 (import_settings): New function
16397 (retrieve_data_from_selected_connection): New function
16398 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16400 (export_cb): New function
16401 (init_app): Also setup the "export" widget
16402 (main): Support the --import-service and --import-file commandline
16405 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16408 2005-06-16 Dan Williams <dcbw@redhat.com>
16410 Patch from Robert Love:
16411 * gnome/applet/menu-items.c
16412 - (network_menu_item_new): pass -1 as wireless network
16413 menu items height size request rather than ascent / 2
16415 2005-06-16 Dan Williams <dcbw@redhat.com>
16417 * Clean up wording in Wireless Scan Methods menu items and constants
16419 2005-06-16 Robert Love <rml@novell.com>
16422 - remove gtkcell* files
16424 2005-06-15 Dan Williams <dcbw@redhat.com>
16426 Patch from Robert Love: make the applet stetic
16428 * gnome/applet/Makefile.am
16429 - Don't compile the gtkcellview and gtkcellrendererprogress files
16431 * gnome/applet/gtkcellview.h
16432 gnome/applet/gtkcellview.c
16433 gnome/applet/gtkcellrendererprogress.h
16434 gnome/applet/gtkcellrendererprogress.c
16437 * gnome/applet/menu-items.c
16438 - Progress bars are 5:1 size ratio
16439 - Use GTK progress bars rather than internal ones
16441 2005-06-15 Dan Williams <dcbw@redhat.com>
16443 Patch from Robert Love:
16444 * initscript/SUSE/networkmanager
16447 2005-06-15 Dan Williams <dcbw@redhat.com>
16449 * src/backends/NetworkManagerSuSE.c
16450 src/backends/NetworkManagerRedHat.c
16451 src/backends/NetworkManagerDebian.c
16452 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16454 2005-06-15 Dan Williams <dcbw@redhat.com>
16456 * src/backends/NetworkManagerDebian.c
16457 - Add nm_system_device_get_use_dhcp() to debian backend
16459 Patch from Kay Sievers:
16460 * src/backends/NetworkManagerSuSE.c
16461 - Update debian backend for static IP nameservers
16463 * src/NetworkManagerDevice.c
16464 - Actually set the device to use static IP or DHCP rather
16467 2005-06-15 Dan Williams <dcbw@redhat.com>
16469 Patch from Thom May:
16470 * src/backends/NetworkManagerDebian.c
16471 - Update debian backend for static IP nameservers
16473 2005-06-15 Dan Williams <dcbw@redhat.com>
16475 Patches from Robert Love:
16476 * gnome/applet/wireless-applet.glade
16477 - Tighten up wording
16479 * src/NetworkManagerDevice.c
16480 - Remove misplaced ';'
16483 initscript/Makefile.am
16484 initscript/SUSE/Makefile.am
16485 initscript/SUSE/networkmanager
16486 - Add SUSE initscript
16488 2005-06-12 David Zeuthen <davidz@redhat.com>
16490 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16492 * gnome/vpn-properties/nm-vpn-properties.glade: New file
16494 * gnome/vpn-properties/nm-vpn-properties.c: New file
16496 * gnome/vpn-properties/Makefile.am: New file
16498 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16501 * src/vpn-manager/nm-vpn-manager.c
16502 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16503 instead of just a single one
16505 * src/vpn-manager/nm-dbus-vpn.c:
16506 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16508 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16510 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
16511 Change the interface here to give a list of passwords. Also, don't
16512 require username, but do require service
16514 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16515 the binary for the auth-dialog and use that instead of putting up a
16516 dialog asking for a single password
16518 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16519 however do remember the service
16521 * gnome/applet/main.c (main): Setup i18n
16523 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16524 connection to '%s'" to the tooltip if we are connected using VPN
16525 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16526 key to determine whether we the auth-dialog needs to
16527 reprompt. Also cope with the fact that the auth-dialog now returns
16528 an array of passwords.
16529 (nmwa_menu_configure_vpn_item_activate): New handler for
16530 "Configure VPN..." menu item
16531 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16532 (is_vpn_available): New function to determine if we got any
16533 NM-compatible VPN software installed
16534 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16535 items only if we have NM-compatible VPN software installed
16536 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16537 logic for detecting when VPN connections are removed
16539 * gnome/applet/applet-dbus.h: Removed the prototypes for
16540 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16541 since these are defined elsewhere
16543 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16544 function used to keep track of whether the last attempt succeded
16545 (nmwa_dbus_filter): Update last_attempt according to whether the
16546 VPN connection could be established or not
16548 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
16549 Change prototype to take an array of passwords, not just a single
16552 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16553 update service, not user
16554 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16555 dbus_active_vpn_name is not NULL before using it
16556 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16557 string array instead of assuming a single password
16559 * gnome/applet/applet-dbus-info.c:
16560 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16561 user name; don't read from gconf
16563 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
16566 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16568 * configure.in: Add checks for gmodule-2.0.
16569 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16570 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16571 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
16574 * vpn-daemons/Makefile.am: Removed
16576 * vpn-daemons/README: New file to describe extensions points for VPN
16579 2005-06-10 Dan Williams <dcbw@redhat.com>
16581 * src/backends/NetworkManagerRedHat.c
16582 - (get_current_profile_name): new function, grab current network profile name from
16583 /etc/sysconfig/network
16584 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16585 update an IP4 Config structure's settings from it
16586 - (nm_system_device_get_system_config): if we're using static IP on this device,
16587 get DNS info from current network profile
16589 2005-06-09 Dan Williams <dcbw@redhat.com>
16591 Patch from Robert Love:
16592 * src/NetworkManagerDevice.c
16593 src/NetworkManagerUtils.c
16594 - 64-bit build fixes
16596 2005-06-09 Dan Williams <dcbw@redhat.com>
16598 Patch from Kay Sievers and Robert Love:
16600 src/backends/Makefile.am
16601 src/backends/NetworkManagerSuSE.c
16604 2005-06-09 Dan Williams <dcbw@redhat.com>
16607 - Add NMWirelessScanMethod enum for scan methods
16609 * gnome/applet/applet-dbus-devices.c
16610 - (nmwa_dbus_update_scanning_enabled_cb): remove
16611 - (nmwa_dbus_update_scanning_enabled): remove
16612 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16613 since it got removed
16614 - (nmwa_dbus_enable_scanning): remove
16616 * gnome/applet/applet-dbus-info.c
16617 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16618 update the wireless scanning method from NMI
16619 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16620 method value to NetworkManager
16621 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16623 * gnome/applet/applet-dbus-info.h
16624 - Add prototype for nmi_dbus_signal_update_scan_method
16626 * gnome/applet/applet.c
16627 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16628 Wireless Scanning menu based on current wireless scan method
16629 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16630 signal for Wireless Scanning menu items, tell NetworkManager the new method
16631 and update our menu items to make sure the right one is checked
16632 - (nmwa_set_scanning_enabled_cb): remove
16633 - (nmwa_context_menu_update): remove references to pause_scanning_item
16634 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16636 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16638 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16639 so we get notified of preference values too
16640 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16642 * gnome/applet/applet.h
16643 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16644 - Add wireless scan method member to applet data
16645 - Remove pause_scanning_item, add Wireless Scanning submenu
16647 * src/NetworkManager.c
16648 - (nm_data_new): default to NM_SCAN_METHOD_ON
16649 - (main): grab scanning method from NMI if we can
16651 * src/NetworkManagerDbus.c
16652 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16653 nm_dbus_update_wireless_scan_method()
16654 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16656 - (nm_dbus_nmi_is_running): redundant function, removed
16657 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16658 when NMI comes back
16660 * src/NetworkManagerDevice.c
16661 - (nm_device_is_activated): return TRUE if the device is activated
16662 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16663 and we are activated
16666 - (nm_dbus_nm_set_scanning_enabled): removed
16667 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16668 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16670 2005-06-09 Dan Williams <dcbw@redhat.com>
16673 src/vpn-manager/nm-vpn-service.c
16674 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16676 2005-05-27 Dan Williams <dcbw@redhat.com>
16678 * vpn-daemons/vpnc/nm-vpnc-service.c
16679 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16680 Should fix the bug where the VPN connection terminates the first time.
16682 2005-05-20 Dan Williams <dcbw@redhat.com>
16685 - Differentiate VPN config signals between bad VPN config options
16688 * gnome/applet/applet-dbus-info.h
16689 - Add prototypes for wireless network and vpn connection update functions
16691 * gnome/applet/applet-dbus.c
16692 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16694 * gnome/applet/applet.c
16695 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16697 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16698 propogation to NetworkManager
16699 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16700 notify propogation to NetworkManager
16702 * src/NetworkManagerDbus.c
16703 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16704 are updating so a network can be removed from it if necessary
16706 * src/vpn-manager/nm-vpn-manager.c
16707 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16709 * vpn-daemons/vpnc/nm-vpnc-service.c
16710 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16711 - (nm_vpnc_dbus_signal_launch_failed): remove
16712 - (nm_vpnc_dbus_signal_connect_failed): remove
16713 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16714 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16715 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16716 for new generalized error signal function, remove config file stuff
16717 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16718 we can write configuration options to it
16719 - (nm_vpnc_config_file_generate): removed
16720 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16721 - (nm_vpnc_config_options_validate): validate the config options we receive
16722 from NetworkManager to block potential exploits
16723 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16725 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16728 2005-05-16 Dan Williams <dcbw@redhat.com>
16730 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16731 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16734 2005-05-16 Dan Williams <dcbw@redhat.com>
16736 Patch from Tomislav Vujec <tvujec@redhat.com>
16737 * gnome/applet/applet-dbus-info.c
16738 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16739 GConf and pass them to NetworkManager. New key is 'routes' under
16740 the VPN connection, and should be a string list
16742 * src/NetworkManagerSystem.c
16743 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16744 set them on the device when we set the rest of the VPN config. Ensure
16745 they are in the correct format since they are passed directly to the
16748 * src/backends/NetworkManagerRedHat.c
16749 src/backends/NetworkManagerDebian.c
16750 - (nm_system_device_add_route_via_device_with_iface): new function
16752 * src/vpn-manager/nm-dbus-vpn.c
16753 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16755 * src/vpn-manager/nm-vpn-manager.c
16756 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16757 them into the IP4 config functions
16759 2005-05-15 Dan Williams <dcbw@redhat.com>
16761 From Filip Miletic:
16765 - Serbian translation added
16767 2005-05-15 Dan Williams <dcbw@redhat.com>
16769 * dispatcher-daemon/NetworkManagerDispatcher.c
16770 - (main): sync arguments with NetworkManager and the applet, now use
16771 "--no-daemon" rather than "daemon=no"
16772 - (nmd_print_usage): Fix script path in usage message
16774 2005-05-15 Dan Williams <dcbw@redhat.com>
16776 * src/NetworkManagerDevice.[ch]
16777 src/NetworkManagerPolicy.c
16778 src/NetworkManager.c
16780 - Remove the "just_added" parameter from nm_device_deactivate(). We no
16781 longer send the DeviceNoLongerActive signal unconditionally, but only
16782 when the device is actually active.
16784 * dispatcher-daemon/NetworkManagerDispatcher.c
16785 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16786 and simplify the logic
16787 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16788 we free it later on
16790 * initscript/RedHat/Makefile.am
16791 initscript/RedHat/NetworkManagerDispatcher
16792 - Add initscript for NetworkManagerDispatcher
16795 Patch from Bill Moss:
16796 * dispatcher-daemon/NetworkManagerDispatcher.c
16797 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16799 * src/NetworkManagerDbus.c
16800 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
16801 and DeviceNowActive gets signaled, then the device has a new IP address
16802 anyway. There's no need for a separate signal.
16804 * src/NetworkManagerDevice.c
16805 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16807 * src/NetworkManagerPolicy.c
16808 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16809 activates successfully. This kind of went missing when I reworked the
16812 2005-05-15 Dan Williams <dcbw@redhat.com>
16815 - Check for dhcdbd and error if its not found
16817 * src/dhcp-manager/Makefile.am
16818 src/dhcp-manager/nm-dhcp-manager.c
16819 - Use path to dhcdbd that configure found
16821 2005-05-14 Dan Williams <dcbw@redhat.com>
16823 * gnome/applet/nm-device.c
16824 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16825 sort wireless networks alphabetically
16827 * gnome/applet/applet-dbus-devices.c
16828 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16829 before copying them over to the GUI
16831 2005-05-14 Dan Williams <dcbw@redhat.com>
16833 * src/NetworkManager.c
16834 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16835 fixes a deadlock on shutdown with a VPN connection active. This function locks
16836 the device list, as does nm_get_active_device() which is called from
16837 nm_vpn_manager_deactivate_vpn_connection().
16839 2005-05-14 Dan Williams <dcbw@redhat.com>
16842 - Add signals for VPN Launch and Connect failures
16844 * gnome/applet/applet-dbus.c
16845 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16847 * gnome/applet/applet.c
16848 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16849 function to handle all VPN failure messages
16850 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
16851 function to hanlde all VPN failure messages
16852 - (show_warning_dialog): work around focus-stealing prevention
16854 * gnome/applet/other-network-dialog.c
16855 gnome/applet/passphrase-dialog.c
16856 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16857 problem where it never enabled for ASCII Key and Hex Key types
16859 * gnome/applet/wireless-applet.glade
16860 - Add window title to Other Wireless Network Dialog
16862 * src/vpn-manager/nm-dbus-vpn.c
16863 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16864 function to handle all VPN failure messages
16866 * src/vpn-manager/nm-vpn-manager.c
16867 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16869 * vpn-daemons/vpnc/nm-vpnc-service.c
16870 - (nm_vpnc_dbus_signal_launch_failed): new function
16871 - (nm_vpnc_dbus_signal_connect_failed): new function
16872 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16873 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16874 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16875 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16877 2005-05-11 Dan Williams <dcbw@redhat.com>
16879 * vpn-daemons/vpnc/nm-vpnc-service.c
16880 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16881 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16882 file exists before trying to write it out.
16884 2005-05-10 Dan Williams <dcbw@redhat.com>
16886 * gnome/applet/applet-dbus-device.c
16887 - (nmwa_dbus_set_device): remove check for valid key and key type, which
16888 prevented just entering ESSID and leaving key and key type up to
16889 NetworkManager (which should have them already cached)
16891 2005-05-08 Dan Williams <dcbw@redhat.com>
16893 * src/NetworkManagerPolicy.c
16894 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16895 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16896 fix a situation where NM is told to terminate and the device stops activation,
16897 but the main thread isn't aware of that because it would never have run
16898 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16901 * src/NetworkManagerDevice.c
16902 - (nm_device_probe_wired_link_state): cosmetic fixes
16903 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16904 we've failed to activate or been canceled.
16905 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16907 2005-05-08 Dan Williams <dcbw@redhat.com>
16909 * src/NetworkManagerWireless.c
16910 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16911 value of WEXT quality structures, and add a debug message when we cannot
16912 determine any quality % at all
16914 2005-05-08 Dan Williams <dcbw@redhat.com>
16916 * src/dhcp-manager/nm-dhcp-manager.c
16917 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16920 2005-05-06 Dan Williams <dcbw@redhat.com>
16922 * gnome/applet/applet-dbus-device.c
16923 gnome/applet/applet-dbus-info.c
16924 gnome/applet/applet-dbus.c
16925 gnome/applet/applet.c
16926 gnome/applet/applet.h
16927 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16929 * gnome/applet/applet-dbus.c
16930 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16931 so we notice when wired device's carriers come back on. Should
16932 fix issue with wired devices being grayed out even if the cable
16933 is in, for devices that support carrier detection.
16935 * gnome/applet/applet.c
16936 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16937 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16939 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16940 Fix situation where applet wouldn't respond to menu selections
16942 * src/NetworkManager.c
16943 src/NetworkManagerDevice.c
16944 src/NetworkManagerDbus.c
16945 src/NetworkManagerDbus.h
16946 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16948 * src/NetworkManagerDbus.c
16949 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16950 Remove, no longer used or relevant
16951 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16952 - (nm_dbus_schedule_device_status_change_signal): add
16954 * src/NetworkManagerDevice.c
16955 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16956 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16957 ie don't deactivate them unless explicitly told to by the user. Also send
16958 CARRIER_OFF / CARRIER_ON signals when link changes
16959 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16960 Don't print error message when device is no longer around
16961 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16962 not just during activation
16964 * src/NetworkManagerPolicy.c
16965 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16966 auto-device-selection.
16967 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16969 * src/NetworkManagerSystem.c
16970 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16971 is no longer present (Bill Moss)
16973 * src/backends/shvar.c
16974 - (svOpenFile): Open read-only to make SELinux happy
16976 * src/backends/NetworkManagerRedHat.c
16977 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16978 the path to the ifcfg-* files
16980 2005-05-05 Dan Williams <dcbw@redhat.com>
16982 * Expose activation stages to NetworkManager clients, like the applet
16983 * Add Diana's progress icons to the applet, cued off NM activation stage
16984 * Use more descriptive tooltips, cued off NM activation stage
16986 2005-05-05 Ray Strode <rstrode@redhat.com>
16988 * src/nm-netlink-monitor.c:
16989 - Use clear_event_source instead of g_nullify_pointer() again.
16991 2005-05-05 Dan Williams <dcbw@redhat.com>
16993 * gnome/applet/main.c
16994 - Fix session management so the applet is actually managed now
16996 * gnome/applet/passphrase-dialog.c
16997 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16999 2005-05-05 Dan Williams <dcbw@redhat.com>
17001 Patch from Bill Moss:
17002 * gnome/libnm_glib/libnm_glib.c
17003 - Fix for dbus-0.33
17005 2005-05-05 Dan Williams <dcbw@redhat.com>
17007 Suggestion from Bill Moss:
17008 * src/NetworkManagerSystem.c
17009 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17012 * src/NetworkManager.c
17013 - (nm_data_free): move destruction of the various managers after
17014 release of device list, because deactivating and freeing a device
17015 requires at least the named manager
17016 - (nm_poll_and_update_wireless_link_state):
17017 (nm_device_link_activated):
17018 (nm_device_link_deactivated):
17019 don't grab the device list lock when actually updating device
17020 link status or strength, since nm_device_set_link_active()
17021 needs to call nm_get_active_device(), which also locks the device list.
17023 * src/NetworkManagerDevice.c
17024 - (nm_device_set_link_active): if a device's link switches from off->on,
17025 and it's wired, and the active device is wireless (or there is no
17026 active device), activate the new device whose link just came on
17027 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17028 my only calling the link to the current ap "failed" when more than 2
17029 consecutive link checks have failed
17031 2005-05-04 Dan Williams <dcbw@redhat.com>
17033 * src/NetworkManagerDevice.c
17034 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17035 but let link_to_specific_ap() do the locking where it needs
17037 Patch from Bill Moss:
17038 * src/NetworkManagerSystem.c
17039 - Set MTU of VPN devices to 1412
17041 2005-05-04 Dan Williams <dcbw@redhat.com>
17043 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17045 * Fix some holes in device activation and retaining the currently connected
17048 2005-05-03 Dan Williams <dcbw@redhat.com>
17050 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
17051 This means that NetworkManager shouldn't have DHCP issues anymore. It also
17052 means you need dhcdbd, which you can get here (get the latest one):
17054 http://people.redhat.com/jvdias/dhcdbd/
17056 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17057 interface as dhcdbd.
17059 * Rewrite device activation to facilitate the new DHCP infrastructure and
17060 future improvements. Its now "activation request" based, ie there is a single
17061 activation request composed of the device, access point, and other info which
17062 follows the entire activation process. There are 5 stages of the activation
17063 process which correspond to:
17065 1) Device preparation
17066 2) Device configuration (bring it up, set ESSID/Key/etc)
17067 3) IP Config Start (fire off DHCP if we're using it)
17068 4) IP Config Get (grab config from DHCP or static config files)
17069 5) IP Config Commit (set device's IP address, DNS, etc)
17071 Note that there is no longer a "scanning" step, since the access point must
17072 be known _before_ activation starts. If the access point drops out or does
17073 not exist for some reason, the entire activation process fails and must be
17074 restarted for a different access point or device.
17076 Patch from Bill Moss:
17077 * gnome/applet/applet.c
17078 - Fix type of vpn_failure dialog -> vpn_banner dialog
17080 2005-04-27 Dan Williams <dcbw@redhat.com>
17082 * gnome/applet/applet-dbus-vpn.c
17083 gnome/applet/applet.c
17084 gnome/applet/applet.h
17085 - Fix up active VPN handling so that we reliably know when a VPN
17086 connection has been deactivated
17088 * src/vpn-manager/nm-vpn-manager.c
17089 - Remove duplicate VPNConnectionChange signal
17091 2005-04-27 Dan Williams <dcbw@redhat.com>
17093 Patch from Peter Jones:
17094 * Remove usage of varargs to fix crashes on PPC (RH #154336)
17096 Patch from Bill Moss:
17097 * src/NetworkManagerSystem.c
17098 - Fix checking of return value from ioctl()
17100 2005-04-27 Dan Williams <dcbw@redhat.com>
17102 * Fix choosing of wireless networks and "Other wireless network..." from the applet
17103 * Warn and exit if icons cannot be found
17105 2005-04-27 Dan Williams <dcbw@redhat.com>
17107 Patch from Tom Parker:
17108 * Update debian backend
17110 2005-04-27 Dan Williams <dcbw@redhat.com>
17112 * Merge the applet and the info-daemon, and move the converged
17113 applet under gnome/applet
17114 * Move libnm_glib to gnome/libnm_glib
17115 * Convert most dbus calls between the applet, info-daemon, and NM
17117 * Fix a few things valgrind noticed
17118 * Make NM broadcast state more reliably
17120 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
17122 * configure.in: Added ne in ALL_LINGUAS
17124 2005-04-15 Dan Williams <dcbw@redhat.com>
17126 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17127 code for dbus 0.2x versions
17129 2005-04-15 Dan Williams <dcbw@redhat.com>
17131 Patches from Tom Parker:
17133 - Join with worker thread rather than polling for its exit
17135 Patch from Bill Moss:
17136 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17138 2005-04-15 Dan Williams <dcbw@redhat.com>
17140 - Fixes to pass 'make distcheck'
17142 2005-04-15 Dan Williams <dcbw@redhat.com>
17144 Initial VPN Support
17146 - reworks device IP configuration, backend files have changed and will need
17147 to be updated for all distributions. I will try to do what I can for
17148 them, but I cannot test them.
17150 - Move named directory to src/named-manager
17151 - Make backends directory self-contained
17153 2005-04-06 Dan Williams <dcbw@redhat.com>
17155 Add debug code for socket/file descriptor leaks. We register every socket
17156 that we open (except for stuff in dhcpcd/) for tracking, and print out the
17157 list of sockets that we forgot to close on shutdown. This also consolidates
17158 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17160 2005-04-06 Dan Williams <dcbw@redhat.com>
17163 - (dhcp_interface_free): fix a file descriptor leak that may have
17164 caused network drivers to not unload due to refcounts > 0
17166 2005-04-04 Dan Williams <dcbw@redhat.com>
17168 * panel-applet/NMWirelessAppletDbus.c
17169 - (nmwa_dbus_call_nm_method): remove some commented code
17171 * src/NetworkManagerAPList.[ch]
17172 - (nm_ap_list_remove_ap_by_essid): new function
17174 * src/NetworkManagerDevice.c
17175 - (nm_device_wireless_force_use): remove access points from the ignore list
17176 when the user forces them
17178 * src/nm-dbus-device.c
17179 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17181 2005-04-04 Dan Williams <dcbw@redhat.com>
17183 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17185 2005-04-04 Dan Williams <dcbw@redhat.com>
17187 * src/NetworkManagerDevice.c:
17188 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17189 of only erroring after the second consecutive scan times out. Also
17190 don't exit when the card requires more time than we can give it, just
17191 log the event and continue.
17193 2005-04-01 Steve Murphy <murf@e-tools.com>
17195 * configure.in: Added "rw" to ALL_LINGUAS.
17197 2005-04-01 Dan Williams <dcbw@redhat.com>
17199 Perform scans during device activation, if needed. Both activation
17200 and scans run in the same GMainContext. Therefore, if an access point
17201 is not found by the time the device starts activation, it will not
17202 be available until after activation. We now try to scan during
17203 activation (in nm_wa_test) every 15s so that all available access
17204 points are more likely to be found and available for the activation
17207 Also change nm_wireless_link_state_handle() to only update the "best"
17208 AP if we are not forcing a device and if we are not about to change
17209 state. This attempts to work around a race when forcing a device,
17210 where the forced AP would get cleared out too soon by the link state
17211 checking timeout in the main thread, and the activation attempt with
17212 that AP would fail.
17214 2005-04-01 Dan Williams <dcbw@redhat.com>
17217 - Update with new translatables
17219 2005-03-31 Dan Williams <dcbw@redhat.com>
17221 * panel-applet/NMWirelessAppletDbus.c
17222 - Fix device names now that hal has changed device parenting for
17225 2005-03-31 Dan Williams <dcbw@redhat.com>
17227 Tighten up handling of wireless devices that don't support wireless
17228 scanning (ie, Orinoco). Due to restructuring of code, these devices
17229 hadn't been doing pseudo-scanning for a while either and would just
17230 spin waiting for an access point. They are now manual devices where
17231 the user must choose the access point from the menu every time. All
17232 "allowed" access points are listed in the applet's menu regardless
17233 of whether or not they can be seen by the card, since it can't scan
17236 * src/NetworkManager.c
17237 - (nm_wireless_link_state_handle): new function, but only update
17238 the "best" ap for non-scanning devices when its not activating,
17239 and when no device is being forced on the card
17240 - (nm_link_state_monitor): split wireless link state handling out
17241 into separate function
17243 * src/NetworkManagerDevice.c
17244 - (nm_device_copy_allowed_to_dev_list): new function
17245 - (nm_device_new): populate non-scanning cards' AP lists with
17246 access points from the "allowed" list
17247 - (nm_device_new): don't start a scanning timeout for devices that
17249 - (nm_device_activation_schedule_finish): new parameter, should be
17250 the AP that failed to be connected to, pass it on to the
17251 activation finish function in NetworkManagerPolicy.c
17252 - (nm_device_activate_wireless): don't ever try to get a new AP
17253 for non-scanning devices, just fail. The user must choose
17254 a new access point manually.
17255 - (nm_device_activate): grab the AP that failed connection and
17257 - (nm_device_update_best_ap): Clear the best AP if we don't have
17258 a link to it, user must manually choose a new one
17259 - (nm_device_do_pseudo_scan): remove function
17260 - (nm_device_wireless_process_scan_results): remove bits for non-
17261 scanning cards since they never get here
17262 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17263 and fake the scan list for test devices a bit earlier
17265 * src/NetworkManagerPolicy.c
17266 - (nm_policy_activation_finish): use the failed_ap that we get
17267 passed rather than getting the best_ap from the card, which
17268 may have changed since we were scheduled
17269 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17270 update their scan list directly from the allowed list when
17271 we get updates to the allowed list from NetworkManagerInfo
17273 * src/NetworkManagerPolicy.h
17274 - New member for failed access point in NMActivationResult
17276 -------------------------------------
17278 Driver Notification patch: notifies the user when their driver
17279 sucks. Gives them the option to ignore further insertions
17280 of the card that has the sucky driver.
17283 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17284 enum and replace it with NO_CARRIER_DETECT and
17287 * panel-applet/NMWirelessApplet.[ch]
17288 - Merge essid.glade -> wireless-applet.glade
17289 - Implement the "Your driver sucks" notification dialog
17291 * panel-applet/NMWirelessAppletDbus.c
17292 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17293 - Grab hardware address for each device from NM too
17294 - Check whether the driver for each device sucks or not whenever
17295 a new device is noticed
17297 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17298 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17300 * src/NetworkManager.c
17301 - Fix a double-unref on device removal
17303 * src/NetworkManagerUtils.c
17304 - Set appropriate driver support level on a device that doesn't
17305 support scanning or carrier detection
17307 * src/nm-dbus-device.c
17308 - New "getHWAddress" dbus method on devices
17309 - getSupportsCarrierDetect -> getDriverSupportLevel
17311 2005-03-31 Dan Williams <dcbw@redhat.com>
17313 * src/NetworkManagerDevice.c
17314 - (nm_device_wireless_scan): Fix leak of scan results in some
17317 2005-03-29 Dan Williams <dcbw@redhat.com>
17319 * src/NetworkManager.c
17320 - (nm_poll_and_update_wireless_link_state): make code less indented
17322 Patch from Bill Moss:
17323 * src/NetworkManager.c
17324 - (nm_device_update_link_state): Update signal strength on wireless
17325 devices every time we update link state too.
17327 2005-03-29 Dan Williams <dcbw@redhat.com>
17329 * src/NetworkManagerDevice.c
17330 - (nm_device_set_essid): Work around Orinoco cards which need
17331 extra time after setting the ESSID
17333 2005-03-29 Dan Williams <dcbw@redhat.com>
17335 * src/NetworkManagerDevice.c
17336 - Merge one more bit of Peter Jones' completion patch
17338 2005-03-29 Dan Williams <dcbw@redhat.com>
17340 * src/NetworkManagerDevice.c
17341 - (nm_device_force_use): Fix possible segfault
17343 2005-03-29 Dan Williams <dcbw@redhat.com>
17345 * src/NetworkManagerDevice.c
17346 - Use iw_get_ext() where we should rather than iw_set_ext()
17348 2005-03-29 Dan Williams <dcbw@redhat.com>
17350 * src/NetworkManagerDevice.c
17351 - (nm_device_set_up_down): remove check for unsupported devices
17352 that caused NM to not bring devices up when they were
17353 added to the device list.
17355 2005-03-28 Dan Williams <dcbw@redhat.com>
17357 * src/NetworkManagerDevice.c
17358 - (mdio_read): Fix two bugs that caused all devices to fail
17359 the MII carrier detection support checks
17361 2005-03-26 Dan Williams <dcbw@redhat.com>
17363 * src/NetworkManagerDevice.c
17364 - (nm_device_wireless_scan): Remove duplicated scanning code
17366 2005-03-25 Dan Williams <dcbw@redhat.com>
17368 * panel-applet/NMWirelessApplet.c
17369 - (nmwa_about_cb): Add some more contributors
17370 - (nmwa_update_state): show the applet when there's no connection
17371 - Enable the "Stop/Resume all wireless devices" option in the
17373 - New "no connection" icon
17375 * src/NetworkManager.c
17376 - (nm_poll_and_update_wireless_link_state): don't do anything if
17377 wireless is disabled or we're asleep
17379 * src/NetworkManagerDHCP.c
17380 - Remove trailing "\n" on debug messages
17382 * src/NetworkManagerDbus.c
17383 - (nm_dbus_network_status_from_data): new state "asleep"
17385 * src/NetworkManagerDevice.c
17386 - Merge most of Peter Jones' "completion" patch that greatly reduces
17387 latency and wait times for most operations
17388 - (nm_device_wireless_scan): Don't scan when asleep
17390 * src/NetworkManagerPolicy.c
17391 - (nm_policy_get_best_device): return no device when asleep
17392 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17393 for all wireless devices on update, not just active device
17395 * src/NetworkManagerUtils.c
17396 - Merge Peter Jones' "completion" patch
17399 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17400 we're told to disable them
17401 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17404 - New variants of the warn/info/error/debug print functions that can take
17405 variables rather than static strings
17407 2005-03-24 Dan Williams <dcbw@redhat.com>
17409 * src/NetworkManagerUtils.c
17410 - (nm_get_device_driver_name): driver names are now on the parents of
17411 "Network Interface" objects, so look for them there
17413 2005-03-24 Dan Williams <dcbw@redhat.com>
17416 - Escape some forgotten object paths before we shove them through dbus
17418 2005-03-24 Dan Williams <dcbw@redhat.com>
17420 * dhcpcd/dhcpcd.[ch]
17421 src/NetworkManagerDHCP.c
17422 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17423 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17425 * src/NetworkManagerDbus.c
17428 * src/nm-dbus-dhcp.c
17429 - Make the API suck less. There is now only 1 type of each function,
17430 ie only "getInteger" and no longer also "getIntegerv". All types
17431 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17432 that will never have more than 1 element. This should simplify
17435 * test/nm-dhcp-opt-test.c
17436 - Make the tool not segfault
17437 - adapt to new DHCP Options API
17439 2005-03-22 Dan Williams <dcbw@redhat.com>
17441 * src/NetworkManager.c
17442 - (nm_wired_link_deactivated): actually ignore netlink events from
17445 2005-03-22 Dan Williams <dcbw@redhat.com>
17447 * src/NetworkManager.c
17448 - (nm_wired_link_activated): actually ignore netlink events from
17451 2005-03-17 Dan Williams <dcbw@redhat.com>
17453 Patch from Tom Parker:
17454 * src/nm-netlink-monitor.c
17456 * info-daemon/NetworkManagerInfoDbus.c
17457 - (nmi_dbus_update_network_auth_method): free GConf values
17459 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17460 * src/NetworkManagerDevice.c
17461 - (nm_device_set_wireless_config): wait for successful
17462 association longer for some cards (Atheros a/b/g)
17464 2005-03-15 Ray Strode <rstrode@redhat.com>
17466 * src/NetworkManager.c:
17467 (sigterm_pipe_handler):
17470 2005-03-15 Ray Strode <rstrode@redhat.com>
17472 * src/NetworkManagerDbus.c:
17473 Fix some sign weirdness that gcc4 doesn't like,
17474 and add a header file so PPC can hopefully find
17477 2005-03-14 Ray Strode <rstrode@redhat.com>
17479 Fourth (probably working) cut at porting to
17480 dbus 0.30 api and new hal. This cut adds
17481 some new logging macros to make debugging
17484 * dispatcher-daemon/NetworkManagerDispatcher.c:
17485 * info-daemon/NetworkmanagerInfo.c:
17486 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17487 * info-daemon/NetworkManagerInfoVPN.c:
17488 * src/NetworkManager.c:
17489 * src/NetworkManagerAP.c:
17490 * src/NetworkManagerAPList.c:
17491 * src/NetworkManagerDHCP.c:
17492 * src/NetworkManagerDbus.c:
17493 * src/NetworkManagerDevice.c:
17494 * src/NetworkManagerPolicy.c:
17495 * src/NetworkManagerSystem.c:
17496 * src/NetworkManagerUtils.c:
17497 * src/NetworkManagerWireless.c:
17499 * src/nm-dbus-nm.c:
17500 * src/backends/NetworkManagerDebian.c:
17501 * src/backends/NetworkManagerGentoo.c:
17502 * src/backends/NetworkManagerRedHat.c:
17503 * src/backends/NetworkManagerSlackware.c:
17504 use new logging macros.
17506 * dispatcher-daemon/NetworkManagerDispatcher.c:
17507 (nmd_dbus_filter): s/dbus_free/g_free/
17509 * info-daemon/Makefile.am: link in utils library.
17510 * info-daemon/NetworkmanagerInfo.c: use new logging
17512 (nmi_dbus_get_network): don't assume enumerations
17514 (nmi_dbus_nmi_message_handler): don't free what
17515 doesn't belong to us.
17517 * libnm_glib/libnm_glib.c:
17518 (libnm_glib_get_nm_status):
17519 (libnm_glib_init): don't free what doesn't
17521 (libnm_glib_dbus): strdup result, so it doesn't get
17522 lost when message is unref'd.
17524 * panel-applet/NMWirelessAppletDbus.c:
17525 (nmwa_dbus_update_devices): s/dbus_free/g_free/
17527 * src/NetworkManager.c:
17528 (nm_monitor_wired_link_state): request initial status
17529 dump of all cards when we start up, instead of relying
17530 on /sys/.../carrier.
17531 (nm_info_handler), (nm_set_up_log_handlers):
17532 log handlers to specify what syslog priorites
17533 the logging macros default to.
17535 * src/NetworkManagerAPList.c:
17536 (nm_ap_list_populate_from_nmi):
17537 s/dbus_free_string_array/g_strfreev/
17539 * src/NetworkManagerDbus.c:
17540 (nm_dbus_get_network_object):
17541 validate d-bus message argument types.
17542 Advance message iterator after reading argument,
17543 prepend instead of append to GSList.
17545 * src/NetworkManagerDevice.c:
17546 (nm_device_probe_wired_link_status):
17547 remove redundant /sys in /sys path. remove wrong
17548 contents == NULL means has carrier assumption.
17550 * src/nm-netlink-monitor.c
17551 (nm_netlink_monitor_request_status): implement
17552 function to ask kernel to dump interface link
17553 status over netlink socket.
17555 * test/*.c: s/dbus_free/g_free/
17557 * utils/nm-utils.h:
17558 (nm_print_backtrace): new macro to print backtrace.
17559 (nm_get_timestamp): new macro to get sub-second precise
17561 (nm_info), (nm_debug), (nm_warning), (nm_error):
17562 new logging functions. nm_info just prints,
17563 nm_debug includes timestamp and function,
17564 nm_warning includes function, nm_error includes
17565 backtrace and sigtrap.
17567 2005-03-11 Ray Strode <rstrode@redhat.com>
17569 Third (unfinished, partially working) cut at porting to
17570 dbus 0.30 api and new hal.
17572 * info-daemon/NetworkManagerInfoDbus.c:
17573 don't free null arrays.
17575 * panel-applet/NMWirelessAppletDbus.c:
17576 * src/nm-dbus-device.c:
17577 * src/nm-dbus-net.c:
17578 * src/NetworkManagerDbus.c: more
17579 STRING -> OBJECT_PATH fun
17580 * src/NetworkManagerDevice.c:
17581 * src/NetworkManagerDevice.h:
17582 (rename nm_device_get_link_active): rename to
17583 nm_device_has_active_link
17584 (nm_device_wireless_link_active): rename to
17585 nm_device_probe_wireless_link_state
17586 (nm_device_wired_link_active): rename to
17587 nm_device_probe_wired_link_state. Rewrite to
17588 use carrier file since hal doesn't maintain
17589 link state anymore.
17590 (nm_device_update_link_active): rename to
17591 nm_device_update_link_state
17592 * src/NetworkManagerPolicy.c
17593 (nm_policy_activation_finish): check for NULL
17597 * src/NetworkManagerMain.h:
17598 * src/NetworkManager.c:
17599 * src/nm-netlink-monitor.c:
17600 * src/nm-netlink-monitor.h: New class to support
17601 monitoring wired ethernet link status, since HAL
17602 doesn't export that information anymore.
17604 2005-03-09 Ray Strode <rstrode@redhat.com>
17606 Second (unfinished, unworking) cut at porting to
17609 * dispatcher-daemon/NetworkManagerDispatcher.c:
17610 * info-daemon/NetworkManagerInfoDbus.c:
17611 * panel-applet/NMWirelessAppletDbus.c:
17612 * src/NetworkManagerDbusUtils.c:
17613 * src/NetworkManagerDbusUtils.h:
17614 * src/nm-dbus-device.c:
17615 * src/nm-dbus-nm.c:
17616 * test/nmtest.c: support dbus "object path" type
17620 * info-daemon/Makefile.am:
17621 * libnm_glib/Makefile.am:
17622 * panel-applet/Makefile.am:
17623 * dispatcher-daemon/Makefile.am
17625 * test/Makefile.am:
17626 * utils/Makefile.am:
17627 * utils/nm-utils.c:
17628 * utils/nm-utils.h: new utils static lib
17630 2005-03-07 Ray Strode <rstrode@redhat.com>
17632 * info-daemon/NetworkManagerInfoDbus.c:
17633 * libnm_glib/libnm_glib.c:
17634 * panel-applet/NMWirelessAppletDbus.c:
17635 * src/NetworkManager.c:
17636 * src/NetworkManagerDbus.c:
17637 * src/NetworkManagerDevice.c:
17638 * src/NetworkManagerUtils.c:
17639 * src/nm-dbus-device.c:
17640 * src/nm-dbus-dhcp.c:
17641 * src/nm-dbus-net.c:
17642 * src/nm-dbus-nm.c:
17643 * test/nminfotest.c:
17644 First (unfinished, unworking) cut at porting to dbus 0.30 api.
17646 2005-03-04 Dan Williams <dcbw@redhat.com>
17651 2005-03-04 Dan Williams <dcbw@redhat.com>
17653 Patch from Peter Jones:
17654 - Make stuff work with gcc 4.0
17656 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
17658 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17660 2005-02-27 Jim Huang <jserv@kaffe.org>
17662 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17664 2005-02-27 Dan Williams <dcbw@redhat.com>
17666 Patch from Bill Moss:
17667 * panel-applet/NMWirelessAppletDbus.c
17668 - Make sure strength for current access point is up-to-date when we
17669 update the gui data model
17671 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
17673 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17675 2005-02-27 Dan Williams <dcbw@redhat.com>
17677 * src/backends/NetworkManagerRedHat.c
17678 - (nm_system_init): Kill any dhclient processes lying around as well
17679 as stopping 'nifd' if its already been started. NetworkManager
17680 subsumes the functions of nifd (kicking mDNSResponder, autoip)
17682 2005-02-27 Dan Williams <dcbw@redhat.com>
17684 * panel-applet/NMWirelessApplet.c
17685 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17686 dbus data model, not the GUI data model twice.
17688 2005-02-27 Dan Williams <dcbw@redhat.com>
17690 * panel-applet/NMWirelessApplet.[ch]
17691 panel-applet/NMWirelessAppletDbus.[ch]
17692 - Move to incremental network updates. Instead of blowing away our list
17693 of devices every time we get a signal from NetworkManager, we now
17694 incrementally add/remove networks when NetworkManager notifies us that
17695 a new network has appeared or disappered. Strength updates now happen
17696 on-the-fly for each access point as well. There are now two copies of
17697 data from NetworkManager: one for the dbus side, and one for the gui side.
17698 When the dbus side data is modified, it is copied over to the gui side
17699 so we don't have to hold the data_mutex for long periods of time (and
17700 therefore block animation of the applet's icon).
17701 - Clean up some memleaks too
17703 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17704 - Minor code beautification
17706 * src/NetworkManagerAPList.c
17707 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17708 completely new and whether or not an existing one's strength was updated.
17709 Try to fix multiple access points and signal strength by using the highest
17710 signal strength in each scan for any given ESSID.
17712 * src/NetworkManagerDbus.[ch]
17713 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17714 wireless networks; now we have only WirelessNetworkUpdate which includes
17715 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17716 - Kill usage of DbusMessageIter
17718 * src/NetworkManagerDevice.c
17719 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17720 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
17721 AP rather than all-at-once. Also don't ever remove the AP a card is
17722 currently associated with from the network list.
17723 - Update for new signals during scan, send out Appeared, Disappeared, or
17724 StrengthChanged when necessary.
17726 2005-02-25 Dan Williams <dcbw@redhat.com>
17729 - Line break the README
17731 2005-02-25 Dan Williams <dcbw@redhat.com>
17733 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17734 - Remove usage of gtk_window_set_default_size()
17736 * panel-applet/essid.glade
17737 - Stick default size here
17738 - Add in random crap that current glade wants to add in now
17740 2005-02-25 Dan Williams <dcbw@redhat.com>
17742 * src/backends/NetworkManagerRedHat.c
17743 - For non-caching-nameserver/non-named case, ensure that nscd is running
17744 and that we actually tell nscd to reload the hosts cache when it changes
17746 2005-02-25 Dan Williams <dcbw@redhat.com>
17748 * info-daemon/NetworkManagerInfoDbus.c
17749 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17751 * test/nminfotest.c
17752 - Whack usage of DbusMessageIter
17753 - Clean up DbusError and DbusMessage handling and freeing
17754 - Remove unused unregister handler
17757 - Whack usage of DbusMessageIter
17759 * test/nmtestdevices.c
17760 - Whack usage of DbusMessageIter
17762 2005-02-25 Dan Williams <dcbw@redhat.com>
17765 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17768 2005-02-25 Dan Williams <dcbw@redhat.com>
17770 * named/nm-named-manager.c
17771 - Ensure that pid and watch variables for child named process get cleared out
17772 when the child goes away.
17774 2005-02-22 Dan Williams <dcbw@redhat.com>
17776 * src/NetworkManagerPolicy.c
17777 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17778 and NULL out data->active_device so that we have to choose another one.
17779 This may make NetworkManager keep attempting to connect to a wired network
17780 if it fails, but if it keeps failing the wired network has more problems than
17781 just NetworkManager.
17783 * src/backends/NetworkManagerRedHat.c
17784 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17787 * named/nm-named-manager.c
17788 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17789 named so that the distro can flush whatever name service caching
17792 2005-02-21 Dan Williams <dcbw@redhat.com>
17794 * src/NetworkManagerDHCP.[ch]
17795 - (nm_device_dhcp_remove_timeouts): new function
17797 * src/NetworkManagerDevice.c
17798 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17799 remove the DHCP timeouts.
17801 2005-02-21 Dan Williams <dcbw@redhat.com>
17803 * panel-applet/NMWirelessApplet.[ch]
17804 panel-applet/menu-info.[ch]
17805 - Give the panel applet some major love: menu items are no longer
17806 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17807 This allows the applet to actually reflect theme changes correctly,
17808 since themeing of subclassed items in GTK _sucks_.
17810 2005-02-18 Dan Williams <dcbw@redhat.com>
17812 * libnm_glib/libnm_glib.[ch]
17813 test/libnm_glib_test.c
17814 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17815 and its data, and doesn't have to free the callback data anymore
17817 2005-02-18 Dan Williams <dcbw@redhat.com>
17819 * panel-applet/NMWirelessApplet.c
17820 - Revert 2005-02-18 William Jon McCann fix for standard
17821 copyright string until it passes 'make distcheck'.
17822 With standard copyright string, xgettext complains
17823 about "Non-ASCII string at ...".
17825 2005-02-18 Dan Williams <dcbw@redhat.com>
17827 * panel-applet/essid.glade
17828 panel-applet/NMWirelessAppletOtherNetworksDialog.c
17829 - Correct spelling of "adaptor"->"adapter"
17831 2005-02-18 William Jon McCann <mccann@jhu.edu>
17833 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17834 (nmwa_about_cb): Use standard copyright string. Update comment
17835 text to reflect that it is a notification area applet. Remove
17836 leading newline in authors list.
17837 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17838 instead of on parent menu item activation. Fixes #167550.
17840 2005-02-18 William Jon McCann <mccann@jhu.edu>
17842 * panel-applet/essid.glade: Capitalize items as per HIG.
17845 2005-02-16 William Jon McCann <mccann@jhu.edu>
17847 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17848 files for GTK 2.4 or lower, since now public in GTK 2.6.
17850 * panel-applet/essid.glade: Don't specify window size.
17852 2005-02-17 Dan Williams <dcbw@redhat.com>
17854 Caught by Bill Moss:
17856 - Time remaining for DHCP transaction calculation was incorrectly
17857 inside a #ifdef DEBUG
17859 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
17861 * configure.in: Added fr (French) to ALL_LINGUAS.
17863 2005-02-14 Dan Williams <dcbw@redhat.com>
17865 * src/NetworkManagerDHCP.c
17866 - (set_domain_searches): Fix free of invalid pointer
17868 2005-02-14 Dan Williams <dcbw@redhat.com>
17870 Patch from Peter Jones:
17872 - Ensure we return RET_DHCP_CEASED everywhere we should
17873 * dhcpcd/udpipgen.c
17874 - Use faster TOS for IP packets
17875 - Don't set ip_id since we're UDP
17877 Patch from Tomislav Vujec:
17878 * src/nm-dbus-dhcp.c
17879 test/nm-dhcp-opt-test.c
17880 - Clean up warnings to enable cvs tree compilation.
17882 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
17886 - Add the Croatian locale.
17888 2005-02-14 Colin Walters <walters@verbum.org>
17890 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17891 list of domains to search.
17893 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17895 2005-02-13 Dan Williams <dcbw@redhat.com>
17898 - Debug output cleanups of DHCP option printing and parsing.
17900 2005-02-13 Dan Williams <dcbw@redhat.com>
17902 Patch from Dan Reed: DHCP options D-BUS API
17903 Exposes the DHCP options that a device receives to clients over D-BUS.
17909 - Correct names, option length, and types for DHCP options
17911 * dhcpcd/dhcpcd.[ch]
17912 - Clarify function names that access DHCP options & data
17914 * src/NetworkManagerDHCP.c
17915 - Use new DHCP data access functions
17917 * src/NetworkManagerDbus.c
17918 - Message handler for DHCP functions
17920 * src/nm-dbus-dhcp.[ch] (new)
17921 - DHCP dbus methods
17923 * test/nm-dhcp-opt-test.c
17924 - Test DHCP D-BUS API and return all present DHCP options
17926 2005-02-12 Dan Williams <dcbw@redhat.com>
17929 test/nmclienttest.c
17931 - Move nmclienttest.c -> nmtest.c
17933 2005-02-12 Dan Williams <dcbw@redhat.com>
17935 * dhcpcd/buildmsg.c
17936 - Pad DHCP packets until they are at least 300 bytes in size.
17938 2005-02-11 Dan Williams <dcbw@redhat.com>
17941 - (dhcp_init): only print out client ID and class ID if they are specified
17943 * src/NetworkManagerDbus.[ch]
17944 src/nm-dbus-nm.[ch]
17945 src/nm-dbus-device.[ch]
17946 src/nm-dbus-net.[ch]
17947 - Move NM, Device, and Net functions to separate files and use the
17948 dbus method list stuff in NetworkManagerDbusUtils.c to do
17951 * src/NetworkManagerDbusUtils.c
17952 - Add new validate_method called before each dispatch (if present)
17953 that can validate the method call
17955 * src/NetworkManagerWireless.c
17956 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17957 levels never to be evaluated
17959 Patch from j@bootlab.org
17960 * src/NetworkManagerDevice.c
17961 - Add typedef for "u64"
17963 * src/backends/NetworkManagerDebian.c
17964 - Copy in Dave Woodhouse's fixes for IPv6
17966 2005-02-11 Dan Williams <dcbw@redhat.com>
17968 Patch from Dave Woodhouse for IPv6:
17969 * src/NetworkManagerUtils.c
17970 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17971 and multicast addresses
17973 * src/NetworkManagerDevice.c
17974 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17975 after bringing up a card.
17977 2005-02-10 Dan Williams <dcbw@redhat.com>
17979 Patch from Dave Woodhouse:
17980 * src/NetworkManagerSystem.h
17981 src/backends/NetworkManagerDebian.c
17982 src/backends/NetworkManagerGentoo.c
17983 src/backends/NetworkManagerSlackware.c
17984 - New nm_system_device_add_ip6_link_address() function to add link-local
17985 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
17987 * src/backends/NetworkManagerRedHat.c
17988 - (nm_system_device_add_ip6_link_address): implement
17989 - (nm_system_device_flush_addresses): revert to previous behavior of
17990 flushing all addresses
17992 2005-02-10 Dan Williams <dcbw@redhat.com>
17994 Patch from Tom Parker:
17995 * src/NetworkManagerDevice.c
17996 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17997 mii.h headers are broken, and instead use our own typedefs
17999 2005-02-10 Dan Williams <dcbw@redhat.com>
18001 * dhcpcd/buildmsg.c
18002 - (fill_host_and_class_id): only fill in client and class IDs if
18003 they are set by callers.
18006 - (class_id_setup): don't autogenerate a class ID, only use one
18007 we're given, if any.
18008 - (client_id_setup): don't autogenerate a client ID, only use one
18009 we're given, if any.
18012 - (dhcp_interface_init): ensure that client options are correctly
18015 * src/NetworkManagerDHCP.c
18016 - (nm_device_dhcp_request): pass hostname to dhcp library
18018 2005-02-10 Dan Williams <dcbw@redhat.com>
18021 - #rh147661# Don't send kernel version in DHCP requests
18023 * src/NetworkManagerSystem.h
18024 src/backends/NetworkManagerDebian.c
18025 src/backends/NetworkManagerGentoo.c
18026 src/backends/NetworkManagerRedHat.c
18027 src/backends/NetworkManagerSlackware.c
18028 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18029 functions, they are no longer used anyway
18031 * src/backends/NetworkManagerRedHat.c
18032 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18033 addresses in an attempt to keep IPv6 local-scope addresses around
18035 2005-02-10 Dan Williams <dcbw@redhat.com>
18037 * src/NetworkManager.c
18038 - (nm_create_device_and_add_to_list): change the add message slightly
18040 * src/NetworkManagerUtils.c
18041 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18042 Return driver name to calling function
18043 - (nm_get_driver_support_level): print out the driver a device is using
18044 during the support check
18046 Patch from Dave Woodhouse:
18047 * dhcpcd/udpipgen.c
18048 - (in_cksum): copy last byte of odd-sized packets into a
18049 'u_short' rather than a 'u_char', should fix wrong checksums
18050 on big-endian platforms
18052 2005-02-09 Dan Williams <dcbw@redhat.com>
18054 * Clean up usage of GSList objects and looping through their members
18055 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18057 * Fix problem where even if scanning was turned off, card would still
18058 cycle through frequencies.
18060 2005-02-08 Dan Williams <dcbw@redhat.com>
18062 * panel-applet/NMWirelessApplet.c
18065 2005-02-08 Dan Williams <dcbw@redhat.com>
18067 Patch from Bill Moss
18068 * panel-applet/NMWirelessApplet.c
18069 - Restore correct ESSID in tooltips
18071 2005-02-07 Dan Williams <dcbw@redhat.com>
18073 * panel-applet/NMWirelessApplet.[ch]
18074 - Add a context menu that contains:
18075 Pause/Resume Wireless Scanning
18076 Stop/Start All Wireless Devices
18078 - Grab active device strength off active device,
18081 * panel-applet/NMWirelessAppletDbus.[ch]
18082 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18083 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18084 - Update active device strength every 2 seconds, not every 1 second
18086 * panel-applet/menu-info.c
18087 - Only disable wired devices in the menu when they support carrier detection,
18088 and don't currently have a link. Non-carrier-detect devices will always
18092 src/NetworkManagerDbusUtils.[ch]
18093 - Add new new dbus utils sources
18095 * src/NetworkManager.c
18096 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18097 with the boolean parameter
18098 - Set scanning_enabled & wireless_enabled to TRUE
18100 * src/NetworkManagerDbus.c
18101 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18102 - Implement scanning & wireless enable/disable calls
18103 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18105 * src/NetworkManagerDevice.c
18106 - New link detection stuff again...
18107 o Create device's mainloop earlier (but don't run it earlier)
18108 o Hook up new carrier-detect support stuff
18109 o Add in the ethtool & mii support detection code
18110 - Don't scan if scanning is disabled
18112 * src/NetworkManagerPolicy.c
18113 - Never automatically choose a device that doesn't support carrier detection
18114 - Don't automatically choose a wireless device if wireless is disabled
18116 2005-02-07 Dan Williams <dcbw@redhat.com>
18118 * libnm_glib/libnm_glib.c
18119 - Small cleanup in element list iteration
18121 2005-02-07 Dan Williams <dcbw@redhat.com>
18123 * src/NetworkManagerWireless.c
18124 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18125 to be in line with the WEXT quality specification
18127 2005-02-02 Dan Williams <dcbw@redhat.com>
18129 Patch from Nathan Fredrickson <nathan@silverorange.com>
18130 * Fix up compile for deprecation of libgnomeui
18131 - Switch to <glib/gi18n.h> from <libintl.h>
18132 - Remove <libgnomeui/libgnomeui.h> includes
18133 - Use gtk_window_set_default_icon_from_file() rather than
18134 gnome_window_set_default_icon_from_file()
18136 * named/nm-named-manager.c
18137 - (generate_named_conf): Fix return-nothing in non-void
18140 2005-02-02 Dan Williams <dcbw@redhat.com>
18142 * Clean up unused variables and the like
18144 2005-02-02 Dan Williams <dcbw@redhat.com>
18146 * src/NetworkManagerAPList.c
18147 - (nm_ap_list_merge_scanned_ap): merge strength too
18149 * src/NetworkManagerUtils.c
18150 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18151 of locking issues by printing out prettier information than g_mutex_lock
18152 - Print out names of mutexes registered with nm_register_mutex_desc()
18153 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18154 us to seemingly block here for too long
18156 * src/NetworkManager.c
18157 src/NetworkManagerAPList.c
18158 src/NetworkManagerDevice.c
18159 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18160 so we get better debug information printed
18162 * src/NetworkManagerDbus.c
18163 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18164 since it sometimes has locking side effects
18165 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18167 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18168 we don't need a switch. This gets called often enough that we can't block
18169 until the scan mutex is acquired, because we'll block on device activation
18170 and a few other things, which hangs main thread for too long.
18172 * src/NetworkManagerPolicy.c
18173 - (nm_policy_auto_get_best_device): reduce the possiblity that
18174 nm_device_need_ap_switch() will be called
18176 2005-02-02 Dan Williams <dcbw@redhat.com>
18178 * panel-applet/NMWirelessApplet.c
18179 - Display name of wireless network we are connecting to or connected to
18180 in the tooltip of the applet
18182 2005-02-02 Dan Williams <dcbw@redhat.com>
18184 * src/NetworkManagerDHCP.c
18185 - Hopefully fix double-default-route problem by cleaning up the default
18186 route added by DHCP code right before the DHCP transaction begins
18188 2005-02-02 Dan Williams <dcbw@redhat.com>
18190 * named/nm-named-manager.c
18191 - Write out valid resolv.conf when we exit
18193 2005-02-01 Dan Williams <dcbw@redhat.com>
18195 Patch from Colin Walters:
18196 * named/nm-named-manager.c
18197 - Make multi-domain search options work
18199 2005-01-31 Dan Williams <dcbw@redhat.com>
18201 * info-daemon/NetworkManagerInfoDbus.c
18202 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18204 * src/NetworkManagerDevice.c
18205 - (nm_device_new): Don't store the entire range struct, use only what we need
18206 (which is currently avg_quality, max_quality, and frequencies). Also
18207 zero device structure when we've free'd it to maybe expose errors down
18209 - (nm_device_update_signal_strength): grab the scan mutex before getting
18210 quality data from the card since quality will be useless during a scan.
18211 Call updated wireless qual-to-percent function with values stored in
18212 nm_device_new() earlier.
18213 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18214 nm_device_get_bad_crypt_packets())
18215 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18217 - (get_initial_auth_method): always use the Auth method that's in the allowed
18218 list if available. Problem was this: when the WEP key is wrong, NM will
18219 try OS then SK modes, and then get stuck in SK mode after that. This
18221 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18224 * src/NetworkManagerWireless.c
18225 - (nm_wireless_qual_to_percent): try to make this function actually work and
18226 mimic iwlib behavior. Use card's idea of quality divided by max_qual
18227 if that's all present, otherwise fall back to signal-to-noise ratios.
18229 2005-01-29 Dan Williams <dcbw@redhat.com>
18231 * initscript/RedHat/NetworkManager
18232 - Don't spit out sysctl stuff to console
18234 * libnm_glib/libnm_glib.c
18235 - (libnm_glib_init): call dbus_g_thread_init()
18237 * panel-applet/NMWirelessAppletDbus.c
18238 - (nmwa_dbus_worker): call dbus_g_thread_init()
18240 * src/NetworkManager.c
18241 - (main): call dbus_g_thread_init()
18243 * src/NetworkManagerAPList.c
18244 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18245 so we can actually see what's there in a normal syslog
18247 * src/NetworkManagerDevice.c
18248 - (nm_device_activate_wireless): print out the "waiting for access point"
18249 message only once, then say what access point we actually got after
18251 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18252 function, wait until the scan is done. Scans may change the ESSID of
18253 the card, making this function think we need to switch access points
18254 - (nm_device_wireless_process_scan_results): for artificial access points
18255 don't check against the card's ESSID, but the best_ap's ESSID. This
18256 prevents collisions with the scanning code, which may change the card's
18257 ESSID and cause the access point to get dropped from the device's AP
18258 list. Also increase the keep-around time to 2m from 60s since the max
18259 scan interval could be 60s in some cases.
18261 * src/NetworkManagerPolicy.c
18262 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18263 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18264 the new properties and ESSIDs to the device's AP list. Fixes some races
18265 between NM and NMI.
18267 2005-01-27 Dan Williams <dcbw@redhat.com>
18269 * info-daemon/NetworkManagerInfoDbus.c
18270 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18271 GConf, make a minimal entry for it (essid & timestamp)
18273 * src/NetworkManagerAPList.c
18274 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18275 NetworkManagerInfo isn't running
18277 * src/NetworkManagerDbus.[ch]
18278 - (nm_dbus_nmi_is_running): new function
18280 * src/NetworkManagerDevice.c
18281 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18282 address to garbage.
18284 * src/NetworkManagerPolicy.c
18285 - (nm_policy_activation_finish): On successful activation, make sure
18286 the "best" AP has a MAC address, and don't tell NMI to add the
18287 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18288 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18289 access point after refreshing our allowed list if it doesn't already
18290 have a "best" access point.
18292 2005-01-25 Dan Williams <dcbw@redhat.com>
18294 * panel-applet/NMWirelessAppletDbus.c
18295 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18296 so we check for NM_DBUS_SERVICE rather than not for it
18298 * libnm_glib/libnm_glib.c
18299 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18300 ServiceOwnerChanged signal
18302 2005-01-25 Dan Williams <dcbw@redhat.com>
18305 - Check DBUS version in configure, and set the C macros
18306 DBUS_VERSION_[MAJOR,MINOR,MICRO]
18308 * info-daemon/NetworkManagerInfoDbus.c
18309 - Remove #if 0-d section of code that quit NMI if NM went away.
18311 * panel-applet/NMWirelessAppletDbus.c
18312 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18314 * src/NetworkManager.c
18315 src/NetworkManagerMain.h
18316 src/NetworkManagerDbus.c
18317 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18318 - Make updating of our Allowed Wireless Network lists from NMI
18319 an idle function in the main thread now, with a high priority.
18321 2005-01-24 Dan Williams <dcbw@redhat.com>
18323 * panel-applet/gtkcellview.[ch]
18324 panel-applet/menu-info.c
18325 - Fix GTK version checks to be <= rather than <
18328 - Include the libtool archive of libnm_glib rather than
18329 trying to pull in the .so
18331 2005-01-24 Dan Williams <dcbw@redhat.com>
18333 * src/NetworkManagerDevice.c
18334 src/NetworkManagerDevicePrivate.h
18335 - Block nm_device_new() until our device's worker thread has had a
18336 chance to start up. Fixes a race between main thread and worker
18337 thread starting that caused activation requests to get lost.
18339 2005-01-24 Dan Williams <dcbw@redhat.com>
18341 * initscript/RedHat/NetworkManager
18342 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18343 to add the NM startup script at priority 50, which was
18346 2005-01-24 Colin Walters <walters@redhat.com>
18348 * named/named.conf: Use any port for query source instead of
18349 restricting to port 53.
18351 2005-01-24 Dan Williams <dcbw@redhat.com>
18353 * initscript/RedHat/NetworkManager
18354 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18355 to add the NM startup script at priority 50, which was
18358 2005-01-24 Dan Williams <dcbw@redhat.com>
18360 Patch from Tom Parker <palfrey@tevp.net>
18361 * Fix up compile warnings & errors in the wireless applet
18363 2005-01-24 Dan Williams <dcbw@redhat.com>
18365 * panel-applet/NMWirelessApplet.c
18366 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18368 2005-01-24 Dan Williams <dcbw@redhat.com>
18370 * panel-applet/gtkcellview.[ch]
18371 - Only compile these files for GTK 2.4 or lower, since
18372 GtkCellView is now public in GTK 2.6. Fixes crasher
18373 when choosing "Other Wireless Networks" from the panel
18376 2005-01-21 Dan Williams <dcbw@redhat.com>
18378 * src/NetworkManager.c
18379 - Daemonize earlier so that glib doesn't get confused (?)
18381 2005-01-21 Dan Williams <dcbw@redhat.com>
18383 * panel-applet/NMWirelessApplet.[ch]
18384 panel-applet/NMWirelessAppletDbus.c
18385 panel-applet/menu-info.c
18386 src/NetworkManagerDevice.c
18387 - Disable wired devices in the menu when they have no link.
18389 2005-01-21 Dan Williams <dcbw@redhat.com>
18391 * Cache last-known-good wireless authentication method in
18392 NetworkManagerInfo, and use that method first during
18393 wireless device activation. Should speed up devices that
18394 need Shared Key authentication method since Open System is
18397 * Remove the hack to not do full activation on wired connections
18398 that are active when we launch, it causes too many problems
18399 with name resolution and was a hack in the first place.
18401 * Re-work wireless device activation again somewhat to have a
18402 clearer chain of events and to use last-known-good
18403 authentication method of the access point. Also provide
18404 better status throughout activation to ensure the applet
18405 can tell the user exactly what's going on.
18407 * Remove the "find wireless network" code and now simply attempt
18408 to activate with that access point. This reduces the delay
18409 between selecting "Other wireless Network" and actually
18410 connecting to that network.
18412 * Correctly stop the device's worker thread when its removed.
18414 2005-01-21 Dan Williams <dcbw@redhat.com>
18417 - Clean up some of the debug messages
18419 2005-01-21 Dan Williams <dcbw@redhat.com>
18421 * Add new icons, more frames of animation
18422 * Remove some hacks to get the panel applet to display correct
18423 status, an NM update will soon follow that will fix the
18426 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18428 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18429 the first include for working i18n. Also, don't include it in .h files
18430 * panel-applet/NMWirelessApplet.h: Same
18431 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18432 * panel-applet/menu-info.c: Same
18434 2005-01-18 Dan Williams <dcbw@redhat.com>
18437 - Remove some debug messages
18438 - Wrap others in #ifdef DEBUG/#endif
18440 * src/NetworkManager.c
18441 - Remove some debug messages
18442 - Clarify some debug messages
18443 - Remove code related to old single-thread wireless scanning
18445 * src/NetworkManagerAP.[ch]
18446 - New AP property "last_seen" to track how recently an AP was
18448 - Start using 'const' more in function arguments
18450 * src/NetworkManagerAPList.[ch]
18451 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18452 of an AP found in an AP list from a source AP, or if not found
18453 in the list add the source AP
18454 - (nm_ap_list_combine): remove, no longer needed
18456 * src/NetworkManagerDevice.c
18457 - Each device now has a "worker" thread from start to end of its life.
18458 Scanning for wireless devices now happens in that thread,
18459 not in a single "wireless scanning thread" for all devices as
18460 previously. Activation consists of adding an idle handler to the
18461 thread's main loop/context, which gets run at the next available
18463 - Wireless scanning is also simplified, there is now only one list of
18464 access points per wireless device, and APs older than 60s are
18465 removed from the list. Previously, we kept results for the last
18466 3 scans and merged whole lists, which was complicated.
18467 - Cleaned up activation debug messages.
18468 - Wireless activation and access-point search routines now use Open System
18469 authentication before trying Shared Key.
18470 - Removed some code in nm_device_update_best_ap() that could cause cards
18471 to loose their link to the access point.
18472 - Scanning now uses a backoff algorithm, where the inverval becomes
18473 progressively longer between scans when the list of scanned access
18474 points doesn't change. A change will revert to the shortest scan
18477 * src/NetworkManagerWireless.[ch]
18478 - Remove code related to old single-thread wireless scanning
18480 2005-01-18 Colin Walters <walters@redhat.com>
18482 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18483 of older nameservers.
18485 2005-01-18 Colin Walters <walters@redhat.com>
18487 * named/nm-named-manager.c (generate_named_conf): Many fixes
18488 to config file generation.
18489 (safer_kill): Remove, was too much trouble for little gain.
18490 (nm_named_manager_start): Run named as NM_NAMED_USER.
18492 * configure.in: Add option --with-named-user.
18494 2005-01-14 Colin Walters <walters@redhat.com>
18496 Patch from ed@catmur.co.uk (Ed Catmur)
18498 * named/nm-named-manager.c: Add "context" property.
18499 Use it to add child watch source in specific GMainContext.
18501 * src/NetworkManager.c (nm_data_new): Initialize
18502 named with correct main context. Start named only
18505 2005-01-14 Colin Walters <walters@redhat.com>
18507 * named/nm-named-manager.c (generate_named_conf): Write config
18508 and pid files into NM_NAMED_DATA_DIR; this allows things to
18509 work better with FC3 named SELinux policy. Also fix up silly
18512 * configure.in: Add --with-named-dir option.
18514 2005-01-14 Colin Walters <walters@redhat.com>
18516 * configure.in: Make named support require passing --with-named.
18518 * named/nm-named-manager.c: Support writing resolv.conf directly
18519 without running named.
18521 2005-01-13 Dan Williams <dcbw@redhat.com>
18523 * named/nm-named-manager.c
18524 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18526 * src/NetworkManagerDevice.c
18527 - Rework wireless link detection code to be more reliable
18529 2005-01-12 Dan Williams <dcbw@redhat.com>
18531 * initscripts/RedHat/NetworkManager
18532 - Change initial level to "-" rather than "345" so that
18533 we don't activate ourselves by default on install
18535 2005-01-12 Dan Williams <dcbw@redhat.com>
18538 - Client library for applications using glib
18542 - Split NM_CFLAGS and NM_LIBS into separate variables
18543 like DBUS_*, HAL_* and GLIB_*
18545 * src/NetworkManager.c
18546 src/NetworkManagerMain.h
18547 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18548 broadcast a status changed signal over DBUS from the main thread.
18549 Still unused anywhere for the moment.
18551 Patch from j@bootlab.org
18552 * panel_applet/NMWirelessAppletDbus.c
18553 src/NetworkManagerDbus.c
18554 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18555 for the "getMode" method call
18557 2005-01-10 Dan Williams <dcbw@redhat.com>
18559 * src/NetworkManagerDevice.c
18560 - Minor fixups & corrections to "auto" frequency mode, make it
18561 less chatty with syslog
18563 2005-01-10 Dan Williams <dcbw@redhat.com>
18565 * src/NetworkManagerDevice.c
18566 - Implement "auto" frequency/channel support, since cards like Atheros
18567 can't use other frequencies at all when you've told it to use a
18568 specific one, even for scanning.
18569 - Grab the scan mutex around places where we can't tolerate wireless
18570 settings changing underneath us, like nm_device_wireless_network_exists()
18571 and nm_device_activate_wireless()
18573 * src/NetworkManagerWireless.c
18574 - Back scan interval off to 20s instead of 14s
18576 2005-01-09 Dan Williams <dcbw@redhat.com>
18578 * src/NetworkManagerDevice.c
18579 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18580 already set. Stops some drivers like Atmel from continually
18581 reloading the firmware, which they do upon every configuration
18584 2005-01-09 Dan Williams <dcbw@redhat.com>
18587 - Use correct timeout value
18589 * info-daemon/NetworkManagerInfoDbus.c
18590 src/NetworkManagerDbus.c
18591 - Consolidate communication between NM and NMI by doing only 1 dbus
18592 method call to get Wireless Network info from NMI instead of 6
18594 * src/NetworkManager.c
18595 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18596 when we didn't have an AP to use, we'd wait for one forever without
18599 * src/NetworkManagerDevice.c
18600 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18601 activation, dhcp might not have started yet but we don't quit activation
18602 before starting it, so the quit signal gets lost
18604 2005-01-07 Dan Williams <dcbw@redhat.com>
18607 - Rework the DHCP client code to be much less chatty when
18608 it receives non-DHCP UDP packets during the DHCP run
18609 (reported by and preliminary patches from Bill Moss)
18611 * Move wireless scanning to a separate thread. This thread forwards the
18612 results to the main thread when done where they are integrated into
18613 the device's access point lists. This keeps the main thread (which
18614 does all the DBUS communication) from being blocked for long periods
18615 of time by wireless scanning.
18617 * Make state modification an idle routine in the main loop, and trigger
18618 state changes rather than polling for them.
18620 * src/backends/NetworkManagerGentoo.c
18621 - Fix up invalid C90 code (reported by Christoph Ruessler)
18623 * src/NetworkManagerDevice.c
18624 - Revert IPv6 patch for wired devices from 2004-12-22 for
18625 router advertisements, causing problems and infinite loop
18626 during "best" device determination due to link going up/down
18627 (reported by Bill Moss)
18629 Apply patch from Peter Jones
18630 * src/NetworkManagerDevice.c
18631 - Shortcut for link-checking for ipw2x00 cards
18632 - Split out association check into separate routine
18634 2004-01-05 Colin Walters <walters@redhat.com>
18636 * named/named.conf: Add PID_FILE.
18638 * named/nm-named-manager.c: Always generate a pid
18639 file, since older BIND versions don't support
18642 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
18644 * configure.in (ALL_LINGUAS): Added ja (Japanese).
18646 2004-12-22 Dan Williams <dcbw@redhat.com>
18648 * src/NetworkManagerDevice.c
18649 - Silently fail when setting bitrate doesn't work
18652 Patches from j@bootlab.org:
18653 * src/backends/NetworkManagerDebian
18654 - Update backend to match functionality in RedHat backend
18655 * src/NetworkManagerDevice.c
18656 - Take down then bring up wired devices after connection so
18657 they send out ipv6 router advertisements
18659 2004-12-21 Colin Walters <walters@verbum.org>
18661 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18662 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18664 2004-12-21 Colin Walters <walters@redhat.com>
18666 * configure.in: Correct named detection.
18668 2004-12-21 Colin Walters <walters@redhat.com>
18670 * src/NetworkManager.c (nm_data_new): Initialize named.
18671 Also, set up a signal handler for SIGINT/SIGTERM, and exit
18672 the mainloop when these signals are received.
18673 (nm_data_free): Unref named.
18674 (sigterm_handler, sigterm_pipe_handler): New functions for
18677 * src/NetworkManagerMain.h (NMData): Add signal handling and
18680 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18683 * src/NetworkManagerDHCP.c (set_nameservers): New function;
18684 set nameservers from DHCP response data.
18685 (set_domain_search): Set domain search from DHCP response.
18686 (nm_device_dhcp_configure): Invoke them.
18688 * src/NetworkManagerSystem.c
18689 (nm_system_device_update_resolv_conf): Delete. Deleting
18690 code is totally sweet.
18692 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18694 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18695 implements an object which controls a nameserver. Currently
18698 * configure.in: Check for named.
18700 * Makefile.am (SUBDIRS): Add named dir.
18702 * named/named.conf: New template config file.
18704 2004-12-20 Colin Walters <walters@redhat.com>
18706 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18709 2004-12-17 Dan Williams <dcbw@redhat.com>
18711 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
18712 link-local addresses instead of doing DHCP.
18714 * In the panel applet, there's a new "Create new Wireless Network..." item
18716 * The panel applet also sticks around now even if NetworkManager dies, but
18717 it doesn't hide its icon when NM isn't around. Not hiding the icon is
18718 a bug, I'll fix that later.
18720 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18721 lookups after a switch rather than actually doing them.
18723 * Clean up some of those warnings in nm_ap_list_* functions
18725 * Delay between scans changed to 15s instead of 10s
18727 2004-12-15 Dan Williams <dcbw@redhat.com>
18729 Patch from Tom Parker
18730 * Add autoip/Link Local Addressing support when we fail to get a DHCP
18733 * Longer pause after setting ESSID on cards that support a larger number
18734 of channels to give the card time to find the right channel
18736 * Add system hook to restart mDNSResponder (or whatever the local implementation
18737 of Multicast DNS is) when we activate interfaces
18739 2004-12-15 Dan Williams <dcbw@redhat.com>
18741 * Rework the DHCP code again to revert to sending full ethernet frames
18742 rather then relying on the kernel to do the right thing with our
18745 2004-12-06 Dan Williams <dcbw@redhat.com>
18748 - Fix some minor errors in dhcp_handle_transaction() that caused
18749 unexpected early timeouts of DHCP transactions
18752 - DHCP retransmit time from 4s -> 5s
18754 2004-12-05 Dan Williams <dcbw@redhat.com>
18756 * Major rework of the DHCP code, taking some cues from pump. We don't
18757 write raw Ethernet packets anymore, which simplifies the code quite
18758 a bit. The new code should be more robust, not hang in recvfrom()
18759 as much, and generally work better. This also means that we need
18760 to force HAL/dbus to use a created GMainContext rather than the
18761 default context, since having the DHCP renew/rebind thread using
18762 its own GMainContext seemed to give dbus a fit. There is also more
18763 debugging information printed from the DHCP loop to help with future
18766 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18767 assume that the default gateway should be the DHCP server.
18769 Patch from Matthew Schick <matt oss-institute org>
18770 * src/backends/NetworkManagerGentoo.c
18771 - Fix compilation error due to missing "ip4_broadcast"
18773 2004-12-03 Dan Williams <dcbw@redhat.com>
18775 * initscript/Makefile.am
18776 * initscript/Debian/NetworkManager
18777 * initscript/Gentoo/NetworkManager
18778 * initscript/RedHat/NetworkManager
18779 * initscript/NMLaunchHelper.c
18780 - Remove NMLaunchHelper, if you need to wait until the network
18781 comes up, use the dead code from CVS.
18783 2004-12-01 Colin Walters <walters@redhat.com>
18785 * configure.in: Suck in gcc warnings code from Rhythmbox,
18786 but use fewer default flags, and in particular add -Wno-unused,
18787 since the codebase has a lot of unused variables.
18789 * test/nmtestdevices.c (create_device):
18790 * test/nminfotest.c (get_network_string_property)
18791 (get_networks_of_type):
18792 * test/nmclienttest.c (main):
18793 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
18794 * initscript/NMLaunchHelper.c (get_nm_status):
18795 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
18796 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
18797 Fix declarations after statements.
18799 2004-12-01 Colin Walters <walters@redhat.com>
18801 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18802 (nmi_dbus_get_vpn_userpass): New method.
18803 (nmi_dbus_nmi_message_handler): Invoke it.
18805 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18807 * info-daemon/NetworkManagerInfoVPN.h,
18808 info-daemon/NetworkManagerInfoVPN.c: New files; responds
18809 to requests for VPN passwords.
18811 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18813 2004-12-01 Colin Walters <walters@redhat.com>
18815 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18818 2004-12-01 Colin Walters <walters@redhat.com>
18820 * panel-applet/NMWirelessAppletDbus.c
18821 (nmwa_dbus_update_active_device_strength): Fix missing
18824 2004-12-01 Colin Walters <walters@redhat.com>
18826 * panel-applet/NMWirelessApplet.c: Add missing include.
18828 2004-12-01 Colin Walters <walters@redhat.com>
18830 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18831 Remove useless CLAMP (); the value is unsigned, and the case tests
18832 qual->qual < 100, so the value must always be between 0 and 100.
18834 2004-12-01 Colin Walters <walters@redhat.com>
18836 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18838 2004-11-22 Colin Walters <walters@verbum.org>
18840 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18841 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18842 which is essentially a noop since nscd caches hosts on disk too.
18844 2004-11-22 Colin Walters <walters@redhat.com>
18846 * src/Makefile.am (NetworkManager_SOURCES): Add
18847 NetworkManagerDevicePrivate.h.
18849 2004-11-22 Dan Williams <dcbw@redhat.com>
18851 * src/NetworkManagerDevicePrivate.h
18852 - Split out the NMDevice struct to a different file so that stuff like
18853 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18857 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18858 need to cancel the dhcp request during the send and recv
18861 - Move the DHCP option enum to dhcpcd.h
18863 * src/NetworkManagerDHCP.c
18864 - Split out the actual IP/netmask/etc setting code
18865 - New Renew/Rebind functions
18866 - New timer setup function for renew/rebind operations
18868 * src/NetworkManagerDevice.c
18869 - For device activation, if we are using DHCP then keep the activation thread
18870 alive until device deactivation. We need to renew/rebind the DHCP address
18871 after the T1 (renew) and T2 (rebind) times have expired.
18872 - Increase some timeouts after bringing wireless cards up/down
18874 2004-11-17 Dan Williams <dcbw@redhat.com>
18876 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18877 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
18878 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
18879 show known access points that don't broadcast their ESSID in the menus without
18880 any user intervention whatsoever.
18882 * info-daemon/NetworkManagerInfoDbus.c
18883 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18884 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18886 * src/NetworkManagerAP.[ch]
18887 - Add a "user_addresses" data member to the NMAccessPoint structure
18888 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18889 the user_addresses data member
18891 * src/NetworkManagerAPList.c
18892 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18893 the AP's reported address
18894 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18896 * src/NetworkManagerDHCP.c
18897 - Increase DHCP timeout from 25s -> 30s
18899 * src/NetworkManagerDbus.[ch]
18900 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18903 * src/NetworkManagerDevice.c
18904 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18905 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
18906 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18907 So, we take the card down to clear it out.
18908 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18909 too, since that's where the user_addresses are
18911 * src/NetworkManagerPolicy.c
18912 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18913 that wireless networks' user_addresses list upon successful activation
18915 2004-11-16 Dan Williams <dcbw@redhat.com>
18917 * src/NetworkManagerDevice.[ch]
18918 - (nm_device_clear_activation_fail): new function
18920 * src/NetworkManagerPolicy.c
18921 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18922 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18924 2004-11-16 Dan Williams <dcbw@redhat.com>
18926 * src/NetworkManagerDevice.c
18927 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18928 leak the structure, better updating of now_scanning status
18929 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18931 2004-11-15 Dan Williams <dcbw@redhat.com>
18933 Major rework of link detection code. We now use DHCP
18934 as part of the link detection which proves to be much more robust,
18935 and also supports Open System authentication for wireless networks.
18937 We no longer use external DHCP client programs. Instead, we use
18938 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18939 which was written by:
18940 Yoichi Hariguchi <yoichi@fore.com>
18941 Sergei Viznyuk <sv@phystech.com>
18942 http://www.phystech.com/download/
18943 It resides in the "dhcpcd" directory and was refactored into a general
18944 purpose DHCP client library by me.
18946 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18947 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18949 2004-11-15 Dan Williams <dcbw@redhat.com>
18951 Patch from Tom Parker <palfrey@tevp.net>:
18953 * src/NetworkManagerDevice.c
18954 - Less output to console when no access
18955 points are found during a scan
18957 2004-11-15 Dan Williams <dcbw@redhat.com>
18959 Patch from Tom Parker <palfrey@tevp.net>:
18961 * src/backends/interface_parser.c
18963 - Check for inp == NULL
18966 2004-11-13 Colin Walters <walters@redhat.com>
18968 Patch from Tom Parker <palfrey@tevp.net>:
18970 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18972 * src/backends/NetworkManagerRedHat.c: Switch to
18973 including shvar.h instead of shvar.c.
18975 * src/backends/NetworkManagerDebian.c: Don't include
18976 interface_parser.c in source file.
18978 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18979 and interface_parser.[ch].
18980 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18981 Include shvar.c and shvar.h here.
18982 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18983 interface_parser.c and interface_parser.h here.
18985 2004-11-12 Colin Walters <walters@redhat.com>
18987 * configure.in: Strip out TARGET_DISTRO and
18988 SYSTEM_BACKEND_FILE variables. Switch to Automake
18991 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18992 (libnmbackend_la_SOURCES): Use Automake conditionals
18993 to add distro-specific files.
18995 * initscript/Makefile.am (SUBDIRS): Update to
18998 2004-11-12 Colin Walters <walters@redhat.com>
19000 Patches from j bootlab org
19002 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
19003 Add interface_parser.[ch].
19005 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19006 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19008 2004-11-12 Colin Walters <walters@redhat.com>
19010 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19011 call to nmi_dbus_is_running too, not necessary anymore.
19012 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19015 2004-11-11 Colin Walters <walters@verbum.org>
19017 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19019 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19020 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19021 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19022 This avoids a race condition that made it pretty easily
19023 possible to get two NetworkManagerInfo daemons running.
19025 2004-11-11 Colin Walters <walters@verbum.org>
19027 * src/NetworkManager.c (main): Use daemon(3).
19029 * info-daemon/NetworkManagerInfo.c (main): Ditto.
19031 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19033 2004-11-10 Dan Williams <dcbw@redhat.com>
19035 Patches from j bootlab org
19036 * src/NetworkManagerDevice.c
19037 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19038 whether the card has a link or not, some cards are slow
19039 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19041 * info-daemon/NetworkManagerInfoPassphraseDialog.c
19042 - Disable the "Login" button on the passphrase dialog until the user
19043 enters a valid passphrase or key
19045 Patches from Tom Parker <palfrey tevp net>
19046 * src/backends/NetworkManagerDebian.c
19047 - Add static IP support to the debian backend
19049 * src/backends/interface_parser.[ch]
19050 - Parse debian interface config files
19052 2004-11-08 Dan Williams <dcbw@redhat.com>
19054 * src/NetworkManagerDevice.c
19055 - Some random fprintf->syslog conversions
19056 - (nm_device_wireless_network_exists): double-check for network
19057 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19059 * src/NetworkManagerWireless.[ch]
19060 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19061 so that the binary->ascii conversion works (if unsigned, the bitshift
19062 will fill with zeros, which is what's required). Also mask bitshift
19063 result with 0xF for futher assurance.
19065 2004-11-06 Dan Williams <dcbw@redhat.com>
19067 * src/NetworkManagerUtils.c
19068 - (nm_get_wireless_driver_support_level): default to
19069 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19070 flip this when changing from whitelist->blacklist of
19073 2004-11-05 Dan Williams <dcbw@redhat.com>
19075 Patch from Robert Paskowitz:
19076 * src/backends/NetworkManagerGentoo.c
19077 - Update static IP config code
19079 2004-11-05 Dan Williams <dcbw@redhat.com>
19081 * info-daemon/NetworkManagerInfoDbus.c
19082 src/NetworkManagerDbus.[ch]
19083 src/NetworkManagerDevice.c
19084 - Keep track of the # of attempts to get the WEP key
19085 from the user and pass that along to the info daemon
19087 2004-11-05 Dan Williams <dcbw@redhat.com>
19089 * src/NetworkManagerUtils.c
19090 - Blacklist wireless cards rather than whitelisting them.
19091 - Grab driver name from HAL rather than trying to find it
19094 2004-11-03 Dan Williams <dcbw@redhat.com>
19096 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19097 - Disable OK button until valid data is entered
19098 for encryption stuff too
19100 * panel-applet/NMWirelessApplet.c
19101 - Report card strength for current AP if the card
19102 doesn't report strength data for scanned access
19105 * src/NetworkManagerDevice.c
19106 - Smooth out cards reported quality, Atmel card was
19107 intermittently reporting no quality data but soon
19110 * src/NetworkManagerWireless.c
19111 - Better quality data percentage calculation. Atmel
19112 cards (mine at least) seem to report the quality
19113 in percentage format already, so honor that
19115 Patch from <j@bootlab.org>
19117 info-daemon/NetworkManagerInfoPassphraseDialog.c
19118 info-daemon/passphrase.glade
19119 panel-applet/NMWirelessAppletOtherNetworkDialog.c
19120 panel-applet/essid.glade
19121 src/NetworkManagerAP.c
19122 src/NetworkManagerDevice.c
19123 src/NetworkManagerWireless.[ch]
19124 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19126 2004-11-03 Dan Williams <dcbw@redhat.com>
19128 * src/NetworkManagerDevice.[ch]
19129 - (nm_device_set_enc_key): Add parameter to set Authentication
19130 Mode (Open System, Shared Key, or None). We're still using
19131 Shared Key for now though.
19133 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
19135 * panel-applet/menu-info.c: change from bold text to light
19136 colored, may cause problems with some themes, i've tested a lot
19137 and they seem fine.
19139 * panel-applet/NMWirelessApplet.c: fix strength tooltip
19141 2004-11-01 Colin Walters <walters@verbum.org>
19143 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19144 (nm_wireless_128bit_key_from_passphrase): Add const.
19146 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19147 (nm_ap_set_enc_key_source): Add const.
19149 2004-11-01 Colin Walters <walters@verbum.org>
19151 * .cvsignore: Update.
19153 2004-10-29 Dan Williams <dcbw@redhat.com>
19155 * src/NetworkManagerDevice.c
19156 - (nm_device_wireless_network_exists): Actually use the encryption
19157 key we got from the applet when attempting to find a wireless network
19158 - Don't bring devices down so much since on some cards it triggers
19159 firmware hotplugs each time
19161 * src/NetworkManagerDbus.c
19162 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19165 2004-10-29 Dan Williams <dcbw@redhat.com>
19167 * src/NetworkManager.c
19168 - (nm_hal_device_property_modified): unlock a locked active
19169 wireless device when a wired connection gets a link.
19170 (Means you'll switch to wired whenever you plug in no
19173 2004-10-29 Dan Williams <dcbw@redhat.com>
19175 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19176 - New files, implement the "Other wireless network" dialog
19178 * panel-applet/NMWirelessApplet.c
19179 - Move "other wireless network" dialog to separate file
19181 * panel-applet/NMWirelessAppletDbus.[ch]
19182 - Take key and key_type paramaters for the set_device function
19184 * panel-applet/essid.glade
19185 - Add UI bits for encryption settings
19187 * src/NetworkManagerDbus.c
19188 - Retrieve key and key_type params for "setActiveDevice" method call
19190 - unref AP returned from nm_device_get_best_ap() when needed
19192 * src/NetworkManagerDevice.c
19193 - (nm_device_get_best_ap): ref the ap before returning it
19194 - unref AP returned from nm_device_get_best_ap() when needed
19195 - (nm_device_activate_wireless): add "ap" parameter so we don't
19196 need to call nm_device_get_best_ap() here, it was pretty much
19198 - (AP_NEED_KEY): break second link check condition out into separate
19199 function, and fix segfault when ap->enc_key_source was NULL
19200 - (nm_device_find_and_use_essid): take key and key_type parameters and
19201 pass them along to nm_device_wireless_network_exists(). If the
19202 network does exist, set the passed-in key+key_type on the AP
19204 * src/NetworkManagerPolicy.c
19205 - unref AP returned from nm_device_get_best_ap() when needed
19207 2004-10-28 Dan Williams <dcbw@redhat.com>
19209 * src/NetworkManagerUtils.c
19210 - (nm_spawn_process): Fix a potential dereference of NULL
19212 Patches from Peter Jones:
19214 * src/NetworkManagerDevice.c
19215 - (nm_device_test_wireless_extensions): Better check for
19218 * src/NetworkManagerUtils.c
19219 - (nm_spawn_process): Pass in valid stdout and stderr so
19220 executed programs don't randomly SIGPIPE and fail
19221 - (nm_get_wired_driver_support_level): quash hal warning
19222 when checking for USB ethernet device
19224 2004-10-27 Dan Williams <dcbw@redhat.com>
19226 * info-daemon/NetworkManagerInfo.c
19227 info-daemon/NetworkManagerInfoDbus.c
19228 info-daemon/NetworkManagerInfoPassphraseDialog.c
19229 panel-applet/NMWirelessApplet.c
19230 - Properly escape gconf keys
19232 * src/NetworkManager.c
19233 - remove unused variables
19235 * src/NetworkManagerAP.c
19236 - (nm_ap_new_from_ap): Don't redundantly set new APs
19237 refcount since it got set in nm_ap_new()
19239 * src/NetworkManagerAPList.c
19240 - (nm_ap_list_combine): Give up ownership of newly created
19241 access points to the ap list, fixes memleak
19243 * src/NetworkManagerDevice.c
19244 - Remove cached_ap_list4 member since its not really needed
19245 - (nm_device_wireless_network_exists): Try to get correct
19246 encryption status of a found AP if its already in our
19248 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19249 memory allocs/deallocs a bit clearer and shorter-lived
19251 2004-10-26 Ray Strode <rstrode@redhat.com>
19253 * panel-applet/NMWirelessApplet.c:
19254 (custom_essid_item_selected): kill some compiler
19257 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19259 * info-daemon/NetworkManagerInfoDbus.c
19260 - (nmi_dbus_is_running): New function for determining if nmi is already running
19261 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19263 2004-10-23 Dan Williams <dcbw@redhat.com>
19265 * info-daemon/NetworkManagerInfoDbus.c
19266 - Trap the "DeviceActivationFailed" signal
19268 * docs/NetworkManager DBUS API.txt
19269 - Add "DeviceActivationFailed" signal
19271 * panel-applet/NMWirelessAppletDbus.c
19272 - Quash the "NetworkManager service not available" message
19274 * src/NetworkManagerDbus.[ch]
19275 - Add the "DeviceActivationFailed" signal
19277 * src/NetworkManagerDevice.c
19278 - Add support for activation_failed flag
19279 - Fix deadlock where activation thread didn't clean itself up, making
19280 main thread still believe it was alive forever (didn't reset activation
19281 flags like activating, just_activated, etc when IP configuration
19284 * src/NetworkManagerPolicy.c
19285 - Implement logic for DeviceActivationFailed signal, and when activation fails
19286 for wireless networks, try to fall back to some other access point
19288 2004-10-23 Dan Williams <dcbw@redhat.com>
19290 * panel-applet/NMWirelessApplet.[ch]
19291 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19292 to the applet object, so we can get tooltips
19293 - Add tooltips (RH #136866)
19295 * src/NetworkManagerDevice.c
19296 - When trying to find a wireless network, try to connect with encryption
19297 turned on first, so that we can more accurately detect whether or not
19298 we need to use encryption for the actual association later on
19300 2004-10-21 Dan Williams <dcbw@redhat.com>
19302 * Add some support for telling NetworkManagerInfo to tell the user
19303 that they are using a device that's not fully supported
19305 * Fix some assertions in debug messages due to null access point args
19307 2004-10-21 Dan Williams <dcbw@redhat.com>
19309 * src/NetworkManagerDevice.c
19310 - Don't try to activate/bring up/down unsupported
19313 * src/NetworkManagerUtils.c
19314 - Fix case of PCI ID checks for driver support levels
19316 2004-10-21 Dan Williams <dcbw@redhat.com>
19319 - New file, now contains commonly used structures and bits
19320 for the dbus API of NetworkManager
19323 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19325 * src/NetworkManager.h
19326 - Rename -> src/NetworkManagerMain.c
19328 * Various fixups all around to use NetworkManager.h and new
19329 src/NetworkManagerMain.h, remove redundant bits that got
19330 moved into NetworkManager.h
19332 * src/NetworkManagerDevice.[ch]
19333 src/NetworkManagerUtils.[ch]
19334 src/NetworkManagerPolicy.c
19335 src/NetworkManagerDbus.c
19336 - Whitelist wireless drivers, and blacklist some wired
19337 drivers. Also blacklist cipsec and ethernet-over-usb
19338 devices at this time (RH #135722, RH #135648)
19339 - Don't leak unsupported devices out over dbus, or allow
19340 them to be set as the active device. Skip over them
19341 during automatic device picking
19343 * test/nmclienttest.c
19344 - Clean up the dbus code a lot
19346 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19348 * configure.in: post release bump.
19350 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19353 * NEWS: Released NetworkManager-0.3.1
19355 2004-10-18 Dan Williams <dcbw@redhat.com>
19357 Patches from Thom May:
19358 * test/nmtestdevices.c
19359 - Include <string.h>
19360 * src/backends/NetworkManagerDebian.c:
19361 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19362 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19363 Move to using g_strdup_printf rather than arbitrary buffers
19364 - (nm_system_device_setup_static_ip4_config) Implement function.
19365 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19367 2004-10-17 Dan Williams <dcbw@redhat.com>
19369 * info-daemon/NetworkManagerInfoDbus.c
19370 - Display name of network in the "network not found" dialog
19372 * panel-applet/NMWirelessAppletDbus.c
19373 - (nmwa_dbus_call_nm_method): new function replaces all other
19374 nmwa_dbus_get_[string|string_array|int|boolean] methods
19375 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19376 consolidated into nmwa_dbus_get_object_name()
19378 2004-10-15 Dan Williams <dcbw@redhat.com>
19380 * src/NetworkManagerDbus.c
19381 info-daemon/NetworkManagerInfoDbus.c
19382 - Display an error dialog when the user tries to use an
19383 "Other wireless network" that's not found.
19385 2004-10-15 Dan Williams <dcbw@redhat.com>
19387 * panel-applet/NMWirelessApplet.[ch]
19388 - Fix up corner cases in applet state, making it
19389 look more responsive. Change state to "connecting" when
19390 the user is forcing a device too.
19392 2004-10-15 Dan Williams <dcbw@redhat.com>
19394 * src/NetworkManagerAPList.c
19395 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19397 * src/NetworkManagerDbus.c
19398 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19400 * src/NetworkManagerDevice.c
19401 - Disown APs after the device's AP list takes ownership
19403 2004-10-15 Dan Williams <dcbw@redhat.com>
19405 * panel-applet/NMWirelessApplet.c
19406 - Update our applet state from the GUI thread
19408 * panel-applet/NMWirelessAppletDbus.c
19409 - Greatly simplify the locking to make the GUI thread
19410 smoother. Update a private copy of the device list
19411 and active device and only when done talking to
19412 NetworkManager turn it over to the GUI thread.
19414 2004-10-15 Dan Williams <dcbw@redhat.com>
19416 * src/NetworkManagerAP.[ch]
19417 - Add "artificial" get/set functions, set for APs that
19418 aren't discovered as part of a scan but instead
19419 discovered by force-setting the ESSID
19421 * src/NetworkManagerDevice.[ch]
19422 - (nm_device_wireless_network_exists): pass back whether
19423 or not the discovered AP was encrypted. Also, try
19424 falling back to encrypted mode on the card if unencrypted
19425 association doesn't work
19426 - (nm_device_find_and_use_essid): If the network requested
19427 did in fact exists, but it wasn't in our scan list, add
19428 an "artificial" entry for it. Some Cisco cards don't
19429 see non-ESSID-broadcasting APs in their scan but can still
19430 associate with them if you know the ESSID, this works around
19432 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19433 to scan if the card is currently associated with that AP
19435 2004-10-15 Dan Williams <dcbw@redhat.com>
19437 ---- We have a website ----
19438 http://people.redhat.com/dcbw/NetworkManager
19440 Patch from Robert Paskowitz:
19441 * src/NetworkManager.c
19442 - (main): Make sure we are run as root
19443 * src/NetworkManagerDevice.c
19444 - Fix type in ad-hoc setting function
19446 Patch from Thom May:
19447 * src/backends/NetworkManagerDebian.c
19448 - Make Debian backend compile again
19450 2004-10-14 Dan Williams <dcbw@redhat.com>
19452 * Tagged NetworkManager-0_3
19454 2004-10-14 Dan Williams <dcbw@redhat.com>
19456 Patch from Robert Paskowitz:
19458 src/NetworkManagerDevice.[ch]
19459 src/backends/NetworkManagerDebian.c
19460 src/backends/NetworkManagerGentoo.c
19461 src/backends/NetworkManagerRedHat.c
19462 src/backends/NetworkManagerSlackware.c
19463 - Add support for grabbing and using a broadcast address
19464 from system config files
19465 - Some Gentoo backend fixes for grabbing network config
19466 - Fix LOG_WARN->LOG_WARNING
19468 2004-10-14 Dan Williams <dcbw@redhat.com>
19470 * NEWS: a few small fixes in the credits
19472 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
19474 * NEWS: prep for release.
19476 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
19478 * panel-applet/NMWirelessAppletDbus.c
19479 (nmwa_dbus_update_device_wireless_networks): remove warnings.
19481 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
19483 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19484 applet->state == APPLET_STATE_NO_NM animation.
19486 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19487 set the text correctly.
19489 2004-10-14 Dan Williams <dcbw@redhat.com>
19491 * src/NetworkManager.c
19492 - Only accept and manager 802.3 and 802.11 devices
19494 * src/NetworkManagerDbus.[ch]
19495 - (nm_dbus_nm_set_active_device): move most of the actual activation
19496 logic into NetworkManagerDevice.c
19497 - (nm_dbus_network_status_from_data): new function
19498 - (nm_dbus_signal_network_status_change): new function, unused for now
19499 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19501 * src/NetworkManagerDevice.[ch]
19502 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
19505 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19507 * info-daemon/NetworkManagerInfo.c
19508 - (main): Added session management
19510 2004-10-14 Dan Williams <dcbw@redhat.com>
19512 * panel-applet/NMWirelessAppletDbus.[ch]
19513 - Expose network_device_[un]ref()
19514 - Expose wireless_network_[un]ref()
19515 - (wireless_network_new_with_essid): new function, create and return
19516 a wireless network with a particular essid
19518 * panel-applet/NMWirelessApplet.c
19519 - Hook up the "other network" dialog to do something
19521 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
19523 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
19524 doesn't work yet, but it looks okay.
19526 * panel-applet/icons/*png: Resize to 22x22 and install in the
19529 2004-10-13 Dan Williams <dcbw@redhat.com>
19531 * panel-applet/NMWirelessApplet.c
19532 - Add function to print out applet_state in a readable
19535 * src/NetworkManager.c
19536 - (main): Don't segfault when nm_dbus_init() fails, we had
19537 a left-over call to hal_shutdown() into which we passed NULL
19539 * src/NetworkManagerAP.c
19540 - (nm_ap_set_essid): Allow NULL essids
19542 * src/NetworkManagerAPList.[ch]
19543 - More use of nm_ap_list_[un]lock ()
19544 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19545 network/essid, just return nothing. Also skip over NULL
19546 essid access points in the list when searching
19547 - (nm_ap_list_get_ap_by_address): new function
19548 - (nm_ap_list_update_network): set the access point's key source to
19549 NULL when the key returned from NetworkManagerInfo is NULL or
19551 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19552 copy timestamp over too
19553 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19554 find the correct ESSID for a blank-essid access point by searching
19555 through another list and matching access point MAC addresses
19556 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19558 * src/NetworkManagerDbus.c
19559 - (nm_dbus_nm_set_active_device): deal with random networks the user
19560 may specify. This is mainly for access points that don't
19561 broadcast their essid. So if the user tells us to associate with
19562 some random ESSID that's not in our access point list, we find
19563 out if the access point does in fact exist (by attempting association
19564 and then matching that access point's MAC address with the essid the
19565 user gave us) and then we switch to it.
19566 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19567 to the returned list of networks for the "getNetworks" method
19569 * src/NetworkManagerDevice.[ch]
19570 - Extra debugging info for link detection
19571 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19572 based on MAC address
19573 - (nm_device_get_path_for_ap): ignore blank-essid access points
19574 - (nm_device_wireless_network_exists): new function, find out whether
19575 a random ESSID exists by attempting to associate with it
19576 - (nm_device_do_normal_scan): allow blank-essid access points in our
19577 device list as long as they have an AP MAC address we can use.
19578 Also send WirelessNetwork[Dis]Appeared signals for non-active
19579 devices too. Lets the applet update more frequently.
19581 * src/backends/NetworkManagerGentoo.c
19582 - Patch from: Robert Paskowitz
19583 - Update backend code for Gentoo
19584 - Implement nm_system_device_update_config_info ()
19586 * test/nmclienttest.c
19587 - (set_network_device): new function, takes a command-line argument
19588 and tells NetworkManager to use that wireless network
19590 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19592 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19593 if the notification icon crashes 5 times within 5 seconds of each respawn
19595 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
19597 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19600 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
19602 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19604 * panel-applet/NMWirelessApplet.c: (animation_timeout),
19605 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19606 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19607 Change the name of the icons.
19609 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19610 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19611 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19612 (nm_menu_wireless_expose_event): Really bad hack to get the style
19613 to draw in the right color.
19615 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19617 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
19618 Notification if it crashes
19620 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
19622 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
19623 (nmwa_dbus_get_string): remove unused functions
19625 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19626 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19627 remove unused functions
19629 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19631 2004-10-12 Dan Williams <dcbw@redhat.com>
19633 * panel-applet/NMWirelessAppletDbus.c
19635 wireless_network_new
19636 wireless_network_copy
19638 network_device_copy
19640 * src/NetworkManagerDevice.[ch]
19642 nm_device_set_mode_managed
19643 nm_device_set_mode_adhoc
19644 - Use these functions where appropriate
19645 - When creating a new wireless device, force the card
19646 to managed/Infrastructure mode as soon as possible
19648 2004-10-12 Dan Williams <dcbw@redhat.com>
19650 * src/NetworkManagerDevice.c
19651 - Force wireless cards into Infrastructure mode before we use them
19653 2004-10-12 Dan Williams <dcbw@redhat.com>
19656 - Remove bit about static IP address support
19658 * src/NetworkManagerUtils.c
19659 - (nm_spawn_process): Add some error reporting
19661 * src/NetworkManagerDevice.c
19662 - (nm_device_activation_configure_ip): hook up to the static config
19663 routines in the backends
19665 * src/backends/NetworkManagerRedHat.c
19666 - (nm_system_device_update_config_info): use shvar.c routines to
19667 parse the config file iformation, not our own
19668 - (nm_system_device_setup_static_ip4_config): new function, based
19669 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
19670 with a static IP address and gateway
19672 * src/backends/shvar.[ch]
19673 - Parser (filched from initscripts package) for ifcfg-* files
19675 * src/backends/NetworkManagerSystem.h
19676 src/backends/NetworkManagerGentoo.c
19677 src/backends/NetworkManagerDebian.c
19678 src/backends/NetworkManagerSlackware.c
19679 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19681 2004-10-11 Dan Williams <dcbw@redhat.com>
19684 - Remove bit about more robust AP diffing since I just implemented it
19686 2004-10-11 Dan Williams <dcbw@redhat.com>
19688 * src/NetworkManagerAP.c
19689 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19690 enough RAM to allocate new AP structures, but return NULL instead
19692 * src/NetworkManagerAPList.[ch]
19693 - (nm_ap_list_is_empty): new function
19694 - (nm_ap_list_combine): new function, combine two access point lists
19695 - (nm_ap_list_copy_keys): new function, copy keys from one list
19698 * src/NetworkManagerDevice.[ch]
19699 - Rename some functions to be clearer:
19700 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19701 nm_device_just_activated -> nm_device_is_just_activated
19702 nm_device_activating -> nm_device_is_activating
19703 nm_device_now_scanning -> nm_device_is_scanning
19704 - Cache the last 4 scans so that the access point list is more stable.
19705 We combine the lastest two scans and use that as the AP list,
19706 and diff that combined list against the combination of the earliest
19707 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19709 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19711 * info-daemon/NWManagerInfo.h
19712 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19714 * info-daemon/NWManagerInfoDbus.c
19715 - (shutdown_callback): new function
19716 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19717 if NetworkManager goes away. Kill the timeout
19718 if NetworkManager restarts before the 30 seconds
19720 - (nmi_dbus_service_init):
19721 - call gtk_main_quit if NetworkManager is not running
19722 - add filters to monitor dbus service creations and
19725 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19727 * panel-applet/NMWirelessApplet.c
19728 - (nmwa_update_state): Hide notification icon if we are only
19729 showing one wired card and no wireless interfaces
19730 (Red Hat Bug #134895)
19732 * panel-applet/NMWirelessAppletDbus.c
19733 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19735 * info-daemon/NWManagerInfo.c
19736 - (main): Terminated the notification_icon_cmd array with a NULL
19738 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
19740 * configure.in (ALL_LINGUAS): Added de (German).
19742 2004-10-08 Dan Williams <dcbw@redaht.com>
19744 * src/NetworkManagerDevice.c
19745 - Be a bit more robust about link checking, ie make sure that
19746 the WEP key we were given actually has some data in it
19748 2004-10-08 Dan Williams <dcbw@redhat.com>
19750 * info-daemon/NetworkManagerInfo.c (main):
19751 - Initialize GError object to NULL
19753 2004-10-08 Dan Williams <dcbw@redhat.com>
19755 * panel-applet/NMWirelessAppletDbus.c
19756 - Die if NetworkManagerInfo dies, since it manages our lifetime
19758 2004-10-08 Dan Williams <dcbw@redhat.com>
19760 * info-daemon/NetworkManagerInfo.[ch]
19761 info-dameon/NetworkManagerInfoDbus.[ch]
19762 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19763 - Preserve original label text in the passphrase dialog so that
19764 it actually gets updated with the new network name the next
19765 time around. Previously, we were overwriting it so you'd get
19766 the wrong network name to enter a key for
19767 - Add a "Key Type" combo to the passphrase dialog, user selects
19768 encryption key type now, type is stored in GConf too
19769 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19771 * src/NetworkManagerAP.[ch]
19772 - Remove all the encyption method magic. It's now set by the user
19773 and NetworkManager retrieves the type of encryption key from
19776 * src/NetworkManagerAPList.[ch]
19777 src/NetworkManagerDbus.[ch]
19778 - Adjust to new way of setting encryption key and method
19779 - Pull encryption method down from NMI along with key
19781 * src/NetworkManagerDevice.[ch]
19782 - Removed encryption method fallback magic as the method is now
19783 determined by the user. This greatly simplifies the connection
19785 - More robust connection/link logic. Besides removing the encryption
19786 method fallback magic, check whether or not the card is receiving
19787 invalidly encrypted packets, which usually indicates that we have
19789 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19791 * test/nminfotest.c
19792 - Test out new "Key Type" stuff in the NMI passphrase dialog
19794 2004-10-07 Dan Williams <dcbw@redhat.com>
19796 * info-daemon/NetworkManagerInfo.conf
19797 - Allow root user to run NMI too
19799 2004-10-06 Dan Williams <dcbw@redhat.com>
19801 * src/NetworkManagerDevice.[ch]
19802 src/NetworkManagerDbus.c
19803 doc/NetworkManager DBUS API.txt
19804 - Add a new status tag "scanning", which is set when there
19805 is no active network connection, but NetworkManager is
19806 looking for an access point to associate with
19808 * panel-applet/main.c
19809 - Cast the applet appropriately for gtk_widget_show_all ()
19811 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
19813 * panel-applet/eggtrayicon.[ch]:
19814 * panel-applet/main.c: Add missing file
19816 2004-10-04 Dan Williams <dcbw@redhat.com>
19818 * src/NetworkManagerDevice.[ch]
19819 - Add a slightly more robust method of determining if the WEP key
19820 is correct or not, by checking the WEP-discarded packet count
19823 * info-daemon/NetworkManagerInfo.c
19824 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19825 un-escape values we pull out rather than escaping them
19827 2004-10-03 Marcel Telka <marcel@telka.sk>
19829 * configure.in (ALL_LINGUAS): Added sk.
19831 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
19833 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19834 and feel. We should be back to working, and have a good, clean
19837 2004-09-30 Dan Williams <dcbw@redhat.com>
19839 * info-daemon/NetworkManagerInfo.c
19840 info-daemon/NetworkManagerInfoDbus.c
19842 - Escape ESSIDs in gconf
19844 * src/NetworkManagerDevice.c
19845 - Fix pseudo-scanning to use netowrk list from info daemon
19847 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
19849 * configure.in: Add a temporary --enable-notification-icon. This
19850 will prolly go away.
19852 * info-daemon/Makefile.am:
19853 * info-daemon/NetworkManagerInfo.c:
19854 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19856 * panel-applet/Makefile.am:
19857 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19858 * panel-applet/NMWirelessApplet.h:
19860 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
19862 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
19863 before 'select custom ESSID'.
19865 * panel-applet/menu-info.c: Start rewrite for better headers. Not
19866 fully complete, but syncing in prep for merge.
19868 * panel-applet/icons/*png: New images
19870 2004-09-28 Dan Williams <dcbw@redhat.com>
19872 * src/NetworkManager.c
19873 src/NetworkManagerDevice.c
19874 src/NetworkManagerPolicy.c
19875 - Don't blow away an active wired connection on startup
19877 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
19881 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19883 * info-daemon/NetworkManagerInfoDbus.c: added service name to
19886 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
19888 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19889 have a wireless card.
19891 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
19893 * panel-applet/NMWirelessApplet.c: move the custom essid item.
19894 Also, get the right device strings.
19896 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
19898 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19899 the logic to make this right.
19901 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19902 devices so that wired networks are always first.
19904 2004-09-22 <clarkbw@cvs.gnome.org>
19906 * initscript/Debian/.cvsignore:
19907 * initscript/Slackware/.cvsignore:
19908 Added new cvsignores for Makefile, Makefile.in
19911 Added nmtestdevices
19913 * src/NetworkManagerDevice.c:
19914 * src/NetworkManager.c:
19915 Updated the wireless/wired HAL device strings from net.ethernet to
19916 net.80203 or net.80211 depending on wired or wireless respectively
19918 * examples/python/NetworkManager.py:
19919 s/Quality/Strength/
19921 * examples/python/systray/network_tray.py:
19922 Lots of little changes and fixes. been rotting for a while so I
19923 figured I'd finally sync them all with CVS
19925 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
19927 * configure.in: Add graphics
19929 * panel-applet/Makefile.am: Add graphics
19931 * panel-applet/icons/*: Add graphics
19933 * panel-applet/NMWirelessApplet.c: Use new menu times to display
19934 the icons fully lined up.
19936 * panel-applet/menu-info.c:
19937 * panel-applet/menu-info.h: Add another menu type.
19939 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
19941 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19943 * panel-applet/menu-item.[ch]: Wireless menu item.
19945 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
19947 * info-daemon/NetworkManagerInfo.conf
19948 - Created a more robust security policy for the DBus service
19949 - everything is denied by default
19950 - root can own and send to the service
19951 - users logged in at the console can send to the service
19953 2004-09-13 Dan Williams <dcbw@redhat.com>
19955 * src/NetworkManagerDevice.c
19956 - (nm_device_get_essid): use iw_get_basic_config() rather than
19957 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19960 2004-09-13 Dan Williams <dcbw@redhat.com>
19964 * docs/NetworkManager DBUS API.txt
19965 - Update for new signal strength changes
19967 * panel-applet/NMWirelessApplet.c
19968 - Make panel icon show strength of the current connection
19969 - Cleanups and memleak fixes
19971 * panel-applet/NMWirelessApplet.h
19972 - Add data members for signal strength on devices and networks
19974 * panel-applet/NMWirelessAppletDbus.c
19975 - Free more DBusErrors
19976 - Update for new signal strength changes
19977 - Make devices and networks more like real objects, use ref/unref methods
19978 - Actually unlock the mutex when updating the active device
19980 * src/NetworkManagerAP.c
19981 - Change AP functions and data members from "quality"->"strength"
19983 * src/NetworkManagerDbus.c
19984 - Kill "getMaxQuality" and "getQuality" methods
19985 - Add "getStrength" methods for Networks and Devices
19987 * src/NetworkManagerDevice.[ch]
19988 - Add accessors for device strength
19989 - Add functions to update strength for a device. Note that not all drivers
19990 actually support signal strength for scanned access points (Atmel drivers
19992 - Calculate signal strength for each AP during scan
19994 * src/NetworkManagerWireless.[ch]
19995 - Add function to return signal strength % from a device and a raw quality struct
19997 * test/nmclienttest.c
19998 - Update for new signal strength changes
20000 2004-09-11 Dan Williams <dcbw@redhat.com>
20002 * src/NetworkManager.c
20003 - Fix race condition between initscripts and NM on card insertion
20004 which could cause a card to keep an IP address and routes around
20005 even when it was not the active device
20007 * src/NetworkManagerDbus.c
20008 - Fix compile errors, free more DBusErrors
20010 2004-09-11 Dan Williams <dcbw@redhat.com>
20012 * docs/NetworkManager DBUS API.txt
20013 - Add an explanation of NM's API
20015 * src/NetworkManagerDbus.c
20016 - Free some more DBusErrors if needed
20018 2004-09-11 Dan Williams <dcbw@redhat.com>
20020 * panel-applet/NMWirelessApplet.c
20021 panel-applet/NMWirelessAppletDbus.c
20022 - Start using NetworkDevice/WirelessNetwork structures in more places
20023 - Update for unified device/network forcing in NetworkManager
20025 * src/NetworkManager.c
20026 - some code consolidation
20028 * src/NetworkManagerDbus.c
20029 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20030 or two arguments: the first is the NM ID of the device to switch to,
20031 and the second (optional) argument is the ESSID of a wireless network
20033 - Get rid of "setNetwork" method due to above change
20035 * src/NetworkManagerDevice.c
20036 - (nm_device_new): perform scan and update best AP on device creation
20037 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20038 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20039 spin waiting for cancellation to finish before returning
20041 * src/NetworkManagerPolicy.c
20042 - Changes here clarify the situations in which a device switch occurs, and
20043 make sure to keep using a forced device and network if the user gives
20045 - Remove old unused code
20047 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
20049 * configure.in: Added Danish (da) to ALL_LINGUAS.
20051 2004-09-09 Dan Williams <dcbw@redhat.com>
20053 * panel-applet/NMWirelessAppletDbus.c
20054 - Pull fresh devices and networks from NM when wireless networks
20055 change. Provides faster feedback of a forced wireless network
20057 * src/NetworkManagerDbus.c
20058 - Return error when "getMaxQuality" is called on a wired device
20059 - Make best_ap freezing actually work again, and signal cancellation
20060 of activation if there's already a device activation when the user
20061 freezes the best_ap
20063 * src/NetworkManagerDevice.c
20064 - Don't clear out the best_ap for wireless devices when the link goes
20065 down, that's done elsewhere
20066 - Kill any dhcp daemons when cancelling device activation since they
20067 may be stuck waiting for a DHCP address, and since we're cancelling
20068 activation we don't care about that anymore
20070 * src/NetworkManagerPolicy.c
20071 - Make sure to unref the device we ref earlier (we refed it to make sure
20072 it stuck around during device activation and such)
20073 - If we were going to change the best device, but its activating currently
20074 (and therefore the change didn't occur due to the check earlier)
20075 we mark the state changed to we come back to it later when device
20076 activation has canceled and its no longer activating
20078 * src/backends/NetworkManagerRedHat.c
20079 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20081 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
20083 * info-daemon/passphrase.glade:
20084 set passphrase input to activates_default : True
20086 * examples/python/systray/network_tray.py
20087 (network_tray.sort_networks):
20089 Added support for having wireless always scanning
20091 2004-09-09 Dan Williams <dcbw@redhat.com>
20093 NOTE: this commit changes the behavior of wireless devices in
20094 NetworkManager. They are now up all the time, scanning all
20095 the time. Only the active device has an IP address and routing
20096 information set up however. Also, NetworkManager will no longer
20097 opportunistically switch wireless networks when a better one
20098 comes in range, it will remain associated with one wireless network
20099 until that one drops out.
20101 * panel-applet/NMWirelessApplet.c
20102 panel-applet/NMWirelessAppletDbus.c
20103 - List all wireless cards and their respective networks
20105 * src/NMLoadModules
20106 - Use full path to /sbin/ip
20108 * src/NetworkManager.c
20109 - Keep wireless devices up all the time so they can scan
20111 * src/NetworkManagerDbus.c
20112 - On a WirelessNetworkUpdate signal from NMI, don't update
20115 * src/NetworkManagerDevice.c
20116 - (nm_device_set_link_active): clear out the best ap for
20117 wireless devices when the link is set to FALSE
20118 - Scan on all wireless cards, all the time
20119 - (nm_device_activation_worker): split out the wireless card
20120 link-waiting code to a separate function
20121 - Keep wireless cards up even if device activation fails
20122 - Don't update the "best" ap as much
20124 * src/NetworkManagerPolicy.c
20125 - Don't update the best ap when checking if its frozen,
20126 let link checking clear out a frozen best ap for us
20128 * src/NetworkManagerWireless.c
20129 - Scan on all wireless cards, all the time
20131 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
20133 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20135 2004-09-09 Ankit Patel <ankit@redhat.com>
20137 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20139 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
20141 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20143 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
20145 * examples/python/NetworkManager.py:
20146 added CONNECTED, CONNECTING, and DISCONNECTED states
20147 added methods to return number of devices of a single type
20149 * examples/python/systray/network_tray.py:
20150 did some tweaks to get the menu looking near what it is supposed
20151 to look like. Also did a Airo card hack to make it show the
20154 2004-09-08 Dan Williams <dcbw@redhat.com>
20156 * panel-applet/no-networkmanager.png
20157 panel-applet/Makefile.am
20158 panel-applet/NMWirelessApplet.c
20159 - Add a "NetworkManager not running" icon and use it
20160 - Use new consolidated GConf keys rather than Preferred/Trusted
20164 * info-daemon/NetworkManagerInfo.c
20165 info-daemon/NetworkManagerInfoDbus.[ch]
20166 info-daemon/NetworkManagerInfoPassphraseDialog.c
20167 - There are now no longer two separate lists of wireless networks,
20168 but one list where each network is "trusted" or not trusted
20169 - Add a "getNetworkTrusted" dbus method
20170 - "WirelessNetworkUpdate" signal now sent rather than
20171 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20172 - Start freeing some dbus errors (not completed yet)
20174 * info-daemon/passphrase.glade
20175 - Remove the "don't show" hints for pager and taskbar
20176 - Add a title since its going to be in the taskbar
20178 * src/NetworkManager.[ch]
20179 src/NetworkManagerAPList.[ch]
20180 - There are now no longer two separate lists of wireless networks,
20181 but one list where each network is "trusted" or not trusted
20183 * src/NetworkManagerAP.[ch]
20184 - Add get/set "trusted" accessors and data bit
20186 * src/NetworkManagerDbus.[ch]
20187 - Add function to get "trusted" status of a network from NetworkManagerInfo
20188 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20190 * src/NetworkManagerDevice.[ch]
20191 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20192 - (nm_device_new): Get device config from backend when initializing devices
20193 - (nm_device_activation_worker): Split out device configuration on
20194 activation to deal with static/dynamic IP differences, and try encryption
20195 fallbacks on a device if the encryption method for the best AP is not good
20196 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20197 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20199 * src/NetworkManagerWireless.c
20200 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20202 * src/backends/NetworkManagerRedHat.c
20203 src/backends/NetworkManagerSystem.h
20204 - (nm_system_device_update_config_info): Add function to get device configuration
20205 from system data in ifcfg-* files
20207 * src/backends/NetworkManagerDebian.c
20208 src/backends/NetworkManagerGentoo.c
20209 src/backends/NetworkManagerSlackware.c
20210 - Add stub functions for getting device configuration
20212 2004-09-07 Dan Williams <dcbw@redhat.com>
20214 * src/backends/NetworkManagerRedhat.c
20215 src/backends/NetworkManagerSlackware.c
20216 - Use full path to /sbin/ip everywhere
20218 2004-09-07 Dan Williams <dcbw@redhat.com>
20220 Patch from: Narayan Newton <narayan_newton@yahoo.com>
20223 initscript/Makefile.am
20224 initscript/Slackware/Makfile.am
20225 initscript/Slackware/rc.networkmanager
20227 src/backends/NetworkManagerSlackware.c
20228 - Add Slackware support
20230 2004-09-07 Dan Williams <dcbw@redhat.com>
20232 Patches below from:
20234 Mark Roach <mrroach@okmaybe.com>
20235 Thom May <thom@debian.org>
20238 initscript/Debian/NetworkManager
20239 initscript/Debian/Makefile.am
20240 - Initscript for Debian
20242 * src/backends/NetworkManagerDebian.c
20243 - Add missing system init function to allow compilation
20246 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
20248 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20250 2004-09-03 Akagic Amila <bono@linux.org.ba>
20252 * configure.in: Added 'bs' to ALL_LINGUAS.
20254 2004-09-02 Colin Walters <walters@verbum.org>
20256 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20257 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20258 g_strdup_printf instead of arbitrarily sized buffers.
20260 2004-09-01 Colin Walters <walters@verbum.org>
20262 * NetworkManager.pc.in: New file.
20264 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20266 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
20268 * configure.in: Punjabi(pa) is added to po/.
20270 2004-08-31 Dan Williams <dcbw@redhat.com>
20272 * Remove 'debug' extern global from all files since we now
20275 * src/NetworkManager.[ch]
20276 - Break out routine that get the net.interface property from HAL,
20277 removing that logic from nm_create_device_and_add_to_list()
20278 - (nm_create_device_and_add_to_list): make this a bit more general so
20279 it doesn't do the talking to HAL. Also add arguments to facilitate
20280 the create of test devices.
20281 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20282 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20283 which makes NetworkManager listen for dbus commands to create test
20284 devices, which have no backing hardware. Use when you're on a plane
20285 for example, and/or forgot your wireless card at home. Test devices
20286 _cannot_ be created unless NM is started with --enable-test-devices.
20288 * src/NetworkManagerDbus.[ch]
20289 - New "getLinkActive" method for devices
20290 - New "setLinkActive" method for devices (only works on test devices)
20291 - New "createTestDevice" method on NetworkManager object to create a test
20292 device of a specified type (ie wired, wireless). UDI is created from
20293 scratch, as is the interface name. Only works when NM is started with
20294 --enable-test-devices switch.
20295 - New "removeTestDevice" method on NetworkManager object which removes a
20296 test device. Only works when NM is started with --enable-test-devices
20298 * src/NetworkManagerDevice.[ch]
20299 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
20300 whether a device is a test device or not, and what its link status is.
20301 - Deal with test devices in most functions. For those that work directly on hardware
20302 special-case test devices.
20303 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20305 - (nm_device_update_link_active): split out logic for wired and wireless device link
20306 checking to separate functions to facilitate test device link checking.
20307 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20308 don't make a distinction between System Authentication and Encryption
20309 (namely Cisco aironet), we use Open System auth when setting a WEP key
20310 on the card. We don't deal with Shared Key auth yet.
20311 - (nm_device_activation_worker): split the activation cancel check logic out into
20312 a separate routine nm_device_activation_cancel_if_needed()
20313 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20314 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20315 a list of fake access points that they can "see"
20316 - (nm_device_is_test_device): return whether or not a device is a test device
20318 * src/NetworkManagerPolicy.c
20319 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20320 previously if you "locked"/forced NM to use a wireless device but then
20321 selected a wireless network for NM to use, it would switch to a wired device.
20322 So, if the active device is wireless and it has a "forced" best AP, use it
20323 if the "forced" best AP is still valid
20324 - (nm_state_modification_monitor): deal with NULL best devices, for example
20325 there were no usable network devices, or the last one was removed
20327 * src/backends/NetworkManager*.c
20328 - Deal with test devices, mostly just return success for operations like getting
20331 * test/nmtestdevices.c
20332 - Test tool to create/remove/link-switch test devices
20334 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20336 * examples/python/NetworkManager.py:
20337 added convience functions has_wired_device and has_wireless_device
20339 * examples/python/systray/network_tray.py:
20340 cleaned up a bunch of cruft, added support for listing wireless
20341 networks just like the real applet. This is probably all I'm
20342 going to work on this applet from now on.
20343 TODO: add support for actually changing networks and devices
20345 * examples/python/NetworkManager.py (NetworkManager.get_device):
20346 changed "nm.networks" into a dict from a list so I can store all
20347 the cool information about networks in there
20349 * examples/python/systray/network_tray.py:
20350 Added nice message when you try to run without running make first
20352 * examples/python/NetworkManager.py:
20353 Bug fixes to the code so we get all the device information
20354 that we need in get_device()
20356 * examples/python/NMTester.py:
20357 Fixed _print_device_list to print_device_list
20359 2004-08-29 Seth Nickell <seth@gnome.org>
20363 Actually properly setup the Debian backend in configure.
20365 2004-08-29 Colin Walters <walters@verbum.org>
20367 * test/nminfotest.c: Include string.h and stdlib.h.
20368 (get_network_string_property, get_networks_of_type): Return NULL.
20370 * test/nmclienttest.c (get_device_name, get_active_device): Return
20373 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20374 use strlen, fgets always NULL-terminates the string.
20376 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20377 dbus_message_get_member): Remove /* in comment.
20379 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20381 * src/NetworkManager.c (quit): Unused, delete.
20382 (nm_data_free): Cast arg to GFunc.
20384 * panel-applet/NMWirelessAppletDbus.c: Need to include
20385 string.h, and dbus-glib-lowlevel.h (the latter is needed
20386 for dbus_connection_setup_with_g_main at present).
20387 (nmwa_dbus_update_wireless_network_list): Parenthesize
20388 assignment in conditional.
20389 (nmwa_dbus_worker): Return NULL.
20391 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20392 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20393 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20394 (nmwa_populate_menu): Return NULL on failure, instead of just
20397 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20399 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20402 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20405 2004-08-29 Colin Walters <walters@verbum.org>
20407 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20408 a GTimeVal instead of time_t. This is easier to work with,
20409 since time_t may be a long or double, we don't know.
20411 * src/NetworkManagerDbus.h: Update prototype.
20413 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20415 (nm_ap_get_timestamp): Update to return GTimeVal.
20416 (nm_ap_set_timestamp): Update to take GTimeVal.
20418 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20419 to handle GTimeVal.
20421 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20423 (nm_ap_list_print_members): Fix warnings in printf format.
20425 2004-08-29 Colin Walters <walters@verbum.org>
20427 * panel-applet/NMWirelessApplet.c: Include config.h.
20429 2004-08-29 Colin Walters <walters@verbum.org>
20431 * configure.in: Generate config.h.
20433 * configure.in: Dump dependency on OpenSSL; we can't
20434 use it since this package is GPL:
20435 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20436 Instead, check for libgcrypt, use it if available,
20437 otherwise use included MD5 code.
20439 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20440 Suck in from gnome-keyring, munge a bit.
20442 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20443 gnome-keyring-md5.h gnome-keyring-md5.c.
20444 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20446 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20447 libgcrypt or included gnome-keyring md5 bits.
20448 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20450 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20452 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20454 2004-08-27 Bryan Clark <bclark@redhat.com>
20456 * examples/python/systray/Makefile:
20458 Updated the clean section
20460 * examples/python/systray/trayiconmodule.c:
20461 * examples/python/systray/trayicon.override:
20462 * examples/python/systray/network_tray.py:
20463 * examples/python/systray/eggtrayicon.h:
20464 * examples/python/systray/eggtrayicon.c:
20465 * examples/python/systray/Makefile:
20466 * examples/python/README:
20467 * examples/python/NetworkManager.py:
20468 * examples/python/NMTester.py:
20470 Initial commit of these python example files
20472 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20474 * panel-applet/NMWirelessApplet.c
20475 - Make current device bold
20476 - Show more user-friendly device name if we got one from hal
20478 * panel-applet/NMWirelessAppletDbus.c
20479 - Grab "info.product" key from hal for network devices
20480 - Cache the current active device
20482 2004-08-27 Adam Weinberger <adamw@gnome.org>
20484 * configure.in: Added en_CA to ALL_LINGUAS.
20486 2004-08-27 Christian Rose <menthos@menthos.com>
20488 * configure.in: Added "sv" to ALL_LINGUAS.
20490 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20492 * Tag NetworkManager-0.2
20494 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
20496 * initscripts/Makefile.am
20497 * configure.in: Make pass distcheck
20499 * po/ChangeLog: added
20501 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20503 * panel-applet/NMWirelessApplet.c
20504 - Remove debugging code
20505 - Enable device switching from menus
20507 * panel-applet/NMWirelessAppletDbus.[ch]
20508 - Method for asking NM to switch devices
20510 * src/NetworkManagerDevice.c
20511 - Set dev->activating earlier, avoids race between
20512 the dbus signal of "DeviceActivating" and setting
20513 dev->activating (which is what NM's "status" method call
20516 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20518 * panel-applet/NMWirelessApplet.[ch]
20519 - Rework menu code to add devices to menu, and to show
20520 signal strength for each access point. Code cleanups
20523 * panel-applet/NMWirelessAppletDbus.c
20524 - Grab network devices from NetworkManager too
20525 - Grab quality information from NM for wireless networks
20527 * src/NetworkManagerDbus.[ch]
20528 - Add dbus methods for getting the HAL UDI from a device and
20529 for getting its base quality, if its wireless
20530 - Consolidate some functions (wireless network notifications,
20531 device notifications)
20532 - Add method for requesting NM to use a particular device
20534 * src/NetworkManager.c
20535 - Change for function consolidations from NetworkManagerDbus.c
20536 - Implement active device locking and user-requested devices
20537 (ie, tell NM to use a particular device instead of the one
20540 * src/NetworkManagerDevice.c
20541 - Add method for getting the base quality of a device, if its
20543 - Grab device base quailty info from iwlib during scans
20545 * src/NetworkManagerPolicy.c
20546 - Use a user-requested device rather than the auto-chosen device
20549 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
20551 * Makefile.am: add po as a supdir
20553 * autogen.sh: use gnome-autogen.sh
20555 * initscript/Gentoo/.cvsignore:
20556 * initscript/RedHat/.cvsignore: Shut up cvs
20558 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20560 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20561 (nmwa_fill): Use gettext.
20563 * configure.in: add gettext support
20565 * po/NetworkManager.pot:
20568 2004-08-26 Seth Nickell <seth@gnome.org>
20570 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20571 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20572 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20573 (nmwa_dispose_menu_items), (nmwa_populate_menu),
20574 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20575 * panel-applet/NMWirelessApplet.h:
20577 Use a menu bar instead of a button for the main clickable
20580 2004-08-25 Dan Williams <dcbw@redhat.com>
20582 * src/NetworkManagerDevice.c
20583 - (nm_device_set_enc_key): always set device to "open" mode instead of
20584 turning encryption off, because the Cisco driver doesn't associate
20585 with WEP-enabled access points unless we are in "open"
20587 2004-08-25 Dan Williams <dcbw@redhat.com>
20589 * src/NetworkManagerWireless.c
20590 - Don't try to defererence blank passphrases
20592 2004-08-25 Dan Williams <dcbw@redhat.com>
20594 * panel-applet/NMWirelessApplet.c
20595 - Rebuild the menu whenever a user clicks
20597 2004-08-25 Dan Williams <dcbw@redhat.com>
20599 * panel-applet/NMWirelessApplet.c
20600 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20601 when NM isn't around or when its not connected
20603 * src/NetworkManagerDevice.c
20604 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20607 2004-08-25 Dan Williams <dcbw@redhat.com>
20609 * panel-applet/NMWirelessAppletDbus.c
20610 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20611 for getting encryption, and don't stop on "val" once we've gotten it
20612 from NetworkManager. Short form: encryption should now show up.
20614 2004-08-25 Dan Williams <dcbw@redhat.com>
20616 * panel-applet/NMWirelessApplet.c
20617 - Set ESSID on a gconf trusted network too when force-setting the wireless
20618 network to associate with
20620 2004-08-25 Dan Williams <dcbw@redhat.com>
20623 - Rework the panel applet to do all DBUS communication in a separate
20626 2004-08-25 Dan Williams <dcbw@redhat.com>
20628 * info-daemon/NetworkManagerInfo.[ch]
20629 - Remove "get_next_priority" function
20631 * info-daemon/NetworkManagerInfoDbus.[ch]
20632 - Convert "priority" functions to "timestamp"
20634 2004-08-25 Dan Williams <dcbw@redhat.com>
20636 * src/NetworkManagerAP.[ch]
20637 - Add a "enc_method_good" member and accessors to an Access Point
20638 to signal when we've found the correct encryption method
20639 for an access point
20640 - Add a "timestamp" member and accessors, remove "priority" member
20641 and accessors (use timestamps instead)
20642 - Rename "wep_key"->"enc_key"
20643 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20644 for a specified encryption method using the access points
20645 source encryption key/passphrase
20647 * src/NetworkManagerAPList.c
20648 - When updating a network with dbus, grab timestamp now instead of
20651 * src/NetworkManagerDBus.[ch]
20652 - Add signal for "DeviceActivating"
20653 - Switch priority->timestamp
20655 * src/NetworkManagerDevice.c
20656 - Change references of "wep_key" -> "enc_key" or "key"
20657 - Signal DeviceActivating when starting activation
20658 - When activating a wireless device, if the access point we are connecting
20659 to is encrypted, and we have a source key, try to generate a mangled
20660 key and use that (ie, generate real WEP key from a passphrase)
20661 - Rework device activation to fallback to other encryption methods if
20662 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20663 first, then if that doesn't work fall back to direct hex key).
20664 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20665 priority. We now prefer the latest access point used, rather than using
20667 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20668 points we've just discovered, and merge in correct info from the global
20671 2004-08-25 Seth Nickell <seth@gnome.org>
20673 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20677 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20678 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20679 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20680 (nm_system_delete_default_route),
20681 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20682 (nm_system_load_device_modules):
20684 2004-08-24 Dan Willemsen <dan@willemsen.us>
20686 * src/NetworkManager.c
20687 src/backends/NetworkManagerGentoo.c
20688 src/backends/NetworkManagerRedHat.c
20689 src/backends/NetworkManagerSystem.h
20690 - Implement preliminary Gentoo support, adding a
20691 nm_system_init function to the backend specification
20694 - Distribution auto-detection, lowercase any user-fed
20697 * initscript/.cvsignore
20698 initscript/Makefile.am
20699 initscript/RedHat/Makefile.am
20700 initscript/RedHat/NetworkManager
20701 initscript/Gentoo/Makefile.am
20702 initscript/Gentoo/NetworkManager
20703 - Refactored initscript code separately for each
20706 2004-08-23 Dan Williams <dcbw@redhat.com>
20710 src/NetworkManagerDevice.c
20711 src/NetworkManager.c
20712 src/NetworkManagerUtils.[ch]
20713 src/backends/NetworkManagerSystem.h
20714 src/backends/NetworkManagerRedHat.c
20715 src/backends/NetworkManagerGentoo.c
20716 - Refactor system-specific code into separate backends for
20719 2004-08-23 Dan Willemsen <dan@willemsen.us>
20721 * dispatcher-daemon/NetworkManagerDispatcher.c
20722 info-daemon/NetworkManagerInfo.[ch]
20723 info-daemon/NetworkManagerInfoDbus.c
20724 info-daemon/NetworkManagerInfoPassphraseDialog.c
20725 src/NetworkManager.c
20726 src/NetworkManagerAP.c
20727 src/NetworkManagerAPList.c
20728 src/NetworkManagerDbus.c
20729 src/NetworkManagerDevice.c
20730 src/NetworkManagerPolicy.c
20731 src/NetworkManagerUtils.[ch]
20732 src/NetworkManagerWireless.c
20733 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20735 * src/NetworkManager.c
20736 - Fixed usage wording for --no-daemon
20738 2004-08-23 Dan Williams <dcbw@redhat.com>
20740 * panel-applet/NMWirelessApplet.c
20741 - Update our state every second to get more responsive panel icon
20742 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20743 was causing our marching ants status blips to never move when
20744 looking for a wireless network
20746 * src/NetworkManagerDevice.c
20747 - (nm_device_activation_begin): return if activation has already begun
20748 - (nm_device_do_normal_scan): merge WEP key and priority from the
20749 trusted/preferred network into the device's access point when the
20750 scan list is processed
20752 2004-08-23 Dan Williams <dcbw@redhat.com>
20754 * initscript/NetworkManager
20755 - Use NMLaunchHelper rather than sleeping
20757 * initscript/NMLaunchHelper.c
20759 - Add helper program that exits only when NM activates a device,
20760 or 10 seconds have passed, whichever happens first. This
20761 stops the boot processes until we have a network connection,
20762 which NM can't do because it daemonizes and brings the connection
20763 up in the background. Allows stuff like NFS to not die.
20765 2004-08-20 Dan Williams <dcbw@redhat.com>
20767 * info-daemon/NetworkManagerInfoPassphraseDialog.c
20768 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20769 for a network, set the essid as well since it may not exist yet
20770 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20771 since WEP keys/passphrases are long and prone to entry-error
20773 * panel-applet/Makefile.am
20774 panel-applet/wired.png
20775 - Add (pulled from system-config-network temporarily)
20777 * panel-applet/NMWirelessApplet.[ch]
20778 - Show wired picture when a wired connection is used
20779 - Rename wireless icon enums, adding WIRELESS
20781 * src/NetworkManagerDevice.c
20782 - (nm_device_activate_wireless): unset encryption before bringing
20783 down the card and setting the essid
20784 - (nm_device_activatin_worker): request a key from the user if the
20785 AP we are connecting to is encrypted but we don't have a key
20787 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20788 strcmp() that prevented a user-entered key from actually getting
20791 2004-08-16 Dan Williams <dcbw@redhat.com>
20793 * initscript/NetworkManager
20794 - Check for /sbin/ip
20795 - Do sysctl magic that network service does
20796 - sleep 4s after start to allow network time to come up [hack]
20800 - Load all network device kernel modules (hal doesn't know devices
20801 are ethernet until the module is loaded, and therefore we don't know)
20803 * src/NetworkManager.c
20804 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20805 network devices, and bring up the loopback device explicitly
20807 * src/NetworkManagerUtils.[ch]
20808 - (nm_enable_loopback): new function
20810 2004-08-13 Dan Williams <dcbw@redhat.com>
20813 panel-applet/Makefile.am
20814 - Fix up cleanfiles and server_DATA/server_in_files
20817 - Update with some comments on theory of operation
20823 2004-08-12 Dan Williams <dcbw@redhat.com>
20825 * info-daemon/passphrase.glade
20826 - Set window title to " "
20828 * panel-applet/Makefile.am
20829 panel-applet/keyring.png
20830 - Deliver to correct place
20832 * panel-applet/NMWirelessApplet.[ch]
20834 - Remove applet->have_active_device as its no longer used
20835 - (nmwa_load_theme): load keyring.png too
20836 - (error_dialog): remove
20837 - (show_warning_dialog): subsume functionality of error dialog too
20838 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20839 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20841 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20842 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20843 and when we get broadcasts of changed wireless access points only, not when the
20844 user clicks on the button to display the menu (too long of a wait)
20845 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20846 networks that are encrypted
20847 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20848 menu item with g_object_set_data()
20850 * panel-applet/NMWirelessAppletDbus.[ch]
20851 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20852 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20853 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20854 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20855 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20856 activation/deactivation signals and rebuild the menu when they happen
20858 * src/NetworkManager.c
20859 - (main): use new nm_spawn_process() rather than system()
20861 * src/NetworkManagerDbus.c
20862 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20863 instead. Since we can now force best_aps to stick around, the AP structure to which
20864 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20865 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
20866 to freeze the best_ap.
20868 * src/NetworkManagerDevice.[ch]
20869 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20870 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20871 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20874 * src/NetworkManagerUtils.[ch]
20875 - (nm_spawn_process): add replacement for system() usage
20877 2004-08-11 Dan Williams <dcbw@redhat.com>
20879 * panel-applet/NMWirelessApplet.[ch]
20880 - Fix up copyright and credits to include Bastien and Eskil,
20881 who created the gnome-applets wireless applet, from whose
20882 skeleton this one was created
20883 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20884 pixmap to draw is computed during nmwa_update_state()
20885 - Applet now shows itself all the time due to panel packing issues
20886 which caused the applet to previously never come back after hiding.
20887 When a wired device is the active device, the applet shows "not connected"
20889 * panel-applet/NMWirelessAppletDbus.[ch]
20890 - Clean up error messages and show what function they are from
20891 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20892 - Add new device type getters, and a status getter
20894 * src/NetworkManagerDbus.c
20895 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20896 network is actually in the device's ap list
20897 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20899 * src/NetworkManagerDevice.c
20900 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20903 * test/nmclienttest.c
20904 - Report status of NetworkManager too
20906 2004-08-11 Dan Williams <dcbw@redhat.com>
20908 * info-daemon/NetworkManagerInfo.c:
20909 - (main): clean up Seth's code style
20911 * info-daemon/NetworkManagerInfoDbus.c:
20912 - Use the more aptly-named path/service/interface constants from NetworkManager
20913 - Don't return empty strings ("") as object paths ever, instead return errors
20915 * panel-applet/NMWirelessApplet.c:
20916 - Clean up Seth's code style
20918 * src/NetworkManager.[ch]
20919 - (nm_remove_device_from_list): remove anything having to do with pending_device
20920 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20922 * src/NetworkManagerAPList.[ch]
20923 - Move Iter struct right above the iter functions to preserve opacity
20924 - (nm_ap_list_remove_ap): implement
20925 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20926 remove AP if NetworkManagerInfo doesn't know anything about it
20927 - (nm_ap_list_diff): user NMAPList iterators
20928 - (nm_ap_list_print_members): implement debugging function
20930 * src/NetworkManagerDbus.[ch]
20931 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20932 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20933 and move the actual key setting stuff into NetworkManagerDevice.c
20934 - (nm_dbus_get_network_priority): return -1 now on errors
20935 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20936 get lost, and force the active device to update its "best" ap when AP lists change
20937 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20938 method call due to pending_device member removal
20940 * src/NetworkManagerDevice.[ch]
20941 - Move NMDevice structure to the top
20942 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20943 - Remove Pending Action stuff from everywhere
20944 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20945 activation for us. This thread blocks until all conditions for activation have
20946 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20947 then setup up the interface and runs dhclient. We have to do this because there
20948 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20949 run our main loop and respond to dbus method calls or HAL device removals/inserts
20950 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20951 can tell nm_device_activation_worker() that we've got a key
20952 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20953 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20954 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20955 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20957 * src/NetworkManagerPolicy.c
20958 - Remove anything to do with pending_device
20959 - Adjust device activation to deal with activation-in-worker-thread
20961 * src/NetworkManagerUtils.c
20962 - Clean up locking debugging a bit
20964 * src/NetworkManagerWireless.[ch]
20965 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
20966 was badly named and is better as a device function
20968 * panel-applet/.cvsignore: add
20970 2004-08-09 Seth Nickell <seth@gnome.org>
20972 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20973 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20975 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20977 Don't load the menus until clicked on (also removes a call outside
20978 normal code paths at first load).
20980 Hide applet when NM is not present.
20982 Improve printf debugging stuff.
20984 2004-08-09 Dan Williams <dcbw@redhat.com>
20986 * dispatcher-daemon/NetworkManagerDispatcher.c:
20987 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20988 - Use constants for NetworkManager interface, service, and path
20990 2004-08-09 Dan Williams <dcbw@redhat.com>
20992 * src/NetworkManagerDbus.c:
20993 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20994 instead return an error message
20995 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20996 on a wired device. Also never return an empty object path, instead return an error message
20998 2004-08-06 Seth Nickell <seth@gnome.org>
21000 * panel-applet/NMWirelessApplet.c: (nmwa_new):
21002 Check the error code when getting a connection.
21004 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21006 Check if the NM service exists when initializing (rather than
21007 assuming it does not).
21009 * src/NetworkManagerDbus.c: (nm_dbus_init):
21011 Don't acquire the well-known service name until we have
21012 registered object/path handlers and can actually receive
21015 2004-08-06 Dan Williams <dcbw@redhat.com>
21020 * src/NetworkManagerPolicy.c
21021 src/NetworkManager.c
21022 - Get access point lists from NetworkManagerInfo on-demand,
21023 and look for ServiceCreate/ServiceDeleted signals to see when
21024 we should query NMI for lists
21025 * src/NetworkManagerAPList.c
21026 - Make sure to init the list's mutex
21027 - Convert traversals of the list over to the list iter functions
21029 * src/NetworkManagerDbus.[ch]
21030 - Use more aptly-named path/service/interface constants
21031 - Treat both active and pending devices the same for "getActiveDevice"
21032 - Add a "status" method returning "connected", "connecting", or "disconnected"
21034 * src/NetworkManagerDevice.c
21035 - Honor "ignored" network list when picking best ap to use
21037 2004-08-06 Seth Nickell <seth@gnome.org>
21041 Autogenerated, remove from CVS.
21045 Don't hardcode automake version.
21048 * info-daemon/Makefile.am:
21049 * info-daemon/NetworkManagerInfo.c: (main):
21051 Use GnomeProgram et al. for doing session management.
21052 Use popt stuff for argument parsing rather than doing
21055 2004-08-05 Dan Williams <dcbw@redhat.com>
21057 * test/nminfotest.c
21058 - Update to new NMI dbus API, check different network types
21060 * info-daemon/NetworkManagerInfoDbus.c
21061 - Update to new NM dbus API, ie network type sent in query message
21063 2004-08-05 Dan Williams <dcbw@redhat.com>
21065 * An assload of changes
21067 2004-08-02 Dan Williams <dcbw@redhat.com>
21070 - new task: proper logging support
21072 * info-daemon/NetworkManagerInfo.c
21073 - Correct spelling of "canceled"
21074 - Correct casting of objects for g_signal_connect()
21076 * info-daemon/NetworkManagerInfoDbus.c
21077 - Add defines for NetworkManager namespace and object path, and use them
21078 - Add filter function to trap new signals from NetworkManager:
21079 WirelessNetworkAppeared, WirelessNetworkDisappeared
21081 * info-daemon/passphrase.glade
21082 - Change name of "ok" button to "Login to Network..."
21085 * src/NetworkManager.c
21086 - Code and debug message cleanups
21087 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21088 - (nm_add_initial_devices) Check returned string array of devices
21089 and don't try to add devices if array is NULL
21090 - (main) Initialize libhal a bit later, make code a bit clearer
21092 * src/NetworkManagerAP.[ch]
21093 - New accessor and data member "matched": used to speed up AP list
21095 - New accessor and data member "enc_method": will be used during key
21096 fallback to cache which passphrase->key conversion actually works
21097 so we don't have to do it every time
21099 * src/NetworkManagerAPList.[ch]
21100 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21101 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21102 between them, and send WirelessNetworkAppeared/Disappeared signals over
21103 dbus in response to those differences
21105 * src/NetworkManagerDbus.[ch]
21106 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21107 make an object path for that access point (NOTE that we don't yet check to
21108 make sure that access point is actually in the device's AP list yet)
21109 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21110 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21111 New: signal appearance/disappearance of wireless networks
21112 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21115 * src/NetworkManagerDevice.[ch]
21116 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21117 - (nm_device_ap_list_get) New: return the AP list (static function)
21118 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21119 new one resulting from the scan with the old one
21121 * src/NetworkManagerWireless.c
21122 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21124 * test/nminfotest.c
21125 - #define object paths and namespaces and use the #defines rather than static strings
21126 - Test out user-key functionality of NetworkManagerInfo too
21128 2004-07-29 Dan Williams <dcbw@redhat.com>
21130 * info-daemon/NetworkManagerInfoDbus.c
21131 src/NetworkManagerDbus.c
21132 - Update to current DBus (ie don't use decomposed paths when registering
21133 object paths/fallbacks)
21135 2004-07-27 Dan Williams <dcbw@redhat.com>
21137 * Remove various Makefile.in files
21140 - Add some more items
21143 - Add checks for OpenSSL/md5 headers and libs
21146 - Use OpenSSL CFLAGS
21148 * src/NetworkManagerAP.[ch]
21149 - Remove 'stamp' functions, replace with 'invalid' functions
21150 to support user cancelling WEP key entry
21152 * src/NetworkManagerDbus.c
21153 - Remove 'stamp' return functions
21154 - Treat returned user key as a passphrase and convert to a WEP key,
21155 but don't actually use the WEP key yet. We use the returned user
21156 key as a hexadecimal WEP key until we can figure out a UI for
21157 passphrase-vs-hex key
21159 * src/NetworkManagerWireless.[ch]
21160 - Add passphrase-to-128bit-key function
21162 2004-07-27 Dan Williams <dcbw@redhat.com>
21165 - Add a couple of items
21167 2004-07-27 Dan Williams <dcbw@redhat.com>
21169 * info-daemon/NetworkManagerInfo.c
21170 - Update allowed network's GConf key when user enters a WEP key explicitly
21172 * info-daemon/NetworkManagerDbus.c
21173 - Fix some comments
21174 - nmi_dbus_get_allowed_networks(): kill warning
21176 2004-07-27 Dan Williams <dcbw@redhat.com>
21178 * initscript/Makefile.in
21181 * initscript/Makefile.am
21182 - Add correct rules to install the init.d initscript
21184 * info-daemon/NetworkManagerInfoDbus.c
21185 - Remove debug fprintf
21187 * src/NetworkManagerDbus.[ch]
21188 - Remove debug fprintfs
21189 - Add macros for NetworkManagerInfo object path/namespace
21190 - Use said macros instead of constant strings
21192 2004-07-27 Dan Williams <dcbw@redhat.com>
21194 * initscript/.cvsignore
21197 * info-daemon/Makefile.am
21198 - Install .glade files and keyring.png
21199 - Fix stupid omission of a \ that caused half the flags not to be
21202 * info-daemon/NetworkManagerInfo.c
21203 - gtk_signal_connect->g_signal_connect
21204 - Alert NetworkManagerInfo to new glade file location
21206 2004-07-27 Dan Williams <dcbw@redhat.com>
21208 * test/nmclienttest.c
21210 - Add missing <dbus/dbus.h> headers
21211 - Add GPL message at top
21213 2004-07-27 Dan Williams <dcbw@redhat.com>
21215 * src/NetworkManagerAPList.[ch]
21217 - Add. Deal with allowed network list additions, deletions, and updates
21219 * dispatcher-daemon/NetworkManagerDispatcher.c
21220 - Add missing <dbus/dbus.h> header
21222 * info-daemon/NetworkManagerInfo.[ch]
21223 - Add missing <dbus/dbus.h> header
21224 - Implement the GConf notify callback to signal NetworkManager of an allowed
21226 - Better error checking
21228 * info-daemon/NetworkManagerInfoDbus.[ch]
21229 - Add missing <dbus/dbus.h> header
21230 - Convert to using dbus_message_append_args/dbus_message_get_args
21231 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21232 that an allowed network changed. We don't want to signal on individual
21233 keys _inside_ an allowed network really, just want NM to query the info
21234 daemon for updated info on all keys.
21235 - Better error checking
21237 * src/NetworkManager.[ch]
21238 - Add missing <dbus/dbus.h> header
21239 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21240 - Zero out NMData structure on free
21241 - No longer use a thread for allowed_ap_list updating, instead its now done
21242 through dbus queries against NetworkManagerInfo
21243 - Populate allowed_ap_list initially before adding existing network devices
21244 to the device list, so wireless devices can get their "best" AP
21246 * src/NetworkManagerDbus.[ch]
21247 - Convert to using dbus_message_append_args/dbus_message_get_args
21248 - Better error checking
21249 - Implement Allowed Network info functions to request allowed network
21250 info from NetworkManagerInfo
21251 - Implement the filter function to process signals from NetworkManagerInfo
21252 about changing allowed networks
21254 * src/NetworkManagerDevice.c
21255 - Fix file descriptor leak in nm_device_update_ip4_address()
21257 2004-07-27 Dan Williams <dcbw@redhat.com>
21262 dispatcher-daemon/.cvsignore
21263 info-daemon/.cvsignore
21264 - Add .cvsignore files to reduce noise when diffing
21266 2004-07-24 Dan Williams <dcbw@redhat.com>
21268 * src/NetworkManager.[ch]
21269 src/NetworkManagerDbus.[ch]
21270 src/NetworkManagerDevice.[ch]
21271 src/NetworkManagerPolicy.c
21272 src/NetworkManagerWireless.[ch]
21273 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21274 - Pass the NMData application data structure through all calls
21275 that need it so we can get rid of nm_get_global_data()
21276 - Change deallocation of the allowed_ap_list GSList in preparation
21277 for not completely clearing it every time we get an update,
21278 but instead getting incremental updates via GConf/dbus
21280 2004-07-22 Dan Williams <dcbw@redhat.com>
21283 - Add checks for GConf libs & headers & flags
21285 * info-daemon/Makefile.am
21286 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21288 * info-daemon/NetworkManagerInfo.[ch]
21289 - Don't use gquarks for data storage, just use normal data storage
21290 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21292 * info-daemon/NetworkManagerDbus.[ch]
21293 - Add method call for getting allowed networks
21294 - Add method calls for getting an allowed network's essid, priority, and key
21295 - Hook the method calls up to GConf
21296 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21297 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21299 * src/NetworkManagerDbus.[ch]
21300 - Switch for enumeration of networks to using essid instead
21304 - Add test program for NetworkManagerInfo
21306 2004-07-19 Dan Williams <dcbw@redhat.com>
21308 * src/NetworkManagerDbus.c
21309 - Switch from indexed device paths to names. Less code, more efficient.
21310 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21312 2004-07-19 Dan Williams <dcbw@redhat.com>
21314 * dispatcher-daemon/NetworkManagerDispatcher.c
21315 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21317 2004-07-19 Dan Williams <dcbw@redhat.com>
21320 - Add info-daemon directory
21323 - Check for glade libs and headers
21324 - Add info-daemon directory
21326 * src/NetworkManagerAP.c
21327 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21328 copied over to the new AP.
21330 * src/NetworkManagerDbus.c
21331 src/NetworkManagerDbus.h
21332 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21333 - Remove nm_dbus_signal_need_key_for_network()
21334 - Add disabled code for asynchronous user wep key callbacks
21335 - Add functions for getting, setting, and cancelling user key operations
21336 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21337 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21339 * src/NetworkManagerDevice.c
21340 src/NetworkManagerDevice.h
21341 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21342 logic is in device activation now
21343 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21344 key is wrong) trigger get-user-key pending action
21345 - Implement get-user-key pending action stuff, tie to dbus messages
21346 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21347 - Add nm_device_ap_list_get_ap_by_essid()
21348 - Instead of copying "best" access points, ref them instead so that the key we set
21351 * src/NetworkManagerPolicy.c
21352 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21353 - Don't cancel pending actions on a device if its the same device as last iteration
21354 - Only promote pending_device->active_device if activation was successfull
21357 - Rename nmclienttest->nmtest
21359 * info-daemon/Makefile.am
21360 info-daemon/NetworkManagerInfo.c
21361 info-daemon/NetworkManagerInfo.h
21362 info-daemon/NetworkManagerInfoDbus.c
21363 info-daemon/NetworkManagerInfoDbus.h
21364 info-daemon/passphrase.glade
21365 info-daemon/NetworkManagerInfo.conf
21366 info-daemon/keyring.png
21367 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21368 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21369 lists to NetworkManager by proxying user's GConf
21372 2004-07-15 Dan Williams <dcbw@redhat.com>
21377 * src/NetworkManager.c
21378 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21379 that doing the deactivation ourselves
21380 - Cancel an pending actions on a device if its being removed
21381 - Break up link state checking a bit, make non-active wireless cards
21382 deactivated to save power
21383 - Remove unused variables
21385 * src/NetworkManager.h
21386 - Add support for "pending" device
21388 * src/NetworkManagerAP.h
21389 src/NetworkManagerAP.c
21390 - Add support for determining whether and AP has encryption enabled or not
21391 - AP address is now "struct ether_addr" rather than a string
21393 * src/NetworkManagerDbus.h
21394 src/NetworkManagerDbus.c
21395 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21396 - Changes for AP address from struct ether_addr->string
21398 * src/NetworkManagerDevice.h
21399 src/NetworkManagerDevice.c
21400 - Remove unused variables, fix warnings
21401 - Add support for Pending Actions (things that block a device from being "active"
21402 until they are completed).
21403 - First pending action: Get a WEP key from the user
21404 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21405 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21406 - Update wireless link checking to try to determine if the AP we are associated
21407 with is correct, but the WEP key we are using is just wrong. If its wrong,
21408 trigger the GetUserKey pending action on the device
21409 - If dhclient can't get an IP address, it brings the device down. Bring it back
21410 up in that case, otherwise we can't scan or link-check on it
21411 - Add IP address change notifications at appropriate points (still needs some work)
21412 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21414 * src/NetworkManagerPolicy.h
21415 src/NetworkManagerPolicy.c
21416 - Split out "best" access point determiniation into separate function
21417 - Make device activation 2-stage: first the device is pending, then
21418 in the next iteration through it becomes "active" unless it has
21421 * src/NetworkManagerUtils.h
21422 src/NetworkManagerUtils.c
21423 - Clean up unused variables and warnings
21424 - Wrap our debug macros in {} to prevent possible confusion
21426 * src/NetworkManagerWireless.c
21427 - Forgot to return current best priority, which lead to last available AP always
21428 being chosen no matter what its priority was. Corrected.
21430 2004-07-15 Dan Williams <dcbw@redhat.com>
21432 * dispatcher-daemon/Makefile.am
21435 * dispatcher-daemon/NetworkManagerDispatcher.c
21436 - Remove unused variables due to warnings
21437 - Fix some comments
21438 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21440 2004-07-06 Dan Williams <dcbw@redhat.com>
21442 * src/NetworkManager.c
21443 - Add IPv4 address update for active device during link state check
21444 - Don't allow wireless cards to be powered up when they are not the
21447 * src/NetworkManagerDbus.c
21448 src/NetworkManagerDbus.h
21449 - Add DBUS IPv4 address change signal
21450 - Add DBUS IPv4 address get method for devices
21452 * src/NetworkManagerDevice.c
21453 - Make setting the WEP key actually work
21454 - Move IP address get/set/update stuff here, per-device
21455 - Power down/bring down wireless device when deactivated
21456 - For scanning wireless devices, if first scan returned ENODATA, try again
21458 * src/NetworkManagerPolicy.c
21459 - Only set the WEP key for an allowed access point if there is one.
21460 We were setting it to be blank if one wasn't specified.
21462 * src/NetworkManagerUtils.h
21463 src/NetworkManagerUtils.c
21464 - Move the IP address stuff to NetworkManagerDevice.c
21466 * dispatcher-daemon/NetworkManagerDispatcher.c
21467 - Add device IPv4 address change notification stuff
21469 2004-07-05 Dan Williams <dcbw@redhat.com>
21471 * dispatcher-daemon/NetworkManagerDispatcher.c
21472 - A bit more descriptive state message
21473 - Don't segfault when reading directory
21475 * src/NetworkManager.h
21476 - Remove NMData desired_ap member, its now
21477 per-device rather than global
21479 * src/NetworkManager.c
21480 - Remove references to desired_ap
21481 - Move the allowed AP list refresh stuff into a thread
21483 * src/NetworkManagerDevice.c
21484 src/NetworkManagerDevice.h
21485 - Each wireless device now has a "best ap"
21486 - Make device activate/deactivate functions per-device
21487 - Make wireless scanning per-device
21488 - Add IPv4 address discover functions, stub IPv6 ones
21489 - Move ethernet address validation functions to NetworkManagerUtils.c
21490 - Add wireless access point accessor function
21491 - Get/Set functions for "best ap"
21493 * src/NetworkManagerPolicy.c
21494 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21495 - Deal with per-device "best ap" rather than data->desired_apa
21496 - Implement allowed access point worker thread
21497 - Add nm_policy_essid_is_allowed() function
21499 * src/NetworkManagerUtils.c
21500 src/NetworkManagerUtils.h
21501 - Add nm_ethernet_address_is_valid() function
21502 - Add IPv4/IPv6 address get functions
21504 * src/NetworkManagerWireless.c
21505 src/NetworkManagerWireless.h
21506 - Move scanning stuff into NetworkManagerDevice.c, per-device
21508 2004-06-29 Dan Williams <dcbw@redhat.com>
21510 * dispatcher-daemon/NetworkManagerDispatcher.c
21511 - Implement script callout functionality
21513 2004-06-24 Dan Williams <dcbw@redhat.com>
21517 - Flush device routes and ip addresses when added to the device list
21519 * NetworkManagerDbus.c
21521 - Add missing returns in the two signal functions
21523 * NetworkManagerPolicy.c
21524 - Spacing and variable cleanups
21526 2004-06-24 Dan Williams <dcbw@redhat.com>
21531 dispatcher-daemon/Makefile.am
21532 dispatcher-daemon/Makefile.in
21533 dispatcher-daemon/NetworkManagerDispatcher.c
21534 - Add a daemon that receives signals from NetworkManager
21535 and will (eventually) call scripts in /etc/somewhere
21536 when devices go up or down.
21540 - Flush device routes and ip addresses when added to the device list
21542 * NetworkManagerDbus.c
21544 - Add missing returns in the two signal functions
21546 * NetworkManagerPolicy.c
21547 - Spacing and variable cleanups
21548 - Rename nm_policy_switch_interface->nm_policy_switch_device
21549 - nm_policy_switch_device():
21550 Use kill (pid) instead of system ("kill <pid>")
21551 - nm_state_modification_monitor():
21552 Add wireless essid to output of debug statements
21553 Correct typo in device compare to switch or not (should be !=)
21554 Don't sleep after sending "no longer active" signal, was useless
21556 2004-06-24 Dan Williams <dcbw@redhat.com>