1 2008-10-15 Dan Williams <dcbw@redhat.com>
4 - (wireless_qual_to_percent): fix quality calculation in a fallback case
7 2008-10-15 Dan Williams <dcbw@redhat.com>
9 * src/NetworkManagerSystem.c
10 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
11 if the ip4_dest is in a smaller subnet contained within a subnet
12 the machine is currently on, the destination is in the same subnet
13 - (nm_system_device_set_ip4_route): move subnet checks to callers
14 - (add_vpn_gateway_route): check if the VPN gateway is in the same
15 subnet as the parent device, and if so, don't add the direct
16 host route via the parent device's gateway (bgo #481620)
17 - (nm_system_apply_ip4_config): check whether the route to be added
18 is contained within a subnet the device is already on
20 2008-10-11 Dan Williams <dcbw@redhat.com>
22 * include/NetworkManager.h
23 introspection/nm-device.xml
24 include/NetworkManagerVPN.h
25 - Add a few more state reasons for the device deactivated state
27 * src/nm-device-interface.c
28 src/nm-device-interface.h
29 - (nm_device_interface_deactivate): add a 'reason' argument
33 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
34 - (nm_device_state_changed): pass the state change reason to
36 - (nm_device_set_managed): take a 'reason' argument, and pass it along
37 to the state change function
41 - (remove_one_device, handle_unmanaged_devices, sync_devices,
42 impl_manager_sleep): pass a reason code to nm_device_set_managed()
43 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
44 something reasonable along to VPN deactivation
46 * src/vpn-manager/nm-vpn-manager.c
47 src/vpn-manager/nm-vpn-manager.h
48 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
49 pass that along to nm_vpn_connection_disconnect()
51 2008-10-11 Dan Williams <dcbw@redhat.com>
53 * src/nm-device-wifi.c
54 - (can_scan): remove old madwifi hack for not scanning while connected
56 2008-10-11 Dan Williams <dcbw@redhat.com>
58 Add support for VPN subnet gateways (bgo #549196)
60 * include/NetworkManager.h
61 - Add key for internal VPN subnet gateway
63 * src/vpn-manager/nm-vpn-connection.c
64 - (ip_address_to_string): return a const from a static buffer so we
65 don't leak a lot of strings
66 - (print_vpn_config): print internal VPN gateway as well
67 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
69 - (nm_vpn_connection_get_ip4_internal_gateway): new function
71 * src/NetworkManagerSystem.c
72 src/NetworkManagerSystem.h
73 - (nm_system_device_replace_default_ip4_route): split into two, one for
74 VPN connections and one for normal devices
75 - (replace_default_ip4_route): break out route stuff into its own function
76 - (nm_system_replace_default_ip4_route_vpn,
77 nm_system_replace_default_ip4_route): simplify by having two cases,
78 one for VPNs and one for normal devices
80 * src/NetworkManagerPolicy.c
81 - (update_routing_and_dns): simplify, use split default route replacement
84 2008-10-10 Dan Williams <dcbw@redhat.com>
86 Rework default route handling to consolidate decisions in the policy,
87 and to take active VPN connections into account when changing the default
90 * src/NetworkManager.c
91 - (main): pass the vpn_manager to the policy so it knows about active
92 VPN connections; clean up the named manager which wasn't done before
94 * src/NetworkManagerPolicy.c
95 src/NetworkManagerPolicy.h
96 - (nm_policy_new): get a clue about the vpn_manager
97 - (update_default_route): remove, fold into update_routing_and_dns()
98 - (update_routing_and_dns): handle active VPN connections too; an
99 active VPN connection becomes the default route if it does not have
100 server-specified or user-specified custom routes. Otherwise, the
101 best active device gets the default route
102 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
103 nm_policy_destroy): track VPN connection activation and deactivation
104 and update the default route when appropriate
106 * src/NetworkManagerSystem.c
107 src/NetworkManagerSystem.h
108 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
109 in the VPN connection itself
110 - (nm_system_vpn_device_set_from_ip4_config,
111 nm_system_device_set_from_ip4_config): merge together to make
112 nm_system_apply_ip4_config()
113 - (add_vpn_gateway_route): add a route to the VPN's external gateway
114 via the parent device
115 - (nm_system_apply_ip4_config): simplify
116 - (add_ip4_route_to_gateway): new function; add a direct route to the
118 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
119 route stuff out into add_ip4_route_to_gateway() for clarity
122 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
124 * src/vpn-manager/nm-vpn-connection.c
125 src/vpn-manager/nm-vpn-connection.h
126 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
127 nm_vpn_connection_get_parent_device): add
128 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
130 - (connection_state_changed): update the named manager now that
131 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
134 * src/vpn-manager/nm-vpn-manager.c
135 src/vpn-manager/nm-vpn-manager.h
136 - Add a 'connection-activated' signal
137 - (nm_vpn_manager_get_active_connections): new function; mainly for the
138 policy to find out about active VPN connections
140 2008-10-10 Tambet Ingo <tambet@gmail.com>
142 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
143 a daemon to prevent NM logging spew on console on startup and shutdown (due
144 to dependency loop between NM and syslog).
146 2008-10-10 Alexander Sack <asac@ubuntu.com>
148 Implement managed mode. We bind devices configured in /etc/network/interfaces
149 to their connections by updating wired/wireless setting with the
150 mac address of the device.
152 * system-settings/plugins/ifupdown/plugin.c
153 - (get_net_address_for_udi): implement function to retrieve MAC
154 address of udi from hal in GByteArray format
155 - (bind_device_to_connection): bind mac address of device to
156 wired/wireless system connection
157 - (hal_device_added_cb): call bind_device_to_connection for
158 system connections with a matching interface.name
159 - (hal_device_added_cb): ensure that all code paths
160 properly free the "iface" string.
162 2008-10-10 Alexander Sack <asac@ubuntu.com>
164 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
165 mode of the ifupdown system config plugin.
167 * system-settings/plugins/ifupdown/plugin.c
168 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
169 private unmanage_well_known state field accordingly
171 2008-10-10 Alexander Sack <asac@ubuntu.com>
173 Implement unmanaged mode that will prevent all devices in the
174 well_known_udis set from being touched by NetworkManager
176 * system-settings/plugins/ifupdown/plugin.c
177 - (typedef struct SCPluginIfupdownPrivate): add gboolean
178 unmanage_well_known field used to turn on/off unmanaged
180 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
181 signal when well_known_udis get added/removed
182 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
183 if we are in unmanaged mode
185 2008-10-10 Alexander Sack <asac@ubuntu.com>
187 Add support to track network devices that have a configuration
188 with a matching interface.name in /etc/network/interfaces
190 * system-settings/plugins/ifupdown/plugin.c
191 - (typedef struct SCPluginIfupdownPrivate): add hash table
192 to track |well_known_udis|
193 - (get_iface_for_udi): helper function to get interface.name
195 - (hal_device_added_cb, hal_device_removed_cb): callbacks
196 that add and remove devices to and from the well_known_udis
197 set depending on whether their |interface.name| matches
198 any interface definition in /etc/network/interfaces
199 - (SCPluginIfupdown_init): connect callbacks from above with
200 hal_mgr and setup well_known_udis hashtable
201 - (GObject__dispose): destroy well_known_udis hashtable
202 - (hal_device_added_cb2): implement wrapper callback with GFunc
203 signature. user_data is supposed to be a triple (hal_mgr,
205 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
206 startup and call hal_device_added_cb2
208 2008-10-10 Alexander Sack <asac@ubuntu.com>
210 Remove implementation for not used NMSystemConfigInterface callback functions
213 * system-settings/plugins/ifupdown/plugin.c
214 - (SCPluginIfupdown_unmanaged_devices_changed): removed
215 - (SCPluginIfupdown_connection_added): removed
217 2008-10-08 Dan Williams <dcbw@redhat.com>
219 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
221 * src/NetworkManagerUtils.c
222 - (nm_utils_call_dispatcher): add a 'hostname' action
224 * src/NetworkManagerPolicy.c
225 - (set_system_hostname): dispatch hostname changes
227 * callouts/nm-dispatcher-action.c
228 - (nm_dispatcher_action): handle 'hostname' actions
230 2008-10-08 Dan Williams <dcbw@redhat.com>
232 * src/NetworkManagerSystem.c
233 - (find_route): ref the route so it doesn't get destroyed when the cache
235 - (nm_system_device_set_priority): unref the route here after it's done
238 2008-10-08 Dan Williams <dcbw@redhat.com>
240 * src/nm-serial-device.c
241 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
243 2008-10-08 Tambet Ingo <tambet@gmail.com>
245 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
246 connection with new settings before saving it.
248 2008-10-06 Dan Williams <dcbw@redhat.com>
250 * src/nm-ip4-config.c
252 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
254 * src/nm-device-interface.c
255 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
256 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
257 by using '/' for the object path
260 - (src/nm-device.c): marshal missing/unexported ip4-config through
261 dbus as '/' since dbus-glib can't handle NULL objects nor can
262 dbus handle NULL object paths
264 2008-10-03 Alexander Sack <asac@ubuntu.com>
266 Implement system hostname support for debian/ubuntu
268 * system-settings/plugins/ifupdown/plugin.c
269 - (GObject__get_property): extend announced capabilities; add
270 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
271 - (GObject__set_property,write_system_hostname): implement
272 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
273 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
274 update_system_hostname, get_hostname):
275 implement hostname property that watches and
278 2008-10-03 Alexander Sack <asac@ubuntu.com>
280 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
281 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
282 system-settings/plugins/ifcfg-fedora/Makefile.am
283 system-settings/src/nm-inotify-helper.c
284 system-settings/src/nm-inotify-helper.h
286 - Move ifcfg-fedora inotify helpers to the system settings service so
287 they are available to all plugins
289 2008-10-03 Alexander Sack <asac@ubuntu.com>
291 Implement support for wep-tx-keyidx in ifupdown system
294 * system-settings/plugins/ifupdown/parser.c
295 - (update_wireless_security_setting_from_if_block): introduce
296 free_type_mapping func table; rename a few local
297 variables to improve readability; add wpa security mapping
298 for wep-tx-keyidx property
299 - (string_to_gpointerint): new function used for the auto_type_mapping
300 of new wep-tx-keyidx property
301 - (slist_free_all): free func used for mapped slist types
303 2008-10-03 Alexander Sack <asac@ubuntu.com>
305 * system-settings/src/main.c:
306 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
307 always used as the hash key; fixes a crash when removing wired
310 2008-10-02 Dan Williams <dcbw@redhat.com>
312 * src/nm-gsm-device.c
313 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
314 pass the required GSM secret along via user_data rather than keeping
315 it around in the private data where it sometimes didn't get cleared
316 - (real_get_ppp_name): implement using the GSM username
318 2008-10-02 Dan Williams <dcbw@redhat.com>
320 * src/ppp-manager/nm-ppp-manager.c
321 src/ppp-manager/nm-ppp-manager.h
322 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
323 the settings daemon for completely new ones
324 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
325 local PPP peer name; allow PPP debuging by launching NM with
326 the environment variable NM_PPP_DEBUG defined
327 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
328 create_pppd_cmd_line()
330 * src/nm-serial-device.c
331 src/nm-serial-device.h
332 - New 'get_ppp_name' function for subclasses to implement to return the
334 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
335 and pass that name to the PPP manager
337 * src/nm-device-ethernet.c
338 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
341 * src/nm-cdma-device.c
342 - (real_get_ppp_name): implement using the CDMA username
344 2008-10-02 Dan Williams <dcbw@redhat.com>
346 Patch from Alexander Sack <asac ubuntu com>
348 * system-settings/plugins/ifupdown/parser.c
349 - Implement more graceful ip4 config parsing for cases where
350 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
351 by using default values
353 2008-10-02 Dan Williams <dcbw@redhat.com>
355 * src/NetworkManagerPolicy.c
356 - (device_state_changed): when marking a connection invalid, clear its
357 secrets too so that fresh secrets get requested the next time
359 2008-10-01 Dan Williams <dcbw@redhat.com>
361 * system-settings/src/dbus-settings.c
362 - (nm_sysconfig_settings_init): cache system hostname on startup as
363 a fallback if no plugin provides a hostname
364 - (get_property): fall back to cached hostname if no plugin provides
367 2008-10-01 Dan Williams <dcbw@redhat.com>
369 Fix setting value comparison issue that caused some settings to look the
370 same when they were really different (rh #464417)
372 * libnm-util/nm-param-spec-specialized.c
373 - (type_is_fixed_size): return fundamental size of the fixed type too
374 - (nm_gvalues_compare_collection): use the fundamental fixed type size
375 in the comparison so that the _entire_ fixed type collection gets
376 compared rather than just the first 'len1' bytes
378 2008-09-30 Dan Williams <dcbw@redhat.com>
380 * src/NetworkManagerPolicy.c
381 - (lookup_thread_worker): don't store the idle handler ID becuase the
382 idle handler could have already run and freed the LookupThread
385 2008-09-30 Tambet Ingo <tambet@gmail.com>
387 * src/nm-device.c (nm_device_get_priority): Implement.
388 (nm_device_set_ip4_config): Send the device priority to system ip4
391 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
392 Add priority argument and if it's >= 0, set the priority of the network
393 route added automatically by netlink (or kernel?).
394 (nm_system_device_set_priority): Implement.
396 * src/NetworkManagerPolicy.c (get_best_device): Use
397 nm_device_get_priority() instead of home-grown version. Revert the
398 meaning, best priority is the lowest one.
400 2008-09-29 Dan Williams <dcbw@redhat.com>
402 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
403 when it returns EAGAIN (rh #362421)
405 * src/nm-device-wifi.c
406 - (wireless_get_range): try GIWRANGE a few times until the card responds
407 - (real_get_generic_capabilities, constructor): use wireless_get_range()
409 2008-09-28 Dan Williams <dcbw@redhat.com>
411 * src/nm-serial-device.c
412 src/nm-serial-device.h
413 - (nm_serial_device_close): stop PPP manager here so that PPP gets
414 cleaned at the right times when subclasses close the serial port too
415 - (nm_serial_device_send_command): use a default send delay; don't
416 spin forever on EAGAIN
417 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
418 remove, no longer used
419 - (find_response): return the matched response if any
420 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
422 - (wait_for_reply_done): pass the matched response to the callback
423 - (wait_for_reply_got_data): save the matched response; simplify timeout
425 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
426 const since they never get modified
427 - (cleanup_device): split out common cleanup stuff to a new function
428 - (real_deactivate_quickly, finalize): use cleanup_device()
430 * src/nm-gsm-device.c
431 - (modem_get_reply): remove, unused
432 - (set_apn): give the card a bit more time to respond
433 - (manual_registration_again, schedule_manual_registration_again,
434 manual_registration_response, manual_registration): handle manual
435 registration timeouts better by retrying registration a few times
436 because cards are a bit slow after CFUN=1
437 - (automatic_registration_get_network, get_network_response): use
438 modem_wait_for_reply() because it interacts better with the serial
439 buffer and does more intelligent matching; need to wait for 'OK'
440 rather than just matching terminators
441 - (schedule_automatic_registration_again,
442 automatic_registration_response, automatic_registration): retry
443 registration a few times on timeout or "searching" because cards
444 take a bit to find a network after being powered up with CFUN=1
445 - (power_up_response, power_up, init_full_done, enter_pin,
446 check_pin_done): power up the card with CFUN=1 before trying to
447 register with the network
448 - (init_modem_full, init_modem): use more standard 3G init strings
450 * src/nm-hso-gsm-device.c
451 - (modem_get_reply): remove, unused
452 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
453 modem_wait_for_reply() to match actual responses instead of single
454 termination characters; it doesn't leave stuff in the serial buffer
455 that might confuse later calls
456 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
457 to ensure that the call is really disconnected and not leave extra
458 stuff in the serial buffer
460 * src/nm-cdma-device.c
461 - (power_up_response, power_up, init_done): try Sierra-style modem
462 power up before attempting to connect
464 2008-09-27 Dan Williams <dcbw@redhat.com>
466 * libnm-util/nm-setting-gsm.c
467 - (verify): verify GSM network ID
469 2008-09-25 Dan Williams <dcbw@redhat.com>
471 * libnm-util/nm-setting-gsm.c
472 libnm-util/nm-setting-gsm.h
473 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
474 technology terms (bgo #551361)
476 2008-09-25 Dan Williams <dcbw@redhat.com>
478 Fix bgo #549401 (inspired by patch from Alexander Sack)
480 * src/nm-device-ethernet.c
481 - (finish_supplicant_task): clean up scheduled tasks and free memory
482 - (remove_supplicant_interface_error_handler): remove the supplicant
483 error idle callback too
484 - (supplicant_interface_release): rename from supplicant_interface_clean
485 to match nm-device-wifi.c; clean up supplicant interface-related
486 state tasks when the supplicant interface is disposed of
487 - (schedule_state_handler): add scheduled tasks to a list so they can
489 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
490 supplicant_iface_connection_state_cb_handler): use
491 finish_supplicant_task() to clean up each completed task
492 - (supplicant_iface_connection_error_cb_handler,
493 supplicant_connection_timeout_cb): clear source id when the task is
495 - (supplicant_iface_connection_error_cb): save scheduled task id for
497 - (nm_device_ethernet_dispose): clean up any pending supplicant state
500 * src/nm-device-wifi.c
501 - (finish_supplicant_task): clean up scheduled tasks and free memory
502 - (remove_supplicant_interface_error_handler): remove the supplicant
503 error idle callback too
504 - (supplicant_interface_release): clean up supplicant interface-related
505 state tasks when the supplicant interface is disposed of
506 - (schedule_state_handler): add scheduled tasks to a list so they can
508 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
509 supplicant_iface_connection_state_cb_handler): use
510 finish_supplicant_task() to clean up each completed task
511 - (supplicant_iface_connection_error_cb_handler): clear source id when
513 - (supplicant_iface_connection_error_cb): save scheduled task id for
515 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
517 2008-09-24 Tambet Ingo <tambet@gmail.com>
519 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
520 method and get/set hostname property.
522 2008-09-24 Tambet Ingo <tambet@gmail.com>
524 * src/supplicant-manager/nm-supplicant-interface.c
525 (nm_supplicant_interface_disconnect): Don't increment the reference
526 count when disconnecting. The problem is on shutdown, when the replies
527 to these commands do not arrive before NM exits, resulting on never
528 calling supplicant interface's dispose(), which removes the interface
531 2008-09-24 Tambet Ingo <tambet@gmail.com>
533 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
534 all the public function arguments.
536 2008-09-22 Tambet Ingo <tambet@gmail.com>
538 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
539 "Failure" signal from VPN plugins, store the failure reason, and
540 use it when the state is changed to failure.
542 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
545 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
546 reason to the end of the list to not break the API.
547 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
548 so it can be shared by plugins and daemon.
550 2008-09-18 Dan Williams <dcbw@redhat.com>
552 Patch from Alexander Sack <asac@ubuntu.com>
555 system-settings/plugins/Makefile.am
556 system-settings/plugins/ifupdown/Makefile.am
557 system-settings/plugins/ifupdown/interface_parser.c
558 system-settings/plugins/ifupdown/interface_parser.h
559 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
560 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
561 system-settings/plugins/ifupdown/parser.c
562 system-settings/plugins/ifupdown/parser.h
563 system-settings/plugins/ifupdown/plugin.c
564 system-settings/plugins/ifupdown/plugin.h
565 - Implement a Debian/Ubuntu legacy network configuration plugin
568 2008-09-18 Dan Williams <dcbw@redhat.com>
570 Implement support for honoring configured and automatic hostnames, and for
571 setting the configured hostname.
573 * introspection/nm-ip4-config.xml
576 src/dhcp-manager/nm-dhcp-manager.c
577 - Remove useless hostname property; it's not really part of the IPv4
580 * introspection/nm-settings-system.xml
581 libnm-glib/nm-dbus-settings-system.c
582 libnm-glib/nm-dbus-settings-system.h
583 - Add SetHostname() call to system settings D-Bus interface
584 - Add Hostname property to system settings D-Bus interface
585 - (nm_dbus_settings_system_save_hostname,
586 nm_dbus_settings_system_get_hostname): implement
590 - (nm_device_get_dhcp4_config): implement
594 - Fetch and track system settings service hostname changes, and proxy
595 the changes via a GObject property of the manager
597 * system-settings/src/nm-system-config-interface.c
598 system-settings/src/nm-system-config-interface.h
599 - Replace nm_system_config_interface_supports_add() with a capabilities
602 * system-settings/src/nm-system-config-error.c
603 system-settings/src/nm-system-config-error.h
604 - Add additional errors
606 * system-settings/src/dbus-settings.c
607 system-settings/src/dbus-settings.h
608 - (get_property, nm_sysconfig_settings_class_init): add hostname
609 property; first plugin returning a hostname wins
610 - (impl_settings_add_connection): use plugin capabilities instead of
611 nm_system_config_interface_supports_add()
612 - (impl_settings_save_hostname): implement hostname saving
614 * src/NetworkManagerPolicy.c
615 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
616 lookup_thread_die): implement an asynchronous hostname lookup thread
617 which given an IPv4 address tries to look up the hostname for that
618 address with reverse DNS
619 - (get_best_device): split out best device code from
620 update_routing_and_dns()
621 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
622 to preserve the 127.0.0.1 reverse mapping that so many things require
623 - (set_system_hostname): set a given hostname
624 - (update_system_hostname): implement hostname policy; a configured
625 hostname (from the system settings service) is used if available,
626 otherwise an automatically determined hostname from DHCP, VPN, etc.
627 If there was no automatically determined hostname, reverse DNS of
628 the best device's IP address will be used, and as a last resort the
629 hostname 'localhost.localdomain' is set.
630 - (update_routing_and_dns): use get_best_device(); update the system
631 hostname when the network config changes
632 - (hostname_changed): update system hostname if the system settings
633 service signals a hostname change
634 - (nm_policy_new): list for system settings service hostname changes
635 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
638 * system-settings/plugins/keyfile/plugin.c
639 system-settings/plugins/ifcfg-suse/plugin.c
640 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
641 capabilities properties
643 * system-settings/plugins/ifcfg-fedora/shvar.c
644 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
645 writes out /etc/sysconfig/network now
647 * system-settings/plugins/ifcfg-fedora/plugin.c
648 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
649 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
650 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
651 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
652 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
653 hostname get/set and capabilities get
655 2008-09-18 Dan Williams <dcbw@redhat.com>
657 * libnm-util/nm-setting-wireless.c
658 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
659 group ciphers if the wireless-security setting explicitly specified
660 them, effectively making the default be "all ciphers" (idea from
663 2008-09-15 Dan Williams <dcbw@redhat.com>
665 Patch from Alexander Sack <asac@ubuntu.com>
667 * src/named-manager/nm-named-manager.c
668 - (dispatch_resolvconf): respect resolvconf exit code
670 2008-09-12 Tambet Ingo <tambet@gmail.com>
672 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
673 again. Add some debugging.
675 2008-09-11 Dan Williams <dcbw@redhat.com>
677 * system-settings/plugins/keyfile/plugin.c
678 - (update_connection_settings): update connection manually, since
679 nm_exported_connection_update() does authentication
680 - (dir_changed): update_connection_settings() doesn't need to return
683 2008-09-09 Dan Williams <dcbw@redhat.com>
685 * libnm-glib/nm-vpn-plugin-ui-interface.c
686 libnm-glib/nm-vpn-plugin-ui-interface.h
687 libnm-glib/libnm_glib_vpn.ver
688 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
689 should clean up resources related to the connection (like keyring
691 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
692 should save user-scope secrets (like to the keyring)
694 2008-09-08 Dan Williams <dcbw@redhat.com>
696 Patch from Alexander Sack <asac@ubuntu.com>
698 * libnm-util/crypto_gnutls.c
699 libnm-util/crypto_nss.c
700 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
702 * libnm-util/nm-utils.c
703 libnm-util/nm-utils.h
704 libnm-util/libnm-util.ver
705 - (nm_utils_init): initialize libnm-util
706 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
708 * libnm-util/nm-setting-8021x.c
709 - (nm_setting_802_1x_class_init): init libnm-util when needed
711 2008-09-05 Dan Williams <dcbw@redhat.com>
713 Patch from Roy Marples <roy@marples.name> and others
716 src/named-manager/nm-named-manager.c
717 - Add support for resolvconf; use --with-resolvconf at configure time
720 2008-09-05 Dan Williams <dcbw@redhat.com>
722 * libnm-util/crypto_nss.c
723 libnm-util/crypto_gnutls.c
725 - (crypto_init): return error when init fails
727 2008-09-05 Dan Williams <dcbw@redhat.com>
729 * libnm-glib/nm-device-wifi.c
730 - (access_point_removed_proxy): clean up the active access point too
731 just in case the active ap changed signal didn't come through yet
732 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
734 2008-09-05 Dan Williams <dcbw@redhat.com>
736 * libnm-glib/nm-client.c
737 - (constructor): get initial state after we know whether NM is running
740 2008-09-05 Dan Williams <dcbw@redhat.com>
742 * libnm-glib/nm-ip4-config.c
743 libnm-glib/nm-dhcp4-config.c
744 - (finalize): clean up the DBusGProxy
746 2008-09-04 Dan Williams <dcbw@redhat.com>
748 * src/nm-ip4-config.c
750 - (nm_ip4_config_new): don't export over D-Bus here
751 - (nm_ip4_config_export): new function; export the config over D-Bus
752 - (nm_ip4_config_is_exported): new function
755 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
756 objects by balancing the IP4Config constructor; the device holds
757 a reference to the IP4Config already
758 - (nm_device_set_ip4_config): export the IP4Config when needed
760 2008-09-04 Dan Williams <dcbw@redhat.com>
762 * src/supplicant-manager/nm-supplicant-settings-verify.c
763 - Allow WPA-NONE key management for Ad-Hoc WPA connections
765 2008-09-04 Dan Williams <dcbw@redhat.com>
767 * libnm-util/nm-setting-vpn.c
768 libnm-util/nm-setting-vpn.h
769 - Split VPN secrets from VPN data so that settings services can actually
770 figure out that they are secrets and store them accordingly
772 * system-settings/plugins/keyfile/nm-keyfile-connection.c
773 system-settings/plugins/keyfile/reader.c
774 system-settings/plugins/keyfile/reader.h
775 system-settings/plugins/keyfile/writer.c
776 - Store VPN secrets separately from VPN data so that they can be fetched
778 - Implement the get_secrets() call so that (a) secrets don't leak out
779 to unprivileged callers, and (b) secrets can be sent to privileged
782 * vpn-daemons/vpnc/src/nm-vpnc-service.c
783 - Handle split VPN secrets
785 2008-08-27 Dan Williams <dcbw@redhat.com>
787 * system-settings/plugins/ifcfg-fedora/reader.c
788 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
790 2008-08-27 Dan Williams <dcbw@redhat.com>
792 Ensure zombie children get cleaned up. To get notifications when children
793 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
794 that requires calling waitpid() yourself if you've removed the child watch
795 handler before the process has actually died, which NM needs to do in a few
796 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
797 cleans up after the child when required. Should fix problems trying to
798 activate mobile broadband connections after a previous failure.
800 * src/dhcp-manager/nm-dhcp-dhclient.c
801 src/dhcp-manager/nm-dhcp-dhcpcd.c
802 - Use G_SPAWN_DO_NOT_REAP_CHILD
804 * src/dhcp-manager/nm-dhcp-manager.c
805 - (nm_dhcp_device_destroy): ensure child is cleaned up
806 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
807 block on child quitting, since the non-blocking functionality was
810 * src/dnsmasq-manager/nm-dnsmasq-manager.c
811 - (dm_watch_cb): child is already reaped here
812 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
815 - (aipd_cleanup): block until child is dead
817 * src/named-manager/nm-named-manager.c
818 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
819 event bothering to watch the child
821 * src/ppp-manager/nm-ppp-manager.c
822 - (ppp_watch_cb): child is already reaped here
823 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
825 * src/vpn-manager/nm-vpn-service.c
826 - (vpn_service_watch_cb): child is already reaped here
827 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
828 status of the child is actually tracked
829 - (ensure_killed, finalize): block until child is dead
831 2008-08-26 Dan Williams <dcbw@redhat.com>
833 * system-settings/plugins/keyfile/nm-keyfile-connection.c
834 - (update): Update filename of the connection if the connection id
837 * system-settings/plugins/keyfile/plugin.c
838 - (dir_changed): first pass at handling connection renames correctly
840 * system-settings/plugins/keyfile/writer.c
841 system-settings/plugins/keyfile/writer.h
842 - (write_connection): replace '/' with '*' when writing out the filename
843 from the connection id
845 2008-08-26 Dan Williams <dcbw@redhat.com>
847 Add connection UUIDs, since connection names can be changed, and since
848 old-style connection IDs could change over the life of the connection. The
849 UUID should be assigned at connection creation time, be stable for a given
850 connection, and should be unique among all connections for a given settings
854 libnm-util/Makefile.am
857 * introspection/nm-exported-connection.xml
858 - Remove "GetID" method
860 * libnm-glib/nm-dbus-connection.c
861 libnm-glib/nm-settings.c
862 libnm-glib/nm-settings.h
863 - Remove id-related stuff
865 * libnm-util/nm-utils.c
866 libnm-util/nm-utils.h
867 libnm-util/libnm-util.ver
868 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
869 utility functions to generate UUIDs
871 * libnm-util/nm-setting-connection.c
872 libnm-util/nm-setting-connection.h
873 - Add 'uuid' member to the connection setting
874 - (verify): require valid 'uuid' for a valid connection
876 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
877 system-settings/plugins/ifcfg-fedora/reader.c
878 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
879 system-settings/plugins/ifcfg-suse/parser.c
880 system-settings/plugins/keyfile/nm-keyfile-connection.c
881 system-settings/src/main.c
882 - Remove id-related stuff
883 - Give connections UUIDs where needed
885 2008-08-25 Dan Williams <dcbw@redhat.com>
887 * libnm-util/crypto_gnutls.c
888 libnm-util/crypto_nss.c
889 - (crypto_init, crypto_deinit): refcount init/deinit
890 - (crypto_md5_hash): allow NULL salt
892 2008-08-22 Michael Biebl <mbiebl@gmail.com>
894 * libnm-glib/Makefile.am
895 libnm-util/Makefile.am
896 libnm-glib/libnm_glib.ver
897 libnm-glib/libnm_glib_vpn.ver
898 libnm-util/libnm-util.ver
899 - Use linker version scripts to control the list of exported
900 symbols. List each exported symbol explicitely.
901 * libnm-util/Makefile.am
902 - Fix compilation of the test-crypto binary. The crypto
903 functions are no longer part of the libnm-util API. Add
904 crypto_*.c to test_crypto_SOURCES and link against the correct
907 2008-08-19 Dan Williams <dcbw@redhat.com>
911 - Don't build test/test-common
912 - Remove unused stuff
914 * test/nm-set-fallback
916 test/test-common/.cvsignore
917 test/test-common/Makefile.am
918 test/test-common/test-common.c
919 test/test-common/test-common.h
922 2008-08-18 Dan Williams <dcbw@redhat.com>
924 * libnm-util/nm-utils.c
925 libnm-util/nm-utils.h
926 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
927 export anything that needs to be converted with this function
929 * src/dhcp-manager/nm-dhcp-manager.c
930 - (garray_to_string): convert a byte array to a UTF-8 string with
931 minimal validation; the DHCP client sends it in ASCII anyway
932 - (get_option, copy_option): use garray_to_string()
934 2008-08-18 Dan Williams <dcbw@redhat.com>
936 * include/NetworkManager.h
937 introspection/nm-device.xml
938 - Add a "missing firmware" device state reason
940 * src/NetworkManagerSystem.c
941 src/NetworkManagerSystem.h
942 - (nm_system_device_set_up_down): add a no_firmware argument
943 - (nm_system_device_set_up_down_with_iface): if the result of setting
944 IFF_UP is ENOENT, that almost always means missing firmware
946 * src/backends/NetworkManagerGeneric.c
947 src/nm-device-ethernet.c
948 src/nm-device-private.h
952 src/nm-hso-gsm-device.c
953 src/vpn-manager/nm-vpn-connection.c
954 - Pass no_firmware along; check it where appropriate
956 2008-08-18 Dan Williams <dcbw@redhat.com>
958 Patch from Robert Buchholz <rbu@gentoo.org>
962 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
963 1003.1-1988, allowing for file names longer than 99 characters
965 2008-08-17 Dan Williams <dcbw@redhat.com>
967 * include/NetworkManager.h
968 introspection/nm-device.xml
970 - Finer-grained GSM registration failure error codes
972 2008-08-17 Dan Williams <dcbw@redhat.com>
974 * callouts/Makefile.am
976 - Move dispatcher directory creation to callouts/Makefile.am
978 * system-settings/plugins/keyfile/Makefile.am
979 - Create keyfile connections directory in DESTDIR (bgo #546833)
981 2008-08-15 Dan Williams <dcbw@redhat.com>
983 Do connection sharing in a cleaner manner; all required iptables rules
984 are now stored in the activation request and pertain only to the device
985 which is being shared to other computers. (rh #458625)
987 * src/nm-activation-request.c
988 src/nm-activation-request.h
989 - (nm_act_request_add_share_rule): new function; add a sharing rule to
990 the activation request which will get torn down automatically when
991 the activation request dies
992 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
993 is started, and tear them down when sharing is stopped
996 - (start_sharing): start up sharing by doing the required iptables magic
997 - (share_init): poke the right bits of the kernel and load the right
999 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1000 connection if it's a 'shared' connection
1002 * src/NetworkManagerPolicy.c
1003 - Remove all sharing stuff; done in the device code itself
1005 2008-08-15 Dan Williams <dcbw@redhat.com>
1007 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1008 - (create_dm_cmd_line): send the right router address
1010 2008-08-15 Dan Williams <dcbw@redhat.com>
1012 * src/ppp-manager/nm-ppp-manager.c
1013 - (pppd_timed_out): ensure timeouts fail the connection
1015 2008-08-14 Dan Williams <dcbw@redhat.com>
1017 * src/nm-properties-changed-signal.c
1018 src/nm-properties-changed-signal.h
1019 - Add a property spec flag for "don't export this property" in
1020 property changed signals
1022 * src/nm-hso-gsm-device.c
1024 src/nm-cdma-device.c
1025 - Don't export monitor interface or netdev interface properties
1027 2008-08-14 Dan Williams <dcbw@redhat.com>
1029 * src/NetworkManagerPolicy.c
1030 - (update_routing_and_dns): 'hso' devices can be default even if they
1031 don't have a gateway
1033 2008-08-14 Dan Williams <dcbw@redhat.com>
1036 - (nm_device_deactivate_quickly): tear down activation request after
1037 calling device-specific deactivation
1039 * src/nm-hso-gsm-device.c
1040 - (real_deactivate_quickly): terminate connection when deactivating
1042 2008-08-14 Dan Williams <dcbw@redhat.com>
1044 * src/nm-activation-request.h
1045 - Add HSO secrets caller
1047 * src/nm-gsm-device.c
1049 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1050 something to the callback function
1051 - (set_apn, set_apn_done): call class dial function, not a static one
1052 - (nm_gsm_device_class_init): add a class 'dial' function
1054 * src/nm-hal-manager.c
1055 - (get_hso_netdev): find the hso-driven hardware's net device
1056 - (modem_device_creator): recognize hso-driven hardware and create the
1057 right type of device object for it
1060 src/nm-hso-gsm-device.c
1061 src/nm-hso-gsm-device.h
1062 - Implement support for devices driven by the 'hso' driver as a subclass
1065 2008-08-14 Dan Williams <dcbw@redhat.com>
1067 * src/NetworkManagerSystem.c
1068 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1069 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1070 success if the operation really was successful
1072 2008-08-14 Dan Williams <dcbw@redhat.com>
1074 * src/nm-netlink-monitor.c
1075 src/nm-netlink-monitor.h
1076 src/nm-device-ethernet.c
1077 - (nm_netlink_monitor_request_status): return an error on failure
1078 - (constructor): don't segfault on missing error
1080 2008-08-13 Dan Williams <dcbw@redhat.com>
1082 * callouts/nm-dispatcher-action.c
1083 - Add IP4 config info to script environment
1085 2008-08-12 Dan Williams <dcbw@redhat.com>
1088 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1089 that want to use DHCP hostnames should use dispatcher scripts
1092 * src/NetworkManagerSystem.h
1093 src/backends/NetworkManagerArch.c
1094 src/backends/NetworkManagerDebian.c
1095 src/backends/NetworkManagerFrugalware.c
1096 src/backends/NetworkManagerGeneric.c
1097 src/backends/NetworkManagerGeneric.h
1098 src/backends/NetworkManagerGentoo.c
1099 src/backends/NetworkManagerMandriva.c
1100 src/backends/NetworkManagerPaldo.c
1101 src/backends/NetworkManagerRedHat.c
1102 src/backends/NetworkManagerSlackware.c
1103 src/backends/NetworkManagerSuSE.c
1104 - Remove nm_system_set_hostname(), no longer used
1106 * src/backends/Makefile.am
1107 src/backends/shvar.c
1108 src/backends/shvar.h
1109 - Remove shvar.*; no longer used
1111 2008-08-12 Dan Williams <dcbw@redhat.com>
1113 Revert most of the 'hostname' patch. Too much stuff still breaks when
1114 hostname is updated at runtime. Distros or users who want hostname updates
1115 can use dispatcher scripts to update the hostname if they need it.
1117 2008-08-12 Dan Williams <dcbw@redhat.com>
1119 * introspection/nm-settings-system.xml
1120 system-settings/src/dbus-settings.c
1121 system-settings/src/dbus-settings.h
1122 - Add a 'Hostname' property (rw) which represents the configured
1123 hostname and domain of the system, if any
1125 * system-settings/src/nm-system-config-error.c
1126 system-settings/src/nm-system-config-error.h
1127 system-settings/src/nm-system-config-interface.c
1128 system-settings/src/nm-system-config-interface.h
1129 - Add a 'hostname' property to the plugin interface
1130 - Add a method to send updated hostname to plugins to save in their
1131 backing configuration store
1133 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1134 system-settings/plugins/keyfile/plugin.c
1135 system-settings/plugins/keyfile/writer.c
1136 system-settings/plugins/keyfile/writer.h
1137 system-settings/plugins/ifcfg-suse/plugin.c
1138 - Add minimal hostname support
1140 * system-settings/plugins/ifcfg-fedora/plugin.c
1141 - Add support for updating system hostname in /etc/sysconfig/network
1143 2008-08-12 Dan Williams <dcbw@redhat.com>
1145 * system-settings/plugins/ifcfg-fedora/shvar.c
1146 system-settings/plugins/ifcfg-fedora/shvar.c
1147 - Fix double-free caused by svSetValue() followed by svCloseFile()
1149 2008-08-12 Tambet Ingo <tambet@gmail.com>
1151 * Makefile.am: Fix distcheck.
1153 2008-08-12 Tambet Ingo <tambet@gmail.com>
1155 * libnm-glib/*.c. Document some more.
1157 2008-08-12 Tambet Ingo <tambet@gmail.com>
1159 Start documenting libnm-glib public API using gtk-doc.
1161 * libnm-glib/nm-serial-device.c:
1162 * libnm-glib/nm-object.c:
1163 * libnm-glib/nm-gsm-device.c:
1164 * libnm-glib/nm-device.c:
1165 * libnm-glib/nm-device-wifi.c:
1166 * libnm-glib/nm-device-ethernet.c:
1167 * libnm-glib/nm-client.c:
1168 * libnm-glib/nm-cdma-device.c: Document the public API.
1170 * docs/libnm-glib/libnm-glib.types: Implement.
1172 * docs/libnm-glib/Makefile.am: Implement.
1176 * Makefile.am: Add gtk-doc support.
1178 2008-08-12 Tambet Ingo <tambet@gmail.com>
1180 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1182 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1183 the composite result of all the IP4 configurations and call a distro
1184 specific update_resolv_conf().
1185 (update_resolv_conf): Implement one for directly writing to
1186 /etc/resolv.conf and one for opensuse to call netconfig.
1188 2008-08-11 Dan Williams <dcbw@redhat.com>
1190 * src/ppp-manager/nm-ppp-manager.c
1191 - (impl_ppp_manager_need_secrets): pass interface as required
1193 2008-08-11 Dan Williams <dcbw@redhat.com>
1195 Merge the vpn-properties setting with the vpn setting since it was pointless
1196 to keep both of them around. Convert the vpn 'data' hash table to a hash
1197 of string:string (instead of string:variant) so that system settings plugins
1198 can have an easier time dealing with the arbitrary key/value pairs.
1200 2008-08-11 Dan Williams <dcbw@redhat.com>
1202 * libnm-util/nm-utils.c
1203 - (nm_utils_register_value_transformations): add value transform for
1204 a hash table of string:string
1206 2008-08-10 Dan Williams <dcbw@redhat.com>
1208 * libnm-glib/nm-vpn-plugin.c
1209 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1210 an idle handler so the Connect reply gets delivered before the
1211 stop StateChanged signal
1213 2008-08-10 Dan Williams <dcbw@redhat.com>
1215 * src/nm-ip4-config.c
1216 - (get_property): use common ip4 address/route conversion functions
1217 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1218 copy the new route here, not take ownership
1220 2008-08-08 Tambet Ingo <tambet@gmail.com>
1222 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1223 Update the IP4 setting's method name.
1225 2008-08-07 Dan Williams <dcbw@redhat.com>
1227 * introspection/nm-ip4-config.xml
1228 libnm-glib/libnm-glib-test.c
1229 libnm-glib/nm-ip4-config.c
1230 libnm-glib/nm-ip4-config.h
1231 src/NetworkManagerSystem.h
1232 src/backends/NetworkManagerArch.c
1233 src/backends/NetworkManagerDebian.c
1234 src/backends/NetworkManagerFrugalware.c
1235 src/backends/NetworkManagerGeneric.c
1236 src/backends/NetworkManagerGeneric.h
1237 src/backends/NetworkManagerGentoo.c
1238 src/backends/NetworkManagerMandriva.c
1239 src/backends/NetworkManagerPaldo.c
1240 src/backends/NetworkManagerRedHat.c
1241 src/backends/NetworkManagerSlackware.c
1242 src/backends/NetworkManagerSuSE.c
1243 src/dhcp-manager/nm-dhcp-manager.c
1247 - Remove NIS logic; should be done from dispatcher scripts instead
1249 2008-08-07 Dan Williams <dcbw@redhat.com>
1251 * src/dhcp-manager/nm-dhcp-manager.c
1252 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1253 mis-handling of DHCP responses that returned more than one router
1254 (found by Grant Williamson)
1256 2008-08-07 Dan Williams <dcbw@redhat.com>
1258 * callouts/nm-dispatcher-action.c
1259 - (nm_dispatcher_action): grab device path and create the device; pass
1260 the device's DHCP4 config to script caller
1261 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1264 * libnm-glib/nm-dhcp4-config.c
1265 libnm-glib/nm-dhcp4-config.h
1266 - (nm_dhcp4_config_get_options): expose
1267 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1269 2008-08-07 Dan Williams <dcbw@redhat.com>
1271 * include/NetworkManager.h
1272 - Add the DHCP4Config D-Bus interface
1274 * libnm-glib/Makefile.am
1275 libnm-glib/nm-dhcp4-config.c
1276 libnm-glib/nm-dhcp4-config.h
1277 - Handle DHCP4 config objects exported by NM over D-Bus
1279 * libnm-glib/nm-device.c
1280 libnm-glib/nm-device.h
1281 - Add a 'dhcp4-config' property
1283 * libnm-glib/libnm-glib-test.c
1284 - Print out DHCP4 config for devices
1285 - Fix some crashes when no connections are active
1287 * src/nm-device-interface.c
1289 src/nm-dhcp4-config.c
1290 src/nm-dhcp4-config.h
1291 - Treat dhcp4-config object as an object path at the D-Bus interface so
1292 that when it doesn't exist we can proxy it as "/" which dbus-glib
1293 doesn't let us do when the property type is G_TYPE_OBJECT
1295 2008-08-07 Dan Williams <dcbw@redhat.com>
1297 * src/NetworkManager.c
1298 src/NetworkManagerSystem.h
1299 src/backends/NetworkManagerArch.c
1300 src/backends/NetworkManagerDebian.c
1301 src/backends/NetworkManagerFrugalware.c
1302 src/backends/NetworkManagerGeneric.c
1303 src/backends/NetworkManagerGeneric.h
1304 src/backends/NetworkManagerGentoo.c
1305 src/backends/NetworkManagerMandriva.c
1306 src/backends/NetworkManagerPaldo.c
1307 src/backends/NetworkManagerRedHat.c
1308 src/backends/NetworkManagerSlackware.c
1309 src/backends/NetworkManagerSuSE.c
1310 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1312 2008-08-06 Dan Williams <dcbw@redhat.com>
1314 * libnm-glib/nm-ip4-config.c
1315 libnm-glib/nm-ip4-config.h
1316 - Add 'routes' property
1318 * libnm-util/nm-setting-vpn.c
1319 libnm-util/nm-setting-vpn.h
1320 - Remove 'routes' property
1322 * libnm-util/nm-setting-ip4-config.c
1323 libnm-util/nm-setting-ip4-config.h
1324 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1325 - Add 'ignore-auto-routes' property
1326 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
1327 accomodate route metrics
1328 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1330 * libnm-util/nm-utils.c
1331 libnm-util/nm-utils.h
1332 - Add helpers for marshalling IP4 routes
1334 * src/NetworkManagerUtils.c
1335 - (nm_utils_merge_ip4_config): handle property renames and new route
1338 * src/NetworkManagerSystem.c
1339 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1340 nm_system_vpn_device_set_from_ip4_config): respect route metrics
1342 * src/dhcp-manager/nm-dhcp-manager.c
1343 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1345 * system-settings/plugins/ifcfg-fedora/reader.c
1346 system-settings/plugins/ifcfg-fedora/writer.c
1347 - Handle routes separately from addresses now that routes have a different
1350 * introspection/nm-ip4-config.xml
1353 - Rename internal routing functions
1354 - 'static-routes' renamed to 'routes'
1356 2008-08-04 Dan Williams <dcbw@redhat.com>
1358 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1360 * src/NetworkManager.c
1363 - More explicitly make the NMManager a singleton
1365 2008-08-04 Dan Williams <dcbw@redhat.com>
1367 * libnm-util/nm-connection.c
1368 libnm-util/nm-connection.h
1369 - (nm_connection_verify): return error on missing 'connection' setting
1370 (found by Sjoerd Simons)
1372 2008-08-04 Dan Williams <dcbw@redhat.com>
1374 Handle multiple concurrent PPP connections.
1376 * src/ppp-manager/nm-ppp-manager.c
1377 src/ppp-manager/nm-ppp-manager.h
1378 - (constructor): only PPP Manager request bus name once; each
1379 NMPPPManager object gets a unique object path
1380 - (nm_ppp_manager_class_init, get_property, set_property,
1381 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1383 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1384 remove timeout until PPP manager gets an IP4 config
1385 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1386 the plugin can call back to this specific PPP manager instance
1388 * src/nm-device-ethernet.c
1389 src/nm-serial-device.c
1390 - Pass parent device in nm_ppp_manager_new()
1392 * src/nm-gsm-device.c
1393 src/nm-cdma-device.c
1394 - (device_state_changed): don't close serial device on NEED_AUTH
1395 state changed, that's not a failure case like the rest are
1397 * src/ppp-manager/nm-pppd-plugin.c
1398 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1399 binds one interface to any pppd process, thus the correct index
1400 is always 0; send PHASE_DEAD on error to alert NM immediately of
1401 problems; try harder to get a peer address in spite of pppd
1402 - (plugin_init): use 'ipparam' as the object path back to our specific
1403 PPP manager instance
1405 2008-08-04 Dan Williams <dcbw@redhat.com>
1407 * src/ppp-manager/nm-ppp-manager.c
1408 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1409 since the GSM and CDMA settings now implement need_secrets, we can
1410 rely on them to do the right thing. Where secrets are not required,
1411 just pass empty strings back to the pppd plugin.
1412 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1413 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1414 on successful IP4 config receipt
1416 2008-08-04 Dan Williams <dcbw@redhat.com>
1418 * libnm-util/nm-setting-cdma.c
1419 libnm-util/nm-setting-gsm.c
1420 - (verify): validate username & password if they exist
1421 - (need_secrets): if username given, require a password too
1423 2008-08-04 Dan Williams <dcbw@redhat.com>
1425 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1426 - (create_dm_cmd_line): really don't listen on lo, despite what the
1427 manpage says about --listen-address without --interface
1430 2008-08-01 Dan Williams <dcbw@redhat.com>
1432 * libnm-glib/nm-device.c
1433 - (proxy_get_string): util function for querying a HAL property
1434 - (get_ancestor_device): split out from get_product_and_vendor()
1435 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1436 from PCI devices by querying subsys properties
1437 - (nm_device_update_description): simplify
1439 2008-08-01 Dan Williams <dcbw@redhat.com>
1441 * libnm-util/nm-setting-ip4-config.c
1442 libnm-util/nm-setting-ip4-config.h
1443 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1444 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
1445 settings, and they don't necessarily use DHCP.
1447 * src/NetworkManagerPolicy.c
1449 system-settings/plugins/ifcfg-fedora/reader.c
1450 system-settings/plugins/ifcfg-suse/parser.c
1451 - Fixup for method changes
1453 2008-07-31 Dan Williams <dcbw@redhat.com>
1455 * src/nm-activation-request.c
1456 src/vpn-manager/nm-vpn-connection.c
1457 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1458 itself should be attached to the activation request or the VPN
1459 connection, not the NMConnection object, since the call is not
1460 expected to live as long as the NMConnection itself
1462 2008-07-31 Dan Williams <dcbw@redhat.com>
1464 * src/nm-device-wifi.c
1465 - (real_act_stage2_config): fix issue where association would continue
1466 even though secrets were needed; 'goto out' was in wrong scope and
1467 result of handle_auth_or_fail() should have been dumped directly to
1468 'ret' to ensure that the association was postponed until secrets
1471 2008-07-31 Dan Williams <dcbw@redhat.com>
1473 * system-settings/plugins/ifcfg-fedora/plugin.c
1474 system-settings/plugins/ifcfg-fedora/reader.c
1475 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1478 2008-07-29 Dan Williams <dcbw@redhat.com>
1480 * src/nm-gsm-device.c
1481 - (automatic_registration_response, automatic_registration): recognize
1482 denied registration and reorder responses
1484 2008-07-29 Dan Williams <dcbw@redhat.com>
1486 * src/nm-serial-device.c
1487 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
1488 time(2) is used for current time, which returns seconds, we shouldn't
1489 be multiplying by 1000.
1491 2008-07-28 Dan Williams <dcbw@redhat.com>
1493 Patch from Fabrice Bellet <fabrice@bellet.info>
1495 * src/NetworkManagerSystem.c
1496 - (route_in_same_subnet): mask addresses and compare them so that the
1497 function actually does what it says it's going to do (rh #456685)
1499 2008-07-27 Dan Williams <dcbw@redhat.com>
1501 * libnm-util/nm-setting-ip6-config.c
1502 - (set_property): add missing break that caused routes to be overwritten
1505 * libnm-util/nm-setting-ip6-config.c
1506 - (verify): validate routes and return GError everywhere on invalid setting
1507 - (finalize): don't leak routes
1508 - (set_property): add missing break that caused routes to be overwritten
1511 2008-07-27 Dan Williams <dcbw@redhat.com>
1514 - Relicense to LGPLv2+
1516 2008-07-27 Dan Williams <dcbw@redhat.com>
1518 * system-settings/plugins/ifcfg-fedora/reader.c
1519 - (make_ip4_setting): fix parsing automatic configs
1521 2008-07-27 Dan Williams <dcbw@redhat.com>
1523 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1525 src/ppp-manager/nm-ppp-manager.c
1526 - Ensure child process gets reaped. The child watch function may be
1527 removed from the mainloop before the child gets killed, so we have
1528 to make sure the child is reaped when it's told to die intentionally
1530 2008-07-27 Dan Williams <dcbw@redhat.com>
1532 Patch from Roy Marples <roy@marples.name>
1534 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1535 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1537 2008-07-27 Dan Williams <dcbw@redhat.com>
1539 * src/nm-gsm-device.c
1540 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1541 Huawei devices turn echo back on after CPIN (rh #456770)
1543 2008-07-24 Tambet Ingo <tambet@gmail.com>
1545 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1546 format argument to g_set_error() call.
1548 * src/backends/interface_parser.[ch]: Remove.
1550 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1552 2008-07-21 Dan Williams <dcbw@redhat.com>
1554 * src/ppp-manager/nm-ppp-manager.c
1555 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1556 to prevent pppd from picking up some random local address from an
1557 interface that doesn't have anything to do with the one we're
1558 interested in (rh #455348)
1560 2008-07-17 Dan Williams <dcbw@redhat.com>
1562 * libnm-util/nm-utils.c
1563 - (string_to_utf8): general function for conversion to UTF-8 assisted
1565 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1566 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1568 2008-07-17 Dan Williams <dcbw@redhat.com>
1570 * introspection/Makefile.am
1571 introspection/nm-device.xml
1572 introspection/nm-dhcp4-config.xml
1573 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1575 * src/nm-device-interface.c
1576 src/nm-device-interface.h
1577 - Add the DHCP4Config property
1580 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1581 D-Bus clients when it changes
1583 * src/nm-dhcp4-config.c
1584 src/nm-dhcp4-config.h
1585 - Simple object to store DHCP4 options, export them over D-Bus, and
1586 notify when they change
1588 * src/dhcp-manager/nm-dhcp-manager.c
1589 src/dhcp-manager/nm-dhcp-manager.h
1590 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1591 filter server-returned DHCP options into an NMDHCP4Config object
1593 2008-07-16 Dan Williams <dcbw@redhat.com>
1595 * introspection/nm-device.xml
1596 - Add device state reasons
1598 2008-07-16 Dan Williams <dcbw@redhat.com>
1600 Patch from Roy Marples <roy@marples.name>
1603 - Add --with-dhcp-client option
1605 * src/dhcp-manager/Makefile.am
1606 - pass DHCP_CLIENT_PATH on compile line
1608 * src/dhcp-manager/nm-dhcp-manager.c
1609 src/dhcp-manager/nm-dhcp-manager.h
1610 - Genericize for both dhcpcd and dhclient
1612 * src/dhcp-manager/nm-dhcp-dhclient.c
1613 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1615 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1616 - Implement support for dhcpcd too
1618 2008-07-16 Tambet Ingo <tambet@gmail.com>
1620 * system-settings/src/nm-system-config-interface.c
1621 (nm_system_config_interface_supports_add): Implement.
1622 (nm_system_config_interface_add_connection): Return a boolean to notify
1625 * system-settings/src/nm-polkit-helpers.c:
1626 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1629 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1630 Return an error when none of the plugins support add or if addition
1631 failed for some reason.
1633 * system-settings/src/nm-system-config-error.h:
1634 * system-settings/src/nm-system-config-error.c: New files, mostly moved
1635 here from nm-polkit-helpers.[ch].
1637 * system-settings/src/Makefile.am: Build new files.
1639 * system-settings/plugins/keyfile/reader.c
1640 (read_array_of_array_of_uint): Make it more general so that it would
1641 work for routes as well.
1643 * system-settings/plugins/keyfile/writer.c
1644 (write_array_of_array_of_uint): Ditto.
1645 Fix the netmask/prefix writing.
1647 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1648 boolean to notify errors.
1650 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1651 Return more specific error.
1654 2008-07-11 Dan Williams <dcbw@redhat.com>
1656 Modify the NMDevice::state-changed signal to include the previous state
1657 and reason. Enables the applet to provide more information why device
1660 2008-07-09 Dan Williams <dcbw@redhat.com>
1662 * callouts/Makefile.am
1663 callouts/nm-avahi-autoipd-action.c
1664 callouts/nm-avahi-autoipd.conf
1665 - avahi-autoipd callout to send options back to NM
1672 src/nm-device-private.h
1674 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1677 2008-07-07 Dan Williams <dcbw@redhat.com>
1679 * system-settings/plugins/ifcfg-fedora/reader.c
1680 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1681 handle PREFIX too; clean up
1683 2008-07-07 Dan Williams <dcbw@redhat.com>
1685 Convert to using IPv4 prefixes instead of netmasks.
1687 2008-07-03 Dan Williams <dcbw@redhat.com>
1689 * libnm-util/nm-setting-ip4-config.c
1690 libnm-util/nm-setting-ip4-config.h
1691 - Add properties for DHCP Client Identifier and DHCP Hostname
1693 * src/dhcp-manager/nm-dhcp-manager.c
1694 src/dhcp-manager/nm-dhcp-manager.h
1695 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
1696 setting as an argument to pass on to the dhclient config file
1698 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
1700 - (dhclient_run): punt config file handling to create_dhclient_config()
1701 - (create_dhclient_config): create an interface-specific dhclient
1702 config file since there may need to be interface-specific options
1704 - (merge_dhclient_config): merge normal distro dhclient config file and
1705 add options from the connection
1706 - (nm_dhcp_device_new): generate the interface specific dhclient
1707 config file path once
1708 - (nm_dhcp_device_destroy): handle partially initialized objects; free
1709 dhclient config file path
1712 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
1713 DHCP manager when starting DHCP
1715 2008-07-02 Dan Williams <dcbw@redhat.com>
1717 * libnm-util/nm-setting-8021x.c
1718 - (verify): allow forcing the PEAP label to 0
1720 2008-07-02 Dan Williams <dcbw@redhat.com>
1722 * introspection/nm-active-connection.xml
1723 introspection/nm-vpn-connection.xml
1724 libnm-glib/nm-active-connection.c
1725 src/nm-activation-request.c
1726 src/nm-active-connection.h
1727 src/vpn-manager/nm-vpn-connection.c
1728 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
1729 and libnm-glib API since sharing didn't get implemented that way
1731 2008-07-02 Dan Williams <dcbw@redhat.com>
1733 * src/nm-device-wifi.c
1734 - (can_scan): don't scan when a shared connection is activated since
1735 that makes drivers mad (causing disconnects); also NM doesn't need
1736 to hedge against disconnects by keeping up-to-date network topology
1737 because the connection originates from the local machine, and thus
1738 there should be no disconnects
1740 2008-07-01 Dan Williams <dcbw@redhat.com>
1742 Fix mobile broadband username/password issues. NM was never requesting
1743 mobile broadband secrets, nor was it passing back the username and password
1746 * marshallers/nm-marshal.list
1747 - Add some new types for activation request objects
1749 * src/nm-activation-request.c
1750 src/nm-activation-request.h
1751 - (get_secrets_cb): pass the caller type in the signal
1752 - (nm_act_request_request_connection_secrets): take a caller type, so
1753 that GetSecrets() reply handlers know who asked for the secrets in
1754 the first place; use secret hints too so the settings service can
1755 figure out exactly what NM wants (ie, PIN or the PPP password)
1757 * src/ppp-manager/nm-ppp-manager.c
1758 src/ppp-manager/nm-ppp-manager.h
1759 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
1760 detect needed secrets when the secret could be blank, like GSM/CDMA
1761 passwords. So always ask for secrets, and send a hint as to what
1762 secret we really want.
1763 - (nm_ppp_manager_update_secrets): make function more generic by making
1764 the device specific class figure out the username and password, and
1765 accept an error argument to return back over D-Bus
1767 * src/nm-device-wifi.c
1768 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1769 nm_act_request_request_connection_secrets()
1770 - (real_connection_secrets_updated): update for 'caller' changes
1774 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
1775 for 'caller' changes
1777 * src/nm-device-ethernet.c
1778 - (real_connection_secrets_updated): update for 'caller' changes and
1779 move logic for getting PPPoE username and password here before
1780 calling nm_ppp_manager_update_secrets()
1781 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1782 nm_act_request_request_connection_secrets()
1784 * src/nm-cdma-device.c
1785 - (real_connection_secrets_updated): pass username and password back
1786 to the PPP manager when required
1788 * src/nm-gsm-device.c
1789 - (enter_pin): send the required secret name to the settings service
1790 - (real_connection_secrets_updated): pass username and password back
1791 to the PPP manager when required
1793 2008-06-30 Dan Williams <dcbw@redhat.com>
1795 * src/nm-device-wifi.c
1796 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
1798 2008-06-30 Dan Williams <dcbw@redhat.com>
1800 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
1801 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
1802 priv->supplicant.iface. When either condition is false, the device should
1803 transition back to UNAVAILABLE because it cannot be used.
1805 * src/nm-device-wifi.c
1806 - (constructor): cleanup; connect to supplicant manager here since the
1807 supplicant manager is always around
1808 - (supplicant_interface_acquire): rename from init_supplicant_interface,
1809 ensure the supplicant manager is in the IDLE state
1810 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
1811 cancel any pending scans too
1812 - (real_bring_up): don't set up the supplicnat interface here, because
1813 we need the supplicant interface at times when the device may not
1815 - (real_take_down): just remove the periodic source
1816 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
1817 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
1818 do anything if there's no supplicant interface
1819 - (cleanup_association_attempt): cleanup
1820 - (supplicant_iface_state_cb_handler): request an immediate scan when
1821 the interface enters the READY state; transition to UNAVAILABLE
1822 state when the interface goes down because the device can't be used
1823 without a supplicant interface
1824 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
1825 up and transition to UNAVAILABLE; if the supplicant becomes ready,
1826 acquire the supplicant interface and transition to DISCONNECTED
1827 if the radio isn't killed
1828 - (nm_device_wifi_dispose): move most of device_cleanup() here
1829 - (state_changed_cb): release any existing supplicant interface; if the
1830 radio is enabled then try to acquire a new supplicant interface;
1831 if the radio is enabled and a supplicant interface has been acquired,
1832 we can transition to DISCONNECTED
1833 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
1834 don't enable the radio, because HAL probably lied to us about the
1835 killswitch being off. If bringing the hardware up worked, then
1836 try to grab a supplicant interface, and if that was successful,
1837 transition to DISCONNECTED
1839 2008-06-30 Dan Williams <dcbw@redhat.com>
1841 * src/supplicant-manager/nm-supplicant-interface.c
1842 - (request_scan_results, nm_supplicant_interface_dispose,
1843 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
1844 the id of the timeout, not a GSource
1846 2008-06-30 Tambet Ingo <tambet@gmail.com>
1848 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
1849 bunch of typoes introduced by "Patch from David Cantrell
1850 <dcantrell@redhat.com> and me".
1852 2008-06-30 Tambet Ingo <tambet@gmail.com>
1854 * src/nm-serial-device.c:
1855 * src/nm-gsm-device.c:
1856 * src/nm-cdma-device.c: Move the pending call handling to a common location
1857 in serial device. Handle setting device state to failed in one place as well.
1859 2008-06-29 Dan Williams <dcbw@redhat.com>
1861 * src/nm-hal-manager.c
1862 - Rework killswitch handling to query killswitch status immediately
1863 when the first killswitch is added, so that rfkill state is
1864 known as early as possible
1865 - Also treat failure of GetPower() as rfkill when the dbus method
1866 call times out (but not when the HAL callout returns an error)
1868 2008-06-26 Dan Williams <dcbw@redhat.com>
1870 Patch from David Cantrell <dcantrell@redhat.com> and me
1872 * include/nm-dbus-glib-types.h
1873 - Add IP6 address types
1875 * libnm-util/Makefile.am
1876 libnm-util/nm-setting-ip6-config.c
1877 libnm-util/nm-setting-ip6-config.h
1878 - Add IP6 settings object
1880 * libnm-util/nm-connection.c
1881 - (register_default_settings): register ip6 settings object
1883 * libnm-util/nm-utils.c
1884 libnm-util/nm-utils.h
1885 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
1886 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
1887 ip6 address conversion functions
1889 2008-06-26 Dan Williams <dcbw@redhat.com>
1891 Patch from David Cantrell <dcantrell@redhat.com>
1893 * Use inet_ntop() and inet_pton() everwhere and check for errors
1895 2008-06-26 Dan Williams <dcbw@redhat.com>
1897 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
1899 2008-06-26 Dan Williams <dcbw@redhat.com>
1901 Patch from Adel Gadllah <adel.gadllah@gmail.com>
1903 * src/nm-device-wifi.c
1904 - (link_timeout_cb): don't ignore disconnects due to scanning
1905 - (supplicant_iface_connection_state_cb_handler): instead, schedule
1906 a longer timeout when scanning; avoids case where supplicant can't
1907 find the AP and just keeps scanning forever but isn't connected
1909 2008-06-26 Dan Williams <dcbw@redhat.com>
1911 Patch from Michael Biebl <biebl@debian.org>
1913 * Clean up build system stuff
1915 2008-06-23 Christian Persch <chpe@gnome.org>
1917 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
1918 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
1919 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
1921 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
1923 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
1924 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
1925 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
1927 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
1928 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
1929 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
1930 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
1931 * vpn-daemons/pptp/properties/vpnui_opt.c:
1932 (vpnui_opt_connect_signals):
1933 * vpn-daemons/pptp/properties/vpnui_opt.h:
1934 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
1935 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
1936 deprecated gtk type macros. Bug #539325.
1938 2008-06-20 Dan Williams <dcbw@redhat.com>
1940 * libnm-glib/nm-vpn-plugin-ui-interface.c
1941 libnm-glib/nm-vpn-plugin-ui-interface.h
1942 - 'validity-changed' -> 'changed' to work better with the connection
1943 editor. Plugin UI widgets should emit 'changed' whenever their
1944 UI values change in a meaningful way.
1945 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
1946 update_connection member now returns validity of the UI widget
1948 2008-06-20 Tambet Ingo <tambet@gmail.com>
1950 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
1952 2008-06-17 Dan Williams <dcbw@redhat.com>
1954 * libnm-glib/nm-vpn-plugin-ui-interface.c
1955 libnm-glib/nm-vpn-plugin-ui-interface.h
1956 - Add "desc" property for longer descriptions of the VPN plugin
1958 2008-06-16 Dan Williams <dcbw@redhat.com>
1961 libnm-glib/libnm_glib_vpn.pc.in
1962 - add a .pc file for libnm_glib_vpn
1964 * libnm-glib/nm-vpn-plugin-ui-interface.c
1965 libnm-glib/nm-vpn-plugin-ui-interface.h
1966 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
1967 rework it substantially
1969 2008-06-12 Dan Williams <dcbw@redhat.com>
1971 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
1972 and add error enums to each NMSetting subclass. Each NMSetting subclass now
1973 returns a descriptive GError when verification fails.
1975 2008-06-11 Dan Williams <dcbw@redhat.com>
1977 Patch from Tambet Ingo <tambet@gmail.com>
1979 * libnm-util/nm-setting-gsm.c
1980 - (verify): validate APN
1982 * src/nm-gsm-device.c
1983 - (manual_registration_done): start setting APN if needed
1984 - (set_apn, set_apn_done): set the APN
1985 - (do_dial): use the APN when dialing
1987 2008-06-11 Dan Williams <dcbw@redhat.com>
1989 * src/NetworkManagerSystem.c
1990 - (nm_system_device_set_ip4_route,
1991 nm_system_device_replace_default_ip4_route): check for the right
1992 return value from rtnl_route_add() to know when to add a gateway
1995 2008-06-11 Dan Williams <dcbw@redhat.com>
1997 * src/NetworkManagerPolicy.c
1998 - do_ipt_cmd -> do_cmd
1999 - (sharing_init): use do_cmd() instead of system()
2001 2008-06-10 Dan Williams <dcbw@redhat.com>
2003 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2004 and use "wifi" everwhere instead.
2006 2008-06-10 Dan Williams <dcbw@redhat.com>
2008 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2010 2008-06-10 Dan Williams <dcbw@redhat.com>
2012 Patch from Tambet Ingo <tambet@gmail.com>
2014 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2017 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2018 a signal to emit these changes over dbus.
2020 * src/Makefile.am: Genereate nm-serial-device-glue.
2022 * libnm-glib/nm-serial-device.[ch]: Implement.
2024 * libnm-glib/nm-cdma-device.[ch]
2025 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2027 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2029 * introspection/nm-device-serial.xml: Implement.
2031 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2033 * introspection/Makefile.am: Add nm-device-serial.xml.
2035 * include/NetworkManager.h: Add a DBus interface for serial device.
2037 2008-06-10 Dan Williams <dcbw@redhat.com>
2040 - Add TARGET_* define to config.h to distinguish distros
2042 * src/dhcp-manager/nm-dhcp-manager.c
2043 - (dhclient_run): use distro-specific path for dhclient config file
2045 2008-06-09 Dan Williams <dcbw@redhat.com>
2047 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2048 src/dnsmasq-manager/nm-dnsmasq-manager.h
2049 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2050 calculate the addresses passed to dnsmasq instead of hard-coding
2054 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2055 IP addresses for shared connections to guard against shared
2056 connection address collisions
2057 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2059 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2062 2008-06-09 Dan Williams <dcbw@redhat.com>
2064 * src/NetworkManagerPolicy.c
2065 - (update_routing_and_dns): set the default connection _after_ unsetting
2066 default on all non-default connections so that two connections can
2067 never be default at the same time
2068 - (device_state_changed): start and stop connection sharing when
2070 - (active_connection_default_changed): restart or stop sharing when
2071 the default connection changes to keep shared connections always
2072 NAT-ed through the default connection
2073 - (check_sharing): handle activation/deactivation of shared connections
2074 - (sharing_restart): atom-bomb approach to connection sharing until we
2075 can use libnl; reinit all sharing when the default connection or
2076 shared connections change
2077 - (sharing_init, sharing_stop): evil functions that init and deinit
2080 2008-06-09 Dan Williams <dcbw@redhat.com>
2082 * src/nm-activation-request.c
2083 src/nm-activation-request.h
2084 - (nm_act_request_set_shared, nm_act_request_get_shared,
2085 nm_act_request_get_device): new functions to facilitate connection
2088 2008-06-09 Dan Williams <dcbw@redhat.com>
2091 - (clear_act_request): unset the 'default' property of the activation
2092 request when clearing it to ensure the property changed signal gets
2093 delivered and handled
2095 2008-06-09 Dan Williams <dcbw@redhat.com>
2097 * libnm-glib/nm-device-802-11-wireless.c
2098 - (access_point_removed_proxy): actually unref the AP after removing
2099 it from the device's AP list. Fixes refcounting bug for APs that
2100 caused them to get mixed up in the applet's menu.
2102 2008-06-09 Tambet Ingo <tambet@gmail.com>
2104 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2105 (nm_dhcp_device_destroy): Destroy the device options hash table.
2107 2008-06-06 Dan Williams <dcbw@redhat.com>
2109 * system-settings/src/nm-polkit-helpers.c
2110 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2111 unref the context if the initialization fails; also avoid spew when
2114 2008-06-06 Dan Williams <dcbw@redhat.com>
2116 Patch from Tambet Ingo <tambet@gmail.com>
2118 * src/NetworkManagerSystem.c
2119 src/NetworkManagerSystem.h
2120 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2121 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2122 - (nm_system_device_set_ip4_route): clean up
2123 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2126 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2128 * src/vpn-manager/nm-vpn-connection.c
2129 - (ip_address_to_string): new function
2130 - (print_vpn_config): use ip_address_to_string
2131 - (merge_vpn_routes): add user-defined routes to the ip4 config
2132 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2134 * include/NetworkManagerVPN.h
2137 2008-06-05 Dan Williams <dcbw@redhat.com>
2139 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2142 - Show which device is the default device
2144 2008-06-05 Tambet Ingo <tambet@gmail.com>
2148 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2149 Free data returned from dbus method call.
2151 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2152 dbus_g_method_get_sender() returns a duplicated string, free it
2154 (check_polkit_privileges): Looks like policykit sometimes returns
2155 error and non-null return value, don't leak errors in that case.
2157 * system-settings/src/main.c (find_plugin): Don't leak existing
2159 (load_stuff): Don't leak device list and list items.
2160 (have_connection_for_device): Don't leak connection list.
2162 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2163 Free the data received from g_keyfile_get_*.
2165 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2166 the key when the security object is updated.
2168 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2169 Free data returned from dbus method call.
2170 (iface_state_cb): Ditto.
2171 (add_network_cb): Ditto.
2172 (nm_supplicant_interface_add_cb): Don't make another copy of already
2173 duplicated object path.
2174 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2177 * src/supplicant-manager/nm-supplicant-config.c
2178 (ADD_STRING_LIST_VAL): Fix a memory leak.
2180 * src/nm-manager.c (free_get_settings_info): Free the allocated
2182 (list_connections_cb): Free data returned from dbus method call.
2183 (system_settings_get_unmanaged_devices_cb): Ditto.
2185 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2187 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
2188 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
2189 * src/backends/shvar.c (svCloseFile): Free the duplicated content
2192 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2193 arguments after the object is created.
2195 2008-06-04 Dan Williams <dcbw@redhat.com>
2197 * libnm-util/Makefile.am
2198 - Don't distribute nm-param-spec-specialized.h
2200 2008-06-02 Tambet Ingo <tambet@gmail.com>
2202 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2204 * src/nm-ip4-config.[ch]: Store the static routes as a list of
2205 NMIP4Address, update the getters and setters.
2207 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2208 Use the updated NMIP4Config routes api.
2210 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2211 static routes as well.
2213 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2214 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2217 2008-05-30 Dan Williams <dcbw@redhat.com>
2219 * src/named-manager/nm-named-manager.c
2220 src/named-manager/nm-named-manager.h
2221 - Remove stale/obsolete bits for controlling bind over DBus
2223 2008-05-29 Dan Williams <dcbw@redhat.com>
2225 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2226 src/dnsmasq-manager/nm-dnsmasq-manager.h
2227 - (nm_dnsmasq_manager_new): move iface argument here
2228 - (constructor): remove, not needed
2229 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2230 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2233 - (real_act_stage4_get_ip4_config,
2234 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2237 2008-05-29 Dan Williams <dcbw@redhat.com>
2240 - (dnsmasq_state_changed_cb): new function; fail the connection if
2241 something happens to dnsmasq
2242 - (nm_device_new_ip4_shared_config): new function; create a new
2243 ip4-config for shared connections. Shared connections always use a
2244 fixed static IP address.
2245 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2246 autoip connections by actually using the returned ip4-config and
2248 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2250 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2253 2008-05-29 Dan Williams <dcbw@redhat.com>
2255 * src/nm-device-802-11-wireless.c
2256 - (real_get_best_auto_connection): auto-activate 'shared' method
2259 2008-05-29 Dan Williams <dcbw@redhat.com>
2261 * libnm-util/nm-setting-ip4-config.c
2262 libnm-util/nm-setting-ip4-config.h
2263 - Add a 'shared' method to indicate that this connection should be
2264 brought up with a DHCP and proxy DNS server to facilitate
2266 - (verify): 'shared' method doesn't allow DNS or searches either
2268 2008-05-29 Dan Williams <dcbw@redhat.com>
2272 src/dnsmasq-manager/Makefile.am
2273 src/dnsmasq-manager/nm-dnsmasq-manager.c
2274 src/dnsmasq-manager/nm-dnsmasq-manager.h
2275 - Add a dnsmasq daemon manager to facilitate connection sharing
2277 2008-05-29 Dan Williams <dcbw@redhat.com>
2279 * src/nm-device-private.h
2280 - Remove unused prototypes and clean up
2283 - Remove anything related to system_config_data, which is no longer used
2284 - (nm_device_new_ip4_autoip_config): make static
2286 2008-05-29 Tambet Ingo <tambet@gmail.com>
2288 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2289 (file_changed): Fix a bug where suse system settings plugin didn't
2290 update the connections automatically when the files changed.
2292 2008-05-28 Dan Williams <dcbw@redhat.com>
2294 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2296 2008-05-28 Dan Williams <dcbw@redhat.com>
2298 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2300 * src/NetworkManagerSystem.c
2301 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2302 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2303 was causing -EINVAL errors since the libnl code actually does flush
2304 the routes on VPN interfaces now
2306 * src/backends/NetworkManagerArch.c
2307 src/backends/NetworkManagerDebian.c
2308 src/backends/NetworkManagerFrugalware.c
2309 src/backends/NetworkManagerGeneric.c
2310 src/backends/NetworkManagerGentoo.c
2311 src/backends/NetworkManagerMandriva.c
2312 src/backends/NetworkManagerPaldo.c
2313 src/backends/NetworkManagerRedHat.c
2314 src/backends/NetworkManagerSlackware.c
2315 src/backends/NetworkManagerSuSE.c
2316 - (nm_system_device_flush_ip4_routes,
2317 nm_system_device_flush_ip4_routes_with_iface): remove
2319 2008-05-28 Dan Williams <dcbw@redhat.com>
2321 * libnm-util/nm-setting-wireless.c
2322 libnm-util/nm-setting-wireless.h
2323 - (set_property, get_property, nm_setting_wireless_class_init): add the
2324 'adhoc-create' property, which when TRUE indicates that NM should
2325 create this connection as an adhoc wifi network if it's not found
2326 as an adhoc network during scanning. Can be used to auto-create
2327 adhoc networks when used in combination with autoconnect.
2329 2008-05-28 Tambet Ingo <tambet@gmail.com>
2331 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2333 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2334 checked, it doesn't work on some devices.
2336 2008-05-28 Tambet Ingo <tambet@gmail.com>
2338 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
2339 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2341 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2342 Use inet_aton() everywhere to improve error detection.
2343 Don't fall back to 'dhcp_server_identifier' if the gateway is not
2346 2008-05-26 Tambet Ingo <tambet@gmail.com>
2348 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2351 2008-05-26 Tambet Ingo <tambet@gmail.com>
2353 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2354 reference counting issue.
2356 2008-05-23 Dan Williams <dcbw@redhat.com>
2358 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2360 * src/backends/NetworkManagerGeneric.c
2361 - (nm_generic_enable_loopback): use libnl
2363 2008-05-23 Dan Williams <dcbw@redhat.com>
2365 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2367 * src/NetworkManagerSystem.h
2368 src/backends/NetworkManagerArch.c
2369 src/backends/NetworkManagerDebian.c
2370 src/backends/NetworkManagerFrugalware.c
2371 src/backends/NetworkManagerGentoo.c
2372 src/backends/NetworkManagerMandriva.c
2373 src/backends/NetworkManagerPaldo.c
2374 src/backends/NetworkManagerRedHat.c
2375 src/backends/NetworkManagerSlackware.c
2376 src/backends/NetworkManagerSuSE.c
2377 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2378 nm_system_flush_arp_cache): remove, unused
2380 * src/backends/NetworkManagerGeneric.c
2381 src/backends/NetworkManagerGeneric.h
2382 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2383 nm_generic_flush_arp_cache): remove, unused
2385 2008-05-23 Dan Williams <dcbw@redhat.com>
2387 * system-settings/plugins/ifcfg-fedora/reader.c
2388 - (make_ip4_setting): honor PEERDNS setting
2390 2008-05-23 Dan Williams <dcbw@redhat.com>
2392 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2394 * src/NetworkManagerSystem.c
2395 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2398 * src/backends/NetworkManagerArch.c
2399 src/backends/NetworkManagerDebian.c
2400 src/backends/NetworkManagerFrugalware.c
2401 src/backends/NetworkManagerGentoo.c
2402 src/backends/NetworkManagerMandriva.c
2403 src/backends/NetworkManagerPaldo.c
2404 src/backends/NetworkManagerRedHat.c
2405 src/backends/NetworkManagerSlackware.c
2406 src/backends/NetworkManagerSuSE.c
2407 - (nm_system_device_flush_ip4_addresses,
2408 nm_system_device_flush_ip4_addresses_with_iface): remove
2410 * src/backends/NetworkManagerGeneric.c
2411 - (nm_generic_device_flush_ip4_addresses,
2412 nm_generic_device_flush_ip4_addresses_with_iface): remove
2414 2008-05-23 Dan Williams <dcbw@redhat.com>
2416 * src/supplicant-manager/nm-supplicant-settings-verify.c
2417 - Switch 'bssid' from bytes to keyword type
2418 - (validate_type_keyword): allow NULL keyword lists
2420 * src/supplicant-manager/nm-supplicant-config.c
2421 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2422 a byte array to string form, which is what the supplicant expects
2424 2008-05-23 Tambet Ingo <tambet@gmail.com>
2426 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2427 information received from DHCP.
2429 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2430 to make it possible to ignore the DNS information (both servers and
2431 searches) returned by DHCP server.
2433 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2434 name servers and searches if "ignore_dhcp_dns" is set.
2436 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2437 (nm_ip4_config_reset_searches): Implement.
2439 2008-05-22 Dan Williams <dcbw@redhat.com>
2441 Remove anything mDNS related. This is better done from a distro-specific
2442 dispatcher script. Plus, any distro using avahi doesn't need to restart
2443 avahi, since avahi can handle interface changes just fine using netlink.
2446 - Remove --with-mdns-provider
2448 * src/NetworkManagerPolicy.c
2449 - (global_state_changed): don't restart the mdns provider
2451 * src/NetworkManagerSystem.h
2452 src/backends/NetworkManagerArch.c
2453 src/backends/NetworkManagerDebian.c
2454 src/backends/NetworkManagerFrugalware.c
2455 src/backends/NetworkManagerGentoo.c
2456 src/backends/NetworkManagerMandriva.c
2457 src/backends/NetworkManagerPaldo.c
2458 src/backends/NetworkManagerRedHat.c
2459 src/backends/NetworkManagerSlackware.c
2460 src/backends/NetworkManagerSuSE.c
2461 - (nm_system_restart_mdns_responder): remove
2463 * src/backends/NetworkManagerGeneric.c
2464 src/backends/NetworkManagerGeneric.h
2465 - (nm_generic_restart_mdns_responder): remove
2467 2008-05-22 Dan Williams <dcbw@redhat.com>
2470 - clean up crypto options; just use --with-crypto=nss or
2471 --with-crypto=gnutls
2473 2008-05-22 Tambet Ingo <tambet@gmail.com>
2475 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2476 anymore, do it right away.
2478 2008-05-22 Tambet Ingo <tambet@gmail.com>
2480 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2481 serial device open when we're not connecting or connected.
2483 * src/nm-cdma-device.c (device_state_changed): Ditto.
2485 2008-05-22 Tambet Ingo <tambet@gmail.com>
2487 Don't remove all devices on waking up, sync with HAL.
2489 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2490 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2491 (hal_manager_hal_reappeared_cb): Just call sync_devices.
2493 2008-05-21 Tambet Ingo <tambet@gmail.com>
2495 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2496 If the default gateway is unreachable, add a route to gateway and try
2499 2008-05-20 Dan Williams <dcbw@redhat.com>
2501 * system-settings/plugins/ifcfg-fedora/reader.c
2502 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2504 2008-05-19 Dan Williams <dcbw@redhat.com>
2506 * system-settings/plugins/ifcfg-fedora/reader.c
2507 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2508 if the ifcfg doesn't specify one (rh #446527)
2510 2008-05-19 Dan Williams <dcbw@redhat.com>
2512 Make the system settings service exit when the bus goes away. Since it's
2513 a bus-activated service, it's lifetime is limited to the bus that activated
2516 * system-settings/src/Makefile.am
2517 system-settings/src/nm-system-config-hal-manager-private.h
2518 - Remove nm-system-config-hal-manager-private.h
2520 * system-settings/src/nm-system-config-hal-manager.c
2521 - (nm_system_config_hal_manager_reinit_dbus,
2522 nm_system_config_hal_manager_deinit_dbus): remove
2524 * system-settings/src/main.c
2525 - (dbus_reconnect): remove
2526 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2527 - (destroy_cb): just quit when the bus goes away
2528 - (start_dbus_service, dbus_init): simplify
2529 - (main): destroy the wired devices hash table after destroying
2530 the HAL manager so we don't have to disconnect signals from the
2533 2008-05-15 Tambet Ingo <tambet@gmail.com>
2535 Move crypto functions from nm-applet to libnm-util.
2537 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2538 (nm_setting_802_1x_set_client_cert)
2539 (nm_setting_802_1x_set_phase2_ca_cert)
2540 (nm_setting_802_1x_set_phase2_client_cert)
2541 (nm_setting_802_1x_set_private_key)
2542 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2543 file (or private key and it's password), read the certificate data.
2545 * libnm-util/crypto_nss.c:
2546 * libnm-util/crypto_gnutls.c:
2547 * libnm-util/crypto.[ch]: Move here from nm-applet.
2549 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2551 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2552 Imlement WPA-EAP configuration reading from sysconfig.
2554 2008-05-16 Dan Williams <dcbw@redhat.com>
2556 * src/nm-device-802-11-wireless.c
2557 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2560 2008-05-14 Dan Williams <dcbw@redhat.com>
2562 Fix Linus' bug in rh #134886
2564 * src/nm-device-802-3-ethernet.c
2565 - (constructor): request initial carrier state
2567 * src/nm-netlink-monitor.c
2568 - (nm_netlink_monitor_request_status): schedule emission of carrier
2569 signals after refilling the link cache. Because the refill is a
2570 synchronous operation, the normal message hander won't get called
2571 since libnl has already consumed the messages.
2572 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2574 2008-05-14 Dan Williams <dcbw@redhat.com>
2576 * src/NetworkManagerSystem.c
2577 - (nm_system_device_is_up_with_iface): clean up
2579 2008-05-13 Dan Williams <dcbw@redhat.com>
2581 Fix refcounting issues over sleep/wake when a VPN connection was active that
2582 caused NM to try registering an object path for a device upon wake that was
2583 the same as an already registered object path.
2586 - (nm_device_take_down): properly handle cases where the device is
2587 no longer active but was just active, and therefore must be
2588 deactivated. When a device moves to unmanaged mode, this function
2589 previously would not deactivate the device, because the state was
2590 already unmanaged by the time this function was called.
2592 * src/vpn-manager/nm-vpn-connection.c
2593 - (device_state_changed): properly handle multiple devices states in
2594 which the device is now deactivated. Code previously didn't handle
2595 transitions to the UNAVAILABLE (like rfkill or carrier off) and
2598 2008-05-13 Dan Williams <dcbw@redhat.com>
2600 * src/nm-device-private.h
2602 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2604 * src/nm-device-802-11-wireless.c
2605 - (nm_device_802_11_wireless_set_enabled): take devices up
2606 and down as appropriate for the rfkill state
2608 2008-05-13 Dan Williams <dcbw@redhat.com>
2610 * marshallers/nm-marshal.list
2611 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2613 * system-settings/plugins/ifcfg-fedora/Makefile.am
2614 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2615 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2616 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2617 events. Solely for use watching ifcfg files to pick up changes
2618 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2620 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2621 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2622 file contents change
2623 - (finalize): clean up inotify watches
2624 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2625 and the connection ifcfg for changes on their hardlinks
2626 - (files_changed_cb): proxy the changed signal back out to listeners
2628 * system-settings/plugins/ifcfg-fedora/plugin.c
2630 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2632 - (read_one_connection): connect to change signals on the new connection
2633 - (dir_changed, connection_changed_handler,
2634 handle_connection_remove_or_new): break out connection change
2635 handling and connection new/remove handling so it can be used from
2636 both the GFileMonitor callback and the NMIfcfgConnection changed
2639 * system-settings/plugins/ifcfg-fedora/reader.c
2640 system-settings/plugins/ifcfg-fedora/reader.h
2641 - (connection_from_file): return the keyfile path the connection would use
2643 2008-05-13 Tambet Ingo <tambet@gmail.com>
2645 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
2646 single PolKitContext which is shared by all. PolKitContext::unref leaks
2647 just about everything, including all open file descriptiors and results
2648 in 99% cpu usage when data arrives to any of the fds that don't belong
2649 to any context anymore.
2651 2008-05-12 Dan Williams <dcbw@redhat.com>
2653 * gfilemonitor/glocaldirectorymonitor.c
2654 gfilemonitor/glocaldirectorymonitor.h
2655 - (g_local_directory_monitor_constructor): actually subscribe to the
2657 - (_g_local_directory_monitor_new): ensure that inotify is started up
2659 * gfilemonitor/glocalfilemonitor.c
2660 gfilemonitor/glocalfilemonitor.h
2661 - (g_local_file_monitor_constructor): actually subscribe to the watch
2662 - (_g_local_file_monitor_new): ensure that inotify is started up
2664 2008-05-11 Dan Williams <dcbw@redhat.com>
2667 - record PolicyKit version
2669 * system-settings/src/nm-polkit-helpers.c
2670 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2671 with PolicyKit <= 0.6
2673 2008-05-11 Dan Williams <dcbw@redhat.com>
2675 Update Fedora system-settings plugin to support latest API and use
2676 GFileMonitor rather than home-rolled inotify code.
2678 * system-settings/plugins/ifcfg-fedora/Makefile.am
2679 system-settings/plugins/ifcfg-fedora/common.h
2680 system-settings/plugins/ifcfg-fedora/plugin.c
2681 - Update to latest system settings plugin API; use GIO instead of
2682 custom inotify code; use NMIfcfgConnection objects instead of
2683 ConnectionData structures tacked onto NMConnection objects
2685 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2686 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2687 - Implement an NMExportedConnection subclass mapping ifcfg files to
2690 * system-settings/plugins/ifcfg-fedora/reader.c
2691 system-settings/plugins/ifcfg-fedora/reader.h
2692 - Move ifcfg parsing bits here from parser.c
2694 * system-settings/plugins/ifcfg-fedora/parser.c
2695 system-settings/plugins/ifcfg-fedora/parser.h
2696 - Remove; most code moved to reader.c
2698 2008-05-11 Dan Williams <dcbw@redhat.com>
2703 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
2704 implementation, so that the same change monitoring code can be used
2705 on systems without glib-2.14 (like Fedora 8)
2707 * system-settings/plugins/keyfile/Makefile.am
2708 system-settings/plugins/keyfile/plugin.c
2709 system-settings/plugins/ifcfg-suse/Makefile.am
2710 system-settings/plugins/ifcfg-suse/plugin.c
2711 - Use private gfilemonitor code if GIO is not present
2713 2008-05-09 Tambet Ingo <tambet@gmail.com>
2715 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
2716 NMExportedConnection's 'update' and 'delete' and return error with
2717 descriptive message.
2719 2008-05-08 Dan Williams <dcbw@redhat.com>
2721 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2723 * src/nm-gsm-device.c
2724 src/nm-cdma-device.c
2725 - (real_get_best_auto_connection): implement; allow autoconnection
2726 to GSM & CDMA devices
2728 2008-05-08 Tambet Ingo <tambet@gmail.com>
2730 Use PolicyKit to authorize the system settings' AddConnection method
2731 and the system settings connections' Update and Delete methods.
2733 * libnm-glib/nm-settings.c (impl_exported_connection_update)
2734 (impl_exported_connection_delete, nm_exported_connection_update)
2735 (nm_exported_connection_delete): Return boolean and fill GError
2736 to notify the callers of the reasons why it might have failed.
2738 * libnm-glib/nm-dbus-settings-system.c
2739 (nm_dbus_settings_system_add_connection): Return the error from dbus
2740 call so that the callers can see why it failed.
2742 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
2745 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
2747 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
2748 abstract base class that checks PolicyKit permissions.
2750 * system-settings/src/dbus-settings.c:
2751 (impl_settings_add_connection): Check the policy before carring out
2754 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
2755 Inherit from NMSysconfigConnection, check the policies before
2756 allowing updating or removing.
2758 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
2759 Inherit from NMSysconfigConnection.
2761 * introspection/nm-exported-connection.xml: Annotate "Update" and
2762 "Delete" methods with async flag so that the implementations can get
2763 access to DBusGMethodInvocation.
2765 * system-settings/src/dbus-settings.c
2766 (settings_add_connection_check_privileges): Implement.
2767 (impl_settings_add_connection): Check the privileges before adding a new
2768 connection. Improve error reporting.
2770 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
2771 async so that the implementation can access DBusGMethodInvocation.
2773 * configure.in: Check for PolicyKit.
2775 * policy/org.freedesktop.network-manager-settings.system.policy:
2778 * policy/Makefile.am: Install the policy file.
2780 * configure.in: Add 'policy' subdir.
2782 2008-05-08 Tambet Ingo <tambet@gmail.com>
2784 Rewrite the suse system settings plugin.
2786 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
2788 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
2790 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
2792 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
2794 * system-settings/src/dbus-settings.c: Fix connection reference counting.
2796 * system-settings/src/main.c (load_plugins): Improve error reporting.
2798 * system-settings/src/sha1.[ch] Add.
2800 * system-settings/src/Makefile.am: Add sha1[ch] to build.
2802 2008-05-07 Dan Williams <dcbw@redhat.com>
2804 * system-settings/plugins/keyfile/reader.c
2805 - (read_one_setting_value): handle IP address items separately
2806 - (read_array_of_uint): read IPv4 DNS option as a string array
2807 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
2810 * system-settings/plugins/keyfile/writer.c
2811 - (write_setting_value): handle IP address items separately
2812 - (write_array_of_uint): handle IPv4 DNS option as a string array,
2813 not an array of uint, so that it's user-editable
2814 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
2815 arrays, so they are user-editable
2817 2008-05-07 Dan Williams <dcbw@redhat.com>
2819 * system-settings/plugins/keyfile/Makefile.am
2820 - Change location of the keyfile plugin settings to
2821 /etc/NetworkManager/system-connections
2823 2008-05-05 Tambet Ingo <tambet@gmail.com>
2825 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
2827 * system-settings/plugins/keyfile/plugin.c: Work with
2828 NMKeyfileConnections.
2830 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
2831 Plugins are supposed to return NMExportedConnections now and handle the
2832 updated(), removed(), and GetSecrets().
2833 Store the internal list of connections in hash table to make it easier
2836 2008-05-07 Tambet Ingo <tambet@gmail.com>
2838 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
2839 for multiple IP addresses.
2841 2008-05-07 Tambet Ingo <tambet@gmail.com>
2843 Patch from André Lemos.
2845 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
2848 2008-05-06 Dan Williams <dcbw@redhat.com>
2850 * src/dhcp-manager/nm-dhcp-manager.c
2851 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
2852 NMIP4Config to support multiple IP addresses
2854 * src/NetworkManagerUtils.c
2855 - (nm_utils_merge_ip4_config): update for multiple IP addresses
2857 * src/nm-ip4-config.c
2859 - Store a list of IPv4 address/netmask/gateway tuples
2860 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
2861 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
2862 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
2863 nm_ip4_config_set_address): remove
2864 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
2865 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
2866 new functions; handle multiple IPv4 addresses
2869 src/ppp-manager/nm-ppp-manager.c
2870 src/vpn-manager/nm-vpn-connection.c
2871 src/NetworkManagerPolicy.c
2873 libnm-glib/libnm-glib-test.c
2874 - update for changes to NMIP4Config for multiple IPv4 addresses
2876 * src/NetworkManagerSystem.c
2877 - (nm_system_device_set_ip4_route): don't add the route if any address
2878 is on the same subnet as the destination
2879 - (check_one_address): ignore the exact match, just match family and
2881 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
2883 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
2884 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
2886 * introspection/nm-ip4-config.xml
2887 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
2888 - Add 'addresses' property which is an array of (uuu) tuples of
2889 address/netmask/gateway
2891 * libnm-util/nm-setting-ip4-config.c
2892 - (set_property): use ip-address <-> GValue converters from nm-utils.c
2894 * libnm-glib/nm-ip4-config.c
2895 libnm-glib/nm-ip4-config.h
2896 - Handle D-Bus interface changes to support multiple IP addresses
2898 2008-05-06 Dan Williams <dcbw@redhat.com>
2900 * libnm-util/nm-utils.c
2901 libnm-util/nm-utils.h
2902 - (nm_utils_ip4_addresses_from_gvalue,
2903 nm_utils_ip4_addresses_to_gvalue): new functions
2905 2008-05-06 Tambet Ingo <tambet@gmail.com>
2907 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
2908 the returned connection paths.
2910 2008-05-05 Tambet Ingo <tambet@gmail.com>
2912 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
2913 "PropertiesChanged" signal signature.
2915 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
2916 defined in nm-dbus-glib-types.h.
2917 Don't register the connection on dbus, we're a proxy class to
2918 communicate with an already registered connection over dbus.
2920 2008-04-30 Tambet Ingo <tambet@gmail.com>
2922 Implement new subclasses of NMSettings and NMExportedConnection to make
2923 it easier for the applet to access and modify system settings.
2925 * libnm-glib/nm-dbus-connection.[ch]:
2926 * libnm-glib/nm-dbus-settings.[ch]:
2927 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
2929 * libnm-glib/Makefile.am: Add the new files to build, generate some more
2932 * include/NetworkManager.h: Define the system settings DBus interface.
2934 2008-04-30 Tambet Ingo <tambet@gmail.com>
2936 Implement additional C API for exported connections to make them identical
2937 with the DBus API. Change the (list_connections) virtual function to be
2938 more usable from C - instead of requiring implementers to return a GPtrArray
2939 of dbus paths, return a list of connections.
2941 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
2942 (nm_settings_list_connections):
2943 (nm_exported_connection_new):
2944 (nm_exported_connection_update):
2945 (nm_exported_connection_delete): Implement.
2947 (impl_settings_list_connections):
2948 (impl_exported_connection_update):
2949 (impl_exported_connection_delete): Use the new public functions to make
2950 sure the C and dbus interfaces stay in sync.
2952 * system-settings/src/dbus-settings.c (list_connections): Return a list of
2955 2008-05-02 Dan Williams <dcbw@redhat.com>
2957 * system-settings/plugins/ifcfg-fedora/plugin.c
2958 - (dispose): use right unref call on the DBusGConnection
2960 2008-05-02 Dan Williams <dcbw@redhat.com>
2962 * src/nm-serial-device.c
2963 - (find_terminator): don't compare the whole line, just the size of the
2964 terminator, since some modems put stuff after the terminator, like
2967 2008-05-01 Dan Williams <dcbw@redhat.com>
2969 Patch from Michael Biebl <biebl@debian.org>
2971 * callouts/Makefile.am
2972 callouts/org.freedesktop.nm_dispatcher.service.in
2973 system-settings/src/Makefile.am
2974 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
2975 - use the right install location for dbus-activated stuff
2977 2008-04-30 Dan Williams <dcbw@redhat.com>
2979 * src/nm-gsm-device.c
2980 - (enter_pin): fix setting name passed to applets when asking for a GSM
2983 2008-04-30 Dan Williams <dcbw@redhat.com>
2986 - (nm_manager_error_get_type): remove erroneous NULL enum from table
2988 2008-04-30 Dan Williams <dcbw@redhat.com>
2990 * src/nm-device-802-3-ethernet.c
2991 src/nm-device-802-11-wireless.c
2992 - (real_is_up): return true instead of chaining up to unimplemented
2995 2008-04-30 Dan Williams <dcbw@redhat.com>
2997 * src/NetworkManagerSystem.c
2998 src/NetworkManagerSystem.h
2999 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3000 functions to check device flags for IFF_UP
3002 * src/nm-serial-device.c
3003 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3006 * src/nm-device-802-3-ethernet.c
3007 src/nm-device-802-11-wireless.c
3008 - (real_hw_is_up): call nm_system_device_is_up()
3011 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3012 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3015 2008-04-29 Dan Williams <dcbw@redhat.com>
3017 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3019 * marshallers/nm-marshal.list
3022 * src/NetworkManager.c
3023 - (main): let the NMManager handle the NMHalManager
3025 * src/nm-hal-manager.c
3026 src/nm-hal-manager.h
3027 - convert to a GObject, and emit singals when stuff changes. Let the
3028 NMManager handle the signals, instead of the NMHalManager calling
3033 - (remove_one_device): consolidate device removals here
3034 - (dispose): use remove_one_device()
3035 - (nm_manager_get_device_by_udi): make static
3036 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3037 manager for devices at startup or wakeup time
3038 - (nm_manager_new): create and monitor the HAL manager
3039 - (hal_manager_udi_added_cb): new function; do what
3040 nm_manager_add_device() used to do when signalled by the hal manager
3041 - (hal_manager_udi_removed_cb): new function; do what
3042 nm_manager_remove_device() used to do when signalled by the hal
3044 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3046 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3047 in our device list that aren't known to HAL
3048 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3049 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3051 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3052 nm_manager_activation_pending, nm_manager_wireless_enabled,
3053 nm_manager_wireless_hardware_enabled,
3054 nm_manager_set_wireless_hardware_enabled): remove, unused
3056 2008-04-28 Dan Williams <dcbw@redhat.com>
3058 Fix the device up/down ambiguities. Up/down state used to be a
3059 conglomeration of hardware state (IFF_UP) and any device-specific things
3060 (supplicant, periodic timers, etc) that the device used to indicate
3061 readiness. Unfortunately, if the hardware was already IFF_UP for some
3062 reason, then the device specific stuff wouldn't get run, and the device
3067 - Create hw_is_up, hw_bring_up, and hw_take_down
3068 - Rename bring_down -> take_down
3069 - (real_hw_is_up): check interface flags for IFF_UP
3070 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3071 - (nm_device_is_up): make static; only used locally
3072 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3073 if the device is already up; if the device isn't up, bring it up
3074 - (nm_device_hw_take_down): just take down hardware
3075 - (nm_device_bring_up): bring up HW first, then device specific stuff
3076 - (nm_device_take_down): always deactivate device when called; always
3077 try to take hardware down too
3078 - (nm_device_state_changed): take device down when entering unmanaged
3079 state from a higher state
3081 * src/nm-device-802-11-wireless.c
3082 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3084 - (real_take_down, supplicant_iface_state_cb_handler,
3085 supplicant_iface_connection_state_cb_handler,
3086 supplicant_mgr_state_cb_handler): fix some messages
3088 * src/nm-device-802-3-ethernet.c
3089 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3092 2008-04-28 Dan Williams <dcbw@redhat.com>
3096 - (nm_manager_error_get_type): add new error
3097 - (nm_manager_remove_device): don't bother taking down the device here,
3098 the state change from unmanaging the device will do it
3099 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3100 uses it; when going to sleep, just unmanage the device instead of
3101 taking it down, because stuff will cleaned up correctly when the
3102 device gets unmanaged
3104 2008-04-28 Dan Williams <dcbw@redhat.com>
3106 * src/nm-hal-manager.c
3107 - (add_initial_devices): convert to a GSourceFunc prototype
3108 - (nm_manager_state_changed): when coming out of sleep, punt the
3109 device re-addition to an idle handler to let D-Bus events go out
3110 first, fixing a potential dbus-glib assert if the old device was
3111 not yet disposed (due to references held while emitting the D-Bus
3112 signals) but the new device was found, because the mainloop didn't
3113 run between signal emission and add_initial_devices()
3115 2008-04-27 Dan Williams <dcbw@redhat.com>
3117 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3119 * initscript/paldo/NetworkManager.in
3120 initscript/SUSE/networkmanager.in
3121 - Remove last bits of dhcdbd
3123 2008-04-27 Dan Williams <dcbw@redhat.com>
3125 * src/nm-device-802-11-wireless.c
3126 - (link_timeout_cb): don't ask for secrets when disconnected during
3127 association/authentication phase, drivers are still just too crappy
3129 2008-04-27 Dan Williams <dcbw@redhat.com>
3133 dispatcher-daemon/Makefile.am
3134 dispatcher-daemon/NetworkManagerDispatcher.c
3135 initscript/Arch/Makefile.am
3136 initscript/Arch/networkmanager-dispatcher.in
3137 initscript/Gentoo/Makefile.am
3138 initscript/Gentoo/NetworkManagerDispatcher.in
3139 initscript/Mandriva/Makefile.am
3140 initscript/Mandriva/networkmanagerdispatcher.in
3141 initscript/RedHat/Makefile.am
3142 initscript/RedHat/NetworkManagerDispatcher.in
3143 initscript/SUSE/Makefile.am
3144 initscript/SUSE/networkmanager-dispatcher.in
3145 initscript/Slackware/Makefile.am
3146 initscript/Slackware/rc.networkmanager-dispatcher.in
3147 initscript/paldo/Makefile.am
3148 initscript/paldo/NetworkManagerDispatcher.in
3150 man/NetworkManagerDispatcher.8.in
3151 - Remove the dispatcher daemon
3153 2008-04-27 Dan Williams <dcbw@redhat.com>
3155 * callouts/Makefile.am
3156 callouts/nm-dispatcher-action.c
3157 callouts/nm-dispatcher-action.h
3158 callouts/nm-dispatcher.conf
3159 callouts/nm-dispatcher.xml
3160 callouts/org.freedesktop.nm_dispatcher.service
3161 - Re-implement the dispatcher as a system-bus activated service that
3162 NM calls on-demand, rather than an always running daemon
3165 - Add callouts dir to includes to pick up dispatcher defines
3168 - (nm_device_state_changed): call dispatcher on device activated/
3171 * src/vpn-manager/nm-vpn-connection.c
3172 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3175 * src/NetworkManagerUtils.c
3176 src/NetworkManagerUtils.h
3177 - (nm_utils_call_dispatcher): helper to call dispatcher
3179 2008-04-27 Dan Williams <dcbw@redhat.com>
3181 * src/NetworkManagerUtils.c
3182 src/NetworkManagerUtils.h
3183 - remove unneeded includes
3184 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3185 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3186 nm_timeval_cmp, nm_timeval_add): remove, unused
3187 - clean up formatting
3188 - (nm_spawn_process): de-uglify
3190 * src/nm-device-802-11-wireless.c
3191 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3193 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
3195 * initscript/Gentoo/NetworkManager.in:
3196 Fix for starting the daemon.
3198 2008-04-25 Dan Williams <dcbw@redhat.com>
3200 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3202 * src/NetworkManagerSystem.c
3203 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3205 2008-04-25 Dan Williams <dcbw@redhat.com>
3207 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3209 * src/NetworkManagerSystem.c
3210 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3211 implementation of nm_system_device_replace_default_route()
3213 * src/NetworkManagerPolicy.c
3214 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3216 * src/backends/NetworkManagerArch.c
3217 src/backends/NetworkManagerDebian.c
3218 src/backends/NetworkManagerFrugalware.c
3219 src/backends/NetworkManagerGeneric.c
3220 src/backends/NetworkManagerGeneric.h
3221 src/backends/NetworkManagerGentoo.c
3222 src/backends/NetworkManagerMandriva.c
3223 src/backends/NetworkManagerPaldo.c
3224 src/backends/NetworkManagerRedHat.c
3225 src/backends/NetworkManagerSlackware.c
3226 src/backends/NetworkManagerSuSE.c
3227 - (nm_system_device_replace_default_route): remove
3229 2008-04-25 Dan Williams <dcbw@redhat.com>
3231 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3233 * src/NetworkManagerSystem.c
3234 - (validate_ip4_route): remove; use nl_addr_parse() instead
3235 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3236 replace nm_system_device_add_route_via_device_with_iface() in the
3239 * src/backends/NetworkManagerArch.c
3240 src/backends/NetworkManagerDebian.c
3241 src/backends/NetworkManagerFrugalware.c
3242 src/backends/NetworkManagerGeneric.c
3243 src/backends/NetworkManagerGeneric.h
3244 src/backends/NetworkManagerGentoo.c
3245 src/backends/NetworkManagerMandriva.c
3246 src/backends/NetworkManagerPaldo.c
3247 src/backends/NetworkManagerRedHat.c
3248 src/backends/NetworkManagerSlackware.c
3249 src/backends/NetworkManagerSuSE.c
3250 - Remove nm_system_device_add_route_via_device_with_iface()
3252 2008-04-25 Dan Williams <dcbw@redhat.com>
3254 * system-settings/plugins/ifcfg-fedora/parser.c
3255 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3257 2008-04-24 Dan Williams <dcbw@redhat.com>
3259 * dispatcher-daemon/NetworkManagerDispatcher.c
3260 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3262 2008-04-24 Dan Williams <dcbw@redhat.com>
3264 * initscript/RedHat/NetworkManager.in
3265 initscript/RedHat/NetworkManagerDispatcher.in
3266 - Be active at runlevel 2
3267 - Adjust priorities earlier
3269 2008-04-22 Dan Williams <dcbw@redhat.com>
3271 * src/NetworkManagerPolicy.c
3272 - (update_routing_and_dns): when checking for a gateway, look at the
3273 composite IP4 config, not the connection's ip4-config setting, which
3274 doesn't include DHCP-returned information
3276 2008-04-22 Tambet Ingo <tambet@gmail.com>
3278 Implement GKeyFile system settings plugin.
3279 Implement writing system settings (currently supported only by GKeyFile plugin).
3281 * system-settings/src/main.c:
3282 * system-settings/src/dbus-settings.c: Move the communication with plugins
3283 from main.c to dbus-settings.c. Makes it possible to talk to all registered
3284 plugins for adding/updating/removing connections.
3286 * system-settings/src/nm-system-config-interface.c
3287 (nm_system_config_interface_add_connection): Implement
3288 (nm_system_config_interface_update_connection): Implement.
3289 (nm_system_config_interface_remove_connection): Implement.
3291 * system-settings/plugins/keyfile/Makefile.am:
3292 * system-settings/plugins/keyfile/plugin.[ch]:
3293 * system-settings/plugins/keyfile/writer.[ch]:
3294 * system-settings/plugins/keyfile/reader.[ch]: Implement.
3296 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3298 * configure.in: Generate GKeyFile Makefile.
3300 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3301 corruption, need to duplicate the returned string.
3302 (impl_exported_connection_update): Implement.
3303 (impl_exported_connection_delete): Implement.
3305 * introspection/nm-settings-system.xml: Add "AddConnection" method.
3307 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3309 2008-04-22 Dan Williams <dcbw@redhat.com>
3311 Patch from Charles R. Anderson (cra@wpi.edu)
3313 * src/NetworkManagerPolicy.c
3314 - (update_routing_and_dns): don't select devices without a gateway
3315 as having the default route (rh #437338)
3317 2008-04-21 Dan Williams <dcbw@redhat.com>
3319 * src/nm-activation-request.c
3320 src/nm-activation-request.h
3321 - (dispose): ensure to disconnect from the device's state-changed signal
3322 when appropriate so the signal doesn't get handled by an already
3323 disposed NMActRequest
3324 - (device_state_changed): update is_default here too just to make sure
3325 default is only True when the child device is activated
3326 - (nm_act_request_set_default): new function
3328 * src/NetworkManagerPolicy.c
3329 - (update_routing_and_dns): set 'default' on the active connection which
3330 has the default route and DNS
3332 2008-04-21 Dan Williams <dcbw@redhat.com>
3334 * src/NetworkManagerPolicy.c
3335 - (device_state_changed): update routing and DNS when a device goes
3336 into unmanaged or unavailable states too (like rfkill or carrier loss)
3338 2008-04-21 Dan Williams <dcbw@redhat.com>
3340 * include/NetworkManager.h
3341 - Add NMActiveConnectionState enum
3343 * introspection/nm-active-connection.xml
3344 introspection/nm-vpn-connection.xml
3345 - Add 'State' property for overall active connection state
3346 - Add 'Default' property, when True means this active connection
3347 has the default route
3348 - Add PropertyChanged signals so changes actually go out over the bus
3350 * src/nm-active-connection.h
3351 - Add defines for State & Default properties
3353 * src/nm-activation-request.c
3354 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3355 signal to determine active connection state
3357 * src/vpn-manager/nm-vpn-connection.c
3358 src/vpn-manager/nm-vpn-connection.h
3359 src/vpn-manager/nm-vpn-manager.c
3360 src/vpn-manager/nm-vpn-service.c
3361 - Rename old 'state' to 'vpn-state'
3362 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3363 - Add 'state' and 'default' properties, hook up to the vpn connection's
3364 'vpn-state-changed' signal
3366 * libnm-glib/nm-active-connection.c
3367 libnm-glib/nm-active-connection.h
3368 - Add new 'state' and 'default' properties and accessors
3370 * libnm-glib/nm-vpn-connection.c
3371 libnm-glib/nm-vpn-connection.h
3372 - Rename old 'state' property to 'vpn-state'
3373 - Add new 'state' and 'default' properties and accessors
3375 2008-04-21 Dan Williams <dcbw@redhat.com>
3377 * src/nm-ip4-config.c
3378 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3379 not specified (rh #443474)
3381 2008-04-20 Dan Williams <dcbw@redhat.com>
3383 * src/NetworkManagerUtils.c
3384 src/NetworkManagerUtils.h
3385 - (nm_utils_merge_ip4_config): new function; merge settings from an
3386 NMSettingIP4Config to an NMIP4Config object
3389 - (merge_ip4_config): move to NetworkManagerUtils.c
3391 * src/vpn-manager/nm-vpn-connection.c
3392 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3395 2008-04-18 Dan Williams <dcbw@redhat.com>
3397 * libnm-util/nm-setting-ppp.c
3398 libnm-util/nm-setting-ppp.h
3399 - Add 'no-vj-comp' option for TCP header compression
3400 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3403 2008-04-18 Dan Williams <dcbw@redhat.com>
3405 * libnm-util/nm-setting-ppp.c
3406 libnm-util/nm-setting-ppp.h
3407 src/ppp-manager/nm-ppp-manager.c
3408 - Add 'refuse-pap' and 'refuse-mschapv2' options
3410 2008-04-18 Dan Williams <dcbw@redhat.com>
3412 * libnm-util/nm-setting-ppp.c
3413 libnm-util/nm-setting-ppp.h
3414 src/ppp-manager/nm-ppp-manager.c
3415 - Remove the 'usepeerdns' option and always request DNS servers from
3416 the PPP server; the connection chooses to use/override/ignore the
3417 DNS servers returned from the PPP server
3419 2008-04-18 Dan Williams <dcbw@redhat.com>
3421 * libnm-util/nm-setting-ppp.c
3422 libnm-util/nm-setting-ppp.h
3423 src/ppp-manager/nm-ppp-manager.c
3424 - Remove the 'require-mppc' option, because pppd doesn't support it and
3425 it seems to have been an erroneous addition to the PPTP plugin in
3426 the first place (from which the ppp-manager is derived)
3428 2008-04-17 Dan Williams <dcbw@redhat.com>
3430 * libnm-util/nm-setting-pppoe.c
3431 - (verify): require a PPP setting too
3433 * src/ppp-manager/nm-ppp-manager.c
3434 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3437 2008-04-17 Dan Williams <dcbw@redhat.com>
3440 - (nm_device_state_changed): do deactivation and and promotion to
3441 unavailable here, so that the device gets cleaned up before the
3442 manager runs and starts emitting signals; do the
3443 FAILED->DISCONNECTED transition from an idle handler rather than
3444 immediately to guard against recursion
3445 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3446 FAILED->DISCONNECTED handler if it's scheduled
3448 2008-04-17 Dan Williams <dcbw@redhat.com>
3450 * src/nm-device-802-11-wireless.c
3451 - (state_changed_cb): clear AP list when device transitions to
3452 unavailable or unmanaged
3453 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3454 since this is already done in device_cleanup()
3455 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3456 isn't available or managed
3457 - (device_cleanup): use remove_all_aps()
3458 - (remove_all_aps): consolidate code removing all APs
3460 2008-04-17 Dan Williams <dcbw@redhat.com>
3462 * src/nm-serial-device.c
3463 src/nm-serial-device.h
3464 - (wait_for_reply_got_data): break input into lines, and search each
3465 line for responses _and_ terminator strings; also make sure that
3466 the read loop doesn't continue after the timeout is supposed to fire
3467 - (nm_serial_device_wait_for_reply): take an array of terminators too
3469 * src/nm-gsm-device.c
3470 src/nm-cdma-device.c
3471 - Send terminators to nm_serial_device_wait_for_reply()
3473 2008-04-16 Dan Williams <dcbw@redhat.com>
3475 Patch from 陈鑫 <znscnchen@gmail.com>
3477 * src/ppp-manager/nm-pppd-plugin.c
3478 - (get_credentials): return correct value for success; handle case where
3479 pppd just does some checking but doesn't want a password
3480 - (plugin_init): make CHAP work too
3482 2008-04-16 Dan Williams <dcbw@redhat.com>
3484 Patch from 陈鑫 <znscnchen@gmail.com>
3486 * src/ppp-manager/nm-ppp-manager.c
3487 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3489 2008-04-16 Dan Williams <dcbw@redhat.com>
3491 Patch from 陈鑫 <znscnchen@gmail.com>
3493 * src/nm-device-802-3-ethernet.c
3494 - (real_deactivate_quickly): clear the IP interface name on
3495 deactivation, otherwise the wrong interface might get used later
3496 for routing and IP management
3498 2008-04-15 Dan Williams <dcbw@redhat.com>
3500 * libnm-glib/nm-device.c
3501 - (get_product_and_vendor): handle serial devices correctly
3502 - (nm_device_update_description): pass device to get_product_and_vendor()
3504 2008-04-15 Dan Williams <dcbw@redhat.com>
3506 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3508 * src/NetworkManagerSystem.h
3509 src/backends/NetworkManagerArch.c
3510 src/backends/NetworkManagerDebian.c
3511 src/backends/NetworkManagerFrugalware.c
3512 src/backends/NetworkManagerGeneric.c
3513 src/backends/NetworkManagerGeneric.h
3514 src/backends/NetworkManagerGentoo.c
3515 src/backends/NetworkManagerMandriva.c
3516 src/backends/NetworkManagerPaldo.c
3517 src/backends/NetworkManagerRedHat.c
3518 src/backends/NetworkManagerSlackware.c
3519 src/backends/NetworkManagerSuSE.c
3521 - (nm_generic_device_add_ip6_link_address,
3522 nm_system_device_add_ip6_link_address): remove
3524 2008-04-15 Dan Williams <dcbw@redhat.com>
3526 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3528 * src/backends/NetworkManagerArch.c
3529 src/backends/NetworkManagerDebian.c
3530 src/backends/NetworkManagerFrugalware.c
3531 src/backends/NetworkManagerGeneric.c
3532 src/backends/NetworkManagerGeneric.h
3533 src/backends/NetworkManagerGentoo.c
3534 src/backends/NetworkManagerMandriva.c
3535 src/backends/NetworkManagerPaldo.c
3536 src/backends/NetworkManagerRedHat.c
3537 src/backends/NetworkManagerSlackware.c
3538 src/backends/NetworkManagerSuSE.c
3539 src/NetworkManagerSystem.h
3540 - flush_routes -> flush_ip4_routes
3541 - flush_addresses -> flush_ip4_addresses
3543 * src/NetworkManagerSystem.c
3545 src/vpn-manager/nm-vpn-connection.c
3546 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3548 2008-04-15 Dan Williams <dcbw@redhat.com>
3550 Remove exposure of wireless-tools mode types in the API.
3552 * include/NetworkManager.h
3553 - Define NM80211Mode enum
3555 * introspection/generic-types.xml
3556 - Describe NM_802_11_MODE enum
3557 - Remove IW_MODE_* enum
3559 * introspection/nm-access-point.xml
3560 libnm-glib/nm-access-point.c
3561 libnm-glib/nm-access-point.h
3562 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3564 * introspection/nm-device-802-11-wireless.xml
3565 libnm-glib/nm-device-802-11-wireless.c
3566 libnm-glib/nm-device-802-11-wireless.h
3567 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3569 * libnm-util/nm-setting-wireless.c
3570 src/NetworkManagerAP.c
3571 src/NetworkManagerAP.h
3572 src/nm-device-802-11-wireless.c
3573 src/nm-device-802-11-wireless.h
3575 - Use NM80211Mode not IW_MODE_*
3577 2008-04-15 Dan Williams <dcbw@redhat.com>
3579 Enhance nm-online based on a patch from Bill Nottingham.
3583 - Add help messages and option summary
3584 - Add long-format options
3585 - Add a '-x' option to exit if NM isn't running or isn't connecting
3587 2008-04-15 Tambet Ingo <tambet@gmail.com>
3589 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3591 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3593 2008-04-15 Dan Williams <dcbw@redhat.com>
3595 * nm-setting-ip4-config.c
3596 - (ip4_addresses_from_gvalue): handle NULL address array
3598 * nm-setting-8021x.c
3599 - (verify_tls, verify_ttls): warn on failed verification
3601 2008-04-10 Dan Williams <dcbw@redhat.com>
3603 * src/nm-gsm-device.c
3604 - (automatic_registration): accept "+CREG: 0,0"
3605 - (automatic_registration_response): fail on "+CREG: 0,0"
3607 2008-04-10 Tambet Ingo <tambet@gmail.com>
3609 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3611 2008-04-10 Tambet Ingo <tambet@gmail.com>
3613 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
3614 Make it compile again by commenting out broken code that at first didn't work and
3615 now didn't compile either.
3617 2008-04-08 Dan Williams <dcbw@redhat.com>
3619 * libnm-glib/nm-object-cache.c
3620 libnm-glib/nm-settings.c
3621 src/dhcp-manager/nm-dhcp-manager.c
3622 system-settings/plugins/ifcfg-fedora/plugin.c
3623 system-settings/plugins/ifcfg-suse/plugin.c
3624 system-settings/src/nm-system-config-hal-manager.c
3625 libnm-util/nm-utils.c
3626 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3627 not threadsafe anyway
3629 2008-04-08 Dan Williams <dcbw@redhat.com>
3631 * system-settings/src/main.c
3632 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3633 callbacks take a device type too
3635 2008-04-08 Dan Williams <dcbw@redhat.com>
3637 The system settings service will now create a new default DHCP connection
3638 for wired devices that have no existing applicable connection.
3640 * system-settings/src/nm-system-config-hal-manager.c
3641 system-settings/src/nm-system-config-hal-manager.h
3642 - (nm_system_config_hal_manager_get_type_for_udi): new function
3644 * system-settings/src/dbus-settings.c
3645 system-settings/src/dbus-settings.h
3646 - (nm_sysconfig_settings_get_connections): new function
3647 - (nm_sysconfig_settings_is_device_managed): new function
3649 * system-settings/src/main.c
3650 - (load_stuff): check for wired devices that need a default connection
3651 - (get_details_for_udi): get interface and MAC address from HAL
3652 - (add_default_dhcp_connection): add a default connection for a wired
3654 - (device_added_cb, device_removed_cb): do the right thing with
3655 wired devices and their default connections on HAL device events
3657 2008-04-07 Dan Williams <dcbw@redhat.com>
3659 * libnm-glib/nm-device.c
3660 libnm-glib/nm-device.h
3661 - Proxy the 'managed' property
3663 2008-04-07 Dan Williams <dcbw@redhat.com>
3665 * src/nm-gsm-device.c
3666 src/nm-cdma-device.c
3667 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3668 handler to transition to DISCONNECTED
3670 2008-04-07 Dan Williams <dcbw@redhat.com>
3672 Patch from Bill Nottingham
3674 * dispatcher-daemon/NetworkManagerDispatcher.c
3675 - ignore backup/packaging crufy (rh #440143)
3677 2008-04-07 Dan Williams <dcbw@redhat.com>
3679 * include/NetworkManager.h
3680 - Remove the DOWN and CANCELLED device states
3681 - Add UNMANAGED and UNAVAILABLE device states
3682 - Document the device states
3684 * introspection/nm-device.xml
3685 src/nm-device-interface.c
3686 src/nm-device-interface.h
3687 - Add the 'managed' property
3690 - (detail_device): print out device state
3692 * src/NetworkManagerSystem.h
3693 src/backends/NetworkManagerArch.c
3694 src/backends/NetworkManagerDebian.c
3695 src/backends/NetworkManagerFrugalware.c
3696 src/backends/NetworkManagerGentoo.c
3697 src/backends/NetworkManagerMandriva.c
3698 src/backends/NetworkManagerPaldo.c
3699 src/backends/NetworkManagerRedHat.c
3700 src/backends/NetworkManagerSlackware.c
3701 src/backends/NetworkManagerSuSE.c
3702 - (nm_system_device_get_system_config, nm_system_device_get_disabled
3703 nm_system_device_free_system_config): remove; they were unused and
3704 their functionality should be re-implemented in each distro's
3705 system settings service plugin
3707 * src/nm-gsm-device.c
3709 src/nm-cdma-device.c
3710 src/nm-cdma-device.h
3711 - (*_new): take the 'managed' argument
3714 - (nm_device_set_address): remove, fold into nm_device_bring_up()
3715 - (nm_device_init): start in unmanaged state, not disconnected
3716 - (constructor): don't start device until the system settings service
3717 has had a chance to figure out if the device is managed or not
3718 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
3719 don't set device state here, let callers handle that as appropriate
3720 - (nm_device_dispose): don't touch the device if it's not managed
3721 - (set_property, get_property, nm_device_class_init): implement the
3723 - (nm_device_state_changed): bring the device up if its now managed,
3724 and deactivate it if it used to be active
3725 - (nm_device_get_managed, nm_device_set_managed): do the right thing
3726 with the managed state
3728 * src/nm-hal-manager.c
3729 - (wired_device_creator, wireless_device_creator, modem_device_creator):
3730 take initial managed state and pass it along to device constructors
3731 - (create_device_and_add_to_list): get managed state and pass to
3734 * src/nm-device-802-11-wireless.c
3735 - (real_can_activate): fold in most of
3736 nm_device_802_11_wireless_can_activate()
3737 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
3738 - (link_timeout_cb): instead of deactivating, change device state and
3739 let the device state handler to it
3740 - (real_update_hw_address): clean up
3741 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3742 handler to transition to DISCONNECTED if the device isn't rfkilled
3744 * src/nm-device-802-3-ethernet.c
3745 - (set_carrier): move above callers and get rid of prototype
3746 - (device_state_changed): when entering UNAVAILABLE state, schedule an
3747 idle handler to transition to DISCONNECTED if the device has a
3749 - (real_update_hw_address): clean up
3750 - (link_timeout_cb, ppp_state_changed): change state instead of calling
3751 deactivation directly as deactivation doesn't change state anymore
3753 * src/NetworkManagerPolicy.c
3754 - (schedule_activate_check): yay, remove wireless_enabled hack since
3755 the NMManager and wireless devices work that out themselves now
3756 - (device_state_changed): change to a switch and update for new device
3758 - (device_carrier_changed): remove; device handles this now through
3760 - (device_added): don't care about carrier any more; the initial
3761 activation check will happen when the device transitions to
3765 - (dispose): clear unmanaged devices
3766 - (handle_unmanaged_devices): update unmanaged device list and toggle
3767 the managed property on each device when needed
3768 - (system_settings_properties_changed_cb): handle signals from the
3769 system settings service
3770 - (system_settings_get_unmanaged_devices_cb): handle callback from
3771 getting the unmanaged device list method call
3772 - (query_unmanaged_devices): ask the system settings service for its
3773 list of unmanaged devices
3774 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
3776 - (manager_set_wireless_enabled): push rfkill state down to wireless
3777 devices directly and let them handle the necessary state transitions
3778 - (manager_device_state_changed): update for new device states
3779 - (nm_manager_add_device): set initial rfkill state on wireless devices
3780 - (nm_manager_remove_device): don't touch the device if it's unmanaged
3781 - (nm_manager_activate_connection): return error if the device is
3783 - (nm_manager_sleep): handle new device states correctly; don't change
3784 the state of unavailable/unmanaged devices
3786 * libnm-glib/nm-device-802-11-wireless.c
3787 - (state_changed_cb): update for new device states
3789 2008-04-07 Dan Williams <dcbw@redhat.com>
3791 * marshallers/nm-marshal.list
3792 - Add VOID:STRING,UINT marshaller for system settings HAL manager
3794 2008-04-07 Dan Williams <dcbw@redhat.com>
3796 * system-settings/src/main.c
3797 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
3798 plugins to the dbus settings object
3799 - (load_stuff): start the dbus service after grabbing unmanaged devices
3800 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
3801 - (log_handler, logging_setup, logging_shutdown): log output to syslog
3802 - (main): switch default logging to syslog with a 'debug' option to
3803 output to console; start up the HAL manager
3805 2008-04-07 Dan Williams <dcbw@redhat.com>
3807 * introspection/nm-settings-system.xml
3808 introspection/Makefile.am
3809 - Define the unmanaged devices interface for the system settings service
3811 * system-settings/src/nm-system-config-hal-manager.c
3812 system-settings/src/nm-system-config-hal-manager.h
3813 system-settings/src/nm-system-config-hal-manager-private.h
3814 system-settings/src/Makefile.am
3815 - Add a lightweight HAL manager object for tracking network devices for
3816 the purpose of determining unmanaged devices and which devices need
3817 the default DHCP connections
3819 * system-settings/src/nm-system-config-interface.c
3820 system-settings/src/nm-system-config-interface.h
3821 - (nm_system_config_interface_init): add the HAL manager as an argument
3822 - (nm_system_config_interface_get_unmanaged_devices): implement
3823 - Define 'unmanaged-devices-changed' signal
3825 * system-settings/src/dbus-settings.c
3826 system-settings/src/dbus-settings.h
3827 - Implement the unmanaged devices interface; some cleanups
3829 * system-settings/plugins/ifcfg-suse/plugin.c
3830 - Fixup for plugin interface changes
3832 * system-settings/plugins/ifcfg-fedora/plugin.c
3833 - (get_ether_device_udi): new function; find the device that has
3834 a specified MAC address and return its UDI
3835 - (get_udi_for_connection): new function; try to find the specific
3836 device a connection is locked to, if any
3837 - (device_added_cb, device_removed_cb): update unmanaged device list in
3838 response to HAL events
3839 - (get_unmanaged_devices): new function; return unmanaged device list
3840 - (build_one_connection): set the connection's locked device, if any
3841 - (write_auto_wired_connection): remove
3842 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
3843 - (handle_connection_changed): alert listeners that the unmanaged device
3845 - (init): fixup for plugin interface changes, implement unmanaged devices
3847 * system-settings/plugins/ifcfg-fedora/parser.c
3848 system-settings/plugins/ifcfg-fedora/parser.h
3849 - (connection_data_free): clean up connection UDI
3851 2008-04-07 Dan Williams <dcbw@redhat.com>
3853 * system-settings/plugins/ifcfg-fedora/parser.c
3854 - (make_ip4_setting): fix parsing of DNS servers
3856 2008-04-05 Dan Williams <dcbw@redhat.com>
3860 marshallers/Makefile.am
3861 marshallers/nm-marshal-main.c
3862 marshallers/nm-marshal.list
3863 - Consolidate marshallers
3865 * libnm-glib/nm-marshal-main.c
3866 libnm-glib/nm-marshal.list
3867 src/marshallers/Makefile.am
3868 src/marshallers/nm-marshal-main.c
3869 src/marshallers/nm-marshal.list
3872 * libnm-glib/Makefile.am
3874 src/dhcp-manager/Makefile.am
3875 src/ppp-manager/Makefile.am
3876 src/supplicant-manager/Makefile.am
3877 src/vpn-manager/Makefile.am
3878 - Use consolidated marshallers
3880 2008-04-04 Dan Williams <dcbw@redhat.com>
3882 * src/nm-hal-manager.c
3883 src/nm-hal-manager.h
3884 - (hal_init): don't look for hardware here
3885 - (nm_hal_manager_start): new function; look for hardware here instead,
3886 which can be done at a later time than hal_init()
3888 * src/NetworkManager.c
3889 - (main): start HAL manager after entering the main loop
3891 2008-04-03 Dan Williams <dcbw@redhat.com>
3893 * libnm-glib/nm-settings.c
3894 libnm-glib/nm-settings.h
3895 - (nm_exported_connection_get_id): new function
3896 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
3898 2008-04-02 Dan Williams <dcbw@redhat.com>
3900 * src/nm-device-interface.c
3901 src/nm-device-interface.h
3904 - Rename check_connection_conflicts() to check_connection_compatible()
3906 * src/nm-device-802-11-wireless.c
3907 - (real_check_connection_conflicts): remove
3908 - (real_check_connection_compatible): implement; match MAC address
3910 * src/nm-device-802-3-ethernet.c
3911 - (real_check_connection_conflicts): remove
3912 - (real_check_connection_compatible): implement; match MAC address
3913 - (real_get_best_auto_connection): correctly handle PPPoE cases
3916 - (check_connection_allowed): remove; unused until PolicyKit integration
3917 - (internal_activate_device): check whether the connection is compatible
3918 with the device before trying to activate it
3920 2008-04-02 Dan Williams <dcbw@redhat.com>
3922 * system-settings/plugins/ifcfg-fedora/parser.c
3923 - (read_mac_address): new function; read in MAC address and stuff it
3925 - (add_one_wep_key): remove debug spew
3926 - (make_wireless_security_setting): validate the default TX key; don't
3927 add the wireless-security setting if the connection doesn't need
3928 security; don't leak the keys shvarFile on error cases
3929 - (make_wireless_setting, make_wired_setting): populate device's MAC
3932 2008-04-02 Dan Williams <dcbw@redhat.com>
3934 * libnm-util/nm-setting-connection.c
3935 libnm-util/nm-setting-connection.h
3936 - (set_property, get_property, nm_setting_connection_class_init): remove
3937 the 'lockdown' property; it's functionality will be replaced by
3940 2008-04-01 Dan Williams <dcbw@redhat.com>
3942 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
3945 initscript/Makefile.am
3946 initscript/Mandriva/Makefile.am
3947 initscript/Mandriva/networkmanager.in
3948 initscript/Mandriva/networkmanagerdispatcher.in
3949 src/backends/Makefile.am
3950 src/backends/NetworkManagerMandriva.c
3951 system-settings/plugins/Makefile.am
3952 - Add Mandriva support
3954 2008-03-31 Dan Williams <dcbw@redhat.com>
3956 * src/vpn-manager/nm-vpn-service.c
3957 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
3958 errors can be passed back to the caller; also no longer scheduled
3959 as an idle handler, but called directly; and bump up VPN service
3960 spawn timeout, 2s is really short
3961 - (nm_vpn_service_activate): don't schedule the VPN service activation,
3962 but call it directly so that errors are reported on return from
3963 ActivateConnection() and don't get lost. If scheduled as an idle
3964 handler, clients don't have the time to query NM for the new VPN
3965 connection's properties before the VPN connection is torn down again
3966 if the service couldn't be launched, and therefore launch errors
3969 2008-03-31 Dan Williams <dcbw@redhat.com>
3971 * src/vpn-manager/nm-vpn-connection.c
3972 - (device_state_changed): send correct state on device failure too
3973 - (plugin_state_changed): failed state means unexpected disconnection,
3974 thus if the service goes away while the VPN connection is activated
3975 that's a failure too
3977 2008-03-31 Dan Williams <dcbw@redhat.com>
3979 * src/vpn-manager/nm-vpn-manager.c
3980 src/vpn-manager/nm-vpn-manager.h
3981 - Make VPNManager errors more available; add a service-start-failed error
3983 2008-03-31 Dan Williams <dcbw@redhat.com>
3985 * libnm-glib/nm-client.c
3986 libnm-glib/nm-client.h
3987 - (activate_cb): pass the new active connection to callback; fix
3988 message when no callback is specified
3990 2008-03-30 Dan Williams <dcbw@redhat.com>
3992 * libnm-util/nm-setting-wireless-security.c
3993 - (need_secrets): only require key0 if the transmit key index is also
3995 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
3997 2008-03-29 Dan Williams <dcbw@redhat.com>
3999 * libnm-util/nm-setting-8021x.c
4000 libnm-util/nm-setting-ip4-config.c
4001 libnm-util/nm-setting-vpn-properties.c
4002 libnm-util/nm-setting-vpn.c
4003 libnm-util/nm-setting-wireless-security.c
4004 libnm-util/nm-setting-wireless.c
4005 libnm-util/nm-utils.c
4006 src/dhcp-manager/nm-dhcp-manager.c
4007 src/nm-activation-request.c
4010 src/nm-properties-changed-signal.c
4011 src/ppp-manager/nm-pppd-plugin.c
4012 src/supplicant-manager/nm-supplicant-interface.c
4013 src/vpn-manager/nm-vpn-connection.c
4014 - consistently use nm-dbus-glib-types.h
4016 2008-03-29 Dan Williams <dcbw@redhat.com>
4018 * src/vpn-manager/nm-vpn-connection.c
4019 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4022 * src/nm-activation-request.c
4023 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4026 2008-03-29 Dan Williams <dcbw@redhat.com>
4028 * libnm-glib/nm-device-802-11-wireless.c
4029 - (access_point_added_proxy): create new APs if not found
4031 2008-03-29 Dan Williams <dcbw@redhat.com>
4033 * libnm-glib/nm-client.c
4034 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4037 2008-03-29 Dan Williams <dcbw@redhat.com>
4039 * system-settings/plugins/ifcfg-fedora/parser.c
4040 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4041 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4043 2008-03-29 Dan Williams <dcbw@redhat.com>
4045 * system-settings/plugins/ifcfg-fedora/parser.c
4046 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4048 2008-03-27 Dan Williams <dcbw@redhat.com>
4051 - (nm_object_queue_notify): don't notify multiple times for the same
4054 * nm-object-private.h
4055 - (handle_ptr_array_return): return NULL if the given array is NULL or
4056 if it has zero elements
4059 - (finalize): use g_ptr_array_foreach() when freeing domains
4060 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4062 * nm-active-connection.c
4063 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4065 * nm-device-802-11-wireless.c
4066 nm-device-802-11-wireless.h
4067 - (nm_device_802_11_wireless_get_access_points): return const; use
4068 handle_ptr_array_return()
4071 - (nm_object_array_demarshal): always create an array, even of length
4072 zero, to distinguish between "NM returned no items" and "haven't
4076 - (dispose): free active connections too
4077 - (proxy_name_owner_changed): free active connections too when NM goes
4079 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4080 - (nm_client_get_active_connections): use handle_ptr_array_return()
4082 2008-03-26 Dan Williams <dcbw@redhat.com>
4084 Rework VPN connection handling for a more consistent D-Bus API. The
4085 VPNManager object has been removed, and active VPN connections are now the
4086 same as any other active connection. The Manager object's ActivateConnection
4087 and DeactivateConnection methods are used to start and stop a VPN connection,
4088 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4089 When activating a VPN connection, pass the path of the active connection
4090 to which the VPN connection is tied in the 'specific_object' argument.
4092 Consequently, the libnm-glib API has been reworked to match this arrangement,
4093 with the VPNManager object removed, and the NMVPNConnection objects now
4094 being subclasses of NMActiveConnection.
4096 2008-03-25 Dan Williams <dcbw@redhat.com>
4098 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4100 * initscript/Arch/networkmanager.in
4101 initscript/Arch/networkmanager-dispatcher.in
4102 - Updates for Arch Linux (gnome.org #523701)
4104 2008-03-25 Dan Williams <dcbw@redhat.com>
4106 * libnm-glib/nm-ip4-config.c
4107 libnm-glib/nm-active-connection.c
4108 libnm-glib/nm-access-point.c
4109 - Use nm_object_queue_notify() instead of g_object_notify()
4111 * libnm-glib/nm-device.c
4112 - (demarshal_ip4_config): distinguish between successful but missing
4113 ip4-config request, and unsuccessful and missing ip4-config request
4114 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4116 - Use nm_object_queue_notify() instead of g_object_notify()
4118 * libnm-glib/nm-device-802-11-wireless.c
4119 - (demarshal_active_ap): distinguish between successfull but missing
4120 active-ap request, and unsuccessful and missing active-ap request
4121 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4123 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4124 for the NMClient to notify the device that wireless is disabled,
4125 and therefore to clear the AP list and active AP
4126 - Use nm_object_queue_notify() instead of g_object_notify()
4128 * libnm-glib/nm-client.c
4129 - (poke_wireless_devices_with_rf_status): new function
4130 - (update_wireless_status): notify wireless devices of the rfkill status
4131 so they can clean up if needed
4132 - Use nm_object_queue_notify() instead of g_object_notify()
4134 2008-03-25 Dan Williams <dcbw@redhat.com>
4136 * libnm-glib/nm-object.c
4137 libnm-glib/nm-object-private.h
4138 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4139 signals to an idle handler
4140 - (nm_object_get_property): add a timeout to the D-Bus method call
4142 2008-03-25 Dan Williams <dcbw@redhat.com>
4144 * introspection/nm-device-cdma.xml
4145 introspection/nm-device-gsm.xml
4146 introspection/Makefile.am
4147 introspection/all.xml
4148 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4150 * src/nm-gsm-device.h
4152 src/nm-cdma-device.h
4153 src/nm-cdma-device.c
4155 - Implement PropertiesChanged signals
4157 * libnm-glib/nm-cdma-device.c
4158 libnm-glib/nm-cdma-device.c
4159 - Attach to PropertiesChanged signals
4161 2008-03-24 Dan Williams <dcbw@redhat.com>
4163 * libnm-glib/nm-client.c
4164 - (client_device_added_proxy): add new devices to the internal device
4165 list so they appear to clients
4167 2008-03-24 Dan Williams <dcbw@redhat.com>
4169 Massive fixup of libnm-glib to:
4170 a) have all objects (with the exception of VPN) cache their properties and
4171 update them asynchronously on PropertiesChanged signals from NM
4172 b) return internal const data for most attributes/properties instead of
4173 allocated values that the caller must free
4174 c) cache wrapped objects such that a given D-Bus path will always map to the
4175 same GObject returned by libnm-glib
4176 d) remove a few signals and move them to GObject property notifications
4177 e) match recent NM D-Bus API changes for activation/deactivation
4178 f) remove some private functions from libnm-glib headers
4180 2008-03-20 Dan Williams <dcbw@redhat.com>
4183 - (nm_manager_update_state, manager_device_state_changed,
4184 nm_manager_activate_device, connection_added_default_handler,
4185 impl_manager_activate_connection, impl_manager_deactivate_connection):
4186 queue PropertyChanged singals when the active connections change
4188 2008-03-20 Dan Williams <dcbw@redhat.com>
4190 * introspection/nm-manager.xml
4191 introspection/nm-manager-client.xml
4192 - (ActivateConnection): return the object path of the active connection
4194 - (GetActiveConnections): remove
4195 - (DeactivateConnection): new function; deactivate a currently active
4197 - Add an ActiveConnections property which returns an array of
4198 active connection object paths
4200 * introspection/nm-device.xml
4201 - (Deactivate): remove
4203 * introspection/all.xml
4204 - Add ActiveConnection introspection
4206 * introspection/nm-active-connection.xml
4207 - Add the ActiveConnection object
4209 * include/NetworkManager.h
4210 - Add the Connection.Active D-Bus interface
4212 * src/nm-device-interface.c
4213 - (impl_device_deactivate): remove
4215 * src/nm-activation-request.c
4216 src/nm-activation-request.c
4218 - Implement the Connection.Active D-Bus interface
4221 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4222 - (nm_manager_activate_device): return the active connection path
4223 - (connection_added_default_handler, impl_manager_activate_connection):
4224 return the active connection to the caller
4225 - (add_one_connection_element, impl_manager_get_active_connections):
4227 - (impl_manager_deactivate_connection): new function; deactivate an
4230 * libnm-glib/nm-device.c
4231 libnm-glib/nm-device.h
4232 - Remove Deactivate() function
4234 2008-03-19 Dan Williams <dcbw@redhat.com>
4236 * introspection/nm-manager.xml
4237 introspection/nm-manager-client.xml
4238 - Rename the ActivateDevice method to ActivateConnection to better
4239 reflect it's usage; it's arguments get reordered a bit too
4240 - Convert GetActiveConnections method return from a struct to a dict
4242 * include/NetworkManager.h
4243 - Define the dict keys for return value of GetActiveConnections
4246 - impl_manager_activate_device -> impl_manager_activate_connection
4247 - (add_one_connection_element): return a populated hash table, not
4250 * libnm-glib/nm-client.c
4251 libnm-glib/nm-client.h
4252 - nm_client_activate_device -> nm_client_activate_connection
4253 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4254 - (nm_client_get_active_connections): return a GSList of GHashTables,
4255 instead of the custom structures. Each element of the returned list
4256 must be freed with nm_client_free_active_connections_element()
4258 2008-03-18 Dan Williams <dcbw@redhat.com>
4260 * system-settings/plugins/ifcfg-fedora/parser.c
4261 system-settings/plugins/ifcfg-fedora/parser.h
4262 system-settings/plugins/ifcfg-fedora/plugin.c
4263 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4264 profiles. DNS servers and searches must now be stored in the ifcfg
4267 2008-03-18 Tambet Ingo <tambet@gmail.com>
4269 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4270 print out username and password, it's supposed to be a secret.
4272 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
4273 request and set the device state accordingly.
4275 2008-03-18 Tambet Ingo <tambet@gmail.com>
4277 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4279 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4281 2008-03-18 Dan Williams <dcbw@redhat.com>
4283 * src/vpn-manager/nm-vpn-connection.c
4284 - (get_secrets_cb): handle new GetSecrets return format
4286 2008-03-18 Dan Williams <dcbw@redhat.com>
4288 Adapt system settings service for split 802.1x.
4290 * system-settings/src/nm-system-config-interface.h
4291 - clarify return value of get_secrets()
4293 * system-settings/src/dbus-settings.c
4294 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4295 - (check_for_secrets): check if there actually secrets returned by a
4297 - (exported_connection_get_secrets): just return the plugin-returned
4298 hash of settings' secrets if it looks valid
4300 * system-settings/plugins/ifcfg-fedora/plugin.c
4301 - (get_secrets): add split secrets with correct format to reply hash
4303 * system-settings/plugins/ifcfg-fedora/parser.c
4304 system-settings/plugins/ifcfg-fedora/parser.h
4305 - (copy_one_cdata_secret, connection_data_copy_secrets,
4306 connection_data_free, connection_data_add): keep secrets for
4307 different settings in different hashes
4309 2008-03-17 Tambet Ingo <tambet@gmail.com>
4311 Clean up activating device deactivation.
4313 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4314 should be done whether the device activation gets cancelled or the device
4315 is just getting deactivated.
4316 (nm_device_activation_cancel): Remove.
4317 (nm_device_deactivate_quickly): Handle the case where device is activating.
4319 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4320 It does the exact same thing as real_deactivate_quickly().
4322 2008-03-17 Dan Williams <dcbw@redhat.com>
4324 Split the 802.1x bits out of the wireless-security setting so they are
4325 generalized enough for wired 802.1x to use too.
4327 * introspection/nm-exported-connection.xml
4328 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4329 of just a hash of the secrets for one setting
4331 * libnm-util/nm-setting-wireless-security.c
4332 libnm-util/nm-setting-wireless-security.h
4333 - Remove 802.1x-specific stuff
4334 - Added leap-username and leap-password properties for old-school LEAP
4338 - (connection_secrets_updated_cb): take a list of updated settings names,
4341 * src/supplicant-manager/nm-supplicant-config.c
4342 src/supplicant-manager/nm-supplicant-config.h
4343 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4344 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4345 to nm_supplicant_config_add_setting_8021x()
4346 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4347 the supplicant config
4349 * src/nm-device-802-11-wireless.c
4350 - (build_supplicant_config): pass in the 802.1x setting too, if any
4351 - (real_connection_secrets_updated): take a list of updated settings
4354 * src/nm-device-802-3-ethernet.c
4355 src/nm-cdma-device.c
4357 - (real_connection_secrets_updated_cb): take a list of updated settings
4360 * src/nm-activation-request.c
4361 src/nm-activation-request.h
4362 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4363 now passes a list of updated settings names, not just one
4364 - (update_one_setting): new function; handle one updated setting
4365 - (get_secrets_cb): handle multiple settings returned from the
4366 settings service; have to be careful of ordering here as there are
4367 some dependencies between settings (ex. wireless-security and 802.1x
4370 * src/marshallers/nm-marshal.list
4371 - new marshaller for connection-secrets-updated signal
4373 * libnm-util/nm-setting-8021x.c
4374 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4376 - (verify): a valid 'eap' property is now required
4378 * libnm-util/nm-connection.c
4379 - (register_default_settings): add priorities to settings; there are
4380 some dependencies between settings, and during the need_secrets
4381 calls this priority needs to be respected. For example, only the
4382 wireless-security setting knows whether or not the connection is
4383 going to use 802.1x or now, so it must be asked for secrets before
4384 any existing 802.1x setting is
4385 - (nm_connection_lookup_setting_type): expose
4387 * libnm-util/nm-setting-wireless.c
4388 - (verify): should verify even if all_settings is NULL; otherwise won't
4389 catch the case where there is missing security
4391 * libnm-util/nm-setting-wireless-security.c
4392 - Remove everything to do with 802.1x
4393 - Add old-school LEAP specific properties for username and password
4394 - (need_secrets): rework LEAP secrets checking
4395 - (verify): rework for LEAP and 802.1x verification
4397 2008-03-17 Dan Williams <dcbw@redhat.com>
4399 * src/NetworkManagerPolicy.c
4400 - (auto_activate_device): always remove the current activation check
4401 from the pending activation list, otherwise when the policy gets
4402 destroyed on NM exit it will attempt to free the already freed
4405 2008-03-14 Tambet Ingo <tambet@gmail.com>
4407 * src/backends/NetworkManagerSlackware.c
4408 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4410 * src/backends/NetworkManagerSuSE.c: Add missing includes.
4412 2008-03-14 Dan Williams <dcbw@redhat.com>
4415 - (nm_device_interface_get_iface): g_object_get() will return an
4416 allocated value, so this function must not return const
4417 - (nm_device_interface_activate): free returned iface
4419 2008-03-14 Tambet Ingo <tambet@gmail.com>
4421 * libnm-util/Makefile.am: Add new files to build.
4423 * libnm-util/nm-connection.c: Register NMSetting8021x.
4425 * libnm-util/nm-setting-8021x.c
4426 * libnm-util/nm-setting-8021x.h: Implement.
4428 2008-03-14 Tambet Ingo <tambet@gmail.com>
4430 * libnm-util/Makefile.am: Add new files to build.
4432 * libnm-util/nm-connection.c: Register NMSetting8021x.
4434 * libnm-util/nm-setting-8021x.c
4435 * libnm-util/nm-setting-8021x.h: Implement.
4437 2008-03-14 Tambet Ingo <tambet@gmail.com>
4439 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4442 2008-03-14 Dan Williams <dcbw@redhat.com>
4444 * include/wireless-helper.h
4446 - One place for all the junk needed for #including wireless.h
4449 src/NetworkManagerAP.c
4452 libnm-util/nm-utils.c
4453 libnm-util/nm-setting-wireless.c
4454 libnm-glib/nm-device-802-11-wireless.c
4455 libnm-glib/nm-access-point.c
4456 libnm-glib/libnm-glib-test.c
4457 - include wireless-helper.h, not iwlib.h
4460 - Don't need libiw really, just need to check for wireless.h
4462 * src/kernel-types.h
4463 - Remove; used types moved into wpa.c
4465 * src/nm-device-802-11-wireless.c
4466 - (nm_device_802_11_wireless_update_signal_strength,
4467 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4468 nm_device_802_11_wireless_set_mode,
4469 nm_device_802_11_wireless_get_frequency,
4470 nm_device_802_11_wireless_get_ssid,
4471 nm_device_802_11_wireless_set_ssid,
4472 nm_device_802_11_wireless_get_bitrate,
4473 nm_device_802_11_wireless_get_bssid,
4474 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4475 instead of iwlib functions
4477 2008-03-14 Dan Williams <dcbw@redhat.com>
4479 * src/ppp-manager/nm-ppp-manager.c
4480 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4481 should only take the DBusGMethodInvocation argument, not user/pass
4482 too. With dbus-glib, async functions only take 2 C arguments since
4483 the real dbus method arguments get passed back with
4484 dbus_g_method_return()
4486 2008-03-13 Tambet Ingo <tambet@gmail.com>
4488 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
4489 Adapt the changes of NMSettingIP4Config.
4491 2008-03-13 Dan Williams <dcbw@redhat.com>
4493 * src/NetworkManagerUtils.c
4494 src/NetworkManagerUtils.h
4495 - (nm_ether_ntop): replacement for iw_ether_ntop()
4497 * src/NetworkManagerAP.c
4498 src/nm-device-802-11-wireless.c
4499 src/nm-device-802-3-ethernet.c
4500 - s/iw_ether_ntop/nm_ether_ntop/g
4502 2008-03-13 Dan Williams <dcbw@redhat.com>
4504 * src/NetworkManagerPolicy.c
4505 - (update_routing_and_dns): never set the default route through an
4506 IPv4LL addressed device
4508 2008-03-13 Dan Williams <dcbw@redhat.com>
4510 * NetworkManagerUtils.c
4511 NetworkManagerUtils.h
4512 - Remove NMSock stuff
4513 - Remove the completion stuff
4518 NetworkManagerSystem.c
4520 nm-device-802-11-wireless.c
4521 nm-device-802-3-ethernet.c
4522 - Remove NMSock and completion stuff
4523 - Remove nm_ioctl_info()
4525 2008-03-12 Dan Williams <dcbw@redhat.com>
4528 - (merge_ip4_config): avoid duplicates
4530 2008-03-12 Dan Williams <dcbw@redhat.com>
4532 * libnm-util/nm-setting-ip4-config.c
4533 libnm-util/nm-setting-ip4-config.h
4534 - Remove 'manual' and 'autoip' properties
4535 - Add 'method' property
4536 - (verify): fix verification with 'method'
4537 - (finalize): free 'method'
4538 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4542 - (real_act_stage3_ip_config_start): check IP4Config method
4543 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4545 - (merge_ip4_config): IP settings are valid with DHCP too
4546 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4547 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4549 * src/nm-device-802-11-wireless.c
4550 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4551 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4554 * system-settings/plugins/ifcfg-fedora/parser.c
4555 system-settings/plugins/ifcfg-suse/parser.c
4556 - (make_ip4_setting): fix up for 'method'
4558 2008-03-12 Dan Williams <dcbw@redhat.com>
4560 * system-settings/plugins/ifcfg-fedora/parser.c
4561 system-settings/plugins/ifcfg-fedora/parser.h
4562 - (get_ifcfg_name): ignore more file suffixes
4563 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4565 2008-03-12 Dan Williams <dcbw@redhat.com>
4568 - Bring in the bits of gnome-common we actually use (all 15 lines)
4570 2008-03-12 Dan Williams <dcbw@redhat.com>
4572 * system-settings/plugins/ifcfg-fedora/plugin.c
4573 - (write_auto_wired_connection): new function; write out an auto
4574 wired connection file since the applet isn't doing it any more
4575 - (reload_all_connections): write out the auto wired connection file
4576 if there aren't any wired connections already
4577 - (init): don't leak a GError
4579 2008-03-12 Dan Williams <dcbw@redhat.com>
4581 * src/nm-device-interface.c
4582 - (nm_device_interface_activate): print the ID of the connection
4583 that's about to be activated
4585 2008-03-12 Dan Williams <dcbw@redhat.com>
4587 Harmonize the 802.11 bitrate API
4589 * introspection/nm-access-point.xml
4590 - 'Rate' -> 'MaxBitrate'; clarify units
4592 * introspection/nm-device-802-11-wireless.xml
4593 - Clarify units of 'Bitrate'
4595 * src/NetworkManagerAP.c
4596 src/NetworkManagerAP.h
4597 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4598 property to 'max-bitrate'
4599 - (foreach_property_cb): convert rate to Kb/s
4601 * src/nm-device-802-11-wireless.c
4602 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4604 * libnm-glib/nm-access-point.c
4605 libnm-glib/nm-access-point.h
4606 - 'rate' -> 'max-bitrate'
4609 libnm-glib/libnm-glib-test.c
4610 - Fix up for these changes
4612 2008-03-12 Dan Williams <dcbw@redhat.com>
4615 - (nm_device_set_ip4_config): don't send property notifications when
4616 the ip4 config is set to NULL; it causes a PropertyChanged signal
4617 which dbus-glib can't parse because the value is NULL, which isn't
4618 a legal object path. Setting the IP4 config to NULL is only
4619 valid when deactivating a device anyway, so the device state change
4620 will alert listeners that the ip4 config is invalid.
4622 2008-03-12 Dan Williams <dcbw@redhat.com>
4624 * src/nm-properties-changed-signal.c
4625 - (add_to_string): better handling of NULL objects
4627 2008-03-12 Dan Williams <dcbw@redhat.com>
4629 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4630 convert the libnm-glib NMDevice8023Ethernet to cached properties
4632 * introspection/nm-device-802-3-ethernet.xml
4633 - New 'Carrier' property
4634 - New 'PropertiesChanged' signal
4636 * introspection/nm-device.xml
4637 - Remove 'Carrier' property
4638 - Remove 'CarrierChanged' signal
4640 * src/nm-device-interface.c
4641 src/nm-device-interface.h
4642 - (nm_device_interface_init): remove 'carrier' property and
4643 'carrier-changed' signal
4647 - (nm_device_get_carrier, nm_device_set_carrier): remove
4648 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4649 the link here; wired device will handle that
4650 - (handle_dhcp_lease_change): don't bother updating link here
4651 - (get_property, nm_device_class_init): remove carrier property
4653 * src/nm-device-802-11-wireless.c
4654 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4655 real_update_link(); wireless devices don't use carrier at all
4656 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4657 supplicant_iface_connection_state_cb_handler,
4658 supplicant_mgr_state_cb_handler): remove anything to do with carrier
4660 * src/nm-device-802-3-ethernet.c
4661 src/nm-device-802-3-ethernet.h
4662 - (nm_device_802_3_ethernet_carrier_on,
4663 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4664 instead of nm_device_set_carrier()
4665 - (device_state_changed): update link from sysfs on activation;
4666 replaces real_update_link()
4667 - (real_update_link): remove, replaced by device_state_changed()
4668 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4669 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4670 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4671 new get_carrier function
4672 - (get_property): add 'carrier' property
4673 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4674 hook into property-changed signal helper
4676 * src/NetworkManagerPolicy.c
4677 - (device_carrier_changed): will only ever be called with a wired device
4678 - (device_added): only hook up to carrier-changed for wired devices
4680 * libnm-glib/nm-device.c
4681 libnm-glib/nm-device.h
4682 - (constructor, nm_device_class_init): remove carrier-changed signal
4683 - (device_carrier_changed_proxy): remove; unused
4684 - (nm_device_get_carrier): remove; carrier a property of wired devices
4686 * libnm-glib/nm-device-802-3-ethernet.c
4687 libnm-glib/nm-device-802-3-ethernet.h
4688 - Convert to cached properties like AP and Wireless objects
4689 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
4690 instead of a 'char *', return value should not be freed
4691 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
4692 - (constructor): hook into properties-changed helper
4693 - (set_property, get_property): new functions
4694 - (nm_device_802_3_ethernet_class_init): export GObject properties
4697 - (detail_device): strdup the wired hardware address too since it's
4700 * libnm-glib/libnm-glib-test.c
4701 - (dump_wired): strdup the wired hardware address too since it's
4704 2008-03-12 Dan Williams <dcbw@redhat.com>
4706 * libnm-util/nm-setting-ip4-config.c
4707 libnm-util/nm-setting-ip4-config.h
4708 - (set_property, get_property, nm_setting_ip4_config_class_init): add
4709 the 'autoip' property from the spec
4711 2008-03-11 Dan Williams <dcbw@redhat.com>
4713 * src/backends/NetworkManagerGeneric.c
4714 src/backends/NetworkManagerGeneric.h
4715 - (nm_generic_device_get_use_dhcp): remove
4717 2008-03-11 Dan Williams <dcbw@redhat.com>
4720 - (nm_device_deactivate): don't need to munge DNS here; that gets done
4721 already in nm_device_set_ip4_config()
4722 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
4723 due to a DHCP rebind fails
4724 - (nm_device_set_ip4_config): send property notifications when the
4726 - (get_property): only report IP4Config property during valid states
4728 * src/NetworkManagerPolicy.c
4729 - (update_routing_and_dns): ignore devices that don't have an ip4
4730 config; add parameter 'force_update' to allow callers to specify
4731 that changes should be made even if the default device doesn't change
4732 - (device_ip4_config_changed): update DNS and routing when the device's
4733 IP4Config changes, like for DHCP updates
4734 - (device_added): listen for ip4-config property changes
4736 2008-03-11 Dan Williams <dcbw@redhat.com>
4738 Fix address handling as a result of DHCP rebind/renew/reboot.
4740 * src/NetworkManagerSystem.c
4741 - (check_one_address): delete an address if it doesn't match a given
4742 one for the same interface
4743 - (nm_system_device_set_from_ip4_config): don't flush the default route,
4744 be smarter about flushing addresses (only flush ones that don't
4745 match the one we're about to apply)
4747 * src/backends/NetworkManagerDebian.c
4748 src/backends/NetworkManagerSuSE.c
4749 src/backends/NetworkManagerArch.c
4750 src/backends/NetworkManagerSlackware.c
4751 src/backends/NetworkManagerRedHat.c
4752 src/backends/NetworkManagerPaldo.c
4753 src/backends/NetworkManagerFrugalware.c
4754 src/backends/NetworkManagerGentoo.c
4755 - (nm_system_delete_default_route): remove
4757 * src/backends/NetworkManagerGeneric.c
4758 src/backends/NetworkManagerGeneric.h
4759 - (nm_generic_enable_loopback): fix the loopback device label
4760 - (nm_generic_delete_default_route): remove; no longer used
4762 2008-03-11 Dan Williams <dcbw@redhat.com>
4764 * src/nm-device-interface.h
4765 - Delimit property name words with '-', otherwise g_object_notify()
4766 doesn't work the way we expect
4768 2008-03-11 Tambet Ingo <tambet@gmail.com>
4770 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
4772 2008-03-11 Dan Williams <dcbw@redhat.com>
4774 * src/NetworkManagerPolicy.c
4775 - (update_routing_and_dns): don't change anything if the default device
4776 hasn't changed; print something out when switching the default route
4779 2008-03-10 Tambet Ingo <tambet@gmail.com>
4783 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
4784 setting. Use "nic-$eth".
4786 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
4787 the device is activating here to fix a race condition.
4789 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
4791 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
4792 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
4793 (nm_ppp_manager_start): Take activation request instead of connection, we might
4794 need it for asking secrets.
4795 (nm_ppp_manager_update_secrets): Implement.
4797 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
4798 ppp manager start. It might be needed for asking secrets.
4800 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
4801 (ppp_state_changed): Handle pppd daemon disappearing.
4802 (pppoe_stage2_config): Send activation request to ppp manager start.
4804 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
4806 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
4807 username and password.
4809 2008-03-10 Dan Williams <dcbw@redhat.com>
4812 - (handle_dhcp_lease_change): apply an IP4 config to a device in
4813 response to a DHCP lease change
4814 - (dhcp_state_changed): handle DHCP lease changes while activated
4815 - (nm_device_set_ip4_config): remove a previously set named config
4816 when setting an ip4 config
4818 2008-03-10 Dan Williams <dcbw@redhat.com>
4820 * src/nm-serial-device.c
4821 - (nm_serial_device_send_command): report errno on error
4822 - (get_reply_got_data): limit the size of the overall buffer
4823 - (wait_for_reply_info_destroy): destroy result string
4824 - (wait_for_reply_got_data): append received data to an overall buffer
4825 until timeout, filled buffer, or error instead of keeping a per-call
4826 buffer. Some devices send data slowly enough that this function
4827 gets called multiple times for the same command stream.
4828 - (nm_serial_device_wait_for_reply): initialize overall buffer for
4829 wait_for_reply_got_data() here
4831 2008-03-10 Dan Williams <dcbw@redhat.com>
4833 * src/nm-cdma-device.c
4834 - (do_dial, init_modem): handle errors from
4835 nm_serial_device_send_command_string()
4837 * src/nm-gsm-device.c
4838 - (do_dial, manual_registration, automatic_registration_get_network,
4839 automatic_registration, enter_pin, check_pin, init_modem): handle
4840 errors from nm_serial_device_send_command_string()
4842 2008-03-10 Dan Williams <dcbw@redhat.com>
4844 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
4846 * src/named-manager/nm-named-manager.c
4847 - (compute_searches): prefer searches before domains
4848 - (compute_domain): new function
4849 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
4850 - (merge_one_ip4_config): if there are no searches in the source config,
4851 merge domains of the source config into the target config
4852 - (compute_nameservers): make formatting of resolv.conf a bit nicer
4854 2008-03-10 Dan Williams <dcbw@redhat.com>
4856 * src/nm-serial-device.c
4857 - (get_reply_got_data): clean up indentation, shrink serial buffer
4858 - (wait_for_reply_got_data): try to handle slower serial devices where
4859 the reply is broken up into multiple reads by concatenating replies
4860 together until either an error is received or the search string is
4863 2008-03-10 Dan Williams <dcbw@redhat.com>
4866 - (nm_device_bring_down): deactivate the device if it's activating too,
4867 not just if it's already activated. This makes sure that everything
4868 from an association attempt is cleaned up (like DHCP for example)
4870 2008-03-10 Dan Williams <dcbw@redhat.com>
4872 * src/nm-serial-device.c
4873 - (config_fd): report error from TCSETA
4874 - (nm_serial_device_open): fail when config_fd() fails
4876 2008-03-10 Dan Williams <dcbw@redhat.com>
4878 * src/nm-ip4-config.c
4879 - (nm_ip4_config_init): allocate searches list
4880 - (finalize): free searches list
4882 2008-03-09 Dan Williams <dcbw@redhat.com>
4884 Patch from Bas Zoetekouw <bas@debian.org>
4886 * src/dhcp-manager/nm-dhcp-manager.c
4887 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
4889 2008-03-09 Dan Williams <dcbw@redhat.com>
4891 Patch from Bas Zoetekouw <bas@debian.org>
4893 * src/nm-ip4-config.c
4895 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
4896 nm_ip4_config_get_num_searches): add 'searches' as distinct from
4897 domains. 'searches' is the correct way to store multiple search
4898 domains, whereas 'domains' is really just supposed to store one
4899 domain. Some sites abuse the DHCP 'domain-name' option to push
4900 search domains to the client.
4901 - (nm_ip4_config_add_domain): group with related functions (my patch)
4903 2008-03-09 Dan Williams <dcbw@redhat.com>
4905 * src/dhcp-manager/nm-dhcp-manager.c
4906 - (dhclient_run): send interface-specific config files to dhclient
4908 2008-03-07 Dan Williams <dcbw@redhat.com>
4910 * system-settings/plugins/ifcfg-fedora/parser.c
4911 - (is_wireless_device): new function; test a device for wireless
4913 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
4914 test the device for wireless extensions to determine the type
4916 2008-03-07 Dan Williams <dcbw@redhat.com>
4918 Change manager's StateChange signal to StateChanged for consistency.
4920 * introspection/nm-manager.xml
4921 - Add 'StateChanged' signal
4922 - Move 'StateChange' down to the deprecated section
4924 * src/nm-hal-manager.c
4925 - (nm_hal_manager_new): connect to 'state-changed' instead
4927 * src/NetworkManagerPolicy.c
4928 - (nm_policy_new): connect to 'state-changed' instead
4932 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
4933 - (nm_manager_class_init): add 'state-changed' and not the deprecation
4936 * libnm-glib/nm-client.c
4937 libnm-glib/nm-client.h
4938 - (constructor, nm_client_class_init, client_state_changed_proxy):
4939 track and proxy 'state-changed' instead of 'state-change'
4941 2008-03-07 Dan Williams <dcbw@redhat.com>
4943 First pass of multiple active device support. Expect bugs.
4945 * src/nm-ip4-config.c
4947 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
4948 there are better ways to do this in the named manager
4952 - (nm_device_can_activate): return whether the device can activate a
4953 connection right now; taking into account things like carrier state
4955 - (nm_device_get_best_auto_connection): renamed from
4956 nm_device_get_best_connection
4957 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
4958 device subclasses themselves, so that each device can override the
4959 MTU from it's NMSetting subclass if needed
4960 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
4961 in NetworkManagerSystem.c, not here
4963 * src/named-manager/nm-named-manager.c
4964 src/named-manager/nm-named-manager.h
4965 - (nm_named_manager_name_owner_changed,
4966 nm_named_manager_dbus_connection_changed): fix for changes to
4967 rewrite_resolv_conf()
4968 - (compute_nameservers): don't need the NMNamedManager at all, remove
4970 - (merge_one_ip4_config): new function; merge ip4 configs together
4971 - (rewrite_resolv_conf): write out resolv.conf from all the stored
4972 ip4 configs; the VPN config takes precedence, then the best
4973 device config, then the rest of the configs
4974 - (get_domain_for_config): take the NMNamedManager as an argument
4975 to check whether the config is the VPN config
4976 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
4977 attribute from ip4 configs
4978 - (add_all_ip4_configs_to_named): add all the configs in priority order
4979 - (remove_ip4_config_from_named): fix for changes to
4980 get_domain_for_config()
4981 - (nm_named_manager_add_ip4_config): assign the config to the right slot
4982 based on its type; callers must pass in the type now
4983 - (get_last_default_domain): remove, unused
4984 - (nm_named_manager_remove_ip4_config): handle config slots correctly
4986 * src/nm-device-802-11-wireless.c
4987 - (real_can_activate): new function
4988 - (real_get_best_auto_connection): renamed from real_get_best_connection
4989 - (real_act_stage4_get_ip4_config): handle MTU override
4991 * src/nm-device-802-3-ethernet.c
4992 - (real_can_activate): new function
4993 - (real_get_best_auto_connection): renamed from real_get_best_connection
4994 - (real_act_stage4_get_ip4_config): new function; handle MTU override
4996 * src/vpn-manager/nm-vpn-connection.c
4997 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
4998 attribute on the ip4 config
5000 * src/NetworkManagerPolicy.c
5001 - (nm_policy_auto_get_best_device): remove
5002 - (nm_policy_device_change_check): remove
5003 - (update_default_route): new function; set the default route via
5004 the specified device
5005 - (get_device_priority): new function; return the priority number of
5006 a device type WRT which one should have the default route. Order is
5007 (highest to lowest) wired, wireless, GSM, CDMA.
5008 - (update_routing_and_dns): new function; determine which device should
5009 have the default route, then update the routing table and DNS
5010 - (maybe_auto_activate_device): new function; if a device is now
5011 available for activation, find out what connection it would like to
5013 - (schedule_activate_check): new function; if a device can be activated
5014 now, schedule the activation. Each device may have only one
5015 pending activation at a given time.
5016 - (device_state_changed): if activation was canceled, try again,
5017 possibly with another connection; if the device was activated,
5018 update routing and DNS; if the device was deactivated, try again
5019 with another connection
5020 - (device_carrier_changed): if there is no carrier, deactivate the
5021 device; otherwise schedule an activation check for the device
5022 - (wireless_networks_changed): schedule an activation check for the
5024 - (device_added): keep track of the signal handler IDs so they can
5025 be removed when the device goes away
5026 - (device_removed): remove any signal handlers that might be attached
5027 to the device; update routing and DNS
5028 - (schedule_activate_all): new function
5029 - (connections_added, connection_added, connection_updated): when
5030 connections change, schedule all devices for an activation check
5031 - (connection_removed): when a device is deactivated because its
5032 connection was removed, schedule another activation check for it
5033 - (nm_policy_destroy): destroy pending activations and disconnect
5034 all device signal handlers
5037 - (nm_manager_activate_device): if the device was already actived,
5039 - (deactivate_old_device): remove
5040 - (connection_added_default_handler, impl_manager_activate_device):
5041 don't deactivate other devices when activating this one
5043 * src/backends/NetworkManagerGentoo.c
5044 src/backends/NetworkManagerFrugalware.c
5045 src/backends/NetworkManagerPaldo.c
5046 src/backends/NetworkManagerRedHat.c
5047 src/backends/NetworkManagerSlackware.c
5048 src/backends/NetworkManagerArch.c
5049 src/backends/NetworkManagerSuSE.c
5050 src/backends/NetworkManagerDebian.c
5051 - (nm_system_get_mtu): remove; MTU should be provided through the
5052 distro's system settings service plugin instead
5053 - (nm_system_device_add_default_route_via_device): remove
5054 - (nm_system_device_add_default_route_via_device_with_iface): remove
5055 - (nm_system_device_replace_default_route): new function; call
5056 generic implementation
5058 * src/backends/NetworkManagerGeneric.c
5059 src/backends/NetworkManagerGeneric.h
5060 - (nm_generic_device_add_default_route_via_device,
5061 nm_generic_device_add_default_route_via_device_with_iface): remove
5062 - (nm_generic_device_replace_default_route): replace the default route
5063 with the given route via some gateway
5065 * src/NetworkManagerSystem.c
5066 src/NetworkManagerSystem.h
5067 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5068 to routing and DNS; but set the MTU here
5069 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5070 ip_iface of the active device; use the standard MTU setting function
5071 - (nm_system_set_mtu): remove
5072 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5074 2008-03-07 Tambet Ingo <tambet@gmail.com>
5076 Rework the interaction between ppp manager and pppd plugin. Register a well
5077 known DBUS service in manager and let the plugin call it's methods instead
5078 of listening plugin's signals.
5080 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5081 of emitting signals.
5083 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5085 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5087 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5088 nm_ppp_manager_start().
5090 * introspection/nm-ppp-manager.xml: New file.
5092 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5093 the case correctly where driver is trying to send -1 for the speed, which gets
5094 casted to u16 and thus is always > 0.
5096 2008-03-07 Dan Williams <dcbw@redhat.com>
5098 * src/nm-hal-manager.c
5099 - (nm_get_device_driver_name): use net.originating_device first, fall
5100 back to physical device. HAL has deprecated physical_device.
5102 * libnm-glib/nm-device.c
5103 - (get_product_and_vendor): use net.originating_device first, fall
5104 back to physical device. HAL has deprecated physical_device.
5105 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5107 2008-03-07 Dan Williams <dcbw@redhat.com>
5110 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5111 last commit; fix that
5112 - (get_link_cache): print error string
5114 2008-03-07 Dan Williams <dcbw@redhat.com>
5117 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5118 don't need this hack any more (Benoit Boissinot)
5120 2008-03-06 Dan Williams <dcbw@redhat.com>
5123 - Die gnome-common, die
5125 2008-03-04 Dan Williams <dcbw@redhat.com>
5127 Patch from Michael Biebl <biebl@debian.org>
5129 * NetworkManager.pc.in
5130 - doesn't actually depend on dbus-1
5132 * libnm-util/nm-utils.h
5133 - remove unused #include <dbus/dbus.h>
5135 * libnm-glib/libnm_glib.pc.in
5136 - depends on glib and dbus-glib
5138 2008-03-02 Dan Williams <dcbw@redhat.com>
5140 * src/NetworkManagerPolicy.c
5141 - s/device_state_changed_idle_id/update_state_id/
5143 2008-03-02 Dan Williams <dcbw@redhat.com>
5147 src/nm-device-802-11-wireless.c
5148 src/nm-device-802-3-ethernet.c
5149 src/NetworkManagerPolicy.c
5150 - s/link_active/carrier
5151 - nm_device_set_active_link() -> nm_device_set_carrier()
5152 - nm_device_has_active_link() -> nm_device_get_carrier()
5154 2008-03-02 Dan Williams <dcbw@redhat.com>
5156 * system-settings/plugins/ifcfg-fedora/parser.c
5157 - (make_wireless_setting): fail connection creation on missing SSID
5159 2008-02-29 Dan Williams <dcbw@redhat.com>
5161 * src/NetworkManagerPolicy.c
5162 - (nm_policy_device_change_check): ensure that a previously active
5163 device with a system connection has a link before denying a switch
5164 to a user connection
5166 2008-02-29 Dan Williams <dcbw@redhat.com>
5168 * src/nm-device-802-11-wireless.c
5169 - (link_timeout_cb): try again if scanning; deactivate the device when
5170 activated if the link dies
5171 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5174 2008-02-29 Dan Williams <dcbw@redhat.com>
5176 * src/nm-device-802-11-wireless.c
5177 src/nm-device-802-11-wireless.h
5178 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5179 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5180 - (device_cleanup): reset the scan interval lower when the device
5182 - (can_scan): base decision mostly off device state, not supplicant
5183 interface state since the supplicant interface state isn't a
5184 great indicator of whether the device is active or not
5185 - (request_wireless_scan): clean up; schedule the next scan here
5186 - (schedule_scan): only back the scan interval off if a new scan
5187 actually gets scheduled; and make scan intervals tighter when the
5188 device is disconnected
5189 - (supplicant_iface_state_cb_handler): fold in the bits of
5190 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5192 - (activation_success_handler): reset scan interval to something
5195 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
5197 reviewed by: Steev <steev@steev.net>
5200 * src/backends/NetworkManagerGentoo.c:
5201 (nm_system_restart_mdns_responder):
5202 Howl is no longer a supported mDNS provider
5204 2008-02-28 Tambet Ingo <tambet@gmail.com>
5206 Get rid of a bunch of unused distro specific functions.
5208 2008-02-28 Tambet Ingo <tambet@gmail.com>
5210 Implement suse plugin for system settings daemon.
5212 * system-settings/plugins/ifcfg-suse/*: Implement.
5214 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5217 * configure.in: Check (without failing) for gio.
5218 Create ifcfg-suse plugin's Makefile.
5220 2008-02-20 Dan Williams <dcbw@redhat.com>
5222 * libnm-util/nm-connection.c
5223 libnm-util/nm-connection.h
5224 - (nm_connection_compare): accept compare flags and pass them to the
5225 setting compare function
5227 * libnm-util/nm-setting.c
5228 libnm-util/nm-setting.h
5229 - (nm_setting_compare): accept compare flags; ignore properties that are
5232 * libnm-util/nm-setting-connection.c
5233 libnm-util/nm-setting-wireless.c
5234 libnm-util/nm-setting-ppp.c
5235 libnm-util/nm-setting-wired.c
5236 - Mark some setting properties as ignorable when doing a fuzzy compare
5239 - (device_activation_precheck): use exact compare
5241 2008-02-20 Dan Williams <dcbw@redhat.com>
5243 * src/NetworkManagerPolicy.c
5244 - (nm_policy_device_change_check): get scope off the connection, not
5245 using the manager helper
5249 - (get_scope_for_proxy): rename from get_type_for_proxy()
5250 - (connection_get_settings_cb): set scope and path on connection, not
5251 using GObject data items
5252 - (get_connection_for_proxy): don't need to return path, since that
5253 can be gotten from the connection
5254 - (get_connection_for_proxy): get path off the connection, not from
5256 - (connection_removed_cb, connection_updated_cb): don't need to get
5257 path from get_connection_for_proxy(); get scope off the connection
5258 instead of using GObject data items
5259 - (connection_added_default_handler, add_one_connection_element): use
5260 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5261 - (nm_manager_get_connection_dbus_path): remove
5262 - (nm_manager_get_connection_scope): remove
5264 2008-02-20 Dan Williams <dcbw@redhat.com>
5266 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5269 * Add 'path' and 'scope' properties to NMConnection since both NM and the
5270 applet were having to hack this in anyway. Remove the 'path' stuff from
5271 NMExportedConnection
5273 * Internally rename NMConnectionType -> NMConnectionScope
5275 * Provide default implementations of the 'get_id' and 'get_settings' methods
5276 of NMExportedConnection
5278 2008-02-15 Dan Williams <dcbw@redhat.com>
5280 * src/nm-device-802-11-wireless.c
5281 - (device_cleanup): release the AP list here too so that the AP list
5282 doesn't survive across suspend/resume and up/down. There is some
5283 room for optimization, for example blow the list away when the card
5284 brought back up, but only if the device has only been down for a
5287 2008-02-15 Dan Williams <dcbw@redhat.com>
5289 * src/nm-hal-manager.c
5290 - (modem_device_creator): recognize new HAL modem capabilities
5292 2008-02-12 Dan Williams <dcbw@redhat.com>
5294 * system-settings/plugins/ifcfg-fedora/plugin.c
5295 - (watch_path): handle IN_DELETE_SELF too
5296 - (handle_connection_changed): notify when removing a connection
5297 - (stuff_changed): don't warn on unknown inotify watches; handle the
5298 case of a file moving out of the profile directory
5300 2008-02-12 Dan Williams <dcbw@redhat.com>
5302 * system-settings/plugins/ifcfg-fedora/parser.c
5303 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5305 2008-02-12 Dan Williams <dcbw@redhat.com>
5307 * libnm-util/nm-utils.c
5308 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5309 just any empty array
5311 2008-02-12 Dan Williams <dcbw@redhat.com>
5313 * system-settings/src/nm-system-config-interface.c
5314 system-settings/src/nm-system-config-interface.h
5315 - (load_connections): get_connections() should now return an allocated
5316 GSList that the system settings service will free
5318 * system-settings/plugins/ifcfg-fedora/plugin.c
5319 system-settings/plugins/ifcfg-fedora/parser.h
5320 system-settings/plugins/ifcfg-fedora/parser.c
5321 - Fix up inotify issues; handle keys-* files, handle new files appearing
5322 in the profile directory, handle resolv.conf file changes
5324 2008-02-10 Dan Williams <dcbw@redhat.com>
5326 * src/nm-device-802-3-ethernet.c
5327 - (real_bring_up): save the supplicant interface state signal id
5328 - (real_bring_down): disconnect from the supplicant interface state
5331 2008-02-07 Dan Williams <dcbw@redhat.com>
5333 * initscript/RedHat/NetworkManager.in
5334 initscript/RedHat/NetworkManagerDispatcher.in
5335 - Add new-style LSB init headers
5337 2008-02-07 Dan Williams <dcbw@redhat.com>
5339 * system-settings/src/dbus-settings.c
5340 system-settings/src/dbus-settings.h
5341 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5343 - (connection_settings_get_secrets): consolidate error returns into
5344 one place; use the new get_secrets() plugin interface function to
5345 get secrets from the plugin itself rather than using GObject data
5348 * system-settings/src/main.c
5349 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5350 load_connections): keep a private list of the plugin-returned
5351 connections, don't use the plugin's GSList
5353 * system-settings/plugins/ifcfg-fedora/plugin.c
5354 - (watch_path): watch the path, not the filename (duh)
5355 - (reload_all_connections): use the direct hash/equal functions; the
5356 ones for int aren't appropriate here
5357 - (get_secrets, system_config_interface_init): implement the
5358 get_secrets() function
5359 - (build_one_connection, find_connection_by_path): ifcfg file path is
5360 now in the connection's ConnectionData instead of being a GObject
5362 - (handle_profile_item_changed): ifcfg file path is now in the
5363 connection's ConnectionData instead of being a GObject data property;
5364 be sure to copy secrets over from the new connection to the existing
5365 connection when updating the connection's settings
5366 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5369 * system-settings/plugins/ifcfg-fedora/parser.c
5370 system-settings/plugins/ifcfg-fedora/parser.h
5371 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5372 connection_data_copy_secrets, connection_data_free,
5373 connection_data_add): new functions; connection data manipulation
5374 - (make_wireless_security_setting): stuff secrets into the
5375 connection data, not as GObject data items; make sure to close
5377 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5378 connection data to the connection
5380 2008-02-07 Dan Williams <dcbw@redhat.com>
5382 * system-settings/src/nm-system-config-interface.c
5383 system-settings/src/nm-system-config-interface.h
5384 - Add a get_secrets() interface function to retrieve secrets for a
5385 specific setting of a specific connection. Document the interface
5388 2008-02-07 Dan Williams <dcbw@redhat.com>
5390 * src/nm-device-802-11-wireless.c
5391 - (handle_auth_or_fail): new function; consolidate device activation
5392 failure check after a certain number of failures getting secrets
5393 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5394 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5395 the connection if secrets were requested more than a few times
5396 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5397 tries here; otherwise they are cleared before the IP configure
5398 timeout, which happens with open system WEP when key is wrong
5399 - (activation_success_handler): clear wireless secrets tries here too
5401 2008-02-07 Dan Williams <dcbw@redhat.com>
5403 * src/NetworkManagerPolicy.c
5404 - (connection_updated): clear invalid tag when connection gets updated
5405 to allow that connection to be tried again
5406 - (nm_policy_new): save signal ids so they can be disconnected when
5407 the policy is destroyed
5408 - (nm_policy_destroy): stop any in-progress state change idle handler,
5409 and disconnect all signals from the manager object so that none
5410 of the policy functions gets called after the policy is destroyed
5412 2008-02-06 Dan Williams <dcbw@redhat.com>
5415 - (finalize): remove devices a bit earlier; clean up system settings
5417 - (nm_manager_name_owner_changed): clean up system settings poke when
5418 the service appears, and try to restart it if it fails
5419 - (poke_system_settings_daemon_cb): try to get the system settings
5420 service started through D-Bus service activation
5421 - (initial_get_connections): start the system settings daemon if it's
5424 2008-02-05 Dan Williams <dcbw@redhat.com>
5426 * src/supplicant-manager/nm-supplicant-config.c
5427 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5428 broadcast networks too
5430 2008-02-04 Dan Williams <dcbw@redhat.com>
5432 * system-settings/plugins/ifcfg-fedora/parser.c
5433 - (make_wireless_security_setting): fix spelling; unencrypted networks
5434 need key_mgmt set too
5435 - (parser_parse_file): validate ifcfg file name and don't try to parse
5436 .bak files; ensure that an error is set whenever NULL gets returned
5438 2008-02-04 Dan Williams <dcbw@redhat.com>
5440 * system-settings/src/Makefile.am
5441 - Install D-Bus service activation file for the system settings
5444 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5445 - D-Bus service activation file for system settings service
5447 2008-02-04 Dan Williams <dcbw@redhat.com>
5449 * system-settings/src/main.c
5450 - (parse_config_file): parse a config file
5451 - (main): accept --config option and read plugins from config file
5453 2008-02-04 Dan Williams <dcbw@redhat.com>
5455 * system-settings/plugins/ifcfg-fedora/plugin.c
5456 - Change reported name to 'ifcfg-fedora'
5457 - Use IFCFG_PLUGIN_NAME
5459 * system-settings/plugins/ifcfg-fedora/plugin.c
5460 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5462 2008-02-04 Dan Williams <dcbw@redhat.com>
5464 * system-settings/plugins/ifcfg-fedora/parser.c
5465 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5466 - (make_connection_setting): use get_ifcfg_name()
5467 - (make_wireless_security_setting): handle shadow key files
5468 - (get_one_wep_key): treat empty string as NULL
5470 2008-02-04 Dan Williams <dcbw@redhat.com>
5472 * src/supplicant-manager/nm-supplicant-manager.c
5473 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5474 glib automatically reschedule
5475 - (nm_supplicant_manager_init): immediately try to start the supplicant
5476 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5479 2008-02-01 Dan Williams <dcbw@redhat.com>
5481 * src/NetworkManagerPolicy.c
5482 - (device_state_changed): schedule a change check when a device gets
5483 deactivated so something happens if you disconnect GSM/CDMA
5485 2008-01-31 Dan Williams <dcbw@redhat.com>
5487 * src/nm-device-802-11-wireless.h
5488 src/nm-device-802-11-wireless.c
5489 - (ap_list_get_ap_by_ssid, is_associated,
5490 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5491 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5492 - (nm_device_802_11_wireless_get_activation_ap): collapse
5493 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5496 2008-01-30 Dan Williams <dcbw@redhat.com>
5498 * system-settings/plugins/ifcfg
5499 * system-settings/plugins/ifcfg-fedora
5500 - Move the ifcfg plugin to ifcfg-fedora
5502 2008-01-24 Dan Williams <dcbw@redhat.com>
5504 * libnm-glib/nm-device-802-11-wireless.c
5505 - (get_access_point): move the "/" check here; check for invalid path
5507 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5508 to get_access_point()
5509 - (access_point_added_proxy, access_point_removed_proxy): don't try
5510 to send signals for non-existent access points
5512 2008-01-24 Dan Williams <dcbw@redhat.com>
5514 * libnm-glib/nm-device-802-11-wireless.c
5515 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5517 2008-01-23 Dan Williams <dcbw@redhat.com>
5519 * libnm-glib/libnm_glib.c
5520 - (libnm_glib_init): make thread joinable
5521 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5523 2008-01-23 Dan Williams <dcbw@redhat.com>
5525 * test/libnm_glib_test.c
5526 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5527 - (main): set up signal handlers; call libnm_glib_shutdown
5529 2008-01-21 Dan Williams <dcbw@redhat.com>
5531 * include/NetworkManager.h
5532 - Add CDMA mobile broadband card device type
5534 * src/nm-hal-manager.c
5535 - (modem_device_creator): handle both CDMA and GSM modems; the device
5536 must now be tagged with 'cdma' or 'gsm' capability
5538 * src/nm-cdma-device.c
5539 src/nm-cdma-device.h
5541 - Add the CDMA mobile broadband card device class
5543 * libnm-util/nm-connection.c
5544 - (register_default_settings): add NMSettingCdma
5546 * libnm-util/nm-setting-cdma.c
5547 libnm-util/nm-setting-cdma.h
5548 libnm-util/Makefile.am
5549 - Add the CDMA mobile broadband card setting class
5551 * libnm-glib/nm-cdma-device.c
5552 libnm-glib/nm-cdma-device.h
5553 libnm-glib/Makefile.am
5554 - Add the CDMA mobile broadband card GLib proxy class
5556 * libnm-glib/nm-client.c
5557 - (get_device): handle CDMA devices too
5559 2008-01-21 Dan Williams <dcbw@redhat.com>
5561 * src/ppp-manager/nm-ppp-manager.c
5562 - (ip4_config_get): set peer address too
5564 * src/ppp-manager/nm-pppd-plugin.c
5565 - (nm_ip_up): try harder to get the peer's address
5567 * src/NetworkManagerSystem.c
5568 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5569 address, use that too. Otherwise, some PPP connections won't work.
5571 2008-01-19 Dan Williams <dcbw@redhat.com>
5573 * src/NetworkManagerPolicy.c
5574 - (nm_policy_device_change_check): system connections override user
5575 connections; don't activate a user connection if there's a currently
5576 active system connection, and new, better system connections always
5577 interrupt user connections
5579 2008-01-19 Dan Williams <dcbw@redhat.com>
5582 - (nm_manager_get_connection_type): new function
5584 2008-01-19 Dan Williams <dcbw@redhat.com>
5586 * src/nm-device-802-11-wireless.c
5587 - (real_get_best_connection): collapse find_best_connection() into this
5590 2008-01-19 Dan Williams <dcbw@redhat.com>
5592 * src/nm-device-802-3-ethernet.c
5593 - (real_get_best_connection): collapse find_best_connection() into this
5596 2008-01-18 Dan Williams <dcbw@redhat.com>
5598 * src/nm-device-802-3-ethernet.c
5599 - (find_best_connection): check MAC address too
5600 - (real_get_best_connection): let autoconnect=True connections activate
5601 for devices that don't have carrier detection
5603 * src/nm-device-802-11-wireless.c
5604 - (find_best_connection): check MAC address too
5606 2008-01-18 Dan Williams <dcbw@redhat.com>
5608 * system-settings/plugins/ifcfg/parser.c
5609 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5611 2008-01-17 Dan Williams <dcbw@redhat.com>
5613 * src/nm-device-802-3-ethernet.c
5614 - (nm_device_802_3_ethernet_carrier_on,
5615 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5616 carrier events that might come in for devices that don't support
5619 2008-01-17 Dan Williams <dcbw@redhat.com>
5621 * src/nm-device-interface.c
5622 - (nm_device_interface_check_connection_conflicts): need to actually
5623 get the interface, not cast to the object
5626 - (nm_device_check_connection_conflicts): need to get the device class,
5627 not cast the device to the device class
5629 2008-01-17 Dan Williams <dcbw@redhat.com>
5631 * src/nm-device-802-11-wireless.c
5632 - (real_check_connection_conflicts): ignore connections that aren't
5633 wireless connections
5635 2008-01-17 Dan Williams <dcbw@redhat.com>
5637 * src/NetworkManagerPolicy.c
5638 - (nm_policy_device_change_check): clear change check idle here
5639 - (device_change_check_done): remove
5640 - (schedule_change_check): simplify
5642 2008-01-17 Dan Williams <dcbw@redhat.com>
5645 - (check_connection_allowed): take an NMDeviceInterface instead of
5646 an NMDevice object as an argument
5647 - (nm_manager_activate_device): pass an NMDeviceInterface to
5648 check_connection_allowed()
5650 2008-01-13 Dan Williams <dcbw@redhat.com>
5652 * libnm-glib/nm-device-802-11-wireless.c
5653 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5655 2008-01-12 Dan Williams <dcbw@redhat.com>
5657 * src/nm-device-802-11-wireless.c
5658 - (activation_success_handler): if a match was found in the scan list
5659 and that match is a hidden AP, update that AP's SSID
5661 2008-01-11 Dan Williams <dcbw@redhat.com>
5663 * src/NetworkManagerAP.c
5664 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5666 * src/nm-device-802-11-wireless.c
5667 - (get_active_ap): do two passes over the scan list if the caller
5668 requests that hidden APs get matched too; during the second pass
5669 when matching hidden APs, ignore the SSID since hidden APs in the
5670 scan list don't have an SSID yet
5671 - (periodic_update): move some checks to
5672 nm_device_802_11_periodic_update() because not all callers need them
5673 - (nm_device_802_11_periodic_update): move some checks here from
5675 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5676 matching on incoming scan results, because the fake AP's flags
5677 might be slightly different (yet still compatible) with the incoming
5678 scan result's flags and they might actually be the same AP; update
5679 the rate on merged APs too
5680 - (activation_success_handler): update the frequency of the fake AP
5681 on successful connection; match hidden APs too since if the
5682 current AP is fake, there might already be a scan result in the
5683 scan list for the desired AP, just without it's SSID filled in yet
5685 2008-01-10 Dan Williams <dcbw@redhat.com>
5687 * src/NetworkManagerAP.c
5688 - (foreach_property_cb): catch more hidden SSID formats
5690 2008-01-10 Dan Williams <dcbw@redhat.com>
5692 Fix gnome.org #464215. Requires the kernel patch titled
5693 "Introduce WEXT scan capabilities" but will handle the patch not being
5694 present, you'll just continue to have problems with hidden SSIDs when
5695 using mac80211-based drivers.
5697 * src/supplicant-manager/nm-supplicant-config.h
5698 src/supplicant-manager/nm-supplicant-config.c
5699 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
5700 whether the driver supports SSID scans or not. If it does, and if
5701 the AP is hidden, use ap_scan=1 instead of ap_scan=2
5703 * src/nm-device-802-11-wireless.c
5704 - (constructor): check whether or not the driver supports SSID scans
5705 - (build_supplicant_config): pass driver SSID scan capability when
5706 building the wireless bits of the supplicant config
5708 2008-01-09 Dan Williams <dcbw@redhat.com>
5712 - (device_activation_precheck, check_connection_complete): remove this
5713 virtual function; incomplete connections should be invalid by
5714 definition, complete-ness should be checked in the setting's
5717 * src/nm-serial-device.c
5719 - (real_check_connection_complete): remove
5721 * libnm-util/nm-setting-serial.c
5722 - (verify): new function; ensure there is a PPP setting too
5724 * libnm-util/nm-setting-gsm.c
5725 - (verify): ensure there is a serial setting too
5727 2008-01-06 Dan Williams <dcbw@redhat.com>
5729 * src/dhcp-manager/nm-dhcp-manager.c
5730 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
5733 2008-01-04 Dan Williams <dcbw@redhat.com>
5735 * src/named-manager/nm-named-manager.c
5736 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
5737 nameservers if the secondary config doesn't have any
5740 2008-01-02 Tambet Ingo <tambet@gmail.com>
5742 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
5743 with G_PARAM_CONSTRUCT so that they get the default values.
5745 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
5746 the monitoring device and prints out the output for now. Or more precicely, doesn't
5747 do absolutely anything right now since the montoring device argument is never set.
5749 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
5750 requires it's own knob to turn it on.
5751 (config_fd): Add NMSettingSerial to the arguments list.
5752 (nm_serial_device_open): Ditto.
5753 (get_reply_got_data): Ignore the terminators at the beginning of the output.
5754 (nm_serial_device_get_io_channel): Implement.
5756 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
5757 a new reference every time (and forgetting to release it sometimes) is a pain and
5758 it's not like NMManager could work without dbus.
5759 (nm_manager_add_device): Register the added device on dbus here.
5761 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
5764 * src/nm-device.c (constructor): Don't export the device here, instead export
5765 it when it's added to the NMManager's device list.
5767 2007-12-31 Dan Williams <dcbw@redhat.com>
5769 * src/nm-device-interface.c
5770 src/nm-device-interface.h
5771 - (nm_device_interface_check_connection_conflicts): new function
5775 - (nm_device_check_connection_conflicts): new function
5776 - (device_activation_precheck): don't require subclasses to implement
5777 check_connection_complete()
5778 - check_connection() -> check_connection_complete()
5780 * src/nm-device-802-11-wireless.c
5781 - (real_check_connection): remove; unused
5782 - (real_check_connection_conflicts): implement, handle lockdown for
5785 * src/nm-device-802-3-ethernet.c
5786 - (real_check_connection): remove; unused
5789 - (check_connection_allowed): new function
5790 - (nm_manager_activate_device): ensure the connection being requested
5791 is allowed to be activated
5793 * src/nm-serial-device.c
5795 - real_check_connection() -> real_check_connection_complete()
5797 2007-12-27 Dan Williams <dcbw@redhat.com>
5799 * src/nm-device-interface.c
5800 src/nm-device-interface.h
5801 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
5802 normalize and expand errors
5803 - (nm_device_interface_init): register errors so they can be marshalled
5805 - (nm_device_interface_activate): ensure that failure of activation
5810 - (device_activation_precheck): implementations of check_connection()
5811 now take a GError and must fill it in if the check fails. Return
5812 more descriptive error if the requested connection is already
5814 - (nm_device_activate): actually try to return descriptive errors on
5817 * src/nm-device-802-11-wireless.c
5818 src/nm-device-802-3-ethernet.c
5819 src/nm-serial-device.c
5821 - (real_check_connection): return more descriptive errors on failure
5823 * src/NetworkManagerPolicy.c
5824 - (nm_policy_device_change_check): print activation errors in the logs
5827 - (nm_manager_error_quark, nm_manager_error_get_type,
5828 nm_manager_class_init): new errors
5829 - (nm_manager_activate_device): handle errors
5830 - (nm_manager_error_new): removed
5831 - (wait_for_connection_expired, connection_added_default_handler,
5832 impl_manager_activate_device): better error handling
5834 2007-12-27 Dan Williams <dcbw@redhat.com>
5836 Fixes gnome.org #466954
5838 * src/supplicant-manager/nm-supplicant-settings-verify.c
5839 - Allow 'frequency' network property
5841 * src/supplicant-manager/nm-supplicant-config.c
5842 src/supplicant-manager/nm-supplicant-config.h
5843 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
5844 for callers to specify the frequency an Ad-Hoc network should operate
5845 on. Some drivers require this to successfully create an Ad-Hoc
5848 * src/nm-device-802-11-wireless.c
5849 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
5850 guint32 value in MHz
5851 - (constructor, nm_device_802_11_wireless_get_frequency): use
5853 - (find_supported_frequency): new function; find a free supported
5854 frequency for a user-created Ad-Hoc network
5855 - (build_supplicant_config): if no frequency was specified for a user-
5856 created Ad-Hoc network, find a free one to use
5857 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
5858 a specific object as user-created
5860 2007-12-27 Dan Williams <dcbw@redhat.com>
5862 * libnm-util/nm-utils.c
5863 libnm-util/nm-utils.h
5864 - (nm_utils_security_valid): add 'adhoc' argument and handle security
5867 2007-12-24 Dan Williams <dcbw@redhat.com>
5869 * libnm-util/nm-setting-wireless.c
5870 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
5871 185, 187, 188, 192, and 196
5873 2007-12-24 Dan Williams <dcbw@redhat.com>
5875 * src/nm-device-802-11-wireless.c
5876 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
5877 a channel # instead of a frequency
5879 2007-12-24 Dan Williams <dcbw@redhat.com>
5881 * src/NetworkManagerAP.c
5882 src/NetworkManagerAP.h
5883 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
5884 - (freq_to_channel): handle split band tables
5885 - (channel_to_freq): handle split band tables, take a band argument
5887 2007-12-24 Dan Williams <dcbw@redhat.com>
5889 * libnm-util/nm-setting-connection.h
5890 libnm-util/nm-setting-connection.c
5891 - Add 'lockdown' member
5893 2007-12-22 Dan Williams <dcbw@redhat.com>
5895 * libnm-util/nm-setting-wireless.c
5896 - (nm_setting_wireless_class_init): add missing 'rate' property
5899 2007-12-18 Dan Williams <dcbw@redhat.com>
5901 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
5903 * src/nm-netlink-monitor.c
5904 src/nm-netlink-monitor.h
5905 - Remove handrolled netlink, use libnl instead
5907 * src/nm-device-802-3-ethernet.c
5908 - (constructor, nm_device_802_3_ethernet_carrier_off,
5909 nm_device_802_3_ethernet_carrier_on): use new names
5911 2007-12-17 Dan Williams <dcbw@redhat.com>
5914 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
5915 and fixes memory leaks)
5918 - (nm_netlink_get_default_handle): handle new versions of libnl that
5919 automatically handle the netlink PID
5921 2007-12-17 Dan Williams <dcbw@redhat.com>
5923 Patch from Michael Biebl <biebl@debian.org>
5926 src/ppp-manager/Makefile.am
5927 - fix up install dir of pppd plugin
5928 - clean up configure.in a bit
5930 2007-12-12 Dan Williams <dcbw@redhat.com>
5932 * system-settings/src/nm-system-settings.conf
5933 - Allow non-root clients (like the applet) to read settings
5935 2007-12-10 Tambet Ingo <tambet@gmail.com>
5937 * Replace all occurences of 'UMTS' with 'GSM'.
5939 2007-12-07 Dan Williams <dcbw@redhat.com>
5941 * src/nm-serial-device.c
5942 - (real_is_up): serial devices are always "up"
5944 2007-12-07 Dan Williams <dcbw@redhat.com>
5947 src/NetworkManagerSystem.c
5948 - (new_nl_handle): ensure that the same netlink pid is never chosen
5949 twice (gnome.org #491047)
5950 - Make more robust against allocation-related failures should they occur
5952 2007-12-07 Dan Williams <dcbw@redhat.com>
5954 Noticed by Christian Persch <chpe@gnome.org>
5956 Always chain up to parent object in dispose and finalize handlers.
5959 2007-12-07 Dan Williams <dcbw@redhat.com>
5961 * src/nm-device-802-11-wireless.c
5962 - Wrap #include of linux/mii.h to fix redefined structures due to
5963 incorrect kernel headers (gnome.org #350061)
5965 2007-12-06 Tambet Ingo <tambet@gmail.com>
5967 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
5968 before doing anything else.
5969 (init_modem): Move modem initialization here.
5971 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
5972 (nm_serial_device_flash): Implement.
5974 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
5975 changes signal is "StateChanged" and not "Status".
5976 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
5978 2007-12-06 Dan Williams <dcbw@redhat.com>
5980 * src/supplicant-manager/nm-supplicant-config.c
5981 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
5982 to only send some options when they make sense; also send phase2
5983 option to the supplicant (possible fix for rh #399631)
5985 2007-12-06 Tambet Ingo <tambet@gmail.com>
5987 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
5988 arguments: This whole file shouldn't really know anything about NMDevices, it
5989 should deal only with device interfaces. Devices might have different ifaces for
5990 different stuff and this place shouldn't know anything about it.
5992 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
5993 (global_state_changed): Implement. In the current NM it's not really important,
5994 but will be required in the case of multiple active devices. (Or even better,
5995 if stuff like that gets moved out from NM).
5997 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
5998 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6001 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6002 devices like serial devices (ttyS0 and ppp0 for example).
6003 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6005 (nm_device_set_ip_iface): Implement.
6006 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6007 after setting ip4_config from here ...
6008 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6009 than this function should call nm_system_device_set_from_ip4_config() because no
6010 other code has enough information on which arguments to use. So instead, other code
6011 could just set the new ip4 config using this function and everyone is happy.
6013 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6014 if we happen to get deactivated while something is pending.
6015 (automatic_registration): Handle the response that indicates pending network
6016 registration and wait until the pending registration is done.
6017 (real_deactivate_quickly): If there's a pending operation, cancel it.
6019 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6020 (real_deactivate_quickly): ... and remove it when it's down.
6021 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6023 (nm_serial_device_wait_for_reply): Ditto.
6025 2007-12-05 Tambet Ingo <tambet@gmail.com>
6027 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6028 (get_network_done): Remove newline, nm_info() does it already.
6029 (real_act_stage1_prepare): Turn the modem echo off.
6031 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6032 device, set the route to the device interface. This is a hack.
6034 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6035 return, no need for a new-line.
6036 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6037 Change the device iface here (ugh).
6038 (real_act_stage4_get_ip4_config): Implement.
6039 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6040 Restore the device iface.
6042 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6043 device is not wired or wireless (eg, automatically upped) device.
6045 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6047 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6049 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6050 before calling it's is_device_fn().
6052 2007-12-05 Dan Williams <dcbw@redhat.com>
6054 * libnm-util/nm-utils.c
6055 - (nm_utils_register_value_transformations,
6056 nm_utils_convert_gvalue_hash_to_string): better debug output of
6057 GHashTables of GValues too
6059 2007-12-04 Dan Williams <dcbw@redhat.com>
6061 * initscript/RedHat/NetworkManager.in
6062 - No longer start named; it's D-Bus interface is going away
6064 2007-12-04 Dan Williams <dcbw@redhat.com>
6066 Patch from Michael Biebl <biebl@debian.org>
6068 * system-settings/plugins/ifcfg/Makefile.am
6069 system-settings/src/main.c
6070 system-settings/src/Makefile.am
6071 - Put system settings plugins in NM plugins dir
6073 * src/ppp-manager/Makefile.am
6074 src/ppp-manager/nm-ppp-manager.c
6075 - Move pppd plugin to NM plugins dir
6077 2007-12-04 Dan Williams <dcbw@redhat.com>
6079 * libnm-util/nm-setting-vpn-properties.h
6080 - Clarify usage of the 'data' member of the setting
6082 * libnm-util/nm-setting-vpn-properties.c
6083 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6084 - (set_property): just remove all the settings; don't recreate the has
6085 - (update_one_secret): don't need to create the hash table here since
6086 it should always be present
6088 2007-12-03 Tambet Ingo <tambet@gmail.com>
6090 Implement PIN and PUK requesting.
6092 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6093 (enter_pin): Handle PIN and PUK requests.
6094 (real_act_stage1_prepare): Clear the secret type.
6095 (real_connection_secrets_updated): Implement this class method to get
6096 notified when new secrets arrive.
6097 (nm_umts_device_class_init): Add private data back to the umts device class
6098 to store the required secret type.
6100 2007-12-01 Dan Williams <dcbw@redhat.com>
6102 * system-settings/plugins/ifcfg/parser.c
6103 - (parser_parse_file): don't try to verify NULL connections
6105 2007-12-01 Dan Williams <dcbw@redhat.com>
6107 * system-settings/src/main.c
6108 - (load_connections, add_connection_to_settings): actually export
6109 plugin-provided connections over D-Bus so NM can get them
6111 2007-12-01 Dan Williams <dcbw@redhat.com>
6113 * system-settings/plugins/ifcfg/parser.c
6114 system-settings/plugins/ifcfg/parser.h
6115 system-settings/plugins/ifcfg/plugin.c
6116 - Hook up more inotify bits (untested)
6118 2007-11-29 Dan Williams <dcbw@redhat.com>
6120 * system-settings/src/nm-system-config-interface.h
6121 system-settings/src/nm-system-config-interface.c
6122 - (nm_system_config_interface_init,
6123 nm_system_config_interface_get_connections): add
6125 * system-settings/src/main.c
6126 - (load_plugins, load_connections, main): use a GSList for plugins
6127 to ensure priority ordering
6129 * system-settings/plugins/ifcfg/parser.c
6130 - (ifcfg_error_quark): move to plugin.c, and rename
6132 * system-settings/plugins/ifcfg/plugin.h
6133 system-settings/plugins/ifcfg/plugin.c
6134 - (ifcfg_plugin_error_quark): move here from parser.c
6135 - rework connection loading and initialization
6136 - Add preliminary inotify support for network profile config file
6138 2007-11-28 Tambet Ingo <tambet@gmail.com>
6140 Merge the beginnings of the new GSM card support.
6142 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6143 ppp watch source before killing pppd - If this happens from g_object_unref()
6144 then the ppp manager is already destroyed by the time the watch callback runs.
6146 * src/nm-hal-manager.c: Add a device_type_name string to the device
6147 creators, so that we can print a nice human readable string when a
6150 * src/nm-umts-device.c (automatic_registration_get_network): Query
6151 for the activated network, not much is done with the result thought.
6153 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6154 (ppp_ip4_config): Change the device state to activated here for now.
6155 (real_check_connection): Make sure the connection includes ppp setting.
6157 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6159 * libnm-glib/Makefile.am: Add the new files to build.
6161 * libnm-glib/nm-umts-device.c:
6162 * libnm-glib/nm-umts-device.h: Implement.
6164 2007-11-26 Tambet Ingo <tambet@gmail.com>
6166 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6167 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6169 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6170 the timeout source - this function is only called when the timeout source has
6172 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6173 to be big enough to contain the terminating zero element as well.
6174 The timeout argument is meant to be in seconds now.
6175 (real_deactivate_quickly): Implement.
6177 * src/NetworkManager.conf: Allow root to own
6178 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6180 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6181 (not unsigned ints).
6183 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
6184 small issue with parity bounds - capital letters have lower ascii codes
6185 than lower case letters.
6187 * libnm-util/nm-connection.c (register_default_settings): Register serial
6190 2007-11-22 Tambet Ingo <tambet@gmail.com>
6192 Remove the "index" property from devices as not all device types have this.
6194 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6196 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6197 (wired_device_creator): Get the device interface from hal to create the device.
6198 (wireless_device_creator): Ditto.
6200 * src/nm-device.c (nm_device_init): Remove the index member.
6201 (constructor): Remove the checks for index property, make interface property
6202 a require constructor property.
6203 Use the HAL udi for DBus path for devices.
6204 (nm_device_get_index): Remove.
6205 (set_property): Remove index handling.
6206 (get_property): Ditto.
6207 (nm_device_get_dbus_path): Remove.
6209 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6212 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6213 Access the device index through it's interface.
6214 (nm_device_802_3_ethernet_link_deactivated): Ditto.
6215 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6216 index argument. Add interface argument.
6218 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6219 the useless test_dev argument. Remove index argument. Add interface arugment.
6221 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6222 device index through interface.
6223 (nm_system_set_mtu): Ditto.
6225 * introspection/nm-device.xml: Remove the "Index" property.
6227 2007-11-21 Tambet Ingo <tambet@gmail.com>
6229 * src/nm-serial-device.c:
6230 * src/nm-serial-device.c:
6231 * src/nm-umts-device.c:
6232 * src/nm-umts-device.h: Implement.
6234 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
6235 allocated by libhal.
6236 (modem_device_creator): Implement.
6237 (register_built_in_creators): Register the modem creator.
6239 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
6240 Remove the unused test_dev argument.
6242 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6244 * src/Makefile.am: Add new files to build.
6245 Link in ppp-manager.
6247 * libnm-util/nm-setting-umts.c:
6248 * libnm-util/nm-setting-umts.h:
6249 * libnm-util/nm-setting-serial.c:
6250 * libnm-util/nm-setting-serial.h: Implement.
6252 * libnm-util/Makefile.am: Add new files to build.
6254 2007-11-28 Dan Williams <dcbw@redhat.com>
6256 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6258 Support DHCP-provided static routes.
6260 * src/nm-ip4-config.h
6262 - Add get/set functions for static routes
6264 * src/dhcp-manager/nm-dhcp-manager.c
6265 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6268 * src/NetworkManagerSystem.c
6269 - (nm_system_device_set_from_ip4_config): set any static routes on the
6270 interface when applying the IP4Config
6272 2007-11-28 Dan Williams <dcbw@redhat.com>
6274 * src/nm-device-802-11-wireless.c
6275 - (real_act_stage1_prepare): mark APs created for hidden networks
6278 2007-11-27 Dan Williams <dcbw@redhat.com>
6280 * system-settings/src/nm-system-config-interface.h
6281 - Note how to store secrets on NMSetting objects
6283 * system-settings/src/dbus-settings.c
6284 - (connection_settings_get_secrets): implement
6286 2007-11-27 Dan Williams <dcbw@redhat.com>
6288 * system-settings/plugins/ifcfg/Makefile.am
6289 system-settings/plugins/ifcfg/parser.c
6290 system-settings/plugins/ifcfg/parser.h
6291 system-settings/plugins/ifcfg/plugin.c
6292 - Parse wireless connections too
6294 * system-settings/src/dbus-settings.c
6295 system-settings/src/dbus-settings.h
6296 system-settings/src/main.c
6297 - Handle connection update/removal if the plugin supports it
6299 2007-11-27 Dan Williams <dcbw@redhat.com>
6301 * src/nm-dbus-manager.h
6302 src/nm-hal-manager.c
6303 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6307 src/NetworkManagerDbusUtils.c
6308 src/NetworkManagerDbusUtils.h
6309 - Remove these two source files; they are unused
6311 2007-11-27 Dan Williams <dcbw@redhat.com>
6313 * src/vpn-manager/nm-vpn-manager.c
6314 - (impl_vpn_manager_connect): fix system settings check (found by
6317 2007-11-26 Dan Williams <dcbw@redhat.com>
6319 * Fix warnings so everything compiles with --enable-more-warnings
6321 2007-11-25 Dan Williams <dcbw@redhat.com>
6324 - Rework structure and code to use GModule-loaded plugins and a plugin
6325 interface that plugins export to the system settings service
6327 2007-11-21 Dan Williams <dcbw@redhat.com>
6330 - Add Soren's system settings service. Needs work for distros other
6331 than Fedora; the backends from NM should mostly migrate to here
6332 and be converted to GObjects
6334 2007-11-21 Dan Williams <dcbw@redhat.com>
6336 * libnm-util/nm-setting-vpn-properties.c
6337 - (set_property): must deep-copy the given settings hash, otherwise
6338 double-free errors occur when the setting is disposed of
6340 2007-11-21 Dan Williams <dcbw@redhat.com>
6342 * src/vpn-manager/nm-vpn-act-request.h
6343 src/vpn-manager/nm-vpn-act-request.c
6346 2007-11-20 Dan Williams <dcbw@redhat.com>
6348 * libnm-util/nm-utils.c
6349 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6350 nm_utils_convert_ip4_addr_struct_array_to_string,
6351 nm_utils_register_value_transformations): print out the readable
6352 values of more types of properties of NMSettings subclasses
6354 2007-11-20 Dan Williams <dcbw@redhat.com>
6356 * libnm-util/nm-setting-ip4-config.c
6357 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6358 nm_setting_ip4_config_class_init): apparently dbus-glib can't
6359 marshal GValueArrays inside collections, so switch to types that it
6360 can actually marshal/demarshal
6362 2007-11-16 Dan Williams <dcbw@redhat.com>
6364 * libnm-util/nm-setting-wireless-security.c
6365 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6366 minimal verification of EAP methods too
6367 - (verify): verify phase1 eap methods too
6369 2007-11-15 Dan Williams <dcbw@redhat.com>
6371 * libnm-glib/nm-device.h
6372 libnm-glib/nm-device.c
6373 - (nm_device_get_product, nm_device_get_vendor): should be returning
6376 2007-11-15 Dan Williams <dcbw@redhat.com>
6378 * libnm-glib/nm-device.c
6379 - (get_product_and_vendor): don't try to free things that should be
6382 2007-11-15 Dan Williams <dcbw@redhat.com>
6384 * src/NetworkManagerUtils.c
6385 - (nm_ethernet_address_is_valid): unbreak previous fix
6387 2007-11-15 Dan Williams <dcbw@redhat.com>
6389 * src/supplicant-manager/nm-supplicant-config.c
6390 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6393 2007-11-15 Dan Williams <dcbw@redhat.com>
6395 * src/NetworkManagerUtils.c
6396 - (nm_ethernet_address_is_valid): fix style, clarify
6397 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6399 * src/nm-device-802-11-wireless.c
6400 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6401 - (nm_device_802_11_wireless_get_ssid,
6402 nm_device_802_11_wireless_get_bssid,
6403 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6404 before calling the ioctl; fixes valgrind-reported jump depends on
6405 uninitialized value errors
6407 2007-11-15 Dan Williams <dcbw@redhat.com>
6409 * libnm-util/nm-setting.c
6410 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6411 unecessary to serialize 'name'
6413 * src/nm-activation-request.c
6414 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6417 2007-11-15 Dan Williams <dcbw@redhat.com>
6419 * libnm-util/nm-setting-connection.h
6420 libnm-util/nm-setting-connection.c
6421 - Rename the 'name' property to 'id', because it conflicted with the
6422 NMSetting superclass' 'name' property.
6424 * libnm-util/nm-setting.c
6425 - (nm_setting_to_hash): serialize the 'name' property
6426 - (one_property_cb): ignore 'name' on deserialization of a connection
6428 * src/nm-device-802-11-wireless.c
6429 src/vpn-manager/nm-vpn-connection.c
6430 src/NetworkManagerPolicy.c
6431 - Fix up for NMSettingConnection 'name'->'id' changes
6433 2007-11-13 Dan Williams <dcbw@redhat.com>
6435 * libnm-glib/nm-device-802-11-wireless.h
6436 libnm-glib/nm-device-802-11-wireless.c
6437 - (nm_device_802_11_wireless_get_hw_address): return should be const
6440 libnm-glib/libnm-glib-test.c
6441 - Fixes for above change
6443 2007-11-12 Dan Williams <dcbw@redhat.com>
6445 * src/supplicant-manager/nm-supplicant-settings-verify.c
6446 - Allow fragment_size option
6448 * src/supplicant-manager/nm-supplicant-settings-verify.c
6449 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6450 EAP fragment size than the default to help some TLS connections
6452 2007-11-12 Dan Williams <dcbw@redhat.com>
6454 Make certs actually work. The private key is now a secret, and should be
6455 decrypted when requested by NM. The private key and phase2 private key
6456 passwords are no longer interesting to NM because they should be used by
6457 the settings service to decrypt the private key itself before passing it
6458 to NM, and hence have been removed as fields.
6460 * libnm-util/nm-setting-wireless-security.h
6461 libnm-util/nm-setting-wireless-security.c
6462 - Remove private-key-passwd and phase2-private-key-passwd from
6464 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6465 need_secrets): use property #defines instead strings to keep things
6467 - (need_secrets_tls): if a client certificate is present but no
6468 private key, request the private key
6469 - (set_property, get_property, nm_setting_wireless_security_class_init):
6470 remove private key password stuff, mark private keys as secret
6472 * src/supplicant-manager/nm-supplicant-settings-verify.c
6473 - Remove private_key_passwd and private_key2_passwd from opt_table
6475 2007-11-09 Dan Williams <dcbw@redhat.com>
6477 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6478 Since the vpn-properties are managed and known by the VPN daemons themselves,
6479 libnm-util doesn't know what's secret and what's in the setting's 'data'
6482 * libnm-util/nm-setting.h
6483 libnm-util/nm-setting.c
6484 - Add the ability for subclasses to override update_one_secret
6486 * libnm-util/nm-setting-vpn-properties.c
6487 - Override update_one_secret and just copy the values into the
6490 2007-11-09 Dan Williams <dcbw@redhat.com>
6492 * libnm-glib/nm-settings.h
6493 libnm-glib/nm-settings.c
6494 - (nm_settings_new_error): remove
6495 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6496 clients should use g_set_error() with NM_SETTINGS_ERROR
6498 2007-11-09 Dan Williams <dcbw@redhat.com>
6500 * src/supplicant-manager/nm-supplicant-config.c
6501 - (nm_supplicant_config_add_setting_wireless_security): private key
6502 passwords are never sent to wpa_supplicant, because the supplicant
6503 should never be reading random files from the disk. Clients like
6504 the applet are required to decrypt the private keys and send NM
6505 the decrypted blobs.
6507 2007-11-08 Dan Williams <dcbw@redhat.com>
6509 * libnm-util/nm-setting-wireless-security.h
6510 libnm-util/nm-setting-wireless-security.c
6511 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6512 members to 802-11-wireless-security structure. This should be used
6513 to indicate that the values in private-key and phase2-private-key
6514 are already decrypted by the user agent, and that no
6515 private-key-passwd or phase2-private-key-passwd should be expected.
6516 It is not meant to be a stored configuration value, but meant to
6517 be set when the conneciton is sent to NM over dbus.
6519 2007-11-08 Dan Williams <dcbw@redhat.com>
6521 * libnm-util/nm-connection.h
6522 libnm-util/nm-connection.c
6523 - (nm_connection_need_secrets): add argument to return hints
6525 * src/nm-device-802-11-wireless.c
6526 - (link_timeout_cb, supplicant_connection_timeout_cb,
6527 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6528 nm_connection_need_secrets() change
6530 2007-11-07 Tambet Ingo <tambet@gmail.com>
6532 Rework NMSetting structures: Move each setting to it's own file.
6533 Convert to GObject. Remove home grown setting types and use GTypes.
6534 Use GObject property introspection for hash conversion, enumerating
6537 * libnm-util/nm-setting-connection.[ch]
6538 * libnm-util/nm-setting-ip4-config.[ch]
6539 * libnm-util/nm-setting-ppp.[ch]
6540 * libnm-util/nm-setting-vpn.[ch]
6541 * libnm-util/nm-setting-vpn-properties.[ch]
6542 * libnm-util/nm-setting-wired.[ch]
6543 * libnm-util/nm-setting-wireless.[ch]
6544 * libnm-util/nm-setting-wireless-security.[ch]
6546 New files, each containing a setting.
6548 * libnm-util/nm-setting-template.[ch]: A template for creating new
6549 settings. To use it, just replace 'template' with the new setting
6550 name, and you're half-way done.
6552 * libnm-util/nm-setting.c: Convert to GObject and use GObject
6553 introspection instead of internal types and tables.
6555 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6557 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6558 GValue types defined by dbus-glib for composed types like collections,
6559 structures and maps.
6561 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6562 a setting from connection takes the setting type now. Also, since
6563 the settings are in multiple files, include relevant settings.
6565 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
6568 * src/backends/NetworkManagerGentoo.c:
6569 (nm_system_restart_mdns_responder): Implement restarts for other mdns
6570 providers in Gentoo.
6572 2007-10-31 Dan Williams <dcbw@redhat.com>
6574 * libnm-util/nm-connection.c
6575 - (gvalue_to_string): handle UINT32 arrays
6577 2007-10-31 Dan Williams <dcbw@redhat.com>
6579 * libnm-glib/nm-device.h
6580 libnm-glib/nm-device.c
6581 - (nm_device_get_description): remove
6582 - (nm_device_get_product, nm_device_get_vendor): add
6583 - (nm_device_update_description): new function (private); walk HAL
6584 devices to get product and vendor IDs for a specific device
6586 2007-10-31 Dan Williams <dcbw@redhat.com>
6588 * src/nm-device-802-11-wireless.c
6589 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6591 2007-10-29 Dan Williams <dcbw@redhat.com>
6593 * src/nm-hal-manager.c
6594 - (device_added, device_new_capability): ignore device additions while
6595 asleep. Fixes crash caused when NM goes to sleep, a network device
6596 kernel module is unloaded and reloaded and recognized by NM again.
6598 2007-10-26 Dan Williams <dcbw@redhat.com>
6600 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6602 * src/NetworkManagerAP.c
6603 src/NetworkManagerAP.h
6604 libnm-glib/nm-access-point.c
6605 libnm-glib/nm-access-point.h
6606 - Make 'rate' property a guint32 to better match with WEXT and
6607 wpa_supplicant and to allow representation of higher bitrates
6609 * src/nm-device-802-11-wireless.c
6610 introspection/nm-device-802-11-wireless.xml
6611 libnm-glib/nm-device-802-11-wireless.c
6612 libnm-glib/nm-device-802-11-wireless.h
6613 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6615 * src/nm-device-802-3-ethernet.c
6616 src/nm-device-802-3-ethernet.h
6617 introspection/nm-device-802-3-ethernet.xml
6618 libnm-glib/nm-device-802-3-ethernet.c
6619 libnm-glib/nm-device-802-3-ethernet.h
6620 - Make 'speed' property a guint32 to match other speed/rate types
6621 - Make nm_device_802_3_ethernet_get_speed() static
6624 - Update for the changes above
6626 2007-10-26 Dan Williams <dcbw@redhat.com>
6628 * src/named-manager/nm-named-manager.c
6629 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6630 not calling fclose() twice on some error conditions
6632 2007-10-26 Dan Williams <dcbw@redhat.com>
6634 * src/nm-activation-request.c
6635 - (dispose): clean up indentation; get the right DBusGProxy object to
6636 cancel the GetSecrets pending call on. Need to use the Secrets
6637 proxy, not the regular connection proxy. Otherwise the GetSecrets
6638 pending call doesn't get canceled, and pressing Cancel in the
6639 applet's password dialog could cause get_secrets_cb() to be called
6640 after the activation request has already been destroyed
6642 2007-10-24 Dan Williams <dcbw@redhat.com>
6644 * src/supplicant-manager/nm-supplicant-config.c
6645 - (nm_supplicant_config_add_blob): pass blob data and length for
6647 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6649 2007-10-24 Dan Williams <dcbw@redhat.com>
6651 * src/supplicant-manager/nm-supplicant-settings-verify.c
6652 - (opt_table): max length for certificates should be 65536
6654 2007-10-24 Dan Williams <dcbw@redhat.com>
6656 * src/supplicant-manager/nm-supplicant-interface.c
6657 - (blob_free): correctly free blob data after use
6658 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6660 2007-10-24 Dan Williams <dcbw@redhat.com>
6662 * libnm-util/nm-setting.c
6663 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6664 EAP method need secrets
6666 2007-10-24 Dan Williams <dcbw@redhat.com>
6668 * src/backends/NetworkManagerRedHat.c
6669 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6671 2007-10-23 Dan Williams <dcbw@redhat.com>
6673 * libnm-util/nm-setting.c
6674 libnm-util/nm-setting.c
6675 - (nm_setting_compare): implement
6676 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6677 compare_one_hash_gvalue): compare the contents of a setting
6679 * libnm-util/nm-connection.c
6680 - (nm_connection_compare): implement
6682 2007-10-23 Dan Williams <dcbw@redhat.com>
6684 * src/nm-activation-request.c
6685 - (get_secrets_cb): handle getting a setting back that is more than
6686 just secrets (ie, user changed auth or EAP method or something)
6688 2007-10-23 Dan Williams <dcbw@redhat.com>
6690 * libnm-util/nm-setting.c
6691 libnm-util/nm-setting.h
6692 - (nm_setting_verify): new function; verify one setting
6693 - (nm_settings_verify_all): rename from nm_settings_verify()
6694 - (setting_connection_verify, setting_wireless_verify): allow NULL
6697 * libnm-util/nm-connection.c
6698 - (nm_connection_replace_settings, nm_connection_verify,
6699 nm_connection_new_from_hash): handle nm_settings_verify() rename
6701 2007-10-23 Dan Williams <dcbw@redhat.com>
6703 * src/nm-device-802-11-wireless.c
6704 - (real_act_stage2_config): use pre-increment on 'tries' to get the
6707 2007-10-23 Dan Williams <dcbw@redhat.com>
6709 * src/supplicant-manager/nm-supplicant-settings-verify.c
6710 - eap_allowed, phase2_allowed: harmonize with allowed values from
6713 2007-10-23 Dan Williams <dcbw@redhat.com>
6715 * src/nm-device-802-11-wireless.c
6716 - (real_act_stage2_config): after the first association failure,
6717 if the connection still needs secrets ask the user for them
6718 explicitly. After the fourth association failure due to bad
6719 secrets, fail the connection entirely. Handles the GetSecrets
6720 loop that NM gets into when the provided secrets don't match up
6721 with the connection details.
6723 2007-10-23 Dan Williams <dcbw@redhat.com>
6725 * src/supplicant-manager/nm-supplicant-config.c
6726 - (nm_supplicant_config_add_setting_wireless_security): only add
6727 WPA-specific options when WPA is in use
6729 2007-10-23 Dan Williams <dcbw@redhat.com>
6731 * src/supplicant-manager/nm-supplicant-config.c
6732 - (nm_supplicant_config_add_setting_wireless_security): 'password'
6733 secret doesn't need to be unhexified
6735 2007-10-23 Dan Williams <dcbw@redhat.com>
6737 * libnm-util/nm-setting.c
6738 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
6739 before trying to do something with it
6741 2007-10-23 Dan Williams <dcbw@redhat.com>
6743 * src/nm-device-802-11-wireless.c
6744 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
6746 2007-10-23 Dan Williams <dcbw@redhat.com>
6748 * src/nm-device-802-11-wireless.c
6749 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
6750 non-SSID-broadcasting APs
6752 2007-10-23 Dan Williams <dcbw@redhat.com>
6754 * src/NetworkManagerAP.c
6755 - (match_cipher, security_compatible): remove
6756 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
6759 2007-10-23 Dan Williams <dcbw@redhat.com>
6761 * libnm-util/nm-utils.c
6762 libnm-util/nm-utils.h
6763 - (nm_utils_ap_security_compatible): common function for checking
6764 whether a specific AP is compatible with an NMConnection
6766 2007-10-23 Dan Williams <dcbw@redhat.com>
6768 * libnm-util/nm-setting.c
6769 - (setting_wireless_security_need_secrets, need_secrets_phase2,
6770 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
6771 need_secrets_password, setting_wireless_security_verify): fix
6772 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
6773 secrets logic for each supported EAP method
6775 2007-10-23 Dan Williams <dcbw@redhat.com>
6777 * src/supplicant-manager/nm-supplicant-config.c
6778 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
6779 config option name, should be "private_key2_passwd"
6781 2007-10-22 Tambet Ingo <tambet@gmail.com>
6783 Implement support for static IP addresses, additional/overridden DNS and
6784 DNS domain search lists.
6786 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
6787 (ip4_addresses_to_gvalue): Implement.
6788 (convert_array_to_byte_array): Implement.
6789 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
6790 NM_S_TYPE_IP4_ADDRESSES.
6791 (nm_setting_hash): Ditto.
6792 (default_setting_clear_secrets): Add a default case for the switch: IP address
6793 shouldn't be secret, ever.
6794 (setting_ip4_config_verify): Update, requires addresses in case of manual
6796 (setting_ip4_config_destroy): Free stuff.
6798 * src/nm-device.c (merge_ip4_config): Implement.
6799 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
6801 2007-10-22 Dan Williams <dcbw@redhat.com>
6803 * libnm-util/nm-setting.c
6804 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
6805 pairwise cipher options for Dynamic WEP
6807 2007-10-21 Dan Williams <dcbw@redhat.com>
6809 * src/NetworkManagerAP.c
6810 src/NetworkManagerAP.h
6811 - Rename 'articifical' -> 'fake' since that's what they are until
6813 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
6814 from the attributes in an NMConnection object
6815 - (security_compatible): better handle Dynamic WEP and LEAP; handle
6817 - (nm_ap_match_in_list): find a matching AP in a scan list
6819 * src/nm-device-802-11-wireless.c
6820 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
6821 AP when searching the scan list; match on frequency and mode too
6822 - (nm_device_802_11_wireless_get_frequency): implement
6823 - (merge_scanned_ap): replace duplicate matching logic with
6824 nm_ap_match_in_list()
6825 - (real_act_stage1_prepare): handle a NULL specific object; ie where
6826 the user is trying to connect to a hidden network that is not yet
6827 known from the scan list
6828 - (activation_success_handler): now that the card knows the AP's BSSID,
6829 there may already be a scanned AP in the scan list that is what
6830 we really wanted to connect to, but didn't know at the time. Use
6831 that instead of the 'fake' AP created at activation start and get
6832 rid of the 'fake' AP
6833 - (cull_scan_list): don't remove fake APs
6835 2007-10-21 Dan Williams <dcbw@redhat.com>
6837 * src/nm-activation-request.h
6838 src/nm-activation-request.c
6839 - (nm_act_request_set_specific_object): new function; allow setting the
6840 specific object if one isn't set yet
6842 2007-10-20 Dan Williams <dcbw@redhat.com>
6844 * src/supplicant-manager/nm-supplicant-config.h
6845 src/supplicant-manager/nm-supplicant-config.c
6846 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
6847 table to store blobs
6848 - (nm_supplicant_config_add_blob): new function; add blob to internal
6850 - (nm_supplicant_config_get_blobs): new function; get stored blobs
6851 - (nm_supplicant_config_add_setting_wireless_security): handle
6852 options that use certificates (ie, blobs)
6854 * src/nm-device-802-11-wireless.c
6855 - (build_supplicant_config): pass a UID (just use the connection path)
6856 to the supplicant config as now required
6858 * src/supplicant-manager/nm-supplicant-interface.c
6859 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
6860 there are any blobs to send to wpa_supplicant, send those first
6861 before sending the network configuration
6863 2007-10-19 Dan Williams <dcbw@redhat.com>
6865 Split the GetSecrets() call off to a separate D-Bus interface so that it
6866 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
6867 should be able to call GetSecrets().
6869 * include/NetworkManager.h
6870 - Define the connection secrets D-Bus interface
6872 * src/vpn-manager/nm-vpn-connection.c
6873 - (clear_need_auth): get the right proxy object for the connection
6875 - (get_connection_secrets): use the connection secrets proxy; send
6876 empty hints in get secrets request
6878 * src/nm-activation-request.c
6879 - (nm_act_request_request_connection_secrets): use the connection
6880 secrets proxy; send empty hints in get secrets request
6884 - (connection_get_settings_cb): set the connection secrets proxy on
6885 the connection object too
6886 - (internal_new_connection_cb): create the connection secrets proxy
6888 * introspection/nm-settings-connection.xml
6889 - Define Connection.Secrets interface and move GetSecrets there
6890 - Add a 'hints' argument to GetSecrets
6892 * libnm-glib/nm-settings.c
6893 libnm-glib/nm-settings.h
6894 - (impl_connection_settings_get_secrets): add 'hints' argument
6896 2007-10-19 Dan Williams <dcbw@redhat.com>
6899 - (constructor): add message about what path a device is exported as
6900 to help in debugging rh #339011
6902 2007-10-17 Dan Williams <dcbw@redhat.com>
6904 * libnm-util/nm-utils.h
6905 libnm-util/nm-utils.c
6906 - (nm_utils_security_valid): common function to help find the intersection
6907 of capabilities of devices and (optionally) access points
6909 2007-10-17 Dan Williams <dcbw@redhat.com>
6911 * src/nm-device-802-11-wireless.c
6912 - (get_wireless_capabilities): add missing braces so that WPA capabilities
6913 don't get erroneously cleared
6915 2007-10-17 Dan Williams <dcbw@redhat.com>
6919 src/nm-hal-manager.c
6920 - (device_removed, finalize, nm_manager_remove_device,
6921 nm_manager_sleep): add a 'deactivate' argument to
6922 nm_manager_remove_device() to fully deactivate devices when necessary
6923 (ie, always except when waking up)
6925 2007-10-16 Dan Williams <dcbw@redhat.com>
6927 * libnm-util/nm-setting.c
6928 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
6929 also isn't valid phase2 autheap method
6931 2007-10-16 Dan Williams <dcbw@redhat.com>
6933 * libnm-glib/nm-client.c
6934 - (update_wireless_status): consolidate updates of wireless status
6935 - (constructor): use update_wireless_status()
6936 - (manager_running): set wireless status off when NM goes away; requery
6937 the wireless status when NM comes back
6939 2007-10-16 Dan Williams <dcbw@redhat.com>
6941 * libnm-glib/nm-client.c
6942 - (nm_client_activate_device): actually use the fixed-up specific
6945 2007-10-16 Dan Williams <dcbw@redhat.com>
6947 * src/nm-hal-manager.c
6948 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
6949 killswitch error messages once
6951 2007-10-16 Dan Williams <dcbw@redhat.com>
6954 - (manager_set_wireless_enabled): don't allow wireless to be enabled
6955 if it's disabled in hardware; don't touch network devices while
6958 2007-10-16 Dan Williams <dcbw@redhat.com>
6960 * libnm-util/nm-client.c
6961 - (nm_client_activate_device): convert NULL specific_object to "/",
6962 which is used in place of NULL
6965 - (impl_manager_activate_device): convert "/" specific_object back into
6968 2007-10-16 Tambet Ingo <tambet@gmail.com>
6970 Implement a generic NMSetting creator from setting name.
6971 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
6972 add a virtual function 'populate_fn'.
6974 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
6975 (register_default_creators): Register setting creators instead of functions
6976 that create and then populate.
6977 (parse_one_setting): Use the common setting creator and then setting specific
6978 poplulation function.
6980 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
6981 they all looked exactly the same.
6982 Add a 'populate_fn' virtual function to NMSetting.
6983 Use default virtual functions in case they are not overriden.
6984 (nm_setting_populate_from_hash): Implement.
6986 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
6987 name, use a defined string.
6988 (real_act_stage4_get_ip4_config): Ditto.
6990 2007-10-16 Tambet Ingo <tambet@gmail.com>
6992 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
6993 HAL is int, not uint.
6995 2007-10-15 Tambet Ingo <tambet@gmail.com>
6997 Implement killswitch polling through HAL.
6999 * src/nm-manager.c: Add wireless hardware status property. Add
7000 'properties-changed' signal for changes in wireless and wireless hardware
7003 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7004 and update NMManager's wireless hardware state when it has changed.
7005 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7008 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7009 values of wireless state and wireless hardware state. Listen for the
7010 'properties-changed' signals, update the cached values and emit notify.
7012 * include/NetworkManager.h: Fix a typo in a comment.
7014 2007-10-14 Dan Williams <dcbw@redhat.com>
7016 * libnm-util/nm-setting.c
7017 - (setting_wireless_security_need_secrets): handle LEAP secrets
7019 2007-10-13 Dan Williams <dcbw@redhat.com>
7021 * libnm-util/nm-setting.h
7022 libnm-util/nm-setting.c
7023 src/supplicant-manager/nm-supplicant-config.c
7024 - Make the 'proto' field of the 802-11-wireless-security field a
7027 2007-10-12 Tambet Ingo <tambet@gmail.com>
7029 Rework the "properties-changed" signal listening implementation.
7030 Add a generic implementation to NMObject class that listens for
7031 the signal and calls property setters of the target NMObject.
7033 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7035 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7036 code to the end of file so that all the static functions are available
7037 without extra declarations.
7038 Remove the "properties-changed" signal handling and use the framework from
7040 Implement property setters for properties that change with
7041 "properties-changed" signal.
7043 * libnm-glib/nm-access-point.c: Ditto.
7045 2007-10-12 Tambet Ingo <tambet@gmail.com>
7047 Rework the "properties-changed" signal implementation.
7048 In classes that need to use it, just emit "GObject::notify" and the new
7049 framework takes care of the rest to make the signal available on dbus.
7050 The framework queues the notifications and tries to send as many together
7051 in one signal as possible.
7053 * src/nm-properties-changed-signal.c:
7054 * src/nm-properties-changed-signal.h: Implement.
7056 * src/Makefile.am: Add new files to build.
7058 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7061 * src/nm-device-802-11-wireless.c: Ditto.
7063 2007-10-10 Dan Williams <dcbw@redhat.com>
7066 - (wait_for_connection_expired): ensure info is valid
7067 - (connection_added_default_handler): Should only remove pending
7068 connection info when the manager has the connection that it's
7069 waiting for. Fixes segfault in wait_for_connection_info().
7071 2007-10-10 Dan Williams <dcbw@redhat.com>
7073 * libnm-util/nm-setting.c
7074 libnm-util/nm-setting.h
7075 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7076 can use if they choose. Should be filled in by the settings service
7077 on-the-fly with the currently logged in user's username
7079 2007-10-10 Dan Williams <dcbw@redhat.com>
7081 * src/nm-device-802-11-wireless.c
7082 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7083 as such, because even if the manager fills in the SSID, NM still
7084 has to indicate to wpa_supplicant that the AP isn't broadcasting
7087 2007-10-10 Tambet Ingo <tambet@gmail.com>
7089 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7090 code that used NM's own version of dbus signal handling and custom dictionary
7091 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7092 and we get to maintain over 2000 lines less code.
7094 * libnm-util/dbus-dict-helpers.c:
7095 * libnm-util/dbus-dict-helpers.h: Remove.
7097 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7099 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7101 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7104 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7106 * configure.in: Remove test/libnm-util/Makefile creation.
7108 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7110 * test/libnm-util/: Remove the whole directory.
7112 2007-10-10 Tambet Ingo <tambet@gmail.com>
7114 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7115 device_state_changed_idle_id variable or it would contain some random value and the
7116 schedule_change_check calls would not do anything.
7118 2007-10-09 Dan Williams <dcbw@redhat.com>
7120 * src/nm-device-802-11-wireless.c
7121 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7122 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7123 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7124 merging of non-SSID-broadcasting APs
7126 2007-10-09 Tambet Ingo <tambet@gmail.com>
7128 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7129 "guint8 *" since it's usually used with GByteArray->data.
7130 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7132 2007-10-09 Tambet Ingo <tambet@gmail.com>
7134 * src/NetworkManagerUtils.c
7135 (nm_utils_is_empty_ssid):
7136 (nm_utils_escape_ssid):
7137 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7138 lot of places, so they belong to libnm-utils instead.
7140 Now with 100% less compiler warnings:
7142 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7143 (nm_dbus_unescape_object_path): Ditto.
7144 (nm_utils_ssid_to_utf8): Ditto.
7145 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7146 (nm_utils_escape_ssid): Ditto.
7147 (nm_utils_same_ssid): Ditto.
7149 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7150 (add_one_connection_element): Remove an unused variable.
7151 (impl_manager_get_active_connections): Ditto.
7153 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7156 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7157 from the previous commit.
7159 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7160 (real_act_stage1_prepare): Ditto.
7161 (activation_success_handler): Ditto.
7162 (get_property): Ditto.
7164 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7167 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7170 * src/supplicant-manager/nm-supplicant-config.c
7171 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7172 to expected "char *".
7173 (nm_supplicant_config_add_setting_wireless): Ditto.
7174 (nm_supplicant_config_remove_option): Remove, not used.
7176 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7178 (test_wireless_enabled): Ifdef out unused function.
7179 (device_deactivate): Ditto.
7180 (device_state_changed): Ditto.
7181 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7182 (nm_utils_escape_ssid): Ditto.
7184 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7185 (nm_utils_is_empty_ssid): Ditto.
7187 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7190 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7191 (setting_vpn_properties_update_secrets): Ditto.
7192 (int_to_gvalue): Ifdef out for now, not used.
7193 (byte_to_gvalue): Ditto.
7195 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
7198 2007-10-08 Tambet Ingo <tambet@gmail.com>
7200 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7201 about dbus manager, not named manager.
7202 Make sure hal_manager and dbus_mgr are created before trying to unreference.
7204 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7205 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7206 However, the same signal is emitted when we destroy it and there's
7207 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7209 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7210 releasing the DBusGConnection, since proxy needs a conneciton.
7211 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7213 2007-10-08 Dan Williams <dcbw@redhat.com>
7215 * src/NetworkManager.c
7216 - (main): error on unknown command-line options
7218 2007-10-08 Dan Williams <dcbw@redhat.com>
7220 Reimplement the invalid connection list. Don't try to re-activate a
7221 connection that just failed or was canceled.
7224 - (connection_secrets_failed_cb): fail device activation, don't just
7225 deactivate the device. Listeners have to know about the failure.
7227 * src/NetworkManagerPolicy.c
7228 - (nm_policy_auto_get_best_device): exclude invalid connections from
7229 the connection list given to a device's get_best_connection()
7231 - (device_state_changed): tag failed connections as invalid; clear the
7232 tag from successful connections
7234 2007-10-08 Dan Williams <dcbw@redhat.com>
7236 Fix problems with interrupted activation. Previously, choosing an AP
7237 from the menu, then choosing another one before the first connection was
7238 successful wouldn't deactivate the device before starting the new connection
7239 on that same device.
7241 * src/NetworkManagerPolicy.c
7242 - (deactivate_old_device, device_state_changed, state_changed,
7243 nm_policy_new): wrong place to deactivate old devices
7246 - (pending_connection_info_destroy, finalize,
7247 wait_for_connection_expired): decouple destruction of the pending
7248 connection info from the manager device
7249 - (connection_added_default_handler): deactivate any active or
7250 activating device before starting a new activation
7251 - (impl_manager_activate_device): deactivate any active or activating
7252 device before starting a new activation; be sure not to leak
7253 pending connection info if a new activation request arrives but
7254 there's already a pending one in-process
7256 2007-10-08 Dan Williams <dcbw@redhat.com>
7258 * src/NetworkManagerAP.h
7259 src/NetworkManagerAP.c
7260 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
7261 should handle default SSIDs and whether or not to autoconnect
7264 2007-10-08 Dan Williams <dcbw@redhat.com>
7266 * src/NetworkManagerPolicy.c
7267 - (nm_policy_device_change_check): print out connection name where
7270 2007-10-08 Dan Williams <dcbw@redhat.com>
7272 * src/nm-device-802-11-wireless.c
7273 src/nm-device-802-11-wireless.h
7274 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7275 'hidden-ap-found' signal (for internal use only) that allows the
7276 NMManager to fill in the AP's SSID if a connection has that AP's
7277 BSSID in its seen-bssids list
7280 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7281 wireless device's hidden-ap-found signal and fill in the APs SSID
7284 2007-10-07 Dan Williams <dcbw@redhat.com>
7288 - Add a 'connections-added' signal to batch together updates of large
7289 numbers of connections, like when reading from a settings service
7290 the first time. Otherwise, the policy would just activate the first
7291 suitable connection it saw rather than waiting for the full list
7293 - (nm_manager_class_init): register new signal
7294 - (get_type_for_proxy, connection_get_settings_cb,
7295 get_connection_for_proxy): centralize places where a proxy's setting
7296 service is determined
7297 - (free_get_settings_info): if the call being freed is the last call
7298 in a pending call group, fire off the connections-added signal
7299 - (internal_new_connection_cb): add call to a pending call group if
7301 - (list_connections_cb): always create a call group here, because this
7302 call results in a batch of new connections
7303 - (initial_get_connections): start getting system connections first
7304 - (nm_manager_connections_destroy, emit_removed): actually emit the
7305 removed signal when destroying connections
7307 * src/NetworkManagerPolicy.c
7308 - (nm_policy_new, connections_added): handle connections-added signal
7311 2007-10-06 Dan Williams <dcbw@redhat.com>
7313 * src/nm-device-802-11-wireless.c
7314 - (constructor): fix leaked socket
7316 2007-10-06 Dan Williams <dcbw@redhat.com>
7318 * src/NetworkManagerPolicy.c
7319 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
7320 connection in the list returned by nm_manager_get_connections() is
7321 reffed, but they weren't getting unreffed before returning
7323 2007-10-06 Dan Williams <dcbw@redhat.com>
7326 - (connections_to_slist): sort connections first on autoconnect, then
7329 2007-10-06 Dan Williams <dcbw@redhat.com>
7331 * libnm-util/nm-connection.c
7332 - (gvalue_to_string): handle UINT64
7334 2007-10-06 Dan Williams <dcbw@redhat.com>
7336 * src/NetworkManagerPolicy.c
7337 - (connection_updated, nm_policy_new): recheck state when a connection
7340 2007-10-06 Dan Williams <dcbw@redhat.com>
7344 - (nm_manager_get_connection_dbus_path): make static
7345 - (nm_manager_update_connections): remove; unused
7346 - Add a connection-updated signal
7347 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7348 handle connection object updates
7350 2007-10-06 Dan Williams <dcbw@redhat.com>
7352 * src/NetworkManagerPolicy.c
7353 - (connection_removed): deactivate removed connections
7355 2007-10-06 Dan Williams <dcbw@redhat.com>
7357 * libnm-util/nm-connection.c
7358 libnm-util/nm-connection.h
7359 - (nm_connection_replace_settings): new function
7361 2007-10-06 Dan Williams <dcbw@redhat.com>
7363 * libnm-glib/nm-device-802-11-wireless.c
7364 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7365 on error when getting the active access point over D-Bus from NM
7367 2007-10-05 Dan Williams <dcbw@redhat.com>
7369 * libnm-util/nm-setting.c
7370 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7371 to the NMSettingWireless table; it's now a string array not an array
7374 2007-10-05 Dan Williams <dcbw@redhat.com>
7376 * libnm-glib/nm-device-802-11-wireless.c
7377 - Cache properties and update cached properties on D-Bus signals from NM
7379 2007-10-05 Dan Williams <dcbw@redhat.com>
7381 * src/nm-device-802-11-wireless.c
7382 - (set_current_ap): consolidate current_ap handling code into one place
7383 to ensure that PropertiesChanged signals are emitted in all cases
7384 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7385 nm_device_802_11_wireless_dispose): use set_current_ap()
7387 2007-10-05 Dan Williams <dcbw@redhat.com>
7389 * libnm-glib/nm-access-point.c
7390 libnm-glib/nm-access-point.h
7391 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7392 because the value is cached internally now. Callers should not
7393 free the internal value.
7394 - Make signal name defines private
7397 libnm-glib/libnm-glib-test.c
7398 - Don't free value returned from nm_access_point_get_hw_address()
7400 2007-10-04 Dan Williams <dcbw@redhat.com>
7402 * introspection/nm-device-802-11-wireless.xml
7403 src/nm-device-802-11-wireless.h
7404 src/nm-device-802-11-wireless.c
7405 - Add a PropertiesChanged signal for wireless device
7406 - Store currently associated access point
7407 - (periodic_update): generalize; update rate here too and emit the
7408 correct PropertiesChanged signal when stuff changes
7409 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7410 real_activation_cancel_handler): clear current_ap when device is
7412 - (link_to_specific_ap, get_ap_blacklisted,
7413 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7415 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7417 - (real_set_hw_address): emit property changed signal if the card's
7419 - (real_act_stage1_prepare): set the initial current_ap to the AP
7420 the card is supposed to be connecting to
7421 - (activation_success_handler): send out property updates on successful
7423 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7424 for ACTIVE_ACCESS_POINT property because sometimes there won't be
7425 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7426 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7427 is now boxed; add PropertiesChanged signal
7429 2007-10-04 Dan Williams <dcbw@redhat.com>
7431 * libnm-util/nm-connection.c
7432 libnm-util/nm-connection.h
7433 - (nm_connection_verify): new function
7435 2007-10-04 Dan Williams <dcbw@redhat.com>
7437 * libnm-util/nm-setting.c
7438 - (nm_settings_verify): use #defines when possible rather than strings
7439 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7440 - (setting_vpn_verify): tighter validity check on 'service_type'
7442 2007-10-04 Dan Williams <dcbw@redhat.com>
7444 * libnm-glib/nm-settings.c
7445 - (nm_connection_settings_class_init): provide correct type for argument
7446 to the Updated signal so that dbus-glib knows how to marshal it
7448 2007-10-03 Dan Williams <dcbw@redhat.com>
7450 * src/nm-device-802-3-ethernet.c
7451 - (real_get_best_connection): don't create automatic connections
7452 internally; clients should provide a setting that applies to
7453 the device with 'autoconnect: True'. Problem was that these
7454 internally auto-created connections don't have a proxy or service
7455 name becuase they weren't created by a settings daemon, and therefore
7456 clients have no idea what to do with them.
7458 2007-10-03 Dan Williams <dcbw@redhat.com>
7460 * src/nm-device-802-11-wireless.c
7461 src/nm-device-802-11-wireless.h
7462 introspection/nm-device-802-11-wireless.xml
7463 - GetActiveNetworks -> GetAccessPoints
7464 - ActiveNetwork -> ActiveAccessPoint
7465 - NetworkAdded -> AccessPointAdded
7466 - NetowrkRemoved -> AccessPointRemoved
7468 * libnm-glib/nm-device-802-11-wireless.c
7469 libnm-glib/nm-device-802-11-wireless.h
7470 - network-added signal -> access-point-added
7471 - network-removed signal -> access-point-removed
7472 - nm_device_802_11_wireless_get_active_network() ->
7473 nm_device_802_11_wireless_get_active_access_point()
7474 - nm_device_802_11_wireless_get_network_by_path() ->
7475 nm_device_802_11_wireless_get_access_point_by_path()
7476 - nm_device_802_11_wireless_get_networks() ->
7477 nm_device_802_11_wireless_get_access_points()
7479 * libnm-glib/libnm-glib-test.c
7481 src/NetworkManagerPolicy.c
7482 - Fixups for Network -> AccessPoint
7484 2007-10-03 Dan Williams <dcbw@redhat.com>
7486 Add a GetActiveConnections() method on the Manager object.
7490 introspection/nm-manager.xml
7491 - (connection_get_settings_cb): keep connection type around too
7492 - (impl_manager_get_active_connections, add_one_connection_element):
7493 implement; returns all active connections and what devices they
7496 * libnm-glib/nm-client.c
7497 libnm-glib/nm-client.h
7498 introspection/nm-manager-client.xml
7499 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7500 by the caller; free here to avoid memory leak
7501 - (nm_client_get_active_connections): implement; return the list of
7503 - (nm_client_free_active_connection_element): implement; free an element
7504 of the GSList returned by nm_client_get_active_connections()
7506 2007-10-03 Dan Williams <dcbw@redhat.com>
7508 * src/nm-device-802-11-wireless.c
7509 - (nm_device_802_11_wireless_update_bssid): remove
7510 - (get_active_ap): new function; find the AP in the scan list which
7511 matches the current BSSID and SSID of the wireless device
7512 - (nm_device_802_11_periodic_update): get current AP using
7513 get_active_ap() and print AP roam messages
7515 2007-10-01 Dan Williams <dcbw@redhat.com>
7517 * libnm-util/nm-setting.h
7518 - Add a 'timestamp' option to NMSettingConnection
7521 * libnm-util/nm-setting.c
7522 - (uint64_to_gvalue): new function
7523 - (nm_setting_populate_from_hash, nm_setting_hash,
7524 default_setting_clear_secrets): handle UINT64 type
7525 - con_table: add 'timestamp' member
7527 2007-10-01 Dan Williams <dcbw@redhat.com>
7530 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7531 value when the connection can be activated immediately
7533 2007-10-01 Dan Williams <dcbw@redhat.com>
7535 * libnm-glib/nm-device.c
7536 - (nm_device_class_init): actually tell glib about the carrier-changed
7539 2007-10-01 Dan Williams <dcbw@redhat.com>
7542 src/marshallers/Makefile.am
7543 src/marshallers/nm-marshal.list
7544 src/marshallers/nm-marshal-main.c
7545 - Consolidate glib marshallers into one place
7547 * src/dhcp-manager/Makefile.am
7548 src/dhcp-manager/nm-dhcp-manager.c
7549 src/supplicant-manager/Makefile.am
7550 src/supplicant-manager/nm-supplicant-manager.c
7551 src/supplicant-manager/nm-supplicant-interface.c
7552 src/ppp-manager/Makefile.am
7553 src/ppp-manager/nm-ppp-manager.c
7554 src/vpn-manager/Makefile.am
7555 src/vpn-manager/nm-vpn-connection.c
7557 - Use consolidated marshallers
7559 * src/dhcp-manager/nm-dhcp-marshal.list
7560 src/dhcp-manager/nm-dhcp-marshal-main.c
7561 src/supplicant-manager/nm-supplicant-marshal-main.c
7562 src/supplicant-manager/nm-supplicant-marshal.list
7563 src/nm-marshal-main.c
7565 src/ppp-manager/nm-ppp-marshal-main.c
7566 src/ppp-manager/nm-ppp-marshal.list
7567 src/vpn-manager/nm-vpn-marshal-main.c
7568 src/vpn-manager/nm-vpn-marshal.list
7571 2007-10-01 Dan Williams <dcbw@redhat.com>
7573 * include/NetworkManagerVPN.h
7574 - define VPN connection state change reason codes
7576 * src/vpn-manager/Makefile.am
7577 src/vpn-manager/nm-vpn-marshal.list
7578 src/vpn-manager/nm-vpn-marshal-main.c
7579 - Add marshallers for StateChanged signal
7581 * introspection/nm-vpn-connection.xml
7582 - New Banner property
7583 - StateChanged signal now includes a 'reason' argument
7585 * src/vpn-manager/nm-vpn-connection.c
7586 src/vpn-manager/nm-vpn-connection.h
7587 - Add a "Banner" property that contains the returned VPN server login
7588 banner (if any); valid only in the ACTIVATED state
7589 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7590 a 'reason' argument and emits that reason along with the
7591 state-changed signal
7592 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7593 - (nm_vpn_connection_ip4_config_get): save banner for later
7594 - (nm_vpn_connection_get_banner, get_property,
7595 nm_vpn_connection_class_init): implement Banner property
7597 * src/vpn-manager/nm-vpn-service.c
7598 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7599 connection list because elements may get added/removed from it
7600 while iterating over the list
7601 - (connection_state_changed): signal now includes the 'reason' argument
7603 * libnm-glib/nm-vpn-connection.c
7604 libnm-glib/nm-vpn-connection.h
7605 - (nm_vpn_connection_get_banner): new function
7606 - (state_changed_proxy): handle reason argument
7608 2007-09-28 Tambet Ingo <tambet@gmail.com>
7612 Implement device activation through NMManager.
7613 Implement "pending device activation" here - If the connection isn't found,
7614 we try to wait for up to 5 seconds for the connection to be provided.
7615 Add NMConnectionType argument to "connection-added" and "connection-removed"
7617 (nm_manager_get): Remove. Finally.
7619 * src/nm-activation-request.c:
7620 * src/nm-activation-request.h:
7621 Remove all the deferred activation code.
7623 * src/nm-device.c: Remove all the deferred activation code. Once the device
7624 activation is started, it's started. Update the activation virtual function
7627 * src/nm-device-interface.c:
7628 * src/nm-device-interface.h:
7629 Device activation now takes only NMActRequest argument.
7630 Don't expose device activation directly on dbus, it's supposed to go through
7633 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7635 Use the new device activation methods through NMManager.
7637 * introspection/nm-manager-client.xml:
7638 * introspection/nm-manager.xml:
7639 * libnm-glib/nm-client.c:
7640 * libnm-glib/nm-client.h:
7641 Add device activation method.
7643 * libnm-glib/nm-device.c:
7644 * libnm-glib/nm-device.h:
7645 * introspection/nm-device.xml:
7646 Remove device activation method. It's done through NMManager now.
7648 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7649 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7651 2007-09-28 Dan Williams <dcbw@redhat.com>
7653 * libnm-glib/nm-vpn-connection.c
7654 - (nm_vpn_connection_get_state): try to update state if the current
7657 2007-09-27 Dan Williams <dcbw@redhat.com>
7659 Patch from Bill Nottingham
7661 * src/supplicant-manager/nm-supplicant-config.c
7662 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7663 data to the supplicant
7665 2007-09-27 Dan Williams <dcbw@redhat.com>
7667 * src/NetworkManagerSystem.c
7668 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7669 and all address manipulation here should be happening on the
7670 _VPN_ device, not the active device
7672 2007-09-26 Dan Williams <dcbw@redhat.com>
7676 src/nm-activation-request.c
7677 src/nm-activation-request.h
7678 - Move the GetSecrets stuff out of the NMManager instance because it
7679 doesn't really need to be there and complicates things
7682 - (connection_secrets_failed_cb, device_activation_go): connect to the
7683 connection-secrets-failed signal and deactivate the device if
7684 the GetSecrets call fails
7686 * src/nm-device-802-11-wireless.c
7687 - (link_timeout_cb, supplicant_connection_timeout_cb,
7688 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7689 secrets and give correct hints about whether new secrets should be
7690 asked for by the client or not
7692 2007-09-26 Dan Williams <dcbw@redhat.com>
7694 * src/vpn-manager/nm-vpn-connection.c
7695 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
7696 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
7697 to the secrets-updated signal of the NMConnection since updating
7698 the secrets is done within the scope of the NMVPNConnection object
7700 - (get_connection_secrets): fix an uninialized variable usage error
7702 2007-09-26 Dan Williams <dcbw@redhat.com>
7704 * libnm-util/nm-setting.c
7705 - (setting_vpn_properties_update_secrets): implement so VPN secrets
7706 actually get updated when the user enters them
7708 2007-09-26 Dan Williams <dcbw@redhat.com>
7710 * libnm-glib/nm-vpn-plugin.c
7711 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
7713 2007-09-26 Dan Williams <dcbw@redhat.com>
7715 * include/NetworkManagerVPN.h
7716 - Add a NEED_AUTH state
7718 * src/vpn-manager/nm-vpn-connection.c
7719 - Implement the NEED_AUTH state. First ask the VPN service plugin if
7720 the connection needs secrets, and if so, then ask the settings
7721 service to fill in the secrets. Then start the connection.
7723 2007-09-26 Dan Williams <dcbw@redhat.com>
7725 * src/vpn-manager/nm-vpn-manager.c
7726 - (new_vpn_error, impl_vpn_manager_connect): set errors
7728 2007-09-26 Dan Williams <dcbw@redhat.com>
7730 * introspection/nm-vpn-plugin.xml
7731 libnm-glib/nm-vpn-plugin.c
7732 libnm-glib/nm-vpn-plugin.h
7733 - (impl_vpn_plugin_need_secrets): implement a call that should return
7734 the name of the NMSetting in an NMConnection that may require
7735 secrets specific to that VPN plugin
7737 2007-09-26 Dan Williams <dcbw@redhat.com>
7741 - (nm_manager_get_connection_secrets): make static, unused outside
7743 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
7745 2007-09-26 Tambet Ingo <tambet@gmail.com>
7747 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
7749 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
7750 unreference the connection.
7752 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
7753 passing properties hash and routes string list, pass NMConnection (in hashed form).
7755 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
7756 as GSList, no need to copy stuff around anymore.
7757 (nm_vpn_connection_activate): Update the plugin activation method.
7759 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
7760 routes argument to GSList.
7762 2007-09-26 Tambet Ingo <tambet@gmail.com>
7764 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
7765 state and try to get the secrets.
7767 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
7768 connections from NMManager and let the device to choose the best from the list.
7769 Since the connection list is sorted by system ones first and user ones later,
7770 the devices still prefer system connections like they did before.
7771 (deactivate_old_device): Implement. When a device starts activation, we have a
7772 policy (for now at least) to deactivate any other device that might be either
7773 active or still activating.
7775 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
7776 It's set on construction, there will be no other way to access it.
7778 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
7779 device events and drive the device, not the other way around.
7781 * src/nm-device-802-3-ethernet.c: Ditto.
7783 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
7784 sent along, pass it on to virtual functions.
7786 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
7787 for now, but should really be public instead of nm_device_get_iface() since iface
7788 is a property of the DeviceInterface, not Device.
7789 (impl_device_activate): Don't touch NMManager!
7791 2007-09-26 Jürg Billeter <j@bitron.ch>
7793 * initscript/paldo/NetworkManager.in:
7794 * initscript/paldo/NetworkManagerDispatcher.in:
7795 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
7796 (nm_system_flush_loopback_routes): update paldo backend
7798 2007-09-26 Tambet Ingo <tambet@gmail.com>
7800 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
7801 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
7802 which means none of the devices get brought down properly, which in turn leaves
7803 DHCP client running.
7805 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
7806 (supplicant_connection_timeout_cb): Ditto.
7808 2007-09-25 Dan Williams <dcbw@redhat.com>
7811 - (device_activation_go): small hack to work around race when
7812 activating deferred connections; should solve this in a better way
7814 2007-09-25 Dan Williams <dcbw@redhat.com>
7816 * introspection/nm-device.xml
7817 libnm-glib/nm-device.c
7818 libnm-glib/nm-device.h
7819 - Add 'Carrier' property to exported NMDevice objects
7821 * src/nm-device-interface.h
7822 src/nm-device-interface.c
7824 - Add a 'carrier' property to internal NMDevice objects
7826 2007-09-25 Dan Williams <dcbw@redhat.com>
7828 * src/nm-device-802-11-wireless.c
7829 - (ap_auth_enforced): also return the encryption status of the AP so
7830 that callers can differentiate easily between unencrypted APs
7831 and encrypted ones, in addition to whether the AP has an
7833 - (link_timeout_cb, supplicant_connection_timeout_cb,
7834 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
7835 previously would request secrets from unencrypted APs at times
7837 2007-09-25 Dan Williams <dcbw@redhat.com>
7840 - (nm_manager_update_state): new function; updates state and emits
7841 appropriate signals ensuring a state-change signal for the same state
7842 never gets emitted twice in a row.
7843 - (manager_device_state_changed): handle more device state to get a
7844 better picture of the overall NM state
7846 2007-09-25 Dan Williams <dcbw@redhat.com>
7848 * libnm-glib/nm-settings.c
7849 libnm-glib/nm-settings.h
7850 - (new_error -> nm_settings_new_error): make public so that subclasses
7851 can use the same error domain. Also pass a valid error code to
7852 g_error_new_literal() so that libdbus doesn't assert when converting
7853 the GError into a DBusError
7854 - (impl_settings_list_connections, impl_connection_settings_get_id,
7855 impl_connection_settings_get_settings,
7856 impl_connection_settings_get_secrets): use new error creator
7859 2007-09-25 Dan Williams <dcbw@redhat.com>
7861 * src/NetworkManager.c
7862 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
7864 2007-09-25 Dan Williams <dcbw@redhat.com>
7866 * src/supplicant-manager/nm-supplicant-manager.c
7867 - (poke_supplicant_cb, nm_supplicant_manager_init,
7868 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
7869 nm_supplicant_manager_startup): when the supplicant isn't running,
7870 try to start it periodically via system bus activation. Fixes
7871 a problem where if wpa_supplicant goes away, NM gets stuck waiting
7872 for the supplicant to come back
7874 2007-09-25 Dan Williams <dcbw@redhat.com>
7876 Ensure that old activation requests are forgotten about; previously
7877 hitting Cancel in the password dialog would deactivate whatever device
7878 that password was requested for, even if that wasn't the currently
7879 activating connection.
7883 - (nm_manager_get_connection_secrets): track the pending call
7884 object so it can be canceled later if needed
7885 - (nm_manager_cancel_get_connection_secrets): cancel a pending
7886 GetSecrets call for a particular connection
7888 * src/nm-activation-request.c
7889 - (dispose): cancel any outstanding GetSecrets calls on the
7892 2007-09-25 Dan Williams <dcbw@redhat.com>
7894 * src/NetworkManagerPolicy.c
7895 - (nm_policy_device_change_check): handle devices that have a
7896 deferred activation. These devices are not really active _yet_,
7897 but need to be treated as such here. Don't interrupt them
7900 * src/nm-device-interface.c
7901 - (impl_device_activate): handle devices that have a deferred activation
7902 like activating or active devices. When multiple active devices
7903 get committed, the device shouldn't be deactivated until the
7904 connection details are available to avoid DoS and such. Currently,
7905 any active, activating, or deferred activation device is deactivated
7906 here before starting the new activation request.
7908 2007-09-25 Dan Williams <dcbw@redhat.com>
7910 Properly re-query secrets from the settings daemon when stuff fails.
7912 * src/nm-device-802-11-wireless.c
7913 - (ap_auth_enforced): handle static WEP correctly here by differentiating
7914 between Shared Key and Open System auth modes
7915 - (link_timeout_cb, supplicant_connection_timeout_cb,
7916 real_act_stage4_ip_config_timeout): clear existing secrets and
7917 request new ones when something fails due to a suspected wrong key
7918 - (real_act_stage2_config): fix for new request_new argument to
7919 nm_manager_get_connection_secrets()
7923 - (nm_manager_get_connection_secrets): return error status; pass
7924 new request_new argument on to the settings daemon
7926 * introspection/nm-settings-connection.xml
7927 - New 'request_new' argument to the GetSecrets call that hints to the
7928 settings daemon to ask the user for completely new secrets
7930 * libnm-glib/nm-settings.c
7931 libnm-glib/nm-settings.h
7932 - (impl_connection_settings_get_secrets): handle new 'request_new'
7935 2007-09-25 Dan Williams <dcbw@redhat.com>
7937 * libnm-util/nm-connection.c
7938 libnm-util/nm-connection.h
7939 - (nm_connection_clear_secrets): new function; clear secrets out of
7940 each NMSetting in an NMConnection
7942 * libnm-util/nm-setting.h
7943 libnm-util/nm-setting.c
7944 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
7945 secrets out of an NMSetting
7946 - (nm_setting_connection_new, nm_setting_ip4_config_new,
7947 nm_setting_wired_new, nm_setting_wireless_new,
7948 nm_setting_wireless_security_new, nm_setting_ppp_new,
7949 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
7950 to default handler default_setting_clear_secrets()
7952 2007-09-25 Dan Williams <dcbw@redhat.com>
7954 * src/nm-activation-request.c
7955 src/nm-activation-request.h
7956 - (nm_act_request_is_deferred): new function
7958 2007-09-24 Dan Williams <dcbw@redhat.com>
7960 * src/nm-device-802-11-wireless.c
7961 - (activation_success_handler): update signal strength immediately
7964 2007-09-24 Dan Williams <dcbw@redhat.com>
7966 * libnm-util/nm-setting.c
7967 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
7969 2007-09-24 Dan Williams <dcbw@redhat.com>
7971 * src/NetworkManagerPolicy.c
7972 - (nm_policy_auto_get_best_device): don't interrupt activation of a
7973 device by deactivating it because it doesn't have a "best connection".
7974 Since autoconnect=False connections aren't automatically chosen,
7975 NM would interrupt activation of such a connection because it
7976 would never be "best" due to autoconnect=False.
7978 2007-09-24 Dan Williams <dcbw@redhat.com>
7981 - (nm_manager_get_connection_secrets): Add a long timeout so the user
7982 actually has some time to enter a key before the GetSecrets call
7985 2007-09-24 Dan Williams <dcbw@redhat.com>
7987 * introspection/nm-manager.xml
7989 - (impl_manager_legacy_state): fix 'state' method call return value
7991 2007-09-24 Matthias Clasen <mclasen@redhat.com>
7993 * test/Makefile.am: Install nm-tool
7995 2007-09-24 Dan Williams <dcbw@redhat.com>
7997 Patch from Ross Burton <ross@burtonini.com>
8000 callouts/nm-dhcp-client-action.c
8002 src/vpn-manager/nm-vpn-connection.c
8003 libnm-glib/libnm-glib-test.c
8006 2007-09-24 Dan Williams <dcbw@redhat.com>
8008 * libnm-util/nm-utils.h
8009 libnm-util/nm-utils.c
8010 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8013 2007-09-23 Dan Williams <dcbw@redhat.com>
8015 * vpn-daemons/vpnc/properties/nm-vpnc.c
8016 - Update for new VPN properties API bits; instead of passing around
8017 a lot of random things, everything goes into the NMConnection
8020 2007-09-23 Dan Williams <dcbw@redhat.com>
8022 * libnm-util/nm-setting.c
8023 - Correctly dispose of settings objects if creating them from a hash
8026 2007-09-23 Dan Williams <dcbw@redhat.com>
8028 * libnm-util/nm-setting.c
8029 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8030 the hash table in a standard manner. Clients of libnm-util should
8031 only call g_hash_table_remove_all(), never destroy the hash table
8034 2007-09-22 Dan Williams <dcbw@redhat.com>
8036 * src/nm-device-802-11-wireless.c
8037 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8038 real reason to do it so often, and reduces wakeups for clients.
8040 2007-09-21 Dan Williams <dcbw@redhat.com>
8042 * src/nm-device-802-11-wireless.c
8043 - (build_supplicant_config): wpa_supplicant requires the option
8044 key_mgmt=NONE for unencrypted networks
8045 - (real_act_stage2_config): clarify log message on activation
8047 2007-09-21 Dan Williams <dcbw@redhat.com>
8049 * test/nm-supplicant-test.c
8051 - Remove supplicant test binary; no longer applicable
8053 2007-09-21 Dan Williams <dcbw@redhat.com>
8055 * src/supplicant-manager/nm-supplicant-manager.c
8056 - (nm_supplicant_manager_init): poke the supplicant at startup to
8057 activate it on the system bus
8059 2007-09-20 Dan Williams <dcbw@redhat.com>
8061 * initscript/RedHat/NetworkManager.in
8062 - dhcdbd is no longer used, so don't try to start it from the initscripts
8064 2007-09-20 Dan Williams <dcbw@redhat.com>
8067 - (nm_device_is_activating): work around a race between auto-activation
8068 and the user activating the same device that is being auto-activated
8070 2007-09-20 Dan Williams <dcbw@redhat.com>
8072 * src/nm-device-interface.c
8073 - (impl_device_activate): until multiple active device support lands,
8074 ensure only one device can be active at a time
8076 2007-09-20 Dan Williams <dcbw@redhat.com>
8078 * src/supplicant-manager/nm-supplicant-config.c
8079 src/supplicant-manager/nm-supplicant-config.h
8080 - (nm_supplicant_config_add_option): hide secrets from system logs
8082 2007-09-20 Dan Williams <dcbw@redhat.com>
8084 * src/NetworkManagerPolicy.c
8085 - (nm_policy_device_change_check): re-enable the wireless device change
8086 checking code; insted of checking for SSIDs, check for the same
8089 2007-09-20 Dan Williams <dcbw@redhat.com>
8091 * src/nm-device-802-11-wireless.c
8092 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8093 composite link state when determining when to start the disconnection
8094 timer; that link state is already based on the supplicant interface's
8095 status which is exactly what's already being examined, plus the link
8096 state is a conglomeration of various things that we don't want here
8098 2007-09-20 Dan Williams <dcbw@redhat.com>
8100 * libnm-glib/nm-access-point.c
8101 - (handle_property_changed): strength is a UCHAR
8103 2007-09-20 Dan Williams <dcbw@redhat.com>
8105 * src/supplicant-manager/nm-supplicant-config.c
8106 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8107 string list keywords too since that's what wpa_supplicant wants
8109 2007-09-20 Dan Williams <dcbw@redhat.com>
8111 * libnm-util/nm-setting.c
8112 - (convert_strv_to_slist): dupe the values in the list because since
8113 the list is a boxed value, it'll get destroyed when it's container
8114 (like a hash table or whatever) gets destroyed
8116 2007-09-20 Tambet Ingo <tambet@gmail.com>
8118 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8121 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8123 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8124 just use (g_object_set_data_full).
8126 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8127 that NMSettingVPN->routes is a GSList, convert it to char **.
8128 (nm_vpn_connection_ip4_config_get): Free routes when done.
8129 (nm_vpn_connection_activate): Ditto.
8131 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8132 (real_act_stage2_config): Use defined setting names.
8134 2007-09-20 Dan Williams <dcbw@redhat.com>
8136 * src/nm-device-802-11-wireless.c
8139 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8140 so that the device can be deactivated if secrets are wrong
8142 2007-09-20 Dan Williams <dcbw@redhat.com>
8144 * introspection/nm-settings-connection.xml
8145 libnm-glib/nm-settings.c
8146 libnm-glib/nm-settings.h
8147 - Make GetSecrets asynchronous on the server side
8149 2007-09-20 Dan Williams <dcbw@redhat.com>
8153 - (nm_device_activate): actually check if a given connection
8154 exists before assuming it doesn't
8156 2007-09-20 Tambet Ingo <tambet@gmail.com>
8158 * libnm-util/nm-connection.c (register_default_creators): Use defined
8159 setting names. Register NMSettingVPN and NMSettingVPNProperties.
8161 * libnm-util/nm-setting.c: Define property name strings, use them.
8162 Implement NMSettingVPN and NMSettingVPNProperties settings.
8163 Implement NM_S_TYPE_GVALUE_HASH.
8164 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8165 (setting_connection_verify): Rename 'devtype' property to 'type'.
8167 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8170 * src/vpn-manager/nm-vpn-service.c: Ditto.
8172 * src/vpn-manager/nm-vpn-connection.c: Ditto.
8174 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8175 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8177 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8178 names. NMSettingConnection->devtype got renamed to 'type'.
8180 * src/nm-device-802-3-ethernet.c (find_best_connection):
8181 (real_get_best_connection): Ditto.
8183 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8185 * libnm-glib/nm-vpn-manager.[ch]: Update.
8187 2007-09-19 Dan Williams <dcbw@redhat.com>
8189 * src/NetworkManagerAP.c
8190 src/NetworkManagerAP.h
8191 introspection/nm-access-point.xml
8192 - Change strength-changed signal into a properties-changed signal
8193 for all properties, not just strength. Export that signal over dbus
8194 so listeners don't have to poll NM for changes.
8195 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8196 get exported over D-Bus, so break up the logic and let other bits
8197 decided when to export the AP
8198 - (nm_ap_new_from_ap): remove, unused
8200 * src/nm-device-802-11-wireless.c
8201 - (merge_scanned_ap): only export APs that are actually on the device
8202 list, not every AP created internally
8204 * libnm-glib/nm-access-point.c
8205 libnm-glib/nm-access-point.h
8206 - Cache properties internally and only hit DBus when needed. Get
8207 property updates from NM signals
8209 2007-09-16 Dan Williams <dcbw@redhat.com>
8211 * libnm-util/nm-connection.c
8212 libnm-util/nm-connection.h
8213 - (nm_connection_for_each_setting_value): new function; iterate over
8214 each setting's value and call a user-provided function with details
8217 * libnm-util/nm-setting.c
8218 libnm-util/nm-setting.h
8219 - (nm_setting_enumerate_values): new function; enumerate the values
8220 of a specific NMSetting subclass for a user-provided function with
8221 details about that value
8222 - Change wep_tx_keyidx to a uint32
8223 - Create settings value tables for each setting defining their type,
8224 key name, offset into the NMSetting subclass' structure, and whether
8225 they are required and/or a secret
8226 - (nm_setting_populate_from_hash): generic function to populate an
8227 NMSetting from a GHash table, make all settings use it
8228 - (nm_setting_hash): generic function to derive a GHashTable from
8229 an NMSetting object, make all settings use it
8231 2007-09-14 Dan Williams <dcbw@redhat.com>
8233 Remove unused stuff in libnm-util
8236 libnm-util/Makefile.am
8237 libnm-util/cipher-private.h
8238 libnm-util/cipher-wep-ascii.c
8239 libnm-util/cipher-wep-ascii.h
8240 libnm-util/cipher-wep-hex.c
8241 libnm-util/cipher-wep-hex.h
8242 libnm-util/cipher-wep-passphrase.c
8243 libnm-util/cipher-wep-passphrase.h
8244 libnm-util/cipher-wpa-psk-hex.c
8245 libnm-util/cipher-wpa-psk-hex.h
8246 libnm-util/cipher-wpa-psk-passphrase.c
8247 libnm-util/cipher-wpa-psk-passphrase.h
8250 libnm-util/dbus-helpers.c
8251 libnm-util/dbus-helpers.h
8252 libnm-util/gnome-keyring-md5.c
8253 libnm-util/gnome-keyring-md5.h
8256 src/nm-device-802-11-wireless.c
8257 test/libnm-util/Makefile.am
8258 test/libnm-util/test-ciphers.c
8259 test/libnm-util/test-dbus-helpers.c
8260 test/libnm-util/test-inputs.h
8263 2007-09-14 Dan Williams <dcbw@redhat.com>
8265 * libnm-util/dbus-method-dispatcher.c
8266 libnm-util/dbus-method-dispatcher.h
8269 2007-09-14 Dan Williams <dcbw@redhat.com>
8271 Implement deferred activation support in the device class.
8273 * src/nm-device-interface.c
8274 src/nm-device-interface.h
8275 - (nm_device_interface_activate): take more arguments to support
8276 deferred activation; callers must pass one of (connection) OR
8277 (service_name, connection_path)
8278 - (impl_device_activate): connection validation is punted to the device
8279 to be able to handle deferred activation. Yes, this means errors
8280 don't get returned from the Activate() dbus call, and yes, that
8281 should be fixed somehow later.
8285 - (clear_act_request): clear additional deferred activation stuff too
8286 - (deferred_activation_timeout_cb): new function; clean up when
8287 deferred activation times out.
8288 - (deferred_activation_start_cb): new function; when the connection
8289 finally becomes available, start device activation
8290 - (nm_device_activate): attach to the right signals of the activation
8291 request if we need to defer activation until the connection is valid
8293 * src/NetworkManagerPolicy.c
8294 - (nm_policy_device_change_check): update for additional arguments
8295 required for nm_device_interface_activate(). Pass NULL for these
8296 though because this function already knows exactly which
8299 2007-09-14 Dan Williams <dcbw@redhat.com>
8301 Implement deferred activation handling in the NMActRequest class. When a
8302 client wants to activate a device but must create the NMConnection details
8303 on the fly, there likely hasn't been enough time yet for NM to receive the
8304 new connection signal and grab all the connection details. So the
8305 activation is deferred (and bounded by a timer) for a while, and if the
8306 connection appears within the window, it is activated.
8308 * src/nm-activation-request.c
8309 src/nm-activation-request.h
8310 - (nm_act_request_class_init): two new signals to support deferred
8311 activation, to allow the listener to handle both timeout and success
8312 - (nm_act_request_new_deferred): new function, starts the deferred
8313 activation timeout handler and listens to the NMManager for
8314 new-connection signals to notice when the connection comes in
8316 2007-09-14 Dan Williams <dcbw@redhat.com>
8320 - (nm_manager_get_connection_service_name,
8321 nm_manager_get_connection_dbus_path): get details about a connection
8322 known internally by the NMManager
8323 - (nm_manager_class_init): fix connection add/remove signal marshalers
8324 because NMConnection is now a GObject subclass
8325 - Use constant for the gobject data tag used on NMConnection objects for
8326 storing the associated DBusGProxy
8328 2007-09-14 Dan Williams <dcbw@redhat.com>
8333 src/supplicant-manager/Makefile.am
8334 src/dhcp-manager/Makefile.am
8335 src/backends/Makefile.am
8336 src/named-manager/Makefile.am
8337 src/ppp-manager/Makefile.am
8338 src/vpn-manager/Makefile.am
8339 test/libnm-util/Makefile.am
8340 test/test-common/Makefile.am
8341 - Remove utils/; it was unused
8343 2007-09-13 Dan Williams <dcbw@redhat.com>
8345 * libnm-glib/nm-vpn-manager.h
8346 libnm-glib/nm-vpn-manager.c
8347 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8349 2007-09-13 Dan Williams <dcbw@redhat.com>
8351 * src/nm-device-802-3-ethernet.c
8352 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8353 netlink monitor carrier signals on dispose, not bring down. The
8354 carrier signals should be handled over the entire lifetime of the
8355 device anyway, not created/destroyed on up or down.
8357 2007-09-13 Dan Williams <dcbw@redhat.com>
8359 * libnm-glib/nm-device.c
8360 libnm-glib/nm-device.h
8361 - (nm_device_activate): take a connection object path rather than an
8362 NMConnection because NMConnection isn't exported over D-Bus and
8363 therefore it dbus-glib can't automatically get an object path from it
8365 2007-09-13 Dan Williams <dcbw@redhat.com>
8367 * libnm-util/nm-setting.c
8368 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8370 2007-09-13 Tambet Ingo <tambet@gmail.com>
8372 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8374 2007-09-12 Tambet Ingo <tambet@gmail.com>
8376 * src/vpn-manager/nm-vpn-connection.[ch]:
8377 * src/vpn-manager/nm-vpn-manager.[ch]:
8378 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
8379 dbus-glib, GObjects, signals etc.
8381 * libnm-glib/nm-vpn-manager.[ch]:
8382 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8383 so much, rewrite these too.
8385 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8386 the new introspection files.
8388 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8390 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8391 the header with the same name from libnm-utils.
8393 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8395 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8397 * introspection/nm-vpn-plugin.xml: Implement.
8399 * introspection/nm-vpn-connection.xml: Implement.
8401 * introspection/nm-vpn-manager.xml: Implement.
8403 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8404 the named manager argument, it can just as easily get it as the caller.
8405 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8407 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8409 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8411 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8414 * libnm-util/nm-connection.c: Ditto.
8416 * src/NetworkManagerMain.h: Remove, it's finally empty.
8418 * configure.in: Remove utils/ from build.
8420 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8421 of hard-coded strings.
8423 * utils/: Move it over to libnm-util.
8425 * test/Makefile.am: Link against libnm-util now that util/ is gone.
8427 * dispatcher-daemon/Makefile.am: Ditto.
8429 * src/Makefile.am: Ditto.
8431 2007-09-12 Dan Williams <dcbw@redhat.com>
8433 Wireless connections can be made with config data from the applet now.
8437 * src/supplicant-manager/nm-supplicant-config.h
8438 src/supplicant-manager/nm-supplicant-config.c
8439 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8440 - (nm_supplicant_config_add_setting_wireless,
8441 nm_supplicant_config_add_setting_wireless_security): new functions;
8442 add key/value pairs from the settings objects to the supplicant
8445 * src/nm-device-802-11-wireless.c
8446 - (cull_scan_list): fix check to not prune currently associated AP
8447 - (build_supplicant_config, real_act_stage2_config): call the functions
8448 of the NMSupplicantConfig that parse settings objects rather than
8449 doing it manually here
8451 2007-09-12 Dan Williams <dcbw@redhat.com>
8453 * src/supplicant-manager/nm-supplicant-interface.c
8454 src/supplicant-manager/nm-supplicant-marshal.list
8455 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8456 "connection-error" signal arguments should be STRING not CHAR
8458 2007-09-12 Dan Williams <dcbw@redhat.com>
8460 * src/NetworkManagerUtils.c
8461 src/NetworkManagerUtils.h
8462 - (nm_utils_hexstr2bin): new function
8464 2007-09-11 Dan Williams <dcbw@redhat.com>
8467 - (connection_get_settings_cb): emit connection-added signal
8468 - (connection_removed_cb): uncomment bits for system settings service,
8469 send connection-removed when appropriate
8470 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8471 the stack by trying to g_object_set_data() on something that's
8472 not a GObject; handle case where settings service returns
8473 empty settings hash table
8475 2007-09-11 Dan Williams <dcbw@redhat.com>
8477 * src/NetworkManagerPolicy.c
8478 - (connection_added, connection_removed): trigger device change checks
8479 on connection changes
8481 2007-09-11 Dan Williams <dcbw@redhat.com>
8483 * src/nm-activation-request.c
8484 - (connection_secrets_updated_cb): fix c&p error in signal emission
8486 2007-09-11 Dan Williams <dcbw@redhat.com>
8488 * src/nm-device-802-11-wireless.c
8489 - (real_connection_secrets_updated): fix erroneous check
8491 2007-09-11 Dan Williams <dcbw@redhat.com>
8493 * introspection/nm-device.xml
8494 libnm-glib/nm-device.c
8495 libnm-glib/nm-device.c
8496 - Fix Activate call argument borkage; Activate takes 3 arguments
8498 2007-09-11 Dan Williams <dcbw@redhat.com>
8500 * libnm-glib/nm-access-point.c
8501 libnm-glib/nm-access-point.c
8502 - (nm_access_point_get_frequency): now returns guint32 to match
8503 property change on 2007-09-10
8505 2007-09-11 Dan Williams <dcbw@redhat.com>
8507 * src/nm-device-802-11-wireless.c
8508 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8509 somewhere defines 'index' and I missed this one when I fixed the
8510 shadow declaration errors earlier
8512 2007-09-11 Dan Williams <dcbw@redhat.com>
8514 * libnm-util/nm-connection.c
8515 - (nm_connection_update_secrets, need_secrets_check): move
8516 802-11-wireless-security need_secrets checks to the setting object
8517 itself, where it belongs
8519 * libnm-util/nm-setting.c
8520 libnm-util/nm-setting.h
8521 - (nm_setting_need_secrets): new function
8522 - (setting_wireless_security_verify,
8523 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8524 - (setting_wireless_security_need_secrets): mostly copy code over
8525 from nm-connection.c
8527 2007-09-11 Dan Williams <dcbw@redhat.com>
8529 * libnm-util/nm-setting.c
8530 libnm-util/nm-setting.h
8531 - (nm_setting_update_secrets): new function; add a virtual function that
8532 subclasses can implement to update their secrets
8533 - (setting_wireless_security_update_secrets): implement that function
8534 for the 802-11-wireless-security subclass
8536 * libnm-util/nm-connection.c
8537 libnm-util/nm-connection.h
8538 - (nm_connection_update_secrets): update secrets for a Setting and
8539 emit a signal on success
8544 - (connection_get_settings_cb): enable system settings bits
8545 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8546 to request secrets from the settings dbus service and to
8547 push those secrets to the NMConnection itself
8549 * src/nm-activation-request.c
8550 src/nm-activation-request.h
8551 - Attach to the 'secrets-updated' signal of the NMConnection that's
8552 currently being activated, and proxy that signal to other listeners.
8553 Goes through the activation request because the activation request
8554 is the thing that manages the lifetime of the NMConnection that's
8557 * src/nm-device-802-11-wireless.c
8558 - (real_connection_secrets_updated): implement the connection secrets
8559 updated notification and restart activation when secrets are
8561 - (real_act_stage2_config): request secrets from the settings dbus
8562 service if secrets are needed
8566 - (clear_act_request, nm_device_activation_cancel,
8567 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8568 where the activation request is cleared
8569 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8570 updated secrets signal of activation request and add a function
8571 that subclasses can override to handle it easily
8573 2007-09-11 Tambet Ingo <tambet@gmail.com>
8575 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8576 removal of NetworkManagerAPList.
8578 2007-09-10 Dan Williams <dcbw@redhat.com>
8580 * src/NetworkManagerAP.c
8581 src/NetworkManagerAP.h
8582 introspection/nm-access-point.xml
8583 - Change 'freq' property to a guint32 instead of a double since we
8584 weren't using the floating point bits anyway
8586 2007-09-10 Dan Williams <dcbw@redhat.com>
8588 * NetworkManagerAP.c
8590 NetworkManagerPolicy.c
8591 NetworkManagerSystem.c
8592 NetworkManagerUtils.c
8593 NetworkManagerUtils.h
8594 nm-device-802-11-wireless.c
8595 nm-device-802-3-ethernet.c
8598 vpn-manager/nm-dbus-vpn.c
8599 - Warning fixes; casts and removal of unused variables
8601 2007-09-10 Dan Williams <dcbw@redhat.com>
8603 * include/NetworkManager.h
8604 - Kill NMNetworkType; AP types don't matter any more
8606 * src/NetworkManagerAPList.c
8607 src/NetworkManagerAPList.h
8609 - Kill; NMAccessPointList has outlived it's usefulness
8611 * src/NetworkManagerAP.c
8612 src/NetworkManagerAP.h
8613 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8614 functions; check if an NMConnection object is compatible with the
8616 - (freq_to_channel, channel_to_freq): utility functions for
8617 channel <-> frequency conversion
8621 - (nm_device_get_best_connection): pass the specific object around
8622 (which might be the object path of a specific AP to connect to).
8623 The get_best_connection() call should populate this on return
8624 if needed (wireless does).
8626 * src/nm-device-802-3-ethernet.c
8627 - (real_get_best_connection): handle specific_object argument
8629 * src/NetworkManager.c
8630 src/NetworkManagerMain.h
8631 - Remove unused includes
8633 * src/nm-device-802-11-wireless.c
8634 src/nm-device-802-11-wireless.h
8635 - Convert the ap_list into a GSList from an NMAccessPointList
8636 - No need for caching the 'activation_ap' since this is now determined
8637 from the specific_object of the activation request, which is
8638 populated from the get_best_connection() call or from a user request
8639 - (nm_device_802_11_wireless_update_bssid): fix warning
8640 - (get_wireless_capabilities): fix error message format arguments
8641 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8642 - (find_best_connection, real_get_best_connection): implement
8643 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8644 move here from NetworkManagerAPList
8645 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8646 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8647 already verified earlier
8648 - (real_act_stage2_config): use nm_connection_need_secrets()
8650 * src/NetworkManagerPolicy.c
8651 - (nm_policy_auto_get_best_device): handle specific objects
8652 - (create_connection): remove; automatic connection creation functionality
8653 is handled by the Connection objects
8654 - (nm_policy_device_change_check): handle specific_object
8656 * libnm-util/nm-connection.c
8657 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8659 2007-09-10 Dan Williams <dcbw@redhat.com>
8662 - (query_connections): fix uninitialized variable problem that caused
8664 - (nm_manager_add_device): take devices down on startup so that we can
8665 be assured that nm_device_is_up() won't short-circuit the init
8666 process. Hack until the is_up check gets split into two pieces
8667 that aren't behaviorally confusing.
8669 2007-09-09 Dan Williams <dcbw@redhat.com>
8671 * introspection/nm-device.xml
8672 - The 'Activate' method now takes 3 arguments, a service name for the
8673 settings service (user or system), the object path of the connection
8674 to activate, and the specific object to activate, if any
8676 * src/nm-device-interface.c
8677 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8679 - (impl_device_activate): adapt to new Activate arguments; validate
8680 the service name and get the Connection object from the NMManager
8681 before starting to activate the device with the specified connection
8683 * src/nm-device-802-3-ethernet.c
8684 - (real_get_best_connection): find the best connection, or create a
8685 default one if no existing connections can be used
8687 * src/NetworkManagerPolicy.c
8688 - (nm_policy_auto_get_best_device): Get the device's best connection
8689 and only pick the device if it has one
8690 - (nm_policy_device_change_check): disable wireless bits for now until
8691 wireless get_best_connection() can be implemented (replacing "best_ap");
8692 don't create a default connection here as the device subclass will do
8697 - (nm_manager_get): make NMManager a singleton and expose the getter
8699 - Rework internal NMManager connection handling to use the same
8700 routines for both the system and user settings services. Most calls
8701 take a new NMConnectionType argument specifying either system or user
8703 - (nm_manager_get_connection_by_object_path): new function; get a
8704 connection keyed on its object path
8706 * src/NetworkManager.c
8707 - (main): use nm_manager_get()
8709 2007-09-09 Dan Williams <dcbw@redhat.com>
8713 - (nm_device_get_best_connection): new function; get best connection
8714 for the device at that time
8716 2007-09-09 Dan Williams <dcbw@redhat.com>
8718 * src/nm-device-interface.h
8719 - Add NMDeviceInterfaceError with an UnknownConnection error
8721 2007-09-09 Dan Williams <dcbw@redhat.com>
8723 Stupid mistake on my part; object path and interface for settings service
8724 and connection objects can be the same, only the service name must be
8725 different for the system and user settings services.
8727 * include/NetworkManager.h
8729 introspection/nm-settings-connection.xml
8730 introspection/nm-settings.xml
8731 libnm-glib/nm-settings.c
8732 - (nm_connection_settings_init, query_user_connections,
8733 new_connection_cb): Unify NetworkManagerSettings and Connection
8734 interface name and object path
8736 2007-09-06 Dan Williams <dcbw@redhat.com>
8738 * libnm-glib/nm-object.c
8739 - (nm_object_get_string_property, nm_object_get_object_path_property,
8740 nm_object_get_int_property, nm_object_get_uint_property,
8741 nm_object_get_boolean_property, nm_object_get_byte_property,
8742 nm_object_get_double_property, nm_object_get_byte_array_property):
8743 clear GValues after copying their contents, fixes memory leaks
8744 after every property access because dbus-glib copies the values
8745 from the DBusMessage into the GValue already.
8747 2007-09-06 Dan Williams <dcbw@redhat.com>
8749 * introspection/nm-access-point.xml
8750 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
8751 them to be. There's some magic property name parsing going on in
8752 dbus-glib that breaks up property names based on studly-caps and
8753 puts - between words.
8755 * libnm-glib/nm-access-point.c
8756 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
8759 2007-09-06 Dan Williams <dcbw@redhat.com>
8762 - (nm_manager_user_connections_destroy): clear the user connections hash
8763 table, don't destroy it
8764 - (finalize): only destroy the hash table on NMManager finalization
8766 2007-09-02 Dan Williams <dcbw@redhat.com>
8768 * include/NetworkManager.h
8769 libnm-glib/nm-settings.c
8770 - defines for the user settings daemon D-Bus bits
8772 * src/NetworkManager.c
8773 - Remove stuff that referred to the old NetworkManagerInfo service
8775 * src/vpn-manager/nm-dbus-vpn.h
8776 - Move old NMI defines to the only place they are used still
8778 * libnm-util/nm-connection.c
8779 libnm-util/nm-connection.h
8780 src/nm-activation-request.c
8781 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
8785 - Get connections and their settings from the user settings daemon
8786 at the appropriate times
8788 2007-09-02 Dan Williams <dcbw@redhat.com>
8790 * libnm-util/nm-setting.c
8791 - (nm_settings_verify): correct setting name is 'connection', not 'info'
8792 - (setting_wireless_hash): set the right value on the item
8794 2007-09-02 Dan Williams <dcbw@redhat.com>
8798 - Remove, no longer useful
8800 2007-08-30 Dan Williams <dcbw@redhat.com>
8803 src/NetworkManagerDbus.c
8804 src/NetworkManagerDbus.h
8805 src/vpn-manager/nm-dbus-vpn.c
8806 - Remove, no longer necessary. Move last bits to the only place its
8807 used, in nm-dbus-vpn.c
8809 * src/NetworkManagerAPList.c
8811 src/NetworkManager.c
8812 src/nm-device-802-11-wireless.c
8813 src/vpn-manager/nm-vpn-manager.c
8814 src/vpn-manager/nm-vpn-service.c
8815 src/NetworkManagerPolicy.c
8817 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
8818 that was message_is_error()
8820 2007-08-30 Dan Williams <dcbw@redhat.com>
8823 - Include config.h to get defines for endiannes (gnome.org #420216)
8825 2007-08-30 Dan Williams <dcbw@redhat.com>
8827 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
8829 * src/ppp-manager/Makefile.am
8830 - use -fPIC (gnome.org #471825)
8832 2007-08-29 Dan Williams <dcbw@redhat.com>
8834 * include/NetworkManager.h
8835 - Keep NMConnection object path in sync
8837 * libnm-glib/nm-settings.c
8838 libnm-glib/nm-settings.h
8839 - Break D-Bus object registration out of the init function, because
8840 every object that's exported over D-Bus needs to use the _same_
8841 DBusConnection. Otherwise, each object would get a different object
8842 path tree and wouldn't be callable.
8844 2007-08-29 Dan Williams <dcbw@redhat.com>
8846 * libnm-util/nm-setting.h
8847 libnm-util/nm-setting.c
8848 libnm-util/nm-connection.c
8849 src/NetworkManagerPolicy.c
8850 - 'info' settings object should be 'connection' says the spec
8851 at NetworkManagerConfigurationSpecification
8853 2007-08-29 Dan Williams <dcbw@redhat.com>
8855 * libnm-glib/nm-settings.c
8856 libnm-glib/nm-settings.h
8857 - make the dbus path a property of the object, and autogenerate it.
8858 It can't be composed of the 'id' field becuase that's not available
8859 yet during the GObject creation in nm_connection_settings_init()
8861 2007-08-29 Dan Williams <dcbw@redhat.com>
8863 * introspection/nm-settings-connection.xml
8864 introspection/nm-settings.xml
8865 - Service name -> NetworkManagerUserSettings because two services
8866 can't share part of the same path. I'm not really sure how we'll use
8867 the same code with the system-settings daemon...
8869 2007-08-28 Dan Williams <dcbw@redhat.com>
8871 * src/nm-device-interface.c
8872 src/nm-device-interface.h
8873 - Kill one more bit of NMData
8875 2007-08-28 Dan Williams <dcbw@redhat.com>
8877 * src/NetworkManagerSystem.h
8880 src/nm-hal-manager.c
8881 src/NetworkManager.c
8882 src/nm-device-802-11-wireless.c
8883 src/nm-hal-manager.h
8884 src/nm-device-802-3-ethernet.c
8885 src/vpn-manager/nm-vpn-service.h
8886 src/vpn-manager/nm-vpn-manager.c
8887 src/vpn-manager/nm-vpn-manager.h
8888 src/vpn-manager/nm-vpn-service.c
8889 src/nm-device-802-11-wireless.h
8890 src/NetworkManagerMain.h
8891 src/nm-device-802-3-ethernet.h
8892 src/backends/NetworkManagerGentoo.c
8893 src/backends/NetworkManagerPaldo.c
8894 src/backends/NetworkManagerFrugalware.c
8895 src/backends/NetworkManagerRedHat.c
8896 src/backends/NetworkManagerSlackware.c
8897 src/backends/NetworkManagerGeneric.c
8898 src/backends/NetworkManagerArch.c
8899 src/backends/NetworkManagerSuSE.c
8900 src/backends/NetworkManagerGeneric.h
8901 src/backends/NetworkManagerDebian.c
8904 2007-08-28 Dan Williams <dcbw@redhat.com>
8906 * src/NetworkManagerMain.h
8907 src/nm-device-802-11-wireless.c
8908 src/NetworkManager.c
8909 - Remove invalid AP list from NMData; need to rework this somewhat, but
8910 for now we should set the 'invalid' property on individual APs, and when
8911 we need to invalidate a whole ESS, set the 'invalid' on every member of
8914 2007-08-28 Dan Williams <dcbw@redhat.com>
8916 * src/NetworkManagerAP.c
8917 src/NetworkManagerAP.h
8918 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
8919 'autoconnect' property instead
8921 * src/NetworkManager.c
8922 src/NetworkManagerMain.h
8923 src/NetworkManagerPolicy.c
8924 src/NetworkManagerPolicy.h
8925 - Remove the 'allowed_ap_list', which should be replaced by
8926 NMConnection/NMSettings instead, since _those_ are the allowed
8927 things that NM can connect to
8929 * src/nm-device-802-11-wireless.c
8930 - Remove both allowed_ap_list usage and 'fallback' checking
8932 2007-08-28 Dan Williams <dcbw@redhat.com>
8935 src/named-manager/nm-named-manager.c
8936 src/named-manager/nm-named-manager.h
8937 src/NetworkManager.c
8938 src/vpn-manager/nm-vpn-manager.c
8939 src/NetworkManagerMain.h
8940 src/NetworkManagerSystem.c
8941 - Remove the named-manager object from NMData structure in preparation
8942 for NMData's timely death. Make the NMNamedManager the singleton that
8945 2007-08-28 Dan Williams <dcbw@redhat.com>
8947 Remove NMAPSecurity objects, they are replaced with flags on the APs for
8948 each AP's capabilities, and by NMConnection/NMSettings objects for user
8949 defined connections.
8951 * include/NetworkManager.h
8952 - Redefine 802.11 security properties. There are now device capabilities
8953 and AP flags and AP security flags. It was way to unclear before.
8956 src/nm-ap-security-leap.h
8957 src/nm-ap-security-leap.c
8958 src/nm-ap-security-wpa-eap.c
8959 src/nm-ap-security-wpa-eap.h
8960 src/nm-ap-security-private.h
8961 src/nm-ap-security-wpa-psk.c
8962 src/nm-ap-security-wpa-psk.h
8963 src/nm-ap-security-wep.c
8964 src/nm-ap-security-wep.h
8965 src/nm-ap-security.c
8966 src/nm-ap-security.h
8967 - Removed, to be replaced with NMConnection/NMSettings objects
8971 - Removed, to be replaced by code that talks to the new info daemon
8972 interface and gets NMConnection/NMSettings objects
8974 * src/backends/NetworkManagerSuSE.c
8975 - Remove usage of NMAPSecurity; should be replaced by a system-level
8976 info-daemon that does the same thing but talks the new info-daemon
8979 * src/NetworkManagerAP.h
8980 src/NetworkManagerAP.c
8981 src/NetworkManagerAPList.c
8982 libnm-glib/libnm-glib-test.c
8983 - Remove usage of NMAPSecurity objects and adjust to new flags for
8986 * libnm-glib/nm-access-point.c
8987 libnm-glib/nm-access-point.h
8988 introspection/nm-access-point.xml
8990 - Adjust to new flags for AP security
8994 src/vpn-manager/nm-dbus-vpn.c
8995 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
8996 stuff which is the only place it's used
8998 * src/nm-device-interface.c
8999 src/nm-device-interface.h
9000 introspection/nm-device.xml
9001 src/nm-activation-request.c
9002 src/nm-activation-request.h
9004 - Add a new 'specific_object' argument that hints to NM what actual
9005 AP or other device-specific thing the connection should apply to.
9006 NMConnection objects can apply to more than one actual device/AP.
9008 * libnm-util/nm-connection.c
9009 * libnm-util/nm-connection.h
9010 - Add 'have_secrets" call stubs
9012 * libnm-util/cipher.h
9013 - Move NM_AUTH_TYPE_* defines here for now
9015 * src/nm-device-802-11-wireless.c
9016 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9019 * src/NetworkManagerDbus.c
9020 * src/NetworkManagerPolicy.c
9021 - Remove usage of update_allowed_networks, should be pushing data in
9024 2007-08-27 Tambet Ingo <tambet@gmail.com>
9026 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9027 dbus-glib frees it when the call is done.
9029 2007-08-26 Dan Williams <dcbw@redhat.com>
9031 * introspection/nm-device.xml
9032 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9034 2007-08-26 Dan Williams <dcbw@redhat.com>
9036 * src/nm-device-802-3-ethernet.c
9037 - (constructor): move connection of interface-connected/disconnected
9038 signals here from real_bring_up(). Should be listening to netlink
9039 for carrier events no matter what the initial state of the device
9042 2007-08-26 Dan Williams <dcbw@redhat.com>
9044 * src/nm-netlink-monitor.c
9045 - (nm_netlink_monitor_class_init): fix marshalling types for
9046 interface-connected/interface-disconnected
9047 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9050 2007-08-26 Dan Williams <dcbw@redhat.com>
9052 Convert to using interface indexes as the primary method of identifying
9053 devices inside NetworkManager. Indexes are (?) stable, but devices can
9054 be renamed at any time. Device object paths now refer to the device
9055 index rather than the name, and you can map those two manually if you like
9056 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9057 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9058 to use interface indexes rather than names.
9060 2007-08-26 Dan Williams <dcbw@redhat.com>
9062 * src/nm-netlink-monitor.h
9063 - Remove one last bit of wireless-event signal
9065 2007-08-26 Dan Williams <dcbw@redhat.com>
9067 * src/nm-netlink-monitor.c
9068 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9069 don't need the 'wireless-event' signal anymore since that's all
9070 handled by wpa_supplicant
9072 2007-08-25 Dan Williams <dcbw@redhat.com>
9074 It's 2007. Remove support for drivers that don't support wireless scanning.
9077 include/NetworkManager.h
9078 src/NetworkManagerUtils.c
9079 src/NetworkManagerPolicy.c
9080 src/nm-device-802-11-wireless.c
9081 - Remove special handling for non-scanning devices and mark them
9082 as unsupported/unhandled
9084 2007-08-20 Dan Williams <dcbw@redhat.com>
9086 * src/nm-device-802-11-wireless.c
9087 src/nm-device-802-3-ethernet.c
9088 - (real_is_up): move device-specific tests before generic IFF_UP test,
9089 because when the card is pulled or the module removed, the device
9090 is already !IFF_UP and then device-specific cleanup (removing
9091 the supplicant interface, periodic checks, etc) never gets done
9093 2007-08-20 Dan Williams <dcbw@redhat.com>
9096 - (nm_manager_remove_device): bring device down before disconnecting
9097 signal handlers, so that the 'state' signal will get broadcast when
9098 the device enters the DOWN state
9099 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9100 of states that cause the NMManager to recheck its state
9102 2007-08-20 Dan Williams <dcbw@redhat.com>
9104 * src/supplicant-manager/nm-supplicant-interface.c
9105 - (interface_disconnect_done): don't try to dispose of the net proxy
9106 when it may already have been disposed of
9108 2007-08-20 Dan Williams <dcbw@redhat.com>
9110 * src/nm-device-802-11-wireless.c
9111 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9112 the SSID isn't available; this can happen when the card is pulled
9113 or the module unloaded, during the post-removal deactivation
9114 paths, when the ioctl returns ENODEV
9116 2007-08-20 Dan Williams <dcbw@redhat.com>
9118 * src/nm-device-802-11-wireless.c
9119 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9120 frequency, and mode match. Applets are now responsible for grouping
9123 2007-08-20 Dan Williams <dcbw@redhat.com>
9125 * src/NetworkManagerAP.c
9126 * src/NetworkManagerAP.h
9127 - (nm_ap_print_self): new function
9129 * src/NetworkManagerAPList.c
9130 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9133 2007-08-17 Dan Williams <dcbw@redhat.com>
9135 * src/nm-device-802-3-ethernet.c
9136 - (real_bring_down): don't try to dispose of stuff that might not
9139 2007-08-17 Dan Williams <dcbw@redhat.com>
9141 * src/NetworkManagerAP.c
9142 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9143 applet. This ensures that the case between the seen-bssids and
9144 the bssids reported by the driver match.
9146 2007-08-17 Dan Williams <dcbw@redhat.com>
9148 * src/nm-device-802-11-wireless.c
9149 - (device_cleanup): disconnect the interface in wpa_supplicant before
9150 we dispose of the interface proxy in NM
9152 2007-08-16 Dan Williams <dcbw@redhat.com>
9154 * libnm-glib/nm-client.c
9155 - (nm_client_init): create VPN connections hash table with key free
9157 - (proxy_vpn_connection_added): VPN connections hash table key should
9158 be a duplicated value, not the same memory address as the VPN
9159 connection name. This is because the VPN connection name could
9160 potentially be freed and set to something else during the lifetime
9161 of the NMVPNConnection object.
9163 2007-08-16 Tambet Ingo <tambet@gmail.com>
9165 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9166 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9167 with the file descriptors. Send a child setup function to change the pppd
9170 2007-08-15 Dan Williams <dcbw@redhat.com>
9172 * src/supplicant-manager/nm-supplicant-interface.c
9173 - (try_remove_iface): new function, ask wpa_supplicant to remove
9175 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9176 disposing of the NMSupplicantInterface. Otherwise weird stuff
9177 happens on hotplug if wpa_supplicant doesn't tear down and readd
9178 the interface internally
9180 2007-08-15 Dan Williams <dcbw@redhat.com>
9182 * src/nm-device-802-11-wireless.c
9183 - (real_bring_down): move most of this function into device_cleanup()
9184 so that it can be called from elsewhere
9185 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9186 and stuff on dispose. These would normally get cleaned up when
9187 the device is marked down and deactivated, but when the device is
9188 hot-unplugged, it's already down and real_down() never gets run
9190 2007-08-15 Dan Williams <dcbw@redhat.com>
9193 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9194 caused a reference leak on device for which NM requested a key
9196 2007-08-15 Dan Williams <dcbw@redhat.com>
9198 * libnm-glib/nm-client.c
9199 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9201 2007-08-15 Tambet Ingo <tambet@gmail.com>
9203 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9204 nothing is using it at the moment, but it'll be all useful and stuff later on.
9206 * libnm-util/nm-setting.h: Define NMSettingPPP.
9208 * libnm-util/nm-setting.c: Implement NMSettingPPP.
9210 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9212 * src/Makefile.am: Add ppp-manager to SUBDIRS.
9214 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9216 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9218 2007-08-14 Tambet Ingo <tambet@gmail.com>
9220 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9222 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9223 an issue with dbus-glib bindings generator. The issue is, the generated C caller
9224 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9225 name and different arguments and it won't compile anymore. To fix this, we now have
9226 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9227 that is new API + compatibility API and used by the daemon. The other,
9228 nm-manager-client.xml is only the new API without compatibility bits and is used
9229 by libnm-glib to make it compile.
9231 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9233 * src/nm-manager.c (impl_manager_legacy_sleep)
9234 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9235 interface functions for 0.6 branch.
9237 2007-08-14 Dan Williams <dcbw@redhat.com>
9239 * src/NetworkManagerAP.c
9240 - (nm_ap_new_from_properties): fix mistaken check of return value
9241 from memcmp (should expect 0)
9243 2007-08-14 Dan Williams <dcbw@redhat.com>
9245 (force-commit to fix wrong comment and partial commit of r2685; this
9246 commit actually applies to r2685)
9248 * src/NetworkManagerUtils.c
9249 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9250 ignores trailing nulls in the SSID to work around mismatches in
9251 expectations between WEXT and what the info-daemon passes back. The
9252 info-daemon would pass back the correct length, but due to the
9253 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9254 the device would always have an SSID + 1 depending on what versions
9255 of wpa_supplicant, the kernel, and NM you have. This was most often
9256 visible by just quitting the applet and relaunching, which caused
9257 NM to reassociated to the same network over again when reloading
9260 * src/NetworkManagerPolicy.c
9261 src/NetworkManagerUtils.h
9262 src/nm-device-802-11-wireless.c
9263 - Update for new parameter to nm_utils_same_ssid()
9265 2007-08-14 Dan Williams <dcbw@redhat.com>
9267 * src/NetworkManagerAP.c
9268 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
9269 I encountered a BSS that wasn't just hiding it's ESSID, it was
9270 setting the BSSID to all 0s. That confused the heck out of NM,
9271 plus it's useless and probably out-of-spec.
9273 2007-08-14 Dan Williams <dcbw@redhat.com>
9275 * callouts/Makefile.am
9276 src/dhcp-manager/nm-dhcp-manager.c
9277 src/dhcp-manager/nm-dhcp-manager.h
9278 src/dhcp-manager/Makefile.am
9279 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9281 2007-08-14 Dan Williams <dcbw@redhat.com>
9283 * src/dhcp-manager/nm-dhcp-manager.c
9284 - (dhclient_run): don't pass -x to dhclient until we figure out if
9285 it's really needed, get rid of unused xtra_args parameter
9287 2007-08-14 Dan Williams <dcbw@redhat.com>
9289 * include/NetworkManagerVPN.h
9290 src/vpn-manager/nm-dbus-vpn.c
9291 src/vpn-manager/nm-dbus-vpn.h
9292 src/vpn-manager/nm-vpn-act-request.c
9293 src/vpn-manager/nm-vpn-act-request.h
9294 src/vpn-manager/nm-vpn-service.c
9295 src/vpn-manager/nm-vpn-service.h
9296 libnm-glib/nm-vpn-connection.c
9297 libnm-glib/nm-vpn-connection.h
9298 libnm-glib/nm-client.h
9299 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
9300 NMVPNServiceState to clarify what they apply to
9301 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9302 NMVPNActStage -> NMVPNConnectionState for the same reason
9304 * libnm-glib/nm-client.c
9305 - Constant + type renames from above
9306 - Properly handle NameOwnerChanged/manager_running signals
9307 for NM service; only emit when state really changes
9308 - Use hash tables correctly so that the key (which was previously owned
9309 by the D-Bus message) now has the same lifetime as the value, since
9310 the key is now taken from the the NMVPNConnection itself. This
9311 really fixes the double-VPN names in the applet
9313 2007-08-13 Dan Williams <dcbw@redhat.com>
9315 Patch from Michael Biebl <biebl@debian.org>
9319 - Update for vpn-properties move
9321 2007-08-13 Dan Williams <dcbw@redhat.com>
9323 * libnm-glib/nm-client.c
9324 - Convert internal VPN connection tracking from a list to a hash table
9325 to easily avoid duplicates
9326 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9327 must be freed by the caller, like nm_client_get_devices()
9328 - (nm_client_remove_vpn_connection): don't let the removal signal
9329 leak through for NMVPNConnection objects that aren't actually
9331 - (manager_running): throw away VPN connection list when NM goes away,
9332 like with the device list
9334 2007-08-13 Dan Williams <dcbw@redhat.com>
9336 * src/dhcp-manager/nm-dhcp-manager.c
9337 - Stop any dhclient instance that might be already running for a
9338 particular interface before starting an NM spawned dhclient. Fixes
9339 dhclient processes left over if NM crashes, stuff like that.
9341 2007-08-13 Dan Williams <dcbw@redhat.com>
9343 * src/NetworkManagerAP.c
9344 - (finalize): don't try to g_array_free (NULL, ...), which happened
9345 when the AP wasn't broadcasting it's SSID
9347 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
9349 * include/NetworkManager.h: added DBus path for connection settings.
9351 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9352 nm_connection_settings_signal_updated,
9353 nm_connection_settings_signal_removed): new functions to wrap the
9355 (nm_connection_settings_init): register GObject with DBus.
9356 (nm_connection_settings_get_dbus_object_path): new function.
9358 * libnm-glib/Makefile.am: added libnmutil to link flags.
9360 2007-08-13 Tambet Ingo <tambet@gmail.com>
9362 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9364 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9365 libnm_glib directory got merged with libnm-glib/.
9367 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9369 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9370 Rename the library from libnm-glib to libnm_glib to maintain the library API
9371 compatibility with 0.6 branch.
9373 * Makefile.am: Remove gnome/ SUBDIR.
9375 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9377 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9379 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9381 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9383 Remove checks for wpa_supplicant binary, it's used over dbus.
9384 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9386 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9387 Link the binaries with libnm_glib.la.
9389 2007-08-12 Dan Williams <dcbw@redhat.com>
9391 * src/NetworkManagerPolicy.c
9392 - (nm_policy_device_change_check): fix policy to deactivate old device
9393 before activating new one, at least until the multiple active
9394 device support lands
9396 2007-08-12 Dan Williams <dcbw@redhat.com>
9398 * src/NetworkManagerPolicy.c
9399 - (nm_policy_new): hook up to connection-added / connection-removed
9400 signals instead of connections-changed
9402 2007-08-12 Dan Williams <dcbw@redhat.com>
9404 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
9405 Robert Frank <rfrank@redhat.com>
9407 * src/dhcp-manager/nm-dhcp-manager.c
9408 src/dhcp-manager/nm-dhcp-manager.c
9410 - Spawn and communicate with dhclient directly, through means of a
9411 custom dhclient callout script. Process callout D-Bus signals
9412 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
9413 sent via gobject signals rather than being driven by the dhcp manager
9416 2007-08-12 Dan Williams <dcbw@redhat.com>
9418 * callouts/nm-dhcp-client-action.c
9419 - (build_message): ignore non-DHCP-related environment variables
9421 2007-08-12 Dan Williams <dcbw@redhat.com>
9425 callouts/Makefile.am
9426 callouts/nm-dhcp-client-action.c
9427 callouts/nm-dhcp-client.conf
9428 - Add dhclient-executed callout that takes the place of dhclient-script
9429 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9432 2007-08-09 Tambet Ingo <tambet@gmail.com>
9434 [Based on patch by Helmut Schaa <hschaa@suse.de>]
9436 * libnm-glib/nm-client.h:
9437 * libnm-glib/nm-object.h:
9438 * libnm-glib/nm-vpn-connection.h:
9439 * libnm-glib/nm-settings.h:
9440 * libnm-glib/nm-device.h:
9441 * libnm-glib/nm-ip4-config.h:
9442 * libnm-glib/nm-access-point.h:
9443 * libnm-glib/nm-device-802-3-ethernet.h:
9444 * libnm-util/nm-setting.h:
9445 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9447 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9449 * libnm-glib/nm-access-point.c: Strength has type char.
9451 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9452 to fix build. GnomeDruid is deprecated in recent libgnomeui.
9454 * introspection/nm-access-point.xml: Strength property is char, not int.
9456 * src/NetworkManagerAP.c (set_property): Set strength from char.
9457 (get_property): Handle hidden APs (with empty SSID).
9458 Get strength value from char.
9459 (nm_ap_class_init): Strength property has char type.
9461 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
9463 * introspection/Makefile.am:
9464 * introspection/nm-settings.xml:
9465 * introspection/nm-settings-connection.xml: added Settings interfaces.
9467 * libnm-glib/nm-settings.[ch]:
9468 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9469 containing the DBus implementation.
9471 2007-07-26 Dan Williams <dcbw@redhat.com>
9473 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9475 * src/NetworkManagerSystem.c
9476 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9477 same subnet (#437396)
9479 2007-07-26 Dan Williams <dcbw@redhat.com>
9481 Patch from Kelemen Gábor <kelemeng@gnome.hu>
9483 * gnome/vpn-properties/nm-vpn-properties.c
9484 - Fix translatable strings (#445865)
9486 2007-07-26 Dan Williams <dcbw@redhat.com>
9488 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9491 - Remove useless junk (#412530)
9493 2007-07-10 Christopher Aillon <caillon@redhat.com>
9495 Patch from Robert Buchholz <rbu@gentoo.org>:
9499 * introspection/Makefile.am:
9500 Make make distcheck work again.
9502 2007-06-27 Dan Williams <dcbw@redhat.com>
9504 * Make SSIDs GByteArrays everywhere
9505 * Rename "essid" -> "ssid" everywhere that's appropriate
9506 * Refcount activation_ap member of the 802.11 wireless device class
9508 2007-06-27 Tambet Ingo <tambet@ximian.com>
9510 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9512 2007-06-22 Tambet Ingo <tambet@ximian.com>
9514 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9515 that we got a new AP when we just update existing AP properties.
9517 2007-06-21 Tambet Ingo <tambet@ximian.com>
9519 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9521 * nm-utils.[ch]: Remove.
9523 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9524 objects for easy property access and dbus connection handling.
9526 * libnm-glib/nm-client.c: Derive from NMObject.
9528 * libnm-glib/nm-device.c: Ditto.
9530 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9532 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9534 * libnm-glib/nm-ip4-config.c: Ditto.
9536 * libnm-glib/nm-access-point.c: Ditto.
9538 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9539 comparision. Currently used by the device activation code to determine if the new
9540 activation is the same as the old one.
9542 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9543 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9544 able to ask password for the AP.
9546 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9547 up if the device is already connected, tear down it's connection (if it isn't the
9548 same as new one) and start the activation.
9550 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9552 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9553 the issue where all APs are always listed as encrypted.
9555 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9556 their own registered paths.
9558 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9559 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9561 2007-06-13 Tambet Ingo <tambet@ximian.com>
9563 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9566 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9567 because the handling code will cause the next state change and signal listeners
9568 get the signals in wrong order.
9570 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9571 correctly in case of pending activation.
9573 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9574 Convert the essid byte array to string correctly, including the terminating NULL.
9576 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9577 mode with correct types.
9579 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9580 constructed info to dbus call instead of the activation request.
9582 2007-06-11 Christopher Aillon <caillon@redhat.com>
9584 Patch from Christian Persch <chpe@gnome.org>
9586 * libnm-glib/Makefile.am:
9587 * dispatcher-daemon/Makefile.am:
9588 Use the correct variables, the correct paths, and correct ordering. (446315)
9590 2007-06-11 Tambet Ingo <tambet@ximian.com>
9592 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9593 argument. The activation request is easy to retrieve.
9595 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9596 just to be a convenient location for devices to store random stuff.
9598 2007-06-11 Christopher Aillon <caillon@redhat.com>
9600 Patch from Alex Smith <alex@alex-smith.me.uk>
9602 * src/backends/NetworkManagerFrugalware.c:
9603 Update the FrugalWare backend to fix a few segfaults. (#392642)
9605 2007-06-08 Tambet Ingo <tambet@ximian.com>
9607 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9609 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9611 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9613 2007-06-06 Tambet Ingo <tambet@ximian.com>
9615 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9617 Implement NMSettingIP4Config.
9618 Finish NMSettingWired by adding all known members.
9619 (setting_wired_verify): Implement.
9620 Finish NMSettingWireless by adding all known members.
9621 (setting_wireless_verify): Implement.
9623 * libnm-util/nm-connection.c: Register "ipv4" setting.
9624 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9625 dump function, we can introspect the GHashTable which is used for sending connections
9628 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9629 Take GByteArray for essid, it's really not a string.
9631 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9632 Start DHCP request if setting is not passed or if it states that DHCP should be used.
9633 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9634 means overriding the values we got from DHCP.
9635 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9636 (nm_device_deactivate_quickly): Ditto.
9638 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9641 2007-05-07 Tambet Ingo <tambet@ximian.com>
9643 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9646 * libnm-glib/nm-device-802-11-wireless.c:
9647 (nm_device_802_3_ethernet_activate): Remove.
9649 * libnm-glib/nm-device-802-3-ethernet.c
9650 (nm_device_802_3_ethernet_activate): Remove.
9652 * libnm-glib/nm-device.c (nm_device_activate): Implement.
9654 * src/nm-device-802-3-ethernet.c: Implement the new activation using
9657 * src/nm-device-802-11-wireless.c: Store an activation AP once the
9658 activation has started.
9659 Implement the new activation using NMConnection.
9661 * src/nm-activation-request.c: Store a generic connection object instead
9662 of a wireless-specific AP.
9664 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9665 on device type, create a device specific connection object suitable for
9668 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9669 specific check to validate the connection and on success start the
9672 * src/nm-device-interface.h: Add a activate virtual function to the
9673 interface definition.
9675 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9676 (impl_device_activate): Implement.
9678 * introspection/nm-device.xml: Add a generic device activation interface
9679 that accepts an abstract NMConnection structure that has device-specific
9682 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9683 activation interface.
9685 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9686 activation interface.
9688 * libnm-util/nm-connection.c:
9689 * libnm-util/nm-connection.h:
9690 * libnm-util/nm-setting.c:
9691 * libnm-util/nm-setting.h: Add.
9693 * libnm-util/Makefile.am: Build the added files.
9695 * src/nm-dbus-manager.c
9696 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
9697 DbusConnection argument from 'name-owner-changed' signal. The manager
9698 is already passed as a first argument to the signal and the connection
9699 is easy enough to get from it.
9701 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
9702 Update the signature of the function.
9704 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
9707 * src/NetworkManager.c: Ditto.
9709 * src/named-manager/nm-named-manager.c
9710 (nm_named_manager_name_owner_changed): Ditto.
9712 * src/supplicant-manager/nm-supplicant-manager.c
9713 (nm_supplicant_manager_name_owner_changed): Ditto.
9715 * src/nm-hal-manager.c (name_owner_changed): Ditto.
9717 * src/dhcp-manager/nm-dhcp-manager.c
9718 (nm_dhcp_manager_name_owner_changed): Ditto.
9720 * src/nm-hal-manager.c: Add a list of device detectors and creators
9721 to make it easier to add new devices. Each device type has it's own
9722 entry in the table so adding new device types is only a matter of
9723 implementing a couple of functions, one for device detection and the
9724 other for device creation.
9726 2007-04-25 Dan Williams <dcbw@redhat.com>
9728 * initscript/RedHat/NetworkManager.in: remove trailing backslash
9731 2007-03-30 Dan Williams <dcbw@redhat.com>
9733 * src/NetworkManagerSystem.c
9734 - (nm_system_device_set_ip4_route): clean up and fix argument
9735 to nm_dev_sock_open()
9737 2007-03-28 Tambet Ingo <tambet@ximian.com>
9739 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
9740 data to correct types instead of always using string.
9742 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
9743 _not_ have NM_802_11_CAP_PROTO_NONE.
9744 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
9747 2007-03-27 Tambet Ingo <tambet@ximian.com>
9749 * libnm-glib/Makefile.am: Fix the build issue.
9751 2007-03-26 Tambet Ingo <tambet@ximian.com>
9753 * libnm-glib/nm-vpn-connection.h:
9754 * libnm-glib/nm-vpn-connection.c: Implement.
9756 * libnm-glib/nm-client.c: Add VPN support.
9758 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
9761 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
9764 2007-03-26 Dan Williams <dcbw@redhat.com>
9766 * src/NetworkManagerAPList.c
9767 * src/nm-device-802-11-wireless.c
9768 * src/NetworkManagerAP.c:
9769 - Store last seen as glong instead of GTimeVal.
9770 - Fix the upper bound of capabilities, it's a bitfield.
9772 2007-03-16 Tambet Ingo <tambet@ximian.com>
9774 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
9776 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
9777 "manager-running" signal that notifies the appearance/disappearance of NM.
9778 (nm_client_sleep): Implement.
9780 * libnm-glib/nm-device.c:
9781 * libnm-glib/nm-device-802-11-wireless.c:
9782 * libnm-glib/nm-device-802-3-ethernet.c:
9784 Don't inherit from DBusGProxy, add a proxy to private
9785 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
9786 for anything but their own dbus interface. DBusGProxy objects support only one
9787 interfaces and to work around this, NMDevice has spearate proxy for each dbus
9788 interface. The nice side effect of this change is that we do not create a new
9789 DBusGProxy object for each property access.
9791 2007-03-15 Tambet Ingo <tambet@ximian.com>
9793 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
9794 with zeroes before passing them to functions - the functions never do that and
9795 reading the values back may produce wrong values.
9796 (real_bring_up): Store the signal handler id ...
9797 (real_bring_down): ... So that it can be removed here.
9798 Disconnect the supplicant interface here as well.
9799 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
9800 from the access point instead of old $device/Networks/$essid.
9802 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
9803 device state is connected (instead of just having link/carrier).
9805 * src/nm-activation-request.c: Don't store NMData in activation request, it's
9806 already easily accessible through the device.
9808 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
9809 store it within the object.
9810 (nm_ap_get_dbus_path): Export it to public as well.
9812 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
9815 2007-03-12 Dan Williams <dcbw@redhat.com>
9817 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
9818 for non-carrier-detect capable devices, and useless for carrier-detect
9819 devices since we get notifications from netlink about carrier status anyway.
9821 * src/nm-device-802-3-ethernet.c
9822 - remove 'link_source_id' member from private data
9823 - (probe_link): remove and collapse into real_update_link()
9824 - (nm_device_802_3_periodic_update): remove
9825 - (real_is_up): check for sup_iface rather than link_source_id
9826 - (real_bring_up): return gboolean for success/fail; require that
9827 sup_iface be valid for device bringup to succeed
9828 - (real_bring_down): zero out link signal ids
9831 - (nm_device_activate_stage2_device_config): fail activation if device
9833 - (real_act_stage4_get_ip4_config): fail activation if device bringup
9835 - (nm_device_bring_up): return success/fail
9838 - bring_up now returns success/fail
9840 * src/nm-device-802-11-wireless.c
9841 - (real_bring_up): return success from bringup
9843 2007-03-07 Dan Williams <dcbw@redhat.com>
9845 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
9846 * src/nm-ap-security-wpa-psk.c
9847 - (real_write_supplicant_config): work with PSKs that may contain
9848 zeros in the binary format rather than treating it as a string
9850 2007-03-02 Tambet Ingo <tambet@ximian.com>
9852 * libnm-glib/nm-device-802-11-wireless.c
9853 (nm_device_802_11_wireless_get_capabilities): Implement.
9855 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
9857 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
9859 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
9860 reply only if it's not NULL. Not sure why this started happening right now.
9862 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
9863 code paths for when devices get removed on shutdown or when a device is just
9865 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
9866 gets freed so any signal from a device (disconnected for instance) would invoke
9867 NMState update which would crash.
9868 (nm_manager_remove_device): Bring the device down when it gets removed.
9870 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
9871 the unused dev_type.
9873 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
9874 reference to the added device, NMManager will own it (if it wants).
9876 * test/nm-tool.c: Rewrite using libnm-glib.
9878 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
9879 We get signalled when it changes.
9881 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
9884 * libnm-glib/nm-device.c: Cache the device state property.
9886 * libnm-glib/nm-access-point.c: Cache the strength property.
9888 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
9889 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
9890 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
9891 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
9892 the device is down, activating, or activated (in case of A/B/G cards).
9893 Remove some old dead ifdef'ed out code that used to configure wireless devices,
9894 it's all done through supplicant now.
9896 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
9897 counting issues with pending calls which caused leaks and crashes when
9898 interface was removed (now that the interface actually gets removed).
9900 * src/nm-call-store.c: Make a copy of data before running a foreach
9901 with user callback on it - The most common usage pattern is to cancel
9902 (and thus remove) all pending calls with foreach which would modify
9903 the hash table we're iterating over.
9905 * src/nm-manager.c: When a device is added, make sure it is "up". When
9906 it's removed or disabled due to disabling wireless or networking, bring
9909 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
9911 * src/nm-device-802-11-wireless.c:
9912 * src/nm-device-802-3-ethernet.c:
9914 - Remove "init" virtual function, all gobjects have a place for that
9915 already (constructor).
9916 - Replace "start" virtual function with "bring_up", devices can be
9917 brought up and down more than just on startup now.
9918 - Add "is_up" virtual function.
9919 - Implement one way to bring a device down instead of previous 4 different
9920 ways, each of witch did something different.
9922 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
9923 all it needs is the device interface.
9925 Get rid of NMData.dev_list (3 members to go).
9926 Get rif of NMData in a lot of places.
9928 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
9930 2007-02-23 Dan Williams <dcbw@redhat.com>
9932 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
9934 * src/NetworkManagerAP.c
9935 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
9936 OR-ing rather than AND-ing
9938 2007-02-20 Tambet Ingo <tambet@ximian.com>
9940 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
9941 "network-removed" signals.
9943 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
9945 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
9946 when receiving the signal from dbus.
9948 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
9951 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
9952 deactivation of the previously activated device working again.
9954 * src/nm-activation-request.c: Remove NMActStage property and it's getter
9957 * src/nm-device.c (nm_device_is_activated): Remove.
9958 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
9960 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
9961 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
9962 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
9963 NM_DBUS_SIGNAL_STATE_CHANGE signal.
9964 Remove NMNetworkStatus and NMActStage enums.
9966 2007-02-19 Tambet Ingo <tambet@ximian.com>
9968 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
9969 Handle device state changes and disconnect VPN if it's device deactivates.
9973 * src/nm-dbus-device.c:
9974 * src/nm-dbus-device.c:
9975 * src/nm-dbus-net.c:
9976 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
9978 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
9980 * src/nm-device.c (nm_device_get_by_udi):
9981 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
9982 implemented in the correct location (NMManager).
9983 Rip out all the test_device stuff.
9985 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
9986 failure handlers, it's all done by NMDevice already.
9988 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
9989 Remove the iochannel hack to route the unix signals to the main thread since
9990 we're not threaded anymore.
9992 * src/NetworkManagerAP.c: Implement HWAddress property.
9994 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
9995 automatically with dbus-glib.
9997 * src/nm-netlink-monitor.c:
9998 * src/nm-netlink-monitor.h:
9999 - Move it low in the class hierarchy, don't reference any NM types.
10000 - Remove private data from the header.
10001 - Use type safe checks in public API methods.
10002 - Make it a singleton so we don't have to pass the single reference around.
10004 2007-02-16 Tambet Ingo <tambet@ximian.com>
10006 * introspection/nm-ip4-config.xml: Implement.
10008 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10010 * libnm-glib/nm-ip4-config.c:
10011 * libnm-glib/nm-ip4-config.c: Implement.
10013 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10014 securities. APs reference security.
10016 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10017 be exported over DBUS.
10019 * src/nm-device-802-3-ethernet.c: Ditto.
10021 * src/NetworkManagerAP.c:
10022 * src/NetworkManagerAP.h:
10023 - Convert to GObject, export over DBUS.
10025 * src/nm-ip4-config.h:
10026 * src/nm-ip4-config.h:
10027 - Convert to GObject, export over DBUS.
10029 2007-02-12 Dan Williams <dcbw@redhat.com>
10031 Patch from Helmut Schaa <hschaa@suse.de>
10033 * vpn-daemons/pptp/configure.in
10034 vpn-daemons/pptp/Makefile.am
10035 vpn-daemons/openvpn/configure.in
10036 vpn-daemons/openvpn/Makefile.am
10037 vpn-daemons/vpnc/configure.in
10038 vpn-daemons/vpnc/Makefile.am
10039 - Add --without-gnome switch which disables building gnome bits
10041 2007-02-12 Tambet Ingo <tambet@ximian.com>
10043 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10045 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10047 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10050 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10052 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10054 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10057 - Remove old low-level dbus interface implementations and replace them
10058 with dbus-glib one.
10061 - Require dbus-glib >= 0.72.
10062 - Plug in new sources to build.
10065 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10066 to make it more convenient to use from GObject based programs.
10069 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10071 2007-02-09 Tambet Ingo <tambet@ximian.com>
10073 * src/nm-device-802-11-wireless.c:
10074 - Add "network-added" and "network-removed" signals.
10075 - Use gobject boilerplate macros to define the GObject.
10076 - Implement wireless device activation.
10077 - Remove activation_failure_handler and activation_success_handler
10078 and instead listen on state-changed signals and run the same code
10082 - Implment NMDeviceInterface::deactivate.
10083 - Remove activation_failure_handler and activation_success_handler
10084 virtual methods. Each device which is interested in these events
10085 can just listen on it's state changed signals.
10087 * src/NetworkManagerPolicy.c:
10088 - Move a bit more NMData usage to NMManager.
10089 - Remove activation scheduling bits.
10090 - Add listeners for wireless device's "network-added" and
10091 "network-removed" signals.
10092 - Listen device changed signals and deactivate currently activated
10093 device when another device start activating (for now).
10094 - Remove (nm_policy_schedule_device_change_check): There's never a need
10095 for calling this, the policy code knows exactly when this should happen,
10096 by listening on events from NMManager and NMDevices.
10098 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10101 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10102 method on the specific device instead of going to through policy code
10103 and determining the device type by passed in AP's existance.
10105 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10106 abstract NMDevice deactivation.
10108 2007-02-08 Tambet Ingo <tambet@ximian.com>
10110 * src/NetworkManager.c:
10111 - Set up all the shiny new managers.
10113 * src/NetworkManagerPolicy.c:
10114 - Add the beginnings of new NMPolicy code. Instead of requireing all
10115 classes to call into policy code, make the policy code kind of like
10116 a supervisor that monitors what's going on and drives the whole NM.
10118 * src/nm-hal-manager.c:
10119 * src/nm-hal-manager.h:
10120 - Collect all libhal code scattered around NM to this one class.
10121 - Listen libhal and NMManager events and add/remove devices to
10124 * src/nm-manager.c:
10125 * src/nm-manager.h:
10126 - Implment a replacement for NMData. NMData is now officially
10129 2007-02-05 Tambet Ingo <tambet@ximian.com>
10131 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10132 * src/supplicant-manager/nm-supplicant-interface.h
10133 * src/supplicant-manager/nm-supplicant-interface.c
10134 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10135 argument to boolean from enum.
10137 Make NMDevice abstract class, remove almost all references to it's
10138 subclasses (the last place gets removed with new policy manager). Add
10139 NMDeviceInterface (which NMDevice implements) so that when we have
10140 NMDevice exported over DBUS, there's a common NMDevice interface which
10141 all instances have, plus there's a device specific interface for each
10143 Remove functions (nm_device_is_802_3_ethernet) and
10144 (nm_device_is_802_11_wireless). There are already standard GObject macros
10145 for type safe checks.
10146 Use the updated supplican manager API.
10148 * src/nm-device-interface.h:
10149 * src/nm-device-interface.c:
10150 * src/nm-call-store.h:
10151 * src/nm-call-store.c: Implement.
10153 * src/supplicant-manager/nm-supplicant-interface.c:
10154 * src/supplicant-manager/nm-supplicant-interface.h:
10155 * src/supplicant-manager/nm-supplicant-manager.c:
10156 * src/supplicant-manager/nm-supplicant-manager.h:
10157 - Remove all private data type references from public header files.
10158 - Remove all references to other NM classes, this class is just a
10159 proxy between wpa_supplicant and NM so it doesn't have to know
10161 - Convert to dbus-glib bindings.
10162 - Type safe checks for public methods' arguments.
10163 - Store pending DBUS call ids to NMCallStore.
10165 * src/supplicant-manager/nm-supplicant-config.c:
10166 - Store config values in a GHashTable instead of GSList.
10168 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10170 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10173 * src/nm-device.c: Use the new DHCP manager API.
10175 * src/nm-activation-request.c:
10176 * src/nm-activation-request.h:
10177 - Remove all dhcp related properties and methods.
10179 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10181 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10183 * src/dhcp-manager/nm-dhcp-manager.c:
10184 * src/dhcp-manager/nm-dhcp-manager.h:
10185 - Convert it to GObject since we need to signal state changes.
10186 - Remove all references to other NM classes, this class is one
10187 of the lowest classes in our hierarchy.
10188 - One less class to use NMActRequest.
10189 - Make it singleton, one less user of NMData.
10190 - Remove a couple of sleep() calls.
10191 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10192 One less class to use the NM's custom tailored signal handlig.
10194 * Makefile.am: Generate marshallers, add them to build.
10196 2007-02-02 Dan Williams <dcbw@redhat.com>
10202 - Remove last bits referencing gnome applet
10204 2007-02-02 Dan Williams <dcbw@redhat.com>
10206 * src/vpn-manager/nm-vpn-service.c
10207 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10208 and NBNS server addresses
10210 2007-02-02 Tambet Ingo <tambet@ximian.com>
10212 * src/nm-dbus-manager.c:
10213 * src/nm-dbus-manager.h:
10214 - Convert all internal DBUS code to use dbus-glib bindings.
10215 - Remove GObject properties, we don't need them here.
10216 - Don't explicitly set things to NULL after freeing, glib is
10217 happy to do it if asked nicely (G_DEBUG=gc-friendly).
10218 - Make public API argument checks type safe.
10219 - Remove unnecessary (and wrong) cast to GObject for the first
10220 argument to g_signal_* calls - The first argument is a gpointer.
10221 - Export DBusGConnection to other cool classes that (are going to)
10224 2007-01-26 Dan Williams <dcbw@redhat.com>
10226 * libnm-util/dbus-dict-helpers.c
10227 libnm-util/dbus-dict-helpers.h
10228 - Coordinate style with wpa_supplicant version to minimize diff
10229 - Add uint32 array support
10230 - (nmu_dbus_dict_append_uint32_array): new function
10231 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10232 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10233 version; allow adding string array elements individually
10235 * test/libnm-util/test-dbus-dict-helpers.c
10236 - Test uint32 arrays
10238 2007-01-27 Jürg Billeter <j@bitron.ch>
10240 * src/backends/NetworkManagerPaldo.c
10241 - (nm_system_update_dns): clear nscd hosts cache
10243 2007-01-04 Dan Williams <dcbw@redhat.com>
10245 Threading removal related cleanups:
10247 - Use the glib default main context. Remove the device main context
10248 member from NMDevice, and the main_context member from NMData. Change
10249 all the idle and timeout scheduler functions to use plain
10250 g_idle_add() and g_timeout_add().
10252 - As a side-effect of the first change, nm_dbus_manager_get() no longer
10253 takes an argument; fix that up too.
10255 - Remove all locking, which is useless since we no longer use threads. For
10256 example, nm_get_device_by_iface_locked() has been removed. The global
10257 device list lock, the AP List lock, and all static locks in
10258 NetworkManagerPolicy.c have been removed. The locking utility functions
10259 in NetworkManagerUtils.c have also been removed.
10261 - Other cleanups in spacing and code style
10263 2007-01-01 Dan Williams <dcbw@redhat.com>
10265 Found by Bill Moss:
10267 * src/supplicant-manager/nm-supplicant-interface.c
10268 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10269 the supplicant interface wasn't already disconnected. Always
10270 call removeNetwork and disconnect unless the supplicant interface
10271 is in the DISCONNECTED or INACTIVE state.
10273 2006-12-28 Dan Williams <dcbw@redhat.com>
10275 Use a single thread for everything. With the move to wpa_supplicant
10276 and communication over D-Bus, there's no reason for multiple threads.
10277 Almost all of the blocking code has been removed, with one exception in
10278 the DHCP manager and a few in the VPN manager. This commit removes the
10279 per-device worker thread and fixes activation cancellation in the absence
10280 of threads. Further removal of thread-related code would be removing
10281 any locking code (like the device list lock) and simplification of logic
10282 around areas of code or data structures that are currently locked.
10285 dhcp-manager/nm-dhcp-manager.c
10286 nm-device-802-11-wireless.c
10287 nm-device-802-3-ethernet.c
10290 - Remove usage of multiple threads
10292 2006-12-19 Dan Williams <dcbw@redhat.com>
10294 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10295 plus a few other patches from wpa_supplicant bugzilla.
10298 src/NetworkManagerPolicy.c
10299 src/NetworkManagerUtils.c
10300 src/NetworkManagerUtils.h
10301 src/nm-ap-security-leap.c
10302 src/nm-ap-security-wep.c
10303 src/nm-ap-security-wpa-eap.c
10304 src/nm-ap-security-wpa-psk.c
10305 src/nm-ap-security.c
10306 src/nm-ap-security.h
10307 src/nm-device-802-11-wireless.c
10308 src/nm-device-802-11-wireless.h
10309 src/supplicant-manager/nm-supplicant-config.c
10310 src/supplicant-manager/nm-supplicant-config.h
10311 src/supplicant-manager/nm-supplicant-interface.c
10312 src/supplicant-manager/nm-supplicant-interface.h
10313 src/supplicant-manager/nm-supplicant-marshal.list
10314 src/supplicant-manager/nm-supplicant-settings-verify.c
10315 src/supplicant-manager/nm-supplicant-settings-verify.h
10316 - Move all connection management and association handling to
10317 wpa_supplicant over dbus, rather than spawning a private copy
10319 2006-12-19 Dan Williams <dcbw@redhat.com>
10321 * src/NetworkManagerPolicy.c
10322 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10323 better locking of the device change check handler ID. Incorrect
10324 locking was causing lost device change requests
10326 2006-12-18 Dan Williams <dcbw@redhat.com>
10328 * libnm-util/dbus-dict-helpers.c
10329 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10330 _nmu_dbus_dict_entry_get_byte_array): replace usage of
10331 dbus_message_iter_get_array_len() (Gnome.org #382898)
10333 2006-12-18 Dan Williams <dcbw@redhat.com>
10335 * gnome/libnm_glib/libnm_glib.c
10336 - Change dbus_connection_close() -> dbus_connection_unref()
10338 2006-12-11 Dan Williams <dcbw@redhat.com>
10340 * src/supplicant-manager/nm-supplicant-interface.c
10341 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10342 wpa_supplicant interface state
10343 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10344 state before transitioning to READY state
10346 2006-12-04 Dan Williams <dcbw@redhat.com>
10348 * src/nm-device-802-11-wireless.c
10349 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10350 odd length of ESSID returned from ieee80211 stack-based drivers
10352 2006-12-04 Dan Williams <dcbw@redhat.com>
10354 * src/nm-device-802-11-wireless.c
10355 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10356 IE handling blocks that cause mis-parsing of the IE
10358 2006-12-04 Dan Williams <dcbw@redhat.com>
10360 * src/nm-device-802-11-wireless.c
10361 - (init_supplicant_interface): new function; pull supplicant interface
10362 setup code out into standalone function since it must be called from
10363 two different places
10364 - (real_init): sup_mgr is now in private object data; get and track
10365 the supplicant manager object over the NMDevice subclass' lifetime
10366 and register a signal handler for its state signals; only try to
10367 initialize the supplicant interface if the supplicant manager is in
10368 the IDLE state (and therefore is ready for requests)
10369 - (request_wireless_scan): reschedule the scan request if (a) there is
10370 no supplicant interface yet (meaning wpa_supplicant isn't running
10371 or isn't ready yet), or (b) if the supplicant interface isn't ready
10373 - (supplicant_iface_connection_state_cb): new function; stub for
10374 handling supplicant interface connection state signals
10375 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10377 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10378 supplicant manager object that's being tracked starting with this
10381 2006-12-04 Dan Williams <dcbw@redhat.com>
10383 * src/supplicant-manager/nm-supplicant-interface.c
10384 - (nm_supplicant_interface_set_property): track signal handler ID
10385 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10387 2006-12-04 Dan Williams <dcbw@redhat.com>
10389 * src/supplicant-manager/nm-supplicant-interface.[ch]
10390 - (nm_supplicant_interface_get_state): new function
10392 2006-12-04 Dan Williams <dcbw@redhat.com>
10394 * src/supplicant-manager/nm-supplicant-interface.c
10395 - (bssid_properties_cb): don't treat DBus errors as valid
10396 scanned AP messages
10398 2006-12-04 Dan Williams <dcbw@redhat.com>
10400 * src/supplicant-manager/nm-supplicant-interface.[ch]
10401 - (nm_supplicant_interface_get_connection_state): new function
10402 - define new supplicant connection states
10403 - send a signal when the supplicant connection state changes
10405 2006-12-03 Dan Williams <dcbw@redhat.com>
10407 * src/supplicant-manager/Makefile.am
10408 src/supplicant-manager/nm-supplicant-connection.h
10409 src/supplicant-manager/nm-supplicant-connection.c
10410 src/supplicant-manager/nm-supplicant-config.h
10411 src/supplicant-manager/nm-supplicant-config.c
10412 src/supplicant-manager/nm-supplicant-types.h
10413 src/supplicant-manager/nm-supplicant-interface.h
10414 src/supplicant-manager/nm-supplicant-interface.c
10415 - Rename NMSupplicantConnection -> NMSupplicantConfig
10417 2006-12-03 Dan Williams <dcbw@redhat.com>
10419 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
10423 - Move VPN-related translatables to .skip
10425 * vpn-daemons/pptp/po/POTFILES.in
10426 - Update with new translatables
10428 2006-12-02 Dan Williams <dcbw@redhat.com>
10430 Patch from Christian Persch <chpe@gnome.org>
10432 * gnome/applet/Makefile.am
10433 gnome/applet/applet-dbus-devices.c
10434 gnome/applet/applet-notifications.c
10435 gnome/applet/applet.c
10436 gnome/applet/applet.h
10437 gnome/applet/main.c
10438 - Be a GtkStatusIcon on GTK+ >= 2.10
10440 2006-12-02 Dan Williams <dcbw@redhat.com>
10442 * gnome/applet/applet.c
10443 - (nma_update_info): fix two unecessary allocations
10445 2006-12-02 Dan Williams <dcbw@redhat.com>
10447 Patch from Michael Biebl <biebl@teco.edu>
10449 man/NetworkManager.1.in
10450 man/NetworkManagerDispatcher.1.in
10451 man/NetworkManager.8.in
10452 man/NetworkManagerDispatcher.8.in
10453 - Add .SH NAME stanzas
10454 - Move NM & NM Dispatcher manpages to section 8 (admin)
10456 2006-12-02 Dan Williams <dcbw@redhat.com>
10458 Patch from Christian Persch <chpe@gnome.org>
10461 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10463 2006-11-29 Tambet Ingo <tambet@ximian.com>
10465 Patch by Timo Hoenig <thoenig@suse.de>:
10466 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10469 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10470 we can't use the one from the main source directory.
10472 2006-11-27 Dan Williams <dcbw@redhat.com>
10474 Patch from Christian Persch <chpe@gnome.org>
10476 * gnome/applet/applet-dbus-devices.c
10477 - (hal_info_product_cb): fix memleak; free duped string.
10480 2006-11-27 Dan Williams <dcbw@redhat.com>
10482 Patch from Christian Persch <chpe@gnome.org>
10484 * gnome/applet/menu-items.c
10485 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10486 as gtk_progress_set_percentage is deprecated. Should
10487 work as far back as GTK+ 2.4. Gnome.org #379780
10489 2006-11-26 Dan Williams <dcbw@redhat.com>
10491 Scan using wpa_supplicant over DBus.
10493 * src/nm-device-802-11-wireless.c
10494 - remove wireless extensions netlink event handler bits
10495 (wireless_event_helper, nm_device_802_11_wireless_event)
10496 - remove wireless extensions scan event handler bits
10497 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10498 hex2byte, hex2num, request_and_convert_scan_results,
10499 free_process_scan_cb_data, scan_results_timeout,
10500 schedule_scan_results_timeout, cancel_scan_results_timeout)
10501 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10502 and request scans from the supplicant interface rather than directly
10503 - Move functionality of convert_scan_results() to cull_scan_list() and
10504 supplicant_iface_scanned_ap_cb()
10505 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10506 at the scan interval when the current scan has finished
10507 - (supplicant_iface_state_cb): start scanning when the supplicant
10508 interface enters the READY state, and stop scanning when it
10509 enters the DOWN state
10510 - (cull_scan_list): weed out old access points from the scan list
10511 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10512 point into an NMAccessPoint and merge it into the device's scan list
10514 * src/supplicant-manager/nm-supplicant-interface.c
10515 src/supplicant-manager/nm-supplicant-interface.h
10516 - Add a new signal "scan-result" which is issued when the supplicant
10517 notifies NM that a scan has completed
10518 - Add a new signal "scanned-ap" that notifies listeners of a new access
10519 point found in the scan. Called once for each access point that
10520 the supplicant interface object receives from the supplicant as a
10521 result of the "scanResults" method call
10522 - (wpas_iface_query_scan_results): don't wait 4s before querying
10523 for the initial scan results
10524 - (scan_request_cb): new function; send listeners the result
10525 (success, error) of a wireless scan request
10526 - (nm_supplicant_interface_request_scan): new function; ask the
10527 supplicant to perform an immediate wireless scan
10529 2006-11-25 Dan Williams <dcbw@redhat.com>
10531 * src/supplicant-manager/Makefile.am
10532 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10533 add HAL cflags/includes and named-manager includes directory
10535 * src/supplicant-manager/nm-supplicant-interface.h
10536 - New state STARTING to handle transition from INIT to READY where
10537 the addInterface pending call is still outstanding
10539 * src/supplicant-manager/nm-supplicant-interface.c
10540 - track pending calls differently since we may have more than one
10541 going on at any given time
10542 - request scan results from wpa_supplicant; but don't do it more often
10543 than every 4 seconds. Drivers that do background scanning
10544 (like the 'ipw' drivers) send a continuous stream of scan completion
10545 notifications, so we don't want to hammer the supplicant or dbus
10546 with requests for all scan results every time we get a completion
10549 2006-11-25 Dan Williams <dcbw@redhat.com>
10551 * src/supplicant-manager/nm-supplicant-types.h
10552 - new file; move all supplicant manager object typedefs here for
10555 * src/supplicant-manager/nm-supplicant-interface.c
10556 src/supplicant-manager/nm-supplicant-interface.h
10557 - new file; an object that interfaces an NMDevice object to the
10558 supplicant and handles signals from the supplicant. This object
10559 does all necessary DBus communication with wpa_supplicant.
10561 * src/supplicant-manager/nm-supplicant-manager.c
10562 src/supplicant-manager/nm-supplicant-manager.h
10563 - Actually do something. Track the state of the wpa_supplicant service
10564 and deal with its comings & goings. Handle life events of
10565 supplicant interfaces too.
10566 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10568 * src/supplicant-manager/nm-supplicant-connection.h
10569 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10571 * src/supplicant-manager/Makefile.am
10572 - Add new files to build, and add libnm-util to includes
10574 * src/nm-marshal.list
10575 - New marshaler type: VOID:UINT,UINT
10577 * src/nm-device-802-3-ethernet.c
10578 - (real_init): grab a supplicant interface
10579 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10580 - (supplicant_iface_state_cb): new function, stub for handling
10581 supplicant interface state changes
10583 * src/nm-device-802-11-wireless.c
10584 - (real_init): grab a supplicant interface
10585 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10586 - (supplicant_iface_state_cb): new function, stub for handling
10587 supplicant interface state changes
10589 * src/NetworkManager.c
10590 - (main): create and keep the supplicant manager around for the lifetime
10594 - Link to the supplicant manager sub-library and use the supplicant
10597 2006-11-25 Dan Williams <dcbw@redhat.com>
10599 Rework DBus manager signal handling to be more flexible. Previously,
10600 only one signal handler could be registered for a particular interface.
10601 The DBus manager now reference counts DBus bus matches and allows multiple
10602 clients to register signal handlers for the same interface and sender.
10604 * src/NetworkManager.c
10605 - (main): track NMI signal handler ID and remove it when we quit
10607 * src/NetworkManagerMain.h
10608 - Keep track of NMI signal handler ID
10610 * src/nm-dbus-manager.c
10611 src/nm-dbus-manager.h
10612 - rework signal handling; each signal handler references one signal
10613 match, but a signal match may be referenced by one or more
10614 signal handlers. Matches are refcounted and are destroyed when the
10615 last signal handler that references the match is removed. This is
10616 necessary because two signal handlers may end up requiring the same
10617 dbus bus match, so the match must live until the last signal handler
10618 is destroyed (for example, with the wpa_supplicant network interface
10621 * src/dhcp-manager/nm-dhcp-manager.c
10622 - (nm_dhcp_manager_new): track DHCP signal handler id
10623 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10625 * src/vpn-manager/nm-vpn-service.c
10626 - (nm_vpn_service_add_watch): track VPN service signal handler id
10627 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10629 2006-11-25 Dan Williams <dcbw@redhat.com>
10631 Suggested by Helmut Schaa <hschaa@suse.de>
10633 * src/vpn-daemons/nm-vpn-service.c
10634 - (supplicant_child_setup): new function
10635 - (supplicant_exec): make child process use a new process group id
10637 * src/nm-device-802-11-wireless.c
10638 - (nm_vpn_service_child_setup): new function
10639 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10642 2006-11-19 Dan Williams <dcbw@redhat.com>
10644 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
10645 * gnome/vpn-properties/nm-vpn-properties.c
10646 - clean up after renamed VPN connection
10648 2006-11-19 Dan Williams <dcbw@redhat.com>
10650 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
10651 * gnome/applet/applet-dbus-vpn.c
10652 - (nma_dbus_vpn_properties_cb): sort VPN connections
10654 * gnome/vpn-properties/nm-vpn-properties.c
10655 - (init_app): sort VPN connections
10657 2006-11-09 Dan Williams <dcbw@redhat.com>
10659 * src/NetworkManagerAPList.c
10660 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10661 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10662 from the nm_ap_list_get_ap_by_address() call was incorrect and
10663 broke hidden SSID matching. Found by Bill Moss.
10665 2006-10-25 Dan Williams <dcbw@redhat.com>
10668 - (nm_dbus_nm_set_active_device): return an empty success message on
10669 success, rather than falling through to the error case.
10671 2006-10-25 Dan Williams <dcbw@redhat.com>
10673 * src/NetworkManagerUtils.c
10674 - (nm_utils_supplicant_request_with_check): suppress messages for the
10677 2006-10-24 Dan Williams <dcbw@redhat.com>
10679 Reduce the number of times the Gnome applet wakes up, especially when
10680 it's doing absolutely nothing and is hidden. Initial patch by
10683 * gnome/applet/applet-dbus.c
10684 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10685 kill the redraw timeout. When NM starts up, start the redraw
10686 timeout. Also, if we get kicked off the bus for some reason,
10687 start the reconnection timeout if one's not already running.
10688 - (nma_dbus_init): better handling of error conditions, don't leak
10689 a half-initialized dbus connection
10690 - (nma_dbus_connection_watcher): consolidate places we reinitialize
10691 the applet's data, just call nm_dbus_init_helper()
10692 - (nma_start_dbus_connection_watch): new function, starts a periodic
10693 timeout that calls nma_dbus_connection_watcher()
10694 - (nma_dbus_init_helper): if we get a successful connection, kill the
10695 reconnection timeout, and don't start the reconnection timeout
10696 unconditionally anymore
10698 * gnome/applet/applet-dbus.h
10699 - Expose nma_start_dbus_connection_watch()
10701 * gnome/applet/applet.c
10702 - (nma_update_state): no longer static, called from applet-dbus.c for
10703 immediate UI updates on certain events
10704 - (nma_set_running): new function; take over setting applet->running,
10705 when not running (ie, NM is not active), don't activate the redraw
10706 timeout because we're not showing the applet anyway. When we are
10707 running (ie, NM is active), and only when we're running, start the
10709 - (nma_destroy): kill the redraw timeout by setting 'not running', and
10710 kill any reconnection timeout
10711 - (nma_get_instance): move one-off dbus initialization code here since
10712 nm_dbus_init_helper() gets called more than once, possibly by the
10713 reconnection timeout function too. And, when we start up, if we
10714 can't get a connection to the bus, start the reconnection timeout.
10715 But don't start the redraw timeout yet, only do that when we get
10716 NM's state and find out if it's running or not.
10718 * gnome/applet/applet.h
10719 - Add the reconnection GSource ID
10720 - Add prototypes for nma_set_running() and the no-longer-static
10723 2006-10-24 Dan Williams <dcbw@redhat.com>
10725 * src/vpn-daemons/nm-dbus-vpnc.c
10726 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
10727 pending call tracker
10728 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
10729 pending call tracker; register one-vpn-connection update pending
10730 call in pending call tracker
10731 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
10732 update pending call in pending call tracker
10733 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
10734 update pending call in pending call tracker; don't block waiting
10737 2006-10-19 Robert Love <rml@novell.com>
10739 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
10742 2006-10-14 Dan Williams <dcbw@redhat.com>
10744 * src/dhcp-manager/nm-dhcp-manager.c
10745 - (get_ip4_string, get_ip4_uint32s): have the caller pass
10746 the dbus connection and the device object path rather than
10747 constructing it inside both functions. Saves a bit of memory
10748 and clarifies a failure path.
10749 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
10750 and allocate device path here rather than each of the two
10753 2006-10-13 Dan Williams <dcbw@redhat.com>
10755 * src/NetworkManager.c
10756 - (nm_name_owner_changed_handler): handle NMI coming and going,
10757 this somehow droppout in the refactor
10759 2006-10-13 Dan Williams <dcbw@redhat.com>
10761 * Huge DBus refactor:
10762 - Create a "DBus Manager" object which manages the connection and
10763 sends signals on NameOwnerChanged and connection/disconnection events,
10764 handles reconnection to the bus if NM gets kicked off, and abstracts
10766 - Remove DBusConnection members from places where they are no
10767 longer needed due to the refactor, like the dbus-connection
10768 property of the named manager, and from NMData
10769 - Reformats a bunch of the code to gnome style
10770 (8-space tabs, braces on same line as statement, 80-col width).
10771 Consider it open season to reformat any bits to gnome style.
10772 style that aren't already.
10774 2006-10-13 Dan Williams <dcbw@redhat.com>
10776 * src/supplicant-manager/Makefile.am
10779 * src/supplicant-manager/nm-supplicant-manager.[ch]:
10780 - Make it a minimal GObject
10782 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
10783 - Verify settings destined for wpa_supplicant
10785 * src/supplicant-manager/nm-supplicant-connection.[ch]:
10786 - Minimal GObject to track wpa_supplicant controlled device
10789 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
10791 * gnome/applet/applet.c: (nma_update_info),
10792 (nma_act_stage_to_pixbuf), (nma_update_state):
10793 Mark missing strings for translation. Fixes bug #343306.
10795 2006-10-01 Dan Williams <dcbw@redhat.com>
10797 * src/vpn-manager/nm-vpn-manager.c
10798 - (nm_vpn_manager_load_services): split and clean up
10799 for readability and correctness. Restrict VPN service
10800 files to ending in ".name", as was meant from the
10801 beginning (but not coded in). Better error reporting.
10803 2006-10-01 Dan Williams <dcbw@redhat.com>
10806 - Clean up formatting of debug/info/warning log messages
10808 2006-09-27 Robert Love <rml@novell.com>
10810 Patch by Tambet Ingo <tambet@ximian.com>:
10811 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
10814 2006-09-07 Dan Williams <dcbw@redhat.com>
10817 test/libnm-util/Makefile.am
10818 test/nm-supplicant-test.c
10819 - Add test program emulating the way NM drives wpa_supplicant
10820 to help debug supplicant issues
10822 2006-08-24 Dan Williams <dcbw@redhat.com>
10826 src/supplicant-manager/Makefile.am
10827 src/supplicant-manager/nm-supplicant-manager.c
10828 src/supplicant-manager/nm-supplicant-manager.h
10829 - Add skeleton bits of the wpa_supplicant manager
10831 2006-08-24 Dan Williams <dcbw@redhat.com>
10833 Patch from Ed Catmur:
10834 * src/NetworkManagerUtils.c
10835 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
10836 if netmask is 0 (Gnome #352634)
10838 2006-08-17 Robert Love <rml@novell.com>
10840 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
10841 package is now DBUS-enabled and listens for the NM signals.
10843 2006-08-14 Dan Williams <dcbw@redhat.com>
10845 * Patch from Christian Persch <chpe gnome org>
10848 vpn-daemons/openvpn/po/LINGUAS
10849 vpn-daemons/openvpn/configure.in
10850 vpn-daemons/pptp/po/LINGUAS
10851 vpn-daemons/pptp/configure.in
10852 vpn-daemons/vpnc/po/LINGUAS
10853 vpn-daemons/vpnc/configure.in
10854 - Convert to LINGUAS method so translators don't have to modify
10855 configure.in, just stuff in po/. Gnome #343132, requires intltool
10858 2006-08-14 Dan Williams <dcbw@redhat.com>
10860 Patch from Alex Smith <alex.extreme2@gmail.com>
10862 src/backends/Makefile.am
10863 src/backends/NetworkManagerFrugalware.c
10864 - Add support for Frugalware
10866 2006-08-13 Dan Williams <dcbw@redhat.com>
10868 Patch from Valentine Sinitsyn <e_val@inbox.ru>
10869 * src/nm-device-802-11-wireless.c
10870 - (supplicant_exec): spawn wpa_supplicant without debug spew
10873 2006-08-13 Dan Williams <dcbw@redhat.com>
10875 Patch from Valentine Sinitsyn <e_val@inbox.ru>
10876 * src/nm-ap-security.c
10877 src/nm-ap-security.h
10878 - Add authentication_required bits for subclasses to specify whether
10879 or not real authentication is required for connections, i.e. whether
10880 the AP rejects us when an encryption key is wrong or not.
10882 * src/nm-ap-security-wep.c
10883 src/nm-ap-security-wpa-eap.c
10884 src/nm-ap-security-wpa-psk.c
10885 src/nm-ap-security-leap.c
10886 - Implement authentication_required appropriately for each method
10888 * src/nm-device-802-11-wireless.c
10889 - Be smarter about when to request a key; for example, using a wrong key
10890 in WEP shared key mode previously just timed out and did not request
10893 2006-08-13 Dan Williams <dcbw@redhat.com>
10895 * gnome/libnm_glib/libnm_glib.c
10896 - dbus_connection_disconnect() -> dbus_connection_close() for
10899 2006-08-07 Dan Williams <dcbw@redhat.com>
10901 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10902 * src/NetworkManagerSystem.c
10903 - Respect specified MTU. Gnome #344967
10905 2006-08-07 Dan Williams <dcbw@redhat.com>
10907 * src/vpn-manager/nm-vpn-service.c
10908 - Simplify print_vpn_config() arguments
10910 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10911 * src/vpn-manager/Makefile.am
10912 src/vpn-manager/nm-vpn-service.c
10913 - Add new API for passing VPN config options as a dict. Gnome #344967
10915 2006-08-06 Dan Williams <dcbw@redhat.com>
10917 * gnome/applet/applet-dbus-devices.c
10918 gnome/applet/applet-dbus-vpn.c
10919 gnome/applet/applet-dbus.c
10920 gnome/applet/applet-dbus.h
10924 - Make pending call tracking code generic,
10925 so we can use it in NM as well as the applet
10927 2006-08-06 Dan Williams <dcbw@redhat.com>
10929 * src/nm-activation-request.c
10930 - Refcount pending call objects
10932 2006-08-06 Dan Williams <dcbw@redhat.com>
10934 Patch from Christan Chiesa <christanc@gmail.com>
10936 - Tell sha1.c to use bigendian mode on PPC
10938 2006-08-04 Robert Love <rml@novell.com>
10940 Glib Memory Slices!
10941 * configure.in: Require glib 2.10 or later.
10942 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
10943 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
10944 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
10945 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
10946 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
10947 Memory Slices are the greatest thing since bread slices.
10948 * src/NetworkManagerAP.c: Also, fix memory leak.
10950 2006-08-01 Robert Love <rml@novell.com>
10952 * gnome/applet/main.c: Shutdown all VPN connections on logout.
10954 2006-07-31 Robert Love <rml@novell.com>
10956 * src/backends/interface_parser.c: Declarations must begin the block.
10958 2006-07-24 Dan Williams <dcbw@redhat.com>
10960 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
10961 * src/backends/Makefile.am
10962 src/backends/NetworkManagerArch.c
10963 src/backends/NetworkManagerDebian.c
10964 src/backends/NetworkManagerGeneric.c
10965 src/backends/NetworkManagerGeneric.h
10966 src/backends/NetworkManagerGentoo.c
10967 src/backends/NetworkManagerPaldo.c
10968 src/backends/NetworkManagerRedHat.c
10969 src/backends/NetworkManagerSlackware.c
10970 src/backends/NetworkManagerSuSE.c
10971 - Genericize common backend functions
10973 2006-07-18 Robert Love <rml@novell.com>
10975 * configure.in: Add "--with-notify" option to allow disabling of
10978 2006-07-13 Dan Williams <dcbw@redhat.com>
10980 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
10981 * gnome/applet/applet.glade
10982 gnome/applet/Makefile.am
10983 gnome/applet/nm-gconf-wso.c
10984 gnome/applet/nm-gconf-wso-leap.c
10985 gnome/applet/nm-gconf-wso-leap.h
10986 gnome/applet/wireless-security-manager.c
10987 gnome/applet/wso-leap.c
10988 gnome/applet/wso-leap.h
10989 include/NetworkManager.h
10990 libnm-util/dbus-helpers.c
10991 libnm-util/dbus-helpers.h
10993 src/NetworkManagerAP.c
10994 src/nm-ap-security.c
10995 src/nm-ap-security-leap.c
10996 src/nm-ap-security-leap.h
10997 - Add LEAP authentication support
10999 2006-07-13 Dan Williams <dcbw@redhat.com>
11001 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11003 src/backends/NetworkManagerArch.c
11004 src/backends/NetworkManagerDebian.c
11005 src/backends/NetworkManagerGentoo.c
11006 src/backends/NetworkManagerPaldo.c
11007 src/backends/NetworkManagerRedHat.c
11008 src/backends/NetworkManagerSlackware.c
11009 src/backends/NetworkManagerSuSE.c
11010 - Convert hardcoding of 'ip' path to configure-time
11013 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11015 * configure.in: added ru to ALL_LINGUAS
11017 2006-07-10 Dan Williams <dcbw@redhat.com>
11019 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11021 - (real_act_stage3_ip_config_start): don't infinite loop when
11022 dhcdbd isn't running (Gnome #346845)
11024 2006-07-09 Dan Williams <dcbw@redhat.com>
11026 * gnome/applet/applet.c
11027 - (nma_destroy): don't pass NULL to notify_notification_close
11030 2006-07-09 Dan Williams <dcbw@redhat.com>
11032 * gnome/applet/applet.c
11033 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11035 2006-07-04 Tor Krill <tor@krill.nu>
11037 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11038 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11039 (nm_system_restart_mdns_responder), (ArchReadConfig),
11040 (nm_system_device_get_system_config):
11041 - Explicitly check for DHCP configuration
11042 - Check if daemons are running before starting them
11044 2006-06-25 Dan Williams <dcbw@redhat.com>
11046 * libnm-util/dbus-dict-helpers.[ch]
11047 test/libnm-util/test-dbus-dict-helpers.c
11048 - Add string array support
11050 2006-06-24 Dan Williams <dcbw@redhat.com>
11052 * src/dhcp-manager/nm-dhcp-manager.c
11053 - (nm_dhcp_manager_process_signal): clean up spacing
11055 2006-06-21 Dan Williams <dcbw@redhat.com>
11057 * src/nm-dbus-device.c
11058 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11061 2006-06-21 Raivis Dejus <orvils@gmail.com>
11063 * configure.in: Added 'lv' to ALL_LINGUAS
11065 2006-06-19 Dan Williams <dcbw@redhat.com>
11067 * src/NetworkManagerAP.c
11068 - Clarify usage of user_created
11070 * src/nm-ap-security-wep.c
11071 src/nm-ap-security-wpa-eap.c
11072 src/nm-ap-security-wpa-psk.c
11073 src/nm-ap-security.c
11074 src/nm-ap-security.h
11075 - s/user_created/adhoc, because we really do mean adhoc
11077 Patch from Bernard Blackham <bernard@blackham.com.au>
11078 * src/nm-device-802-11-wireless.c
11079 - (supplicant_send_network_config): instead of user_created,
11080 use adhoc, and do AP_SCAN 2 for adhoc networks
11082 2006-06-18 Robert Love <rml@novell.com>
11084 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11085 we have a value to set. Gconf generates a warning if `val' is NULL.
11086 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11087 unless we actually received a valid private key file passphrase or
11088 password. Otherwise, we don't know to later ask the applet to pull
11089 the key from the keyring.
11091 2006-06-17 Dan Williams <dcbw@redhat.com>
11093 * libnm-util/dbus-dict-helpers.[ch]
11094 test/libnm-util/test-dbus-dict-helpers.c
11095 - Fixes for zero-length byte arrays
11096 - Replace return values of 0 with FALSE for clarity
11097 - Test zero-length byte arrays
11099 2006-06-17 Dan Williams <dcbw@redhat.com>
11101 * libnm-util/dbus-dict-helpers.[ch]
11102 test/libnm-util/test-dbus-dict-helpers.c
11103 - Add helpers for byte arrays
11104 - Rework bits of the testcase
11106 2006-06-16 Dan Williams <dcbw@redhat.com>
11108 * libnm-util/Makefile.am
11109 * libnm-util/dbus-dict-helpers.[ch]
11110 - Add some helpers to take the pain out of using dict types in
11113 * test/libnm-util/Makefile.am
11114 * test/libnm-util/test-dbus-dict-helpers.c
11115 - Test cases for the dict helper functions
11117 2006-06-15 Robert Love <rml@novell.com>
11119 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11120 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11121 if there is no key to pass.
11122 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11123 receiving a non-NULL key.
11125 2006-06-14 Robert Love <rml@novell.com>
11127 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11131 2006-06-14 Dan Williams <dcbw@redhat.com>
11133 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11134 * src/nm-device-802-11-wireless.c
11135 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11136 or ones where the driver is unknown
11137 - (supplicant_exec): don't wait for supplicant startup here
11138 - (supplicant_interface_init): finer grained polling for supplicant
11141 2006-06-13 Robert Love <rml@novell.com>
11143 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11144 if it is currently set to TRUE. Otherwise, we will reset the value
11145 when we connect normally.
11146 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11147 the old BSSID is valid, too. The recently added ESSID check may not be
11148 sufficient (we can remove it?). What we really want to catch is the
11149 case of going from all-zeros to the BSSID of some other network, which
11150 happens on failure.
11152 2006-06-09 Dan Williams <dcbw@redhat.com>
11154 * src/NetworkManagerSystem.[ch]
11155 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11156 it was unused and pointless
11157 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11158 fix for set_up_down_with_iface change
11160 * src/vpn-manager/nm-vpn-connection.c
11161 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11163 * src/backends/NetworkManagerPaldo.c
11164 src/backends/NetworkManagerRedHat.c
11165 src/backends/NetworkManagerSuSE.c
11166 src/backends/NetworkManagerArch.c
11167 src/backends/NetworkManagerDebian.c
11168 src/backends/NetworkManagerGentoo.c
11169 - (nm_system_enable_loopback): use set_up_down_with_iface where
11171 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11174 2006-06-09 Dan Williams <dcbw@redhat.com>
11176 Patch from Peter Jones:
11177 * src/nm-device-802-11-wireless.c
11178 - (nm_device_802_11_wireless_update_bssid): make sure that the
11179 SSID hasn't changed from what we expect before automatically
11180 updating the saved BSSID from a new AP
11182 2006-06-08 Robert Love <rml@novell.com>
11184 Add 'fallback' support. NetworkManager will attempt to brute-force
11185 connect to networks marked as fallback if there are no better wireless
11186 connections available. This is useful as a method of last resort, to
11187 work around driver problems, and for use with hidden networks.
11188 * gnome/applet/applet-dbus-devices.c,
11189 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11190 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11191 pass it on via DBUS.
11192 * gnome/applet/applet.c: No fallback by default.
11193 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11194 Update other-network-dialog to add UI checkbox toggling fallback.
11195 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11196 propery from AP object. Add "fallback" property to AP object.
11197 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11198 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11199 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11200 separate function. Add get_best_fallback_ap() for returning an AP
11201 on which to attempt fallback.
11202 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11203 * test/nm-set-fallback: New file. Sets a given network as fallback.
11205 2006-06-07 Robert Love <rml@novell.com>
11207 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11208 checked that the return type was GCONF_VALUE_STRING, not the correct
11209 GCONF_VALUE_BOOL, and thus it never worked.
11210 * src/NetworkManagerAPList.c: Before concluding that two networks are
11211 identical based on their BSSID, make sure that the BSSID in question
11212 is actually valid. Specifically, an empty or all zero BSSID does not
11214 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11215 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11216 similar invariant clean up.
11218 2006-06-02 Robert Love <rml@novell.com>
11220 * gnome/applet/applet.c: Update copyright years. Add Novell.
11222 2006-05-28 Dan Williams <dcbw@redhat.com>
11224 * gnome/applet/applet.glade
11225 gnome/vpn-properties/nm-vpn-properties.glade
11226 - Set window icons on dialogs (Gnome.org #333420)
11228 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
11230 * gnome/vpn-properties/nm-vpn-properties.glade:
11231 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11232 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11233 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11234 - Make the VPN properties pages prettier and more HIG
11235 compliant. Gnome Bug #336913.
11237 2006-05-28 Dan Williams <dcbw@redhat.com>
11239 Patch from Christian Persch <chpe@gnome.org>
11240 * gnome/vpn-properties/nm-vpn-properties.c
11241 * gnome/vpn-properties/nm-vpn-properties.glade
11242 - HIG-ification love (Gnome.org #336846)
11244 2006-05-28 Dan Williams <dcbw@redhat.com>
11246 Patch from Christian Persch <chpe@gnome.org>
11248 gnome/vpn-properties/nm-vpn-properties.c
11249 - (main): Fix option parsing. Gnome.org #336847
11251 2006-05-28 Dan Williams <dcbw@redhat.com>
11253 * gnome/vpn-properties/nm-vpn-properties.c
11254 - (find_vpn_ui_by_service_name): protect against NULL service names
11255 - (update_edit_del_sensitivity): protect against NULL service names
11258 2006-05-28 Dan Williams <dcbw@redhat.com>
11260 Patch from Chris Fuller <crf@grandecom.net>:
11261 * src/nm-device-802-11-wireless.c
11262 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11263 don't dispose of wireless-specific stuff unless it is actually
11264 initialized. Gnome.org #341263
11266 2006-05-28 Dan Williams <dcbw@redhat.com>
11268 * src/NetworkManagerPolicy.c
11269 - (nm_policy_device_change_check): don't switch devices if the "best"
11270 AP is essentially the same as the current activation request, but
11271 the current activation request isn't done activating yet. Fixes
11272 multiple requests for keyring password on startup for Gnome applet.
11275 2006-05-26 Nicolas Trangez <eikke@eikke.com>
11277 * src/NetworkManager.c: use GOptions instead of getopt
11278 * configure.in: bump glib required version to >= 2.6 for GOption
11281 2006-05-25 Robert Love <rml@novell.com>
11283 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11284 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
11285 instead of dumping ifdef's throughout the code.
11286 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11287 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11288 use nm_ioctl_info() in lieu.
11290 2006-05-25 Robert Love <rml@novell.com>
11292 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11293 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11294 not using gcrypt. Otherwise, we get a linker error.
11296 2006-05-25 Robert Love <rml@novell.com>
11298 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11299 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11300 configure flag to disable building of the GNOME-based applet.
11302 2006-05-25 Robert Love <rml@novell.com>
11304 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11305 parameter from link, because it shadows a global variable with some
11306 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
11307 should never have exported to the entire system a common four letter
11308 word. But we here at NetworkManager are team players. Fixes
11311 2006-05-25 Arangel Angov <ufo@linux.net.mk>
11313 * configure.in: Added mk.po, Macedonian translation.
11315 2006-05-24 Robert Love <rml@novell.com>
11317 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11318 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11319 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11321 2006-05-24 Robert Love <rml@novell.com>
11323 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11324 libnm-util/Makefile.am, src/Makefile.am,
11325 vpn-daemons/openvpn/auth-dialog/Makefile.am,
11326 vpn-daemons/openvpn/properties/Makefile.am,
11327 vpn-daemons/pptp/auth-dialog/Makefile.am,
11328 vpn-daemons/pptp/properties/Makefile.am,
11329 vpn-daemons/vpnc/auth-dialog/Makefile.am,
11330 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11331 user passed for --datadir, if anything, when setting the GNOME locale
11332 directory. It should be a function of the specified datadir and not
11335 2006-05-24 Robert Love <rml@novell.com>
11337 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11338 src/NetworkManager.c: Take care to call bindtextdomain with the
11339 location of msgid files.
11340 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11343 2006-05-22 Robert Love <rml@novell.com>
11345 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11346 stage4_timeout on failure unless the wireless network is Ad-Hoc.
11347 99% of the time there is a real problem with wireless, and a
11348 seemingly successful connection via Zeroconf just confuses the user.
11349 And that 1% of the time the network is probably Ad-Hoc, anyhow.
11351 2006-05-22 Robert Love <rml@novell.com>
11353 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11354 autofs on interface up if NIS is configured. On interface down, do
11357 2006-05-22 Robert Love <rml@novell.com>
11359 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11360 to avoid calling g_object_unref() on stale pointers on error in
11361 nma_icons_free(). This happens because we short-circuit loaded the
11362 icons on the first failure but then free all icons. Normally we have
11363 no issue because the icons were zero'ed out malloc, but we have stale
11364 pointer data after nma_icon_theme_changed().
11365 * gnome/applet/main.c: Return error code if nma_new() failed.
11367 2060-05-21 Dan Williams <dcbw@redhat.com>
11369 * initscript/NetworkManager.in
11370 - Ensure both dhcdbd and named are started before NM
11372 2006-05-21 Dan Williams <dcbw@redhat.com>
11375 - Bump version to 0.7 to signify we are in 0.7 development
11377 2006-05-21 Dan Williams <dcbw@redhat.com>
11379 Patch from Adam Schreiber <sadam@clemson.edu>
11380 * gnome/vpn-properties/nm-vpn-properties.c
11381 - (main): correct Gnome program name (gnome.org #342498)
11383 2006-05-21 Dan Williams <dcbw@redhat.com>
11385 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11387 * src/NetworkManagerDbus.[ch]
11388 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11389 clarify that function's argument should be an escaped dbus object
11390 path, and look for path segment end before returning a match
11391 * src/nm-dbus-nm.c:
11392 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11394 2006-05-17 Robert Love <rml@novell.com>
11396 Functionality to differentiate Ad-Hoc networks from infrastructure
11397 networks in the applet, by displaying a special icon:
11398 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11399 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11400 * gnome/applet/menu-items.c: Set a special icon in the scan list for
11401 ad-hoc networks. TODO: Add a third icon representing "encrypted and
11402 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
11403 networks, encrypted or not.
11404 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11405 accessor functions to get and set the mode of a given network,
11406 wireless_network_get_mode() and wireless_network_set_mode().
11408 2006-05-17 Robert Love <rml@novell.com>
11410 Functionality to automatically add BSSIDs to the allowed-MAC list as
11411 one roams from access point to access point on a given network:
11412 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11413 helper function to compare two ether_addr structures and return TRUE
11414 if they contain the same MAC address.
11415 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11417 * src/nm-device-802-11-wireless.c: New function to update the BSSID
11418 stored with the current AP. If the BSSID has indeed changed, we
11419 send it out to the applet, allowing the allowed-MAC list to grow
11420 automatically in response to roaming.
11422 2006-05-16 Robert Love <rml@novell.com>
11424 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11425 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11427 2006-05-13 Dan Williams <dcbw@redhat.com>
11429 * src/nm-device-802-3-ethernet.c
11430 - (real_get_generic_capabilities): Don't ignore devices that can't do
11431 carrier detect (Debian bug #366373)
11433 2006-05-11 Dan Williams <dcbw@redhat.com>
11435 Patch from Michael Biebl <biebl@teco.edu>
11436 * src/backends/NetworkManagerDebian.c
11437 - Debian backend fixups
11439 2006-05-10 Robert Love <rml@novell.com>
11441 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11443 2006-05-09 Robert Love <rml@novell.com>
11445 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11446 private certificate passphrase, if any, in the GNOME Keyring.
11447 * libnm-utils/dbus-helpers.c: Update.
11449 2006-05-05 Dan Williams <dcbw@redhat.com>
11451 * src/nm-device-802-11-wireless.c
11452 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11453 nm_device_802_11_wireless_disable_encryption() since that's all
11454 we use it for anymore; we don't ever set WEP keys ourselves.
11455 - (real_deactivate_quickly): reset SSID and encryption keys
11456 - (real_deactivate): move SSID and encryption key reset to
11457 real_deactivate_quickly(), which gets run before us anyway
11459 2006-05-05 Robert Love <rml@novell.com>
11461 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11462 root has a wacky default of its own (or, more common, a user has a
11463 bad umask and uses su/sudo to restart NetworkManager). Anything
11464 other than 0022 does not do what we want with, for example,
11465 resolv.conf. This problem is amplified by our judicious use of
11466 fopen(), which uses mode 0666 -- implying that the only way to get
11467 the permissions we want is with a umask of 0022.
11469 2006-05-05 Dan Williams <dcbw@redhat.com>
11471 * gnome/libnm_glib/libnm_glib.c
11472 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11473 to reconnect; instead wait a bit more with each reconnect attempt
11474 up to a max of one minute.
11476 2006-05-04 Ryan Lortie <desrt@desrt.ca>
11478 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11479 the WirelessNetwork structure using the proper function instead of
11480 just casting it directly to (const char *) (gnome.org #336991)
11482 2006-05-03 Robert Love <rml@novell.com>
11484 * src/backends/NetworkManagerSuSE.c: Respect the variable
11485 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11486 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11487 to dynamically update /etc/resolv.conf.
11489 2006-05-02 Peter Jones <pjones@redhat.com>
11491 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11493 2006-05-02 Robert Love <rml@novell.com>
11495 Patch by Timo Hoenig;
11496 * tests/nm-online.c: Print pretty status indicator as timeout winds
11497 down. Also fix possible race between DBUS startup and failure
11500 2006-05-01 Robert Love <rml@novell.com>
11502 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11505 2006-04-27 Jeremy Katz <katzj@redhat.com>
11507 * src/nm-device.c (discover_device_type): Actually use the hal
11508 device type instead of ioctl poking
11510 2006-04-26 Robert Love <rml@novell.com>
11512 * tests/nm-online.c: New file. Simple utility that returns exit status
11513 noting whether the connection is offline or online. If offline on
11514 start, it waits 30 seconds (or a command-line given value) for an
11515 online signal. If it times out, it again returns offline. This is
11516 useful for scripts that want to wait for network connections.
11518 2006-04-25 Robert Love <rml@novell.com>
11520 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11521 key mode (the authentication algorithm), e.g. open or shared, when we
11522 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
11523 only shared was broken. If the user specified a shared key, set it
11524 explicitly, otherwise let wpa_supplicant go with the default.
11526 2006-04-24 Dan Williams <dcbw@redhat.com>
11528 * src/nm-device-802-11-wireless.c
11529 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11531 2006-04-24 Dan Williams <dcbw@redhat.com>
11533 Commit the async scanning patch
11535 * src/nm-device-802-11-wireless.c
11536 - get rid of scan_mutex
11537 - (wireless_event_helper): act on wireless scan events
11538 - (real_start): schedule a pending scan
11539 - (link_to_specific_ap): fake the link to the AP during a scan
11540 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11541 strength during scans
11542 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11543 nm_device_set_bitrate): unused with new scanning code, disable
11544 - (nm_device_wireless_schedule_scan): removed
11545 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11546 - (request_and_convert_scan_results): new function; retrieve scan
11547 results from the driver and schedule the processing function
11548 - (scan_results_timeout): timeout triggered when card doesn't send
11549 a scan results wireless event during a certain interval
11550 - (schedule_scan_results_timeout): new function; schedule the scan
11552 - (cancel_scan_results_timeout): new function; cancel the scan
11554 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11555 to do the scanning. Otherwise, just request a scan but don't
11556 grab results here; instead schedule a timeout for scan results and
11557 let netlink notify us of scan completion events
11558 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11559 - (cancel_pending_scan): new function; cancel a pending wireless scan
11560 - (supplicant_status_cb): ignore disconnect events while scanning
11561 - (supplicant_exec): wait a bit longer for the supplicant to start up
11562 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11564 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11566 2006-04-24 Dan Williams <dcbw@redhat.com>
11568 * gnome/applet/applet-dbus.c
11569 - Disable the pending call debug stuff, seems under control now
11571 2006-04-20 Robert Love <rml@novell.com>
11573 Fix bug where hidden ESSID's would not show up in the applet, even
11574 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
11575 because nm_policy_device_list_update_from_allowed_list() would merge
11576 the data, putting a name to the hidden networks, but never notify NMI
11577 of the changes. Simple fix is to invoke the function
11578 nm_dbus_signal_wireless_network_change() if we make a mapping.
11579 * src/NetworkManagerAPList.c: Call the function
11580 nm_dbus_signal_wireless_network_change() if we made a successful
11581 BSSID to ESSID mapping, notifying the applet of the "new" network.
11582 * src/NetworkManagerAPList.h: Update the prototypes for both
11583 nm_ap_list_copy_essids_by_address() and
11584 nm_ap_list_copy_one_essid_by_address().
11586 2006-04-20 Robert Love <rml@novell.com>
11588 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11589 not set. Just return zero.
11591 2006-04-20 Robert Love <rml@novell.com>
11593 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11594 only one copy of nm-vpn-properties is running at a time via the 'ol
11595 X selection trick. This prevents the user from opening two "VPN
11596 Connections" windows from within the applet, which leads to mass
11598 * clipboard.c: New file, implementing simple X selection logic.
11599 * clipboard.h: New file.
11600 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11602 2006-04-18 Nicolas Trangez <eikke@eikke.com>
11604 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11606 initscript/Gentoo/Makefile.am
11607 initscript/Gentoo/NetworkManagerDispatcher.in
11609 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11612 2006-04-16 Dan Williams <dcbw@redhat.com>
11614 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11616 initscript/Slackware/Makefile.am
11617 initscript/Slackware/rc.networkmanager-dispatcher.in
11618 initscript/Slackware/rc.networkmanager.in
11619 - Update slackware initscripts
11621 2006-04-10 Robert Love <rml@novell.com>
11623 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11624 the "delete_event" signal on the druid's parent window and handle it
11625 our way, lest using the WM to close the druid results in a series of
11626 bloody and ultimately lethal errors.
11628 2006-04-10 Robert Love <rml@novell.com>
11630 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11631 'Back' too or else the 'Forward' option is initially disabled despite
11634 2006-04-06 Robert Love <rml@novell.com>
11636 Fix bad but simple bug where an active modem connection did not update
11637 NM's connection state, breaking any app that did online/offline:
11638 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11639 represented whether a dial up connection is active, or not.
11640 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11641 to modem activation and deactivation.
11642 * src/NetworkManagerDbus.c: When asked our state, do not return
11643 disconnected if the modem is active.
11645 2006-04-04 Robert Love <rml@novell.com>
11647 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11648 applet. It just confuses the crap out of people and does not make a
11649 lot of sense, as the daemon still runs.
11651 2006-04-02 Tor Krill <tor@krill.nu>
11653 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11654 in start of service.
11655 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11656 get Archlinux backend up to date.
11658 2006-03-29 Robert Love <rml@novell.com>
11660 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11661 to add support for per-route MSS and improve support for per-interface
11663 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11664 optionally take an MSS parameter and set it for the given route.
11665 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
11666 NMIP4Config's stored MSS, if any.
11667 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11668 the interface's MTU and the route's MSS, respectively. Add functions
11669 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11670 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11672 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11673 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11674 nm_ip4_config_set_mss.
11675 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11677 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11678 Change the retval of nm_system_get_mtu to guint32.
11679 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11680 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
11681 servers can specify MTU's, we should set it here if the MTU was not
11684 2006-03-27 Jürg Billeter <j@bitron.ch>
11687 * initscript/Makefile.am:
11688 * initscript/paldo/Makefile.am:
11689 * initscript/paldo/NetworkManager.in:
11690 * initscript/paldo/NetworkManagerDispatcher.in:
11691 * src/backends/Makefile.am:
11692 * src/backends/NetworkManagerPaldo.c:
11693 - Add paldo support
11695 2006-03-27 Dan Williams <dcbw@redhat.com>
11697 Patch from Christian Persch <chpe@gnome.org>
11698 * gnome/applet/applet.glade
11699 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
11701 2006-03-27 Dan Williams <dcbw@redhat.com>
11703 Patch from Diffe <diffie@blazebox.homeip.net>
11704 * src/backends/NetworkManagerSlackware.c
11705 - Don't restart howl, since it's been replaced by Avahi
11706 in most distributions
11708 2006-03-27 Dan Williams <dcbw@redhat.com>
11710 Patch from Tor Krill <bugzilla@krill.nu>
11712 initscript/Makefile.am
11713 src/backends/Makefile.am
11714 src/backends/NetworkManagerArch.c
11715 initscript/Arch/Makefile.am
11716 initscript/Arch/networkmanager-dispatcher.in
11717 initscript/Arch/networkmanager.in
11718 - Add Arch Linux support, fixes gnome.org #335147
11720 2006-03-27 Dan Williams <dcbw@redhat.com>
11722 Patch from Diffe <diffie@blazebox.homeip.net>
11723 * initscript/Slackware/rc.networkmanager
11724 - update, fixed gnome.org #333368
11726 2006-03-27 Robert Love <rml@novell.com>
11728 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
11729 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
11731 2006-03-27 Robert Love <rml@novell.com>
11733 Patch by Jürg Billeter <j@bitron.ch>:
11734 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
11736 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
11737 as we prefer glibc over kernel headers, if possible.
11739 2006-03-27 Robert Love <rml@novell.com>
11741 Patch by Jon Escombe <list@dresco.co.uk>:
11742 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
11743 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
11744 fail, don't bail out. We don't expect all of the various WPA-EAP
11745 values to be present.
11746 * src/nm-ap-security.c: We need to match all capabilities for each
11747 encryption type, not any one of them.
11749 2006-03-27 Robert Love <rml@novell.com>
11751 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
11752 restart, not reload, ypbind. Unfortunately there is no superior
11755 2006-03-24 Christopher Aillon <caillon@redhat.com>
11757 * gnome/applet/applet-notifications.c:
11758 When displaying a notification, make sure to get rid of the
11759 previous notification so as to not have competing bubbles,
11760 and stop leaking the old one.
11762 * gnome/applet/applet.c:
11763 * gnome/applet/applet.h:
11764 Add a new 'notification' member to the applet, and zero it out
11765 and free it appropriately.
11767 2006-03-23 Robert Love <rml@novell.com>
11769 Patch by j <j@bootlab.org>:
11770 * gnome/applet/applet.glade: Don't set the invisible_char property,
11771 which simply overrides the GTK default. By and by, this behavior
11772 ought to be fixed in Glade.
11774 2006-03-22 Robert Love <rml@novell.com>
11776 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
11778 2006-03-22 Robert Love <rml@novell.com>
11780 Bug fix by Timo Hoenig <thoenig@suse.de>:
11781 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
11782 disconnect. Otherwise, we have the daemon surviving DBUS restarts
11783 and the applet going AWOL.
11785 2006-03-22 Robert Love <rml@novell.com>
11787 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
11788 preprocessor define and use it instead of open-coded the DHCP
11789 timeout, which is currently 25 seconds, everywhere.
11791 2006-03-22 Robert Love <rml@novell.com>
11793 Implement "Dynamic WEP", which is basically WPA authentication and WEP
11794 key exchange via WPA, ostensibly providing good security without
11795 requiring hardware that supports full WPA. Also, add UI elements to
11796 allow the user to select the pairwise & group cipher for WPA Enterprise
11798 * gnome/applet/applet.glade: Update glade file.
11799 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
11800 key type, too, to and from gconf.
11801 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
11802 wso_wpa_create_key_type_model(), noting whether we are handling PSK
11803 or EAP configuration, and in the latter case add in "Dynamic WEP" if
11804 the capabilities match.
11805 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
11807 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
11808 serialize from UI to DBUS.
11809 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
11811 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
11812 nmu_security_serialize_wpa_eap_with_cipher(), and
11813 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
11814 serialize/deserialize the key type via DBUS as the new third DBUS
11816 * libnm-util/dbus-helpers.h: Update prototypes.
11817 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
11818 too. If the key type is WEP104, do Dynamic WEP, which means
11819 "IEEE8021X" for "key_mgmt". Also add support for user-specified
11820 pairwise and group ciphers (fixes a FIXME).
11822 2006-03-21 Robert Love <rml@novell.com>
11824 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
11825 nm_system_get_mtu(), which returns a user-provided or system-mandated
11826 MTU value for a given device, if any, or zero if no such value
11827 exists. Add nm_system_set_mtu() to set the MTU for a given device
11828 if we have a provided value.
11829 * src/nm-device.c: Set the MTU of devices.
11830 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
11831 * src/backends/NetworkManagerDebian.c,
11832 src/backends/NetworkManagerGentoo.c,
11833 src/backends/NetworkManagerRedHat.c,
11834 src/backends/NetworkManagerSlackware.c: Implement stub functions.
11836 2006-03-21 Robert Love <rml@novell.com>
11838 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
11839 configuration file.
11841 2006-03-17 Robert Love <rml@novell.com>
11843 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
11844 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
11845 it, in case it is not running in the first place. We just want its
11846 configuration reloaded. Also, do not "rcypbind stop" on device down.
11848 2006-03-15 Robert Love <rml@novell.com>
11850 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
11851 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
11852 label "WEP 40/128-bit" is inconsistent because the physical key size
11853 is 40 or 104-bits, to which a 24-bit initialisation vector is
11854 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
11855 to read "40/104" or "64/128". I do not care much which, but most
11856 users think of "silver" and "gold" encryption as 64 and 128-bits, so
11857 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
11858 WEP passphrase support only handles 128-bit keys, and any future
11859 64-bit passphrase support will require a new option (no way to auto-
11860 detect the target key size), explicitly label our passphrase support
11861 "WEP 128-bit Passphrase".
11863 2006-03-15 Robert Love <rml@novell.com>
11865 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
11866 the system init scripts (or some other mechanism) starting it (or a
11867 compatible DBUS service) before NetworkManager runs. This means that
11868 distributions might need to update their init scripts. This fixes
11869 possible races and is quite a bit cleaner.
11870 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
11871 starting the NetworkManager daemon.
11874 2006-03-14 Robert Love <rml@novell.com>
11876 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
11877 before adding anything.
11879 2006-03-13 Robert Love <rml@novell.com>
11881 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
11882 widgets, too, if they exist, in case the user hit the back button.
11883 Fixes a bug where the details page contains the widgets of multiple
11884 VPN modules (Novell bug #157048).
11886 2006-03-13 Robert Love <rml@novell.com>
11888 Patch by Timo Hoenig <thoenig@suse.de>:
11889 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
11890 daemon survive DBUS restarts, too.
11892 2006-03-10 Robert Love <rml@novell.com>
11894 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
11896 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
11897 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
11898 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
11899 in response to "toggled" signal on new toggle.
11901 2006-03-10 Robert Love <rml@novell.com>
11903 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
11904 serialization if strings are NULL, lest DBUS get angry.
11906 2006-03-10 Robert Love <rml@novell.com>
11908 * src/nm-ap-security-wpa-eap.c: Don't log the password.
11910 2006-03-09 Robert Love <rml@novell.com>
11912 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
11915 2006-03-09 Dan Williams <dcbw@redhat.com>
11917 Track pending call requests in the applet, and report how many are
11918 outstanding, and how long each completed one takes.
11920 * gnome/applet/applet-dbus-devices.c
11921 gnome/applet/applet-dbus-vpn.c
11922 - Track pending calls
11924 * gnome/applet/applet-dbus.[ch]
11925 - Remove some unused enums
11926 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
11927 new functions to track dbus pending calls and spit out some
11928 statistics about them
11930 2006-03-09 Robert Love <rml@novell.com>
11932 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
11933 nm_ap_set_timestamp() take the second and micro-second parameters as
11934 direct arguments, which avoids both a dynamic memory allocation and a
11935 structure-to-structure copy! Add a new interface, the aptly named
11936 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
11937 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
11938 the return from nm_ap_get_timestamp(). New users should use the new
11939 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
11940 the extreme benefit to performance.
11941 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
11942 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
11944 2006-03-08 Robert Love <rml@novell.com>
11946 * gnome/applet/applet.glade: Hide the password entry text with
11949 2006-03-08 Robert Love <rml@novell.com>
11951 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
11952 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
11953 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
11954 a second argument, NMData.
11955 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
11956 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
11957 config files as trusted.
11959 2006-03-06 Robert Love <rml@novell.com>
11961 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
11962 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
11963 to exit the applet. As a sweet side-effect, idea courtesy of Chris
11964 Rivera, detect if the applet was auto-started. If so, ask the user
11965 if he or she would like to stop automatically running the applet on
11966 login. If so, disable autostart.
11968 2006-03-06 Robert Love <rml@novell.com>
11970 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
11971 directory in CFLAGS so developers can actually use NetworkManager.h.
11973 2006-03-06 Robert Love <rml@novell.com>
11975 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
11976 open-coded integer constants. Add state_to_string() to map a given
11977 state to a textual description, and provide that when notifying of
11979 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
11980 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
11981 this header directly, but it is currently not installed on most
11984 2006-03-05 Dan Williams <dcbw@redhat.com>
11986 Process netlink messages in device subclasses rather than in
11987 NetworkManager.c. Also add support for recognizing Wireless Events.
11990 - Find GLIB_GENMARSHAL
11993 - Since we're marshalling custom types for wireless event signals,
11994 we get to create our own marshallers using GLIB_GENMARSHAL
11996 * src/NetworkManager.c
11997 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
11998 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
11999 cut down somewhat. We no longer process signals here.
12000 - (nm_data_new): create the netlink monitor here, and remove a
12001 useless call to nm_policy_schedule_device_change_check()
12002 - (nm_data_free): get rid of the netlink monitor here
12003 - (nm_device_link_activated, nm_device_link_deactivated): removed
12004 - (main): don't create the netlink monitor here, let nm_data_new
12005 do that. Call nm_policy_schedule_device_change_check() right
12006 before we jump to the mainloop to figure out which device
12009 * src/NetworkManagerSystem.[ch]
12010 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12011 convert back and forth from interface names to interface
12014 * src/nm-device-802-11-wireless.c
12015 - (real_init): connect to wireless-event signals from the netlink
12017 - (nm_device_802_11_wireless_event): new function, schedule handler
12018 for wireless event signals from the netlink monitor object. We
12019 want the handler to run in the device's context
12020 - (wireless_event_helper): handle wireless-event signals from netlink
12021 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12024 * src/nm-device-802-11-wireless.h
12025 - remove unused prototype for nm_device_802_11_wireless_new
12027 * src/nm-device-802-3-ethernet.c
12028 - (real_init): new function; set up signal handlers for link events
12029 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12030 handler for netlink link activated events on device's main loop
12031 - (link_activated_helper): when we get a link activated event, set
12032 the device's link to be active
12033 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12034 handler for netlink link deactivated events on device's main loop
12035 - (link_deactivated_helper): when we get a link deactivated event, set
12036 the device's link to be inactive
12037 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12040 * src/nm-device-802-3-ethernet.h
12041 - remove unused prototype for nm_device_802_3_ethernet_new
12043 * src/nm-device.[ch]
12044 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12045 but locks the device list
12046 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12048 * src/nm-netlink-monitor.[ch]
12049 - (nm_netlink_monitor_class_install_signals): New signal
12051 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12053 - (nm_netlink_monitor_event_handler): expand for wireless events too
12055 * src/nm-marshal-main.c
12056 - Include generated nm-marshal.c and nm-marshal.h
12058 * src/nm-marshal.list
12059 - List of custom marshal functions
12061 2006-03-05 Dan Williams <dcbw@redhat.com>
12063 * gnome/applet/applet-notifications.h
12064 - Protect prototype of nma_send_event_notification() because it
12065 includes libnotify-specific types
12066 - Include libnotify/libnotify.h too, since we technically need it
12068 * gnome/applet/applet.c
12069 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12070 - (nma_show_vpn_login_banner_dialog): add some error checking
12072 2006-03-04 Dan Williams <dcbw@redhat.com>
12074 Clean up activation cancellation. Should be a lot faster now. Observed
12075 an issue with wireless devices between stage 2 and 3 of activation, where
12076 activation would be cancelled, but the device thread wouldn't notice until
12077 the supplicant association timed out. Reorganize activation such that
12078 a cancellation handler gets immediately scheduled in the device's thread,
12079 and devices have a chance to perform any custom cleanup too.
12081 * src/nm-device.[ch]
12082 - (activation_cancel_handler): new device-type-specific function
12083 for cleaning up device-type-specific stuff on cancellation
12084 - (cancel_activation): removed
12085 - (nm_device_activation_cancel): subsume functionality of
12086 real_cancel_activation, but instead of doing anything, punt
12087 operation to a handler that's run in device-thread context
12088 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12090 - (activation_handle_cancel_helper): cancellation handler run in
12091 device-thread context, calls device-type-specific cancelation,
12092 then tears down the activation request
12093 - (real_activation_cancel_handler): generic cancellation handler,
12094 deals with cancelling any in-process DHCP request
12095 - (nm_device_activate_stage1_device_prepare,
12096 nm_device_activate_stage2_device_config,
12097 nm_device_activate_stage3_ip_config_start,
12098 nm_device_activate_stage4_ip_config_get,
12099 nm_device_activate_stage4_ip_config_timeout,
12100 nm_device_activate_stage5_ip_commit): don't call
12101 nm_device_schedule_activation_handle_cancel() any more, since
12102 cancellation will have been already scheduled for us by
12103 nm_device_activation_cancel(). Just exit the function and
12104 assume that the cancel handler will be called next.
12106 * src/nm-device-802-3-ethernet.c
12107 - (real_act_stage2_config): remove; didn't do anything anyway
12109 * src/nm-device-802-11-wireless.c
12110 - (supplicant_status_cb): ensure we don't do anything if the activation
12112 - (real_activation_cancel_handler): implement; cancel user key request
12113 on activation cancellation
12115 2006-03-04 Dan Williams <dcbw@redhat.com>
12117 * src/nm-device-802-11-wireless.c
12118 - (supplicant_send_network_config): assume that drivers that don't
12119 support WPA pretty much suck, and can't handle NM scanning
12120 along with wpa_supplicant.
12122 2006-03-03 Robert Love <rml@novell.com>
12124 * configure.in: Bump version to 0.6.0.
12127 2006-03-03 Robert Love <rml@novell.com>
12129 * configure.in: Require DBUS 0.60 or later.
12131 2006-03-03 Dan Williams <dcbw@redhat.com>
12133 Fix a crash if an "Other wireless network" was chosen, failed, then
12134 chosen again from the applet's menu. If the other network wasn't
12135 noticed in a scan, it wouldn't have any capabilities, but would still
12136 be listed because the user forced the network. To fix this, we set
12137 sensible capabilities on the forced network, which will get overwritten
12138 with the correct ones if the network shows up later in a scan.
12140 * src/nm-ap-security.h
12141 - Add a new "get_default_capabilities_func" member to the
12144 * src/nm-ap-security.c
12145 - (nm_ap_security_get_default_capabilities): new function
12147 * src/nm-ap-security.c
12148 src/nm-ap-security-wep.c
12149 src/nm-ap-security-wpa-psk.c
12150 src/nm-ap-security-wpa-eap.c
12151 - Implement get_default_capabilities_func() for all, which
12152 uses the information contained in a specific NMAPSecurity
12153 object to determine default AP capabilites necessary
12154 to support that object
12156 As a secondary measure, we now prune artificial access points that fail
12157 to be activated right away. The thing failed, and we have no scan data for
12158 it, so it's pretty much useless since security information is only saved
12159 in the applets when a connection is successful.
12161 * src/NetworkManagerAPList.c
12162 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12163 not artificial. If we see it, it's no longer a figment of the
12164 user's imagination :)
12166 * src/NetworkManagerPolicy.c
12167 - (nm_policy_activation_failed): send along the failed AP if we
12170 * src/nm-device-802-11-wireless.c
12171 - (real_activation_failure_handler): remove artificial APs from
12172 the device list, because activation failed
12174 2006-03-02 Robert Love <rml@novell.com>
12176 Add support for retrieving both the per-device speed and the
12177 per-network maximum supported rate. Then change the getProperties
12178 DBUS API for both networks and devices to report this informaiton.
12179 Finally, display the information via both nm-applet and nm-tool:
12180 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12182 * gnome/applet/applet.c: Display the device's speed in the 'Connection
12183 Information' dialog.
12184 * gnome/applet/applet.glade: Update the UI to show per-device speed.
12185 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12186 network_device_get_speed() and network_device_set_speed() for
12187 retrieving and setting, respectively, a network device's current
12189 * src/nm-dbus-device.c: Send the device's speed on getProperties.
12190 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12191 in the function nm_device_802_11_wireless_get_bitrate() -- it does
12192 not matter (yet) what the units are, because we only feed it its own
12193 output. Implement SIOCGIRATE and set the per-network maximum
12194 supported rate during scanning.
12195 * src/nm-device-802-11-wireless.h: Export the function
12196 nm_device_802_11_wireless_get_bitrate().
12197 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12198 function nm_device_802_3_ethernet_get_speed() for returning an
12199 802.3's current speed, in Mb/s.
12200 * test/nm-tool.c: Display the per-device current speed, if available,
12201 and the per-network maximum rate.
12203 2006-03-02 Dan Williams <dcbw@redhat.com>
12205 * src/nm-device-802-11-wireless.c
12206 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12207 card when it gets initialized. Since devices don't get added to
12208 the scan list until they are initialized, this function wasn't
12209 setting the intitial scan interval correctly, and was leaving
12210 it at 0. This caused cards to get many scan requests in a short
12211 amount of time when they were initialized
12213 2006-03-02 Robert Love <rml@novell.com>
12215 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12216 active device. But do not do what we used to do and override the
12217 state, which caused the dreaded icon race of '05.
12219 2006-03-02 Robert Love <rml@novell.com>
12221 Commit Dan's update of my previous commit:
12222 * src/nm-device-802-11-wireless.c: Always set the mode, because the
12223 set_mode() function itself does the check. But do only set the
12224 frequency if in Ad-Hoc mode.
12226 2006-03-02 Robert Love <rml@novell.com>
12228 Patch by Brian Magnuson <magnuson@rcn.com>:
12229 * src/nm-device-802-11-wireless.c: During scanning, only set the
12230 wireless mode to infrastructure if it is not currently in
12231 infrastructure mode. For some driver, setting the mode is a costly
12232 operation, apparently.
12234 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
12236 * Makefile.am: use the correct dir for autostart mechanism.
12238 2006-02-28 Dan Williams <dcbw@redhat.com>
12240 Patch from Brian Magnuson <magnuson@rcn.com>
12241 * gnome/applet/applet.c
12242 - (nma_show_vpn_failure_dialog): fix errors left over from
12243 libnotify support changes
12245 2006-02-28 Dan Williams <dcbw@redhat.com>
12247 * src/vpn-manager/nm-vpn-act-request.[ch]
12248 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12250 - (nm_vpn_act_request_is_failed): new function; return whether or
12251 not the vpn activation request has failed
12253 * src/vpn-manager/nm-vpn-manager.c
12254 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12255 daemon to kill the connection when the activation request fails.
12256 Fixes issue where NM would get confused if the VPN activation
12257 request timed out, and would not allow further VPN connections
12260 2006-02-28 Dan Williams <dcbw@redhat.com>
12262 * gnome/applet/applet.c
12263 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12264 overlapping connection requests, disable all VPN menu items
12265 but the active VPN connection
12267 2006-02-28 Dan Williams <dcbw@redhat.com>
12269 * src/vpn-manager/nm-vpn-connection.c
12270 - (nm_vpn_connection_set_parent_device): fix C&P error which
12271 called g_object_unref() on the connection's parent device
12272 when it should have been ref-ed instead. Fixes crash with
12273 repeated vpn connect requests
12275 2006-02-28 Christopher Aillon <caillon@redhat.com>
12277 * gnome/applet/applet.glade:
12278 Mark a few strings non-translatable, since they shouldn't be.
12280 2006-02-28 Dan Williams <dcbw@redhat.com>
12282 * src/vpn-manager/nm-vpn-service.c
12283 - (nm_vpn_service_start_connection): if the vpn service daemon is
12284 already running, don't blindly ask it to connect, but wait until
12285 it's in the STOPPED state first. Fixes an assertion when user
12286 starts a second vpn connection without stopping the first.
12287 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12288 dbus service exists before continuing with the connection
12289 process, and reduce latency while waiting for it to become
12291 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12292 waiting for the vpn service daemon to become available
12293 - General log message cleanups; show progress via "Stage x of 4"
12294 rather than not telling anyone how many stages there are
12296 2006-02-28 Robert Love <rml@novell.com>
12298 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12299 * src/backends/NetworkManagerSuSE.c: Implement the interface
12300 nm_system_should_modify_resolv_conf() for SUSE.
12301 * src/backends/NetworkManagerDebian.c,
12302 src/backends/NetworkManagerGentoo.c,
12303 src/backends/NetworkManagerRedHat.c,
12304 src/backends/NetworkManagerSlackware.c: Add stub.
12305 * src/named-manager/Makefile.am: Grab includes from src.
12306 * src/named-manager/nm-named-manager.c: Allow backends to disable the
12307 automatic updating of resolv.conf. This is useful for testing,
12308 broken static configurations, and administrator lock-down.
12310 2006-02-28 Dan Williams <dcbw@redhat.com>
12312 * src/nm-device-802-11-wireless.c
12313 - Move all the wpa_supplicant-related management stuff into its
12314 own struct, just for oranization's sake
12315 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12316 to a GIOChannel/GSource
12317 - (supplicant_log_stdout): new function; grab output from the
12318 wpa_supplicant stdout pipe and write it to our logs.
12320 2006-02-27 Christopher Aillon <caillon@redhat.com>
12322 * src/nm-device-802-11-wireless.c:
12323 Err, fix thinko in my previous commit.
12325 2006-02-28 Robert Love <rml@novell.com>
12327 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12329 2006-02-28 Robert Love <rml@novell.com>
12331 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12332 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12333 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12334 deserializers are responsible for freeing the returned DBUS strings.
12336 2006-02-27 Christopher Aillon <caillon@redhat.com>
12338 * src/nm-device-802-11-wireless.c:
12339 The scan list is being pruned prematurely. We should prune after
12340 the device has gone MIA for three scans, not one. Split out the
12341 interval to realtime seconds function to better serve this.
12343 2006-02-27 Robert Love <rml@novell.com>
12345 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12346 Open the pid file O_TRUNC, so if it already exists we truncate it to
12347 zero length. Also, be more verbose about warnings generated during
12348 writing out the pid file. Finally, always write out the pid file if
12349 in daemon mode. Use "--pid-file" to override the default.
12351 2006-02-27 Robert Love <rml@novell.com>
12353 Patch by R. Vinay <rvinay@novell.com>:
12354 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12355 'last_attempt_success' when removing a VPN connection, too. (Fixes
12356 Novell bug #153628).
12358 2006-02-27 Robert Love <rml@novell.com>
12360 * gnome/applet/applet.glade: Set "activates_default" on passphrase
12361 entry so user can hit <ENTER> after entering passphrase (Novell bug
12364 2006-02-27 Dan Williams <dcbw@redhat.com>
12367 - Mass search/replace of:
12369 NMWirelessApplet -> NMApplet
12370 NM_*_WIRELESS_APPLET -> NM_*_APPLET
12371 (it ain't just for wireless anymore, ma!)
12372 - Fix duplicate function name printing when using nm_warning
12373 - wireless-applet.glade -> applet.glade
12375 2006-02-27 Dan Williams <dcbw@redhat.com>
12377 * dispatcher-daemon/NetworkManagerDispatcher.c
12378 - Accept --pid-file with a path to a pidfile, write it out on
12379 startup, and delete it on shutdown
12381 * src/NetworkManager.c
12382 - Accept --pid-file with a path to a pidfile, write it out on
12383 startup, and delete it on shutdown
12384 - Move nm_print_usage() lower
12386 * initscripts/RedHat/NetworkManager.in
12387 - Use new --pid-file option
12388 - Fix service stopping to wait a bit for NM to quit
12390 * initscripts/RedHat/NetworkManagerDispatcher.in
12391 - Use new --pid-file option
12393 2006-02-26 Dan Williams <dcbw@redhat.com>
12396 - make and install nm-crash-logger
12398 * src/nm-logging.[ch]
12399 - New files; consolidate logging and crash handling
12401 * src/nm-crash-logger.c
12403 - Standalong crashlogger for NM, grab a backtrace
12406 * src/NetworkManager.[ch]
12407 - Remove signal handling and put it into nm-logging.c
12409 2006-02-26 Dan Williams <dcbw@redhat.com>
12412 gnome/applet/Makefile.am
12413 - Conditionalize all the notify stuff
12415 Merge most of Chris Aillon's notification patch:
12417 * gnome/applet/applet-notifications.[ch]
12418 - New files; show a notification
12420 * gnome/applet/applet-dbus-devices.[ch]
12421 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12422 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12423 new functions, do the right thing when a device change occurs
12425 * gnome/applet/applet-dbus.c
12426 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12427 signals, so we can handle them specially
12429 * gnome/applet/applet.[ch]
12430 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12431 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12432 - (nmwa_notify_state): remove
12433 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12434 notification work is now done when the appropriate dbus signals
12436 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12437 defer execution of the notification/dialog stuff. That was an
12438 artifact of the previous multi-threaded nature of the applet
12439 and is now pointless.
12440 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12441 no longer needed. Function folded into applet-notifications.c
12443 * src/NetworkManagerPolicy.c
12444 - (nm_policy_activation_finish): send the AP along with the device
12445 status change signal, if the connection is wireless. Should
12446 fix the race where applet would show a connection to "unknown"
12448 2006-02-25 Robert Love <rml@novell.com>
12450 Add WPA Enterprise support:
12451 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12452 nm-gconf-wso-wpa-eap.h.
12453 * gnome/applet/nm-gconf-wso-wpa-eap.c,
12454 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
12455 serialization and deserialization.
12456 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12457 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12458 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12459 * gnome/applet/wireless-applet.glade: Add UI for configurating security
12460 settings related to WPA Enterprise.
12461 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12462 instantiate WPA Enterprise wireless-security-option.
12463 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12464 Implement WPA Enterprise wireless-security-option object.
12465 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12467 * libnm-util/cipher-wpa-psk-hex.c,
12468 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12469 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12470 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12471 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12472 including the cipher to DBUS method, and
12473 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12475 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12476 nm-ap-security-wpa-eap.h
12477 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12478 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12479 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12480 files. Implement NMAPSecurityWPA_EAP object.
12481 * src/nm-ap-security-wpa-psk.c: Cleanup.
12482 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12483 an NMAPSecurityWPA_EAP object via the method
12484 nm_ap_security_wpa_eap_new_deserialize().
12485 * src/nm-dbus-nm.c: Cleanup.
12486 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12487 WPA Enterprise support.
12489 2006-02-24 Robert Love <rml@novell.com>
12491 Patch from Timo Hoenig <thoenig@suse.de>:
12492 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12494 2006-02-24 Robert Love <rml@novell.com>
12496 Patch from Dan Winship <danw@novell.com>:
12497 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
12498 area to transparent.
12500 2006-02-21 Dan Williams <dcbw@redhat.com>
12502 * gnome/applet/applet.[ch]
12503 gnome/applet/applet-dbus.c
12504 - Implement notification support for VPN messages too
12506 2006-02-21 Dan Williams <dcbw@redhat.com>
12508 * gnome/applet/applet-dbus-info.c
12509 - Clean up warning messages to not double-print the function
12511 2006-02-21 Dan Williams <dcbw@redhat.com>
12513 * gnome/applet/applet-compat.c
12514 - (convert_one_entry): accept entries without a key_type and
12515 convert them to unencrypted networks
12517 2006-02-21 Dan Williams <dcbw@redhat.com>
12519 * gnome/libnm_glib/libnm_glib.c
12520 - Use __func__ everywhere we can
12522 - Use dbus pending calls rather than blocking
12523 - Reduce busywaits for our thread to start and stop
12524 (gnome.org #330562)
12525 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12526 stomp on others using the default shared dbus connection.
12527 Fixes #rh177546# and gnome.org #326572
12529 2006-02-21 Dan Williams <dcbw@redhat.com>
12531 Patch from Rodney Dawes <dobey@novell.com>
12533 gnome/applet/Makefile.am
12534 gnome/applet/applet.c
12535 - Add libnotify support if '--enable-notify=yes' is passed
12538 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
12540 * configure.in (ALL_LINGUAS): ko added. (Korean)
12542 2006-02-15 Robert Love <rml@novell.com>
12544 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12545 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12546 and WPA_SUPPLICANT_CONTROL_SOCKET.
12548 2006-02-15 Robert Love <rml@novell.com>
12550 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12551 information about what connection stage we are at, provide the total
12552 number of stages, e.g. "Stage 2 of 5", so users know how far along
12553 they are if they experience problems.
12555 2006-02-15 Robert Love <rml@novell.com>
12557 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12558 define to $sysconfdir.
12559 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12560 editing dialog, vpn_edit_widget, which fixes a bug where editing one
12561 type of VPN and then editing another results in a mangled dialog
12562 box containing the widgets from both VPNs (fixes Novell #150854).
12563 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12565 2006-02-14 Robert Love <rml@novell.com>
12567 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12568 syslog's file descriptor.
12570 2006-02-14 Robert Love <rml@novell.com>
12572 Fix bug around since the change to "deal with APs changing settings on
12573 us," checked in on the fifth of February in the year of the dog,
12574 wherein connecting to non-broadcast encrypted networks always fails
12575 because nm_ap_get_encrypted() always returns FALSE, even when the user
12576 provided a key, because the newly-created fake AP does not have any
12577 capabilities set, which is a sypmtom of security settings not matching
12578 capabilities (Novell bug #150784):
12579 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12580 nm_ap_add_capabilities_from_security(), which sets the given AP's
12581 capabilities off the given security settings. Also improve our
12582 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12583 NM_AUTH_CIPHER_AUTO.
12584 * src/nm-device-802-11-wireless.c: Call the function
12585 nm_ap_add_capabilities_from_security() to ensure that capabilities
12586 match newly updated security settings.
12588 2006-02-14 Robert Love <rml@novell.com>
12590 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12591 error as a string, not an integer, if possible; do not print the
12592 function name twice; always give the interface, if possible; misc.
12595 2006-02-12 Dan Williams <dcbw@redhat.com>
12597 Patch from Tom Parker <palfrey@tevp.net>
12598 * src/NetworkManagerSystem.h
12599 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12602 * src/backends/NetworkManagerDebian.c
12603 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12606 2006-02-12 Dan Williams <dcbw@redhat.com>
12608 * vpn-daemons/openvpn/intltool-extract.in
12609 vpn-daemons/openvpn/intltool-merge.in
12610 vpn-daemons/openvpn/intltool-update.in
12611 vpn-daemons/pptp/intltool-extract.in
12612 vpn-daemons/pptp/intltool-merge.in
12613 vpn-daemons/pptp/intltool-update.in
12614 - Remove from CVS, they should get created by intltoolize,
12617 2006-02-12 Dan Williams <dcbw@redhat.com>
12619 * vpn-daemons/pptp/src/pppd/patchlevel.h
12620 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12621 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12622 Makefile-defined VERSION
12624 2006-02-09 Dan Williams <dcbw@redhat.com>
12626 Patch from: Vinay A R <rvinay@novell.com>
12627 * src/vpn-manager/nm-vpn-act-request.[ch]
12628 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12629 IPSec VPNs require them for std gateway.
12630 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12631 and 'user_routes_count'
12632 - (nm_vpn_act_request_get_user_routes): new function; gets user
12633 defined routes from NMVPNActRequest object, returns the string
12636 * src/vpn-manager/nm-vpn-manager.[ch]
12637 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12638 for 'user_routes' and 'user_routes_count'
12640 * src/vpn-manager/nm-dbus-vpn.c
12641 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12642 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12644 * src/vpn-manager/nm-vpn-service.c
12645 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12648 Modifications by Dan:
12649 * src/vpn-manager/nm-vpn-service.c
12650 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12653 * vpn-daemons/vpnc/src/nm-vpnc-service.c
12654 * vpn-daemons/pptp/src/nm-pptp-service.c
12655 * vpn-daemons/openvpn/src/nm-openvpn-service.c
12656 - Grab user routes from dbus message
12657 - Free all string arrays we got from dbus
12659 2006-02-07 Robert Love <rml@novell.com>
12661 Patch by Stefan Seyfried <seife@suse.de>:
12662 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12664 2006-02-06 Robert Love <rml@novell.com>
12666 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12668 2006-02-06 Robert Love <rml@novell.com>
12670 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12671 test ">=" is never false. If no newline is found, we loop forever.
12672 We can just check for ">" because the following if() will see the
12673 zero-th argument if the while() gets that far.
12675 2006-02-05 Dan Williams <dcbw@redhat.com>
12677 Refine handling of non-broadcast networks.
12679 * src/NetworkManagerAPList.c
12680 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12681 property from scanned AP to the AP from the device list
12683 * src/nm-device-802-11-wireless.c
12684 - (supplicant_send_network_config): use ap_scan=1 for all networks
12685 except non-SSID-broadcasting and Ad-Hoc networks. Use
12686 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
12687 networks since those don't have APs.
12688 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12689 AP as non-SSID-broadcasting
12690 - (process_scan_results): don't handle non-SSID-broadcasting here
12692 2006-02-05 Dan Williams <dcbw@redhat.com>
12694 * src/nm-device-802-11-wireless.c
12695 - (get_supplicant_timeout): new function; return
12696 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
12697 14 channels. These are likely a/b/g cards, like Atheros, and
12698 slow as hell to scan.
12699 - (supplicant_timeout_cb, supplicant_monitor_start): use
12700 get_supplicant_timeout()
12702 2006-02-05 Dan Williams <dcbw@redhat.com>
12704 * src/dhcp-manager/nm-dhcp-manager.c
12705 - Loose a commit race with Robert; make sure size check
12706 uses size of DHCP_SERVICE_LEN, not hardcoded 15
12708 2006-02-05 Robert Love <rml@novell.com>
12710 Patch by Christoph Brill <chrisbrill@gmx.net>:
12711 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
12712 with DHCP_SERVICE_NAME.
12714 2006-02-05 Dan Williams <dcbw@redhat.com>
12716 Remove anything having to do with device_setup_func from the
12717 AP security objects, since it's no longer used.
12719 * src/nm-ap-security.h
12720 - Kill device_setup_func and nm_ap_security_device_setup()
12722 * src/nm-ap-security-wep.c
12723 src/nm-ap-security-wpa-psk.c
12724 - (real_device_setup): remove
12726 * src/nm-ap-security.c
12727 - (real_device_setup): remove
12728 - (nm_ap_security_device_setup): remove
12730 * src/nm-device-802-11-wireless.[ch]
12731 - (nm_device_802_11_wireless_set_wep_enc_key): make static
12732 - (set_wireless_config, wireless_configure_adhoc): remove; unused
12733 and done by wpa_supplicant now anyway
12735 2006-02-05 Dan Williams <dcbw@redhat.com>
12737 * src/nm-device-802-11-wireless.c
12738 - (ap_need_key, real_act_stage2_config): deal with APs changing
12739 settings on us. Previously NM would loop asking for the
12740 key but getting the same one back. Now, if the NMI-supplied
12741 cipher doesn't overlap with the scanned AP capabilities,
12742 we request a completely new key from the user.
12744 2006-02-05 Dan Williams <dcbw@redhat.com>
12746 * src/NetworkManagerUtils.c
12747 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
12748 Handle newline killing better
12750 2006-02-05 Dan Williams <dcbw@redhat.com>
12752 * gnome/applet/nm-gconf-wso.c
12753 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
12754 of unencrypted access point security info.
12756 2006-02-03 Robert Love <rml@novell.com>
12758 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
12759 user's encryption key, so we print the err_msg_cmd not the command,
12760 if available. So long as SUPPLICANT_DEBUG is default, this makes
12763 2006-02-03 Christopher Aillon <caillon@redhat.com>
12765 * initscript/RedHat/NetworkManagerDispatcher.in:
12766 * initscript/RedHat/NetworkManager.in: modify the pidfile location
12767 Patch from Dan Walsh <dwalsh@redhat.com>
12769 2006-02-03 Robert Love <rml@novell.com>
12771 * dispatcher-daemon/NetworkManagerDispatcher.c,
12772 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
12773 but use the sysconfdir.
12775 2006-02-03 Robert Love <rml@novell.com>
12777 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
12778 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
12780 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
12781 nm_ip4_config_get_hostname() and
12782 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
12783 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
12784 leak g_strdup() result.
12786 2006-02-03 Robert Love <rml@novell.com>
12788 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
12789 broadcast == TRUE. Also, copy broadcast and artificial properties
12790 from source network to destination in nm_ap_copy().
12791 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
12792 since we now default new networks to non-hidden.
12794 2006-02-03 Dan Williams <dcbw@redhat.com>
12796 * gnome/applet/main.c
12797 - (main): change the NEVER->ALWAYS so we start at the
12798 beginning of the session, if being session-managed
12800 2006-02-03 Dan Williams <dcbw@redhat.com>
12802 * gnome/applet/main.c
12803 - (main): in a variation on Robert's patch, change
12804 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
12807 2006-02-02 Robert Love <rml@novell.com>
12809 * src/Makefile.am: If we aren't going to create the run directory at,
12810 uh, run-time, create it during install. Then users just doing
12811 'make install' are cool, too. While we are here, create the
12812 dispatcher.d directory, too.
12813 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
12814 the exact run directory.
12815 * Makefile.am: Install nm-applet.desktop.
12817 2006-02-02 Robert Love <rml@novell.com>
12819 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
12820 structure, which denotes whether or not the AP is hidden. This is a
12821 superset of 'artificial' -- we need 'broadcast' because a hidden AP
12822 can show up in the scan list. Add nm_ap_get_broadcast() and
12823 nm_ap_set_broadcast() accessor interfaces.
12824 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
12825 nm_ap_set_broadcast().
12826 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
12827 "getProperties" method, which denotes whether or not the given
12829 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
12830 an artificial network. Set broadcast to TRUE when scanning returns
12831 an ESSID and FALSE when not.
12832 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
12833 from "getProperties" method on a network. Possible TODO is to
12834 somehow display this.
12835 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
12837 2006-02-02 Dan Williams <dcbw@redhat.com>
12839 * src/nm-device-802-11-wireless.c
12840 - (supplicant_interface_init): don't try to create
12841 /var/run/NetworkManager, since that should be done by
12842 the distro package. Causes problems for stuff like SELinux
12844 2006-02-02 Robert Love <rml@novell.com>
12846 Patch by Sureshkumar T <tsureshkumar@novell.com>:
12847 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
12848 Check for and handle empty string for iface.
12850 2006-02-01 Robert Love <rml@novell.com>
12852 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
12855 2006-01-31 Dan Williams <dcbw@redhat.com>
12857 * nm-applet.desktop
12858 - Add --sm-disable to Exec arguments, presuming that when
12859 using autostart, we don't want session management
12861 2006-01-31 Robert Love <rml@novell.com>
12863 * src/NetworkManagerAP.c: Add two new manufacturer default network
12864 names: linksys-a and linksys-g. These are found (at least) on the
12865 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
12868 2006-01-31 Robert Love <rml@novell.com>
12870 * src/NetworkManagerAP.c: Optimize the function
12871 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
12872 machine code. This is the first in a series of code tweaks aiming to
12873 generate better machine code and make NetworkManager all the better.
12874 Just kidding. Who has time to go through the assembly generated for
12875 every function? I certainly don't. I have a wife, a kid, a job,
12876 a mortgage, a mistress. But this function was so bad, I was called
12877 to arms. Like the book.
12879 2006-01-31 Robert Love <rml@novell.com>
12881 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
12882 AP is not broadcasting, to scan with probe request frames. Required
12883 for non-broadcast networks.
12885 2006-01-31 Robert Love <rml@novell.com>
12887 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
12888 preprocessor define (still 20s). Fix message text in nm_info()
12889 s/too too/took too/.
12891 2006-01-30 Dan Williams <dcbw@redhat.com>
12893 * src/nm-device-802-11-wireless.c
12894 - (supplicant_monitor_start): increase connect/auth timeout to
12895 20 seconds from 10 seconds
12897 2006-01-30 Dan Williams <dcbw@redhat.com>
12900 - Define LOCALSTATEDIR
12902 * src/nm-device-802-11-wireless.c
12903 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
12904 socket where we want it to
12906 * src/wpa_ctrl.[ch]
12907 - (wpa_ctrl_open): accept location to put local control socket
12909 2006-01-30 Robert Love <rml@novell.com>
12911 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
12912 get_ip4_string() for "domain_name".
12914 2006-01-30 Robert Love <rml@novell.com>
12916 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12917 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
12918 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
12919 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
12920 support for "Automatic" pairwise and group cipher configuration by
12921 letting wpa_supplicant handle the details. Add UI elements, new
12922 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
12923 charm. Note this does more than add a nice feature, it fixes a bug.
12924 Apparently, some people have AP's where the pairwise cipher does not
12925 match the group cipher. Insane, but true.
12927 2006-01-30 Dan Williams <dcbw@redhat.com>
12929 * gnome/applet/applet-dbus-devices.c
12930 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
12931 functions, grab device driver name from NetworkManager
12932 - (nmwa_dbus_device_properties_cb): call functions to get driver
12934 * gnome/applet/applet.c
12935 - (nmwa_update_info): show driver name in Connection Information
12938 * gnome/applet/nm-device.[ch]
12939 - (network_device_get_driver, network_device_set_driver): add
12940 accessors for driver name
12942 * gnome/applet/wireless-applet.glade
12943 - Add line for driver name to Connection Information dialog
12945 * src/nm-dbus-device.c
12946 - (nm_dbus_device_get_driver): new function to return driver name
12947 - (nm_dbus_device_methods): hook up driver name function to dbus
12950 - (get_driver_name): new function
12951 - (detail_device): grab and show driver name
12953 2006-01-30 Robert Love <rml@novell.com>
12955 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
12956 does not parse the markup if it is not part of the format.
12958 2006-01-30 Robert Love <rml@novell.com>
12960 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
12961 FALSE, we have no security options for this dialog, so we throw up
12962 an error dialog instead of a broken passphrase dialog. Fixes
12964 * gnome/applet/wireless-security-manager.c,
12965 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
12966 does not add any security options, not even NONE, print a warning
12967 and return FALSE. This let's functions constructing a dialog bail
12968 out if the device's capabilities and the network's requirements have
12971 2006-01-27 Robert Love <rml@novell.com>
12973 * configure.in: Require wpa_supplicant. Detect location of binary and
12974 use it. Override with "--with-wpa_supplicant=foo".
12975 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
12976 path to wpa_supplicant but use the auto-detected or user-provided
12977 value from configure.
12979 2006-01-27 Robert Love <rml@novell.com>
12981 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
12982 but the DHCP server did not return a hostname, try to look up our
12983 name via DNS and set the system hostname to that.
12985 2006-01-27 Dan Williams <dcbw@redhat.com>
12987 * src/backends/NetworkManagerRedHat.c
12988 - Add NM_CONTROLLED system network script support for RH/Fedora
12990 2006-01-27 Dan Williams <dcbw@redhat.com>
12992 * src/backends/NetworkManagerGentoo.c
12993 - (nm_system_device_get_disabled): add missing function.
12996 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
12998 * configure.in: Added vi in ALL_LINGUAS line.
13000 2006-01-26 Robert Love <rml@novell.com>
13002 * src/Makefile.am, src/kernel-types.h: Now that two different source
13003 files are feeling the crack-addled leakage of kernel types such as
13004 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13005 types in user-space -- define a header and include it as needed.
13006 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13007 * src/nm-device-802-3-ethernet.h: Remove defines.
13008 * src/wpa.c: Remove defines and include kernel-types.h.
13010 2006-01-26 Robert Love <rml@novell.com>
13012 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13015 2006-01-26 Robert Love <rml@novell.com>
13017 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13018 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13019 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13020 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13021 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13022 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13023 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13024 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13025 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13026 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13027 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13028 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13029 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13030 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13031 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13032 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13033 Kill unused variables, labels, and static functions. Don't pass
13034 string literals as the format string for printf-like functions.
13036 2006-01-25 Dan Williams <dcbw@redhat.com>
13038 * gnome/applet/wireless-applet.glade
13039 - Remove WPA2 Checkbox
13041 * gnome/applet/wireless-security-manager.c
13042 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13043 This means the Wireless Security menu now has two WPA options,
13044 one for "WPA Personal" and one for "WPA2 Personal"
13046 * gnome/applet/wso-wpa-psk.[ch]
13047 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13048 'wpa2' argument to determine WPA version to use
13049 - (append_dbus_params_func): pass stored WPA version to cipher
13050 rather than using the (removed) checkbox
13052 2006-01-24 Robert Love <rml@novell.com>
13054 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13055 before we g_strdup(), not the ultimate string.
13057 2006-01-23 Dan Williams <dcbw@redhat.com>
13059 * src/NetworkManagerAP.[ch]
13060 - (nm_ap_new_from_ap): copy original essid too
13061 - (nm_ap_unref): free original essid
13062 - (nm_ap_get_orig_essid): new function
13063 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13064 but keep original essid around too
13066 * src/nm-device-802-11-wireless.c
13067 - (supplicant_send_network_config): send wpa_supplicant the
13068 _original_ essid, and not as a string, but in hex. Should
13069 allow us to connect to more APs that use wierd character
13070 encodings for their essids
13072 * utils/nm-utils.[ch]
13073 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13074 to UTF-8. If it's not already valid UTF-8, we check LANG and
13075 use the current locale as a hint for what encoding the essid
13076 might be in. Obviously not 100% accurate, but the idea here is
13077 that if a user's locale is ex. ja_JP, they are more likely than
13078 not to be in Japan, where access points will likely be in some
13081 2006-01-23 Dan Williams <dcbw@redhat.com>
13083 * libnm-util/cipher-private.h
13084 libnm-util/cipher.c
13085 libnm-util/cipher.h
13086 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13088 2006-01-23 Robert Love <rml@novell.com>
13090 Patch by Timo Hoenig <thoenig@suse.de>:
13091 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13092 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13093 by DHCP and pass it to the backends, allowing distribution-specific
13094 behavior with respect to the DHCP-supplied hostname (if nothing else,
13095 some distributions might not want to set the hostname).
13096 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13097 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13098 Also update our NIS behavior.
13099 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13100 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13101 Add stub functions.
13103 2006-01-23 Robert Love <rml@novell.com>
13105 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13106 gnome-session does autostart. TODO: We need to install this to
13107 $prefix/share/autostart/.
13109 2006-01-22 Dan Williams <dcbw@redhat.com>
13111 * src/NetworkManagerAP.[ch]
13113 src/nm-device-802-11-wireless.c
13114 - Make nm_ap_get_essid return "const char *"
13116 2006-01-22 Dan Williams <dcbw@redhat.com>
13118 * src/NetworkManagerAP.[ch]
13119 - (nm_ap_get_matched, nm_ap_set_matched): remove
13121 * src/NetworkManagerAPList.[ch]
13122 - (nm_ap_list_diff): removed
13123 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13124 deal with access points changing essids on us
13126 * src/nm-device-802-11-wireless.c
13127 - (add_new_ap_to_device_list): move AP dbus signal logic to
13128 src/NetworkManagerAPList.c
13129 - (real_can_interrupt_activation): new function; allow interruption
13130 of device activation if we are waiting for a network key
13132 * src/NetworkManagerPolicy.c
13133 - (nm_policy_device_change_check): allow interruption of currently
13134 activating devices if the device allows it. Previous behavior
13135 would refuse to activate a just-plugged wired device if a
13136 wireless device was waiting for a key.
13138 * src/nm-device.[ch]
13139 - (nm_device_can_interrupt_activation): new function; ask devices
13140 whether their activation can be interrupted
13142 2006-01-20 Robert Love <rml@novell.com>
13144 * Makefile.am, configure.in: Add new man subdirectory.
13145 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13146 man/Makefile.am: Add man pages for NetworkManager and its
13147 crime-solving bumbling buddy, NetworkManagerDispatcher.
13148 * man/.cvsignore: Add.
13149 * initscript/Debian/NetworkManager,
13150 initscript/Gentoo/NetworkManager.in,
13151 initscript/RedHat/NetworkManager.in,
13152 initscript/RedHat/NetworkManagerDispatcher.in,
13153 initscript/SUSE/networkmanager-dispatcher.in,
13154 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13156 2006-01-20 Robert Love <rml@novell.com>
13158 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13159 instead of queuing. This prevents the running of multiple NM
13160 daemons concurrently, which does not work whatsoever and results in
13161 neither daemon working correctly. Also, we don't handle queuing and
13162 name-owner-changes, anyhow.
13164 2006-01-20 Robert Love <rml@novell.com>
13166 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13167 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13170 2006-01-19 Robert Love <rml@novell.com>
13172 * configure.in: Require hal 0.5.0 or later.
13174 2006-01-18 Robert Love <rml@novell.com>
13176 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13177 Allow backends to flag a device (in whatever distro-dependent way
13178 they so desire) as disabled. NM will ignore any such device.
13179 * src/backends/NetworkManagerDebian.c,
13180 src/backends/NetworkManagerRedHat.c,
13181 src/backends/NetworkManagerSlackware.c: Add stub function
13182 nm_system_device_get_disabled() that always returns FALSE (enabled).
13183 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13184 SUSE-specific configuration structure. Fill it in from the
13185 NM_CONTROLLED variable in the system networking scripts. If this var
13186 exists and is "no", we ignore the device.
13188 2006-01-17 Robert Love <rml@novell.com>
13190 * configure.in: Remove 'no' language. Replaced by 'nb', which is
13191 identical for NM. For a full discussion, see the thread at
13192 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13194 2006-01-17 Dan Williams <dcbw@redhat.com>
13197 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13198 function. Fixes crash when wired DHCP fails.
13200 2006-01-16 Robert Love <rml@novell.com>
13202 * src/Makefile.am: Don't install NMLoadModules
13203 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13204 from src/ to test/ as no one uses it anymore. Note that I would be
13205 fine with removing it altogether.
13207 2006-01-16 Robert Love <rml@novell.com>
13209 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13210 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13211 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13212 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13213 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13214 src/nm-netlink-monitor.c: Don't miss any initializers on structure
13215 declarations, ever.
13216 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13217 NM_STATE_DISCONNECTED is zero).
13219 2006-01-16 Robert Love <rml@novell.com>
13221 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
13222 uninitialized parameter and buffer overflow. Novell #143496.
13224 2006-01-16 Dan Williams <dcbw@redhat.com>
13226 Apply the PtP Address bits of a patch from Tim Niemueller
13228 * src/nm-ip4-config.[ch]
13229 - Add ip4_ptp_address member to object
13230 - (nm_ip4_config_copy): copy ptp address too
13231 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13233 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13234 rather than local tunnel ip address
13236 * src/vpn-manager/nm-vpn-service.c
13237 - (print_vpn_config): update for PtP address
13238 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13239 DBusMessageIters in preparation for getting routes from the VPN
13240 service daemons too
13242 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13243 - (send_config_info): update for PtP address, clean up code
13244 - (main): update for PtP address, clean up code, fix typo
13246 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13247 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13249 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13250 - (pptp_ip_up): update for PtP address
13252 * vpn-daemons/pptp/src/nm-pptp-service.c
13253 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13255 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13256 - (print_vpn_config): update for PtP address
13257 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13259 2006-01-16 Dan Williams <dcbw@redhat.com>
13261 * gnome/applet/applet.c
13262 - (nmwa_add_networks_helper): don't indicate an active network
13263 if NM is disconnected or asleep
13265 2006-01-16 Dan Williams <dcbw@redhat.com>
13267 * src/NetworkManagerPolicy.c
13268 - (nm_policy_device_change_check): switch devices if we lose the link
13269 on an ethernet device.
13271 2006-01-16 Dan Williams <dcbw@redhat.com>
13273 * gnome/applet/wso-wpa-psk-hex.[ch]
13274 - Renamed -> wso-wpa-psk.[ch]
13276 * gnome/applet/wso-wpa-psk.[ch]
13279 * gnome/applet/wso-wpa-psk-passphrase.[ch]
13280 - Removed, rolled into wso-wpa-psk.[ch]
13282 * gnome/applet/Makefile.am
13283 - Updated for above changes
13285 * gnome/applet/wireless-applet.glade
13286 - Consolidate WPA-PSK options into one notebook
13287 widget, and make dialogs invisible by default
13288 to fix screen oddities
13290 * gnome/applet/wireless-security-manager.c
13291 - (wsm_set_capabilities): create the new wpa-psk widget rather
13292 than both the old hex & passphrase ones
13294 2006-01-16 Dan Williams <dcbw@redhat.com>
13296 * gnome/applet/other-network-dialog.c
13297 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13299 2006-01-16 Dan Williams <dcbw@redhat.com>
13301 * gnome/applet/applet.c
13302 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13303 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13304 prevention to realize window before trying to get server
13307 * gnome/applet/other-network-dialog.c
13308 - (nmwa_other_network_dialog_run): fix up focus-stealing
13309 prevention to realize window before trying to get server
13312 * gnome/applet/passphrase-dialog.c
13313 - (nmi_passphrase_dialog_new): fix up focus-stealing
13314 prevention to realize window before trying to get server
13317 2006-01-16 Robert Love <rml@novell.com>
13319 Patch from Timo Hoenig <thoenig@suse.de:
13320 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13321 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13322 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13323 libnm-util/dbus-helpers.h: add checks whether headers are used
13324 within a C++ build.
13326 2006-01-16 Dan Williams <dcbw@redhat.com>
13328 * gnome/applet/wireless-security-option.c
13329 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13331 2006-01-16 Dan Williams <dcbw@redhat.com>
13333 * libnm-util/cipher-wpa-psk-passphrase.c
13334 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13335 be 8 - 63 characters inclusive
13337 2006-01-16 Dan Williams <dcbw@redhat.com>
13340 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13342 2006-01-13 Robert Love <rml@novell.com>
13344 Patch by T Sureshkumar <tsureshkuman@novell.com>:
13345 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13346 modules that do not use an interface.
13348 2006-01-13 Dan Williams <dcbw@redhat.com>
13352 - Allow subclasses to implement deactivate_quickly()
13353 - (nm_device_deactivate_quickly): call subclass
13354 deactivate_quickly() methods
13355 - (nm_device_set_active_link): small cleanups, and don't
13356 deactivate the device right away because we risk a deadlock
13357 when called from device thread, waiting for the device
13358 thread to cancel activation
13360 * src/nm-device-802-11-wireless.c
13361 - (real_deactivate_quickly): new function
13362 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13363 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13364 so that we kill the supplicant when we sleep too
13365 - (supplicant_interface_init): work around naive naming attempts of
13366 wpa_ctrl when naming sockets
13368 2006-01-13 Dan Williams <dcbw@redhat.com>
13370 * src/nm-device-802-11-wireless.c
13371 - (supplicant_cleanup): delete old device control sockets too
13372 - (supplicant_get_device_socket_path): new function to consolidate
13373 locations that need a path to a device's control socket
13375 2006-01-12 Robert Love <rml@novell.com>
13377 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13378 description so that the description is unique for each
13379 pair (device,provider). Fixes Novell #142773.
13381 2006-01-12 Dan Williams <dcbw@redhat.com>
13383 * src/nm-device-802-11-wireless.c
13384 - (supplicant_exec): ensure GError is correctly initialized
13385 Reported by Diego González (gnome.org #326708)
13387 2006-01-11 Robert Love <rml@novell.com>
13389 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13390 define if_mii(), open code the same results, and do so without any
13393 2006-01-11 Robert Love <rml@novell.com>
13395 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13396 that wso_foo_new() returned non-NULL. Instead, only append the new
13397 wso to wsm->options if the wso is non-NULL. The crux is that we
13398 assume that the relevant key types are implied by WEP and WPA as
13399 appropriate. To be sure, they should be, but we should not expect
13400 drivers to not be oozing piles of wolf fecal matter.
13402 2006-01-11 Robert Love <rml@novell.com>
13404 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13405 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13406 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13407 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13408 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13409 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13410 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13411 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13412 comparing values within DBL_EPSILON. Also fix shadowed variable
13415 2006-01-11 Dan Williams <dcbw@redhat.com>
13417 Add options for WPA2 and WPA1+CCMP (AES).
13419 * gnome/applet/wireless-applet.glade
13420 - Add UI bits for WPA+CCMP
13422 * gnome/applet/other-network-dialog.c
13423 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13424 and don't allow creation of WPA2 Ad-Hoc networks since
13425 wpa_supplicant doesn't support them
13427 * gnome/applet/wireless-security-manager.c
13428 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13429 on to the specific wireless security option being created
13431 * gnome/applet/wireless-security-option.[ch]
13432 - (wso_wpa_create_key_type_model): new utility function to create
13433 the model required for WPA Key Type combo box
13435 * gnome/applet/wso-private.h
13436 gnome/applet/wireless-security-option.h
13437 - Move private function prototypes into wso-private.h
13439 * gnome/applet/wso-wpa-psk-hex.[ch]
13440 gnome/applet/wso-wpa-psk-passphrase.[ch]
13441 - (append_dbus_params_func): get WPA version from checkbox and pass
13442 it to the dbus serialization helper
13443 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13444 key type combo changes
13445 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13448 * libnm-util/cipher-wpa-psk-hex.c
13449 libnm-util/cipher-wpa-psk-passphrase.c
13450 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13451 new function; allow the cipher to be changed after object creation
13453 * src/nm-ap-security-wpa-psk.c
13454 - (set_description): Do WPA2 descriptions too
13456 * src/nm-ap-security.c
13457 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13459 2006-01-11 Robert Love <rml@novell.com>
13461 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13462 is defined in <linux/mii.h> to return the mii_ioctl_data structure
13463 from the ifreq structure in lieu of an open coded solution. Removes
13464 a life-threatening type-punning.
13465 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13466 types, ever, whatsoever, baby.
13468 2006-01-11 Robert Love <rml@novell.com>
13470 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13471 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13472 assignments to applet->nm_state into a new nmwa_set_state() function
13473 for both cleanliness and to help debugging.
13475 2006-01-10 Robert Love <rml@novell.com>
13477 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
13478 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13479 seconds, exclusive. That is, we want to sleep x seconds such that
13482 2006-01-10 Robert Love <rml@novell.com>
13484 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13485 the attr fields according to the example in the email available at
13486 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13487 Conversely, we do have to free 'name', so we do so, fixing a leak.
13489 2006-01-10 Robert Love <rml@novell.com>
13491 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13492 sure that we close the socket!
13494 2006-01-10 Robert Love <rml@novell.com>
13496 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13497 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13498 src/nm-device.c: Fix a FIXME! Reimplement the function
13499 nm_device_update_hw_address() in device subclass variants,
13500 nm_device_802_3_ethernet_set_address() and
13501 nm_device_802_11_wireless_set_address(), hook them up, and use them.
13502 This fixes the existing bug where MAC addresses are all zeros.
13504 2006-01-10 Robert Love <rml@novell.com>
13506 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13507 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13508 option to give users ability to globally disconnect and put NM to
13509 sleep. This is useful as a 'lockdown mode' for flying, security, and
13512 2006-01-09 Robert Love <rml@novell.com>
13514 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
13515 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13516 User-space does not supply these types, so we have to define them
13517 ourselves. The relevant kernel maintainer refused to accept a patch
13518 switching these headers to the proper C99 types.
13520 2006-01-09 Dan Williams <dcbw@redhat.com>
13522 Apply Robert's 'tray icon redo' patch with fixes
13523 * gnome/applet/applet.c
13524 gnome/applet/applet.h
13525 - Instead of using a menu bar + menu item, simulate menu
13526 behavior using a popup menu. Highlight the area around
13527 the icon more like a menu too, by playing with the
13528 applet's size requisition
13530 2006-01-09 Timo Hoenig <thoenig@suse.de>
13531 * libnm-util/dbus-helpers.c
13532 libnm-util/dbus-helpers.h
13533 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13534 to 'exception_namespace' (:namespace is a keyword in
13537 2006-01-09 Dan Williams <dcbw@redhat.com>
13539 * src/NetworkManagerPolicy.c
13540 - (nm_policy_device_change_check): don't autoswitch away from
13541 Ad-Hoc networks, since there's really no concept of
13545 - (nm_dbus_nm_create_wireless_network): mark created networks
13548 * src/nm-device-802-11-wireless.c
13549 - (real_activation_success_handler): add user-created Ad-Hoc
13550 networks to the device's scan list
13552 2006-01-08 Dan Williams <dcbw@redhat.com>
13554 We now require a patch for wpa_supplicant to support Ad-Hoc
13556 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13558 * src/nm-device-802-11-wireless.c
13559 - (supplicant_send_network_config): turn off wpa_supplicant's
13560 scanning. Fixes Ad-Hoc networks.
13562 2006-01-08 Dan Williams <dcbw@redhat.com>
13564 * src/nm-ap-security.c
13565 src/nm-ap-security.h
13566 - Add a user_created argument to the write_supplicant_config
13569 * src/nm-ap-security-wep.c
13570 src/nm-ap-security-wpa-psk.c
13571 src/nm-device-802-11-wireless.c
13572 - Make Ad-Hoc mode somewhat work, at least write the
13573 correct options to wpa_supplicant
13575 2006-01-08 Dan Williams <dcbw@redhat.com>
13577 * src/nm-device-802-11-wireless.c
13578 - Remove unused code from the old device activation path
13580 2006-01-08 Dan Williams <dcbw@redhat.com>
13582 * libnm-util/dbus-helpers.c
13583 - (nmu_security_serialize_wpa_psk): pass a blank key through
13584 dbus when key == NULL
13586 2006-01-08 Dan Williams <dcbw@redhat.com>
13588 * gnome/applet/nm-gconf-wso-wpa-psk.c
13589 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13590 correct arguments to nmu_security_deserialize_wpa_psk()
13592 * src/nm-ap-security-wpa-psk.c
13593 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13594 arguments to nmu_security_deserialize_wpa_psk()
13596 2006-01-08 Dan Williams <dcbw@redhat.com>
13598 * gnome/applet/wso-wpa-psk-hex.c
13599 gnome/applet/wso-wpa-psk-passphrase.c
13600 - Hook up the append_dbus_params_func() function
13602 2006-01-08 Dan Williams <dcbw@redhat.com>
13604 * src/nm-device-802-11-wireless.c
13605 - (get_wireless_capabilities): correctly detect driver WPA
13608 2006-01-08 Dan Williams <dcbw@redhat.com>
13610 * gnome/applet/Makefile.am
13611 gnome/applet/wso-wpa-psk-hex.c
13612 gnome/applet/wso-wpa-psk-hex.h
13613 - New files, implement WPA-PSK Hex key input
13615 * gnome/applet/wireless-applet.glade
13616 - Change existing wpa-psk stuff to wpa-psk-hex
13617 - Add new widgets for wpa-psk-passphrase
13619 * gnome/applet/wireless-security-manager.c
13620 - (wsm_set_capabilities): enable WPA options
13622 * gnome/applet/wso-wpa-psk-passphrase.c
13623 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13624 for WPA-PSK passphrase
13626 2006-01-08 Dan Williams <dcbw@redhat.com>
13628 * include/NetworkManager.h
13629 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13630 applet/info-daemons
13632 * gnome/applet/passphrase-dialog.c
13633 - Use the constant. Fixes a bug where the arguments to
13634 dbus_message_new_error() were incorrect
13636 * src/nm-dbus-nmi.c
13639 2006-01-07 Dan Williams <dcbw@redhat.com>
13641 * src/nm-device-802-11-wireless.c
13642 - Add a link timeout so we allow the supplicant time to
13643 reassociate if it can, before we deactivate the card
13644 - Fix up link status and link updating so things work better
13646 2006-01-07 Dan Williams <dcbw@redhat.com>
13648 * src/nm-device-802-11-wireless.c
13649 - Switch over to using wpa_supplicant
13650 - Add a timeout of 10s for association of the supplicant
13651 - Start the monitor callback of the supplicant
13653 2006-01-07 Dan Williams <dcbw@redhat.com>
13655 * src/NetworkManagerUtils.c
13656 - (nm_utils_supplicant_request,
13657 nm_utils_supplicant_request_with_check):
13658 pass correct buffer length to wpa_ctrl_request()
13660 2006-01-07 Dan Williams <dcbw@redhat.com>
13662 * src/nm-device-private.h
13664 - (nm_device_activate_schedule_stage3_ip_config_start): make
13665 this function available to subclasses
13667 2006-01-06 Robert Love <rml@novell.com>
13669 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13670 user plugging in a network cable signals their preference for to
13671 switch, unless the user explicitly selected a wireless network and
13672 therefore signaled their preference for said wireless network over
13673 wired. In other words, do exactly what makes sense.
13675 2006-01-06 Robert Love <rml@novell.com>
13677 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13678 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13679 src/NetworkManagerWireless.h: Remove, no longer used and they keep
13680 showing up in my greps.
13682 2006-01-06 Robert Love <rml@novell.com>
13684 * gnome/applet/applet-dbus-devices.c,
13685 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13686 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13687 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
13688 New Network' both failed in the non-encrypted case because we were
13689 not appending the security options to the DBUS message. And
13690 'Connect to Other' was also failing in the encrypted case because
13691 we were not incrementing to the next DBUS parameter. All fixed.
13692 Thanks to dcdw for some debugging help.
13694 2006-01-06 Robert Love <rml@novell.com>
13696 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
13697 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
13698 hangup code and add per-device hangup. Tie last commit into the
13699 GNOME applet. TODO: Save, understand, and respond to the state of
13700 each dialup device.
13702 2006-01-06 Robert Love <rml@novell.com>
13704 Patch by Timo Hoenig <thoenig@suse.de>:
13705 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
13706 hangup specific dialup devices.
13707 * src/backends/NetworkManagerDebian.c,
13708 src/backends/NetworkManagerGentoo.c,
13709 src/backends/NetworkManagerRedHat.c,
13710 src/backends/NetworkManagerSlackware.c: Add stub backend.
13711 * src/backends/NetworkManagerRedHat.c,
13712 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
13713 hangup specific dialup devices.
13715 2006-01-04 Robert Love <rml@novell.com>
13717 * gnome/applet/applet-dbus-devices.c,
13718 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
13719 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
13722 2006-01-04 Dan Williams <dcbw@redhat.com>
13724 First dump of wpa_supplicant-related code. It's not hooked up to
13725 anything yet though. Thanks to Kay Sievers for
13726 wpa_supplicant_wrapper.c, which formed the basis for this work,
13727 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
13731 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
13733 * src/NetworkManagerUtils.[ch]
13734 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
13735 Add convenience functions for talking to wpa_supplicant
13737 * src/nm-ap-security.[ch]
13738 src/nm-ap-security-wep.c
13739 src/nm-ap-security-wpa-psk.[ch]
13740 - Update and implement real_write_supplicant_config functions
13741 in all security types
13742 - (nm_ap_security_wpa_psk_new_from_ap): implement in
13743 nm-ap-security-wpa-psk.c
13745 * src/nm-device-802-11-wireless.c
13746 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
13747 wpa_supplicant_start, wpa_supplicant_interface_init,
13748 wpa_supplicant_send_network_config): add functions to talk to
13749 wpa_supplicant and write network config to it
13751 2006-01-04 Robert Love <rml@novell.com>
13753 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
13754 values so that distribution-backends can differentiate between the
13755 various types (modem, ISDN, et cetera) of dialup device that they
13757 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
13760 2006-01-03 Dan Williams <dcbw@redhat.com>
13762 * src/NetworkManagerPolicy.c
13764 src/nm-device-802-11-wireless.c
13765 - Move wireless-specific activation failure and success code
13766 into wireless device class
13768 2006-01-03 Robert Love <rml@novell.com>
13770 Patch by Preggna S:
13771 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
13772 IPsec does not require that a VPN client be bound to an interface,
13773 due to the use of the in-kernel IPSec bits. So make the tunnel
13776 2006-01-03 Dan Williams <dcbw@redhat.com>
13778 * src/NetworkManagerAP.c
13779 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
13780 the WPA IE specifies that WEP is supported
13782 * src/nm-device-802-11-wireless.c
13783 - (process_scan_results): don't mark an AP as supporting WEP
13784 if there's already other encryption capability info
13786 2006-01-03 Dan Williams <dcbw@redhat.com>
13788 * src/dhcp-manager/nm-dhcp-manager.c
13789 - Recognize activation cancellation when waiting for DHCP
13790 configuration from dhcdbd
13791 - Ignore non-dhcdbd messages
13794 - (real_act_stage3_ip_config_start): return to correct behavior
13795 of letting the dhcp-manager notify us of failure or
13796 success rather than incorrectly doing that ourselves
13797 - (nm_device_activate_stage4_ip_config_get): deal with
13798 activation cancellation a bit earlier
13800 2006-01-03 Dan Williams <dcbw@redhat.com>
13802 * src/nm-device-802-11-wireless.c
13804 - Add hooks to subclasses for stage3_ip_config_start and
13805 stage4_ip_config_timeout
13807 * src/nm-device-802-3-ethernet.c
13808 - (real_get_generic_capabilities): make devices NM-supported
13811 2006-01-03 Robert Love <rml@novell.com>
13813 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
13814 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
13815 latter cannot differentiate between error and the address -1; misc.
13818 2006-01-03 Dan Williams <dcbw@redhat.com>
13820 * src/NetworkManager.c
13821 - Move link-checking/probing into the device subclasses
13824 * src/nm-device.[ch]
13825 src/nm-device-802-11-wireless.c
13826 src/nm-device-802-3-ethernet.c
13827 - Do periodic link checking in device subclasses rather
13828 than being triggered from NetworkManager.c
13829 - discover_wireless_capabilities -> get_wireless_capabilities
13830 - discover_generic_capabilities -> get_generic_capabilities
13831 - Device subclass activation routines now return a value of type
13832 NMActStageReturn to indicate what step to perform next
13833 - Devices now override stage4_get_ip4_config if they choose
13835 2006-01-01 Dan Williams <dcbw@redhat.com>
13837 * src/nm-device-802-11-wireless.c
13838 - (real_init): don't chain up to parent init because we don't
13839 need to do that anymore
13842 - (discover_device_type): fix arguments to ioctl() to correctly
13843 pass interface name
13844 - (nm_device_new): consolidate generic device initialization into
13846 - (real_init): remove, consolidated to nm_device_new()
13847 - (nm_device_deactivate, real_deactivate): consolidate
13849 2006-01-01 Dan Williams <dcbw@redhat.com>
13851 * src/nm-activation-request.c
13852 - Change dhcp_state member of the NMActRequest structure
13853 from guint8 to guint32
13855 * src/dhcp-manager/nm-dhcp-manager.[ch]
13856 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
13857 than guint8 to match the dbus argument. Turns out we were
13858 overwriting memory since we were passing in only a guint8
13860 2005-12-31 Dan Williams <dcbw@redhat.com>
13862 * refactor NMDevice into a GObject-based framework with separate
13863 objects for wired and wireless. The following files are no
13864 longer used but should stick around for a bit so we don't
13865 loose code through the cracks:
13866 NetworkManagerDevice.c
13867 NetworkManagerDevice.h
13868 NetworkManagerWireless.c
13869 NetworkManagerWireless.h
13871 The intent here is to allow each device type to manage its own
13872 connection & activation life-cycle, ie to allow wireless devices
13873 to interface with wpa_supplicant, etc. There's a fair bit of
13874 encapsulation breakage right now that should gradually get pulled
13875 back into each device, along with things like periodic property
13876 updates and link probing.
13878 2005-12-29 Dan Williams <dcbw@redhat.com>
13880 * include/NetworkManager.h
13881 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
13882 between networks that don't have any encryption at all
13884 2005-12-29 Dan Williams <dcbw@redhat.com>
13886 * test/test-common.c
13889 - Move to a test-common subdirectory
13891 * test/libnm-util/test-ciphers.c
13892 - Move test data to test-inputs.h
13893 - Test WPA ciphers too
13895 * test/libnm-util/test-dbus-helpers.c
13896 - Test serialization/deserialization of ciphers
13898 2005-12-29 Dan Williams <dcbw@redhat.com>
13900 * gnome/applet/applet-dbus-devices.c
13901 - Replace 'enc' parameter with 'capabilities' for wireless networks
13902 in dbus calls to NM
13903 - Set capabilities on WirelessNetwork objects
13904 - Receive and save type-specific device capabilities too
13906 * gnome/applet/applet-dbus-info.c
13907 gnome/applet/applet-dbus.c
13908 - Passphrase dialog no longer a singleton; new instance gets created
13909 on each request. Updates to deal with that.
13911 * gnome/applet/applet.c
13912 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
13913 than single 'encrypted' flag
13914 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
13916 - Passphrase dialog updates per above
13918 * gnome/applet/menu-items.c
13919 - (network_menu_item_update): use AP capabilities to determine
13922 * gnome/applet/nm-device.[ch]
13923 - Add accessors for type-specific device capabilities
13925 * gnome/applet/other-network-dialog.c
13926 - Rework to respect device capabilities. i.e., if the device doesn't
13927 support WPA, remove that option from the security dropdown
13929 * gnome/applet/passphrase-dialog.c
13930 - Massive rework so that a new instance is created each time
13931 it's used, to support wireless network capabilities
13933 * gnome/applet/wireless-network.[ch]
13934 - Add accessors and members for wireless network capabilities
13936 * gnome/applet/wireless-security-manager.[ch]
13937 - (wsm_set_capabilities): called after creation to set which
13938 security options get shown to the user
13940 2005-12-29 Dan Williams <dcbw@redhat.com>
13942 * libnm-util/cipher-wpa-psk-passphrase.c
13943 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
13946 2005-12-23 Dan Williams <dcbw@redhat.com>
13948 * gnome/applet/applet-dbus-info.c
13949 - (nmi_dbus_get_key_for_network): if there's no entry in
13950 GConf for a network, assume we want a new key
13951 - (nmi_save_network_info): serialize wireless security info
13952 into GConf so its saved
13955 - Fix warning as we may not be passed security info when
13956 connecting to a wireless network
13958 2005-12-23 Dan Williams <dcbw@redhat.com>
13960 * gnome/applet/applet-compat.c
13961 - Fix bugs in GConf entry conversion
13963 * gnome/applet/applet-dbus-info.c
13964 - (nmi_dbus_get_network_properties): handle case of the BSSID
13965 list being zero-length
13967 * libnm-util/cipher-*
13968 libnm-util/dbus-helpers.c
13969 - All ciphers must now return hashed keys as UTF-8 valid
13970 hexadecimal strings, ie "8f3dae4023". They are pushed
13971 through dbus as strings too.
13972 - Consolidate various functions that do bin->hex and hex->bin
13973 conversion into cipher.c
13975 * src/nm-ap-security-wep.c
13976 src/nm-ap-security-wpa-psk.c
13977 - Handle NULL keys since we may not know keys right away
13979 * src/nm-dbus-nmi.c
13980 - (nm_dbus_get_network_data_cb): actually advance to the start
13981 of the wireless security info before we try to deserialize it
13983 * libnm-util/test-ciphers.c
13984 - Update cipher tests for the change to UTF-8 hexadecimal strings
13986 2005-12-22 Dan Williams <dcbw@redhat.com>
13988 * gnome/applet/applet-compat.[ch]
13989 - Convert old-format GConf and keyring entries
13990 when the applet starts up.
13992 * gnome/applet/applet.c
13993 - (nmwa_get_instance): Call the conversion function
13994 on startup before dbus is initialized
13996 2005-12-22 Dan Williams <dcbw@redhat.com>
13998 * gnome/applet/applet-dbus-info.c
13999 - Remove nmi_dbus_create_error_message() in favor of
14000 nmu_create_dbus_error_message()
14001 - (nmi_dbus_get_network_properties): Error message cleanups
14002 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14003 gconf key rather than 'addresses', since they really are BSSIDs
14004 - (nmi_dbus_get_network_properties): Dispose of the security
14005 object when we're done with it
14007 2005-12-21 Dan Williams <dcbw@redhat.com>
14009 * Consolidate the info-daemon's "updateNetworkInfo" and
14010 "addNetworkAddress" calls into just "updateNetworkInfo"
14012 2005-12-21 Dan Williams <dcbw@redhat.com>
14014 * Make connection after key retrieval work again
14016 2005-12-21 Dan Williams <dcbw@redhat.com>
14018 * gnome/applet/nm-gconf-wso*
14019 - Make the serialize functions return gboolean
14022 * gnome/applet/nm-gconf-wso.c
14023 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14024 parent class handling so we don't segfault
14026 * src/NetworkManagerAP.[ch]
14027 - (nm_ap_get_capabilities): new function, return capabilities
14028 now that something can use them
14029 - (nm_ap_set_encrypted): assume that an access point supports
14030 both WEP104 and WEP40 if its set encrypted. FIXME: can
14031 we even tell whether it just supports WEP40?
14033 * src/NetworkManagerDevice.c
14034 - (ap_need_key): resurrect and update for the New World Order
14035 - (nm_device_wireless_get_activation_ap): if we're not given
14036 security info to use, create some based on access point
14039 * src/nm-ap-security-wep.c
14040 - (nm_ap_security_wep_new_from_ap): create a new object
14041 based on a certain access point's capabilities
14043 * src/nm-ap-security.c
14044 - (nm_ap_security_new_from_ap): delegate creation of a new
14045 object based on access point capabilities to a subclass
14046 - (nm_ap_security_copy_properties): don't segfault if we
14047 don't have a key yet
14050 - (nm_dbus_nm_set_active_device): provide more informative
14051 output when errors occur. Also construct security info
14052 for a given access point if we weren't given any
14054 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14056 * configure.in: Added Lithuanian to ALL_LINGUAS.
14058 2005-12-21 Dan Williams <dcbw@redhat.com>
14061 - Add some testcases for WEP ciphers
14063 2005-12-17 Dan Williams <dcbw@redhat.com>
14067 2005-12-17 Dan Williams <dcbw@redhat.com>
14069 * include/NetworkManager.h
14070 - Finally kill NMEncKeyType
14072 * gnome/applet/applet-dbus-info.c
14073 - (nmi_save_network_info): convert to NMGConfWSO
14075 * gnome/applet/nm-gconf-wso-*.c
14076 - Implement gconf serialization functions
14078 * src/NetworkManagerPolicy.c
14079 - (nm_policy_activation_finish): fix up meaning of
14080 automatic/user_requested
14082 2005-12-17 Dan Williams <dcbw@redhat.com>
14085 - More applet cleanups
14086 - Use the dbus-method-dispatcher
14088 * libnm-util/dbus-method-dispatcher.[ch]
14089 - Generalize the implementation from NM in
14090 NetworkManagerUtils.c
14092 2005-12-16 Dan Williams <dcbw@redhat.com>
14095 - Fix up the passphrase dialog to use all the
14096 WirelessSecurityOption stuff (untested)
14098 2005-12-16 Dan Williams <dcbw@redhat.com>
14100 * Move nm_gconf_get_*_helper() functions to separate files,
14101 gconf-helpers.c & gconf-helpers.h
14103 * New NMGConfWSO objects for managing the gconf side of things.
14104 Eventually these should be merged with the
14105 WirelessSecurityOption objects and a common base (that can
14106 serialize/deserialize from dbus & gconf) should be
14107 refactored out, but for now they are separate.
14109 2005-12-16 Robert Love <rml@novell.com>
14111 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14112 binaries unless they exist (nm_spawn_process() emits a warning if
14113 asked to spawn a non-existant process).
14115 2005-12-16 Dan Williams <dcbw@redhat.com>
14117 * gnome/applet/applet-dbus-info.c
14118 - Clean up lots of gconf-related code
14120 2005-12-16 Robert Love <rml@novell.com>
14122 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14124 2005-12-16 Dan Williams <dcbw@redhat.com>
14126 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14128 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14129 bits still to be done)
14131 2005-12-16 Dan Williams <dcbw@redhat.com>
14133 * Finally move info-daemon related stuff out of
14134 NetworkManagerDbus.c to nm-dbus-nmi.c
14136 2005-12-16 Dan Williams <dcbw@redhat.com>
14138 * Kill auth_method for access points, since that's now done
14139 by NMAPSecurity objects
14141 * Add a copy-constructor of sorts to NMAPSecurity
14142 (how do you do this properly in glib???)
14144 2005-12-15 Dan Williams <dcbw@redhat.com>
14146 * Exorcise encryption key hashing on APs
14147 * Use libnm-util's serialization/deserialization in both the
14149 * Random other stuff
14151 2005-12-15 Robert Love <rml@novell.com>
14153 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14154 is being added to the icon naming spec, so let's use that (Tango CVS
14155 has the icon). Because it is new, however, we fall back to the
14156 current "gnome-lockscreen" if the new icon is not around, thus
14157 behavior is the same.
14158 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
14161 2005-12-15 Robert Love <rml@novell.com>
14163 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14164 well, help to give. Couple other misc. bits.
14166 2005-12-15 Dan Williams <dcbw@redhat.com>
14168 * libnm-util/dbus-helpers.[ch]
14169 - Make this the one-stop-shop for serializing/deserializing
14170 AP & connection security settings over dbus. Both NM
14171 and applets should use this to ensure consistent dbus
14172 API going forwared.
14174 2005-12-15 Robert Love <rml@novell.com>
14176 Patch by Timo Hoenig <thoenig@suse.de>:
14177 * src/NetworkManagerDbus.c
14178 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14179 if HAL jumps off the system bus. Otherwise libdbus
14180 (dbus_connection_dispatch) will try to run the filter
14181 function of our libhal context which is already freed.
14183 2005-12-15 Alexander Shopov <ash@contact.bg>
14185 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14187 2005-12-14 Dan Williams <dcbw@redhat.com>
14189 * include/NetworkManager.h
14190 src/NetworkManagerWireless.c
14191 - Rearrange 802.11 wireless-specific capabilities again
14194 - Forgot to add wpa.c/wpa.h to the makefiles
14196 * src/NetworkManagerAP.[ch]
14197 - Implement access point capabilities and parse the
14198 WPA/RSN IEs into the capability bitfield
14199 - Switch the "encrypted" attribute to utilize the bitfield
14200 and capabilities rather than being independent
14202 * src/NetworkManagerDevice.c
14203 - (nm_device_wireless_get_activation_ap): break it horribly
14204 until we can push NMAPSecurity objects into access point
14205 objects and through the activation chain
14206 - Stuff WPA & RSN IEs into AP capabilities
14209 - Take a shot at actually making setActiveDevice work
14212 - Make the API a bit saner
14214 2005-12-14 Dan Williams <dcbw@redhat.com>
14216 * include/NetworkManager.h
14217 - Add 802.11-specific capability for 802.1x key
14221 - Pull in WPA IE and RSN IE parsing code from
14222 wpa_supplicant so we can determine access point
14224 - Move WPA-related constants here from NetworkManagerAP.h
14225 and NetworkManagerDevice.c
14227 * src/NetworkManagerDevice.c
14228 src/NetworkManagerAP.[ch]
14229 - Use WPA-related constants from wpa.h
14231 2005-12-14 Dan Williams <dcbw@redhat.com>
14233 * include/NetworkManager.h
14234 - Update and split 802.11 wireless-specific capabilities from
14235 generic device capabilities
14237 * src/NetworkManagerDevice.c
14238 src/NetworkManagerDevicePrivate.h
14239 - (nm_device_wireless_discover_capabilities): Move 802.11
14240 wireless-specific capability checks to
14241 NetworkManagerWireless.c
14242 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14243 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14245 * src/NetworkManagerWireless.[ch]
14246 - (nm_802_11_wireless_discover_capabilities): Check extended
14247 802.11 wireless-specific capabilities of the driver
14249 2005-12-14 Robert Love <rml@novell.com>
14251 Patch from Stefan Scheler <sscheler@suse.de>:
14252 * src/NetworkManagerDevice.c: call backend code to activate and
14254 * src/NetworkManagerSystem.h: add new NIS interfaces.
14255 * src/backends/NetworkManagerDebian.c,
14256 src/backends/NetworkManagerGentoo.c,
14257 src/backends/NetworkManagerRedHat.c,
14258 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14260 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14262 2005-12-14 Dan Williams <dcbw@redhat.com>
14264 * src/nm-ap-security*.[ch]
14265 - Add AP security abstractions to NetworkManager
14267 * src/nm-dbus-device.c
14268 - Begin to parse new format dbus messages from the applet
14269 and construct an AP security object from the message
14271 * libnm-util/dbus-helpers.c
14272 - Use message iters so we can append the key as a fixed
14273 array of bytes, which actually works rather than
14274 using dbus_message_append_args() as we were before
14276 2005-12-14 Dan Williams <dcbw@redhat.com>
14278 * src/NetworkManagerDbus.c
14279 gnome/applet/applet-dbus.c
14280 - Fix up dbus service replacement options. The applet
14281 should allow replacement, NM itself should not.
14283 2005-12-13 Robert Love <rml@novell.com>
14285 * src/named-manager/nm-named-manager.c: Revert earlier commit.
14286 Instead, fail silently if config is NULL by not asserting and not
14287 returning FALSE. Also, make sure we always fclose() the file.
14289 2005-12-13 Robert Love <rml@novell.com>
14291 Patch by Stefan Scheler <sscheler@suse.de>:
14292 * src/nm-ip4-config.h, src/nm-ip4-config.c,
14293 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14294 via DHCP. Still need the backends to commit the NIS domain name and
14295 and servers to yp.conf as needed.
14297 2005-12-13 Robert Love <rml@novell.com>
14299 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14300 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14302 2005-12-13 Robert Love <rml@novell.com>
14304 * src/named-manager/nm-named-manager.c: Don't unref the config until
14305 after we call rewrite_resolv_conf(), because get_last_default_domain()
14306 needs to access the config. Fixes "rewrite_resolv_conf: assertion
14307 `config != NULL' failed" assertion failures and "Could not commit DNS
14310 2005-12-12 Dan Williams <dcbw@redhat.com>
14312 * libnm-util/dbus-helpers.[ch]
14313 libnm-util/Makefile.am
14314 - new helper calls to consolidate locations where
14315 NM's setDevice method is called
14317 * gnome/applet/applet-dbus-devices.c
14318 gnome/applet/wireless-security-option.c
14320 - Implement dbus message param append function for
14321 all wireless security options
14323 2005-12-12 Robert Love <rml@novell.com>
14325 * libnm-util/cipher-wep-passphrase.c,
14326 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14327 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14328 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14329 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14330 When handling keys, we don't care what the sign is. The compiler
14331 guarantees us that we get our 8-bits, which is all we care about.
14332 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
14334 2005-12-12 Dan Williams <dcbw@redhat.com>
14336 * gnome/applet/applet-dbus-devices.[ch]
14337 gnome/applet/applet.c
14338 gnome/applet/other-network-dialog.c
14339 gnome/applet/wireless-security-manager.[ch]
14340 gnome/applet/wireless-security-option.[ch]
14342 - Push the wireless security options further into the applet
14344 2005-12-12 Robert Love <rml@novell.com>
14346 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14347 return any name servers. That is perfectly valid. (Novell #134369).
14349 2005-12-11 Dan Williams <dcbw@redhat.com>
14351 * gnome/applet/wso-*
14352 gnome/applet/wireless-security-option.*
14353 gnome/applet/Makefile.am
14354 - split each security option out so we can eventually
14355 have each one build up their own dbus message
14356 arguments to send to NM
14358 2005-12-11 Dan Williams <dcbw@redhat.com>
14360 * Make validation of the key work correctly
14362 2005-12-11 Dan Williams <dcbw@redhat.com>
14364 * Hook more bits of the Other Network Dialog up to the
14365 wireless security manager stuff, and restructure
14366 bits of the dialog so there's less code.
14368 2005-12-10 Dan Williams <dcbw@redhat.com>
14370 * gnome/applet/Makefile.am
14371 - Add libnm-util to includes
14372 - Add libnm-util to link list
14373 - Add wireless-security-common.* to compile list
14375 * gnome/applet/other-network-dialog.c
14376 - Convert to using the WirelessSecurityManager code and
14379 * gnome/applet/passphrase-dialog.c
14380 - Comment out references to stuff in the glade file that
14381 cause runtime errors until it can be fixed up
14382 to use the WirelessSecurityManager code
14384 * gnome/applet/wireless-applet.glade
14385 - Rename some widgets
14386 - Add widgets for the WirelessSecurityManager code
14387 - Remove passphrase-related stuff since that's now
14388 handled by the WirelessSecurityManager code
14390 2005-12-10 Dan Williams <dcbw@redhat.com>
14392 * gnome/applet/applet-dbus-devices.c
14393 - Print out error message details for dbus pending call callbacks
14394 - Move nmwa_dbus_update_devices() up
14396 * gnome/applet/applet-dbus-vpn.c
14397 - Print out error message details for dbus pending call callbacks
14399 2005-12-10 Dan Williams <dcbw@redhat.com>
14403 - Remove cipher-manager.* because we don't need it
14404 - Forgot to add gnome-keyring-md5 files to compile list
14406 2005-12-09 Dan Williams <dcbw@redhat.com>
14411 - Add a utility library for clients of NetworkManager. It's
14412 only targetted at applets for the moment, and contains
14413 a generalized 802.11 cipher framework for different
14414 types of keys (WEP & WPA Hex, ASCII, Passphrase)
14416 2005-12-09 Robert Love <rml@novell.com>
14418 * src/NetworkManagerDevice.c: handle error better in
14419 nm_device_set_mode().
14421 2005-12-08 Robert Love <rml@novell.com>
14423 * include/NetworkManager.h: add WPA capabilities constants
14424 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14425 or WPA2 and add the capabilities bits as appropriate.
14427 2005-12-08 Robert Love <rml@novell.com>
14429 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14430 NetworkManagerDispatcher.
14431 * configure.in, initscript/SUSE/.cvsignore,
14432 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14435 2005-12-08 Robert Love <rml@novell.com>
14437 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14439 2005-12-08 Robert Love <rml@novell.com>
14441 * src/NetworkManagerDevice.c: We want to fall back on and default to
14442 IW_MODE_AUTO, not -1, which is more in line with our previous
14443 behavior. Otherwise, we try to set the wireless mode to -1 in
14444 nm_device_set_mode().
14446 2005-12-07 Robert Love <rml@novell.com>
14448 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14449 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14450 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14451 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14452 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14453 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
14456 2005-12-07 Robert Love <rml@novell.com>
14458 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14459 supplied IP is invalid, fall back to DHCP.
14461 2005-12-07 Dan Williams <dcbw@redhat.com>
14463 * Convert NETWORK_MODE_* constants to IW_MODE_*
14464 * Make all the get_mode/set_mode functions take and return 'int'
14465 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14467 2005-12-07 Robert Love <rml@novell.com>
14469 * src/NetworkManagerDevice.c: strncpy() buffer check.
14470 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14472 2005-12-06 Dan Williams <dcbw@redhat.com>
14474 * gnome/applet/applet-dbus.c
14475 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14477 * gnome/applet/applet-dbus-vpn.c
14478 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14479 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14480 to TRUE here if stage was ACTIVATED
14482 2005-12-06 Dan Williams <dcbw@redhat.com>
14484 * Change nm_device_is_* functions to better names:
14485 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14486 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14488 2005-12-06 Dan Williams <dcbw@redhat.com>
14490 * Change naming of NMDeviceType to something more sensible:
14491 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14492 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14493 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14495 2005-12-06 Dan Williams <dcbw@redhat.com>
14497 * Move NetworkManager.h -> include/NetworkManager.h
14498 * Split out VPN stuff into include/NetworkManagerVPN.h
14499 * Fix up makefiles to include new location
14500 * Fix up sources to include NetworkManagerVPN.h
14502 2005-12-06 Dan Williams <dcbw@redhat.com>
14504 Various changes in the applet to move VPN connection "state" -> "stage",
14505 which it actually is. I'd like to change the signal as well when we
14506 break compat in the near future.
14508 2005-12-06 Dan Williams <dcbw@redhat.com>
14510 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14511 * initscript/Slackware/rc.networkmanager
14514 * src/backends/NetworkManagerSlackware.c
14515 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14518 2005-12-05 Robert Love <rml@novell.com>
14520 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14521 to free, particularly here as it just barfs.
14523 2005-12-05 Dan Williams <dcbw@redhat.com>
14525 * gnome/applet/applet-dbus.c
14526 - Work with dbus 0.6 too
14528 2005-12-03 Dan Williams <dcbw@redhat.com>
14530 * src/NetworkManagerUtils.[ch]
14531 src/nm-ip4-config.c
14532 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14533 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14535 2005-12-01 Robert Love <rml@novell.com>
14537 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14538 need a NULL for the '...' parameter, too, to fill the so-called
14541 2005-12-01 Robert Love <rml@novell.com>
14543 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14544 interface is already gone, so don't call rtnl_link_change() to down
14545 it (which will segfault, anyhow).
14547 2005-11-22 Robert Love <rml@novell.com>
14549 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14550 gateway is not set, just print a little note. Configurations without
14551 gateways are valid.
14553 2005-11-22 Robert Love <rml@novell.com>
14557 2005-11-20 Ilkka Tuohela <hile@iki.fi>
14559 * configure.in: Added Finnish translation to ALL_LINGUAS
14561 2005-11-14 Robert Love <rml@novell.com>
14563 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14564 Niemueller <tim@niemueller.de>.
14566 2005-11-08 Dan Williams <dcbw@redhat.com>
14568 Patch from Bill Moss <bmoss@clemson.edu>
14569 * src/NetworkManagerDevice.c
14570 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14571 of nm_policy_schedule_activation_finish() to prevent a
14572 race condition that causes the link to be dropped
14574 2005-11-08 Dan Williams <dcbw@redhat.com>
14576 Patch from Bill Moss <bmoss@clemson.edu>
14577 * src/NetworkManagerAPList.c
14578 src/NetworkManagerDevice.c
14579 src/NetworkManagerDbus.c
14580 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14581 we get more readable ether/mac addresses
14583 2005-11-02 Christopher Aillon <caillon@redhat.com>
14585 * gnome/applet/main.c: Don't set the restart command. This fixes
14586 the issue where the restart command was getting copies of all its
14587 arguments for each time the applet was restarted.
14589 2005-11-02 Robert Love <rml@novell.com>
14591 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14592 if the widget state differs from our saved state. This ensures we
14593 do not enter an endless loop of death and destruction. Also, this
14594 guarantees us that we enforce the widget state.
14596 2005-11-02 Robert Love <rml@novell.com>
14598 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14599 * gnome/applet/applet-dbus-devices.c: invoke the new function
14600 nmwa_enable_wireless_set_active() to ensure that the state of the
14601 'Enable Wireless' checkbox matches the daemon's state. This is a
14602 concern because the daemon remembers the state.
14604 2005-11-02 Robert Love <rml@novell.com>
14606 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14607 Enabled", as checkboxes should be actions/commands not positive
14608 statements, otherwise they are confusing in the unselected case. See
14609 examples in GNOME HIG, Chapter 6.
14611 2005-11-02 Robert Love <rml@novell.com>
14613 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
14614 show a list of wireless networks or the wireless devices or the
14615 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
14616 a bad bug: If wireless is disabled and the user picks a wireless
14617 network, NM will switch to the network, only to immediately switch
14618 back, as wireless is disabled. This also reassures people that NM
14619 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
14621 2005-11-02 Christopher Aillon <caillon@redhat.com>
14623 * gnome/applet/applet.c:
14624 * gnome/applet/applet.h:
14625 Partial backout of Dan's timeout animation patch.
14626 Timeout IDs cannot legally be 0, so revert the code in place to handle
14627 a timeout ID of 0 to denote the timeout isn't running.
14629 2005-11-02 Christopher Aillon <caillon@redhat.com>
14631 * src/NetworkManagerPolicy.c:
14632 (nm_policy_device_change_check) Clarify wireless switch nm_info text
14634 2005-10-28 Robert Love <rml@novell.com>
14636 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14637 "Import Saved Configuration..." to make it clear that importing is
14638 not the next step, but an option. As an aside, a nice TODO would be
14639 to move Importing out of the vpn-specific dialog and into the main
14640 property editor, as Importing goes with Adding, but that will require
14641 some rearchitecting of the VPN stuff I suspect.
14643 2005-10-27 Dan Williams <dcbw@redhat.com>
14645 Start using libnl. You need 1.0-pre3 or higher. Eventually
14646 we should replace most of the distro-specific backend code
14649 Get it here: http://people.suug.ch/~tgr/libnl/
14653 - Add checks for libnl pkgconfig file
14654 - Use LIBNL_LIBS & LIBNL_CFLAGS
14656 * src/NetworkManagerSystem.c
14657 src/nm-ip4-config.[ch]
14658 - Use libnl rather than ioctl() for most things
14659 - Remove unused functions
14661 2005-10-27 Robert Love <rml@novell.com>
14663 * src/backends/NetworkManagerSuSE.c: fix warning message text
14665 2005-10-27 Christopher Aillon <caillon@redhat.com>
14667 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14669 2005-10-27 Christopher Aillon <caillon@redhat.com>
14671 * gnome/applet/applet.c: The applet's about dialog can advertise our
14672 project page <http://www.gnome.org/projects/NetworkManager/>
14674 2005-10-26 Christopher Aillon <caillon@redhat.com>
14676 * gnome/applet.c: Also use translator credits if we don't have
14677 the new GtkAboutDialog (older versions of GTK+)
14679 2005-10-26 Robert Love <rml@novell.com>
14681 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14682 failure; correct usage text for "--no-daemon"
14684 2005-10-25 Dan Williams <dcbw@redhat.com>
14686 * src/NetworkManagerDevice.c
14687 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14689 - (free_process_scan_cb_data): unref the device when freeing results
14690 - (nm_device_wireless_process_scan_results): free scan results a bit later
14691 so we don't unref the device underneath ourselves
14693 2005-10-25 Dan Williams <dcbw@redhat.com>
14695 * Back out 2005-10-24 commit from Tor Krill. Patch
14696 causes nameservers never to be removed from named.
14698 2005-10-24 Dan Williams <dcbw@redhat.com>
14700 Clean up wireless scanning and wireless link probing.
14702 * src/NetworkManagerDevice.c
14703 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
14704 just see if there's an activation request on the device, and check the
14705 current link against the activation request access point's ESSID.
14706 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
14707 - (nm_device_wireless_process_scan_results): actually free our scan data, and
14708 don't call process_scan_results() on zero-length data
14709 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
14710 15 seconds (from 10)
14712 2005-10-24 Dan Williams <dcbw@redhat.com>
14714 Cleanup some applet stuff:
14716 - Animation timeouts. If NM died while the applet was animating,
14717 the applet would not hide itself. This is now fixed.
14719 - Remove some dead code
14721 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
14722 to nmi_passphrase_dialog_cancel() since we no longer use threads.
14724 - Track animation timeout using a gboolean rather than the timeout's
14725 ID, since timeout IDs can legally be 0.
14727 2005-10-24 Dan Williams <dcbw@redhat.com>
14729 * src/backends/interface_parser.c
14730 - Add void to function declarations that need it
14731 to match patch from Engin AYDOGAN
14733 * src/backends/interface_parser.h
14734 - Remove unused prototype for ifparser_interfaces()
14736 Patch from Engin AYDOGAN <engin@bzzzt.biz>
14737 * src/backends/interface_parser.h:
14738 - Compile fixes for gcc 4.0.2 (add void)
14740 2005-10-24 Dan Williams <dcbw@redhat.com>
14742 Patch from Tor Krill <tor@krill.nu>
14743 * src/named-manager/nm-named-manager.c
14744 - Write more than just the first nameserver to /etc/resolv.conf
14745 - Write out valid /etc/resolv.conf on exit
14747 2005-10-21 Christopher Aillon <caillon@redhat.com>
14749 * gnome/applet/applet-dbus-vpn.c:
14750 Get rid of spurious newlines in debug console output
14752 2005-10-21 Christopher Aillon <caillon@redhat.com>
14754 * src/backends/NetworkManagerGentoo.c:
14755 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
14757 2005-10-20 Robert Love <rml@novell.com>
14759 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
14760 direct comparison of floating point values, which is never correct.
14761 Also some misc. cleanup.
14763 2005-10-19 Robert Love <rml@novell.com>
14765 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
14767 2005-10-19 Robert Love <rml@novell.com>
14769 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
14770 sensitivity of the buttons. Specificaly, do the right thing if
14771 there are no entries.
14773 2005-10-19 Christopher Aillon <caillon@redhat.com>
14775 * configure.in: Update check for adequate wireless-tools
14776 with an AC_TRY_COMPILE for the new symbols we use.
14778 2005-10-19 Dan Williams <dcbw@redhat.com>
14780 * src/NetworkManagerDevice.c
14781 - (process_scan_results): don't drop the last (or only)
14782 access point we see
14784 2005-10-19 Christopher Aillon <caillon@redhat.com>
14786 * src/backends/NetworkManagerSlackware.c:
14787 Patch from Nico <lordllucifer@gmail.com>
14788 - Update the Slackware backend.
14790 2005-10-18 Christopher Aillon <caillon@redhat.com>
14792 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
14793 if we've got GLib 2.8.0
14795 2005-10-18 Robert Love <rml@novell.com>
14797 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
14798 function nm_schedule_state_change_signal_broadcast() when we
14799 deactivate a device, too.
14801 2005-10-18 Robert Love <rml@novell.com>
14803 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
14804 be used uninitialized.
14806 2005-10-18 Christopher Aillon <caillon@redhat.com>
14808 * test/libnm_glib_test.c: Test unregistering, too.
14810 2005-10-17 Christopher Aillon <caillon@redhat.com>
14812 * configure.in: Bump to 0.5.0
14814 2005-10-17 Dan Williams <dcbw@redhat.com>
14817 - Remove WPA-related constants so they aren't part of the
14820 2005-10-17 Christopher Aillon <caillon@redhat.com>
14822 * gnome/applet/applet.c:
14823 * gnome/applet/applet.h:
14824 Desensitize the 'Connection Information' menu item when there is
14825 no active connection.
14827 2005-10-17 Christopher Aillon <caillon@redhat.com>
14829 * gnome/libnm_glib/libnm_glib.c:
14830 Make libnm_glib_unregister_callback () actually unregister the callback
14832 2005-10-17 Robert Love <rml@novell.com>
14834 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
14835 two seconds -- tries is updated every 1/10 of a second, not every
14838 2005-10-17 Christopher Aillon <caillon@redhat.com>
14840 * gnome/applet/applet-dbus-info.c:
14841 Let D-BUS know that we haven't handled a message when we haven't.
14843 2005-10-17 Robert Love <rml@novell.com>
14845 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
14846 in order to remain 64-bit clean.
14848 2005-10-17 Christopher Aillon <caillon@redhat.com>
14850 * gnome/applet/applet-dbus-info.c:
14851 Find network encryption keys asynchronously
14853 2005-10-17 Robert Love <rml@novell.com>
14855 * src/backends/NetworkManagerDebian.c,
14856 src/backends/NetworkManagerRedHat,
14857 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
14860 2005-10-17 Robert Love <rml@novell.com>
14862 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
14865 2005-10-17 Christopher Aillon <caillon@redhat.com>
14867 * src/NetworkManagerDevice.c: (process_scan_results)
14868 Fix logic that checks to see whether we have an ESSID.
14870 2005-10-15 Dan Williams <dcbw@redhat.com>
14872 Move scanning code into NetworkManager rather than use iwlib's
14873 iw_scan() function, so that we can figure out AP capabilities.
14876 - Add AP capability bits
14878 * src/NetworkManagerAP.[ch]
14879 - Add capability field to NMAccessPoint structure
14880 - Add WPA & RSN Information Element fields and accessor
14881 functions to NMAccessPoint
14883 * src/NetworkManagerDevice.c
14884 - Remove usage of iw_scan
14885 - Add scanning code to NetworkManager rather than use
14886 iw_scan() from iwlib
14888 * src/NetworkManagerUtils.[ch]
14889 - (nm_dispose_scan_results): remove, unused
14891 2005-10-14 Christopher Aillon <caillon@redhat.com>
14893 * gnome/libnm_glib/libnm_glib.c:
14894 * gnome/libnm_glib/libnm_glib.h:
14895 Use guint instead of gint for callback IDs.
14897 2005-10-12 Christopher Aillon <caillon@redhat.com>
14899 * gnome/applet/applet.c:
14900 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
14901 every 1000ms. It will unconditionally call nmwa_update_state which
14902 kills the existing animation timeout and registers a new one with a
14903 callback to draw a new frame every 100ms. There are 11 connecting
14904 icon frames, so the last 2 frames kept getting dropped. Only reset
14905 the animation timeout if we aren't animating.
14907 2005-10-11 Dan Williams <dcbw@redhat.com>
14909 * gnome/applet/applet-dbus-devices.c
14910 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
14911 We want to grab the product & vendor from net.physical_dev
14912 rather than info.parent.
14914 2005-10-11 Dan Williams <dcbw@redhat.com>
14916 * src/NetworkManagerDevice.c
14917 - Use the driver's WE version for scanning rather than
14918 the WE version NM was compiled with. Fixes random
14919 crashes in iw_scan () in iwlib.
14921 2005-10-10 Dan Williams <dcbw@redhat.com>
14923 * Remove nm_system_load_device_modules() from backend files
14924 and from NetworkManager.c
14926 2005-10-10 Dan Williams <dcbw@redhat.com>
14928 * src/NetworkManagerPolicy.c
14929 - Fix some bugs introduced by the capabilities patch
14931 2005-10-10 Dan Williams <dcbw@redhat.com>
14933 * gnome/applet/applet-dbus-info.c
14934 - (nmi_dbus_get_network_key): hide the menu when putting up
14935 the keyring dialog. (not sure if the code is right...)
14937 2005-10-09 Dan Williams <dcbw@redhat.com>
14939 Patch from Bill Moss <bmoss@clemson.edu>
14940 * src/NetworkManagerDevice.c
14941 - (nm_device_set_user_key_for_network): don't try to set auth
14942 mode on the AP from the allowed list if it's NULL
14944 2005-10-09 Dan Williams <dcbw@redhat.com>
14946 * Replace the "driver support level" stuff with capabilities. The
14947 capability field is a bitfield that is more flexible than the
14948 old driver support level thing. It's mostly so we can easily
14949 figure out what supports WPA and what doesn't, but should be
14950 quite useful later.
14952 2005-10-09 Dan Williams <dcbw@redhat.com>
14959 - Added new "nm-tool" tool that gives quite a bit more
14962 2005-10-07 Robert Love <rml@novell.com>
14964 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
14965 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
14966 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
14967 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
14970 2005-10-07 Robert Love <rml@novell.com>
14972 * configure.in: Change our compile flags for the betterment of mankind.
14973 Add "-Wstrict-prototypes" because we comply anyhow and missing a
14974 prototype is very bad on 64-bit platforms as types default to int but
14975 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
14976 "-Wmissing-declarations" to warn if we define an exported function
14977 but fail to put it in a header.
14979 2005-10-07 Robert Love <rml@novell.com>
14981 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
14982 by the name nm_update_device_wireless_timeouts() and once tried,
14983 without success, to steal my pet turtle.
14985 2005-10-07 Robert Love <rml@novell.com>
14987 * Cleanup prototypes: put some functions in header files and mark
14988 others as 'static' -- feel free to invert
14989 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
14990 nm_vpn_manager_vpn_connection_list_copy()
14991 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
14992 nm_vpn_service_get_dbus_connection()
14993 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
14994 nm_vpn_manager_vpn_connection_list_copy()
14995 * src/vpn-manager/nm-vpn-service.c: make
14996 nm_vpn_service_act_request_failed() and
14997 nm_vpn_service_stage2_daemon_wait() static
14998 * src/vpn-manager/nm-vpn-service.h: add prototype for
14999 nm_vpn_service_get_dbus_connection()
15001 2005-10-06 Christopher Aillon <caillon@redhat.com>
15003 * gnome/applet/applet.c:
15004 * gnome/applet/applet.h:
15005 * gnome/applet/icons/Makefile.am:
15006 Convey information about the current connection stage in the
15007 icons themselves instead of creating a separate progress bar.
15009 2005-10-04 Robert Love <rml@novell.com>
15011 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15012 convert an ether_addr structure's MAC into a string, because the
15013 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15014 versus 07:3B:04, while the former will not.
15016 2005-10-04 Robert Love <rml@novell.com>
15018 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15019 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15020 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15021 default route in the 'Connection Information' dialog, send primary
15022 and secondary name servers in in "getProperties" DBUS method, add
15023 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15024 secondary domain name servers are crucial pieces of information
15025 that a user might need in debugging a network problem.
15027 2005-10-04 Robert Love <rml@novell.com>
15029 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15030 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15031 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15032 default route in the 'Connection Information' dialog, send default
15033 route in "getProperties" DBUS method, add network_device_set_route(),
15034 and network_device_get_route(). The Gateway is a crucial piece of
15035 connection-related information that a user might need in debugging a
15038 2005-10-03 Robert Love <rml@novell.com>
15040 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15043 2005-10-02 Dan Williams <dcbw@redhat.com>
15045 * Shorten time taken to sleep by fastpathing bits of device deactivation
15046 necessary for sleep.
15048 * Fix issue where deactivating a device might deactivate the active
15049 VPN connection, even if the VPN was not using the device.
15051 2005-10-02 Dan Williams <dcbw@redhat.com>
15053 * gnome/applet/applet.c
15054 - Adjust signal strength -> icon mapping values slightly
15055 (so that 51% signal doesn't show a 75% icon) by adding
15056 5% to the values. ex: > 5% now shows 25% icon, > 30%
15057 shows 50% icon, etc.
15059 2005-09-29 Robert Love <rml@novell.com>
15061 * src/NetworkManager.c: removed unused variable.
15063 2005-09-28 Dan Williams <dcbw@redhat.com>
15065 Support for named + DBus, using Red Hat DBus patches for named. You
15066 can find those patches here, with "dbus" in the patch's filename:
15068 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15070 Don't forget the named dbus service file either.
15072 Instead of writing a config file and spawing a named process, NM will
15073 use an already-running dbus-enabled named if it finds one. NM will
15074 update named's forwarder configuration on the fly using dbus.
15076 If there is no dbus-enabled named running, NM will automatically fall
15077 back to writing the most-recent DNS server information to /etc/resolv.conf
15078 and calling nm_system_update_dns() to kick the system's resolver.
15080 Accordingly, all named-related configure-time options have been removed.
15082 2005-09-26 Robert Love <rml@novell.com>
15084 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15086 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15087 bug in error path if "ASKPASSWORD" is "no".
15089 2005-09-26 Robert Love <rml@novell.com>
15091 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15092 comment in /etc/resolv.conf -- ';' is not.
15094 2005-09-19 Dan Williams <dcbw@redhat.com>
15096 * src/backends/NetworkManagerRedHat.c:
15097 * src/backends/NetworkManagerDebian.c:
15098 * src/backends/NetworkManagerSlackware.c:
15099 * src/backends/NetworkManagerGentoo.c:
15100 * src/backends/NetworkManagerSUSE.c:
15101 Fix invocations of "/sbin/ip address" to use short form instead
15103 2005-09-19 Christopher Aillon <caillon@redhat.com>
15105 * src/nm-dbus-device.c: Don't assert when getting
15106 addresses of a not yet connected interface.
15108 * gnome/applet/applet.c: Free icons if loading fails.
15109 Use translator-credits so translators can make themselves known.
15111 2005-09-15 Christopher Aillon <caillon@redhat.com>
15113 * src/NetworkManagerAP.c:
15114 * src/NetworkManagerAP.h:
15115 * src/NetworkManagerDevice.c:
15116 Set a blacklist for certain common manufacturer default ESSIDs:
15117 APs with these ESSIDs are extremely likely to be completely
15118 different networks: connecting to one should not make NM
15119 auto-connect to every other AP with the same default ESSID.
15121 2005-09-12 Christopher Aillon <caillon@redhat.com>
15123 * gnome/applet/wireless-applet.glade:
15124 The passphrase entry should also activate the default
15126 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15128 * gnome/applet/applet-dbus-devices.c:
15129 * gnome/applet/applet.c:
15130 * gnome/applet/nm-device.c:
15131 * gnome/applet/nm-device.h:
15132 * src/NetworkManagerUtils.c:
15133 * src/NetworkManagerUtils.h:
15134 * src/nm-dbus-device.c:
15135 I've got a fever, and the only cure for it is less ioctl.
15136 Make NM push IP data rather than make the applet open a socket
15139 2005-09-10 Christopher Aillon <caillon@redhat.com>
15141 * gnome/applet/applet.c:
15142 * gnome/applet/applet-dbus-devices.c:
15143 * gnome/applet/applet-dbus-info.c:
15144 * gnome/applet/passphrase-dialog.c:
15145 * gnome/libnm_glib/libnm_glib.c:
15146 * gnome/vpn-properties/nm-vpn-properties.c:
15148 * src/backends/NetworkManagerRedHat.c:
15149 * src/named-manager/nm-named-manager.c:
15150 * src/NetworkManagerAPList.c:
15151 * src/NetworkManager.c:
15152 * src/NetworkManagerDbus.c:
15153 * src/NetworkManagerDevice.c:
15154 * src/NetworkManagerPolicy.c:
15155 * src/NetworkManagerSystem.c:
15156 * src/nm-dbus-device.c:
15157 * src/nm-dbus-nm.c:
15158 * src/vpn-manager/nm-vpn-manager.c:
15159 * src/vpn-manager/nm-vpn-service.c:
15160 * test/libnm_glib_test.c:
15161 * test/nminfotest.c:
15162 * test/nmtestdevices.c:
15163 Fix a bunch of 'unused variable' compiler warnings
15165 * NetworkManager.h:
15166 * gnome/applet/applet-dbus-info.c:
15167 * gnome/applet/applet-dbus-info.h:
15168 * gnome/applet/applet.c:
15169 * gnome/applet/applet.h:
15170 * src/NetworkManager.c:
15171 * src/NetworkManagerDbus.c:
15172 * src/NetworkManagerDbus.h:
15173 * src/NetworkManagerDevice.c:
15174 * src/NetworkManagerDevice.h:
15175 * src/NetworkManagerMain.h:
15176 * src/NetworkManagerWireless.c:
15177 * src/NetworkManagerWireless.h:
15178 * src/nm-dbus-nm.c:
15179 Make NetworkManager be smart about how frequently to scan
15180 based on its current state. Remove the UI for choosing when
15181 to scan. Scanning still may disabled completely by the user
15182 via the "Wireless Enabled" menu item.
15184 2005-09-09 Christopher Aillon <caillon@redhat.com>
15186 * gnome/applet/applet.c:
15187 Also overlay the vpn connecting icons onto the wired icon,
15190 * gnome/vpn-properties/nm-vpn-properties.glade:
15191 Clean up a few strings to use better grammar and proper casing.
15193 2005-09-08 Christopher Aillon <caillon@redhat.com>
15195 * gnome/applet/vpn-connection.c:
15196 * gnome/applet/vpn-connection.h:
15197 Add nmwa_vpn_connection_is_activating ()
15199 * gnome/applet/applet.c:
15200 * gnome/applet/applet.h:
15201 * gnome/applet/icons/nm-vpn-connecting*.png:
15202 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15203 the user know something's happening between clicking the VPN item and it
15204 actually being connected.
15206 2005-09-07 Christopher Aillon <caillon@redhat.com>
15208 * gnome/applet/applet-dbus-info.c: need to free attributes in the
15209 failure case as well.
15211 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
15213 * gnome/panel/eggtrayicon.[ch]:
15214 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15216 2005-09-07 Dan Williams <dcbw@redhat.com>
15218 Patch from Bill Moss <bmoss@clemson.edu>
15219 * src/applet-dbus.c
15220 - (nmwa_dbus_filter): strip whitespace from beginning
15221 and end of VPN login banner
15223 2005-09-07 Dan Williams <dcbw@redhat.com>
15225 * The great VPN Manager rewrite of 2005
15227 2005-09-07 Christopher Aillon <caillon@redhat.com>
15229 * gnome/applet/menu-items.c:
15230 * gnome/applet/nm-device.c:
15231 * gnome/applet/wireless-network.c:
15232 * gnome/libnm_glib/libnm_glib.c:
15233 * src/NetworkManagerDbusUtils.c:
15234 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15235 g_malloc0 doesn't return NULL
15237 2005-09-06 Dan Williams <dcbw@redhat.com>
15239 Patch from Tomislav Vujec <tvujec@redhat.com>
15240 * src/NetworkManagerDevice.c
15241 - (nm_get_device_by_udi): don't return a device when we
15242 actually didn't find what we were looking for
15244 2005-09-06 Christopher Aillon <caillon@redhat.com>
15246 * gnome/applet/applet-dbus-devices.c:
15247 * gnome/applet/applet-dbus-devices.h:
15248 * gnome/applet/applet-dbus.c:
15249 * src/NetworkManagerDbus.c:
15250 * src/NetworkManagerDbus.h:
15251 * src/NetworkManagerDevice.c:
15252 * src/nm-dbus-device.c:
15253 Make NM push updates about active device strength when it changes,
15254 rather than having the applet poll every 2s.
15256 2005-09-05 Christopher Aillon <caillon@redhat.com>
15258 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15259 network_device_set_strength
15261 2005-09-04 Dan Williams <dcbw@redhat.com>
15263 Patch from Bill Nottingham <notting@redhat.com>
15264 * src/NetworkManagerDevice.c
15265 - (nm_device_activation_cancel): reset the quit_activation flag
15267 2005-09-04 Dan Williams <dcbw@redhat.com>
15269 * src/nm-activation-request.c
15270 - (nm_act_request_unref): actually free the structure,
15271 which we didn't seem to be doing before
15273 2005-09-04 Dan Williams <dcbw@redhat.com>
15275 Patch from John Palmieri <johnp@redhat.com>
15276 * gnome/applet/applet-dbus-devices.c
15277 - Fix up unreffing of DBusMessage objects
15279 2005-09-04 Dan Williams <dcbw@redhat.com>
15281 Patch from John Palmieri <johnp@redhat.com>
15282 * gnome/applet/nm-device.c
15283 - (nm_device_unref): clear network_device's memory _before_ freeing it
15285 2005-09-02 Christopher Aillon <caillon@redhat.com>
15287 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15289 2005-09-02 Bill Nottingham <notting@redhat.com>
15291 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15293 2005-09-01 Dan Williams <dcbw@redhat.com>
15295 * src/NetworkManager.c
15296 - (nm_remove_device_from_list): rename to nm_remove_device
15297 - (nm_hal_device_removed): call nm_remove_device()
15299 * src/NetworkManagerDevice.c
15300 - Change the NMWirelessScanCB member 'reschedule' which
15301 wasn't used to 'force' to indicate that we need to
15302 force a scan when adding a device
15305 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15306 from the device list
15307 - (nm_dbus_nm_wake): Re-add all devices to the device list
15309 2005-09-01 Robert Love <rml@novell.com>
15311 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15312 and the check "!iface" in the error case is probably never true.
15314 2005-09-01 Dan Williams <dcbw@redhat.com>
15316 Patch from Bill Nottingham <notting@redhat.com>
15317 * src/backends/NetworkManagerRedHat.c
15318 - Add initial dialup support to Red Hat/Fedora backend
15320 2005-09-01 Dan Williams <dcbw@redhat.com>
15322 * gnome/applet/applet-dbus-devices.c
15323 - Sort both wireless networks and devices again, which got
15324 broken when removing threading
15326 2005-09-01 Christopher Aillon <caillon@redhat.com>
15328 * gnome/applet/applet.c:
15329 Only show the "Stop/Start All Wireless Devices" menuitem
15330 if we actually have wireless devices.
15332 * gnome/applet/applet-dbus-info.c:
15333 * gnome/applet/applet.c:
15334 * gnome/applet/other-network-dialog.c:
15335 * gnome/applet/vpn-password-dialog.c:
15336 Drop the gtk_dialog_run () calls in favor of connecting to
15337 "response" signals, needed now that the applet is not threaded.
15339 2005-08-31 Dan Williams <dcbw@redhat.com>
15341 Patch from Bill Moss <bmoss@clemson.edu>
15342 * src/NetworkManagerDevice.c
15343 - (nm_device_wireless_scan): fix scan timeout values
15345 2005-08-30 Dan Williams <dcbw@redhat.com>
15347 * gnome/applet/wireless-applet.glade
15348 - HIG-ify the Other Wireless Networks dialog a bit more
15349 - Fix some potential segfaults in the info dialog
15351 2005-08-30 Dan Williams <dcbw@redhat.com>
15353 * gnome/applet/applet-dbus-devices.c
15354 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15356 2005-08-30 Dan Williams <dcbw@redhat.com>
15358 * gnome/applet/applet-dbus.[ch]
15359 - Remove all the nmwa_dbus_call_method_xxxx functions since
15360 they weren't being used anyway
15362 2005-08-30 Bastien Nocera <hadess@hadess.net>
15364 * test/nmtestdevices.c: (print_usage), (main):
15365 Check the number of arguments, and fix a typo
15367 2005-08-29 Dan Williams <dcbw@redhat.com>
15369 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15370 * gnome/applet/applet.c
15371 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15373 2005-08-29 Dan Williams <dcbw@redhat.com>
15376 - Don't use threads any more. Anything that blocks
15377 (like gtk_dialog_run()) will have to get fixed up which
15378 should happen quickly. We really only had threads to make
15379 the animation smooth, and when everything got converted over
15380 to DBus Pending Calls, the need for threads kind of went away
15382 2005-08-29 Christopher Aillon <caillon@redhat.com>
15384 * gnome/applet/applet.c: Draw VPN connections as radio items
15385 since we don't yet support multiple VPNs.
15386 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15387 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15389 2005-08-29 Dan Williams <dcbw@redhat.com>
15391 Patch from j@bootlab.org
15392 - Make --without-named work
15393 - Make --with-dhcdbd work correctly
15395 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
15397 * configure.in: Added "ca" to ALL_LINGUAS.
15399 2005-08-26 Christopher Aillon <caillon@redhat.com>
15401 * Fix up VPN state handling between the applet and NetworkManager,
15402 so that the applet doesn't show a VPN as connected when one
15404 - The applet no longer has a pointer to the active VPN's
15405 name, but tracks each VPNs state individually
15406 - NM no longer has a "getActiveVPNConnection" method
15407 - NM no longer broadcasts the "VPNConnectionChange" signal
15408 - NM now broadcasts a "VPNConnectionStateChange" signal
15409 whenever the state of a VPN changes
15411 2005-08-26 Dan Williams <dcbw@redhat.com>
15413 * gnome/applet/applet-dbus-devices.c
15414 gnome/applet/applet-dbus-vpn.c
15415 - Remove calls to dbus_pending_call_ref() because we already
15416 "own" the pending call
15417 - Remove calls to dbus_pending_call_get_completed() because
15418 when we are in the callback, the pending call is completed
15421 2005-08-22 Dan Williams <dcbw@redhat.com>
15423 Patch by Bill Moss <bmoss@clemson.edu>
15424 * src/dhcp-manager/nm-dhcp-manager.c
15425 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15426 some time to send out a RELEASE if they like
15428 2005-08-22 Dan Williams <dcbw@redhat.com>
15430 Noticed by Bill Moss <bmoss@clemson.edu>
15431 * src/NetworkManagerDbus.c
15432 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15433 instead of just cancelling its activation
15435 * src/NetworkManagerDevice.c
15436 - (nm_device_deactivate): some small cleanups
15437 - (nm_device_set_user_key_for_network): deactivate the device
15438 instead of just cancelling its activation
15440 2005-08-22 Dan Williams <dcbw@redhat.com>
15442 Noticed by Bill Moss <bmoss@clemson.edu>
15443 * src/NetworkManagerDevice.c
15444 - (nm_device_wireless_scan): fix scan timeout, we were
15445 waiting way too long for scans to complete
15447 2005-08-22 Dan Williams <dcbw@redhat.com>
15449 Patch from j@bootlab.org:
15450 * src/backends/NetworkManagerDebian.c
15451 - Make the Debian backend work for static IP again
15453 2005-08-20 Christopher Aillon <caillon@redhat.com>
15455 * gnome/applet/other-network-dialog.c:
15456 The "Create New Network" and "Connect to Other Network"
15457 dialogs share alot of code, but shouldn't share a window
15458 title. Give them different ones.
15460 * gnome/applet/wireless-applet.glade:
15461 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15462 Some more minor UI tweaks.
15464 2005-08-19 Christopher Aillon <caillon@redhat.com>
15466 * gnome/applet/other-network-dialog.c:
15467 * gnome/applet/wireless-applet.glade:
15468 Also need mnemonic widgets, and underline enabled.
15470 2005-08-19 Dan Williams <dcbw@redhat.com>
15472 * vpn-daemons/vpnc/nm-vpnc-service.c
15473 - (vpnc_watch_cb): remove no-longer-relevant comment
15474 - (write_config_option): new function, helper to write
15475 config options to vpnc's stdin
15476 - (nm_vpnc_config_write): use the new helper, make the
15479 2005-08-19 Christopher Aillon <caillon@redhat.com>
15481 * gnome/applet/passphrase-dialog.c:
15482 * gnome/applet/wireless-applet.glade:
15483 Make the passphrase dialog response based, and treat
15484 responses other than OK (such as Esc, [X]) as a cancel.
15486 2005-08-18 Christopher Aillon <caillon@redhat.com>
15488 * initscript/Gentoo/NetworkManager:
15489 * initscript/RedHat/NetworkManager:
15490 * initscript/RedHat/NetworkManagerDispatcher:
15491 * initscript/SUSE/networkmanager:
15492 CVS remove these in place of .in replacements
15495 * initscript/Gentoo/NetworkManager.in:
15496 * initscript/RedHat/NetworkManager.in:
15497 * initscript/RedHat/NetworkManagerDispatcher.in:
15498 * initscript/SUSE/networkmanager.in:
15499 These scripts now are generated so they work still when
15500 NM is built using a bindir other than /usr/bin
15502 2005-08-18 Dan Williams <dcbw@redhat.com>
15504 * gnome/applet/main.c
15505 - Revert previous change for --no-session since
15506 --sm-disable does the same thing
15508 2005-08-18 Dan Williams <dcbw@redhat.com>
15510 * gnome/applet/applet-dbus-info.c
15511 - (nmi_dbus_create_error_message): new function
15512 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15513 functions. Also don't check for both device _and_ network before
15514 asking for a user's key, because we may not have gotten all our
15515 networks back from NM quite yet (due to the dbus pending calls
15516 coming in later). Fixes a hang in NM/nm-applet.
15518 * src/NetworkManagerDbus.c
15519 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15520 slightly more sane manner, even though we are still broken for
15521 certain other error conditions.
15522 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15523 to the info-daemon too
15525 * src/NetworkManagerDevice.c
15526 - Fix some debug messages to be info messages instead
15528 2005-08-18 Dan Williams <dcbw@redhat.com>
15530 * gnome/applet/main.c
15531 - Add new "--no-session" parameter that disables applet
15532 session management, ie for testing
15534 2005-08-18 Christopher Aillon <caillon@redhat.com>
15536 * gnome/applet/other-network-dialog.c:
15537 * gnome/applet/wireless-applet.glade: More mnemonics
15539 2005-08-17 Robert Love <rml@novell.com>
15541 * initscript/SUSE/networkmanager: update
15543 2005-08-17 Dan Williams <dcbw@redhat.com>
15545 * Tag NM_0_4_1_RELEASE
15547 2005-08-17 Christopher Aillon <caillon@redhat.com>
15549 * gnome/applet/applet.c: More translatable string cleanup
15552 2005-08-17 Dan Williams <dcbw@redhat.com>
15554 * gnome/applet/applet-dbus-info.c
15555 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15556 from the dbus message, which tells us to unconditionally
15557 ask the user for a new key. Otherwise, we pull the key from
15558 the keyring and return it. If we fail to get the key from the
15559 keyring, we ask the user for a new key.
15560 - (nmi_dbus_get_network_key): new function to grab the key for
15561 an essid from the keyring.
15562 - (nmi_dbus_get_network_properties): don't access the keyring here.
15563 Also, don't return any key in the dbus message.
15565 * src/NetworkManagerDbus.[ch]
15566 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15567 indicate that we unconditionally want a new key. This function
15568 is now also used to get keys from the info-daemon which are
15569 pre-stored, not just for asking the user for a new key. The
15570 "new_key" parameter indicates whether or not we wish to ask the
15571 user for a new key.
15572 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15573 info-daemon in the return message, so use NULL instead. The
15574 key will be filled in at connect time by calling
15575 nm_dbus_get_user_key_for_network()
15577 * src/NetworkManagerDevice.c
15578 - (nm_device_wireless_configure): update for "new_key" param to
15579 nm_dbus_get_user_key_for_network(). We initially set new_key
15580 to FALSE to see if we have a stored key in the info-daemon, but
15581 if the connection is unsuccessful at this stage we request a
15584 2005-08-17 Dan Williams <dcbw@redhat.com>
15586 * gnome/applet/icons/nm-no-connection.png
15587 gnome/applet/icons/nm-device-wired.png
15588 - Use Diana's new RJ45 connector icons
15590 2005-08-17 Dan Williams <dcbw@redhat.com>
15592 * src/NetworkManagerPolicy.c
15593 - (nm_policy_device_change_check): clarify switching rules if
15594 both new and old devices are valid; mainly, don't switch
15595 away from user-requested wireless connection back to a wired
15598 2005-08-17 Dan Williams <dcbw@redhat.com>
15600 * gnome/applet/Makefile.am
15601 - Relocate the applet to /usr/bin since it is no longer
15602 executed by anything, but directly by the user
15604 2005-08-17 Dan Williams <dcbw@redhat.com>
15606 Patch from Bill Moss <bmoss@clemson.edu>
15608 * gnome/applet/applet-dbus-info.[ch]
15609 - (nmi_save_network_info): save timestamp for network if it
15610 was a change requested by the user
15611 - (nmi_dbus_update_network_info): get user_requested from dbus
15612 message and pass to nmi_save_network_info()
15614 * gnome/applet/applet.c
15615 - (nmwa_update_network_timestamp): remove
15616 - (nmwa_menu_item_activate): don't set timestamp on networks
15617 here, only after a successful connect in nmi_save_network_info()
15619 * src/NetworkManagerDbus.[ch]
15620 - (nm_dbus_update_network_info): pass user_requested into the
15623 * src/NetworkManagerPolicy.c
15624 - (nm_policy_activation_finish): pass user_requested to
15625 nm_dbus_update_network_info()
15627 2005-08-16 Robert Love <rml@novell.com>
15629 * gnome/applet/applet.c: Better "Dial Up" menu item.
15631 2005-08-16 Robert Love <rml@novell.com>
15633 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15634 "Connection Information" menu item.
15636 2005-08-16 Dan Williams <dcbw@redhat.com>
15638 Patch from j@bootlab.org
15639 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15641 * configure.in: allow specifying the path to dhcdbd
15643 2005-08-16 Robert Love <rml@novell.com>
15645 Patch from j@bootlab.org
15646 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15647 src/backends/interface_parser.h: Debian dialup support.
15649 2005-08-16 Christopher Aillon <caillon@redhat.com>
15651 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15652 * gnome/applet/applet.c: Add some mnemonics for VPNC
15654 * vpn-daemons/.cvsignore: fix this up a little bit
15656 2005-08-16 Robert Love <rml@novell.com>
15658 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15661 2005-08-16 Christopher Aillon <caillon@redhat.com>
15663 * gnome/applet/applet.c: Split markup out of translatable strings
15664 and clean up logic a little bit. (fixes #309012)
15666 2005-08-15 Christopher Aillon <caillon@redhat.com>
15668 * gnome/vpn-properties/nm-vpn-properties.c:
15669 * gnome/vpn-properties/nm-vpn-ui-interface.h:
15670 * vpn-daemons/vpnc/properties/nm-vpnc.c:
15671 Makeshift fix to remove newlines from translatable strings.
15672 Note that we now return an allocated string, so callers of
15673 get_confirmation_details () must now call g_free () on the
15674 result. (fixes #309033).
15676 2005-08-12 Robert Love <rml@novell.com>
15678 * gnome/applet/applet-dbus.c: remove newlines from translatable
15679 strings--not needed here anyway. (fix b.g.o #309011)
15680 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15682 2005-08-11 Robert Love <rml@novell.com>
15684 * gnome/applet/applet.c: mark string as translatable.
15686 2005-08-11 Robert Love <rml@novell.com>
15688 * initscript/SUSE/networkmanager: update.
15690 2005-08-11 Dan Williams <dcbw@redhat.com>
15692 * src/nm-dhcp-manager.c
15693 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
15694 an gateway returned from DHCP, try to use the address of the DHCP
15695 server as the gateway instead. Found by Ralf Ertzinger.
15697 2005-08-10 Robert Love <rml@novell.com>
15699 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
15700 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
15702 2005-08-10 Dan Williams <dcbw@redhat.com>
15704 Patch from Bill Moss <bmoss@clemson.edu>
15705 * Consolidate writes of access point information updates to the info daemon
15706 so that we only do it when the connection to the access point was
15707 successful. Also consolidates updates to GConf in the Gnome applet.
15709 * src/nm-netlink-monitor.c
15710 - Silence compile warning when calling g_object_new()
15712 2005-08-08 Dan Williams <dcbw@redhat.com>
15714 Patch from Steev <steev@steev.net>:
15715 * src/backends/NetworkManagerGentoo.c
15716 - Stub new dialup backend functions
15718 2005-08-08 Dan Williams <dcbw@redhat.com>
15720 Patch from Colin Slater:
15721 * src/backends/NetworkManagerGentoo.c
15722 - (nm_system_update_dns): Fix exit status check for restarting
15725 2005-08-05 Robert Love <rml@novell.com>
15727 * NetworkManager.h,
15728 gnome/applet/applet-dbus-devices.c,
15729 gnome/applet/applet-dbus-devices.h,
15730 gnome/applet/applet-dbus.c,
15731 gnome/applet/applet.c,
15732 gnome/applet/applet.h,
15733 src/NetworkManager.c,
15734 src/NetworkManagerMain.h,
15735 src/NetworkManagerSystem.h,
15736 src/backends/NetworkManagerRedHat.c,
15737 src/backends/NetworkManagerSuSE.c,
15738 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
15740 2005-08-05 Robert Love <rml@novell.com>
15742 * gnome/applet/other-network-dialog.c: default the adhoc network to the
15743 machine's hostname to make adhoc creation idiot-proof.
15745 2005-08-04 Robert Love <rml@novell.com>
15747 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
15750 2005-08-04 Dan Williams <dcbw@redhat.com>
15752 * gnome/applet/applet-dbus-info.c
15753 gnome/applet/applet-dbus-info.h
15754 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
15755 to store key, key type, and auth method rather than just auth method
15756 - (nmi_dbus_update_network_info): new function
15757 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
15759 * gnome/applet/passphrase-dialog.c
15760 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
15761 of saving the info ourselves
15763 * gnome/libnm_glib/libnm_glib.c
15764 - Remove the stupid version check for dbus
15766 * src/NetworkManagerAP.c
15767 src/NetworkManagerAP.h
15768 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
15770 * src/NetworkManagerDbus.c
15771 src/NetworkManagerDbus.h
15772 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
15773 more than just the auth method
15775 * src/NetworkManagerDevice.c
15776 - Update network info at the appropriate times
15778 2005-07-29 Ray Strode <rstrode@redhat.com>
15780 * src/NetworkManager.c (nm_info_handler): don't use input as format
15781 string (Spotted by Ian Jackson).
15783 2005-07-27 Dan Williams <dcbw@redhat.com>
15787 - Random cleanups of spacing
15789 * gnome/applet/applet.h
15790 gnome/applet/other-network-dialog.c
15791 gnome/applet/passphrase-dialog.c
15792 - Conslidate usage of NMWAEncryptionKeyTypes enum
15794 Patch from Bill Moss:
15795 - Make Other Wireless Networks work again with encryption keys
15797 2005-07-26 Dan Williams <dcbw@redhat.com>
15799 Patch from Steev <steev@steev.net>:
15800 * src/backends/NetworkManagerGentoo.c
15801 src/backends/Makefile.am
15802 - Fix up Gentoo backend
15804 2005-07-26 Robert Love <rml@novell.com>
15806 * src/backends/NetworkManagerSuSE.c: misc. cleanup
15808 2005-07-25 Robert Love <rml@novell.com>
15810 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
15811 in the same group as the wireless networks, since they are all
15812 mutually exclusive.
15814 2005-07-24 Ray Strode <rstrode@redhat.com>
15816 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
15817 remove unneeded NULL arg from g_object_new(). Any
15818 warnings caused by not having the extra NULL are just a
15819 result of a bug in glib 2.7.0 - 2.7.2.
15821 2005-07-22 Robert Love <rml@novell.com>
15823 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
15825 2005-07-22 Robert Love <rml@novell.com>
15827 * src/nm-netlink-monitor.c: g_object_new() needs at least three
15828 parameters (gcc 4.0.2 warning fix).
15830 2005-07-18 Robert Love <rml@novell.com>
15832 Suggested by Aaron Bockover (abockover@novell.com)
15833 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
15835 * gnome/applet/passphrase-dialog.c: ditto
15836 * gnome/applet/wireless-applet.glade: ditto
15838 2005-07-13 Dan Williams <dcbw@redhat.com>
15840 Patch from Ray Strode <halfline@gmail.com>
15841 * vpn-daemons/vpnc/nm-vpnc-service.c
15842 - Don't let vpnc daemonize, fixes some races with PID file reading
15844 2005-07-13 Dan Williams <dcbw@redhat.com>
15846 Patch from Ray Strode <halfline@gmail.com>
15847 * Random cleanups for strict CFLAGS
15849 2005-07-07 Dan Williams <dcbw@redhat.com>
15851 Patch from Derek Atkins <warlord@MIT.EDU>
15852 * src/nm-dbus-net.c:
15853 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
15855 2005-07-07 Dan Williams <dcbw@redhat.com>
15857 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
15858 * src/backends/NetworkManagerGentoo.c
15859 - Gentoo backend Static IP nameserver fixes
15860 - General Gentoo backend goodness
15862 2005-07-07 Dan Williams <dcbw@redhat.com>
15864 Patch from Bastien Nocera:
15865 * gnome/applet/applet.c
15866 - Fix up error reporting when icons or glade files are missing
15868 2005-07-07 Robert Love <rml@novell.com>
15870 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
15871 are not any VPN connections above it.
15873 2005-07-07 Robert Love <rml@novell.com>
15875 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
15877 2005-07-05 Robert Love <rml@novell.com>
15879 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
15882 2005-07-05 Robert Love <rml@novell.com>
15884 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
15885 on wired or unencrypted wireless.
15887 2005-07-01 Robert Love <rml@novell.com>
15889 * src/NetworkManagerSystem.c: Print the error via strerror().
15891 2005-06-30 Robert Love <rml@novell.com>
15893 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
15894 then exit if the glade file is not found. currently the application
15897 2005-06-30 Robert Love <rml@novell.com>
15899 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
15900 explicitly up all interfaces on wake from sleep.
15902 2005-06-30 Robert Love <rml@novell.com>
15904 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
15905 with information about the currently active connection.
15906 * gnome/applet/applet.h: (ditto)
15907 * gnome/applet/wireless-applet.glade: (ditto), new file
15909 2005-06-30 Robert Love <rml@novell.com>
15911 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
15912 * src/nm-dbus-nm.c: print when we sleep and wake up.
15913 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
15914 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
15915 in /sbin unless D-BUS is, folks).
15916 * README: update to reflect nm-applet replacing NetworkManagerInfo.
15918 2005-06-27 Robert Love <rml@novell.com>
15920 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
15923 2005-06-27 Robert Love <rml@novell.com>
15925 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
15928 2005-06-26 Robert Love <rml@novell.com>
15930 * src/NetworkManagerDevice.c: be specific about which device in
15933 2005-06-23 Adam Weinberger <adamw@gnome.org>
15935 * src/nm-netlink-monitor.c: correct spelling error.
15937 2005-06-23 Robert Love <rml@novell.com>
15939 * gnome/applet/applet-dbus-info.c: gnome keyring support!
15940 * gnome/applet/passphrase-dialog.c: more of that keyring!
15942 2005-06-23 Robert Love <rml@novell.com>
15944 * configure.in: remove extraneous GNOMEKEYRING directives.
15945 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
15946 * gnome/applet/applet.c: nmwa_icons_init: make style local.
15947 * gnome/applet/passphrase-dialog.c: whitespace.
15949 2005-06-23 Robert Love <rml@novell.com>
15951 * src/NetworkManagerDevice.c: division in assignment was flipped.
15953 2005-06-23 David Zeuthen <david@fubar.dk>
15955 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
15956 signal to the child to indicate that we got what we wanted when we
15957 see two new-lines right after each other.
15958 (nmwa_vpn_request_password): Pass a structure with several members
15959 instead of just the passwords
15961 2005-06-23 Dan Williams <dcbw@redhat.com>
15963 * src/NetworkManager.c
15964 src/NetworkManagerMain.h
15965 - (nm_get_hal_ctx): new function, move Hal initialization code here
15966 - (nm_hal_init): new function, init libhal context then add devices
15967 - (nm_hal_deinit): new function, clean up libhal context
15968 - (nm_data_free): Move Hal cleanup here
15969 - (main): check whether Hal is running, and if so, get a list of
15970 network devices from it
15972 * src/NetworkManagerDbus.c
15973 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
15974 and when it appears, get a list of network devices from it. If
15975 Hal goes away, clean up the libhal context
15977 2005-06-22 Robert Love <rml@novell.com>
15979 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
15980 permissions of scripts before executing.
15982 2005-06-21 Robert Love <rml@novell.com>
15984 * initscript/SUSE/networkmanager: update.
15985 * src/backends/NetworkManagerSuSE.c: cleanup.
15987 2005-06-21 Robert Love <rml@novell.com>
15989 * gnome/applet/applet.c: use menu mnemonics.
15990 * gnome/applet/menu-items.c: (ditto)
15992 2005-06-21 Robert Love <rml@novell.com>
15994 * applet/applet-dbus-devices.c: mark non-static functions static.
15995 * applet/applet-dbus-vpn.c: (ditto)
15996 * applet/applet.c: (ditto)
15997 * applet/nm-device.h: (ditto)
15998 * applet/other-network-dialog.c: (ditto)
15999 * applet/passphrase-dialog.c: (ditto)
16000 * NetworkManager.c: (ditto)
16001 * NetworkManagerDbus.c: (ditto)
16002 * NetworkManagerDevice.c: (ditto)
16003 * NetworkManagerPolicy.c: (ditto)
16004 * NetworkManagerUtils.c: (ditto)
16005 * NetworkManagerWireless.c: (ditto)
16006 * NetworkManagerWireless.h: (ditto)
16007 * nm-netlink-monitor.c: (ditto)
16008 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16009 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16010 * autoip.c: include autoip.h.
16011 * autoip.h: new file. define get_autoip().
16012 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16013 * NetworkManagerDbus.h: remove duplicate definitions.
16015 2005-06-20 Robert Love <rml@novell.com>
16017 * Makefile.am: Add missing intltool-foo.in generated files to
16018 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16019 with the start of stuff to cleanup on 'distclea'.
16020 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16021 stuff right and 'distcheck' works.
16022 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16023 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16024 Makefile.am for each. And systray/Makefile needs to be redone.
16026 2005-06-19 Dan Williams <dcbw@redhat.com>
16028 * src/NetworkManagerDevice.c
16029 - (nm_device_wireless_process_scan_results): scan every 20s when
16030 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16032 2005-06-19 Dan Williams <dcbw@redhat.com>
16034 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16036 2005-06-18 Ray Strode <rstrode@redhat.com>
16038 * src/nm-netlink-monitor.c
16039 (nm_netlink_monitor_event_handler): check for the presence
16040 of either error condition not both.
16042 (nm_netlink_monitor_error_handler): emit error signal if
16045 (nm_netlink_monitor_event_handler),
16046 (nm_netlink_monitor_error_handler),
16047 (nm_netlink_monitor_disconnect_handler): if an
16048 assertion fails disconnect the event handler to prevent
16051 * src/nm-netlink-monitor.h: add new error condition
16052 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16054 2005-06-18 Ray Strode <rstrode@redhat.com>
16056 * src/nm-netlink-monitor.c
16057 (nm_netlink_monitor_event_handler): remove bogus < 0
16058 check on unsigned value and return early if the kernel
16059 didn't send any bytes.
16061 2005-06-17 Robert Love <rml@novell.com>
16063 * initscript/SUSE/networkmanager: Change the Provides and default
16066 2005-06-16 Dan Williams <dcbw@redhat.com>
16068 Patch from Robert Love:
16069 * gnome/applet/applet.c
16070 - Beautify some applet menu item names
16072 2005-06-17 David Zeuthen <davidz@redhat.com>
16074 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16075 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16076 Also add new methods can_export, import_file and export.
16078 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16081 * gnome/vpn-properties/nm-vpn-properties.c:
16082 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16083 nm-vpn-ui-interface.h.
16084 (update_edit_del_sensitivity): Also update "Export" sensitivity
16085 (add_vpn_connection): Also add new SVC_NAME column
16086 (import_settings): New function
16087 (retrieve_data_from_selected_connection): New function
16088 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16090 (export_cb): New function
16091 (init_app): Also setup the "export" widget
16092 (main): Support the --import-service and --import-file commandline
16095 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16098 2005-06-16 Dan Williams <dcbw@redhat.com>
16100 Patch from Robert Love:
16101 * gnome/applet/menu-items.c
16102 - (network_menu_item_new): pass -1 as wireless network
16103 menu items height size request rather than ascent / 2
16105 2005-06-16 Dan Williams <dcbw@redhat.com>
16107 * Clean up wording in Wireless Scan Methods menu items and constants
16109 2005-06-16 Robert Love <rml@novell.com>
16112 - remove gtkcell* files
16114 2005-06-15 Dan Williams <dcbw@redhat.com>
16116 Patch from Robert Love: make the applet stetic
16118 * gnome/applet/Makefile.am
16119 - Don't compile the gtkcellview and gtkcellrendererprogress files
16121 * gnome/applet/gtkcellview.h
16122 gnome/applet/gtkcellview.c
16123 gnome/applet/gtkcellrendererprogress.h
16124 gnome/applet/gtkcellrendererprogress.c
16127 * gnome/applet/menu-items.c
16128 - Progress bars are 5:1 size ratio
16129 - Use GTK progress bars rather than internal ones
16131 2005-06-15 Dan Williams <dcbw@redhat.com>
16133 Patch from Robert Love:
16134 * initscript/SUSE/networkmanager
16137 2005-06-15 Dan Williams <dcbw@redhat.com>
16139 * src/backends/NetworkManagerSuSE.c
16140 src/backends/NetworkManagerRedHat.c
16141 src/backends/NetworkManagerDebian.c
16142 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16144 2005-06-15 Dan Williams <dcbw@redhat.com>
16146 * src/backends/NetworkManagerDebian.c
16147 - Add nm_system_device_get_use_dhcp() to debian backend
16149 Patch from Kay Sievers:
16150 * src/backends/NetworkManagerSuSE.c
16151 - Update debian backend for static IP nameservers
16153 * src/NetworkManagerDevice.c
16154 - Actually set the device to use static IP or DHCP rather
16157 2005-06-15 Dan Williams <dcbw@redhat.com>
16159 Patch from Thom May:
16160 * src/backends/NetworkManagerDebian.c
16161 - Update debian backend for static IP nameservers
16163 2005-06-15 Dan Williams <dcbw@redhat.com>
16165 Patches from Robert Love:
16166 * gnome/applet/wireless-applet.glade
16167 - Tighten up wording
16169 * src/NetworkManagerDevice.c
16170 - Remove misplaced ';'
16173 initscript/Makefile.am
16174 initscript/SUSE/Makefile.am
16175 initscript/SUSE/networkmanager
16176 - Add SUSE initscript
16178 2005-06-12 David Zeuthen <davidz@redhat.com>
16180 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16182 * gnome/vpn-properties/nm-vpn-properties.glade: New file
16184 * gnome/vpn-properties/nm-vpn-properties.c: New file
16186 * gnome/vpn-properties/Makefile.am: New file
16188 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16191 * src/vpn-manager/nm-vpn-manager.c
16192 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16193 instead of just a single one
16195 * src/vpn-manager/nm-dbus-vpn.c:
16196 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16198 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16200 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
16201 Change the interface here to give a list of passwords. Also, don't
16202 require username, but do require service
16204 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16205 the binary for the auth-dialog and use that instead of putting up a
16206 dialog asking for a single password
16208 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16209 however do remember the service
16211 * gnome/applet/main.c (main): Setup i18n
16213 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16214 connection to '%s'" to the tooltip if we are connected using VPN
16215 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16216 key to determine whether we the auth-dialog needs to
16217 reprompt. Also cope with the fact that the auth-dialog now returns
16218 an array of passwords.
16219 (nmwa_menu_configure_vpn_item_activate): New handler for
16220 "Configure VPN..." menu item
16221 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16222 (is_vpn_available): New function to determine if we got any
16223 NM-compatible VPN software installed
16224 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16225 items only if we have NM-compatible VPN software installed
16226 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16227 logic for detecting when VPN connections are removed
16229 * gnome/applet/applet-dbus.h: Removed the prototypes for
16230 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16231 since these are defined elsewhere
16233 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16234 function used to keep track of whether the last attempt succeded
16235 (nmwa_dbus_filter): Update last_attempt according to whether the
16236 VPN connection could be established or not
16238 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
16239 Change prototype to take an array of passwords, not just a single
16242 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16243 update service, not user
16244 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16245 dbus_active_vpn_name is not NULL before using it
16246 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16247 string array instead of assuming a single password
16249 * gnome/applet/applet-dbus-info.c:
16250 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16251 user name; don't read from gconf
16253 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
16256 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16258 * configure.in: Add checks for gmodule-2.0.
16259 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16260 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16261 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
16264 * vpn-daemons/Makefile.am: Removed
16266 * vpn-daemons/README: New file to describe extensions points for VPN
16269 2005-06-10 Dan Williams <dcbw@redhat.com>
16271 * src/backends/NetworkManagerRedHat.c
16272 - (get_current_profile_name): new function, grab current network profile name from
16273 /etc/sysconfig/network
16274 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16275 update an IP4 Config structure's settings from it
16276 - (nm_system_device_get_system_config): if we're using static IP on this device,
16277 get DNS info from current network profile
16279 2005-06-09 Dan Williams <dcbw@redhat.com>
16281 Patch from Robert Love:
16282 * src/NetworkManagerDevice.c
16283 src/NetworkManagerUtils.c
16284 - 64-bit build fixes
16286 2005-06-09 Dan Williams <dcbw@redhat.com>
16288 Patch from Kay Sievers and Robert Love:
16290 src/backends/Makefile.am
16291 src/backends/NetworkManagerSuSE.c
16294 2005-06-09 Dan Williams <dcbw@redhat.com>
16297 - Add NMWirelessScanMethod enum for scan methods
16299 * gnome/applet/applet-dbus-devices.c
16300 - (nmwa_dbus_update_scanning_enabled_cb): remove
16301 - (nmwa_dbus_update_scanning_enabled): remove
16302 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16303 since it got removed
16304 - (nmwa_dbus_enable_scanning): remove
16306 * gnome/applet/applet-dbus-info.c
16307 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16308 update the wireless scanning method from NMI
16309 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16310 method value to NetworkManager
16311 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16313 * gnome/applet/applet-dbus-info.h
16314 - Add prototype for nmi_dbus_signal_update_scan_method
16316 * gnome/applet/applet.c
16317 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16318 Wireless Scanning menu based on current wireless scan method
16319 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16320 signal for Wireless Scanning menu items, tell NetworkManager the new method
16321 and update our menu items to make sure the right one is checked
16322 - (nmwa_set_scanning_enabled_cb): remove
16323 - (nmwa_context_menu_update): remove references to pause_scanning_item
16324 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16326 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16328 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16329 so we get notified of preference values too
16330 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16332 * gnome/applet/applet.h
16333 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16334 - Add wireless scan method member to applet data
16335 - Remove pause_scanning_item, add Wireless Scanning submenu
16337 * src/NetworkManager.c
16338 - (nm_data_new): default to NM_SCAN_METHOD_ON
16339 - (main): grab scanning method from NMI if we can
16341 * src/NetworkManagerDbus.c
16342 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16343 nm_dbus_update_wireless_scan_method()
16344 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16346 - (nm_dbus_nmi_is_running): redundant function, removed
16347 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16348 when NMI comes back
16350 * src/NetworkManagerDevice.c
16351 - (nm_device_is_activated): return TRUE if the device is activated
16352 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16353 and we are activated
16356 - (nm_dbus_nm_set_scanning_enabled): removed
16357 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16358 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16360 2005-06-09 Dan Williams <dcbw@redhat.com>
16363 src/vpn-manager/nm-vpn-service.c
16364 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16366 2005-05-27 Dan Williams <dcbw@redhat.com>
16368 * vpn-daemons/vpnc/nm-vpnc-service.c
16369 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16370 Should fix the bug where the VPN connection terminates the first time.
16372 2005-05-20 Dan Williams <dcbw@redhat.com>
16375 - Differentiate VPN config signals between bad VPN config options
16378 * gnome/applet/applet-dbus-info.h
16379 - Add prototypes for wireless network and vpn connection update functions
16381 * gnome/applet/applet-dbus.c
16382 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16384 * gnome/applet/applet.c
16385 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16387 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16388 propogation to NetworkManager
16389 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16390 notify propogation to NetworkManager
16392 * src/NetworkManagerDbus.c
16393 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16394 are updating so a network can be removed from it if necessary
16396 * src/vpn-manager/nm-vpn-manager.c
16397 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16399 * vpn-daemons/vpnc/nm-vpnc-service.c
16400 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16401 - (nm_vpnc_dbus_signal_launch_failed): remove
16402 - (nm_vpnc_dbus_signal_connect_failed): remove
16403 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16404 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16405 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16406 for new generalized error signal function, remove config file stuff
16407 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16408 we can write configuration options to it
16409 - (nm_vpnc_config_file_generate): removed
16410 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16411 - (nm_vpnc_config_options_validate): validate the config options we receive
16412 from NetworkManager to block potential exploits
16413 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16415 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16418 2005-05-16 Dan Williams <dcbw@redhat.com>
16420 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16421 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16424 2005-05-16 Dan Williams <dcbw@redhat.com>
16426 Patch from Tomislav Vujec <tvujec@redhat.com>
16427 * gnome/applet/applet-dbus-info.c
16428 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16429 GConf and pass them to NetworkManager. New key is 'routes' under
16430 the VPN connection, and should be a string list
16432 * src/NetworkManagerSystem.c
16433 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16434 set them on the device when we set the rest of the VPN config. Ensure
16435 they are in the correct format since they are passed directly to the
16438 * src/backends/NetworkManagerRedHat.c
16439 src/backends/NetworkManagerDebian.c
16440 - (nm_system_device_add_route_via_device_with_iface): new function
16442 * src/vpn-manager/nm-dbus-vpn.c
16443 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16445 * src/vpn-manager/nm-vpn-manager.c
16446 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16447 them into the IP4 config functions
16449 2005-05-15 Dan Williams <dcbw@redhat.com>
16451 From Filip Miletic:
16455 - Serbian translation added
16457 2005-05-15 Dan Williams <dcbw@redhat.com>
16459 * dispatcher-daemon/NetworkManagerDispatcher.c
16460 - (main): sync arguments with NetworkManager and the applet, now use
16461 "--no-daemon" rather than "daemon=no"
16462 - (nmd_print_usage): Fix script path in usage message
16464 2005-05-15 Dan Williams <dcbw@redhat.com>
16466 * src/NetworkManagerDevice.[ch]
16467 src/NetworkManagerPolicy.c
16468 src/NetworkManager.c
16470 - Remove the "just_added" parameter from nm_device_deactivate(). We no
16471 longer send the DeviceNoLongerActive signal unconditionally, but only
16472 when the device is actually active.
16474 * dispatcher-daemon/NetworkManagerDispatcher.c
16475 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16476 and simplify the logic
16477 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16478 we free it later on
16480 * initscript/RedHat/Makefile.am
16481 initscript/RedHat/NetworkManagerDispatcher
16482 - Add initscript for NetworkManagerDispatcher
16485 Patch from Bill Moss:
16486 * dispatcher-daemon/NetworkManagerDispatcher.c
16487 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16489 * src/NetworkManagerDbus.c
16490 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
16491 and DeviceNowActive gets signaled, then the device has a new IP address
16492 anyway. There's no need for a separate signal.
16494 * src/NetworkManagerDevice.c
16495 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16497 * src/NetworkManagerPolicy.c
16498 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16499 activates successfully. This kind of went missing when I reworked the
16502 2005-05-15 Dan Williams <dcbw@redhat.com>
16505 - Check for dhcdbd and error if its not found
16507 * src/dhcp-manager/Makefile.am
16508 src/dhcp-manager/nm-dhcp-manager.c
16509 - Use path to dhcdbd that configure found
16511 2005-05-14 Dan Williams <dcbw@redhat.com>
16513 * gnome/applet/nm-device.c
16514 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16515 sort wireless networks alphabetically
16517 * gnome/applet/applet-dbus-devices.c
16518 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16519 before copying them over to the GUI
16521 2005-05-14 Dan Williams <dcbw@redhat.com>
16523 * src/NetworkManager.c
16524 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16525 fixes a deadlock on shutdown with a VPN connection active. This function locks
16526 the device list, as does nm_get_active_device() which is called from
16527 nm_vpn_manager_deactivate_vpn_connection().
16529 2005-05-14 Dan Williams <dcbw@redhat.com>
16532 - Add signals for VPN Launch and Connect failures
16534 * gnome/applet/applet-dbus.c
16535 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16537 * gnome/applet/applet.c
16538 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16539 function to handle all VPN failure messages
16540 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
16541 function to hanlde all VPN failure messages
16542 - (show_warning_dialog): work around focus-stealing prevention
16544 * gnome/applet/other-network-dialog.c
16545 gnome/applet/passphrase-dialog.c
16546 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16547 problem where it never enabled for ASCII Key and Hex Key types
16549 * gnome/applet/wireless-applet.glade
16550 - Add window title to Other Wireless Network Dialog
16552 * src/vpn-manager/nm-dbus-vpn.c
16553 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16554 function to handle all VPN failure messages
16556 * src/vpn-manager/nm-vpn-manager.c
16557 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16559 * vpn-daemons/vpnc/nm-vpnc-service.c
16560 - (nm_vpnc_dbus_signal_launch_failed): new function
16561 - (nm_vpnc_dbus_signal_connect_failed): new function
16562 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16563 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16564 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16565 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16567 2005-05-11 Dan Williams <dcbw@redhat.com>
16569 * vpn-daemons/vpnc/nm-vpnc-service.c
16570 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16571 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16572 file exists before trying to write it out.
16574 2005-05-10 Dan Williams <dcbw@redhat.com>
16576 * gnome/applet/applet-dbus-device.c
16577 - (nmwa_dbus_set_device): remove check for valid key and key type, which
16578 prevented just entering ESSID and leaving key and key type up to
16579 NetworkManager (which should have them already cached)
16581 2005-05-08 Dan Williams <dcbw@redhat.com>
16583 * src/NetworkManagerPolicy.c
16584 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16585 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16586 fix a situation where NM is told to terminate and the device stops activation,
16587 but the main thread isn't aware of that because it would never have run
16588 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16591 * src/NetworkManagerDevice.c
16592 - (nm_device_probe_wired_link_state): cosmetic fixes
16593 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16594 we've failed to activate or been canceled.
16595 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16597 2005-05-08 Dan Williams <dcbw@redhat.com>
16599 * src/NetworkManagerWireless.c
16600 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16601 value of WEXT quality structures, and add a debug message when we cannot
16602 determine any quality % at all
16604 2005-05-08 Dan Williams <dcbw@redhat.com>
16606 * src/dhcp-manager/nm-dhcp-manager.c
16607 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16610 2005-05-06 Dan Williams <dcbw@redhat.com>
16612 * gnome/applet/applet-dbus-device.c
16613 gnome/applet/applet-dbus-info.c
16614 gnome/applet/applet-dbus.c
16615 gnome/applet/applet.c
16616 gnome/applet/applet.h
16617 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16619 * gnome/applet/applet-dbus.c
16620 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16621 so we notice when wired device's carriers come back on. Should
16622 fix issue with wired devices being grayed out even if the cable
16623 is in, for devices that support carrier detection.
16625 * gnome/applet/applet.c
16626 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16627 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16629 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16630 Fix situation where applet wouldn't respond to menu selections
16632 * src/NetworkManager.c
16633 src/NetworkManagerDevice.c
16634 src/NetworkManagerDbus.c
16635 src/NetworkManagerDbus.h
16636 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16638 * src/NetworkManagerDbus.c
16639 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16640 Remove, no longer used or relevant
16641 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16642 - (nm_dbus_schedule_device_status_change_signal): add
16644 * src/NetworkManagerDevice.c
16645 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16646 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16647 ie don't deactivate them unless explicitly told to by the user. Also send
16648 CARRIER_OFF / CARRIER_ON signals when link changes
16649 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16650 Don't print error message when device is no longer around
16651 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16652 not just during activation
16654 * src/NetworkManagerPolicy.c
16655 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16656 auto-device-selection.
16657 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16659 * src/NetworkManagerSystem.c
16660 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16661 is no longer present (Bill Moss)
16663 * src/backends/shvar.c
16664 - (svOpenFile): Open read-only to make SELinux happy
16666 * src/backends/NetworkManagerRedHat.c
16667 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16668 the path to the ifcfg-* files
16670 2005-05-05 Dan Williams <dcbw@redhat.com>
16672 * Expose activation stages to NetworkManager clients, like the applet
16673 * Add Diana's progress icons to the applet, cued off NM activation stage
16674 * Use more descriptive tooltips, cued off NM activation stage
16676 2005-05-05 Ray Strode <rstrode@redhat.com>
16678 * src/nm-netlink-monitor.c:
16679 - Use clear_event_source instead of g_nullify_pointer() again.
16681 2005-05-05 Dan Williams <dcbw@redhat.com>
16683 * gnome/applet/main.c
16684 - Fix session management so the applet is actually managed now
16686 * gnome/applet/passphrase-dialog.c
16687 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16689 2005-05-05 Dan Williams <dcbw@redhat.com>
16691 Patch from Bill Moss:
16692 * gnome/libnm_glib/libnm_glib.c
16693 - Fix for dbus-0.33
16695 2005-05-05 Dan Williams <dcbw@redhat.com>
16697 Suggestion from Bill Moss:
16698 * src/NetworkManagerSystem.c
16699 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
16702 * src/NetworkManager.c
16703 - (nm_data_free): move destruction of the various managers after
16704 release of device list, because deactivating and freeing a device
16705 requires at least the named manager
16706 - (nm_poll_and_update_wireless_link_state):
16707 (nm_device_link_activated):
16708 (nm_device_link_deactivated):
16709 don't grab the device list lock when actually updating device
16710 link status or strength, since nm_device_set_link_active()
16711 needs to call nm_get_active_device(), which also locks the device list.
16713 * src/NetworkManagerDevice.c
16714 - (nm_device_set_link_active): if a device's link switches from off->on,
16715 and it's wired, and the active device is wireless (or there is no
16716 active device), activate the new device whose link just came on
16717 - (link_to_specific_ap): try to smooth over intermittency in wireless links
16718 my only calling the link to the current ap "failed" when more than 2
16719 consecutive link checks have failed
16721 2005-05-04 Dan Williams <dcbw@redhat.com>
16723 * src/NetworkManagerDevice.c
16724 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
16725 but let link_to_specific_ap() do the locking where it needs
16727 Patch from Bill Moss:
16728 * src/NetworkManagerSystem.c
16729 - Set MTU of VPN devices to 1412
16731 2005-05-04 Dan Williams <dcbw@redhat.com>
16733 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
16735 * Fix some holes in device activation and retaining the currently connected
16738 2005-05-03 Dan Williams <dcbw@redhat.com>
16740 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
16741 This means that NetworkManager shouldn't have DHCP issues anymore. It also
16742 means you need dhcdbd, which you can get here (get the latest one):
16744 http://people.redhat.com/jvdias/dhcdbd/
16746 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
16747 interface as dhcdbd.
16749 * Rewrite device activation to facilitate the new DHCP infrastructure and
16750 future improvements. Its now "activation request" based, ie there is a single
16751 activation request composed of the device, access point, and other info which
16752 follows the entire activation process. There are 5 stages of the activation
16753 process which correspond to:
16755 1) Device preparation
16756 2) Device configuration (bring it up, set ESSID/Key/etc)
16757 3) IP Config Start (fire off DHCP if we're using it)
16758 4) IP Config Get (grab config from DHCP or static config files)
16759 5) IP Config Commit (set device's IP address, DNS, etc)
16761 Note that there is no longer a "scanning" step, since the access point must
16762 be known _before_ activation starts. If the access point drops out or does
16763 not exist for some reason, the entire activation process fails and must be
16764 restarted for a different access point or device.
16766 Patch from Bill Moss:
16767 * gnome/applet/applet.c
16768 - Fix type of vpn_failure dialog -> vpn_banner dialog
16770 2005-04-27 Dan Williams <dcbw@redhat.com>
16772 * gnome/applet/applet-dbus-vpn.c
16773 gnome/applet/applet.c
16774 gnome/applet/applet.h
16775 - Fix up active VPN handling so that we reliably know when a VPN
16776 connection has been deactivated
16778 * src/vpn-manager/nm-vpn-manager.c
16779 - Remove duplicate VPNConnectionChange signal
16781 2005-04-27 Dan Williams <dcbw@redhat.com>
16783 Patch from Peter Jones:
16784 * Remove usage of varargs to fix crashes on PPC (RH #154336)
16786 Patch from Bill Moss:
16787 * src/NetworkManagerSystem.c
16788 - Fix checking of return value from ioctl()
16790 2005-04-27 Dan Williams <dcbw@redhat.com>
16792 * Fix choosing of wireless networks and "Other wireless network..." from the applet
16793 * Warn and exit if icons cannot be found
16795 2005-04-27 Dan Williams <dcbw@redhat.com>
16797 Patch from Tom Parker:
16798 * Update debian backend
16800 2005-04-27 Dan Williams <dcbw@redhat.com>
16802 * Merge the applet and the info-daemon, and move the converged
16803 applet under gnome/applet
16804 * Move libnm_glib to gnome/libnm_glib
16805 * Convert most dbus calls between the applet, info-daemon, and NM
16807 * Fix a few things valgrind noticed
16808 * Make NM broadcast state more reliably
16810 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
16812 * configure.in: Added ne in ALL_LINGUAS
16814 2005-04-15 Dan Williams <dcbw@redhat.com>
16816 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
16817 code for dbus 0.2x versions
16819 2005-04-15 Dan Williams <dcbw@redhat.com>
16821 Patches from Tom Parker:
16823 - Join with worker thread rather than polling for its exit
16825 Patch from Bill Moss:
16826 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
16828 2005-04-15 Dan Williams <dcbw@redhat.com>
16830 - Fixes to pass 'make distcheck'
16832 2005-04-15 Dan Williams <dcbw@redhat.com>
16834 Initial VPN Support
16836 - reworks device IP configuration, backend files have changed and will need
16837 to be updated for all distributions. I will try to do what I can for
16838 them, but I cannot test them.
16840 - Move named directory to src/named-manager
16841 - Make backends directory self-contained
16843 2005-04-06 Dan Williams <dcbw@redhat.com>
16845 Add debug code for socket/file descriptor leaks. We register every socket
16846 that we open (except for stuff in dhcpcd/) for tracking, and print out the
16847 list of sockets that we forgot to close on shutdown. This also consolidates
16848 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
16850 2005-04-06 Dan Williams <dcbw@redhat.com>
16853 - (dhcp_interface_free): fix a file descriptor leak that may have
16854 caused network drivers to not unload due to refcounts > 0
16856 2005-04-04 Dan Williams <dcbw@redhat.com>
16858 * panel-applet/NMWirelessAppletDbus.c
16859 - (nmwa_dbus_call_nm_method): remove some commented code
16861 * src/NetworkManagerAPList.[ch]
16862 - (nm_ap_list_remove_ap_by_essid): new function
16864 * src/NetworkManagerDevice.c
16865 - (nm_device_wireless_force_use): remove access points from the ignore list
16866 when the user forces them
16868 * src/nm-dbus-device.c
16869 - (nm_dbus_device_get_active_network): fix up escaping of object paths
16871 2005-04-04 Dan Williams <dcbw@redhat.com>
16873 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
16875 2005-04-04 Dan Williams <dcbw@redhat.com>
16877 * src/NetworkManagerDevice.c:
16878 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
16879 of only erroring after the second consecutive scan times out. Also
16880 don't exit when the card requires more time than we can give it, just
16881 log the event and continue.
16883 2005-04-01 Steve Murphy <murf@e-tools.com>
16885 * configure.in: Added "rw" to ALL_LINGUAS.
16887 2005-04-01 Dan Williams <dcbw@redhat.com>
16889 Perform scans during device activation, if needed. Both activation
16890 and scans run in the same GMainContext. Therefore, if an access point
16891 is not found by the time the device starts activation, it will not
16892 be available until after activation. We now try to scan during
16893 activation (in nm_wa_test) every 15s so that all available access
16894 points are more likely to be found and available for the activation
16897 Also change nm_wireless_link_state_handle() to only update the "best"
16898 AP if we are not forcing a device and if we are not about to change
16899 state. This attempts to work around a race when forcing a device,
16900 where the forced AP would get cleared out too soon by the link state
16901 checking timeout in the main thread, and the activation attempt with
16902 that AP would fail.
16904 2005-04-01 Dan Williams <dcbw@redhat.com>
16907 - Update with new translatables
16909 2005-03-31 Dan Williams <dcbw@redhat.com>
16911 * panel-applet/NMWirelessAppletDbus.c
16912 - Fix device names now that hal has changed device parenting for
16915 2005-03-31 Dan Williams <dcbw@redhat.com>
16917 Tighten up handling of wireless devices that don't support wireless
16918 scanning (ie, Orinoco). Due to restructuring of code, these devices
16919 hadn't been doing pseudo-scanning for a while either and would just
16920 spin waiting for an access point. They are now manual devices where
16921 the user must choose the access point from the menu every time. All
16922 "allowed" access points are listed in the applet's menu regardless
16923 of whether or not they can be seen by the card, since it can't scan
16926 * src/NetworkManager.c
16927 - (nm_wireless_link_state_handle): new function, but only update
16928 the "best" ap for non-scanning devices when its not activating,
16929 and when no device is being forced on the card
16930 - (nm_link_state_monitor): split wireless link state handling out
16931 into separate function
16933 * src/NetworkManagerDevice.c
16934 - (nm_device_copy_allowed_to_dev_list): new function
16935 - (nm_device_new): populate non-scanning cards' AP lists with
16936 access points from the "allowed" list
16937 - (nm_device_new): don't start a scanning timeout for devices that
16939 - (nm_device_activation_schedule_finish): new parameter, should be
16940 the AP that failed to be connected to, pass it on to the
16941 activation finish function in NetworkManagerPolicy.c
16942 - (nm_device_activate_wireless): don't ever try to get a new AP
16943 for non-scanning devices, just fail. The user must choose
16944 a new access point manually.
16945 - (nm_device_activate): grab the AP that failed connection and
16947 - (nm_device_update_best_ap): Clear the best AP if we don't have
16948 a link to it, user must manually choose a new one
16949 - (nm_device_do_pseudo_scan): remove function
16950 - (nm_device_wireless_process_scan_results): remove bits for non-
16951 scanning cards since they never get here
16952 - (nm_device_wireless_scan): remove bits for non-scanning devices,
16953 and fake the scan list for test devices a bit earlier
16955 * src/NetworkManagerPolicy.c
16956 - (nm_policy_activation_finish): use the failed_ap that we get
16957 passed rather than getting the best_ap from the card, which
16958 may have changed since we were scheduled
16959 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
16960 update their scan list directly from the allowed list when
16961 we get updates to the allowed list from NetworkManagerInfo
16963 * src/NetworkManagerPolicy.h
16964 - New member for failed access point in NMActivationResult
16966 -------------------------------------
16968 Driver Notification patch: notifies the user when their driver
16969 sucks. Gives them the option to ignore further insertions
16970 of the card that has the sucky driver.
16973 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
16974 enum and replace it with NO_CARRIER_DETECT and
16977 * panel-applet/NMWirelessApplet.[ch]
16978 - Merge essid.glade -> wireless-applet.glade
16979 - Implement the "Your driver sucks" notification dialog
16981 * panel-applet/NMWirelessAppletDbus.c
16982 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
16983 - Grab hardware address for each device from NM too
16984 - Check whether the driver for each device sucks or not whenever
16985 a new device is noticed
16987 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
16988 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
16990 * src/NetworkManager.c
16991 - Fix a double-unref on device removal
16993 * src/NetworkManagerUtils.c
16994 - Set appropriate driver support level on a device that doesn't
16995 support scanning or carrier detection
16997 * src/nm-dbus-device.c
16998 - New "getHWAddress" dbus method on devices
16999 - getSupportsCarrierDetect -> getDriverSupportLevel
17001 2005-03-31 Dan Williams <dcbw@redhat.com>
17003 * src/NetworkManagerDevice.c
17004 - (nm_device_wireless_scan): Fix leak of scan results in some
17007 2005-03-29 Dan Williams <dcbw@redhat.com>
17009 * src/NetworkManager.c
17010 - (nm_poll_and_update_wireless_link_state): make code less indented
17012 Patch from Bill Moss:
17013 * src/NetworkManager.c
17014 - (nm_device_update_link_state): Update signal strength on wireless
17015 devices every time we update link state too.
17017 2005-03-29 Dan Williams <dcbw@redhat.com>
17019 * src/NetworkManagerDevice.c
17020 - (nm_device_set_essid): Work around Orinoco cards which need
17021 extra time after setting the ESSID
17023 2005-03-29 Dan Williams <dcbw@redhat.com>
17025 * src/NetworkManagerDevice.c
17026 - Merge one more bit of Peter Jones' completion patch
17028 2005-03-29 Dan Williams <dcbw@redhat.com>
17030 * src/NetworkManagerDevice.c
17031 - (nm_device_force_use): Fix possible segfault
17033 2005-03-29 Dan Williams <dcbw@redhat.com>
17035 * src/NetworkManagerDevice.c
17036 - Use iw_get_ext() where we should rather than iw_set_ext()
17038 2005-03-29 Dan Williams <dcbw@redhat.com>
17040 * src/NetworkManagerDevice.c
17041 - (nm_device_set_up_down): remove check for unsupported devices
17042 that caused NM to not bring devices up when they were
17043 added to the device list.
17045 2005-03-28 Dan Williams <dcbw@redhat.com>
17047 * src/NetworkManagerDevice.c
17048 - (mdio_read): Fix two bugs that caused all devices to fail
17049 the MII carrier detection support checks
17051 2005-03-26 Dan Williams <dcbw@redhat.com>
17053 * src/NetworkManagerDevice.c
17054 - (nm_device_wireless_scan): Remove duplicated scanning code
17056 2005-03-25 Dan Williams <dcbw@redhat.com>
17058 * panel-applet/NMWirelessApplet.c
17059 - (nmwa_about_cb): Add some more contributors
17060 - (nmwa_update_state): show the applet when there's no connection
17061 - Enable the "Stop/Resume all wireless devices" option in the
17063 - New "no connection" icon
17065 * src/NetworkManager.c
17066 - (nm_poll_and_update_wireless_link_state): don't do anything if
17067 wireless is disabled or we're asleep
17069 * src/NetworkManagerDHCP.c
17070 - Remove trailing "\n" on debug messages
17072 * src/NetworkManagerDbus.c
17073 - (nm_dbus_network_status_from_data): new state "asleep"
17075 * src/NetworkManagerDevice.c
17076 - Merge most of Peter Jones' "completion" patch that greatly reduces
17077 latency and wait times for most operations
17078 - (nm_device_wireless_scan): Don't scan when asleep
17080 * src/NetworkManagerPolicy.c
17081 - (nm_policy_get_best_device): return no device when asleep
17082 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17083 for all wireless devices on update, not just active device
17085 * src/NetworkManagerUtils.c
17086 - Merge Peter Jones' "completion" patch
17089 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17090 we're told to disable them
17091 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17094 - New variants of the warn/info/error/debug print functions that can take
17095 variables rather than static strings
17097 2005-03-24 Dan Williams <dcbw@redhat.com>
17099 * src/NetworkManagerUtils.c
17100 - (nm_get_device_driver_name): driver names are now on the parents of
17101 "Network Interface" objects, so look for them there
17103 2005-03-24 Dan Williams <dcbw@redhat.com>
17106 - Escape some forgotten object paths before we shove them through dbus
17108 2005-03-24 Dan Williams <dcbw@redhat.com>
17110 * dhcpcd/dhcpcd.[ch]
17111 src/NetworkManagerDHCP.c
17112 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17113 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17115 * src/NetworkManagerDbus.c
17118 * src/nm-dbus-dhcp.c
17119 - Make the API suck less. There is now only 1 type of each function,
17120 ie only "getInteger" and no longer also "getIntegerv". All types
17121 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17122 that will never have more than 1 element. This should simplify
17125 * test/nm-dhcp-opt-test.c
17126 - Make the tool not segfault
17127 - adapt to new DHCP Options API
17129 2005-03-22 Dan Williams <dcbw@redhat.com>
17131 * src/NetworkManager.c
17132 - (nm_wired_link_deactivated): actually ignore netlink events from
17135 2005-03-22 Dan Williams <dcbw@redhat.com>
17137 * src/NetworkManager.c
17138 - (nm_wired_link_activated): actually ignore netlink events from
17141 2005-03-17 Dan Williams <dcbw@redhat.com>
17143 Patch from Tom Parker:
17144 * src/nm-netlink-monitor.c
17146 * info-daemon/NetworkManagerInfoDbus.c
17147 - (nmi_dbus_update_network_auth_method): free GConf values
17149 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17150 * src/NetworkManagerDevice.c
17151 - (nm_device_set_wireless_config): wait for successful
17152 association longer for some cards (Atheros a/b/g)
17154 2005-03-15 Ray Strode <rstrode@redhat.com>
17156 * src/NetworkManager.c:
17157 (sigterm_pipe_handler):
17160 2005-03-15 Ray Strode <rstrode@redhat.com>
17162 * src/NetworkManagerDbus.c:
17163 Fix some sign weirdness that gcc4 doesn't like,
17164 and add a header file so PPC can hopefully find
17167 2005-03-14 Ray Strode <rstrode@redhat.com>
17169 Fourth (probably working) cut at porting to
17170 dbus 0.30 api and new hal. This cut adds
17171 some new logging macros to make debugging
17174 * dispatcher-daemon/NetworkManagerDispatcher.c:
17175 * info-daemon/NetworkmanagerInfo.c:
17176 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17177 * info-daemon/NetworkManagerInfoVPN.c:
17178 * src/NetworkManager.c:
17179 * src/NetworkManagerAP.c:
17180 * src/NetworkManagerAPList.c:
17181 * src/NetworkManagerDHCP.c:
17182 * src/NetworkManagerDbus.c:
17183 * src/NetworkManagerDevice.c:
17184 * src/NetworkManagerPolicy.c:
17185 * src/NetworkManagerSystem.c:
17186 * src/NetworkManagerUtils.c:
17187 * src/NetworkManagerWireless.c:
17189 * src/nm-dbus-nm.c:
17190 * src/backends/NetworkManagerDebian.c:
17191 * src/backends/NetworkManagerGentoo.c:
17192 * src/backends/NetworkManagerRedHat.c:
17193 * src/backends/NetworkManagerSlackware.c:
17194 use new logging macros.
17196 * dispatcher-daemon/NetworkManagerDispatcher.c:
17197 (nmd_dbus_filter): s/dbus_free/g_free/
17199 * info-daemon/Makefile.am: link in utils library.
17200 * info-daemon/NetworkmanagerInfo.c: use new logging
17202 (nmi_dbus_get_network): don't assume enumerations
17204 (nmi_dbus_nmi_message_handler): don't free what
17205 doesn't belong to us.
17207 * libnm_glib/libnm_glib.c:
17208 (libnm_glib_get_nm_status):
17209 (libnm_glib_init): don't free what doesn't
17211 (libnm_glib_dbus): strdup result, so it doesn't get
17212 lost when message is unref'd.
17214 * panel-applet/NMWirelessAppletDbus.c:
17215 (nmwa_dbus_update_devices): s/dbus_free/g_free/
17217 * src/NetworkManager.c:
17218 (nm_monitor_wired_link_state): request initial status
17219 dump of all cards when we start up, instead of relying
17220 on /sys/.../carrier.
17221 (nm_info_handler), (nm_set_up_log_handlers):
17222 log handlers to specify what syslog priorites
17223 the logging macros default to.
17225 * src/NetworkManagerAPList.c:
17226 (nm_ap_list_populate_from_nmi):
17227 s/dbus_free_string_array/g_strfreev/
17229 * src/NetworkManagerDbus.c:
17230 (nm_dbus_get_network_object):
17231 validate d-bus message argument types.
17232 Advance message iterator after reading argument,
17233 prepend instead of append to GSList.
17235 * src/NetworkManagerDevice.c:
17236 (nm_device_probe_wired_link_status):
17237 remove redundant /sys in /sys path. remove wrong
17238 contents == NULL means has carrier assumption.
17240 * src/nm-netlink-monitor.c
17241 (nm_netlink_monitor_request_status): implement
17242 function to ask kernel to dump interface link
17243 status over netlink socket.
17245 * test/*.c: s/dbus_free/g_free/
17247 * utils/nm-utils.h:
17248 (nm_print_backtrace): new macro to print backtrace.
17249 (nm_get_timestamp): new macro to get sub-second precise
17251 (nm_info), (nm_debug), (nm_warning), (nm_error):
17252 new logging functions. nm_info just prints,
17253 nm_debug includes timestamp and function,
17254 nm_warning includes function, nm_error includes
17255 backtrace and sigtrap.
17257 2005-03-11 Ray Strode <rstrode@redhat.com>
17259 Third (unfinished, partially working) cut at porting to
17260 dbus 0.30 api and new hal.
17262 * info-daemon/NetworkManagerInfoDbus.c:
17263 don't free null arrays.
17265 * panel-applet/NMWirelessAppletDbus.c:
17266 * src/nm-dbus-device.c:
17267 * src/nm-dbus-net.c:
17268 * src/NetworkManagerDbus.c: more
17269 STRING -> OBJECT_PATH fun
17270 * src/NetworkManagerDevice.c:
17271 * src/NetworkManagerDevice.h:
17272 (rename nm_device_get_link_active): rename to
17273 nm_device_has_active_link
17274 (nm_device_wireless_link_active): rename to
17275 nm_device_probe_wireless_link_state
17276 (nm_device_wired_link_active): rename to
17277 nm_device_probe_wired_link_state. Rewrite to
17278 use carrier file since hal doesn't maintain
17279 link state anymore.
17280 (nm_device_update_link_active): rename to
17281 nm_device_update_link_state
17282 * src/NetworkManagerPolicy.c
17283 (nm_policy_activation_finish): check for NULL
17287 * src/NetworkManagerMain.h:
17288 * src/NetworkManager.c:
17289 * src/nm-netlink-monitor.c:
17290 * src/nm-netlink-monitor.h: New class to support
17291 monitoring wired ethernet link status, since HAL
17292 doesn't export that information anymore.
17294 2005-03-09 Ray Strode <rstrode@redhat.com>
17296 Second (unfinished, unworking) cut at porting to
17299 * dispatcher-daemon/NetworkManagerDispatcher.c:
17300 * info-daemon/NetworkManagerInfoDbus.c:
17301 * panel-applet/NMWirelessAppletDbus.c:
17302 * src/NetworkManagerDbusUtils.c:
17303 * src/NetworkManagerDbusUtils.h:
17304 * src/nm-dbus-device.c:
17305 * src/nm-dbus-nm.c:
17306 * test/nmtest.c: support dbus "object path" type
17310 * info-daemon/Makefile.am:
17311 * libnm_glib/Makefile.am:
17312 * panel-applet/Makefile.am:
17313 * dispatcher-daemon/Makefile.am
17315 * test/Makefile.am:
17316 * utils/Makefile.am:
17317 * utils/nm-utils.c:
17318 * utils/nm-utils.h: new utils static lib
17320 2005-03-07 Ray Strode <rstrode@redhat.com>
17322 * info-daemon/NetworkManagerInfoDbus.c:
17323 * libnm_glib/libnm_glib.c:
17324 * panel-applet/NMWirelessAppletDbus.c:
17325 * src/NetworkManager.c:
17326 * src/NetworkManagerDbus.c:
17327 * src/NetworkManagerDevice.c:
17328 * src/NetworkManagerUtils.c:
17329 * src/nm-dbus-device.c:
17330 * src/nm-dbus-dhcp.c:
17331 * src/nm-dbus-net.c:
17332 * src/nm-dbus-nm.c:
17333 * test/nminfotest.c:
17334 First (unfinished, unworking) cut at porting to dbus 0.30 api.
17336 2005-03-04 Dan Williams <dcbw@redhat.com>
17341 2005-03-04 Dan Williams <dcbw@redhat.com>
17343 Patch from Peter Jones:
17344 - Make stuff work with gcc 4.0
17346 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
17348 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17350 2005-02-27 Jim Huang <jserv@kaffe.org>
17352 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17354 2005-02-27 Dan Williams <dcbw@redhat.com>
17356 Patch from Bill Moss:
17357 * panel-applet/NMWirelessAppletDbus.c
17358 - Make sure strength for current access point is up-to-date when we
17359 update the gui data model
17361 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
17363 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17365 2005-02-27 Dan Williams <dcbw@redhat.com>
17367 * src/backends/NetworkManagerRedHat.c
17368 - (nm_system_init): Kill any dhclient processes lying around as well
17369 as stopping 'nifd' if its already been started. NetworkManager
17370 subsumes the functions of nifd (kicking mDNSResponder, autoip)
17372 2005-02-27 Dan Williams <dcbw@redhat.com>
17374 * panel-applet/NMWirelessApplet.c
17375 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17376 dbus data model, not the GUI data model twice.
17378 2005-02-27 Dan Williams <dcbw@redhat.com>
17380 * panel-applet/NMWirelessApplet.[ch]
17381 panel-applet/NMWirelessAppletDbus.[ch]
17382 - Move to incremental network updates. Instead of blowing away our list
17383 of devices every time we get a signal from NetworkManager, we now
17384 incrementally add/remove networks when NetworkManager notifies us that
17385 a new network has appeared or disappered. Strength updates now happen
17386 on-the-fly for each access point as well. There are now two copies of
17387 data from NetworkManager: one for the dbus side, and one for the gui side.
17388 When the dbus side data is modified, it is copied over to the gui side
17389 so we don't have to hold the data_mutex for long periods of time (and
17390 therefore block animation of the applet's icon).
17391 - Clean up some memleaks too
17393 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17394 - Minor code beautification
17396 * src/NetworkManagerAPList.c
17397 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17398 completely new and whether or not an existing one's strength was updated.
17399 Try to fix multiple access points and signal strength by using the highest
17400 signal strength in each scan for any given ESSID.
17402 * src/NetworkManagerDbus.[ch]
17403 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17404 wireless networks; now we have only WirelessNetworkUpdate which includes
17405 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17406 - Kill usage of DbusMessageIter
17408 * src/NetworkManagerDevice.c
17409 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17410 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
17411 AP rather than all-at-once. Also don't ever remove the AP a card is
17412 currently associated with from the network list.
17413 - Update for new signals during scan, send out Appeared, Disappeared, or
17414 StrengthChanged when necessary.
17416 2005-02-25 Dan Williams <dcbw@redhat.com>
17419 - Line break the README
17421 2005-02-25 Dan Williams <dcbw@redhat.com>
17423 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17424 - Remove usage of gtk_window_set_default_size()
17426 * panel-applet/essid.glade
17427 - Stick default size here
17428 - Add in random crap that current glade wants to add in now
17430 2005-02-25 Dan Williams <dcbw@redhat.com>
17432 * src/backends/NetworkManagerRedHat.c
17433 - For non-caching-nameserver/non-named case, ensure that nscd is running
17434 and that we actually tell nscd to reload the hosts cache when it changes
17436 2005-02-25 Dan Williams <dcbw@redhat.com>
17438 * info-daemon/NetworkManagerInfoDbus.c
17439 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17441 * test/nminfotest.c
17442 - Whack usage of DbusMessageIter
17443 - Clean up DbusError and DbusMessage handling and freeing
17444 - Remove unused unregister handler
17447 - Whack usage of DbusMessageIter
17449 * test/nmtestdevices.c
17450 - Whack usage of DbusMessageIter
17452 2005-02-25 Dan Williams <dcbw@redhat.com>
17455 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17458 2005-02-25 Dan Williams <dcbw@redhat.com>
17460 * named/nm-named-manager.c
17461 - Ensure that pid and watch variables for child named process get cleared out
17462 when the child goes away.
17464 2005-02-22 Dan Williams <dcbw@redhat.com>
17466 * src/NetworkManagerPolicy.c
17467 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17468 and NULL out data->active_device so that we have to choose another one.
17469 This may make NetworkManager keep attempting to connect to a wired network
17470 if it fails, but if it keeps failing the wired network has more problems than
17471 just NetworkManager.
17473 * src/backends/NetworkManagerRedHat.c
17474 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17477 * named/nm-named-manager.c
17478 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17479 named so that the distro can flush whatever name service caching
17482 2005-02-21 Dan Williams <dcbw@redhat.com>
17484 * src/NetworkManagerDHCP.[ch]
17485 - (nm_device_dhcp_remove_timeouts): new function
17487 * src/NetworkManagerDevice.c
17488 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17489 remove the DHCP timeouts.
17491 2005-02-21 Dan Williams <dcbw@redhat.com>
17493 * panel-applet/NMWirelessApplet.[ch]
17494 panel-applet/menu-info.[ch]
17495 - Give the panel applet some major love: menu items are no longer
17496 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17497 This allows the applet to actually reflect theme changes correctly,
17498 since themeing of subclassed items in GTK _sucks_.
17500 2005-02-18 Dan Williams <dcbw@redhat.com>
17502 * libnm_glib/libnm_glib.[ch]
17503 test/libnm_glib_test.c
17504 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17505 and its data, and doesn't have to free the callback data anymore
17507 2005-02-18 Dan Williams <dcbw@redhat.com>
17509 * panel-applet/NMWirelessApplet.c
17510 - Revert 2005-02-18 William Jon McCann fix for standard
17511 copyright string until it passes 'make distcheck'.
17512 With standard copyright string, xgettext complains
17513 about "Non-ASCII string at ...".
17515 2005-02-18 Dan Williams <dcbw@redhat.com>
17517 * panel-applet/essid.glade
17518 panel-applet/NMWirelessAppletOtherNetworksDialog.c
17519 - Correct spelling of "adaptor"->"adapter"
17521 2005-02-18 William Jon McCann <mccann@jhu.edu>
17523 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17524 (nmwa_about_cb): Use standard copyright string. Update comment
17525 text to reflect that it is a notification area applet. Remove
17526 leading newline in authors list.
17527 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17528 instead of on parent menu item activation. Fixes #167550.
17530 2005-02-18 William Jon McCann <mccann@jhu.edu>
17532 * panel-applet/essid.glade: Capitalize items as per HIG.
17535 2005-02-16 William Jon McCann <mccann@jhu.edu>
17537 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17538 files for GTK 2.4 or lower, since now public in GTK 2.6.
17540 * panel-applet/essid.glade: Don't specify window size.
17542 2005-02-17 Dan Williams <dcbw@redhat.com>
17544 Caught by Bill Moss:
17546 - Time remaining for DHCP transaction calculation was incorrectly
17547 inside a #ifdef DEBUG
17549 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
17551 * configure.in: Added fr (French) to ALL_LINGUAS.
17553 2005-02-14 Dan Williams <dcbw@redhat.com>
17555 * src/NetworkManagerDHCP.c
17556 - (set_domain_searches): Fix free of invalid pointer
17558 2005-02-14 Dan Williams <dcbw@redhat.com>
17560 Patch from Peter Jones:
17562 - Ensure we return RET_DHCP_CEASED everywhere we should
17563 * dhcpcd/udpipgen.c
17564 - Use faster TOS for IP packets
17565 - Don't set ip_id since we're UDP
17567 Patch from Tomislav Vujec:
17568 * src/nm-dbus-dhcp.c
17569 test/nm-dhcp-opt-test.c
17570 - Clean up warnings to enable cvs tree compilation.
17572 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
17576 - Add the Croatian locale.
17578 2005-02-14 Colin Walters <walters@verbum.org>
17580 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17581 list of domains to search.
17583 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17585 2005-02-13 Dan Williams <dcbw@redhat.com>
17588 - Debug output cleanups of DHCP option printing and parsing.
17590 2005-02-13 Dan Williams <dcbw@redhat.com>
17592 Patch from Dan Reed: DHCP options D-BUS API
17593 Exposes the DHCP options that a device receives to clients over D-BUS.
17599 - Correct names, option length, and types for DHCP options
17601 * dhcpcd/dhcpcd.[ch]
17602 - Clarify function names that access DHCP options & data
17604 * src/NetworkManagerDHCP.c
17605 - Use new DHCP data access functions
17607 * src/NetworkManagerDbus.c
17608 - Message handler for DHCP functions
17610 * src/nm-dbus-dhcp.[ch] (new)
17611 - DHCP dbus methods
17613 * test/nm-dhcp-opt-test.c
17614 - Test DHCP D-BUS API and return all present DHCP options
17616 2005-02-12 Dan Williams <dcbw@redhat.com>
17619 test/nmclienttest.c
17621 - Move nmclienttest.c -> nmtest.c
17623 2005-02-12 Dan Williams <dcbw@redhat.com>
17625 * dhcpcd/buildmsg.c
17626 - Pad DHCP packets until they are at least 300 bytes in size.
17628 2005-02-11 Dan Williams <dcbw@redhat.com>
17631 - (dhcp_init): only print out client ID and class ID if they are specified
17633 * src/NetworkManagerDbus.[ch]
17634 src/nm-dbus-nm.[ch]
17635 src/nm-dbus-device.[ch]
17636 src/nm-dbus-net.[ch]
17637 - Move NM, Device, and Net functions to separate files and use the
17638 dbus method list stuff in NetworkManagerDbusUtils.c to do
17641 * src/NetworkManagerDbusUtils.c
17642 - Add new validate_method called before each dispatch (if present)
17643 that can validate the method call
17645 * src/NetworkManagerWireless.c
17646 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17647 levels never to be evaluated
17649 Patch from j@bootlab.org
17650 * src/NetworkManagerDevice.c
17651 - Add typedef for "u64"
17653 * src/backends/NetworkManagerDebian.c
17654 - Copy in Dave Woodhouse's fixes for IPv6
17656 2005-02-11 Dan Williams <dcbw@redhat.com>
17658 Patch from Dave Woodhouse for IPv6:
17659 * src/NetworkManagerUtils.c
17660 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17661 and multicast addresses
17663 * src/NetworkManagerDevice.c
17664 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17665 after bringing up a card.
17667 2005-02-10 Dan Williams <dcbw@redhat.com>
17669 Patch from Dave Woodhouse:
17670 * src/NetworkManagerSystem.h
17671 src/backends/NetworkManagerDebian.c
17672 src/backends/NetworkManagerGentoo.c
17673 src/backends/NetworkManagerSlackware.c
17674 - New nm_system_device_add_ip6_link_address() function to add link-local
17675 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
17677 * src/backends/NetworkManagerRedHat.c
17678 - (nm_system_device_add_ip6_link_address): implement
17679 - (nm_system_device_flush_addresses): revert to previous behavior of
17680 flushing all addresses
17682 2005-02-10 Dan Williams <dcbw@redhat.com>
17684 Patch from Tom Parker:
17685 * src/NetworkManagerDevice.c
17686 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17687 mii.h headers are broken, and instead use our own typedefs
17689 2005-02-10 Dan Williams <dcbw@redhat.com>
17691 * dhcpcd/buildmsg.c
17692 - (fill_host_and_class_id): only fill in client and class IDs if
17693 they are set by callers.
17696 - (class_id_setup): don't autogenerate a class ID, only use one
17697 we're given, if any.
17698 - (client_id_setup): don't autogenerate a client ID, only use one
17699 we're given, if any.
17702 - (dhcp_interface_init): ensure that client options are correctly
17705 * src/NetworkManagerDHCP.c
17706 - (nm_device_dhcp_request): pass hostname to dhcp library
17708 2005-02-10 Dan Williams <dcbw@redhat.com>
17711 - #rh147661# Don't send kernel version in DHCP requests
17713 * src/NetworkManagerSystem.h
17714 src/backends/NetworkManagerDebian.c
17715 src/backends/NetworkManagerGentoo.c
17716 src/backends/NetworkManagerRedHat.c
17717 src/backends/NetworkManagerSlackware.c
17718 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
17719 functions, they are no longer used anyway
17721 * src/backends/NetworkManagerRedHat.c
17722 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
17723 addresses in an attempt to keep IPv6 local-scope addresses around
17725 2005-02-10 Dan Williams <dcbw@redhat.com>
17727 * src/NetworkManager.c
17728 - (nm_create_device_and_add_to_list): change the add message slightly
17730 * src/NetworkManagerUtils.c
17731 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
17732 Return driver name to calling function
17733 - (nm_get_driver_support_level): print out the driver a device is using
17734 during the support check
17736 Patch from Dave Woodhouse:
17737 * dhcpcd/udpipgen.c
17738 - (in_cksum): copy last byte of odd-sized packets into a
17739 'u_short' rather than a 'u_char', should fix wrong checksums
17740 on big-endian platforms
17742 2005-02-09 Dan Williams <dcbw@redhat.com>
17744 * Clean up usage of GSList objects and looping through their members
17745 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
17747 * Fix problem where even if scanning was turned off, card would still
17748 cycle through frequencies.
17750 2005-02-08 Dan Williams <dcbw@redhat.com>
17752 * panel-applet/NMWirelessApplet.c
17755 2005-02-08 Dan Williams <dcbw@redhat.com>
17757 Patch from Bill Moss
17758 * panel-applet/NMWirelessApplet.c
17759 - Restore correct ESSID in tooltips
17761 2005-02-07 Dan Williams <dcbw@redhat.com>
17763 * panel-applet/NMWirelessApplet.[ch]
17764 - Add a context menu that contains:
17765 Pause/Resume Wireless Scanning
17766 Stop/Start All Wireless Devices
17768 - Grab active device strength off active device,
17771 * panel-applet/NMWirelessAppletDbus.[ch]
17772 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
17773 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
17774 - Update active device strength every 2 seconds, not every 1 second
17776 * panel-applet/menu-info.c
17777 - Only disable wired devices in the menu when they support carrier detection,
17778 and don't currently have a link. Non-carrier-detect devices will always
17782 src/NetworkManagerDbusUtils.[ch]
17783 - Add new new dbus utils sources
17785 * src/NetworkManager.c
17786 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
17787 with the boolean parameter
17788 - Set scanning_enabled & wireless_enabled to TRUE
17790 * src/NetworkManagerDbus.c
17791 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
17792 - Implement scanning & wireless enable/disable calls
17793 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
17795 * src/NetworkManagerDevice.c
17796 - New link detection stuff again...
17797 o Create device's mainloop earlier (but don't run it earlier)
17798 o Hook up new carrier-detect support stuff
17799 o Add in the ethtool & mii support detection code
17800 - Don't scan if scanning is disabled
17802 * src/NetworkManagerPolicy.c
17803 - Never automatically choose a device that doesn't support carrier detection
17804 - Don't automatically choose a wireless device if wireless is disabled
17806 2005-02-07 Dan Williams <dcbw@redhat.com>
17808 * libnm_glib/libnm_glib.c
17809 - Small cleanup in element list iteration
17811 2005-02-07 Dan Williams <dcbw@redhat.com>
17813 * src/NetworkManagerWireless.c
17814 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
17815 to be in line with the WEXT quality specification
17817 2005-02-02 Dan Williams <dcbw@redhat.com>
17819 Patch from Nathan Fredrickson <nathan@silverorange.com>
17820 * Fix up compile for deprecation of libgnomeui
17821 - Switch to <glib/gi18n.h> from <libintl.h>
17822 - Remove <libgnomeui/libgnomeui.h> includes
17823 - Use gtk_window_set_default_icon_from_file() rather than
17824 gnome_window_set_default_icon_from_file()
17826 * named/nm-named-manager.c
17827 - (generate_named_conf): Fix return-nothing in non-void
17830 2005-02-02 Dan Williams <dcbw@redhat.com>
17832 * Clean up unused variables and the like
17834 2005-02-02 Dan Williams <dcbw@redhat.com>
17836 * src/NetworkManagerAPList.c
17837 - (nm_ap_list_merge_scanned_ap): merge strength too
17839 * src/NetworkManagerUtils.c
17840 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
17841 of locking issues by printing out prettier information than g_mutex_lock
17842 - Print out names of mutexes registered with nm_register_mutex_desc()
17843 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
17844 us to seemingly block here for too long
17846 * src/NetworkManager.c
17847 src/NetworkManagerAPList.c
17848 src/NetworkManagerDevice.c
17849 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
17850 so we get better debug information printed
17852 * src/NetworkManagerDbus.c
17853 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
17854 since it sometimes has locking side effects
17855 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
17857 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
17858 we don't need a switch. This gets called often enough that we can't block
17859 until the scan mutex is acquired, because we'll block on device activation
17860 and a few other things, which hangs main thread for too long.
17862 * src/NetworkManagerPolicy.c
17863 - (nm_policy_auto_get_best_device): reduce the possiblity that
17864 nm_device_need_ap_switch() will be called
17866 2005-02-02 Dan Williams <dcbw@redhat.com>
17868 * panel-applet/NMWirelessApplet.c
17869 - Display name of wireless network we are connecting to or connected to
17870 in the tooltip of the applet
17872 2005-02-02 Dan Williams <dcbw@redhat.com>
17874 * src/NetworkManagerDHCP.c
17875 - Hopefully fix double-default-route problem by cleaning up the default
17876 route added by DHCP code right before the DHCP transaction begins
17878 2005-02-02 Dan Williams <dcbw@redhat.com>
17880 * named/nm-named-manager.c
17881 - Write out valid resolv.conf when we exit
17883 2005-02-01 Dan Williams <dcbw@redhat.com>
17885 Patch from Colin Walters:
17886 * named/nm-named-manager.c
17887 - Make multi-domain search options work
17889 2005-01-31 Dan Williams <dcbw@redhat.com>
17891 * info-daemon/NetworkManagerInfoDbus.c
17892 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
17894 * src/NetworkManagerDevice.c
17895 - (nm_device_new): Don't store the entire range struct, use only what we need
17896 (which is currently avg_quality, max_quality, and frequencies). Also
17897 zero device structure when we've free'd it to maybe expose errors down
17899 - (nm_device_update_signal_strength): grab the scan mutex before getting
17900 quality data from the card since quality will be useless during a scan.
17901 Call updated wireless qual-to-percent function with values stored in
17902 nm_device_new() earlier.
17903 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
17904 nm_device_get_bad_crypt_packets())
17905 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
17907 - (get_initial_auth_method): always use the Auth method that's in the allowed
17908 list if available. Problem was this: when the WEP key is wrong, NM will
17909 try OS then SK modes, and then get stuck in SK mode after that. This
17911 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
17914 * src/NetworkManagerWireless.c
17915 - (nm_wireless_qual_to_percent): try to make this function actually work and
17916 mimic iwlib behavior. Use card's idea of quality divided by max_qual
17917 if that's all present, otherwise fall back to signal-to-noise ratios.
17919 2005-01-29 Dan Williams <dcbw@redhat.com>
17921 * initscript/RedHat/NetworkManager
17922 - Don't spit out sysctl stuff to console
17924 * libnm_glib/libnm_glib.c
17925 - (libnm_glib_init): call dbus_g_thread_init()
17927 * panel-applet/NMWirelessAppletDbus.c
17928 - (nmwa_dbus_worker): call dbus_g_thread_init()
17930 * src/NetworkManager.c
17931 - (main): call dbus_g_thread_init()
17933 * src/NetworkManagerAPList.c
17934 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
17935 so we can actually see what's there in a normal syslog
17937 * src/NetworkManagerDevice.c
17938 - (nm_device_activate_wireless): print out the "waiting for access point"
17939 message only once, then say what access point we actually got after
17941 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
17942 function, wait until the scan is done. Scans may change the ESSID of
17943 the card, making this function think we need to switch access points
17944 - (nm_device_wireless_process_scan_results): for artificial access points
17945 don't check against the card's ESSID, but the best_ap's ESSID. This
17946 prevents collisions with the scanning code, which may change the card's
17947 ESSID and cause the access point to get dropped from the device's AP
17948 list. Also increase the keep-around time to 2m from 60s since the max
17949 scan interval could be 60s in some cases.
17951 * src/NetworkManagerPolicy.c
17952 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
17953 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
17954 the new properties and ESSIDs to the device's AP list. Fixes some races
17955 between NM and NMI.
17957 2005-01-27 Dan Williams <dcbw@redhat.com>
17959 * info-daemon/NetworkManagerInfoDbus.c
17960 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
17961 GConf, make a minimal entry for it (essid & timestamp)
17963 * src/NetworkManagerAPList.c
17964 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
17965 NetworkManagerInfo isn't running
17967 * src/NetworkManagerDbus.[ch]
17968 - (nm_dbus_nmi_is_running): new function
17970 * src/NetworkManagerDevice.c
17971 - (nm_device_wireless_force_use): Don't set the created AP's MAC
17972 address to garbage.
17974 * src/NetworkManagerPolicy.c
17975 - (nm_policy_activation_finish): On successful activation, make sure
17976 the "best" AP has a MAC address, and don't tell NMI to add the
17977 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
17978 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
17979 access point after refreshing our allowed list if it doesn't already
17980 have a "best" access point.
17982 2005-01-25 Dan Williams <dcbw@redhat.com>
17984 * panel-applet/NMWirelessAppletDbus.c
17985 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
17986 so we check for NM_DBUS_SERVICE rather than not for it
17988 * libnm_glib/libnm_glib.c
17989 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
17990 ServiceOwnerChanged signal
17992 2005-01-25 Dan Williams <dcbw@redhat.com>
17995 - Check DBUS version in configure, and set the C macros
17996 DBUS_VERSION_[MAJOR,MINOR,MICRO]
17998 * info-daemon/NetworkManagerInfoDbus.c
17999 - Remove #if 0-d section of code that quit NMI if NM went away.
18001 * panel-applet/NMWirelessAppletDbus.c
18002 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18004 * src/NetworkManager.c
18005 src/NetworkManagerMain.h
18006 src/NetworkManagerDbus.c
18007 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18008 - Make updating of our Allowed Wireless Network lists from NMI
18009 an idle function in the main thread now, with a high priority.
18011 2005-01-24 Dan Williams <dcbw@redhat.com>
18013 * panel-applet/gtkcellview.[ch]
18014 panel-applet/menu-info.c
18015 - Fix GTK version checks to be <= rather than <
18018 - Include the libtool archive of libnm_glib rather than
18019 trying to pull in the .so
18021 2005-01-24 Dan Williams <dcbw@redhat.com>
18023 * src/NetworkManagerDevice.c
18024 src/NetworkManagerDevicePrivate.h
18025 - Block nm_device_new() until our device's worker thread has had a
18026 chance to start up. Fixes a race between main thread and worker
18027 thread starting that caused activation requests to get lost.
18029 2005-01-24 Dan Williams <dcbw@redhat.com>
18031 * initscript/RedHat/NetworkManager
18032 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18033 to add the NM startup script at priority 50, which was
18036 2005-01-24 Colin Walters <walters@redhat.com>
18038 * named/named.conf: Use any port for query source instead of
18039 restricting to port 53.
18041 2005-01-24 Dan Williams <dcbw@redhat.com>
18043 * initscript/RedHat/NetworkManager
18044 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18045 to add the NM startup script at priority 50, which was
18048 2005-01-24 Dan Williams <dcbw@redhat.com>
18050 Patch from Tom Parker <palfrey@tevp.net>
18051 * Fix up compile warnings & errors in the wireless applet
18053 2005-01-24 Dan Williams <dcbw@redhat.com>
18055 * panel-applet/NMWirelessApplet.c
18056 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18058 2005-01-24 Dan Williams <dcbw@redhat.com>
18060 * panel-applet/gtkcellview.[ch]
18061 - Only compile these files for GTK 2.4 or lower, since
18062 GtkCellView is now public in GTK 2.6. Fixes crasher
18063 when choosing "Other Wireless Networks" from the panel
18066 2005-01-21 Dan Williams <dcbw@redhat.com>
18068 * src/NetworkManager.c
18069 - Daemonize earlier so that glib doesn't get confused (?)
18071 2005-01-21 Dan Williams <dcbw@redhat.com>
18073 * panel-applet/NMWirelessApplet.[ch]
18074 panel-applet/NMWirelessAppletDbus.c
18075 panel-applet/menu-info.c
18076 src/NetworkManagerDevice.c
18077 - Disable wired devices in the menu when they have no link.
18079 2005-01-21 Dan Williams <dcbw@redhat.com>
18081 * Cache last-known-good wireless authentication method in
18082 NetworkManagerInfo, and use that method first during
18083 wireless device activation. Should speed up devices that
18084 need Shared Key authentication method since Open System is
18087 * Remove the hack to not do full activation on wired connections
18088 that are active when we launch, it causes too many problems
18089 with name resolution and was a hack in the first place.
18091 * Re-work wireless device activation again somewhat to have a
18092 clearer chain of events and to use last-known-good
18093 authentication method of the access point. Also provide
18094 better status throughout activation to ensure the applet
18095 can tell the user exactly what's going on.
18097 * Remove the "find wireless network" code and now simply attempt
18098 to activate with that access point. This reduces the delay
18099 between selecting "Other wireless Network" and actually
18100 connecting to that network.
18102 * Correctly stop the device's worker thread when its removed.
18104 2005-01-21 Dan Williams <dcbw@redhat.com>
18107 - Clean up some of the debug messages
18109 2005-01-21 Dan Williams <dcbw@redhat.com>
18111 * Add new icons, more frames of animation
18112 * Remove some hacks to get the panel applet to display correct
18113 status, an NM update will soon follow that will fix the
18116 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18118 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18119 the first include for working i18n. Also, don't include it in .h files
18120 * panel-applet/NMWirelessApplet.h: Same
18121 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18122 * panel-applet/menu-info.c: Same
18124 2005-01-18 Dan Williams <dcbw@redhat.com>
18127 - Remove some debug messages
18128 - Wrap others in #ifdef DEBUG/#endif
18130 * src/NetworkManager.c
18131 - Remove some debug messages
18132 - Clarify some debug messages
18133 - Remove code related to old single-thread wireless scanning
18135 * src/NetworkManagerAP.[ch]
18136 - New AP property "last_seen" to track how recently an AP was
18138 - Start using 'const' more in function arguments
18140 * src/NetworkManagerAPList.[ch]
18141 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18142 of an AP found in an AP list from a source AP, or if not found
18143 in the list add the source AP
18144 - (nm_ap_list_combine): remove, no longer needed
18146 * src/NetworkManagerDevice.c
18147 - Each device now has a "worker" thread from start to end of its life.
18148 Scanning for wireless devices now happens in that thread,
18149 not in a single "wireless scanning thread" for all devices as
18150 previously. Activation consists of adding an idle handler to the
18151 thread's main loop/context, which gets run at the next available
18153 - Wireless scanning is also simplified, there is now only one list of
18154 access points per wireless device, and APs older than 60s are
18155 removed from the list. Previously, we kept results for the last
18156 3 scans and merged whole lists, which was complicated.
18157 - Cleaned up activation debug messages.
18158 - Wireless activation and access-point search routines now use Open System
18159 authentication before trying Shared Key.
18160 - Removed some code in nm_device_update_best_ap() that could cause cards
18161 to loose their link to the access point.
18162 - Scanning now uses a backoff algorithm, where the inverval becomes
18163 progressively longer between scans when the list of scanned access
18164 points doesn't change. A change will revert to the shortest scan
18167 * src/NetworkManagerWireless.[ch]
18168 - Remove code related to old single-thread wireless scanning
18170 2005-01-18 Colin Walters <walters@redhat.com>
18172 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18173 of older nameservers.
18175 2005-01-18 Colin Walters <walters@redhat.com>
18177 * named/nm-named-manager.c (generate_named_conf): Many fixes
18178 to config file generation.
18179 (safer_kill): Remove, was too much trouble for little gain.
18180 (nm_named_manager_start): Run named as NM_NAMED_USER.
18182 * configure.in: Add option --with-named-user.
18184 2005-01-14 Colin Walters <walters@redhat.com>
18186 Patch from ed@catmur.co.uk (Ed Catmur)
18188 * named/nm-named-manager.c: Add "context" property.
18189 Use it to add child watch source in specific GMainContext.
18191 * src/NetworkManager.c (nm_data_new): Initialize
18192 named with correct main context. Start named only
18195 2005-01-14 Colin Walters <walters@redhat.com>
18197 * named/nm-named-manager.c (generate_named_conf): Write config
18198 and pid files into NM_NAMED_DATA_DIR; this allows things to
18199 work better with FC3 named SELinux policy. Also fix up silly
18202 * configure.in: Add --with-named-dir option.
18204 2005-01-14 Colin Walters <walters@redhat.com>
18206 * configure.in: Make named support require passing --with-named.
18208 * named/nm-named-manager.c: Support writing resolv.conf directly
18209 without running named.
18211 2005-01-13 Dan Williams <dcbw@redhat.com>
18213 * named/nm-named-manager.c
18214 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18216 * src/NetworkManagerDevice.c
18217 - Rework wireless link detection code to be more reliable
18219 2005-01-12 Dan Williams <dcbw@redhat.com>
18221 * initscripts/RedHat/NetworkManager
18222 - Change initial level to "-" rather than "345" so that
18223 we don't activate ourselves by default on install
18225 2005-01-12 Dan Williams <dcbw@redhat.com>
18228 - Client library for applications using glib
18232 - Split NM_CFLAGS and NM_LIBS into separate variables
18233 like DBUS_*, HAL_* and GLIB_*
18235 * src/NetworkManager.c
18236 src/NetworkManagerMain.h
18237 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18238 broadcast a status changed signal over DBUS from the main thread.
18239 Still unused anywhere for the moment.
18241 Patch from j@bootlab.org
18242 * panel_applet/NMWirelessAppletDbus.c
18243 src/NetworkManagerDbus.c
18244 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18245 for the "getMode" method call
18247 2005-01-10 Dan Williams <dcbw@redhat.com>
18249 * src/NetworkManagerDevice.c
18250 - Minor fixups & corrections to "auto" frequency mode, make it
18251 less chatty with syslog
18253 2005-01-10 Dan Williams <dcbw@redhat.com>
18255 * src/NetworkManagerDevice.c
18256 - Implement "auto" frequency/channel support, since cards like Atheros
18257 can't use other frequencies at all when you've told it to use a
18258 specific one, even for scanning.
18259 - Grab the scan mutex around places where we can't tolerate wireless
18260 settings changing underneath us, like nm_device_wireless_network_exists()
18261 and nm_device_activate_wireless()
18263 * src/NetworkManagerWireless.c
18264 - Back scan interval off to 20s instead of 14s
18266 2005-01-09 Dan Williams <dcbw@redhat.com>
18268 * src/NetworkManagerDevice.c
18269 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18270 already set. Stops some drivers like Atmel from continually
18271 reloading the firmware, which they do upon every configuration
18274 2005-01-09 Dan Williams <dcbw@redhat.com>
18277 - Use correct timeout value
18279 * info-daemon/NetworkManagerInfoDbus.c
18280 src/NetworkManagerDbus.c
18281 - Consolidate communication between NM and NMI by doing only 1 dbus
18282 method call to get Wireless Network info from NMI instead of 6
18284 * src/NetworkManager.c
18285 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18286 when we didn't have an AP to use, we'd wait for one forever without
18289 * src/NetworkManagerDevice.c
18290 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18291 activation, dhcp might not have started yet but we don't quit activation
18292 before starting it, so the quit signal gets lost
18294 2005-01-07 Dan Williams <dcbw@redhat.com>
18297 - Rework the DHCP client code to be much less chatty when
18298 it receives non-DHCP UDP packets during the DHCP run
18299 (reported by and preliminary patches from Bill Moss)
18301 * Move wireless scanning to a separate thread. This thread forwards the
18302 results to the main thread when done where they are integrated into
18303 the device's access point lists. This keeps the main thread (which
18304 does all the DBUS communication) from being blocked for long periods
18305 of time by wireless scanning.
18307 * Make state modification an idle routine in the main loop, and trigger
18308 state changes rather than polling for them.
18310 * src/backends/NetworkManagerGentoo.c
18311 - Fix up invalid C90 code (reported by Christoph Ruessler)
18313 * src/NetworkManagerDevice.c
18314 - Revert IPv6 patch for wired devices from 2004-12-22 for
18315 router advertisements, causing problems and infinite loop
18316 during "best" device determination due to link going up/down
18317 (reported by Bill Moss)
18319 Apply patch from Peter Jones
18320 * src/NetworkManagerDevice.c
18321 - Shortcut for link-checking for ipw2x00 cards
18322 - Split out association check into separate routine
18324 2004-01-05 Colin Walters <walters@redhat.com>
18326 * named/named.conf: Add PID_FILE.
18328 * named/nm-named-manager.c: Always generate a pid
18329 file, since older BIND versions don't support
18332 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
18334 * configure.in (ALL_LINGUAS): Added ja (Japanese).
18336 2004-12-22 Dan Williams <dcbw@redhat.com>
18338 * src/NetworkManagerDevice.c
18339 - Silently fail when setting bitrate doesn't work
18342 Patches from j@bootlab.org:
18343 * src/backends/NetworkManagerDebian
18344 - Update backend to match functionality in RedHat backend
18345 * src/NetworkManagerDevice.c
18346 - Take down then bring up wired devices after connection so
18347 they send out ipv6 router advertisements
18349 2004-12-21 Colin Walters <walters@verbum.org>
18351 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18352 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18354 2004-12-21 Colin Walters <walters@redhat.com>
18356 * configure.in: Correct named detection.
18358 2004-12-21 Colin Walters <walters@redhat.com>
18360 * src/NetworkManager.c (nm_data_new): Initialize named.
18361 Also, set up a signal handler for SIGINT/SIGTERM, and exit
18362 the mainloop when these signals are received.
18363 (nm_data_free): Unref named.
18364 (sigterm_handler, sigterm_pipe_handler): New functions for
18367 * src/NetworkManagerMain.h (NMData): Add signal handling and
18370 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18373 * src/NetworkManagerDHCP.c (set_nameservers): New function;
18374 set nameservers from DHCP response data.
18375 (set_domain_search): Set domain search from DHCP response.
18376 (nm_device_dhcp_configure): Invoke them.
18378 * src/NetworkManagerSystem.c
18379 (nm_system_device_update_resolv_conf): Delete. Deleting
18380 code is totally sweet.
18382 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18384 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18385 implements an object which controls a nameserver. Currently
18388 * configure.in: Check for named.
18390 * Makefile.am (SUBDIRS): Add named dir.
18392 * named/named.conf: New template config file.
18394 2004-12-20 Colin Walters <walters@redhat.com>
18396 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18399 2004-12-17 Dan Williams <dcbw@redhat.com>
18401 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
18402 link-local addresses instead of doing DHCP.
18404 * In the panel applet, there's a new "Create new Wireless Network..." item
18406 * The panel applet also sticks around now even if NetworkManager dies, but
18407 it doesn't hide its icon when NM isn't around. Not hiding the icon is
18408 a bug, I'll fix that later.
18410 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18411 lookups after a switch rather than actually doing them.
18413 * Clean up some of those warnings in nm_ap_list_* functions
18415 * Delay between scans changed to 15s instead of 10s
18417 2004-12-15 Dan Williams <dcbw@redhat.com>
18419 Patch from Tom Parker
18420 * Add autoip/Link Local Addressing support when we fail to get a DHCP
18423 * Longer pause after setting ESSID on cards that support a larger number
18424 of channels to give the card time to find the right channel
18426 * Add system hook to restart mDNSResponder (or whatever the local implementation
18427 of Multicast DNS is) when we activate interfaces
18429 2004-12-15 Dan Williams <dcbw@redhat.com>
18431 * Rework the DHCP code again to revert to sending full ethernet frames
18432 rather then relying on the kernel to do the right thing with our
18435 2004-12-06 Dan Williams <dcbw@redhat.com>
18438 - Fix some minor errors in dhcp_handle_transaction() that caused
18439 unexpected early timeouts of DHCP transactions
18442 - DHCP retransmit time from 4s -> 5s
18444 2004-12-05 Dan Williams <dcbw@redhat.com>
18446 * Major rework of the DHCP code, taking some cues from pump. We don't
18447 write raw Ethernet packets anymore, which simplifies the code quite
18448 a bit. The new code should be more robust, not hang in recvfrom()
18449 as much, and generally work better. This also means that we need
18450 to force HAL/dbus to use a created GMainContext rather than the
18451 default context, since having the DHCP renew/rebind thread using
18452 its own GMainContext seemed to give dbus a fit. There is also more
18453 debugging information printed from the DHCP loop to help with future
18456 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18457 assume that the default gateway should be the DHCP server.
18459 Patch from Matthew Schick <matt oss-institute org>
18460 * src/backends/NetworkManagerGentoo.c
18461 - Fix compilation error due to missing "ip4_broadcast"
18463 2004-12-03 Dan Williams <dcbw@redhat.com>
18465 * initscript/Makefile.am
18466 * initscript/Debian/NetworkManager
18467 * initscript/Gentoo/NetworkManager
18468 * initscript/RedHat/NetworkManager
18469 * initscript/NMLaunchHelper.c
18470 - Remove NMLaunchHelper, if you need to wait until the network
18471 comes up, use the dead code from CVS.
18473 2004-12-01 Colin Walters <walters@redhat.com>
18475 * configure.in: Suck in gcc warnings code from Rhythmbox,
18476 but use fewer default flags, and in particular add -Wno-unused,
18477 since the codebase has a lot of unused variables.
18479 * test/nmtestdevices.c (create_device):
18480 * test/nminfotest.c (get_network_string_property)
18481 (get_networks_of_type):
18482 * test/nmclienttest.c (main):
18483 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
18484 * initscript/NMLaunchHelper.c (get_nm_status):
18485 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
18486 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
18487 Fix declarations after statements.
18489 2004-12-01 Colin Walters <walters@redhat.com>
18491 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18492 (nmi_dbus_get_vpn_userpass): New method.
18493 (nmi_dbus_nmi_message_handler): Invoke it.
18495 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18497 * info-daemon/NetworkManagerInfoVPN.h,
18498 info-daemon/NetworkManagerInfoVPN.c: New files; responds
18499 to requests for VPN passwords.
18501 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18503 2004-12-01 Colin Walters <walters@redhat.com>
18505 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18508 2004-12-01 Colin Walters <walters@redhat.com>
18510 * panel-applet/NMWirelessAppletDbus.c
18511 (nmwa_dbus_update_active_device_strength): Fix missing
18514 2004-12-01 Colin Walters <walters@redhat.com>
18516 * panel-applet/NMWirelessApplet.c: Add missing include.
18518 2004-12-01 Colin Walters <walters@redhat.com>
18520 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18521 Remove useless CLAMP (); the value is unsigned, and the case tests
18522 qual->qual < 100, so the value must always be between 0 and 100.
18524 2004-12-01 Colin Walters <walters@redhat.com>
18526 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18528 2004-11-22 Colin Walters <walters@verbum.org>
18530 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18531 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18532 which is essentially a noop since nscd caches hosts on disk too.
18534 2004-11-22 Colin Walters <walters@redhat.com>
18536 * src/Makefile.am (NetworkManager_SOURCES): Add
18537 NetworkManagerDevicePrivate.h.
18539 2004-11-22 Dan Williams <dcbw@redhat.com>
18541 * src/NetworkManagerDevicePrivate.h
18542 - Split out the NMDevice struct to a different file so that stuff like
18543 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18547 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18548 need to cancel the dhcp request during the send and recv
18551 - Move the DHCP option enum to dhcpcd.h
18553 * src/NetworkManagerDHCP.c
18554 - Split out the actual IP/netmask/etc setting code
18555 - New Renew/Rebind functions
18556 - New timer setup function for renew/rebind operations
18558 * src/NetworkManagerDevice.c
18559 - For device activation, if we are using DHCP then keep the activation thread
18560 alive until device deactivation. We need to renew/rebind the DHCP address
18561 after the T1 (renew) and T2 (rebind) times have expired.
18562 - Increase some timeouts after bringing wireless cards up/down
18564 2004-11-17 Dan Williams <dcbw@redhat.com>
18566 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18567 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
18568 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
18569 show known access points that don't broadcast their ESSID in the menus without
18570 any user intervention whatsoever.
18572 * info-daemon/NetworkManagerInfoDbus.c
18573 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18574 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18576 * src/NetworkManagerAP.[ch]
18577 - Add a "user_addresses" data member to the NMAccessPoint structure
18578 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18579 the user_addresses data member
18581 * src/NetworkManagerAPList.c
18582 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18583 the AP's reported address
18584 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18586 * src/NetworkManagerDHCP.c
18587 - Increase DHCP timeout from 25s -> 30s
18589 * src/NetworkManagerDbus.[ch]
18590 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18593 * src/NetworkManagerDevice.c
18594 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18595 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
18596 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18597 So, we take the card down to clear it out.
18598 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18599 too, since that's where the user_addresses are
18601 * src/NetworkManagerPolicy.c
18602 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18603 that wireless networks' user_addresses list upon successful activation
18605 2004-11-16 Dan Williams <dcbw@redhat.com>
18607 * src/NetworkManagerDevice.[ch]
18608 - (nm_device_clear_activation_fail): new function
18610 * src/NetworkManagerPolicy.c
18611 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18612 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18614 2004-11-16 Dan Williams <dcbw@redhat.com>
18616 * src/NetworkManagerDevice.c
18617 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18618 leak the structure, better updating of now_scanning status
18619 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18621 2004-11-15 Dan Williams <dcbw@redhat.com>
18623 Major rework of link detection code. We now use DHCP
18624 as part of the link detection which proves to be much more robust,
18625 and also supports Open System authentication for wireless networks.
18627 We no longer use external DHCP client programs. Instead, we use
18628 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18629 which was written by:
18630 Yoichi Hariguchi <yoichi@fore.com>
18631 Sergei Viznyuk <sv@phystech.com>
18632 http://www.phystech.com/download/
18633 It resides in the "dhcpcd" directory and was refactored into a general
18634 purpose DHCP client library by me.
18636 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18637 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18639 2004-11-15 Dan Williams <dcbw@redhat.com>
18641 Patch from Tom Parker <palfrey@tevp.net>:
18643 * src/NetworkManagerDevice.c
18644 - Less output to console when no access
18645 points are found during a scan
18647 2004-11-15 Dan Williams <dcbw@redhat.com>
18649 Patch from Tom Parker <palfrey@tevp.net>:
18651 * src/backends/interface_parser.c
18653 - Check for inp == NULL
18656 2004-11-13 Colin Walters <walters@redhat.com>
18658 Patch from Tom Parker <palfrey@tevp.net>:
18660 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18662 * src/backends/NetworkManagerRedHat.c: Switch to
18663 including shvar.h instead of shvar.c.
18665 * src/backends/NetworkManagerDebian.c: Don't include
18666 interface_parser.c in source file.
18668 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18669 and interface_parser.[ch].
18670 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18671 Include shvar.c and shvar.h here.
18672 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18673 interface_parser.c and interface_parser.h here.
18675 2004-11-12 Colin Walters <walters@redhat.com>
18677 * configure.in: Strip out TARGET_DISTRO and
18678 SYSTEM_BACKEND_FILE variables. Switch to Automake
18681 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18682 (libnmbackend_la_SOURCES): Use Automake conditionals
18683 to add distro-specific files.
18685 * initscript/Makefile.am (SUBDIRS): Update to
18688 2004-11-12 Colin Walters <walters@redhat.com>
18690 Patches from j bootlab org
18692 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
18693 Add interface_parser.[ch].
18695 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
18696 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
18698 2004-11-12 Colin Walters <walters@redhat.com>
18700 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
18701 call to nmi_dbus_is_running too, not necessary anymore.
18702 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
18705 2004-11-11 Colin Walters <walters@verbum.org>
18707 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
18709 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
18710 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
18711 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
18712 This avoids a race condition that made it pretty easily
18713 possible to get two NetworkManagerInfo daemons running.
18715 2004-11-11 Colin Walters <walters@verbum.org>
18717 * src/NetworkManager.c (main): Use daemon(3).
18719 * info-daemon/NetworkManagerInfo.c (main): Ditto.
18721 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
18723 2004-11-10 Dan Williams <dcbw@redhat.com>
18725 Patches from j bootlab org
18726 * src/NetworkManagerDevice.c
18727 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
18728 whether the card has a link or not, some cards are slow
18729 - (nm_device_activation_configure_ip): make ipv6 work a bit better
18731 * info-daemon/NetworkManagerInfoPassphraseDialog.c
18732 - Disable the "Login" button on the passphrase dialog until the user
18733 enters a valid passphrase or key
18735 Patches from Tom Parker <palfrey tevp net>
18736 * src/backends/NetworkManagerDebian.c
18737 - Add static IP support to the debian backend
18739 * src/backends/interface_parser.[ch]
18740 - Parse debian interface config files
18742 2004-11-08 Dan Williams <dcbw@redhat.com>
18744 * src/NetworkManagerDevice.c
18745 - Some random fprintf->syslog conversions
18746 - (nm_device_wireless_network_exists): double-check for network
18747 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
18749 * src/NetworkManagerWireless.[ch]
18750 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
18751 so that the binary->ascii conversion works (if unsigned, the bitshift
18752 will fill with zeros, which is what's required). Also mask bitshift
18753 result with 0xF for futher assurance.
18755 2004-11-06 Dan Williams <dcbw@redhat.com>
18757 * src/NetworkManagerUtils.c
18758 - (nm_get_wireless_driver_support_level): default to
18759 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
18760 flip this when changing from whitelist->blacklist of
18763 2004-11-05 Dan Williams <dcbw@redhat.com>
18765 Patch from Robert Paskowitz:
18766 * src/backends/NetworkManagerGentoo.c
18767 - Update static IP config code
18769 2004-11-05 Dan Williams <dcbw@redhat.com>
18771 * info-daemon/NetworkManagerInfoDbus.c
18772 src/NetworkManagerDbus.[ch]
18773 src/NetworkManagerDevice.c
18774 - Keep track of the # of attempts to get the WEP key
18775 from the user and pass that along to the info daemon
18777 2004-11-05 Dan Williams <dcbw@redhat.com>
18779 * src/NetworkManagerUtils.c
18780 - Blacklist wireless cards rather than whitelisting them.
18781 - Grab driver name from HAL rather than trying to find it
18784 2004-11-03 Dan Williams <dcbw@redhat.com>
18786 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
18787 - Disable OK button until valid data is entered
18788 for encryption stuff too
18790 * panel-applet/NMWirelessApplet.c
18791 - Report card strength for current AP if the card
18792 doesn't report strength data for scanned access
18795 * src/NetworkManagerDevice.c
18796 - Smooth out cards reported quality, Atmel card was
18797 intermittently reporting no quality data but soon
18800 * src/NetworkManagerWireless.c
18801 - Better quality data percentage calculation. Atmel
18802 cards (mine at least) seem to report the quality
18803 in percentage format already, so honor that
18805 Patch from <j@bootlab.org>
18807 info-daemon/NetworkManagerInfoPassphraseDialog.c
18808 info-daemon/passphrase.glade
18809 panel-applet/NMWirelessAppletOtherNetworkDialog.c
18810 panel-applet/essid.glade
18811 src/NetworkManagerAP.c
18812 src/NetworkManagerDevice.c
18813 src/NetworkManagerWireless.[ch]
18814 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
18816 2004-11-03 Dan Williams <dcbw@redhat.com>
18818 * src/NetworkManagerDevice.[ch]
18819 - (nm_device_set_enc_key): Add parameter to set Authentication
18820 Mode (Open System, Shared Key, or None). We're still using
18821 Shared Key for now though.
18823 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
18825 * panel-applet/menu-info.c: change from bold text to light
18826 colored, may cause problems with some themes, i've tested a lot
18827 and they seem fine.
18829 * panel-applet/NMWirelessApplet.c: fix strength tooltip
18831 2004-11-01 Colin Walters <walters@verbum.org>
18833 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
18834 (nm_wireless_128bit_key_from_passphrase): Add const.
18836 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
18837 (nm_ap_set_enc_key_source): Add const.
18839 2004-11-01 Colin Walters <walters@verbum.org>
18841 * .cvsignore: Update.
18843 2004-10-29 Dan Williams <dcbw@redhat.com>
18845 * src/NetworkManagerDevice.c
18846 - (nm_device_wireless_network_exists): Actually use the encryption
18847 key we got from the applet when attempting to find a wireless network
18848 - Don't bring devices down so much since on some cards it triggers
18849 firmware hotplugs each time
18851 * src/NetworkManagerDbus.c
18852 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
18855 2004-10-29 Dan Williams <dcbw@redhat.com>
18857 * src/NetworkManager.c
18858 - (nm_hal_device_property_modified): unlock a locked active
18859 wireless device when a wired connection gets a link.
18860 (Means you'll switch to wired whenever you plug in no
18863 2004-10-29 Dan Williams <dcbw@redhat.com>
18865 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
18866 - New files, implement the "Other wireless network" dialog
18868 * panel-applet/NMWirelessApplet.c
18869 - Move "other wireless network" dialog to separate file
18871 * panel-applet/NMWirelessAppletDbus.[ch]
18872 - Take key and key_type paramaters for the set_device function
18874 * panel-applet/essid.glade
18875 - Add UI bits for encryption settings
18877 * src/NetworkManagerDbus.c
18878 - Retrieve key and key_type params for "setActiveDevice" method call
18880 - unref AP returned from nm_device_get_best_ap() when needed
18882 * src/NetworkManagerDevice.c
18883 - (nm_device_get_best_ap): ref the ap before returning it
18884 - unref AP returned from nm_device_get_best_ap() when needed
18885 - (nm_device_activate_wireless): add "ap" parameter so we don't
18886 need to call nm_device_get_best_ap() here, it was pretty much
18888 - (AP_NEED_KEY): break second link check condition out into separate
18889 function, and fix segfault when ap->enc_key_source was NULL
18890 - (nm_device_find_and_use_essid): take key and key_type parameters and
18891 pass them along to nm_device_wireless_network_exists(). If the
18892 network does exist, set the passed-in key+key_type on the AP
18894 * src/NetworkManagerPolicy.c
18895 - unref AP returned from nm_device_get_best_ap() when needed
18897 2004-10-28 Dan Williams <dcbw@redhat.com>
18899 * src/NetworkManagerUtils.c
18900 - (nm_spawn_process): Fix a potential dereference of NULL
18902 Patches from Peter Jones:
18904 * src/NetworkManagerDevice.c
18905 - (nm_device_test_wireless_extensions): Better check for
18908 * src/NetworkManagerUtils.c
18909 - (nm_spawn_process): Pass in valid stdout and stderr so
18910 executed programs don't randomly SIGPIPE and fail
18911 - (nm_get_wired_driver_support_level): quash hal warning
18912 when checking for USB ethernet device
18914 2004-10-27 Dan Williams <dcbw@redhat.com>
18916 * info-daemon/NetworkManagerInfo.c
18917 info-daemon/NetworkManagerInfoDbus.c
18918 info-daemon/NetworkManagerInfoPassphraseDialog.c
18919 panel-applet/NMWirelessApplet.c
18920 - Properly escape gconf keys
18922 * src/NetworkManager.c
18923 - remove unused variables
18925 * src/NetworkManagerAP.c
18926 - (nm_ap_new_from_ap): Don't redundantly set new APs
18927 refcount since it got set in nm_ap_new()
18929 * src/NetworkManagerAPList.c
18930 - (nm_ap_list_combine): Give up ownership of newly created
18931 access points to the ap list, fixes memleak
18933 * src/NetworkManagerDevice.c
18934 - Remove cached_ap_list4 member since its not really needed
18935 - (nm_device_wireless_network_exists): Try to get correct
18936 encryption status of a found AP if its already in our
18938 - (nm_device_do_normal_scan): Clean up scanning a bit, make
18939 memory allocs/deallocs a bit clearer and shorter-lived
18941 2004-10-26 Ray Strode <rstrode@redhat.com>
18943 * panel-applet/NMWirelessApplet.c:
18944 (custom_essid_item_selected): kill some compiler
18947 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
18949 * info-daemon/NetworkManagerInfoDbus.c
18950 - (nmi_dbus_is_running): New function for determining if nmi is already running
18951 - (nmi_dbus_service_init): exit if another instance of nmi is already running
18953 2004-10-23 Dan Williams <dcbw@redhat.com>
18955 * info-daemon/NetworkManagerInfoDbus.c
18956 - Trap the "DeviceActivationFailed" signal
18958 * docs/NetworkManager DBUS API.txt
18959 - Add "DeviceActivationFailed" signal
18961 * panel-applet/NMWirelessAppletDbus.c
18962 - Quash the "NetworkManager service not available" message
18964 * src/NetworkManagerDbus.[ch]
18965 - Add the "DeviceActivationFailed" signal
18967 * src/NetworkManagerDevice.c
18968 - Add support for activation_failed flag
18969 - Fix deadlock where activation thread didn't clean itself up, making
18970 main thread still believe it was alive forever (didn't reset activation
18971 flags like activating, just_activated, etc when IP configuration
18974 * src/NetworkManagerPolicy.c
18975 - Implement logic for DeviceActivationFailed signal, and when activation fails
18976 for wireless networks, try to fall back to some other access point
18978 2004-10-23 Dan Williams <dcbw@redhat.com>
18980 * panel-applet/NMWirelessApplet.[ch]
18981 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
18982 to the applet object, so we can get tooltips
18983 - Add tooltips (RH #136866)
18985 * src/NetworkManagerDevice.c
18986 - When trying to find a wireless network, try to connect with encryption
18987 turned on first, so that we can more accurately detect whether or not
18988 we need to use encryption for the actual association later on
18990 2004-10-21 Dan Williams <dcbw@redhat.com>
18992 * Add some support for telling NetworkManagerInfo to tell the user
18993 that they are using a device that's not fully supported
18995 * Fix some assertions in debug messages due to null access point args
18997 2004-10-21 Dan Williams <dcbw@redhat.com>
18999 * src/NetworkManagerDevice.c
19000 - Don't try to activate/bring up/down unsupported
19003 * src/NetworkManagerUtils.c
19004 - Fix case of PCI ID checks for driver support levels
19006 2004-10-21 Dan Williams <dcbw@redhat.com>
19009 - New file, now contains commonly used structures and bits
19010 for the dbus API of NetworkManager
19013 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19015 * src/NetworkManager.h
19016 - Rename -> src/NetworkManagerMain.c
19018 * Various fixups all around to use NetworkManager.h and new
19019 src/NetworkManagerMain.h, remove redundant bits that got
19020 moved into NetworkManager.h
19022 * src/NetworkManagerDevice.[ch]
19023 src/NetworkManagerUtils.[ch]
19024 src/NetworkManagerPolicy.c
19025 src/NetworkManagerDbus.c
19026 - Whitelist wireless drivers, and blacklist some wired
19027 drivers. Also blacklist cipsec and ethernet-over-usb
19028 devices at this time (RH #135722, RH #135648)
19029 - Don't leak unsupported devices out over dbus, or allow
19030 them to be set as the active device. Skip over them
19031 during automatic device picking
19033 * test/nmclienttest.c
19034 - Clean up the dbus code a lot
19036 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19038 * configure.in: post release bump.
19040 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19043 * NEWS: Released NetworkManager-0.3.1
19045 2004-10-18 Dan Williams <dcbw@redhat.com>
19047 Patches from Thom May:
19048 * test/nmtestdevices.c
19049 - Include <string.h>
19050 * src/backends/NetworkManagerDebian.c:
19051 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19052 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19053 Move to using g_strdup_printf rather than arbitrary buffers
19054 - (nm_system_device_setup_static_ip4_config) Implement function.
19055 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19057 2004-10-17 Dan Williams <dcbw@redhat.com>
19059 * info-daemon/NetworkManagerInfoDbus.c
19060 - Display name of network in the "network not found" dialog
19062 * panel-applet/NMWirelessAppletDbus.c
19063 - (nmwa_dbus_call_nm_method): new function replaces all other
19064 nmwa_dbus_get_[string|string_array|int|boolean] methods
19065 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19066 consolidated into nmwa_dbus_get_object_name()
19068 2004-10-15 Dan Williams <dcbw@redhat.com>
19070 * src/NetworkManagerDbus.c
19071 info-daemon/NetworkManagerInfoDbus.c
19072 - Display an error dialog when the user tries to use an
19073 "Other wireless network" that's not found.
19075 2004-10-15 Dan Williams <dcbw@redhat.com>
19077 * panel-applet/NMWirelessApplet.[ch]
19078 - Fix up corner cases in applet state, making it
19079 look more responsive. Change state to "connecting" when
19080 the user is forcing a device too.
19082 2004-10-15 Dan Williams <dcbw@redhat.com>
19084 * src/NetworkManagerAPList.c
19085 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19087 * src/NetworkManagerDbus.c
19088 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19090 * src/NetworkManagerDevice.c
19091 - Disown APs after the device's AP list takes ownership
19093 2004-10-15 Dan Williams <dcbw@redhat.com>
19095 * panel-applet/NMWirelessApplet.c
19096 - Update our applet state from the GUI thread
19098 * panel-applet/NMWirelessAppletDbus.c
19099 - Greatly simplify the locking to make the GUI thread
19100 smoother. Update a private copy of the device list
19101 and active device and only when done talking to
19102 NetworkManager turn it over to the GUI thread.
19104 2004-10-15 Dan Williams <dcbw@redhat.com>
19106 * src/NetworkManagerAP.[ch]
19107 - Add "artificial" get/set functions, set for APs that
19108 aren't discovered as part of a scan but instead
19109 discovered by force-setting the ESSID
19111 * src/NetworkManagerDevice.[ch]
19112 - (nm_device_wireless_network_exists): pass back whether
19113 or not the discovered AP was encrypted. Also, try
19114 falling back to encrypted mode on the card if unencrypted
19115 association doesn't work
19116 - (nm_device_find_and_use_essid): If the network requested
19117 did in fact exists, but it wasn't in our scan list, add
19118 an "artificial" entry for it. Some Cisco cards don't
19119 see non-ESSID-broadcasting APs in their scan but can still
19120 associate with them if you know the ESSID, this works around
19122 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19123 to scan if the card is currently associated with that AP
19125 2004-10-15 Dan Williams <dcbw@redhat.com>
19127 ---- We have a website ----
19128 http://people.redhat.com/dcbw/NetworkManager
19130 Patch from Robert Paskowitz:
19131 * src/NetworkManager.c
19132 - (main): Make sure we are run as root
19133 * src/NetworkManagerDevice.c
19134 - Fix type in ad-hoc setting function
19136 Patch from Thom May:
19137 * src/backends/NetworkManagerDebian.c
19138 - Make Debian backend compile again
19140 2004-10-14 Dan Williams <dcbw@redhat.com>
19142 * Tagged NetworkManager-0_3
19144 2004-10-14 Dan Williams <dcbw@redhat.com>
19146 Patch from Robert Paskowitz:
19148 src/NetworkManagerDevice.[ch]
19149 src/backends/NetworkManagerDebian.c
19150 src/backends/NetworkManagerGentoo.c
19151 src/backends/NetworkManagerRedHat.c
19152 src/backends/NetworkManagerSlackware.c
19153 - Add support for grabbing and using a broadcast address
19154 from system config files
19155 - Some Gentoo backend fixes for grabbing network config
19156 - Fix LOG_WARN->LOG_WARNING
19158 2004-10-14 Dan Williams <dcbw@redhat.com>
19160 * NEWS: a few small fixes in the credits
19162 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
19164 * NEWS: prep for release.
19166 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
19168 * panel-applet/NMWirelessAppletDbus.c
19169 (nmwa_dbus_update_device_wireless_networks): remove warnings.
19171 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
19173 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19174 applet->state == APPLET_STATE_NO_NM animation.
19176 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19177 set the text correctly.
19179 2004-10-14 Dan Williams <dcbw@redhat.com>
19181 * src/NetworkManager.c
19182 - Only accept and manager 802.3 and 802.11 devices
19184 * src/NetworkManagerDbus.[ch]
19185 - (nm_dbus_nm_set_active_device): move most of the actual activation
19186 logic into NetworkManagerDevice.c
19187 - (nm_dbus_network_status_from_data): new function
19188 - (nm_dbus_signal_network_status_change): new function, unused for now
19189 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19191 * src/NetworkManagerDevice.[ch]
19192 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
19195 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19197 * info-daemon/NetworkManagerInfo.c
19198 - (main): Added session management
19200 2004-10-14 Dan Williams <dcbw@redhat.com>
19202 * panel-applet/NMWirelessAppletDbus.[ch]
19203 - Expose network_device_[un]ref()
19204 - Expose wireless_network_[un]ref()
19205 - (wireless_network_new_with_essid): new function, create and return
19206 a wireless network with a particular essid
19208 * panel-applet/NMWirelessApplet.c
19209 - Hook up the "other network" dialog to do something
19211 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
19213 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
19214 doesn't work yet, but it looks okay.
19216 * panel-applet/icons/*png: Resize to 22x22 and install in the
19219 2004-10-13 Dan Williams <dcbw@redhat.com>
19221 * panel-applet/NMWirelessApplet.c
19222 - Add function to print out applet_state in a readable
19225 * src/NetworkManager.c
19226 - (main): Don't segfault when nm_dbus_init() fails, we had
19227 a left-over call to hal_shutdown() into which we passed NULL
19229 * src/NetworkManagerAP.c
19230 - (nm_ap_set_essid): Allow NULL essids
19232 * src/NetworkManagerAPList.[ch]
19233 - More use of nm_ap_list_[un]lock ()
19234 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19235 network/essid, just return nothing. Also skip over NULL
19236 essid access points in the list when searching
19237 - (nm_ap_list_get_ap_by_address): new function
19238 - (nm_ap_list_update_network): set the access point's key source to
19239 NULL when the key returned from NetworkManagerInfo is NULL or
19241 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19242 copy timestamp over too
19243 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19244 find the correct ESSID for a blank-essid access point by searching
19245 through another list and matching access point MAC addresses
19246 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19248 * src/NetworkManagerDbus.c
19249 - (nm_dbus_nm_set_active_device): deal with random networks the user
19250 may specify. This is mainly for access points that don't
19251 broadcast their essid. So if the user tells us to associate with
19252 some random ESSID that's not in our access point list, we find
19253 out if the access point does in fact exist (by attempting association
19254 and then matching that access point's MAC address with the essid the
19255 user gave us) and then we switch to it.
19256 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19257 to the returned list of networks for the "getNetworks" method
19259 * src/NetworkManagerDevice.[ch]
19260 - Extra debugging info for link detection
19261 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19262 based on MAC address
19263 - (nm_device_get_path_for_ap): ignore blank-essid access points
19264 - (nm_device_wireless_network_exists): new function, find out whether
19265 a random ESSID exists by attempting to associate with it
19266 - (nm_device_do_normal_scan): allow blank-essid access points in our
19267 device list as long as they have an AP MAC address we can use.
19268 Also send WirelessNetwork[Dis]Appeared signals for non-active
19269 devices too. Lets the applet update more frequently.
19271 * src/backends/NetworkManagerGentoo.c
19272 - Patch from: Robert Paskowitz
19273 - Update backend code for Gentoo
19274 - Implement nm_system_device_update_config_info ()
19276 * test/nmclienttest.c
19277 - (set_network_device): new function, takes a command-line argument
19278 and tells NetworkManager to use that wireless network
19280 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19282 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19283 if the notification icon crashes 5 times within 5 seconds of each respawn
19285 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
19287 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19290 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
19292 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19294 * panel-applet/NMWirelessApplet.c: (animation_timeout),
19295 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19296 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19297 Change the name of the icons.
19299 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19300 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19301 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19302 (nm_menu_wireless_expose_event): Really bad hack to get the style
19303 to draw in the right color.
19305 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19307 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
19308 Notification if it crashes
19310 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
19312 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
19313 (nmwa_dbus_get_string): remove unused functions
19315 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19316 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19317 remove unused functions
19319 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19321 2004-10-12 Dan Williams <dcbw@redhat.com>
19323 * panel-applet/NMWirelessAppletDbus.c
19325 wireless_network_new
19326 wireless_network_copy
19328 network_device_copy
19330 * src/NetworkManagerDevice.[ch]
19332 nm_device_set_mode_managed
19333 nm_device_set_mode_adhoc
19334 - Use these functions where appropriate
19335 - When creating a new wireless device, force the card
19336 to managed/Infrastructure mode as soon as possible
19338 2004-10-12 Dan Williams <dcbw@redhat.com>
19340 * src/NetworkManagerDevice.c
19341 - Force wireless cards into Infrastructure mode before we use them
19343 2004-10-12 Dan Williams <dcbw@redhat.com>
19346 - Remove bit about static IP address support
19348 * src/NetworkManagerUtils.c
19349 - (nm_spawn_process): Add some error reporting
19351 * src/NetworkManagerDevice.c
19352 - (nm_device_activation_configure_ip): hook up to the static config
19353 routines in the backends
19355 * src/backends/NetworkManagerRedHat.c
19356 - (nm_system_device_update_config_info): use shvar.c routines to
19357 parse the config file iformation, not our own
19358 - (nm_system_device_setup_static_ip4_config): new function, based
19359 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
19360 with a static IP address and gateway
19362 * src/backends/shvar.[ch]
19363 - Parser (filched from initscripts package) for ifcfg-* files
19365 * src/backends/NetworkManagerSystem.h
19366 src/backends/NetworkManagerGentoo.c
19367 src/backends/NetworkManagerDebian.c
19368 src/backends/NetworkManagerSlackware.c
19369 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19371 2004-10-11 Dan Williams <dcbw@redhat.com>
19374 - Remove bit about more robust AP diffing since I just implemented it
19376 2004-10-11 Dan Williams <dcbw@redhat.com>
19378 * src/NetworkManagerAP.c
19379 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19380 enough RAM to allocate new AP structures, but return NULL instead
19382 * src/NetworkManagerAPList.[ch]
19383 - (nm_ap_list_is_empty): new function
19384 - (nm_ap_list_combine): new function, combine two access point lists
19385 - (nm_ap_list_copy_keys): new function, copy keys from one list
19388 * src/NetworkManagerDevice.[ch]
19389 - Rename some functions to be clearer:
19390 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19391 nm_device_just_activated -> nm_device_is_just_activated
19392 nm_device_activating -> nm_device_is_activating
19393 nm_device_now_scanning -> nm_device_is_scanning
19394 - Cache the last 4 scans so that the access point list is more stable.
19395 We combine the lastest two scans and use that as the AP list,
19396 and diff that combined list against the combination of the earliest
19397 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19399 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19401 * info-daemon/NWManagerInfo.h
19402 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19404 * info-daemon/NWManagerInfoDbus.c
19405 - (shutdown_callback): new function
19406 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19407 if NetworkManager goes away. Kill the timeout
19408 if NetworkManager restarts before the 30 seconds
19410 - (nmi_dbus_service_init):
19411 - call gtk_main_quit if NetworkManager is not running
19412 - add filters to monitor dbus service creations and
19415 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19417 * panel-applet/NMWirelessApplet.c
19418 - (nmwa_update_state): Hide notification icon if we are only
19419 showing one wired card and no wireless interfaces
19420 (Red Hat Bug #134895)
19422 * panel-applet/NMWirelessAppletDbus.c
19423 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19425 * info-daemon/NWManagerInfo.c
19426 - (main): Terminated the notification_icon_cmd array with a NULL
19428 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
19430 * configure.in (ALL_LINGUAS): Added de (German).
19432 2004-10-08 Dan Williams <dcbw@redaht.com>
19434 * src/NetworkManagerDevice.c
19435 - Be a bit more robust about link checking, ie make sure that
19436 the WEP key we were given actually has some data in it
19438 2004-10-08 Dan Williams <dcbw@redhat.com>
19440 * info-daemon/NetworkManagerInfo.c (main):
19441 - Initialize GError object to NULL
19443 2004-10-08 Dan Williams <dcbw@redhat.com>
19445 * panel-applet/NMWirelessAppletDbus.c
19446 - Die if NetworkManagerInfo dies, since it manages our lifetime
19448 2004-10-08 Dan Williams <dcbw@redhat.com>
19450 * info-daemon/NetworkManagerInfo.[ch]
19451 info-dameon/NetworkManagerInfoDbus.[ch]
19452 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19453 - Preserve original label text in the passphrase dialog so that
19454 it actually gets updated with the new network name the next
19455 time around. Previously, we were overwriting it so you'd get
19456 the wrong network name to enter a key for
19457 - Add a "Key Type" combo to the passphrase dialog, user selects
19458 encryption key type now, type is stored in GConf too
19459 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19461 * src/NetworkManagerAP.[ch]
19462 - Remove all the encyption method magic. It's now set by the user
19463 and NetworkManager retrieves the type of encryption key from
19466 * src/NetworkManagerAPList.[ch]
19467 src/NetworkManagerDbus.[ch]
19468 - Adjust to new way of setting encryption key and method
19469 - Pull encryption method down from NMI along with key
19471 * src/NetworkManagerDevice.[ch]
19472 - Removed encryption method fallback magic as the method is now
19473 determined by the user. This greatly simplifies the connection
19475 - More robust connection/link logic. Besides removing the encryption
19476 method fallback magic, check whether or not the card is receiving
19477 invalidly encrypted packets, which usually indicates that we have
19479 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19481 * test/nminfotest.c
19482 - Test out new "Key Type" stuff in the NMI passphrase dialog
19484 2004-10-07 Dan Williams <dcbw@redhat.com>
19486 * info-daemon/NetworkManagerInfo.conf
19487 - Allow root user to run NMI too
19489 2004-10-06 Dan Williams <dcbw@redhat.com>
19491 * src/NetworkManagerDevice.[ch]
19492 src/NetworkManagerDbus.c
19493 doc/NetworkManager DBUS API.txt
19494 - Add a new status tag "scanning", which is set when there
19495 is no active network connection, but NetworkManager is
19496 looking for an access point to associate with
19498 * panel-applet/main.c
19499 - Cast the applet appropriately for gtk_widget_show_all ()
19501 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
19503 * panel-applet/eggtrayicon.[ch]:
19504 * panel-applet/main.c: Add missing file
19506 2004-10-04 Dan Williams <dcbw@redhat.com>
19508 * src/NetworkManagerDevice.[ch]
19509 - Add a slightly more robust method of determining if the WEP key
19510 is correct or not, by checking the WEP-discarded packet count
19513 * info-daemon/NetworkManagerInfo.c
19514 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19515 un-escape values we pull out rather than escaping them
19517 2004-10-03 Marcel Telka <marcel@telka.sk>
19519 * configure.in (ALL_LINGUAS): Added sk.
19521 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
19523 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19524 and feel. We should be back to working, and have a good, clean
19527 2004-09-30 Dan Williams <dcbw@redhat.com>
19529 * info-daemon/NetworkManagerInfo.c
19530 info-daemon/NetworkManagerInfoDbus.c
19532 - Escape ESSIDs in gconf
19534 * src/NetworkManagerDevice.c
19535 - Fix pseudo-scanning to use netowrk list from info daemon
19537 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
19539 * configure.in: Add a temporary --enable-notification-icon. This
19540 will prolly go away.
19542 * info-daemon/Makefile.am:
19543 * info-daemon/NetworkManagerInfo.c:
19544 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19546 * panel-applet/Makefile.am:
19547 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19548 * panel-applet/NMWirelessApplet.h:
19550 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
19552 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
19553 before 'select custom ESSID'.
19555 * panel-applet/menu-info.c: Start rewrite for better headers. Not
19556 fully complete, but syncing in prep for merge.
19558 * panel-applet/icons/*png: New images
19560 2004-09-28 Dan Williams <dcbw@redhat.com>
19562 * src/NetworkManager.c
19563 src/NetworkManagerDevice.c
19564 src/NetworkManagerPolicy.c
19565 - Don't blow away an active wired connection on startup
19567 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
19571 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19573 * info-daemon/NetworkManagerInfoDbus.c: added service name to
19576 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
19578 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19579 have a wireless card.
19581 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
19583 * panel-applet/NMWirelessApplet.c: move the custom essid item.
19584 Also, get the right device strings.
19586 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
19588 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19589 the logic to make this right.
19591 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19592 devices so that wired networks are always first.
19594 2004-09-22 <clarkbw@cvs.gnome.org>
19596 * initscript/Debian/.cvsignore:
19597 * initscript/Slackware/.cvsignore:
19598 Added new cvsignores for Makefile, Makefile.in
19601 Added nmtestdevices
19603 * src/NetworkManagerDevice.c:
19604 * src/NetworkManager.c:
19605 Updated the wireless/wired HAL device strings from net.ethernet to
19606 net.80203 or net.80211 depending on wired or wireless respectively
19608 * examples/python/NetworkManager.py:
19609 s/Quality/Strength/
19611 * examples/python/systray/network_tray.py:
19612 Lots of little changes and fixes. been rotting for a while so I
19613 figured I'd finally sync them all with CVS
19615 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
19617 * configure.in: Add graphics
19619 * panel-applet/Makefile.am: Add graphics
19621 * panel-applet/icons/*: Add graphics
19623 * panel-applet/NMWirelessApplet.c: Use new menu times to display
19624 the icons fully lined up.
19626 * panel-applet/menu-info.c:
19627 * panel-applet/menu-info.h: Add another menu type.
19629 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
19631 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19633 * panel-applet/menu-item.[ch]: Wireless menu item.
19635 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
19637 * info-daemon/NetworkManagerInfo.conf
19638 - Created a more robust security policy for the DBus service
19639 - everything is denied by default
19640 - root can own and send to the service
19641 - users logged in at the console can send to the service
19643 2004-09-13 Dan Williams <dcbw@redhat.com>
19645 * src/NetworkManagerDevice.c
19646 - (nm_device_get_essid): use iw_get_basic_config() rather than
19647 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19650 2004-09-13 Dan Williams <dcbw@redhat.com>
19654 * docs/NetworkManager DBUS API.txt
19655 - Update for new signal strength changes
19657 * panel-applet/NMWirelessApplet.c
19658 - Make panel icon show strength of the current connection
19659 - Cleanups and memleak fixes
19661 * panel-applet/NMWirelessApplet.h
19662 - Add data members for signal strength on devices and networks
19664 * panel-applet/NMWirelessAppletDbus.c
19665 - Free more DBusErrors
19666 - Update for new signal strength changes
19667 - Make devices and networks more like real objects, use ref/unref methods
19668 - Actually unlock the mutex when updating the active device
19670 * src/NetworkManagerAP.c
19671 - Change AP functions and data members from "quality"->"strength"
19673 * src/NetworkManagerDbus.c
19674 - Kill "getMaxQuality" and "getQuality" methods
19675 - Add "getStrength" methods for Networks and Devices
19677 * src/NetworkManagerDevice.[ch]
19678 - Add accessors for device strength
19679 - Add functions to update strength for a device. Note that not all drivers
19680 actually support signal strength for scanned access points (Atmel drivers
19682 - Calculate signal strength for each AP during scan
19684 * src/NetworkManagerWireless.[ch]
19685 - Add function to return signal strength % from a device and a raw quality struct
19687 * test/nmclienttest.c
19688 - Update for new signal strength changes
19690 2004-09-11 Dan Williams <dcbw@redhat.com>
19692 * src/NetworkManager.c
19693 - Fix race condition between initscripts and NM on card insertion
19694 which could cause a card to keep an IP address and routes around
19695 even when it was not the active device
19697 * src/NetworkManagerDbus.c
19698 - Fix compile errors, free more DBusErrors
19700 2004-09-11 Dan Williams <dcbw@redhat.com>
19702 * docs/NetworkManager DBUS API.txt
19703 - Add an explanation of NM's API
19705 * src/NetworkManagerDbus.c
19706 - Free some more DBusErrors if needed
19708 2004-09-11 Dan Williams <dcbw@redhat.com>
19710 * panel-applet/NMWirelessApplet.c
19711 panel-applet/NMWirelessAppletDbus.c
19712 - Start using NetworkDevice/WirelessNetwork structures in more places
19713 - Update for unified device/network forcing in NetworkManager
19715 * src/NetworkManager.c
19716 - some code consolidation
19718 * src/NetworkManagerDbus.c
19719 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
19720 or two arguments: the first is the NM ID of the device to switch to,
19721 and the second (optional) argument is the ESSID of a wireless network
19723 - Get rid of "setNetwork" method due to above change
19725 * src/NetworkManagerDevice.c
19726 - (nm_device_new): perform scan and update best AP on device creation
19727 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
19728 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
19729 spin waiting for cancellation to finish before returning
19731 * src/NetworkManagerPolicy.c
19732 - Changes here clarify the situations in which a device switch occurs, and
19733 make sure to keep using a forced device and network if the user gives
19735 - Remove old unused code
19737 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
19739 * configure.in: Added Danish (da) to ALL_LINGUAS.
19741 2004-09-09 Dan Williams <dcbw@redhat.com>
19743 * panel-applet/NMWirelessAppletDbus.c
19744 - Pull fresh devices and networks from NM when wireless networks
19745 change. Provides faster feedback of a forced wireless network
19747 * src/NetworkManagerDbus.c
19748 - Return error when "getMaxQuality" is called on a wired device
19749 - Make best_ap freezing actually work again, and signal cancellation
19750 of activation if there's already a device activation when the user
19751 freezes the best_ap
19753 * src/NetworkManagerDevice.c
19754 - Don't clear out the best_ap for wireless devices when the link goes
19755 down, that's done elsewhere
19756 - Kill any dhcp daemons when cancelling device activation since they
19757 may be stuck waiting for a DHCP address, and since we're cancelling
19758 activation we don't care about that anymore
19760 * src/NetworkManagerPolicy.c
19761 - Make sure to unref the device we ref earlier (we refed it to make sure
19762 it stuck around during device activation and such)
19763 - If we were going to change the best device, but its activating currently
19764 (and therefore the change didn't occur due to the check earlier)
19765 we mark the state changed to we come back to it later when device
19766 activation has canceled and its no longer activating
19768 * src/backends/NetworkManagerRedHat.c
19769 - SIGKILL dhcp daemons rather than SIGTERM-ing them
19771 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
19773 * info-daemon/passphrase.glade:
19774 set passphrase input to activates_default : True
19776 * examples/python/systray/network_tray.py
19777 (network_tray.sort_networks):
19779 Added support for having wireless always scanning
19781 2004-09-09 Dan Williams <dcbw@redhat.com>
19783 NOTE: this commit changes the behavior of wireless devices in
19784 NetworkManager. They are now up all the time, scanning all
19785 the time. Only the active device has an IP address and routing
19786 information set up however. Also, NetworkManager will no longer
19787 opportunistically switch wireless networks when a better one
19788 comes in range, it will remain associated with one wireless network
19789 until that one drops out.
19791 * panel-applet/NMWirelessApplet.c
19792 panel-applet/NMWirelessAppletDbus.c
19793 - List all wireless cards and their respective networks
19795 * src/NMLoadModules
19796 - Use full path to /sbin/ip
19798 * src/NetworkManager.c
19799 - Keep wireless devices up all the time so they can scan
19801 * src/NetworkManagerDbus.c
19802 - On a WirelessNetworkUpdate signal from NMI, don't update
19805 * src/NetworkManagerDevice.c
19806 - (nm_device_set_link_active): clear out the best ap for
19807 wireless devices when the link is set to FALSE
19808 - Scan on all wireless cards, all the time
19809 - (nm_device_activation_worker): split out the wireless card
19810 link-waiting code to a separate function
19811 - Keep wireless cards up even if device activation fails
19812 - Don't update the "best" ap as much
19814 * src/NetworkManagerPolicy.c
19815 - Don't update the best ap when checking if its frozen,
19816 let link checking clear out a frozen best ap for us
19818 * src/NetworkManagerWireless.c
19819 - Scan on all wireless cards, all the time
19821 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
19823 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
19825 2004-09-09 Ankit Patel <ankit@redhat.com>
19827 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
19829 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
19831 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
19833 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
19835 * examples/python/NetworkManager.py:
19836 added CONNECTED, CONNECTING, and DISCONNECTED states
19837 added methods to return number of devices of a single type
19839 * examples/python/systray/network_tray.py:
19840 did some tweaks to get the menu looking near what it is supposed
19841 to look like. Also did a Airo card hack to make it show the
19844 2004-09-08 Dan Williams <dcbw@redhat.com>
19846 * panel-applet/no-networkmanager.png
19847 panel-applet/Makefile.am
19848 panel-applet/NMWirelessApplet.c
19849 - Add a "NetworkManager not running" icon and use it
19850 - Use new consolidated GConf keys rather than Preferred/Trusted
19854 * info-daemon/NetworkManagerInfo.c
19855 info-daemon/NetworkManagerInfoDbus.[ch]
19856 info-daemon/NetworkManagerInfoPassphraseDialog.c
19857 - There are now no longer two separate lists of wireless networks,
19858 but one list where each network is "trusted" or not trusted
19859 - Add a "getNetworkTrusted" dbus method
19860 - "WirelessNetworkUpdate" signal now sent rather than
19861 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
19862 - Start freeing some dbus errors (not completed yet)
19864 * info-daemon/passphrase.glade
19865 - Remove the "don't show" hints for pager and taskbar
19866 - Add a title since its going to be in the taskbar
19868 * src/NetworkManager.[ch]
19869 src/NetworkManagerAPList.[ch]
19870 - There are now no longer two separate lists of wireless networks,
19871 but one list where each network is "trusted" or not trusted
19873 * src/NetworkManagerAP.[ch]
19874 - Add get/set "trusted" accessors and data bit
19876 * src/NetworkManagerDbus.[ch]
19877 - Add function to get "trusted" status of a network from NetworkManagerInfo
19878 - Trap new WirelessNetworkUpdate signal rather than old separate signals
19880 * src/NetworkManagerDevice.[ch]
19881 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
19882 - (nm_device_new): Get device config from backend when initializing devices
19883 - (nm_device_activation_worker): Split out device configuration on
19884 activation to deal with static/dynamic IP differences, and try encryption
19885 fallbacks on a device if the encryption method for the best AP is not good
19886 - (nm_device_update_best_ap): convert to new consolidated access point lists from
19887 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
19889 * src/NetworkManagerWireless.c
19890 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
19892 * src/backends/NetworkManagerRedHat.c
19893 src/backends/NetworkManagerSystem.h
19894 - (nm_system_device_update_config_info): Add function to get device configuration
19895 from system data in ifcfg-* files
19897 * src/backends/NetworkManagerDebian.c
19898 src/backends/NetworkManagerGentoo.c
19899 src/backends/NetworkManagerSlackware.c
19900 - Add stub functions for getting device configuration
19902 2004-09-07 Dan Williams <dcbw@redhat.com>
19904 * src/backends/NetworkManagerRedhat.c
19905 src/backends/NetworkManagerSlackware.c
19906 - Use full path to /sbin/ip everywhere
19908 2004-09-07 Dan Williams <dcbw@redhat.com>
19910 Patch from: Narayan Newton <narayan_newton@yahoo.com>
19913 initscript/Makefile.am
19914 initscript/Slackware/Makfile.am
19915 initscript/Slackware/rc.networkmanager
19917 src/backends/NetworkManagerSlackware.c
19918 - Add Slackware support
19920 2004-09-07 Dan Williams <dcbw@redhat.com>
19922 Patches below from:
19924 Mark Roach <mrroach@okmaybe.com>
19925 Thom May <thom@debian.org>
19928 initscript/Debian/NetworkManager
19929 initscript/Debian/Makefile.am
19930 - Initscript for Debian
19932 * src/backends/NetworkManagerDebian.c
19933 - Add missing system init function to allow compilation
19936 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
19938 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
19940 2004-09-03 Akagic Amila <bono@linux.org.ba>
19942 * configure.in: Added 'bs' to ALL_LINGUAS.
19944 2004-09-02 Colin Walters <walters@verbum.org>
19946 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
19947 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
19948 g_strdup_printf instead of arbitrarily sized buffers.
19950 2004-09-01 Colin Walters <walters@verbum.org>
19952 * NetworkManager.pc.in: New file.
19954 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
19956 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
19958 * configure.in: Punjabi(pa) is added to po/.
19960 2004-08-31 Dan Williams <dcbw@redhat.com>
19962 * Remove 'debug' extern global from all files since we now
19965 * src/NetworkManager.[ch]
19966 - Break out routine that get the net.interface property from HAL,
19967 removing that logic from nm_create_device_and_add_to_list()
19968 - (nm_create_device_and_add_to_list): make this a bit more general so
19969 it doesn't do the talking to HAL. Also add arguments to facilitate
19970 the create of test devices.
19971 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
19972 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
19973 which makes NetworkManager listen for dbus commands to create test
19974 devices, which have no backing hardware. Use when you're on a plane
19975 for example, and/or forgot your wireless card at home. Test devices
19976 _cannot_ be created unless NM is started with --enable-test-devices.
19978 * src/NetworkManagerDbus.[ch]
19979 - New "getLinkActive" method for devices
19980 - New "setLinkActive" method for devices (only works on test devices)
19981 - New "createTestDevice" method on NetworkManager object to create a test
19982 device of a specified type (ie wired, wireless). UDI is created from
19983 scratch, as is the interface name. Only works when NM is started with
19984 --enable-test-devices switch.
19985 - New "removeTestDevice" method on NetworkManager object which removes a
19986 test device. Only works when NM is started with --enable-test-devices
19988 * src/NetworkManagerDevice.[ch]
19989 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
19990 whether a device is a test device or not, and what its link status is.
19991 - Deal with test devices in most functions. For those that work directly on hardware
19992 special-case test devices.
19993 - (nm_device_new): don't create a test device if test devices weren't enabled on the
19995 - (nm_device_update_link_active): split out logic for wired and wireless device link
19996 checking to separate functions to facilitate test device link checking.
19997 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
19998 don't make a distinction between System Authentication and Encryption
19999 (namely Cisco aironet), we use Open System auth when setting a WEP key
20000 on the card. We don't deal with Shared Key auth yet.
20001 - (nm_device_activation_worker): split the activation cancel check logic out into
20002 a separate routine nm_device_activation_cancel_if_needed()
20003 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20004 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20005 a list of fake access points that they can "see"
20006 - (nm_device_is_test_device): return whether or not a device is a test device
20008 * src/NetworkManagerPolicy.c
20009 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20010 previously if you "locked"/forced NM to use a wireless device but then
20011 selected a wireless network for NM to use, it would switch to a wired device.
20012 So, if the active device is wireless and it has a "forced" best AP, use it
20013 if the "forced" best AP is still valid
20014 - (nm_state_modification_monitor): deal with NULL best devices, for example
20015 there were no usable network devices, or the last one was removed
20017 * src/backends/NetworkManager*.c
20018 - Deal with test devices, mostly just return success for operations like getting
20021 * test/nmtestdevices.c
20022 - Test tool to create/remove/link-switch test devices
20024 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20026 * examples/python/NetworkManager.py:
20027 added convience functions has_wired_device and has_wireless_device
20029 * examples/python/systray/network_tray.py:
20030 cleaned up a bunch of cruft, added support for listing wireless
20031 networks just like the real applet. This is probably all I'm
20032 going to work on this applet from now on.
20033 TODO: add support for actually changing networks and devices
20035 * examples/python/NetworkManager.py (NetworkManager.get_device):
20036 changed "nm.networks" into a dict from a list so I can store all
20037 the cool information about networks in there
20039 * examples/python/systray/network_tray.py:
20040 Added nice message when you try to run without running make first
20042 * examples/python/NetworkManager.py:
20043 Bug fixes to the code so we get all the device information
20044 that we need in get_device()
20046 * examples/python/NMTester.py:
20047 Fixed _print_device_list to print_device_list
20049 2004-08-29 Seth Nickell <seth@gnome.org>
20053 Actually properly setup the Debian backend in configure.
20055 2004-08-29 Colin Walters <walters@verbum.org>
20057 * test/nminfotest.c: Include string.h and stdlib.h.
20058 (get_network_string_property, get_networks_of_type): Return NULL.
20060 * test/nmclienttest.c (get_device_name, get_active_device): Return
20063 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20064 use strlen, fgets always NULL-terminates the string.
20066 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20067 dbus_message_get_member): Remove /* in comment.
20069 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20071 * src/NetworkManager.c (quit): Unused, delete.
20072 (nm_data_free): Cast arg to GFunc.
20074 * panel-applet/NMWirelessAppletDbus.c: Need to include
20075 string.h, and dbus-glib-lowlevel.h (the latter is needed
20076 for dbus_connection_setup_with_g_main at present).
20077 (nmwa_dbus_update_wireless_network_list): Parenthesize
20078 assignment in conditional.
20079 (nmwa_dbus_worker): Return NULL.
20081 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20082 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20083 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20084 (nmwa_populate_menu): Return NULL on failure, instead of just
20087 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20089 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20092 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20095 2004-08-29 Colin Walters <walters@verbum.org>
20097 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20098 a GTimeVal instead of time_t. This is easier to work with,
20099 since time_t may be a long or double, we don't know.
20101 * src/NetworkManagerDbus.h: Update prototype.
20103 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20105 (nm_ap_get_timestamp): Update to return GTimeVal.
20106 (nm_ap_set_timestamp): Update to take GTimeVal.
20108 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20109 to handle GTimeVal.
20111 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20113 (nm_ap_list_print_members): Fix warnings in printf format.
20115 2004-08-29 Colin Walters <walters@verbum.org>
20117 * panel-applet/NMWirelessApplet.c: Include config.h.
20119 2004-08-29 Colin Walters <walters@verbum.org>
20121 * configure.in: Generate config.h.
20123 * configure.in: Dump dependency on OpenSSL; we can't
20124 use it since this package is GPL:
20125 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20126 Instead, check for libgcrypt, use it if available,
20127 otherwise use included MD5 code.
20129 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20130 Suck in from gnome-keyring, munge a bit.
20132 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20133 gnome-keyring-md5.h gnome-keyring-md5.c.
20134 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20136 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20137 libgcrypt or included gnome-keyring md5 bits.
20138 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20140 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20142 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20144 2004-08-27 Bryan Clark <bclark@redhat.com>
20146 * examples/python/systray/Makefile:
20148 Updated the clean section
20150 * examples/python/systray/trayiconmodule.c:
20151 * examples/python/systray/trayicon.override:
20152 * examples/python/systray/network_tray.py:
20153 * examples/python/systray/eggtrayicon.h:
20154 * examples/python/systray/eggtrayicon.c:
20155 * examples/python/systray/Makefile:
20156 * examples/python/README:
20157 * examples/python/NetworkManager.py:
20158 * examples/python/NMTester.py:
20160 Initial commit of these python example files
20162 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20164 * panel-applet/NMWirelessApplet.c
20165 - Make current device bold
20166 - Show more user-friendly device name if we got one from hal
20168 * panel-applet/NMWirelessAppletDbus.c
20169 - Grab "info.product" key from hal for network devices
20170 - Cache the current active device
20172 2004-08-27 Adam Weinberger <adamw@gnome.org>
20174 * configure.in: Added en_CA to ALL_LINGUAS.
20176 2004-08-27 Christian Rose <menthos@menthos.com>
20178 * configure.in: Added "sv" to ALL_LINGUAS.
20180 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20182 * Tag NetworkManager-0.2
20184 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
20186 * initscripts/Makefile.am
20187 * configure.in: Make pass distcheck
20189 * po/ChangeLog: added
20191 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20193 * panel-applet/NMWirelessApplet.c
20194 - Remove debugging code
20195 - Enable device switching from menus
20197 * panel-applet/NMWirelessAppletDbus.[ch]
20198 - Method for asking NM to switch devices
20200 * src/NetworkManagerDevice.c
20201 - Set dev->activating earlier, avoids race between
20202 the dbus signal of "DeviceActivating" and setting
20203 dev->activating (which is what NM's "status" method call
20206 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20208 * panel-applet/NMWirelessApplet.[ch]
20209 - Rework menu code to add devices to menu, and to show
20210 signal strength for each access point. Code cleanups
20213 * panel-applet/NMWirelessAppletDbus.c
20214 - Grab network devices from NetworkManager too
20215 - Grab quality information from NM for wireless networks
20217 * src/NetworkManagerDbus.[ch]
20218 - Add dbus methods for getting the HAL UDI from a device and
20219 for getting its base quality, if its wireless
20220 - Consolidate some functions (wireless network notifications,
20221 device notifications)
20222 - Add method for requesting NM to use a particular device
20224 * src/NetworkManager.c
20225 - Change for function consolidations from NetworkManagerDbus.c
20226 - Implement active device locking and user-requested devices
20227 (ie, tell NM to use a particular device instead of the one
20230 * src/NetworkManagerDevice.c
20231 - Add method for getting the base quality of a device, if its
20233 - Grab device base quailty info from iwlib during scans
20235 * src/NetworkManagerPolicy.c
20236 - Use a user-requested device rather than the auto-chosen device
20239 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
20241 * Makefile.am: add po as a supdir
20243 * autogen.sh: use gnome-autogen.sh
20245 * initscript/Gentoo/.cvsignore:
20246 * initscript/RedHat/.cvsignore: Shut up cvs
20248 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20250 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20251 (nmwa_fill): Use gettext.
20253 * configure.in: add gettext support
20255 * po/NetworkManager.pot:
20258 2004-08-26 Seth Nickell <seth@gnome.org>
20260 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20261 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20262 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20263 (nmwa_dispose_menu_items), (nmwa_populate_menu),
20264 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20265 * panel-applet/NMWirelessApplet.h:
20267 Use a menu bar instead of a button for the main clickable
20270 2004-08-25 Dan Williams <dcbw@redhat.com>
20272 * src/NetworkManagerDevice.c
20273 - (nm_device_set_enc_key): always set device to "open" mode instead of
20274 turning encryption off, because the Cisco driver doesn't associate
20275 with WEP-enabled access points unless we are in "open"
20277 2004-08-25 Dan Williams <dcbw@redhat.com>
20279 * src/NetworkManagerWireless.c
20280 - Don't try to defererence blank passphrases
20282 2004-08-25 Dan Williams <dcbw@redhat.com>
20284 * panel-applet/NMWirelessApplet.c
20285 - Rebuild the menu whenever a user clicks
20287 2004-08-25 Dan Williams <dcbw@redhat.com>
20289 * panel-applet/NMWirelessApplet.c
20290 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20291 when NM isn't around or when its not connected
20293 * src/NetworkManagerDevice.c
20294 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20297 2004-08-25 Dan Williams <dcbw@redhat.com>
20299 * panel-applet/NMWirelessAppletDbus.c
20300 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20301 for getting encryption, and don't stop on "val" once we've gotten it
20302 from NetworkManager. Short form: encryption should now show up.
20304 2004-08-25 Dan Williams <dcbw@redhat.com>
20306 * panel-applet/NMWirelessApplet.c
20307 - Set ESSID on a gconf trusted network too when force-setting the wireless
20308 network to associate with
20310 2004-08-25 Dan Williams <dcbw@redhat.com>
20313 - Rework the panel applet to do all DBUS communication in a separate
20316 2004-08-25 Dan Williams <dcbw@redhat.com>
20318 * info-daemon/NetworkManagerInfo.[ch]
20319 - Remove "get_next_priority" function
20321 * info-daemon/NetworkManagerInfoDbus.[ch]
20322 - Convert "priority" functions to "timestamp"
20324 2004-08-25 Dan Williams <dcbw@redhat.com>
20326 * src/NetworkManagerAP.[ch]
20327 - Add a "enc_method_good" member and accessors to an Access Point
20328 to signal when we've found the correct encryption method
20329 for an access point
20330 - Add a "timestamp" member and accessors, remove "priority" member
20331 and accessors (use timestamps instead)
20332 - Rename "wep_key"->"enc_key"
20333 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20334 for a specified encryption method using the access points
20335 source encryption key/passphrase
20337 * src/NetworkManagerAPList.c
20338 - When updating a network with dbus, grab timestamp now instead of
20341 * src/NetworkManagerDBus.[ch]
20342 - Add signal for "DeviceActivating"
20343 - Switch priority->timestamp
20345 * src/NetworkManagerDevice.c
20346 - Change references of "wep_key" -> "enc_key" or "key"
20347 - Signal DeviceActivating when starting activation
20348 - When activating a wireless device, if the access point we are connecting
20349 to is encrypted, and we have a source key, try to generate a mangled
20350 key and use that (ie, generate real WEP key from a passphrase)
20351 - Rework device activation to fallback to other encryption methods if
20352 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20353 first, then if that doesn't work fall back to direct hex key).
20354 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20355 priority. We now prefer the latest access point used, rather than using
20357 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20358 points we've just discovered, and merge in correct info from the global
20361 2004-08-25 Seth Nickell <seth@gnome.org>
20363 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20367 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20368 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20369 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20370 (nm_system_delete_default_route),
20371 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20372 (nm_system_load_device_modules):
20374 2004-08-24 Dan Willemsen <dan@willemsen.us>
20376 * src/NetworkManager.c
20377 src/backends/NetworkManagerGentoo.c
20378 src/backends/NetworkManagerRedHat.c
20379 src/backends/NetworkManagerSystem.h
20380 - Implement preliminary Gentoo support, adding a
20381 nm_system_init function to the backend specification
20384 - Distribution auto-detection, lowercase any user-fed
20387 * initscript/.cvsignore
20388 initscript/Makefile.am
20389 initscript/RedHat/Makefile.am
20390 initscript/RedHat/NetworkManager
20391 initscript/Gentoo/Makefile.am
20392 initscript/Gentoo/NetworkManager
20393 - Refactored initscript code separately for each
20396 2004-08-23 Dan Williams <dcbw@redhat.com>
20400 src/NetworkManagerDevice.c
20401 src/NetworkManager.c
20402 src/NetworkManagerUtils.[ch]
20403 src/backends/NetworkManagerSystem.h
20404 src/backends/NetworkManagerRedHat.c
20405 src/backends/NetworkManagerGentoo.c
20406 - Refactor system-specific code into separate backends for
20409 2004-08-23 Dan Willemsen <dan@willemsen.us>
20411 * dispatcher-daemon/NetworkManagerDispatcher.c
20412 info-daemon/NetworkManagerInfo.[ch]
20413 info-daemon/NetworkManagerInfoDbus.c
20414 info-daemon/NetworkManagerInfoPassphraseDialog.c
20415 src/NetworkManager.c
20416 src/NetworkManagerAP.c
20417 src/NetworkManagerAPList.c
20418 src/NetworkManagerDbus.c
20419 src/NetworkManagerDevice.c
20420 src/NetworkManagerPolicy.c
20421 src/NetworkManagerUtils.[ch]
20422 src/NetworkManagerWireless.c
20423 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20425 * src/NetworkManager.c
20426 - Fixed usage wording for --no-daemon
20428 2004-08-23 Dan Williams <dcbw@redhat.com>
20430 * panel-applet/NMWirelessApplet.c
20431 - Update our state every second to get more responsive panel icon
20432 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20433 was causing our marching ants status blips to never move when
20434 looking for a wireless network
20436 * src/NetworkManagerDevice.c
20437 - (nm_device_activation_begin): return if activation has already begun
20438 - (nm_device_do_normal_scan): merge WEP key and priority from the
20439 trusted/preferred network into the device's access point when the
20440 scan list is processed
20442 2004-08-23 Dan Williams <dcbw@redhat.com>
20444 * initscript/NetworkManager
20445 - Use NMLaunchHelper rather than sleeping
20447 * initscript/NMLaunchHelper.c
20449 - Add helper program that exits only when NM activates a device,
20450 or 10 seconds have passed, whichever happens first. This
20451 stops the boot processes until we have a network connection,
20452 which NM can't do because it daemonizes and brings the connection
20453 up in the background. Allows stuff like NFS to not die.
20455 2004-08-20 Dan Williams <dcbw@redhat.com>
20457 * info-daemon/NetworkManagerInfoPassphraseDialog.c
20458 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20459 for a network, set the essid as well since it may not exist yet
20460 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20461 since WEP keys/passphrases are long and prone to entry-error
20463 * panel-applet/Makefile.am
20464 panel-applet/wired.png
20465 - Add (pulled from system-config-network temporarily)
20467 * panel-applet/NMWirelessApplet.[ch]
20468 - Show wired picture when a wired connection is used
20469 - Rename wireless icon enums, adding WIRELESS
20471 * src/NetworkManagerDevice.c
20472 - (nm_device_activate_wireless): unset encryption before bringing
20473 down the card and setting the essid
20474 - (nm_device_activatin_worker): request a key from the user if the
20475 AP we are connecting to is encrypted but we don't have a key
20477 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20478 strcmp() that prevented a user-entered key from actually getting
20481 2004-08-16 Dan Williams <dcbw@redhat.com>
20483 * initscript/NetworkManager
20484 - Check for /sbin/ip
20485 - Do sysctl magic that network service does
20486 - sleep 4s after start to allow network time to come up [hack]
20490 - Load all network device kernel modules (hal doesn't know devices
20491 are ethernet until the module is loaded, and therefore we don't know)
20493 * src/NetworkManager.c
20494 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20495 network devices, and bring up the loopback device explicitly
20497 * src/NetworkManagerUtils.[ch]
20498 - (nm_enable_loopback): new function
20500 2004-08-13 Dan Williams <dcbw@redhat.com>
20503 panel-applet/Makefile.am
20504 - Fix up cleanfiles and server_DATA/server_in_files
20507 - Update with some comments on theory of operation
20513 2004-08-12 Dan Williams <dcbw@redhat.com>
20515 * info-daemon/passphrase.glade
20516 - Set window title to " "
20518 * panel-applet/Makefile.am
20519 panel-applet/keyring.png
20520 - Deliver to correct place
20522 * panel-applet/NMWirelessApplet.[ch]
20524 - Remove applet->have_active_device as its no longer used
20525 - (nmwa_load_theme): load keyring.png too
20526 - (error_dialog): remove
20527 - (show_warning_dialog): subsume functionality of error dialog too
20528 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20529 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20531 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20532 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20533 and when we get broadcasts of changed wireless access points only, not when the
20534 user clicks on the button to display the menu (too long of a wait)
20535 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20536 networks that are encrypted
20537 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20538 menu item with g_object_set_data()
20540 * panel-applet/NMWirelessAppletDbus.[ch]
20541 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20542 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20543 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20544 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20545 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20546 activation/deactivation signals and rebuild the menu when they happen
20548 * src/NetworkManager.c
20549 - (main): use new nm_spawn_process() rather than system()
20551 * src/NetworkManagerDbus.c
20552 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20553 instead. Since we can now force best_aps to stick around, the AP structure to which
20554 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20555 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
20556 to freeze the best_ap.
20558 * src/NetworkManagerDevice.[ch]
20559 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20560 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20561 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20564 * src/NetworkManagerUtils.[ch]
20565 - (nm_spawn_process): add replacement for system() usage
20567 2004-08-11 Dan Williams <dcbw@redhat.com>
20569 * panel-applet/NMWirelessApplet.[ch]
20570 - Fix up copyright and credits to include Bastien and Eskil,
20571 who created the gnome-applets wireless applet, from whose
20572 skeleton this one was created
20573 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20574 pixmap to draw is computed during nmwa_update_state()
20575 - Applet now shows itself all the time due to panel packing issues
20576 which caused the applet to previously never come back after hiding.
20577 When a wired device is the active device, the applet shows "not connected"
20579 * panel-applet/NMWirelessAppletDbus.[ch]
20580 - Clean up error messages and show what function they are from
20581 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20582 - Add new device type getters, and a status getter
20584 * src/NetworkManagerDbus.c
20585 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20586 network is actually in the device's ap list
20587 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20589 * src/NetworkManagerDevice.c
20590 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20593 * test/nmclienttest.c
20594 - Report status of NetworkManager too
20596 2004-08-11 Dan Williams <dcbw@redhat.com>
20598 * info-daemon/NetworkManagerInfo.c:
20599 - (main): clean up Seth's code style
20601 * info-daemon/NetworkManagerInfoDbus.c:
20602 - Use the more aptly-named path/service/interface constants from NetworkManager
20603 - Don't return empty strings ("") as object paths ever, instead return errors
20605 * panel-applet/NMWirelessApplet.c:
20606 - Clean up Seth's code style
20608 * src/NetworkManager.[ch]
20609 - (nm_remove_device_from_list): remove anything having to do with pending_device
20610 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20612 * src/NetworkManagerAPList.[ch]
20613 - Move Iter struct right above the iter functions to preserve opacity
20614 - (nm_ap_list_remove_ap): implement
20615 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20616 remove AP if NetworkManagerInfo doesn't know anything about it
20617 - (nm_ap_list_diff): user NMAPList iterators
20618 - (nm_ap_list_print_members): implement debugging function
20620 * src/NetworkManagerDbus.[ch]
20621 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20622 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20623 and move the actual key setting stuff into NetworkManagerDevice.c
20624 - (nm_dbus_get_network_priority): return -1 now on errors
20625 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20626 get lost, and force the active device to update its "best" ap when AP lists change
20627 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20628 method call due to pending_device member removal
20630 * src/NetworkManagerDevice.[ch]
20631 - Move NMDevice structure to the top
20632 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20633 - Remove Pending Action stuff from everywhere
20634 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20635 activation for us. This thread blocks until all conditions for activation have
20636 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20637 then setup up the interface and runs dhclient. We have to do this because there
20638 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20639 run our main loop and respond to dbus method calls or HAL device removals/inserts
20640 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20641 can tell nm_device_activation_worker() that we've got a key
20642 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20643 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20644 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20645 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20647 * src/NetworkManagerPolicy.c
20648 - Remove anything to do with pending_device
20649 - Adjust device activation to deal with activation-in-worker-thread
20651 * src/NetworkManagerUtils.c
20652 - Clean up locking debugging a bit
20654 * src/NetworkManagerWireless.[ch]
20655 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
20656 was badly named and is better as a device function
20658 * panel-applet/.cvsignore: add
20660 2004-08-09 Seth Nickell <seth@gnome.org>
20662 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20663 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20665 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20667 Don't load the menus until clicked on (also removes a call outside
20668 normal code paths at first load).
20670 Hide applet when NM is not present.
20672 Improve printf debugging stuff.
20674 2004-08-09 Dan Williams <dcbw@redhat.com>
20676 * dispatcher-daemon/NetworkManagerDispatcher.c:
20677 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20678 - Use constants for NetworkManager interface, service, and path
20680 2004-08-09 Dan Williams <dcbw@redhat.com>
20682 * src/NetworkManagerDbus.c:
20683 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20684 instead return an error message
20685 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20686 on a wired device. Also never return an empty object path, instead return an error message
20688 2004-08-06 Seth Nickell <seth@gnome.org>
20690 * panel-applet/NMWirelessApplet.c: (nmwa_new):
20692 Check the error code when getting a connection.
20694 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
20696 Check if the NM service exists when initializing (rather than
20697 assuming it does not).
20699 * src/NetworkManagerDbus.c: (nm_dbus_init):
20701 Don't acquire the well-known service name until we have
20702 registered object/path handlers and can actually receive
20705 2004-08-06 Dan Williams <dcbw@redhat.com>
20710 * src/NetworkManagerPolicy.c
20711 src/NetworkManager.c
20712 - Get access point lists from NetworkManagerInfo on-demand,
20713 and look for ServiceCreate/ServiceDeleted signals to see when
20714 we should query NMI for lists
20715 * src/NetworkManagerAPList.c
20716 - Make sure to init the list's mutex
20717 - Convert traversals of the list over to the list iter functions
20719 * src/NetworkManagerDbus.[ch]
20720 - Use more aptly-named path/service/interface constants
20721 - Treat both active and pending devices the same for "getActiveDevice"
20722 - Add a "status" method returning "connected", "connecting", or "disconnected"
20724 * src/NetworkManagerDevice.c
20725 - Honor "ignored" network list when picking best ap to use
20727 2004-08-06 Seth Nickell <seth@gnome.org>
20731 Autogenerated, remove from CVS.
20735 Don't hardcode automake version.
20738 * info-daemon/Makefile.am:
20739 * info-daemon/NetworkManagerInfo.c: (main):
20741 Use GnomeProgram et al. for doing session management.
20742 Use popt stuff for argument parsing rather than doing
20745 2004-08-05 Dan Williams <dcbw@redhat.com>
20747 * test/nminfotest.c
20748 - Update to new NMI dbus API, check different network types
20750 * info-daemon/NetworkManagerInfoDbus.c
20751 - Update to new NM dbus API, ie network type sent in query message
20753 2004-08-05 Dan Williams <dcbw@redhat.com>
20755 * An assload of changes
20757 2004-08-02 Dan Williams <dcbw@redhat.com>
20760 - new task: proper logging support
20762 * info-daemon/NetworkManagerInfo.c
20763 - Correct spelling of "canceled"
20764 - Correct casting of objects for g_signal_connect()
20766 * info-daemon/NetworkManagerInfoDbus.c
20767 - Add defines for NetworkManager namespace and object path, and use them
20768 - Add filter function to trap new signals from NetworkManager:
20769 WirelessNetworkAppeared, WirelessNetworkDisappeared
20771 * info-daemon/passphrase.glade
20772 - Change name of "ok" button to "Login to Network..."
20775 * src/NetworkManager.c
20776 - Code and debug message cleanups
20777 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
20778 - (nm_add_initial_devices) Check returned string array of devices
20779 and don't try to add devices if array is NULL
20780 - (main) Initialize libhal a bit later, make code a bit clearer
20782 * src/NetworkManagerAP.[ch]
20783 - New accessor and data member "matched": used to speed up AP list
20785 - New accessor and data member "enc_method": will be used during key
20786 fallback to cache which passphrase->key conversion actually works
20787 so we don't have to do it every time
20789 * src/NetworkManagerAPList.[ch]
20790 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
20791 - (nm_ap_list_diff) New: given two lists of access points, find the differences
20792 between them, and send WirelessNetworkAppeared/Disappeared signals over
20793 dbus in response to those differences
20795 * src/NetworkManagerDbus.[ch]
20796 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
20797 make an object path for that access point (NOTE that we don't yet check to
20798 make sure that access point is actually in the device's AP list yet)
20799 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
20800 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
20801 New: signal appearance/disappearance of wireless networks
20802 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
20805 * src/NetworkManagerDevice.[ch]
20806 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
20807 - (nm_device_ap_list_get) New: return the AP list (static function)
20808 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
20809 new one resulting from the scan with the old one
20811 * src/NetworkManagerWireless.c
20812 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
20814 * test/nminfotest.c
20815 - #define object paths and namespaces and use the #defines rather than static strings
20816 - Test out user-key functionality of NetworkManagerInfo too
20818 2004-07-29 Dan Williams <dcbw@redhat.com>
20820 * info-daemon/NetworkManagerInfoDbus.c
20821 src/NetworkManagerDbus.c
20822 - Update to current DBus (ie don't use decomposed paths when registering
20823 object paths/fallbacks)
20825 2004-07-27 Dan Williams <dcbw@redhat.com>
20827 * Remove various Makefile.in files
20830 - Add some more items
20833 - Add checks for OpenSSL/md5 headers and libs
20836 - Use OpenSSL CFLAGS
20838 * src/NetworkManagerAP.[ch]
20839 - Remove 'stamp' functions, replace with 'invalid' functions
20840 to support user cancelling WEP key entry
20842 * src/NetworkManagerDbus.c
20843 - Remove 'stamp' return functions
20844 - Treat returned user key as a passphrase and convert to a WEP key,
20845 but don't actually use the WEP key yet. We use the returned user
20846 key as a hexadecimal WEP key until we can figure out a UI for
20847 passphrase-vs-hex key
20849 * src/NetworkManagerWireless.[ch]
20850 - Add passphrase-to-128bit-key function
20852 2004-07-27 Dan Williams <dcbw@redhat.com>
20855 - Add a couple of items
20857 2004-07-27 Dan Williams <dcbw@redhat.com>
20859 * info-daemon/NetworkManagerInfo.c
20860 - Update allowed network's GConf key when user enters a WEP key explicitly
20862 * info-daemon/NetworkManagerDbus.c
20863 - Fix some comments
20864 - nmi_dbus_get_allowed_networks(): kill warning
20866 2004-07-27 Dan Williams <dcbw@redhat.com>
20868 * initscript/Makefile.in
20871 * initscript/Makefile.am
20872 - Add correct rules to install the init.d initscript
20874 * info-daemon/NetworkManagerInfoDbus.c
20875 - Remove debug fprintf
20877 * src/NetworkManagerDbus.[ch]
20878 - Remove debug fprintfs
20879 - Add macros for NetworkManagerInfo object path/namespace
20880 - Use said macros instead of constant strings
20882 2004-07-27 Dan Williams <dcbw@redhat.com>
20884 * initscript/.cvsignore
20887 * info-daemon/Makefile.am
20888 - Install .glade files and keyring.png
20889 - Fix stupid omission of a \ that caused half the flags not to be
20892 * info-daemon/NetworkManagerInfo.c
20893 - gtk_signal_connect->g_signal_connect
20894 - Alert NetworkManagerInfo to new glade file location
20896 2004-07-27 Dan Williams <dcbw@redhat.com>
20898 * test/nmclienttest.c
20900 - Add missing <dbus/dbus.h> headers
20901 - Add GPL message at top
20903 2004-07-27 Dan Williams <dcbw@redhat.com>
20905 * src/NetworkManagerAPList.[ch]
20907 - Add. Deal with allowed network list additions, deletions, and updates
20909 * dispatcher-daemon/NetworkManagerDispatcher.c
20910 - Add missing <dbus/dbus.h> header
20912 * info-daemon/NetworkManagerInfo.[ch]
20913 - Add missing <dbus/dbus.h> header
20914 - Implement the GConf notify callback to signal NetworkManager of an allowed
20916 - Better error checking
20918 * info-daemon/NetworkManagerInfoDbus.[ch]
20919 - Add missing <dbus/dbus.h> header
20920 - Convert to using dbus_message_append_args/dbus_message_get_args
20921 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
20922 that an allowed network changed. We don't want to signal on individual
20923 keys _inside_ an allowed network really, just want NM to query the info
20924 daemon for updated info on all keys.
20925 - Better error checking
20927 * src/NetworkManager.[ch]
20928 - Add missing <dbus/dbus.h> header
20929 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
20930 - Zero out NMData structure on free
20931 - No longer use a thread for allowed_ap_list updating, instead its now done
20932 through dbus queries against NetworkManagerInfo
20933 - Populate allowed_ap_list initially before adding existing network devices
20934 to the device list, so wireless devices can get their "best" AP
20936 * src/NetworkManagerDbus.[ch]
20937 - Convert to using dbus_message_append_args/dbus_message_get_args
20938 - Better error checking
20939 - Implement Allowed Network info functions to request allowed network
20940 info from NetworkManagerInfo
20941 - Implement the filter function to process signals from NetworkManagerInfo
20942 about changing allowed networks
20944 * src/NetworkManagerDevice.c
20945 - Fix file descriptor leak in nm_device_update_ip4_address()
20947 2004-07-27 Dan Williams <dcbw@redhat.com>
20952 dispatcher-daemon/.cvsignore
20953 info-daemon/.cvsignore
20954 - Add .cvsignore files to reduce noise when diffing
20956 2004-07-24 Dan Williams <dcbw@redhat.com>
20958 * src/NetworkManager.[ch]
20959 src/NetworkManagerDbus.[ch]
20960 src/NetworkManagerDevice.[ch]
20961 src/NetworkManagerPolicy.c
20962 src/NetworkManagerWireless.[ch]
20963 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
20964 - Pass the NMData application data structure through all calls
20965 that need it so we can get rid of nm_get_global_data()
20966 - Change deallocation of the allowed_ap_list GSList in preparation
20967 for not completely clearing it every time we get an update,
20968 but instead getting incremental updates via GConf/dbus
20970 2004-07-22 Dan Williams <dcbw@redhat.com>
20973 - Add checks for GConf libs & headers & flags
20975 * info-daemon/Makefile.am
20976 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
20978 * info-daemon/NetworkManagerInfo.[ch]
20979 - Don't use gquarks for data storage, just use normal data storage
20980 - Add gconf bits to watch /system/networking/wireless/allowed_networks
20982 * info-daemon/NetworkManagerDbus.[ch]
20983 - Add method call for getting allowed networks
20984 - Add method calls for getting an allowed network's essid, priority, and key
20985 - Hook the method calls up to GConf
20986 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
20987 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
20989 * src/NetworkManagerDbus.[ch]
20990 - Switch for enumeration of networks to using essid instead
20994 - Add test program for NetworkManagerInfo
20996 2004-07-19 Dan Williams <dcbw@redhat.com>
20998 * src/NetworkManagerDbus.c
20999 - Switch from indexed device paths to names. Less code, more efficient.
21000 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21002 2004-07-19 Dan Williams <dcbw@redhat.com>
21004 * dispatcher-daemon/NetworkManagerDispatcher.c
21005 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21007 2004-07-19 Dan Williams <dcbw@redhat.com>
21010 - Add info-daemon directory
21013 - Check for glade libs and headers
21014 - Add info-daemon directory
21016 * src/NetworkManagerAP.c
21017 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21018 copied over to the new AP.
21020 * src/NetworkManagerDbus.c
21021 src/NetworkManagerDbus.h
21022 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21023 - Remove nm_dbus_signal_need_key_for_network()
21024 - Add disabled code for asynchronous user wep key callbacks
21025 - Add functions for getting, setting, and cancelling user key operations
21026 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21027 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21029 * src/NetworkManagerDevice.c
21030 src/NetworkManagerDevice.h
21031 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21032 logic is in device activation now
21033 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21034 key is wrong) trigger get-user-key pending action
21035 - Implement get-user-key pending action stuff, tie to dbus messages
21036 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21037 - Add nm_device_ap_list_get_ap_by_essid()
21038 - Instead of copying "best" access points, ref them instead so that the key we set
21041 * src/NetworkManagerPolicy.c
21042 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21043 - Don't cancel pending actions on a device if its the same device as last iteration
21044 - Only promote pending_device->active_device if activation was successfull
21047 - Rename nmclienttest->nmtest
21049 * info-daemon/Makefile.am
21050 info-daemon/NetworkManagerInfo.c
21051 info-daemon/NetworkManagerInfo.h
21052 info-daemon/NetworkManagerInfoDbus.c
21053 info-daemon/NetworkManagerInfoDbus.h
21054 info-daemon/passphrase.glade
21055 info-daemon/NetworkManagerInfo.conf
21056 info-daemon/keyring.png
21057 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21058 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21059 lists to NetworkManager by proxying user's GConf
21062 2004-07-15 Dan Williams <dcbw@redhat.com>
21067 * src/NetworkManager.c
21068 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21069 that doing the deactivation ourselves
21070 - Cancel an pending actions on a device if its being removed
21071 - Break up link state checking a bit, make non-active wireless cards
21072 deactivated to save power
21073 - Remove unused variables
21075 * src/NetworkManager.h
21076 - Add support for "pending" device
21078 * src/NetworkManagerAP.h
21079 src/NetworkManagerAP.c
21080 - Add support for determining whether and AP has encryption enabled or not
21081 - AP address is now "struct ether_addr" rather than a string
21083 * src/NetworkManagerDbus.h
21084 src/NetworkManagerDbus.c
21085 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21086 - Changes for AP address from struct ether_addr->string
21088 * src/NetworkManagerDevice.h
21089 src/NetworkManagerDevice.c
21090 - Remove unused variables, fix warnings
21091 - Add support for Pending Actions (things that block a device from being "active"
21092 until they are completed).
21093 - First pending action: Get a WEP key from the user
21094 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21095 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21096 - Update wireless link checking to try to determine if the AP we are associated
21097 with is correct, but the WEP key we are using is just wrong. If its wrong,
21098 trigger the GetUserKey pending action on the device
21099 - If dhclient can't get an IP address, it brings the device down. Bring it back
21100 up in that case, otherwise we can't scan or link-check on it
21101 - Add IP address change notifications at appropriate points (still needs some work)
21102 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21104 * src/NetworkManagerPolicy.h
21105 src/NetworkManagerPolicy.c
21106 - Split out "best" access point determiniation into separate function
21107 - Make device activation 2-stage: first the device is pending, then
21108 in the next iteration through it becomes "active" unless it has
21111 * src/NetworkManagerUtils.h
21112 src/NetworkManagerUtils.c
21113 - Clean up unused variables and warnings
21114 - Wrap our debug macros in {} to prevent possible confusion
21116 * src/NetworkManagerWireless.c
21117 - Forgot to return current best priority, which lead to last available AP always
21118 being chosen no matter what its priority was. Corrected.
21120 2004-07-15 Dan Williams <dcbw@redhat.com>
21122 * dispatcher-daemon/Makefile.am
21125 * dispatcher-daemon/NetworkManagerDispatcher.c
21126 - Remove unused variables due to warnings
21127 - Fix some comments
21128 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21130 2004-07-06 Dan Williams <dcbw@redhat.com>
21132 * src/NetworkManager.c
21133 - Add IPv4 address update for active device during link state check
21134 - Don't allow wireless cards to be powered up when they are not the
21137 * src/NetworkManagerDbus.c
21138 src/NetworkManagerDbus.h
21139 - Add DBUS IPv4 address change signal
21140 - Add DBUS IPv4 address get method for devices
21142 * src/NetworkManagerDevice.c
21143 - Make setting the WEP key actually work
21144 - Move IP address get/set/update stuff here, per-device
21145 - Power down/bring down wireless device when deactivated
21146 - For scanning wireless devices, if first scan returned ENODATA, try again
21148 * src/NetworkManagerPolicy.c
21149 - Only set the WEP key for an allowed access point if there is one.
21150 We were setting it to be blank if one wasn't specified.
21152 * src/NetworkManagerUtils.h
21153 src/NetworkManagerUtils.c
21154 - Move the IP address stuff to NetworkManagerDevice.c
21156 * dispatcher-daemon/NetworkManagerDispatcher.c
21157 - Add device IPv4 address change notification stuff
21159 2004-07-05 Dan Williams <dcbw@redhat.com>
21161 * dispatcher-daemon/NetworkManagerDispatcher.c
21162 - A bit more descriptive state message
21163 - Don't segfault when reading directory
21165 * src/NetworkManager.h
21166 - Remove NMData desired_ap member, its now
21167 per-device rather than global
21169 * src/NetworkManager.c
21170 - Remove references to desired_ap
21171 - Move the allowed AP list refresh stuff into a thread
21173 * src/NetworkManagerDevice.c
21174 src/NetworkManagerDevice.h
21175 - Each wireless device now has a "best ap"
21176 - Make device activate/deactivate functions per-device
21177 - Make wireless scanning per-device
21178 - Add IPv4 address discover functions, stub IPv6 ones
21179 - Move ethernet address validation functions to NetworkManagerUtils.c
21180 - Add wireless access point accessor function
21181 - Get/Set functions for "best ap"
21183 * src/NetworkManagerPolicy.c
21184 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21185 - Deal with per-device "best ap" rather than data->desired_apa
21186 - Implement allowed access point worker thread
21187 - Add nm_policy_essid_is_allowed() function
21189 * src/NetworkManagerUtils.c
21190 src/NetworkManagerUtils.h
21191 - Add nm_ethernet_address_is_valid() function
21192 - Add IPv4/IPv6 address get functions
21194 * src/NetworkManagerWireless.c
21195 src/NetworkManagerWireless.h
21196 - Move scanning stuff into NetworkManagerDevice.c, per-device
21198 2004-06-29 Dan Williams <dcbw@redhat.com>
21200 * dispatcher-daemon/NetworkManagerDispatcher.c
21201 - Implement script callout functionality
21203 2004-06-24 Dan Williams <dcbw@redhat.com>
21207 - Flush device routes and ip addresses when added to the device list
21209 * NetworkManagerDbus.c
21211 - Add missing returns in the two signal functions
21213 * NetworkManagerPolicy.c
21214 - Spacing and variable cleanups
21216 2004-06-24 Dan Williams <dcbw@redhat.com>
21221 dispatcher-daemon/Makefile.am
21222 dispatcher-daemon/Makefile.in
21223 dispatcher-daemon/NetworkManagerDispatcher.c
21224 - Add a daemon that receives signals from NetworkManager
21225 and will (eventually) call scripts in /etc/somewhere
21226 when devices go up or down.
21230 - Flush device routes and ip addresses when added to the device list
21232 * NetworkManagerDbus.c
21234 - Add missing returns in the two signal functions
21236 * NetworkManagerPolicy.c
21237 - Spacing and variable cleanups
21238 - Rename nm_policy_switch_interface->nm_policy_switch_device
21239 - nm_policy_switch_device():
21240 Use kill (pid) instead of system ("kill <pid>")
21241 - nm_state_modification_monitor():
21242 Add wireless essid to output of debug statements
21243 Correct typo in device compare to switch or not (should be !=)
21244 Don't sleep after sending "no longer active" signal, was useless
21246 2004-06-24 Dan Williams <dcbw@redhat.com>