1 2008-10-20 Dan Williams <dcbw@redhat.com>
3 * libnm-util/nm-setting-wireless-security.c
4 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
6 2008-10-20 Dan Williams <dcbw@redhat.com>
8 * src/supplicant-manager/nm-supplicant-config.c
9 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
11 2008-10-20 Dan Williams <dcbw@redhat.com>
13 * src/dhcp-manager/nm-dhcp-manager.c
14 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
15 manager object already refs it once
16 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
17 also get cleaned up by nm_dhcp_device_destroy() to prevent
20 2008-10-20 Dan Williams <dcbw@redhat.com>
23 - (initial_get_connections): use private dbus manager, don't keep
24 ref-ing the singleton. Fixes mismatched refcounts of the dbus
27 2008-10-18 Dan Williams <dcbw@redhat.com>
29 * libnm-glib/nm-settings.c
30 libnm-glib/nm-settings.h
31 - Rename the "get_secrets" virtual function "service_get_secrets" to
32 clarify when it's used; NMExportedConnetion is a base-class for both
33 the client and service side, which is sort of confusing, and
34 get_secrets only makes sense on the service side.
36 * libnm-glib/nm-dbus-connection.c
37 - (get_secrets): remove, unused, and clients need to do extra work to
38 get secrets anyway since the call can block on the remote side
40 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
41 system-settings/plugins/keyfile/nm-keyfile-connection.c
42 - Fix up for get_secrets -> service_get_secrets
44 2008-10-16 Dan Williams <dcbw@redhat.com>
46 * src/nm-device-wifi.c
47 - (constructor): correctly determine encryption capabilities
49 2008-10-15 Dan Williams <dcbw@redhat.com>
51 * src/nm-device-wifi.c
52 - (wireless_qual_to_percent): fix quality calculation in a fallback case
55 2008-10-15 Dan Williams <dcbw@redhat.com>
57 * src/NetworkManagerSystem.c
58 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
59 if the ip4_dest is in a smaller subnet contained within a subnet
60 the machine is currently on, the destination is in the same subnet
61 - (nm_system_device_set_ip4_route): move subnet checks to callers
62 - (add_vpn_gateway_route): check if the VPN gateway is in the same
63 subnet as the parent device, and if so, don't add the direct
64 host route via the parent device's gateway (bgo #481620)
65 - (nm_system_apply_ip4_config): check whether the route to be added
66 is contained within a subnet the device is already on
68 2008-10-11 Dan Williams <dcbw@redhat.com>
70 * include/NetworkManager.h
71 introspection/nm-device.xml
72 include/NetworkManagerVPN.h
73 - Add a few more state reasons for the device deactivated state
75 * src/nm-device-interface.c
76 src/nm-device-interface.h
77 - (nm_device_interface_deactivate): add a 'reason' argument
81 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
82 - (nm_device_state_changed): pass the state change reason to
84 - (nm_device_set_managed): take a 'reason' argument, and pass it along
85 to the state change function
89 - (remove_one_device, handle_unmanaged_devices, sync_devices,
90 impl_manager_sleep): pass a reason code to nm_device_set_managed()
91 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
92 something reasonable along to VPN deactivation
94 * src/vpn-manager/nm-vpn-manager.c
95 src/vpn-manager/nm-vpn-manager.h
96 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
97 pass that along to nm_vpn_connection_disconnect()
99 2008-10-11 Dan Williams <dcbw@redhat.com>
101 * src/nm-device-wifi.c
102 - (can_scan): remove old madwifi hack for not scanning while connected
104 2008-10-11 Dan Williams <dcbw@redhat.com>
106 Add support for VPN subnet gateways (bgo #549196)
108 * include/NetworkManager.h
109 - Add key for internal VPN subnet gateway
111 * src/vpn-manager/nm-vpn-connection.c
112 - (ip_address_to_string): return a const from a static buffer so we
113 don't leak a lot of strings
114 - (print_vpn_config): print internal VPN gateway as well
115 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
117 - (nm_vpn_connection_get_ip4_internal_gateway): new function
119 * src/NetworkManagerSystem.c
120 src/NetworkManagerSystem.h
121 - (nm_system_device_replace_default_ip4_route): split into two, one for
122 VPN connections and one for normal devices
123 - (replace_default_ip4_route): break out route stuff into its own function
124 - (nm_system_replace_default_ip4_route_vpn,
125 nm_system_replace_default_ip4_route): simplify by having two cases,
126 one for VPNs and one for normal devices
128 * src/NetworkManagerPolicy.c
129 - (update_routing_and_dns): simplify, use split default route replacement
132 2008-10-10 Dan Williams <dcbw@redhat.com>
134 Rework default route handling to consolidate decisions in the policy,
135 and to take active VPN connections into account when changing the default
138 * src/NetworkManager.c
139 - (main): pass the vpn_manager to the policy so it knows about active
140 VPN connections; clean up the named manager which wasn't done before
142 * src/NetworkManagerPolicy.c
143 src/NetworkManagerPolicy.h
144 - (nm_policy_new): get a clue about the vpn_manager
145 - (update_default_route): remove, fold into update_routing_and_dns()
146 - (update_routing_and_dns): handle active VPN connections too; an
147 active VPN connection becomes the default route if it does not have
148 server-specified or user-specified custom routes. Otherwise, the
149 best active device gets the default route
150 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
151 nm_policy_destroy): track VPN connection activation and deactivation
152 and update the default route when appropriate
154 * src/NetworkManagerSystem.c
155 src/NetworkManagerSystem.h
156 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
157 in the VPN connection itself
158 - (nm_system_vpn_device_set_from_ip4_config,
159 nm_system_device_set_from_ip4_config): merge together to make
160 nm_system_apply_ip4_config()
161 - (add_vpn_gateway_route): add a route to the VPN's external gateway
162 via the parent device
163 - (nm_system_apply_ip4_config): simplify
164 - (add_ip4_route_to_gateway): new function; add a direct route to the
166 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
167 route stuff out into add_ip4_route_to_gateway() for clarity
170 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
172 * src/vpn-manager/nm-vpn-connection.c
173 src/vpn-manager/nm-vpn-connection.h
174 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
175 nm_vpn_connection_get_parent_device): add
176 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
178 - (connection_state_changed): update the named manager now that
179 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
182 * src/vpn-manager/nm-vpn-manager.c
183 src/vpn-manager/nm-vpn-manager.h
184 - Add a 'connection-activated' signal
185 - (nm_vpn_manager_get_active_connections): new function; mainly for the
186 policy to find out about active VPN connections
188 2008-10-10 Tambet Ingo <tambet@gmail.com>
190 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
191 a daemon to prevent NM logging spew on console on startup and shutdown (due
192 to dependency loop between NM and syslog).
194 2008-10-10 Alexander Sack <asac@ubuntu.com>
196 Implement managed mode. We bind devices configured in /etc/network/interfaces
197 to their connections by updating wired/wireless setting with the
198 mac address of the device.
200 * system-settings/plugins/ifupdown/plugin.c
201 - (get_net_address_for_udi): implement function to retrieve MAC
202 address of udi from hal in GByteArray format
203 - (bind_device_to_connection): bind mac address of device to
204 wired/wireless system connection
205 - (hal_device_added_cb): call bind_device_to_connection for
206 system connections with a matching interface.name
207 - (hal_device_added_cb): ensure that all code paths
208 properly free the "iface" string.
210 2008-10-10 Alexander Sack <asac@ubuntu.com>
212 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
213 mode of the ifupdown system config plugin.
215 * system-settings/plugins/ifupdown/plugin.c
216 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
217 private unmanage_well_known state field accordingly
219 2008-10-10 Alexander Sack <asac@ubuntu.com>
221 Implement unmanaged mode that will prevent all devices in the
222 well_known_udis set from being touched by NetworkManager
224 * system-settings/plugins/ifupdown/plugin.c
225 - (typedef struct SCPluginIfupdownPrivate): add gboolean
226 unmanage_well_known field used to turn on/off unmanaged
228 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
229 signal when well_known_udis get added/removed
230 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
231 if we are in unmanaged mode
233 2008-10-10 Alexander Sack <asac@ubuntu.com>
235 Add support to track network devices that have a configuration
236 with a matching interface.name in /etc/network/interfaces
238 * system-settings/plugins/ifupdown/plugin.c
239 - (typedef struct SCPluginIfupdownPrivate): add hash table
240 to track |well_known_udis|
241 - (get_iface_for_udi): helper function to get interface.name
243 - (hal_device_added_cb, hal_device_removed_cb): callbacks
244 that add and remove devices to and from the well_known_udis
245 set depending on whether their |interface.name| matches
246 any interface definition in /etc/network/interfaces
247 - (SCPluginIfupdown_init): connect callbacks from above with
248 hal_mgr and setup well_known_udis hashtable
249 - (GObject__dispose): destroy well_known_udis hashtable
250 - (hal_device_added_cb2): implement wrapper callback with GFunc
251 signature. user_data is supposed to be a triple (hal_mgr,
253 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
254 startup and call hal_device_added_cb2
256 2008-10-10 Alexander Sack <asac@ubuntu.com>
258 Remove implementation for not used NMSystemConfigInterface callback functions
261 * system-settings/plugins/ifupdown/plugin.c
262 - (SCPluginIfupdown_unmanaged_devices_changed): removed
263 - (SCPluginIfupdown_connection_added): removed
265 2008-10-08 Dan Williams <dcbw@redhat.com>
267 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
269 * src/NetworkManagerUtils.c
270 - (nm_utils_call_dispatcher): add a 'hostname' action
272 * src/NetworkManagerPolicy.c
273 - (set_system_hostname): dispatch hostname changes
275 * callouts/nm-dispatcher-action.c
276 - (nm_dispatcher_action): handle 'hostname' actions
278 2008-10-08 Dan Williams <dcbw@redhat.com>
280 * src/NetworkManagerSystem.c
281 - (find_route): ref the route so it doesn't get destroyed when the cache
283 - (nm_system_device_set_priority): unref the route here after it's done
286 2008-10-08 Dan Williams <dcbw@redhat.com>
288 * src/nm-serial-device.c
289 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
291 2008-10-08 Tambet Ingo <tambet@gmail.com>
293 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
294 connection with new settings before saving it.
296 2008-10-06 Dan Williams <dcbw@redhat.com>
298 * src/nm-ip4-config.c
300 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
302 * src/nm-device-interface.c
303 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
304 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
305 by using '/' for the object path
308 - (src/nm-device.c): marshal missing/unexported ip4-config through
309 dbus as '/' since dbus-glib can't handle NULL objects nor can
310 dbus handle NULL object paths
312 2008-10-03 Alexander Sack <asac@ubuntu.com>
314 Implement system hostname support for debian/ubuntu
316 * system-settings/plugins/ifupdown/plugin.c
317 - (GObject__get_property): extend announced capabilities; add
318 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
319 - (GObject__set_property,write_system_hostname): implement
320 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
321 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
322 update_system_hostname, get_hostname):
323 implement hostname property that watches and
326 2008-10-03 Alexander Sack <asac@ubuntu.com>
328 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
329 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
330 system-settings/plugins/ifcfg-fedora/Makefile.am
331 system-settings/src/nm-inotify-helper.c
332 system-settings/src/nm-inotify-helper.h
334 - Move ifcfg-fedora inotify helpers to the system settings service so
335 they are available to all plugins
337 2008-10-03 Alexander Sack <asac@ubuntu.com>
339 Implement support for wep-tx-keyidx in ifupdown system
342 * system-settings/plugins/ifupdown/parser.c
343 - (update_wireless_security_setting_from_if_block): introduce
344 free_type_mapping func table; rename a few local
345 variables to improve readability; add wpa security mapping
346 for wep-tx-keyidx property
347 - (string_to_gpointerint): new function used for the auto_type_mapping
348 of new wep-tx-keyidx property
349 - (slist_free_all): free func used for mapped slist types
351 2008-10-03 Alexander Sack <asac@ubuntu.com>
353 * system-settings/src/main.c:
354 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
355 always used as the hash key; fixes a crash when removing wired
358 2008-10-02 Dan Williams <dcbw@redhat.com>
360 * src/nm-gsm-device.c
361 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
362 pass the required GSM secret along via user_data rather than keeping
363 it around in the private data where it sometimes didn't get cleared
364 - (real_get_ppp_name): implement using the GSM username
366 2008-10-02 Dan Williams <dcbw@redhat.com>
368 * src/ppp-manager/nm-ppp-manager.c
369 src/ppp-manager/nm-ppp-manager.h
370 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
371 the settings daemon for completely new ones
372 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
373 local PPP peer name; allow PPP debuging by launching NM with
374 the environment variable NM_PPP_DEBUG defined
375 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
376 create_pppd_cmd_line()
378 * src/nm-serial-device.c
379 src/nm-serial-device.h
380 - New 'get_ppp_name' function for subclasses to implement to return the
382 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
383 and pass that name to the PPP manager
385 * src/nm-device-ethernet.c
386 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
389 * src/nm-cdma-device.c
390 - (real_get_ppp_name): implement using the CDMA username
392 2008-10-02 Dan Williams <dcbw@redhat.com>
394 Patch from Alexander Sack <asac ubuntu com>
396 * system-settings/plugins/ifupdown/parser.c
397 - Implement more graceful ip4 config parsing for cases where
398 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
399 by using default values
401 2008-10-02 Dan Williams <dcbw@redhat.com>
403 * src/NetworkManagerPolicy.c
404 - (device_state_changed): when marking a connection invalid, clear its
405 secrets too so that fresh secrets get requested the next time
407 2008-10-01 Dan Williams <dcbw@redhat.com>
409 * system-settings/src/dbus-settings.c
410 - (nm_sysconfig_settings_init): cache system hostname on startup as
411 a fallback if no plugin provides a hostname
412 - (get_property): fall back to cached hostname if no plugin provides
415 2008-10-01 Dan Williams <dcbw@redhat.com>
417 Fix setting value comparison issue that caused some settings to look the
418 same when they were really different (rh #464417)
420 * libnm-util/nm-param-spec-specialized.c
421 - (type_is_fixed_size): return fundamental size of the fixed type too
422 - (nm_gvalues_compare_collection): use the fundamental fixed type size
423 in the comparison so that the _entire_ fixed type collection gets
424 compared rather than just the first 'len1' bytes
426 2008-09-30 Dan Williams <dcbw@redhat.com>
428 * src/NetworkManagerPolicy.c
429 - (lookup_thread_worker): don't store the idle handler ID becuase the
430 idle handler could have already run and freed the LookupThread
433 2008-09-30 Tambet Ingo <tambet@gmail.com>
435 * src/nm-device.c (nm_device_get_priority): Implement.
436 (nm_device_set_ip4_config): Send the device priority to system ip4
439 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
440 Add priority argument and if it's >= 0, set the priority of the network
441 route added automatically by netlink (or kernel?).
442 (nm_system_device_set_priority): Implement.
444 * src/NetworkManagerPolicy.c (get_best_device): Use
445 nm_device_get_priority() instead of home-grown version. Revert the
446 meaning, best priority is the lowest one.
448 2008-09-29 Dan Williams <dcbw@redhat.com>
450 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
451 when it returns EAGAIN (rh #362421)
453 * src/nm-device-wifi.c
454 - (wireless_get_range): try GIWRANGE a few times until the card responds
455 - (real_get_generic_capabilities, constructor): use wireless_get_range()
457 2008-09-28 Dan Williams <dcbw@redhat.com>
459 * src/nm-serial-device.c
460 src/nm-serial-device.h
461 - (nm_serial_device_close): stop PPP manager here so that PPP gets
462 cleaned at the right times when subclasses close the serial port too
463 - (nm_serial_device_send_command): use a default send delay; don't
464 spin forever on EAGAIN
465 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
466 remove, no longer used
467 - (find_response): return the matched response if any
468 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
470 - (wait_for_reply_done): pass the matched response to the callback
471 - (wait_for_reply_got_data): save the matched response; simplify timeout
473 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
474 const since they never get modified
475 - (cleanup_device): split out common cleanup stuff to a new function
476 - (real_deactivate_quickly, finalize): use cleanup_device()
478 * src/nm-gsm-device.c
479 - (modem_get_reply): remove, unused
480 - (set_apn): give the card a bit more time to respond
481 - (manual_registration_again, schedule_manual_registration_again,
482 manual_registration_response, manual_registration): handle manual
483 registration timeouts better by retrying registration a few times
484 because cards are a bit slow after CFUN=1
485 - (automatic_registration_get_network, get_network_response): use
486 modem_wait_for_reply() because it interacts better with the serial
487 buffer and does more intelligent matching; need to wait for 'OK'
488 rather than just matching terminators
489 - (schedule_automatic_registration_again,
490 automatic_registration_response, automatic_registration): retry
491 registration a few times on timeout or "searching" because cards
492 take a bit to find a network after being powered up with CFUN=1
493 - (power_up_response, power_up, init_full_done, enter_pin,
494 check_pin_done): power up the card with CFUN=1 before trying to
495 register with the network
496 - (init_modem_full, init_modem): use more standard 3G init strings
498 * src/nm-hso-gsm-device.c
499 - (modem_get_reply): remove, unused
500 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
501 modem_wait_for_reply() to match actual responses instead of single
502 termination characters; it doesn't leave stuff in the serial buffer
503 that might confuse later calls
504 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
505 to ensure that the call is really disconnected and not leave extra
506 stuff in the serial buffer
508 * src/nm-cdma-device.c
509 - (power_up_response, power_up, init_done): try Sierra-style modem
510 power up before attempting to connect
512 2008-09-27 Dan Williams <dcbw@redhat.com>
514 * libnm-util/nm-setting-gsm.c
515 - (verify): verify GSM network ID
517 2008-09-25 Dan Williams <dcbw@redhat.com>
519 * libnm-util/nm-setting-gsm.c
520 libnm-util/nm-setting-gsm.h
521 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
522 technology terms (bgo #551361)
524 2008-09-25 Dan Williams <dcbw@redhat.com>
526 Fix bgo #549401 (inspired by patch from Alexander Sack)
528 * src/nm-device-ethernet.c
529 - (finish_supplicant_task): clean up scheduled tasks and free memory
530 - (remove_supplicant_interface_error_handler): remove the supplicant
531 error idle callback too
532 - (supplicant_interface_release): rename from supplicant_interface_clean
533 to match nm-device-wifi.c; clean up supplicant interface-related
534 state tasks when the supplicant interface is disposed of
535 - (schedule_state_handler): add scheduled tasks to a list so they can
537 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
538 supplicant_iface_connection_state_cb_handler): use
539 finish_supplicant_task() to clean up each completed task
540 - (supplicant_iface_connection_error_cb_handler,
541 supplicant_connection_timeout_cb): clear source id when the task is
543 - (supplicant_iface_connection_error_cb): save scheduled task id for
545 - (nm_device_ethernet_dispose): clean up any pending supplicant state
548 * src/nm-device-wifi.c
549 - (finish_supplicant_task): clean up scheduled tasks and free memory
550 - (remove_supplicant_interface_error_handler): remove the supplicant
551 error idle callback too
552 - (supplicant_interface_release): clean up supplicant interface-related
553 state tasks when the supplicant interface is disposed of
554 - (schedule_state_handler): add scheduled tasks to a list so they can
556 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
557 supplicant_iface_connection_state_cb_handler): use
558 finish_supplicant_task() to clean up each completed task
559 - (supplicant_iface_connection_error_cb_handler): clear source id when
561 - (supplicant_iface_connection_error_cb): save scheduled task id for
563 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
565 2008-09-24 Tambet Ingo <tambet@gmail.com>
567 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
568 method and get/set hostname property.
570 2008-09-24 Tambet Ingo <tambet@gmail.com>
572 * src/supplicant-manager/nm-supplicant-interface.c
573 (nm_supplicant_interface_disconnect): Don't increment the reference
574 count when disconnecting. The problem is on shutdown, when the replies
575 to these commands do not arrive before NM exits, resulting on never
576 calling supplicant interface's dispose(), which removes the interface
579 2008-09-24 Tambet Ingo <tambet@gmail.com>
581 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
582 all the public function arguments.
584 2008-09-22 Tambet Ingo <tambet@gmail.com>
586 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
587 "Failure" signal from VPN plugins, store the failure reason, and
588 use it when the state is changed to failure.
590 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
593 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
594 reason to the end of the list to not break the API.
595 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
596 so it can be shared by plugins and daemon.
598 2008-09-18 Dan Williams <dcbw@redhat.com>
600 Patch from Alexander Sack <asac@ubuntu.com>
603 system-settings/plugins/Makefile.am
604 system-settings/plugins/ifupdown/Makefile.am
605 system-settings/plugins/ifupdown/interface_parser.c
606 system-settings/plugins/ifupdown/interface_parser.h
607 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
608 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
609 system-settings/plugins/ifupdown/parser.c
610 system-settings/plugins/ifupdown/parser.h
611 system-settings/plugins/ifupdown/plugin.c
612 system-settings/plugins/ifupdown/plugin.h
613 - Implement a Debian/Ubuntu legacy network configuration plugin
616 2008-09-18 Dan Williams <dcbw@redhat.com>
618 Implement support for honoring configured and automatic hostnames, and for
619 setting the configured hostname.
621 * introspection/nm-ip4-config.xml
624 src/dhcp-manager/nm-dhcp-manager.c
625 - Remove useless hostname property; it's not really part of the IPv4
628 * introspection/nm-settings-system.xml
629 libnm-glib/nm-dbus-settings-system.c
630 libnm-glib/nm-dbus-settings-system.h
631 - Add SetHostname() call to system settings D-Bus interface
632 - Add Hostname property to system settings D-Bus interface
633 - (nm_dbus_settings_system_save_hostname,
634 nm_dbus_settings_system_get_hostname): implement
638 - (nm_device_get_dhcp4_config): implement
642 - Fetch and track system settings service hostname changes, and proxy
643 the changes via a GObject property of the manager
645 * system-settings/src/nm-system-config-interface.c
646 system-settings/src/nm-system-config-interface.h
647 - Replace nm_system_config_interface_supports_add() with a capabilities
650 * system-settings/src/nm-system-config-error.c
651 system-settings/src/nm-system-config-error.h
652 - Add additional errors
654 * system-settings/src/dbus-settings.c
655 system-settings/src/dbus-settings.h
656 - (get_property, nm_sysconfig_settings_class_init): add hostname
657 property; first plugin returning a hostname wins
658 - (impl_settings_add_connection): use plugin capabilities instead of
659 nm_system_config_interface_supports_add()
660 - (impl_settings_save_hostname): implement hostname saving
662 * src/NetworkManagerPolicy.c
663 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
664 lookup_thread_die): implement an asynchronous hostname lookup thread
665 which given an IPv4 address tries to look up the hostname for that
666 address with reverse DNS
667 - (get_best_device): split out best device code from
668 update_routing_and_dns()
669 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
670 to preserve the 127.0.0.1 reverse mapping that so many things require
671 - (set_system_hostname): set a given hostname
672 - (update_system_hostname): implement hostname policy; a configured
673 hostname (from the system settings service) is used if available,
674 otherwise an automatically determined hostname from DHCP, VPN, etc.
675 If there was no automatically determined hostname, reverse DNS of
676 the best device's IP address will be used, and as a last resort the
677 hostname 'localhost.localdomain' is set.
678 - (update_routing_and_dns): use get_best_device(); update the system
679 hostname when the network config changes
680 - (hostname_changed): update system hostname if the system settings
681 service signals a hostname change
682 - (nm_policy_new): list for system settings service hostname changes
683 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
686 * system-settings/plugins/keyfile/plugin.c
687 system-settings/plugins/ifcfg-suse/plugin.c
688 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
689 capabilities properties
691 * system-settings/plugins/ifcfg-fedora/shvar.c
692 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
693 writes out /etc/sysconfig/network now
695 * system-settings/plugins/ifcfg-fedora/plugin.c
696 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
697 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
698 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
699 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
700 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
701 hostname get/set and capabilities get
703 2008-09-18 Dan Williams <dcbw@redhat.com>
705 * libnm-util/nm-setting-wireless.c
706 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
707 group ciphers if the wireless-security setting explicitly specified
708 them, effectively making the default be "all ciphers" (idea from
711 2008-09-15 Dan Williams <dcbw@redhat.com>
713 Patch from Alexander Sack <asac@ubuntu.com>
715 * src/named-manager/nm-named-manager.c
716 - (dispatch_resolvconf): respect resolvconf exit code
718 2008-09-12 Tambet Ingo <tambet@gmail.com>
720 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
721 again. Add some debugging.
723 2008-09-11 Dan Williams <dcbw@redhat.com>
725 * system-settings/plugins/keyfile/plugin.c
726 - (update_connection_settings): update connection manually, since
727 nm_exported_connection_update() does authentication
728 - (dir_changed): update_connection_settings() doesn't need to return
731 2008-09-09 Dan Williams <dcbw@redhat.com>
733 * libnm-glib/nm-vpn-plugin-ui-interface.c
734 libnm-glib/nm-vpn-plugin-ui-interface.h
735 libnm-glib/libnm_glib_vpn.ver
736 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
737 should clean up resources related to the connection (like keyring
739 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
740 should save user-scope secrets (like to the keyring)
742 2008-09-08 Dan Williams <dcbw@redhat.com>
744 Patch from Alexander Sack <asac@ubuntu.com>
746 * libnm-util/crypto_gnutls.c
747 libnm-util/crypto_nss.c
748 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
750 * libnm-util/nm-utils.c
751 libnm-util/nm-utils.h
752 libnm-util/libnm-util.ver
753 - (nm_utils_init): initialize libnm-util
754 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
756 * libnm-util/nm-setting-8021x.c
757 - (nm_setting_802_1x_class_init): init libnm-util when needed
759 2008-09-05 Dan Williams <dcbw@redhat.com>
761 Patch from Roy Marples <roy@marples.name> and others
764 src/named-manager/nm-named-manager.c
765 - Add support for resolvconf; use --with-resolvconf at configure time
768 2008-09-05 Dan Williams <dcbw@redhat.com>
770 * libnm-util/crypto_nss.c
771 libnm-util/crypto_gnutls.c
773 - (crypto_init): return error when init fails
775 2008-09-05 Dan Williams <dcbw@redhat.com>
777 * libnm-glib/nm-device-wifi.c
778 - (access_point_removed_proxy): clean up the active access point too
779 just in case the active ap changed signal didn't come through yet
780 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
782 2008-09-05 Dan Williams <dcbw@redhat.com>
784 * libnm-glib/nm-client.c
785 - (constructor): get initial state after we know whether NM is running
788 2008-09-05 Dan Williams <dcbw@redhat.com>
790 * libnm-glib/nm-ip4-config.c
791 libnm-glib/nm-dhcp4-config.c
792 - (finalize): clean up the DBusGProxy
794 2008-09-04 Dan Williams <dcbw@redhat.com>
796 * src/nm-ip4-config.c
798 - (nm_ip4_config_new): don't export over D-Bus here
799 - (nm_ip4_config_export): new function; export the config over D-Bus
800 - (nm_ip4_config_is_exported): new function
803 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
804 objects by balancing the IP4Config constructor; the device holds
805 a reference to the IP4Config already
806 - (nm_device_set_ip4_config): export the IP4Config when needed
808 2008-09-04 Dan Williams <dcbw@redhat.com>
810 * src/supplicant-manager/nm-supplicant-settings-verify.c
811 - Allow WPA-NONE key management for Ad-Hoc WPA connections
813 2008-09-04 Dan Williams <dcbw@redhat.com>
815 * libnm-util/nm-setting-vpn.c
816 libnm-util/nm-setting-vpn.h
817 - Split VPN secrets from VPN data so that settings services can actually
818 figure out that they are secrets and store them accordingly
820 * system-settings/plugins/keyfile/nm-keyfile-connection.c
821 system-settings/plugins/keyfile/reader.c
822 system-settings/plugins/keyfile/reader.h
823 system-settings/plugins/keyfile/writer.c
824 - Store VPN secrets separately from VPN data so that they can be fetched
826 - Implement the get_secrets() call so that (a) secrets don't leak out
827 to unprivileged callers, and (b) secrets can be sent to privileged
830 * vpn-daemons/vpnc/src/nm-vpnc-service.c
831 - Handle split VPN secrets
833 2008-08-27 Dan Williams <dcbw@redhat.com>
835 * system-settings/plugins/ifcfg-fedora/reader.c
836 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
838 2008-08-27 Dan Williams <dcbw@redhat.com>
840 Ensure zombie children get cleaned up. To get notifications when children
841 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
842 that requires calling waitpid() yourself if you've removed the child watch
843 handler before the process has actually died, which NM needs to do in a few
844 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
845 cleans up after the child when required. Should fix problems trying to
846 activate mobile broadband connections after a previous failure.
848 * src/dhcp-manager/nm-dhcp-dhclient.c
849 src/dhcp-manager/nm-dhcp-dhcpcd.c
850 - Use G_SPAWN_DO_NOT_REAP_CHILD
852 * src/dhcp-manager/nm-dhcp-manager.c
853 - (nm_dhcp_device_destroy): ensure child is cleaned up
854 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
855 block on child quitting, since the non-blocking functionality was
858 * src/dnsmasq-manager/nm-dnsmasq-manager.c
859 - (dm_watch_cb): child is already reaped here
860 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
863 - (aipd_cleanup): block until child is dead
865 * src/named-manager/nm-named-manager.c
866 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
867 event bothering to watch the child
869 * src/ppp-manager/nm-ppp-manager.c
870 - (ppp_watch_cb): child is already reaped here
871 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
873 * src/vpn-manager/nm-vpn-service.c
874 - (vpn_service_watch_cb): child is already reaped here
875 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
876 status of the child is actually tracked
877 - (ensure_killed, finalize): block until child is dead
879 2008-08-26 Dan Williams <dcbw@redhat.com>
881 * system-settings/plugins/keyfile/nm-keyfile-connection.c
882 - (update): Update filename of the connection if the connection id
885 * system-settings/plugins/keyfile/plugin.c
886 - (dir_changed): first pass at handling connection renames correctly
888 * system-settings/plugins/keyfile/writer.c
889 system-settings/plugins/keyfile/writer.h
890 - (write_connection): replace '/' with '*' when writing out the filename
891 from the connection id
893 2008-08-26 Dan Williams <dcbw@redhat.com>
895 Add connection UUIDs, since connection names can be changed, and since
896 old-style connection IDs could change over the life of the connection. The
897 UUID should be assigned at connection creation time, be stable for a given
898 connection, and should be unique among all connections for a given settings
902 libnm-util/Makefile.am
905 * introspection/nm-exported-connection.xml
906 - Remove "GetID" method
908 * libnm-glib/nm-dbus-connection.c
909 libnm-glib/nm-settings.c
910 libnm-glib/nm-settings.h
911 - Remove id-related stuff
913 * libnm-util/nm-utils.c
914 libnm-util/nm-utils.h
915 libnm-util/libnm-util.ver
916 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
917 utility functions to generate UUIDs
919 * libnm-util/nm-setting-connection.c
920 libnm-util/nm-setting-connection.h
921 - Add 'uuid' member to the connection setting
922 - (verify): require valid 'uuid' for a valid connection
924 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
925 system-settings/plugins/ifcfg-fedora/reader.c
926 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
927 system-settings/plugins/ifcfg-suse/parser.c
928 system-settings/plugins/keyfile/nm-keyfile-connection.c
929 system-settings/src/main.c
930 - Remove id-related stuff
931 - Give connections UUIDs where needed
933 2008-08-25 Dan Williams <dcbw@redhat.com>
935 * libnm-util/crypto_gnutls.c
936 libnm-util/crypto_nss.c
937 - (crypto_init, crypto_deinit): refcount init/deinit
938 - (crypto_md5_hash): allow NULL salt
940 2008-08-22 Michael Biebl <mbiebl@gmail.com>
942 * libnm-glib/Makefile.am
943 libnm-util/Makefile.am
944 libnm-glib/libnm_glib.ver
945 libnm-glib/libnm_glib_vpn.ver
946 libnm-util/libnm-util.ver
947 - Use linker version scripts to control the list of exported
948 symbols. List each exported symbol explicitely.
949 * libnm-util/Makefile.am
950 - Fix compilation of the test-crypto binary. The crypto
951 functions are no longer part of the libnm-util API. Add
952 crypto_*.c to test_crypto_SOURCES and link against the correct
955 2008-08-19 Dan Williams <dcbw@redhat.com>
959 - Don't build test/test-common
960 - Remove unused stuff
962 * test/nm-set-fallback
964 test/test-common/.cvsignore
965 test/test-common/Makefile.am
966 test/test-common/test-common.c
967 test/test-common/test-common.h
970 2008-08-18 Dan Williams <dcbw@redhat.com>
972 * libnm-util/nm-utils.c
973 libnm-util/nm-utils.h
974 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
975 export anything that needs to be converted with this function
977 * src/dhcp-manager/nm-dhcp-manager.c
978 - (garray_to_string): convert a byte array to a UTF-8 string with
979 minimal validation; the DHCP client sends it in ASCII anyway
980 - (get_option, copy_option): use garray_to_string()
982 2008-08-18 Dan Williams <dcbw@redhat.com>
984 * include/NetworkManager.h
985 introspection/nm-device.xml
986 - Add a "missing firmware" device state reason
988 * src/NetworkManagerSystem.c
989 src/NetworkManagerSystem.h
990 - (nm_system_device_set_up_down): add a no_firmware argument
991 - (nm_system_device_set_up_down_with_iface): if the result of setting
992 IFF_UP is ENOENT, that almost always means missing firmware
994 * src/backends/NetworkManagerGeneric.c
995 src/nm-device-ethernet.c
996 src/nm-device-private.h
1000 src/nm-hso-gsm-device.c
1001 src/vpn-manager/nm-vpn-connection.c
1002 - Pass no_firmware along; check it where appropriate
1004 2008-08-18 Dan Williams <dcbw@redhat.com>
1006 Patch from Robert Buchholz <rbu@gentoo.org>
1010 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1011 1003.1-1988, allowing for file names longer than 99 characters
1013 2008-08-17 Dan Williams <dcbw@redhat.com>
1015 * include/NetworkManager.h
1016 introspection/nm-device.xml
1018 - Finer-grained GSM registration failure error codes
1020 2008-08-17 Dan Williams <dcbw@redhat.com>
1022 * callouts/Makefile.am
1024 - Move dispatcher directory creation to callouts/Makefile.am
1026 * system-settings/plugins/keyfile/Makefile.am
1027 - Create keyfile connections directory in DESTDIR (bgo #546833)
1029 2008-08-15 Dan Williams <dcbw@redhat.com>
1031 Do connection sharing in a cleaner manner; all required iptables rules
1032 are now stored in the activation request and pertain only to the device
1033 which is being shared to other computers. (rh #458625)
1035 * src/nm-activation-request.c
1036 src/nm-activation-request.h
1037 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1038 the activation request which will get torn down automatically when
1039 the activation request dies
1040 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1041 is started, and tear them down when sharing is stopped
1044 - (start_sharing): start up sharing by doing the required iptables magic
1045 - (share_init): poke the right bits of the kernel and load the right
1047 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1048 connection if it's a 'shared' connection
1050 * src/NetworkManagerPolicy.c
1051 - Remove all sharing stuff; done in the device code itself
1053 2008-08-15 Dan Williams <dcbw@redhat.com>
1055 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1056 - (create_dm_cmd_line): send the right router address
1058 2008-08-15 Dan Williams <dcbw@redhat.com>
1060 * src/ppp-manager/nm-ppp-manager.c
1061 - (pppd_timed_out): ensure timeouts fail the connection
1063 2008-08-14 Dan Williams <dcbw@redhat.com>
1065 * src/nm-properties-changed-signal.c
1066 src/nm-properties-changed-signal.h
1067 - Add a property spec flag for "don't export this property" in
1068 property changed signals
1070 * src/nm-hso-gsm-device.c
1072 src/nm-cdma-device.c
1073 - Don't export monitor interface or netdev interface properties
1075 2008-08-14 Dan Williams <dcbw@redhat.com>
1077 * src/NetworkManagerPolicy.c
1078 - (update_routing_and_dns): 'hso' devices can be default even if they
1079 don't have a gateway
1081 2008-08-14 Dan Williams <dcbw@redhat.com>
1084 - (nm_device_deactivate_quickly): tear down activation request after
1085 calling device-specific deactivation
1087 * src/nm-hso-gsm-device.c
1088 - (real_deactivate_quickly): terminate connection when deactivating
1090 2008-08-14 Dan Williams <dcbw@redhat.com>
1092 * src/nm-activation-request.h
1093 - Add HSO secrets caller
1095 * src/nm-gsm-device.c
1097 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1098 something to the callback function
1099 - (set_apn, set_apn_done): call class dial function, not a static one
1100 - (nm_gsm_device_class_init): add a class 'dial' function
1102 * src/nm-hal-manager.c
1103 - (get_hso_netdev): find the hso-driven hardware's net device
1104 - (modem_device_creator): recognize hso-driven hardware and create the
1105 right type of device object for it
1108 src/nm-hso-gsm-device.c
1109 src/nm-hso-gsm-device.h
1110 - Implement support for devices driven by the 'hso' driver as a subclass
1113 2008-08-14 Dan Williams <dcbw@redhat.com>
1115 * src/NetworkManagerSystem.c
1116 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1117 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1118 success if the operation really was successful
1120 2008-08-14 Dan Williams <dcbw@redhat.com>
1122 * src/nm-netlink-monitor.c
1123 src/nm-netlink-monitor.h
1124 src/nm-device-ethernet.c
1125 - (nm_netlink_monitor_request_status): return an error on failure
1126 - (constructor): don't segfault on missing error
1128 2008-08-13 Dan Williams <dcbw@redhat.com>
1130 * callouts/nm-dispatcher-action.c
1131 - Add IP4 config info to script environment
1133 2008-08-12 Dan Williams <dcbw@redhat.com>
1136 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1137 that want to use DHCP hostnames should use dispatcher scripts
1140 * src/NetworkManagerSystem.h
1141 src/backends/NetworkManagerArch.c
1142 src/backends/NetworkManagerDebian.c
1143 src/backends/NetworkManagerFrugalware.c
1144 src/backends/NetworkManagerGeneric.c
1145 src/backends/NetworkManagerGeneric.h
1146 src/backends/NetworkManagerGentoo.c
1147 src/backends/NetworkManagerMandriva.c
1148 src/backends/NetworkManagerPaldo.c
1149 src/backends/NetworkManagerRedHat.c
1150 src/backends/NetworkManagerSlackware.c
1151 src/backends/NetworkManagerSuSE.c
1152 - Remove nm_system_set_hostname(), no longer used
1154 * src/backends/Makefile.am
1155 src/backends/shvar.c
1156 src/backends/shvar.h
1157 - Remove shvar.*; no longer used
1159 2008-08-12 Dan Williams <dcbw@redhat.com>
1161 Revert most of the 'hostname' patch. Too much stuff still breaks when
1162 hostname is updated at runtime. Distros or users who want hostname updates
1163 can use dispatcher scripts to update the hostname if they need it.
1165 2008-08-12 Dan Williams <dcbw@redhat.com>
1167 * introspection/nm-settings-system.xml
1168 system-settings/src/dbus-settings.c
1169 system-settings/src/dbus-settings.h
1170 - Add a 'Hostname' property (rw) which represents the configured
1171 hostname and domain of the system, if any
1173 * system-settings/src/nm-system-config-error.c
1174 system-settings/src/nm-system-config-error.h
1175 system-settings/src/nm-system-config-interface.c
1176 system-settings/src/nm-system-config-interface.h
1177 - Add a 'hostname' property to the plugin interface
1178 - Add a method to send updated hostname to plugins to save in their
1179 backing configuration store
1181 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1182 system-settings/plugins/keyfile/plugin.c
1183 system-settings/plugins/keyfile/writer.c
1184 system-settings/plugins/keyfile/writer.h
1185 system-settings/plugins/ifcfg-suse/plugin.c
1186 - Add minimal hostname support
1188 * system-settings/plugins/ifcfg-fedora/plugin.c
1189 - Add support for updating system hostname in /etc/sysconfig/network
1191 2008-08-12 Dan Williams <dcbw@redhat.com>
1193 * system-settings/plugins/ifcfg-fedora/shvar.c
1194 system-settings/plugins/ifcfg-fedora/shvar.c
1195 - Fix double-free caused by svSetValue() followed by svCloseFile()
1197 2008-08-12 Tambet Ingo <tambet@gmail.com>
1199 * Makefile.am: Fix distcheck.
1201 2008-08-12 Tambet Ingo <tambet@gmail.com>
1203 * libnm-glib/*.c. Document some more.
1205 2008-08-12 Tambet Ingo <tambet@gmail.com>
1207 Start documenting libnm-glib public API using gtk-doc.
1209 * libnm-glib/nm-serial-device.c:
1210 * libnm-glib/nm-object.c:
1211 * libnm-glib/nm-gsm-device.c:
1212 * libnm-glib/nm-device.c:
1213 * libnm-glib/nm-device-wifi.c:
1214 * libnm-glib/nm-device-ethernet.c:
1215 * libnm-glib/nm-client.c:
1216 * libnm-glib/nm-cdma-device.c: Document the public API.
1218 * docs/libnm-glib/libnm-glib.types: Implement.
1220 * docs/libnm-glib/Makefile.am: Implement.
1224 * Makefile.am: Add gtk-doc support.
1226 2008-08-12 Tambet Ingo <tambet@gmail.com>
1228 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1230 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1231 the composite result of all the IP4 configurations and call a distro
1232 specific update_resolv_conf().
1233 (update_resolv_conf): Implement one for directly writing to
1234 /etc/resolv.conf and one for opensuse to call netconfig.
1236 2008-08-11 Dan Williams <dcbw@redhat.com>
1238 * src/ppp-manager/nm-ppp-manager.c
1239 - (impl_ppp_manager_need_secrets): pass interface as required
1241 2008-08-11 Dan Williams <dcbw@redhat.com>
1243 Merge the vpn-properties setting with the vpn setting since it was pointless
1244 to keep both of them around. Convert the vpn 'data' hash table to a hash
1245 of string:string (instead of string:variant) so that system settings plugins
1246 can have an easier time dealing with the arbitrary key/value pairs.
1248 2008-08-11 Dan Williams <dcbw@redhat.com>
1250 * libnm-util/nm-utils.c
1251 - (nm_utils_register_value_transformations): add value transform for
1252 a hash table of string:string
1254 2008-08-10 Dan Williams <dcbw@redhat.com>
1256 * libnm-glib/nm-vpn-plugin.c
1257 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1258 an idle handler so the Connect reply gets delivered before the
1259 stop StateChanged signal
1261 2008-08-10 Dan Williams <dcbw@redhat.com>
1263 * src/nm-ip4-config.c
1264 - (get_property): use common ip4 address/route conversion functions
1265 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1266 copy the new route here, not take ownership
1268 2008-08-08 Tambet Ingo <tambet@gmail.com>
1270 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1271 Update the IP4 setting's method name.
1273 2008-08-07 Dan Williams <dcbw@redhat.com>
1275 * introspection/nm-ip4-config.xml
1276 libnm-glib/libnm-glib-test.c
1277 libnm-glib/nm-ip4-config.c
1278 libnm-glib/nm-ip4-config.h
1279 src/NetworkManagerSystem.h
1280 src/backends/NetworkManagerArch.c
1281 src/backends/NetworkManagerDebian.c
1282 src/backends/NetworkManagerFrugalware.c
1283 src/backends/NetworkManagerGeneric.c
1284 src/backends/NetworkManagerGeneric.h
1285 src/backends/NetworkManagerGentoo.c
1286 src/backends/NetworkManagerMandriva.c
1287 src/backends/NetworkManagerPaldo.c
1288 src/backends/NetworkManagerRedHat.c
1289 src/backends/NetworkManagerSlackware.c
1290 src/backends/NetworkManagerSuSE.c
1291 src/dhcp-manager/nm-dhcp-manager.c
1295 - Remove NIS logic; should be done from dispatcher scripts instead
1297 2008-08-07 Dan Williams <dcbw@redhat.com>
1299 * src/dhcp-manager/nm-dhcp-manager.c
1300 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1301 mis-handling of DHCP responses that returned more than one router
1302 (found by Grant Williamson)
1304 2008-08-07 Dan Williams <dcbw@redhat.com>
1306 * callouts/nm-dispatcher-action.c
1307 - (nm_dispatcher_action): grab device path and create the device; pass
1308 the device's DHCP4 config to script caller
1309 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1312 * libnm-glib/nm-dhcp4-config.c
1313 libnm-glib/nm-dhcp4-config.h
1314 - (nm_dhcp4_config_get_options): expose
1315 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1317 2008-08-07 Dan Williams <dcbw@redhat.com>
1319 * include/NetworkManager.h
1320 - Add the DHCP4Config D-Bus interface
1322 * libnm-glib/Makefile.am
1323 libnm-glib/nm-dhcp4-config.c
1324 libnm-glib/nm-dhcp4-config.h
1325 - Handle DHCP4 config objects exported by NM over D-Bus
1327 * libnm-glib/nm-device.c
1328 libnm-glib/nm-device.h
1329 - Add a 'dhcp4-config' property
1331 * libnm-glib/libnm-glib-test.c
1332 - Print out DHCP4 config for devices
1333 - Fix some crashes when no connections are active
1335 * src/nm-device-interface.c
1337 src/nm-dhcp4-config.c
1338 src/nm-dhcp4-config.h
1339 - Treat dhcp4-config object as an object path at the D-Bus interface so
1340 that when it doesn't exist we can proxy it as "/" which dbus-glib
1341 doesn't let us do when the property type is G_TYPE_OBJECT
1343 2008-08-07 Dan Williams <dcbw@redhat.com>
1345 * src/NetworkManager.c
1346 src/NetworkManagerSystem.h
1347 src/backends/NetworkManagerArch.c
1348 src/backends/NetworkManagerDebian.c
1349 src/backends/NetworkManagerFrugalware.c
1350 src/backends/NetworkManagerGeneric.c
1351 src/backends/NetworkManagerGeneric.h
1352 src/backends/NetworkManagerGentoo.c
1353 src/backends/NetworkManagerMandriva.c
1354 src/backends/NetworkManagerPaldo.c
1355 src/backends/NetworkManagerRedHat.c
1356 src/backends/NetworkManagerSlackware.c
1357 src/backends/NetworkManagerSuSE.c
1358 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1360 2008-08-06 Dan Williams <dcbw@redhat.com>
1362 * libnm-glib/nm-ip4-config.c
1363 libnm-glib/nm-ip4-config.h
1364 - Add 'routes' property
1366 * libnm-util/nm-setting-vpn.c
1367 libnm-util/nm-setting-vpn.h
1368 - Remove 'routes' property
1370 * libnm-util/nm-setting-ip4-config.c
1371 libnm-util/nm-setting-ip4-config.h
1372 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1373 - Add 'ignore-auto-routes' property
1374 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
1375 accomodate route metrics
1376 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1378 * libnm-util/nm-utils.c
1379 libnm-util/nm-utils.h
1380 - Add helpers for marshalling IP4 routes
1382 * src/NetworkManagerUtils.c
1383 - (nm_utils_merge_ip4_config): handle property renames and new route
1386 * src/NetworkManagerSystem.c
1387 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1388 nm_system_vpn_device_set_from_ip4_config): respect route metrics
1390 * src/dhcp-manager/nm-dhcp-manager.c
1391 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1393 * system-settings/plugins/ifcfg-fedora/reader.c
1394 system-settings/plugins/ifcfg-fedora/writer.c
1395 - Handle routes separately from addresses now that routes have a different
1398 * introspection/nm-ip4-config.xml
1401 - Rename internal routing functions
1402 - 'static-routes' renamed to 'routes'
1404 2008-08-04 Dan Williams <dcbw@redhat.com>
1406 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1408 * src/NetworkManager.c
1411 - More explicitly make the NMManager a singleton
1413 2008-08-04 Dan Williams <dcbw@redhat.com>
1415 * libnm-util/nm-connection.c
1416 libnm-util/nm-connection.h
1417 - (nm_connection_verify): return error on missing 'connection' setting
1418 (found by Sjoerd Simons)
1420 2008-08-04 Dan Williams <dcbw@redhat.com>
1422 Handle multiple concurrent PPP connections.
1424 * src/ppp-manager/nm-ppp-manager.c
1425 src/ppp-manager/nm-ppp-manager.h
1426 - (constructor): only PPP Manager request bus name once; each
1427 NMPPPManager object gets a unique object path
1428 - (nm_ppp_manager_class_init, get_property, set_property,
1429 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1431 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1432 remove timeout until PPP manager gets an IP4 config
1433 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1434 the plugin can call back to this specific PPP manager instance
1436 * src/nm-device-ethernet.c
1437 src/nm-serial-device.c
1438 - Pass parent device in nm_ppp_manager_new()
1440 * src/nm-gsm-device.c
1441 src/nm-cdma-device.c
1442 - (device_state_changed): don't close serial device on NEED_AUTH
1443 state changed, that's not a failure case like the rest are
1445 * src/ppp-manager/nm-pppd-plugin.c
1446 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1447 binds one interface to any pppd process, thus the correct index
1448 is always 0; send PHASE_DEAD on error to alert NM immediately of
1449 problems; try harder to get a peer address in spite of pppd
1450 - (plugin_init): use 'ipparam' as the object path back to our specific
1451 PPP manager instance
1453 2008-08-04 Dan Williams <dcbw@redhat.com>
1455 * src/ppp-manager/nm-ppp-manager.c
1456 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1457 since the GSM and CDMA settings now implement need_secrets, we can
1458 rely on them to do the right thing. Where secrets are not required,
1459 just pass empty strings back to the pppd plugin.
1460 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1461 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1462 on successful IP4 config receipt
1464 2008-08-04 Dan Williams <dcbw@redhat.com>
1466 * libnm-util/nm-setting-cdma.c
1467 libnm-util/nm-setting-gsm.c
1468 - (verify): validate username & password if they exist
1469 - (need_secrets): if username given, require a password too
1471 2008-08-04 Dan Williams <dcbw@redhat.com>
1473 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1474 - (create_dm_cmd_line): really don't listen on lo, despite what the
1475 manpage says about --listen-address without --interface
1478 2008-08-01 Dan Williams <dcbw@redhat.com>
1480 * libnm-glib/nm-device.c
1481 - (proxy_get_string): util function for querying a HAL property
1482 - (get_ancestor_device): split out from get_product_and_vendor()
1483 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1484 from PCI devices by querying subsys properties
1485 - (nm_device_update_description): simplify
1487 2008-08-01 Dan Williams <dcbw@redhat.com>
1489 * libnm-util/nm-setting-ip4-config.c
1490 libnm-util/nm-setting-ip4-config.h
1491 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1492 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
1493 settings, and they don't necessarily use DHCP.
1495 * src/NetworkManagerPolicy.c
1497 system-settings/plugins/ifcfg-fedora/reader.c
1498 system-settings/plugins/ifcfg-suse/parser.c
1499 - Fixup for method changes
1501 2008-07-31 Dan Williams <dcbw@redhat.com>
1503 * src/nm-activation-request.c
1504 src/vpn-manager/nm-vpn-connection.c
1505 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1506 itself should be attached to the activation request or the VPN
1507 connection, not the NMConnection object, since the call is not
1508 expected to live as long as the NMConnection itself
1510 2008-07-31 Dan Williams <dcbw@redhat.com>
1512 * src/nm-device-wifi.c
1513 - (real_act_stage2_config): fix issue where association would continue
1514 even though secrets were needed; 'goto out' was in wrong scope and
1515 result of handle_auth_or_fail() should have been dumped directly to
1516 'ret' to ensure that the association was postponed until secrets
1519 2008-07-31 Dan Williams <dcbw@redhat.com>
1521 * system-settings/plugins/ifcfg-fedora/plugin.c
1522 system-settings/plugins/ifcfg-fedora/reader.c
1523 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1526 2008-07-29 Dan Williams <dcbw@redhat.com>
1528 * src/nm-gsm-device.c
1529 - (automatic_registration_response, automatic_registration): recognize
1530 denied registration and reorder responses
1532 2008-07-29 Dan Williams <dcbw@redhat.com>
1534 * src/nm-serial-device.c
1535 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
1536 time(2) is used for current time, which returns seconds, we shouldn't
1537 be multiplying by 1000.
1539 2008-07-28 Dan Williams <dcbw@redhat.com>
1541 Patch from Fabrice Bellet <fabrice@bellet.info>
1543 * src/NetworkManagerSystem.c
1544 - (route_in_same_subnet): mask addresses and compare them so that the
1545 function actually does what it says it's going to do (rh #456685)
1547 2008-07-27 Dan Williams <dcbw@redhat.com>
1549 * libnm-util/nm-setting-ip6-config.c
1550 - (set_property): add missing break that caused routes to be overwritten
1553 * libnm-util/nm-setting-ip6-config.c
1554 - (verify): validate routes and return GError everywhere on invalid setting
1555 - (finalize): don't leak routes
1556 - (set_property): add missing break that caused routes to be overwritten
1559 2008-07-27 Dan Williams <dcbw@redhat.com>
1562 - Relicense to LGPLv2+
1564 2008-07-27 Dan Williams <dcbw@redhat.com>
1566 * system-settings/plugins/ifcfg-fedora/reader.c
1567 - (make_ip4_setting): fix parsing automatic configs
1569 2008-07-27 Dan Williams <dcbw@redhat.com>
1571 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1573 src/ppp-manager/nm-ppp-manager.c
1574 - Ensure child process gets reaped. The child watch function may be
1575 removed from the mainloop before the child gets killed, so we have
1576 to make sure the child is reaped when it's told to die intentionally
1578 2008-07-27 Dan Williams <dcbw@redhat.com>
1580 Patch from Roy Marples <roy@marples.name>
1582 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1583 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1585 2008-07-27 Dan Williams <dcbw@redhat.com>
1587 * src/nm-gsm-device.c
1588 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1589 Huawei devices turn echo back on after CPIN (rh #456770)
1591 2008-07-24 Tambet Ingo <tambet@gmail.com>
1593 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1594 format argument to g_set_error() call.
1596 * src/backends/interface_parser.[ch]: Remove.
1598 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1600 2008-07-21 Dan Williams <dcbw@redhat.com>
1602 * src/ppp-manager/nm-ppp-manager.c
1603 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1604 to prevent pppd from picking up some random local address from an
1605 interface that doesn't have anything to do with the one we're
1606 interested in (rh #455348)
1608 2008-07-17 Dan Williams <dcbw@redhat.com>
1610 * libnm-util/nm-utils.c
1611 - (string_to_utf8): general function for conversion to UTF-8 assisted
1613 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1614 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1616 2008-07-17 Dan Williams <dcbw@redhat.com>
1618 * introspection/Makefile.am
1619 introspection/nm-device.xml
1620 introspection/nm-dhcp4-config.xml
1621 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1623 * src/nm-device-interface.c
1624 src/nm-device-interface.h
1625 - Add the DHCP4Config property
1628 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1629 D-Bus clients when it changes
1631 * src/nm-dhcp4-config.c
1632 src/nm-dhcp4-config.h
1633 - Simple object to store DHCP4 options, export them over D-Bus, and
1634 notify when they change
1636 * src/dhcp-manager/nm-dhcp-manager.c
1637 src/dhcp-manager/nm-dhcp-manager.h
1638 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1639 filter server-returned DHCP options into an NMDHCP4Config object
1641 2008-07-16 Dan Williams <dcbw@redhat.com>
1643 * introspection/nm-device.xml
1644 - Add device state reasons
1646 2008-07-16 Dan Williams <dcbw@redhat.com>
1648 Patch from Roy Marples <roy@marples.name>
1651 - Add --with-dhcp-client option
1653 * src/dhcp-manager/Makefile.am
1654 - pass DHCP_CLIENT_PATH on compile line
1656 * src/dhcp-manager/nm-dhcp-manager.c
1657 src/dhcp-manager/nm-dhcp-manager.h
1658 - Genericize for both dhcpcd and dhclient
1660 * src/dhcp-manager/nm-dhcp-dhclient.c
1661 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1663 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1664 - Implement support for dhcpcd too
1666 2008-07-16 Tambet Ingo <tambet@gmail.com>
1668 * system-settings/src/nm-system-config-interface.c
1669 (nm_system_config_interface_supports_add): Implement.
1670 (nm_system_config_interface_add_connection): Return a boolean to notify
1673 * system-settings/src/nm-polkit-helpers.c:
1674 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1677 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1678 Return an error when none of the plugins support add or if addition
1679 failed for some reason.
1681 * system-settings/src/nm-system-config-error.h:
1682 * system-settings/src/nm-system-config-error.c: New files, mostly moved
1683 here from nm-polkit-helpers.[ch].
1685 * system-settings/src/Makefile.am: Build new files.
1687 * system-settings/plugins/keyfile/reader.c
1688 (read_array_of_array_of_uint): Make it more general so that it would
1689 work for routes as well.
1691 * system-settings/plugins/keyfile/writer.c
1692 (write_array_of_array_of_uint): Ditto.
1693 Fix the netmask/prefix writing.
1695 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1696 boolean to notify errors.
1698 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1699 Return more specific error.
1702 2008-07-11 Dan Williams <dcbw@redhat.com>
1704 Modify the NMDevice::state-changed signal to include the previous state
1705 and reason. Enables the applet to provide more information why device
1708 2008-07-09 Dan Williams <dcbw@redhat.com>
1710 * callouts/Makefile.am
1711 callouts/nm-avahi-autoipd-action.c
1712 callouts/nm-avahi-autoipd.conf
1713 - avahi-autoipd callout to send options back to NM
1720 src/nm-device-private.h
1722 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1725 2008-07-07 Dan Williams <dcbw@redhat.com>
1727 * system-settings/plugins/ifcfg-fedora/reader.c
1728 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1729 handle PREFIX too; clean up
1731 2008-07-07 Dan Williams <dcbw@redhat.com>
1733 Convert to using IPv4 prefixes instead of netmasks.
1735 2008-07-03 Dan Williams <dcbw@redhat.com>
1737 * libnm-util/nm-setting-ip4-config.c
1738 libnm-util/nm-setting-ip4-config.h
1739 - Add properties for DHCP Client Identifier and DHCP Hostname
1741 * src/dhcp-manager/nm-dhcp-manager.c
1742 src/dhcp-manager/nm-dhcp-manager.h
1743 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
1744 setting as an argument to pass on to the dhclient config file
1746 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
1748 - (dhclient_run): punt config file handling to create_dhclient_config()
1749 - (create_dhclient_config): create an interface-specific dhclient
1750 config file since there may need to be interface-specific options
1752 - (merge_dhclient_config): merge normal distro dhclient config file and
1753 add options from the connection
1754 - (nm_dhcp_device_new): generate the interface specific dhclient
1755 config file path once
1756 - (nm_dhcp_device_destroy): handle partially initialized objects; free
1757 dhclient config file path
1760 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
1761 DHCP manager when starting DHCP
1763 2008-07-02 Dan Williams <dcbw@redhat.com>
1765 * libnm-util/nm-setting-8021x.c
1766 - (verify): allow forcing the PEAP label to 0
1768 2008-07-02 Dan Williams <dcbw@redhat.com>
1770 * introspection/nm-active-connection.xml
1771 introspection/nm-vpn-connection.xml
1772 libnm-glib/nm-active-connection.c
1773 src/nm-activation-request.c
1774 src/nm-active-connection.h
1775 src/vpn-manager/nm-vpn-connection.c
1776 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
1777 and libnm-glib API since sharing didn't get implemented that way
1779 2008-07-02 Dan Williams <dcbw@redhat.com>
1781 * src/nm-device-wifi.c
1782 - (can_scan): don't scan when a shared connection is activated since
1783 that makes drivers mad (causing disconnects); also NM doesn't need
1784 to hedge against disconnects by keeping up-to-date network topology
1785 because the connection originates from the local machine, and thus
1786 there should be no disconnects
1788 2008-07-01 Dan Williams <dcbw@redhat.com>
1790 Fix mobile broadband username/password issues. NM was never requesting
1791 mobile broadband secrets, nor was it passing back the username and password
1794 * marshallers/nm-marshal.list
1795 - Add some new types for activation request objects
1797 * src/nm-activation-request.c
1798 src/nm-activation-request.h
1799 - (get_secrets_cb): pass the caller type in the signal
1800 - (nm_act_request_request_connection_secrets): take a caller type, so
1801 that GetSecrets() reply handlers know who asked for the secrets in
1802 the first place; use secret hints too so the settings service can
1803 figure out exactly what NM wants (ie, PIN or the PPP password)
1805 * src/ppp-manager/nm-ppp-manager.c
1806 src/ppp-manager/nm-ppp-manager.h
1807 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
1808 detect needed secrets when the secret could be blank, like GSM/CDMA
1809 passwords. So always ask for secrets, and send a hint as to what
1810 secret we really want.
1811 - (nm_ppp_manager_update_secrets): make function more generic by making
1812 the device specific class figure out the username and password, and
1813 accept an error argument to return back over D-Bus
1815 * src/nm-device-wifi.c
1816 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1817 nm_act_request_request_connection_secrets()
1818 - (real_connection_secrets_updated): update for 'caller' changes
1822 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
1823 for 'caller' changes
1825 * src/nm-device-ethernet.c
1826 - (real_connection_secrets_updated): update for 'caller' changes and
1827 move logic for getting PPPoE username and password here before
1828 calling nm_ppp_manager_update_secrets()
1829 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1830 nm_act_request_request_connection_secrets()
1832 * src/nm-cdma-device.c
1833 - (real_connection_secrets_updated): pass username and password back
1834 to the PPP manager when required
1836 * src/nm-gsm-device.c
1837 - (enter_pin): send the required secret name to the settings service
1838 - (real_connection_secrets_updated): pass username and password back
1839 to the PPP manager when required
1841 2008-06-30 Dan Williams <dcbw@redhat.com>
1843 * src/nm-device-wifi.c
1844 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
1846 2008-06-30 Dan Williams <dcbw@redhat.com>
1848 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
1849 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
1850 priv->supplicant.iface. When either condition is false, the device should
1851 transition back to UNAVAILABLE because it cannot be used.
1853 * src/nm-device-wifi.c
1854 - (constructor): cleanup; connect to supplicant manager here since the
1855 supplicant manager is always around
1856 - (supplicant_interface_acquire): rename from init_supplicant_interface,
1857 ensure the supplicant manager is in the IDLE state
1858 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
1859 cancel any pending scans too
1860 - (real_bring_up): don't set up the supplicnat interface here, because
1861 we need the supplicant interface at times when the device may not
1863 - (real_take_down): just remove the periodic source
1864 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
1865 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
1866 do anything if there's no supplicant interface
1867 - (cleanup_association_attempt): cleanup
1868 - (supplicant_iface_state_cb_handler): request an immediate scan when
1869 the interface enters the READY state; transition to UNAVAILABLE
1870 state when the interface goes down because the device can't be used
1871 without a supplicant interface
1872 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
1873 up and transition to UNAVAILABLE; if the supplicant becomes ready,
1874 acquire the supplicant interface and transition to DISCONNECTED
1875 if the radio isn't killed
1876 - (nm_device_wifi_dispose): move most of device_cleanup() here
1877 - (state_changed_cb): release any existing supplicant interface; if the
1878 radio is enabled then try to acquire a new supplicant interface;
1879 if the radio is enabled and a supplicant interface has been acquired,
1880 we can transition to DISCONNECTED
1881 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
1882 don't enable the radio, because HAL probably lied to us about the
1883 killswitch being off. If bringing the hardware up worked, then
1884 try to grab a supplicant interface, and if that was successful,
1885 transition to DISCONNECTED
1887 2008-06-30 Dan Williams <dcbw@redhat.com>
1889 * src/supplicant-manager/nm-supplicant-interface.c
1890 - (request_scan_results, nm_supplicant_interface_dispose,
1891 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
1892 the id of the timeout, not a GSource
1894 2008-06-30 Tambet Ingo <tambet@gmail.com>
1896 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
1897 bunch of typoes introduced by "Patch from David Cantrell
1898 <dcantrell@redhat.com> and me".
1900 2008-06-30 Tambet Ingo <tambet@gmail.com>
1902 * src/nm-serial-device.c:
1903 * src/nm-gsm-device.c:
1904 * src/nm-cdma-device.c: Move the pending call handling to a common location
1905 in serial device. Handle setting device state to failed in one place as well.
1907 2008-06-29 Dan Williams <dcbw@redhat.com>
1909 * src/nm-hal-manager.c
1910 - Rework killswitch handling to query killswitch status immediately
1911 when the first killswitch is added, so that rfkill state is
1912 known as early as possible
1913 - Also treat failure of GetPower() as rfkill when the dbus method
1914 call times out (but not when the HAL callout returns an error)
1916 2008-06-26 Dan Williams <dcbw@redhat.com>
1918 Patch from David Cantrell <dcantrell@redhat.com> and me
1920 * include/nm-dbus-glib-types.h
1921 - Add IP6 address types
1923 * libnm-util/Makefile.am
1924 libnm-util/nm-setting-ip6-config.c
1925 libnm-util/nm-setting-ip6-config.h
1926 - Add IP6 settings object
1928 * libnm-util/nm-connection.c
1929 - (register_default_settings): register ip6 settings object
1931 * libnm-util/nm-utils.c
1932 libnm-util/nm-utils.h
1933 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
1934 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
1935 ip6 address conversion functions
1937 2008-06-26 Dan Williams <dcbw@redhat.com>
1939 Patch from David Cantrell <dcantrell@redhat.com>
1941 * Use inet_ntop() and inet_pton() everwhere and check for errors
1943 2008-06-26 Dan Williams <dcbw@redhat.com>
1945 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
1947 2008-06-26 Dan Williams <dcbw@redhat.com>
1949 Patch from Adel Gadllah <adel.gadllah@gmail.com>
1951 * src/nm-device-wifi.c
1952 - (link_timeout_cb): don't ignore disconnects due to scanning
1953 - (supplicant_iface_connection_state_cb_handler): instead, schedule
1954 a longer timeout when scanning; avoids case where supplicant can't
1955 find the AP and just keeps scanning forever but isn't connected
1957 2008-06-26 Dan Williams <dcbw@redhat.com>
1959 Patch from Michael Biebl <biebl@debian.org>
1961 * Clean up build system stuff
1963 2008-06-23 Christian Persch <chpe@gnome.org>
1965 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
1966 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
1967 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
1969 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
1971 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
1972 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
1973 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
1975 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
1976 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
1977 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
1978 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
1979 * vpn-daemons/pptp/properties/vpnui_opt.c:
1980 (vpnui_opt_connect_signals):
1981 * vpn-daemons/pptp/properties/vpnui_opt.h:
1982 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
1983 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
1984 deprecated gtk type macros. Bug #539325.
1986 2008-06-20 Dan Williams <dcbw@redhat.com>
1988 * libnm-glib/nm-vpn-plugin-ui-interface.c
1989 libnm-glib/nm-vpn-plugin-ui-interface.h
1990 - 'validity-changed' -> 'changed' to work better with the connection
1991 editor. Plugin UI widgets should emit 'changed' whenever their
1992 UI values change in a meaningful way.
1993 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
1994 update_connection member now returns validity of the UI widget
1996 2008-06-20 Tambet Ingo <tambet@gmail.com>
1998 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2000 2008-06-17 Dan Williams <dcbw@redhat.com>
2002 * libnm-glib/nm-vpn-plugin-ui-interface.c
2003 libnm-glib/nm-vpn-plugin-ui-interface.h
2004 - Add "desc" property for longer descriptions of the VPN plugin
2006 2008-06-16 Dan Williams <dcbw@redhat.com>
2009 libnm-glib/libnm_glib_vpn.pc.in
2010 - add a .pc file for libnm_glib_vpn
2012 * libnm-glib/nm-vpn-plugin-ui-interface.c
2013 libnm-glib/nm-vpn-plugin-ui-interface.h
2014 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2015 rework it substantially
2017 2008-06-12 Dan Williams <dcbw@redhat.com>
2019 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2020 and add error enums to each NMSetting subclass. Each NMSetting subclass now
2021 returns a descriptive GError when verification fails.
2023 2008-06-11 Dan Williams <dcbw@redhat.com>
2025 Patch from Tambet Ingo <tambet@gmail.com>
2027 * libnm-util/nm-setting-gsm.c
2028 - (verify): validate APN
2030 * src/nm-gsm-device.c
2031 - (manual_registration_done): start setting APN if needed
2032 - (set_apn, set_apn_done): set the APN
2033 - (do_dial): use the APN when dialing
2035 2008-06-11 Dan Williams <dcbw@redhat.com>
2037 * src/NetworkManagerSystem.c
2038 - (nm_system_device_set_ip4_route,
2039 nm_system_device_replace_default_ip4_route): check for the right
2040 return value from rtnl_route_add() to know when to add a gateway
2043 2008-06-11 Dan Williams <dcbw@redhat.com>
2045 * src/NetworkManagerPolicy.c
2046 - do_ipt_cmd -> do_cmd
2047 - (sharing_init): use do_cmd() instead of system()
2049 2008-06-10 Dan Williams <dcbw@redhat.com>
2051 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2052 and use "wifi" everwhere instead.
2054 2008-06-10 Dan Williams <dcbw@redhat.com>
2056 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2058 2008-06-10 Dan Williams <dcbw@redhat.com>
2060 Patch from Tambet Ingo <tambet@gmail.com>
2062 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2065 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2066 a signal to emit these changes over dbus.
2068 * src/Makefile.am: Genereate nm-serial-device-glue.
2070 * libnm-glib/nm-serial-device.[ch]: Implement.
2072 * libnm-glib/nm-cdma-device.[ch]
2073 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2075 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2077 * introspection/nm-device-serial.xml: Implement.
2079 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2081 * introspection/Makefile.am: Add nm-device-serial.xml.
2083 * include/NetworkManager.h: Add a DBus interface for serial device.
2085 2008-06-10 Dan Williams <dcbw@redhat.com>
2088 - Add TARGET_* define to config.h to distinguish distros
2090 * src/dhcp-manager/nm-dhcp-manager.c
2091 - (dhclient_run): use distro-specific path for dhclient config file
2093 2008-06-09 Dan Williams <dcbw@redhat.com>
2095 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2096 src/dnsmasq-manager/nm-dnsmasq-manager.h
2097 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2098 calculate the addresses passed to dnsmasq instead of hard-coding
2102 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2103 IP addresses for shared connections to guard against shared
2104 connection address collisions
2105 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2107 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2110 2008-06-09 Dan Williams <dcbw@redhat.com>
2112 * src/NetworkManagerPolicy.c
2113 - (update_routing_and_dns): set the default connection _after_ unsetting
2114 default on all non-default connections so that two connections can
2115 never be default at the same time
2116 - (device_state_changed): start and stop connection sharing when
2118 - (active_connection_default_changed): restart or stop sharing when
2119 the default connection changes to keep shared connections always
2120 NAT-ed through the default connection
2121 - (check_sharing): handle activation/deactivation of shared connections
2122 - (sharing_restart): atom-bomb approach to connection sharing until we
2123 can use libnl; reinit all sharing when the default connection or
2124 shared connections change
2125 - (sharing_init, sharing_stop): evil functions that init and deinit
2128 2008-06-09 Dan Williams <dcbw@redhat.com>
2130 * src/nm-activation-request.c
2131 src/nm-activation-request.h
2132 - (nm_act_request_set_shared, nm_act_request_get_shared,
2133 nm_act_request_get_device): new functions to facilitate connection
2136 2008-06-09 Dan Williams <dcbw@redhat.com>
2139 - (clear_act_request): unset the 'default' property of the activation
2140 request when clearing it to ensure the property changed signal gets
2141 delivered and handled
2143 2008-06-09 Dan Williams <dcbw@redhat.com>
2145 * libnm-glib/nm-device-802-11-wireless.c
2146 - (access_point_removed_proxy): actually unref the AP after removing
2147 it from the device's AP list. Fixes refcounting bug for APs that
2148 caused them to get mixed up in the applet's menu.
2150 2008-06-09 Tambet Ingo <tambet@gmail.com>
2152 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2153 (nm_dhcp_device_destroy): Destroy the device options hash table.
2155 2008-06-06 Dan Williams <dcbw@redhat.com>
2157 * system-settings/src/nm-polkit-helpers.c
2158 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2159 unref the context if the initialization fails; also avoid spew when
2162 2008-06-06 Dan Williams <dcbw@redhat.com>
2164 Patch from Tambet Ingo <tambet@gmail.com>
2166 * src/NetworkManagerSystem.c
2167 src/NetworkManagerSystem.h
2168 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2169 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2170 - (nm_system_device_set_ip4_route): clean up
2171 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2174 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2176 * src/vpn-manager/nm-vpn-connection.c
2177 - (ip_address_to_string): new function
2178 - (print_vpn_config): use ip_address_to_string
2179 - (merge_vpn_routes): add user-defined routes to the ip4 config
2180 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2182 * include/NetworkManagerVPN.h
2185 2008-06-05 Dan Williams <dcbw@redhat.com>
2187 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2190 - Show which device is the default device
2192 2008-06-05 Tambet Ingo <tambet@gmail.com>
2196 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2197 Free data returned from dbus method call.
2199 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2200 dbus_g_method_get_sender() returns a duplicated string, free it
2202 (check_polkit_privileges): Looks like policykit sometimes returns
2203 error and non-null return value, don't leak errors in that case.
2205 * system-settings/src/main.c (find_plugin): Don't leak existing
2207 (load_stuff): Don't leak device list and list items.
2208 (have_connection_for_device): Don't leak connection list.
2210 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2211 Free the data received from g_keyfile_get_*.
2213 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2214 the key when the security object is updated.
2216 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2217 Free data returned from dbus method call.
2218 (iface_state_cb): Ditto.
2219 (add_network_cb): Ditto.
2220 (nm_supplicant_interface_add_cb): Don't make another copy of already
2221 duplicated object path.
2222 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2225 * src/supplicant-manager/nm-supplicant-config.c
2226 (ADD_STRING_LIST_VAL): Fix a memory leak.
2228 * src/nm-manager.c (free_get_settings_info): Free the allocated
2230 (list_connections_cb): Free data returned from dbus method call.
2231 (system_settings_get_unmanaged_devices_cb): Ditto.
2233 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2235 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
2236 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
2237 * src/backends/shvar.c (svCloseFile): Free the duplicated content
2240 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2241 arguments after the object is created.
2243 2008-06-04 Dan Williams <dcbw@redhat.com>
2245 * libnm-util/Makefile.am
2246 - Don't distribute nm-param-spec-specialized.h
2248 2008-06-02 Tambet Ingo <tambet@gmail.com>
2250 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2252 * src/nm-ip4-config.[ch]: Store the static routes as a list of
2253 NMIP4Address, update the getters and setters.
2255 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2256 Use the updated NMIP4Config routes api.
2258 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2259 static routes as well.
2261 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2262 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2265 2008-05-30 Dan Williams <dcbw@redhat.com>
2267 * src/named-manager/nm-named-manager.c
2268 src/named-manager/nm-named-manager.h
2269 - Remove stale/obsolete bits for controlling bind over DBus
2271 2008-05-29 Dan Williams <dcbw@redhat.com>
2273 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2274 src/dnsmasq-manager/nm-dnsmasq-manager.h
2275 - (nm_dnsmasq_manager_new): move iface argument here
2276 - (constructor): remove, not needed
2277 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2278 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2281 - (real_act_stage4_get_ip4_config,
2282 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2285 2008-05-29 Dan Williams <dcbw@redhat.com>
2288 - (dnsmasq_state_changed_cb): new function; fail the connection if
2289 something happens to dnsmasq
2290 - (nm_device_new_ip4_shared_config): new function; create a new
2291 ip4-config for shared connections. Shared connections always use a
2292 fixed static IP address.
2293 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2294 autoip connections by actually using the returned ip4-config and
2296 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2298 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2301 2008-05-29 Dan Williams <dcbw@redhat.com>
2303 * src/nm-device-802-11-wireless.c
2304 - (real_get_best_auto_connection): auto-activate 'shared' method
2307 2008-05-29 Dan Williams <dcbw@redhat.com>
2309 * libnm-util/nm-setting-ip4-config.c
2310 libnm-util/nm-setting-ip4-config.h
2311 - Add a 'shared' method to indicate that this connection should be
2312 brought up with a DHCP and proxy DNS server to facilitate
2314 - (verify): 'shared' method doesn't allow DNS or searches either
2316 2008-05-29 Dan Williams <dcbw@redhat.com>
2320 src/dnsmasq-manager/Makefile.am
2321 src/dnsmasq-manager/nm-dnsmasq-manager.c
2322 src/dnsmasq-manager/nm-dnsmasq-manager.h
2323 - Add a dnsmasq daemon manager to facilitate connection sharing
2325 2008-05-29 Dan Williams <dcbw@redhat.com>
2327 * src/nm-device-private.h
2328 - Remove unused prototypes and clean up
2331 - Remove anything related to system_config_data, which is no longer used
2332 - (nm_device_new_ip4_autoip_config): make static
2334 2008-05-29 Tambet Ingo <tambet@gmail.com>
2336 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2337 (file_changed): Fix a bug where suse system settings plugin didn't
2338 update the connections automatically when the files changed.
2340 2008-05-28 Dan Williams <dcbw@redhat.com>
2342 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2344 2008-05-28 Dan Williams <dcbw@redhat.com>
2346 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2348 * src/NetworkManagerSystem.c
2349 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2350 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2351 was causing -EINVAL errors since the libnl code actually does flush
2352 the routes on VPN interfaces now
2354 * src/backends/NetworkManagerArch.c
2355 src/backends/NetworkManagerDebian.c
2356 src/backends/NetworkManagerFrugalware.c
2357 src/backends/NetworkManagerGeneric.c
2358 src/backends/NetworkManagerGentoo.c
2359 src/backends/NetworkManagerMandriva.c
2360 src/backends/NetworkManagerPaldo.c
2361 src/backends/NetworkManagerRedHat.c
2362 src/backends/NetworkManagerSlackware.c
2363 src/backends/NetworkManagerSuSE.c
2364 - (nm_system_device_flush_ip4_routes,
2365 nm_system_device_flush_ip4_routes_with_iface): remove
2367 2008-05-28 Dan Williams <dcbw@redhat.com>
2369 * libnm-util/nm-setting-wireless.c
2370 libnm-util/nm-setting-wireless.h
2371 - (set_property, get_property, nm_setting_wireless_class_init): add the
2372 'adhoc-create' property, which when TRUE indicates that NM should
2373 create this connection as an adhoc wifi network if it's not found
2374 as an adhoc network during scanning. Can be used to auto-create
2375 adhoc networks when used in combination with autoconnect.
2377 2008-05-28 Tambet Ingo <tambet@gmail.com>
2379 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2381 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2382 checked, it doesn't work on some devices.
2384 2008-05-28 Tambet Ingo <tambet@gmail.com>
2386 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
2387 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2389 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2390 Use inet_aton() everywhere to improve error detection.
2391 Don't fall back to 'dhcp_server_identifier' if the gateway is not
2394 2008-05-26 Tambet Ingo <tambet@gmail.com>
2396 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2399 2008-05-26 Tambet Ingo <tambet@gmail.com>
2401 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2402 reference counting issue.
2404 2008-05-23 Dan Williams <dcbw@redhat.com>
2406 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2408 * src/backends/NetworkManagerGeneric.c
2409 - (nm_generic_enable_loopback): use libnl
2411 2008-05-23 Dan Williams <dcbw@redhat.com>
2413 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2415 * src/NetworkManagerSystem.h
2416 src/backends/NetworkManagerArch.c
2417 src/backends/NetworkManagerDebian.c
2418 src/backends/NetworkManagerFrugalware.c
2419 src/backends/NetworkManagerGentoo.c
2420 src/backends/NetworkManagerMandriva.c
2421 src/backends/NetworkManagerPaldo.c
2422 src/backends/NetworkManagerRedHat.c
2423 src/backends/NetworkManagerSlackware.c
2424 src/backends/NetworkManagerSuSE.c
2425 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2426 nm_system_flush_arp_cache): remove, unused
2428 * src/backends/NetworkManagerGeneric.c
2429 src/backends/NetworkManagerGeneric.h
2430 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2431 nm_generic_flush_arp_cache): remove, unused
2433 2008-05-23 Dan Williams <dcbw@redhat.com>
2435 * system-settings/plugins/ifcfg-fedora/reader.c
2436 - (make_ip4_setting): honor PEERDNS setting
2438 2008-05-23 Dan Williams <dcbw@redhat.com>
2440 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2442 * src/NetworkManagerSystem.c
2443 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2446 * src/backends/NetworkManagerArch.c
2447 src/backends/NetworkManagerDebian.c
2448 src/backends/NetworkManagerFrugalware.c
2449 src/backends/NetworkManagerGentoo.c
2450 src/backends/NetworkManagerMandriva.c
2451 src/backends/NetworkManagerPaldo.c
2452 src/backends/NetworkManagerRedHat.c
2453 src/backends/NetworkManagerSlackware.c
2454 src/backends/NetworkManagerSuSE.c
2455 - (nm_system_device_flush_ip4_addresses,
2456 nm_system_device_flush_ip4_addresses_with_iface): remove
2458 * src/backends/NetworkManagerGeneric.c
2459 - (nm_generic_device_flush_ip4_addresses,
2460 nm_generic_device_flush_ip4_addresses_with_iface): remove
2462 2008-05-23 Dan Williams <dcbw@redhat.com>
2464 * src/supplicant-manager/nm-supplicant-settings-verify.c
2465 - Switch 'bssid' from bytes to keyword type
2466 - (validate_type_keyword): allow NULL keyword lists
2468 * src/supplicant-manager/nm-supplicant-config.c
2469 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2470 a byte array to string form, which is what the supplicant expects
2472 2008-05-23 Tambet Ingo <tambet@gmail.com>
2474 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2475 information received from DHCP.
2477 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2478 to make it possible to ignore the DNS information (both servers and
2479 searches) returned by DHCP server.
2481 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2482 name servers and searches if "ignore_dhcp_dns" is set.
2484 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2485 (nm_ip4_config_reset_searches): Implement.
2487 2008-05-22 Dan Williams <dcbw@redhat.com>
2489 Remove anything mDNS related. This is better done from a distro-specific
2490 dispatcher script. Plus, any distro using avahi doesn't need to restart
2491 avahi, since avahi can handle interface changes just fine using netlink.
2494 - Remove --with-mdns-provider
2496 * src/NetworkManagerPolicy.c
2497 - (global_state_changed): don't restart the mdns provider
2499 * src/NetworkManagerSystem.h
2500 src/backends/NetworkManagerArch.c
2501 src/backends/NetworkManagerDebian.c
2502 src/backends/NetworkManagerFrugalware.c
2503 src/backends/NetworkManagerGentoo.c
2504 src/backends/NetworkManagerMandriva.c
2505 src/backends/NetworkManagerPaldo.c
2506 src/backends/NetworkManagerRedHat.c
2507 src/backends/NetworkManagerSlackware.c
2508 src/backends/NetworkManagerSuSE.c
2509 - (nm_system_restart_mdns_responder): remove
2511 * src/backends/NetworkManagerGeneric.c
2512 src/backends/NetworkManagerGeneric.h
2513 - (nm_generic_restart_mdns_responder): remove
2515 2008-05-22 Dan Williams <dcbw@redhat.com>
2518 - clean up crypto options; just use --with-crypto=nss or
2519 --with-crypto=gnutls
2521 2008-05-22 Tambet Ingo <tambet@gmail.com>
2523 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2524 anymore, do it right away.
2526 2008-05-22 Tambet Ingo <tambet@gmail.com>
2528 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2529 serial device open when we're not connecting or connected.
2531 * src/nm-cdma-device.c (device_state_changed): Ditto.
2533 2008-05-22 Tambet Ingo <tambet@gmail.com>
2535 Don't remove all devices on waking up, sync with HAL.
2537 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2538 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2539 (hal_manager_hal_reappeared_cb): Just call sync_devices.
2541 2008-05-21 Tambet Ingo <tambet@gmail.com>
2543 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2544 If the default gateway is unreachable, add a route to gateway and try
2547 2008-05-20 Dan Williams <dcbw@redhat.com>
2549 * system-settings/plugins/ifcfg-fedora/reader.c
2550 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2552 2008-05-19 Dan Williams <dcbw@redhat.com>
2554 * system-settings/plugins/ifcfg-fedora/reader.c
2555 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2556 if the ifcfg doesn't specify one (rh #446527)
2558 2008-05-19 Dan Williams <dcbw@redhat.com>
2560 Make the system settings service exit when the bus goes away. Since it's
2561 a bus-activated service, it's lifetime is limited to the bus that activated
2564 * system-settings/src/Makefile.am
2565 system-settings/src/nm-system-config-hal-manager-private.h
2566 - Remove nm-system-config-hal-manager-private.h
2568 * system-settings/src/nm-system-config-hal-manager.c
2569 - (nm_system_config_hal_manager_reinit_dbus,
2570 nm_system_config_hal_manager_deinit_dbus): remove
2572 * system-settings/src/main.c
2573 - (dbus_reconnect): remove
2574 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2575 - (destroy_cb): just quit when the bus goes away
2576 - (start_dbus_service, dbus_init): simplify
2577 - (main): destroy the wired devices hash table after destroying
2578 the HAL manager so we don't have to disconnect signals from the
2581 2008-05-15 Tambet Ingo <tambet@gmail.com>
2583 Move crypto functions from nm-applet to libnm-util.
2585 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2586 (nm_setting_802_1x_set_client_cert)
2587 (nm_setting_802_1x_set_phase2_ca_cert)
2588 (nm_setting_802_1x_set_phase2_client_cert)
2589 (nm_setting_802_1x_set_private_key)
2590 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2591 file (or private key and it's password), read the certificate data.
2593 * libnm-util/crypto_nss.c:
2594 * libnm-util/crypto_gnutls.c:
2595 * libnm-util/crypto.[ch]: Move here from nm-applet.
2597 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2599 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2600 Imlement WPA-EAP configuration reading from sysconfig.
2602 2008-05-16 Dan Williams <dcbw@redhat.com>
2604 * src/nm-device-802-11-wireless.c
2605 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2608 2008-05-14 Dan Williams <dcbw@redhat.com>
2610 Fix Linus' bug in rh #134886
2612 * src/nm-device-802-3-ethernet.c
2613 - (constructor): request initial carrier state
2615 * src/nm-netlink-monitor.c
2616 - (nm_netlink_monitor_request_status): schedule emission of carrier
2617 signals after refilling the link cache. Because the refill is a
2618 synchronous operation, the normal message hander won't get called
2619 since libnl has already consumed the messages.
2620 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2622 2008-05-14 Dan Williams <dcbw@redhat.com>
2624 * src/NetworkManagerSystem.c
2625 - (nm_system_device_is_up_with_iface): clean up
2627 2008-05-13 Dan Williams <dcbw@redhat.com>
2629 Fix refcounting issues over sleep/wake when a VPN connection was active that
2630 caused NM to try registering an object path for a device upon wake that was
2631 the same as an already registered object path.
2634 - (nm_device_take_down): properly handle cases where the device is
2635 no longer active but was just active, and therefore must be
2636 deactivated. When a device moves to unmanaged mode, this function
2637 previously would not deactivate the device, because the state was
2638 already unmanaged by the time this function was called.
2640 * src/vpn-manager/nm-vpn-connection.c
2641 - (device_state_changed): properly handle multiple devices states in
2642 which the device is now deactivated. Code previously didn't handle
2643 transitions to the UNAVAILABLE (like rfkill or carrier off) and
2646 2008-05-13 Dan Williams <dcbw@redhat.com>
2648 * src/nm-device-private.h
2650 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2652 * src/nm-device-802-11-wireless.c
2653 - (nm_device_802_11_wireless_set_enabled): take devices up
2654 and down as appropriate for the rfkill state
2656 2008-05-13 Dan Williams <dcbw@redhat.com>
2658 * marshallers/nm-marshal.list
2659 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2661 * system-settings/plugins/ifcfg-fedora/Makefile.am
2662 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2663 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2664 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2665 events. Solely for use watching ifcfg files to pick up changes
2666 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2668 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2669 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2670 file contents change
2671 - (finalize): clean up inotify watches
2672 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2673 and the connection ifcfg for changes on their hardlinks
2674 - (files_changed_cb): proxy the changed signal back out to listeners
2676 * system-settings/plugins/ifcfg-fedora/plugin.c
2678 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2680 - (read_one_connection): connect to change signals on the new connection
2681 - (dir_changed, connection_changed_handler,
2682 handle_connection_remove_or_new): break out connection change
2683 handling and connection new/remove handling so it can be used from
2684 both the GFileMonitor callback and the NMIfcfgConnection changed
2687 * system-settings/plugins/ifcfg-fedora/reader.c
2688 system-settings/plugins/ifcfg-fedora/reader.h
2689 - (connection_from_file): return the keyfile path the connection would use
2691 2008-05-13 Tambet Ingo <tambet@gmail.com>
2693 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
2694 single PolKitContext which is shared by all. PolKitContext::unref leaks
2695 just about everything, including all open file descriptiors and results
2696 in 99% cpu usage when data arrives to any of the fds that don't belong
2697 to any context anymore.
2699 2008-05-12 Dan Williams <dcbw@redhat.com>
2701 * gfilemonitor/glocaldirectorymonitor.c
2702 gfilemonitor/glocaldirectorymonitor.h
2703 - (g_local_directory_monitor_constructor): actually subscribe to the
2705 - (_g_local_directory_monitor_new): ensure that inotify is started up
2707 * gfilemonitor/glocalfilemonitor.c
2708 gfilemonitor/glocalfilemonitor.h
2709 - (g_local_file_monitor_constructor): actually subscribe to the watch
2710 - (_g_local_file_monitor_new): ensure that inotify is started up
2712 2008-05-11 Dan Williams <dcbw@redhat.com>
2715 - record PolicyKit version
2717 * system-settings/src/nm-polkit-helpers.c
2718 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2719 with PolicyKit <= 0.6
2721 2008-05-11 Dan Williams <dcbw@redhat.com>
2723 Update Fedora system-settings plugin to support latest API and use
2724 GFileMonitor rather than home-rolled inotify code.
2726 * system-settings/plugins/ifcfg-fedora/Makefile.am
2727 system-settings/plugins/ifcfg-fedora/common.h
2728 system-settings/plugins/ifcfg-fedora/plugin.c
2729 - Update to latest system settings plugin API; use GIO instead of
2730 custom inotify code; use NMIfcfgConnection objects instead of
2731 ConnectionData structures tacked onto NMConnection objects
2733 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2734 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2735 - Implement an NMExportedConnection subclass mapping ifcfg files to
2738 * system-settings/plugins/ifcfg-fedora/reader.c
2739 system-settings/plugins/ifcfg-fedora/reader.h
2740 - Move ifcfg parsing bits here from parser.c
2742 * system-settings/plugins/ifcfg-fedora/parser.c
2743 system-settings/plugins/ifcfg-fedora/parser.h
2744 - Remove; most code moved to reader.c
2746 2008-05-11 Dan Williams <dcbw@redhat.com>
2751 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
2752 implementation, so that the same change monitoring code can be used
2753 on systems without glib-2.14 (like Fedora 8)
2755 * system-settings/plugins/keyfile/Makefile.am
2756 system-settings/plugins/keyfile/plugin.c
2757 system-settings/plugins/ifcfg-suse/Makefile.am
2758 system-settings/plugins/ifcfg-suse/plugin.c
2759 - Use private gfilemonitor code if GIO is not present
2761 2008-05-09 Tambet Ingo <tambet@gmail.com>
2763 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
2764 NMExportedConnection's 'update' and 'delete' and return error with
2765 descriptive message.
2767 2008-05-08 Dan Williams <dcbw@redhat.com>
2769 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2771 * src/nm-gsm-device.c
2772 src/nm-cdma-device.c
2773 - (real_get_best_auto_connection): implement; allow autoconnection
2774 to GSM & CDMA devices
2776 2008-05-08 Tambet Ingo <tambet@gmail.com>
2778 Use PolicyKit to authorize the system settings' AddConnection method
2779 and the system settings connections' Update and Delete methods.
2781 * libnm-glib/nm-settings.c (impl_exported_connection_update)
2782 (impl_exported_connection_delete, nm_exported_connection_update)
2783 (nm_exported_connection_delete): Return boolean and fill GError
2784 to notify the callers of the reasons why it might have failed.
2786 * libnm-glib/nm-dbus-settings-system.c
2787 (nm_dbus_settings_system_add_connection): Return the error from dbus
2788 call so that the callers can see why it failed.
2790 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
2793 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
2795 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
2796 abstract base class that checks PolicyKit permissions.
2798 * system-settings/src/dbus-settings.c:
2799 (impl_settings_add_connection): Check the policy before carring out
2802 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
2803 Inherit from NMSysconfigConnection, check the policies before
2804 allowing updating or removing.
2806 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
2807 Inherit from NMSysconfigConnection.
2809 * introspection/nm-exported-connection.xml: Annotate "Update" and
2810 "Delete" methods with async flag so that the implementations can get
2811 access to DBusGMethodInvocation.
2813 * system-settings/src/dbus-settings.c
2814 (settings_add_connection_check_privileges): Implement.
2815 (impl_settings_add_connection): Check the privileges before adding a new
2816 connection. Improve error reporting.
2818 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
2819 async so that the implementation can access DBusGMethodInvocation.
2821 * configure.in: Check for PolicyKit.
2823 * policy/org.freedesktop.network-manager-settings.system.policy:
2826 * policy/Makefile.am: Install the policy file.
2828 * configure.in: Add 'policy' subdir.
2830 2008-05-08 Tambet Ingo <tambet@gmail.com>
2832 Rewrite the suse system settings plugin.
2834 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
2836 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
2838 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
2840 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
2842 * system-settings/src/dbus-settings.c: Fix connection reference counting.
2844 * system-settings/src/main.c (load_plugins): Improve error reporting.
2846 * system-settings/src/sha1.[ch] Add.
2848 * system-settings/src/Makefile.am: Add sha1[ch] to build.
2850 2008-05-07 Dan Williams <dcbw@redhat.com>
2852 * system-settings/plugins/keyfile/reader.c
2853 - (read_one_setting_value): handle IP address items separately
2854 - (read_array_of_uint): read IPv4 DNS option as a string array
2855 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
2858 * system-settings/plugins/keyfile/writer.c
2859 - (write_setting_value): handle IP address items separately
2860 - (write_array_of_uint): handle IPv4 DNS option as a string array,
2861 not an array of uint, so that it's user-editable
2862 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
2863 arrays, so they are user-editable
2865 2008-05-07 Dan Williams <dcbw@redhat.com>
2867 * system-settings/plugins/keyfile/Makefile.am
2868 - Change location of the keyfile plugin settings to
2869 /etc/NetworkManager/system-connections
2871 2008-05-05 Tambet Ingo <tambet@gmail.com>
2873 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
2875 * system-settings/plugins/keyfile/plugin.c: Work with
2876 NMKeyfileConnections.
2878 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
2879 Plugins are supposed to return NMExportedConnections now and handle the
2880 updated(), removed(), and GetSecrets().
2881 Store the internal list of connections in hash table to make it easier
2884 2008-05-07 Tambet Ingo <tambet@gmail.com>
2886 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
2887 for multiple IP addresses.
2889 2008-05-07 Tambet Ingo <tambet@gmail.com>
2891 Patch from André Lemos.
2893 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
2896 2008-05-06 Dan Williams <dcbw@redhat.com>
2898 * src/dhcp-manager/nm-dhcp-manager.c
2899 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
2900 NMIP4Config to support multiple IP addresses
2902 * src/NetworkManagerUtils.c
2903 - (nm_utils_merge_ip4_config): update for multiple IP addresses
2905 * src/nm-ip4-config.c
2907 - Store a list of IPv4 address/netmask/gateway tuples
2908 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
2909 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
2910 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
2911 nm_ip4_config_set_address): remove
2912 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
2913 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
2914 new functions; handle multiple IPv4 addresses
2917 src/ppp-manager/nm-ppp-manager.c
2918 src/vpn-manager/nm-vpn-connection.c
2919 src/NetworkManagerPolicy.c
2921 libnm-glib/libnm-glib-test.c
2922 - update for changes to NMIP4Config for multiple IPv4 addresses
2924 * src/NetworkManagerSystem.c
2925 - (nm_system_device_set_ip4_route): don't add the route if any address
2926 is on the same subnet as the destination
2927 - (check_one_address): ignore the exact match, just match family and
2929 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
2931 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
2932 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
2934 * introspection/nm-ip4-config.xml
2935 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
2936 - Add 'addresses' property which is an array of (uuu) tuples of
2937 address/netmask/gateway
2939 * libnm-util/nm-setting-ip4-config.c
2940 - (set_property): use ip-address <-> GValue converters from nm-utils.c
2942 * libnm-glib/nm-ip4-config.c
2943 libnm-glib/nm-ip4-config.h
2944 - Handle D-Bus interface changes to support multiple IP addresses
2946 2008-05-06 Dan Williams <dcbw@redhat.com>
2948 * libnm-util/nm-utils.c
2949 libnm-util/nm-utils.h
2950 - (nm_utils_ip4_addresses_from_gvalue,
2951 nm_utils_ip4_addresses_to_gvalue): new functions
2953 2008-05-06 Tambet Ingo <tambet@gmail.com>
2955 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
2956 the returned connection paths.
2958 2008-05-05 Tambet Ingo <tambet@gmail.com>
2960 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
2961 "PropertiesChanged" signal signature.
2963 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
2964 defined in nm-dbus-glib-types.h.
2965 Don't register the connection on dbus, we're a proxy class to
2966 communicate with an already registered connection over dbus.
2968 2008-04-30 Tambet Ingo <tambet@gmail.com>
2970 Implement new subclasses of NMSettings and NMExportedConnection to make
2971 it easier for the applet to access and modify system settings.
2973 * libnm-glib/nm-dbus-connection.[ch]:
2974 * libnm-glib/nm-dbus-settings.[ch]:
2975 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
2977 * libnm-glib/Makefile.am: Add the new files to build, generate some more
2980 * include/NetworkManager.h: Define the system settings DBus interface.
2982 2008-04-30 Tambet Ingo <tambet@gmail.com>
2984 Implement additional C API for exported connections to make them identical
2985 with the DBus API. Change the (list_connections) virtual function to be
2986 more usable from C - instead of requiring implementers to return a GPtrArray
2987 of dbus paths, return a list of connections.
2989 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
2990 (nm_settings_list_connections):
2991 (nm_exported_connection_new):
2992 (nm_exported_connection_update):
2993 (nm_exported_connection_delete): Implement.
2995 (impl_settings_list_connections):
2996 (impl_exported_connection_update):
2997 (impl_exported_connection_delete): Use the new public functions to make
2998 sure the C and dbus interfaces stay in sync.
3000 * system-settings/src/dbus-settings.c (list_connections): Return a list of
3003 2008-05-02 Dan Williams <dcbw@redhat.com>
3005 * system-settings/plugins/ifcfg-fedora/plugin.c
3006 - (dispose): use right unref call on the DBusGConnection
3008 2008-05-02 Dan Williams <dcbw@redhat.com>
3010 * src/nm-serial-device.c
3011 - (find_terminator): don't compare the whole line, just the size of the
3012 terminator, since some modems put stuff after the terminator, like
3015 2008-05-01 Dan Williams <dcbw@redhat.com>
3017 Patch from Michael Biebl <biebl@debian.org>
3019 * callouts/Makefile.am
3020 callouts/org.freedesktop.nm_dispatcher.service.in
3021 system-settings/src/Makefile.am
3022 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3023 - use the right install location for dbus-activated stuff
3025 2008-04-30 Dan Williams <dcbw@redhat.com>
3027 * src/nm-gsm-device.c
3028 - (enter_pin): fix setting name passed to applets when asking for a GSM
3031 2008-04-30 Dan Williams <dcbw@redhat.com>
3034 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3036 2008-04-30 Dan Williams <dcbw@redhat.com>
3038 * src/nm-device-802-3-ethernet.c
3039 src/nm-device-802-11-wireless.c
3040 - (real_is_up): return true instead of chaining up to unimplemented
3043 2008-04-30 Dan Williams <dcbw@redhat.com>
3045 * src/NetworkManagerSystem.c
3046 src/NetworkManagerSystem.h
3047 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3048 functions to check device flags for IFF_UP
3050 * src/nm-serial-device.c
3051 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3054 * src/nm-device-802-3-ethernet.c
3055 src/nm-device-802-11-wireless.c
3056 - (real_hw_is_up): call nm_system_device_is_up()
3059 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3060 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3063 2008-04-29 Dan Williams <dcbw@redhat.com>
3065 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3067 * marshallers/nm-marshal.list
3070 * src/NetworkManager.c
3071 - (main): let the NMManager handle the NMHalManager
3073 * src/nm-hal-manager.c
3074 src/nm-hal-manager.h
3075 - convert to a GObject, and emit singals when stuff changes. Let the
3076 NMManager handle the signals, instead of the NMHalManager calling
3081 - (remove_one_device): consolidate device removals here
3082 - (dispose): use remove_one_device()
3083 - (nm_manager_get_device_by_udi): make static
3084 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3085 manager for devices at startup or wakeup time
3086 - (nm_manager_new): create and monitor the HAL manager
3087 - (hal_manager_udi_added_cb): new function; do what
3088 nm_manager_add_device() used to do when signalled by the hal manager
3089 - (hal_manager_udi_removed_cb): new function; do what
3090 nm_manager_remove_device() used to do when signalled by the hal
3092 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3094 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3095 in our device list that aren't known to HAL
3096 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3097 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3099 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3100 nm_manager_activation_pending, nm_manager_wireless_enabled,
3101 nm_manager_wireless_hardware_enabled,
3102 nm_manager_set_wireless_hardware_enabled): remove, unused
3104 2008-04-28 Dan Williams <dcbw@redhat.com>
3106 Fix the device up/down ambiguities. Up/down state used to be a
3107 conglomeration of hardware state (IFF_UP) and any device-specific things
3108 (supplicant, periodic timers, etc) that the device used to indicate
3109 readiness. Unfortunately, if the hardware was already IFF_UP for some
3110 reason, then the device specific stuff wouldn't get run, and the device
3115 - Create hw_is_up, hw_bring_up, and hw_take_down
3116 - Rename bring_down -> take_down
3117 - (real_hw_is_up): check interface flags for IFF_UP
3118 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3119 - (nm_device_is_up): make static; only used locally
3120 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3121 if the device is already up; if the device isn't up, bring it up
3122 - (nm_device_hw_take_down): just take down hardware
3123 - (nm_device_bring_up): bring up HW first, then device specific stuff
3124 - (nm_device_take_down): always deactivate device when called; always
3125 try to take hardware down too
3126 - (nm_device_state_changed): take device down when entering unmanaged
3127 state from a higher state
3129 * src/nm-device-802-11-wireless.c
3130 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3132 - (real_take_down, supplicant_iface_state_cb_handler,
3133 supplicant_iface_connection_state_cb_handler,
3134 supplicant_mgr_state_cb_handler): fix some messages
3136 * src/nm-device-802-3-ethernet.c
3137 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3140 2008-04-28 Dan Williams <dcbw@redhat.com>
3144 - (nm_manager_error_get_type): add new error
3145 - (nm_manager_remove_device): don't bother taking down the device here,
3146 the state change from unmanaging the device will do it
3147 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3148 uses it; when going to sleep, just unmanage the device instead of
3149 taking it down, because stuff will cleaned up correctly when the
3150 device gets unmanaged
3152 2008-04-28 Dan Williams <dcbw@redhat.com>
3154 * src/nm-hal-manager.c
3155 - (add_initial_devices): convert to a GSourceFunc prototype
3156 - (nm_manager_state_changed): when coming out of sleep, punt the
3157 device re-addition to an idle handler to let D-Bus events go out
3158 first, fixing a potential dbus-glib assert if the old device was
3159 not yet disposed (due to references held while emitting the D-Bus
3160 signals) but the new device was found, because the mainloop didn't
3161 run between signal emission and add_initial_devices()
3163 2008-04-27 Dan Williams <dcbw@redhat.com>
3165 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3167 * initscript/paldo/NetworkManager.in
3168 initscript/SUSE/networkmanager.in
3169 - Remove last bits of dhcdbd
3171 2008-04-27 Dan Williams <dcbw@redhat.com>
3173 * src/nm-device-802-11-wireless.c
3174 - (link_timeout_cb): don't ask for secrets when disconnected during
3175 association/authentication phase, drivers are still just too crappy
3177 2008-04-27 Dan Williams <dcbw@redhat.com>
3181 dispatcher-daemon/Makefile.am
3182 dispatcher-daemon/NetworkManagerDispatcher.c
3183 initscript/Arch/Makefile.am
3184 initscript/Arch/networkmanager-dispatcher.in
3185 initscript/Gentoo/Makefile.am
3186 initscript/Gentoo/NetworkManagerDispatcher.in
3187 initscript/Mandriva/Makefile.am
3188 initscript/Mandriva/networkmanagerdispatcher.in
3189 initscript/RedHat/Makefile.am
3190 initscript/RedHat/NetworkManagerDispatcher.in
3191 initscript/SUSE/Makefile.am
3192 initscript/SUSE/networkmanager-dispatcher.in
3193 initscript/Slackware/Makefile.am
3194 initscript/Slackware/rc.networkmanager-dispatcher.in
3195 initscript/paldo/Makefile.am
3196 initscript/paldo/NetworkManagerDispatcher.in
3198 man/NetworkManagerDispatcher.8.in
3199 - Remove the dispatcher daemon
3201 2008-04-27 Dan Williams <dcbw@redhat.com>
3203 * callouts/Makefile.am
3204 callouts/nm-dispatcher-action.c
3205 callouts/nm-dispatcher-action.h
3206 callouts/nm-dispatcher.conf
3207 callouts/nm-dispatcher.xml
3208 callouts/org.freedesktop.nm_dispatcher.service
3209 - Re-implement the dispatcher as a system-bus activated service that
3210 NM calls on-demand, rather than an always running daemon
3213 - Add callouts dir to includes to pick up dispatcher defines
3216 - (nm_device_state_changed): call dispatcher on device activated/
3219 * src/vpn-manager/nm-vpn-connection.c
3220 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3223 * src/NetworkManagerUtils.c
3224 src/NetworkManagerUtils.h
3225 - (nm_utils_call_dispatcher): helper to call dispatcher
3227 2008-04-27 Dan Williams <dcbw@redhat.com>
3229 * src/NetworkManagerUtils.c
3230 src/NetworkManagerUtils.h
3231 - remove unneeded includes
3232 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3233 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3234 nm_timeval_cmp, nm_timeval_add): remove, unused
3235 - clean up formatting
3236 - (nm_spawn_process): de-uglify
3238 * src/nm-device-802-11-wireless.c
3239 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3241 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
3243 * initscript/Gentoo/NetworkManager.in:
3244 Fix for starting the daemon.
3246 2008-04-25 Dan Williams <dcbw@redhat.com>
3248 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3250 * src/NetworkManagerSystem.c
3251 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3253 2008-04-25 Dan Williams <dcbw@redhat.com>
3255 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3257 * src/NetworkManagerSystem.c
3258 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3259 implementation of nm_system_device_replace_default_route()
3261 * src/NetworkManagerPolicy.c
3262 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3264 * src/backends/NetworkManagerArch.c
3265 src/backends/NetworkManagerDebian.c
3266 src/backends/NetworkManagerFrugalware.c
3267 src/backends/NetworkManagerGeneric.c
3268 src/backends/NetworkManagerGeneric.h
3269 src/backends/NetworkManagerGentoo.c
3270 src/backends/NetworkManagerMandriva.c
3271 src/backends/NetworkManagerPaldo.c
3272 src/backends/NetworkManagerRedHat.c
3273 src/backends/NetworkManagerSlackware.c
3274 src/backends/NetworkManagerSuSE.c
3275 - (nm_system_device_replace_default_route): remove
3277 2008-04-25 Dan Williams <dcbw@redhat.com>
3279 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3281 * src/NetworkManagerSystem.c
3282 - (validate_ip4_route): remove; use nl_addr_parse() instead
3283 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3284 replace nm_system_device_add_route_via_device_with_iface() in the
3287 * src/backends/NetworkManagerArch.c
3288 src/backends/NetworkManagerDebian.c
3289 src/backends/NetworkManagerFrugalware.c
3290 src/backends/NetworkManagerGeneric.c
3291 src/backends/NetworkManagerGeneric.h
3292 src/backends/NetworkManagerGentoo.c
3293 src/backends/NetworkManagerMandriva.c
3294 src/backends/NetworkManagerPaldo.c
3295 src/backends/NetworkManagerRedHat.c
3296 src/backends/NetworkManagerSlackware.c
3297 src/backends/NetworkManagerSuSE.c
3298 - Remove nm_system_device_add_route_via_device_with_iface()
3300 2008-04-25 Dan Williams <dcbw@redhat.com>
3302 * system-settings/plugins/ifcfg-fedora/parser.c
3303 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3305 2008-04-24 Dan Williams <dcbw@redhat.com>
3307 * dispatcher-daemon/NetworkManagerDispatcher.c
3308 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3310 2008-04-24 Dan Williams <dcbw@redhat.com>
3312 * initscript/RedHat/NetworkManager.in
3313 initscript/RedHat/NetworkManagerDispatcher.in
3314 - Be active at runlevel 2
3315 - Adjust priorities earlier
3317 2008-04-22 Dan Williams <dcbw@redhat.com>
3319 * src/NetworkManagerPolicy.c
3320 - (update_routing_and_dns): when checking for a gateway, look at the
3321 composite IP4 config, not the connection's ip4-config setting, which
3322 doesn't include DHCP-returned information
3324 2008-04-22 Tambet Ingo <tambet@gmail.com>
3326 Implement GKeyFile system settings plugin.
3327 Implement writing system settings (currently supported only by GKeyFile plugin).
3329 * system-settings/src/main.c:
3330 * system-settings/src/dbus-settings.c: Move the communication with plugins
3331 from main.c to dbus-settings.c. Makes it possible to talk to all registered
3332 plugins for adding/updating/removing connections.
3334 * system-settings/src/nm-system-config-interface.c
3335 (nm_system_config_interface_add_connection): Implement
3336 (nm_system_config_interface_update_connection): Implement.
3337 (nm_system_config_interface_remove_connection): Implement.
3339 * system-settings/plugins/keyfile/Makefile.am:
3340 * system-settings/plugins/keyfile/plugin.[ch]:
3341 * system-settings/plugins/keyfile/writer.[ch]:
3342 * system-settings/plugins/keyfile/reader.[ch]: Implement.
3344 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3346 * configure.in: Generate GKeyFile Makefile.
3348 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3349 corruption, need to duplicate the returned string.
3350 (impl_exported_connection_update): Implement.
3351 (impl_exported_connection_delete): Implement.
3353 * introspection/nm-settings-system.xml: Add "AddConnection" method.
3355 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3357 2008-04-22 Dan Williams <dcbw@redhat.com>
3359 Patch from Charles R. Anderson (cra@wpi.edu)
3361 * src/NetworkManagerPolicy.c
3362 - (update_routing_and_dns): don't select devices without a gateway
3363 as having the default route (rh #437338)
3365 2008-04-21 Dan Williams <dcbw@redhat.com>
3367 * src/nm-activation-request.c
3368 src/nm-activation-request.h
3369 - (dispose): ensure to disconnect from the device's state-changed signal
3370 when appropriate so the signal doesn't get handled by an already
3371 disposed NMActRequest
3372 - (device_state_changed): update is_default here too just to make sure
3373 default is only True when the child device is activated
3374 - (nm_act_request_set_default): new function
3376 * src/NetworkManagerPolicy.c
3377 - (update_routing_and_dns): set 'default' on the active connection which
3378 has the default route and DNS
3380 2008-04-21 Dan Williams <dcbw@redhat.com>
3382 * src/NetworkManagerPolicy.c
3383 - (device_state_changed): update routing and DNS when a device goes
3384 into unmanaged or unavailable states too (like rfkill or carrier loss)
3386 2008-04-21 Dan Williams <dcbw@redhat.com>
3388 * include/NetworkManager.h
3389 - Add NMActiveConnectionState enum
3391 * introspection/nm-active-connection.xml
3392 introspection/nm-vpn-connection.xml
3393 - Add 'State' property for overall active connection state
3394 - Add 'Default' property, when True means this active connection
3395 has the default route
3396 - Add PropertyChanged signals so changes actually go out over the bus
3398 * src/nm-active-connection.h
3399 - Add defines for State & Default properties
3401 * src/nm-activation-request.c
3402 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3403 signal to determine active connection state
3405 * src/vpn-manager/nm-vpn-connection.c
3406 src/vpn-manager/nm-vpn-connection.h
3407 src/vpn-manager/nm-vpn-manager.c
3408 src/vpn-manager/nm-vpn-service.c
3409 - Rename old 'state' to 'vpn-state'
3410 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3411 - Add 'state' and 'default' properties, hook up to the vpn connection's
3412 'vpn-state-changed' signal
3414 * libnm-glib/nm-active-connection.c
3415 libnm-glib/nm-active-connection.h
3416 - Add new 'state' and 'default' properties and accessors
3418 * libnm-glib/nm-vpn-connection.c
3419 libnm-glib/nm-vpn-connection.h
3420 - Rename old 'state' property to 'vpn-state'
3421 - Add new 'state' and 'default' properties and accessors
3423 2008-04-21 Dan Williams <dcbw@redhat.com>
3425 * src/nm-ip4-config.c
3426 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3427 not specified (rh #443474)
3429 2008-04-20 Dan Williams <dcbw@redhat.com>
3431 * src/NetworkManagerUtils.c
3432 src/NetworkManagerUtils.h
3433 - (nm_utils_merge_ip4_config): new function; merge settings from an
3434 NMSettingIP4Config to an NMIP4Config object
3437 - (merge_ip4_config): move to NetworkManagerUtils.c
3439 * src/vpn-manager/nm-vpn-connection.c
3440 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3443 2008-04-18 Dan Williams <dcbw@redhat.com>
3445 * libnm-util/nm-setting-ppp.c
3446 libnm-util/nm-setting-ppp.h
3447 - Add 'no-vj-comp' option for TCP header compression
3448 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3451 2008-04-18 Dan Williams <dcbw@redhat.com>
3453 * libnm-util/nm-setting-ppp.c
3454 libnm-util/nm-setting-ppp.h
3455 src/ppp-manager/nm-ppp-manager.c
3456 - Add 'refuse-pap' and 'refuse-mschapv2' options
3458 2008-04-18 Dan Williams <dcbw@redhat.com>
3460 * libnm-util/nm-setting-ppp.c
3461 libnm-util/nm-setting-ppp.h
3462 src/ppp-manager/nm-ppp-manager.c
3463 - Remove the 'usepeerdns' option and always request DNS servers from
3464 the PPP server; the connection chooses to use/override/ignore the
3465 DNS servers returned from the PPP server
3467 2008-04-18 Dan Williams <dcbw@redhat.com>
3469 * libnm-util/nm-setting-ppp.c
3470 libnm-util/nm-setting-ppp.h
3471 src/ppp-manager/nm-ppp-manager.c
3472 - Remove the 'require-mppc' option, because pppd doesn't support it and
3473 it seems to have been an erroneous addition to the PPTP plugin in
3474 the first place (from which the ppp-manager is derived)
3476 2008-04-17 Dan Williams <dcbw@redhat.com>
3478 * libnm-util/nm-setting-pppoe.c
3479 - (verify): require a PPP setting too
3481 * src/ppp-manager/nm-ppp-manager.c
3482 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3485 2008-04-17 Dan Williams <dcbw@redhat.com>
3488 - (nm_device_state_changed): do deactivation and and promotion to
3489 unavailable here, so that the device gets cleaned up before the
3490 manager runs and starts emitting signals; do the
3491 FAILED->DISCONNECTED transition from an idle handler rather than
3492 immediately to guard against recursion
3493 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3494 FAILED->DISCONNECTED handler if it's scheduled
3496 2008-04-17 Dan Williams <dcbw@redhat.com>
3498 * src/nm-device-802-11-wireless.c
3499 - (state_changed_cb): clear AP list when device transitions to
3500 unavailable or unmanaged
3501 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3502 since this is already done in device_cleanup()
3503 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3504 isn't available or managed
3505 - (device_cleanup): use remove_all_aps()
3506 - (remove_all_aps): consolidate code removing all APs
3508 2008-04-17 Dan Williams <dcbw@redhat.com>
3510 * src/nm-serial-device.c
3511 src/nm-serial-device.h
3512 - (wait_for_reply_got_data): break input into lines, and search each
3513 line for responses _and_ terminator strings; also make sure that
3514 the read loop doesn't continue after the timeout is supposed to fire
3515 - (nm_serial_device_wait_for_reply): take an array of terminators too
3517 * src/nm-gsm-device.c
3518 src/nm-cdma-device.c
3519 - Send terminators to nm_serial_device_wait_for_reply()
3521 2008-04-16 Dan Williams <dcbw@redhat.com>
3523 Patch from 陈鑫 <znscnchen@gmail.com>
3525 * src/ppp-manager/nm-pppd-plugin.c
3526 - (get_credentials): return correct value for success; handle case where
3527 pppd just does some checking but doesn't want a password
3528 - (plugin_init): make CHAP work too
3530 2008-04-16 Dan Williams <dcbw@redhat.com>
3532 Patch from 陈鑫 <znscnchen@gmail.com>
3534 * src/ppp-manager/nm-ppp-manager.c
3535 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3537 2008-04-16 Dan Williams <dcbw@redhat.com>
3539 Patch from 陈鑫 <znscnchen@gmail.com>
3541 * src/nm-device-802-3-ethernet.c
3542 - (real_deactivate_quickly): clear the IP interface name on
3543 deactivation, otherwise the wrong interface might get used later
3544 for routing and IP management
3546 2008-04-15 Dan Williams <dcbw@redhat.com>
3548 * libnm-glib/nm-device.c
3549 - (get_product_and_vendor): handle serial devices correctly
3550 - (nm_device_update_description): pass device to get_product_and_vendor()
3552 2008-04-15 Dan Williams <dcbw@redhat.com>
3554 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3556 * src/NetworkManagerSystem.h
3557 src/backends/NetworkManagerArch.c
3558 src/backends/NetworkManagerDebian.c
3559 src/backends/NetworkManagerFrugalware.c
3560 src/backends/NetworkManagerGeneric.c
3561 src/backends/NetworkManagerGeneric.h
3562 src/backends/NetworkManagerGentoo.c
3563 src/backends/NetworkManagerMandriva.c
3564 src/backends/NetworkManagerPaldo.c
3565 src/backends/NetworkManagerRedHat.c
3566 src/backends/NetworkManagerSlackware.c
3567 src/backends/NetworkManagerSuSE.c
3569 - (nm_generic_device_add_ip6_link_address,
3570 nm_system_device_add_ip6_link_address): remove
3572 2008-04-15 Dan Williams <dcbw@redhat.com>
3574 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3576 * src/backends/NetworkManagerArch.c
3577 src/backends/NetworkManagerDebian.c
3578 src/backends/NetworkManagerFrugalware.c
3579 src/backends/NetworkManagerGeneric.c
3580 src/backends/NetworkManagerGeneric.h
3581 src/backends/NetworkManagerGentoo.c
3582 src/backends/NetworkManagerMandriva.c
3583 src/backends/NetworkManagerPaldo.c
3584 src/backends/NetworkManagerRedHat.c
3585 src/backends/NetworkManagerSlackware.c
3586 src/backends/NetworkManagerSuSE.c
3587 src/NetworkManagerSystem.h
3588 - flush_routes -> flush_ip4_routes
3589 - flush_addresses -> flush_ip4_addresses
3591 * src/NetworkManagerSystem.c
3593 src/vpn-manager/nm-vpn-connection.c
3594 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3596 2008-04-15 Dan Williams <dcbw@redhat.com>
3598 Remove exposure of wireless-tools mode types in the API.
3600 * include/NetworkManager.h
3601 - Define NM80211Mode enum
3603 * introspection/generic-types.xml
3604 - Describe NM_802_11_MODE enum
3605 - Remove IW_MODE_* enum
3607 * introspection/nm-access-point.xml
3608 libnm-glib/nm-access-point.c
3609 libnm-glib/nm-access-point.h
3610 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3612 * introspection/nm-device-802-11-wireless.xml
3613 libnm-glib/nm-device-802-11-wireless.c
3614 libnm-glib/nm-device-802-11-wireless.h
3615 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3617 * libnm-util/nm-setting-wireless.c
3618 src/NetworkManagerAP.c
3619 src/NetworkManagerAP.h
3620 src/nm-device-802-11-wireless.c
3621 src/nm-device-802-11-wireless.h
3623 - Use NM80211Mode not IW_MODE_*
3625 2008-04-15 Dan Williams <dcbw@redhat.com>
3627 Enhance nm-online based on a patch from Bill Nottingham.
3631 - Add help messages and option summary
3632 - Add long-format options
3633 - Add a '-x' option to exit if NM isn't running or isn't connecting
3635 2008-04-15 Tambet Ingo <tambet@gmail.com>
3637 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3639 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3641 2008-04-15 Dan Williams <dcbw@redhat.com>
3643 * nm-setting-ip4-config.c
3644 - (ip4_addresses_from_gvalue): handle NULL address array
3646 * nm-setting-8021x.c
3647 - (verify_tls, verify_ttls): warn on failed verification
3649 2008-04-10 Dan Williams <dcbw@redhat.com>
3651 * src/nm-gsm-device.c
3652 - (automatic_registration): accept "+CREG: 0,0"
3653 - (automatic_registration_response): fail on "+CREG: 0,0"
3655 2008-04-10 Tambet Ingo <tambet@gmail.com>
3657 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3659 2008-04-10 Tambet Ingo <tambet@gmail.com>
3661 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
3662 Make it compile again by commenting out broken code that at first didn't work and
3663 now didn't compile either.
3665 2008-04-08 Dan Williams <dcbw@redhat.com>
3667 * libnm-glib/nm-object-cache.c
3668 libnm-glib/nm-settings.c
3669 src/dhcp-manager/nm-dhcp-manager.c
3670 system-settings/plugins/ifcfg-fedora/plugin.c
3671 system-settings/plugins/ifcfg-suse/plugin.c
3672 system-settings/src/nm-system-config-hal-manager.c
3673 libnm-util/nm-utils.c
3674 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3675 not threadsafe anyway
3677 2008-04-08 Dan Williams <dcbw@redhat.com>
3679 * system-settings/src/main.c
3680 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3681 callbacks take a device type too
3683 2008-04-08 Dan Williams <dcbw@redhat.com>
3685 The system settings service will now create a new default DHCP connection
3686 for wired devices that have no existing applicable connection.
3688 * system-settings/src/nm-system-config-hal-manager.c
3689 system-settings/src/nm-system-config-hal-manager.h
3690 - (nm_system_config_hal_manager_get_type_for_udi): new function
3692 * system-settings/src/dbus-settings.c
3693 system-settings/src/dbus-settings.h
3694 - (nm_sysconfig_settings_get_connections): new function
3695 - (nm_sysconfig_settings_is_device_managed): new function
3697 * system-settings/src/main.c
3698 - (load_stuff): check for wired devices that need a default connection
3699 - (get_details_for_udi): get interface and MAC address from HAL
3700 - (add_default_dhcp_connection): add a default connection for a wired
3702 - (device_added_cb, device_removed_cb): do the right thing with
3703 wired devices and their default connections on HAL device events
3705 2008-04-07 Dan Williams <dcbw@redhat.com>
3707 * libnm-glib/nm-device.c
3708 libnm-glib/nm-device.h
3709 - Proxy the 'managed' property
3711 2008-04-07 Dan Williams <dcbw@redhat.com>
3713 * src/nm-gsm-device.c
3714 src/nm-cdma-device.c
3715 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3716 handler to transition to DISCONNECTED
3718 2008-04-07 Dan Williams <dcbw@redhat.com>
3720 Patch from Bill Nottingham
3722 * dispatcher-daemon/NetworkManagerDispatcher.c
3723 - ignore backup/packaging crufy (rh #440143)
3725 2008-04-07 Dan Williams <dcbw@redhat.com>
3727 * include/NetworkManager.h
3728 - Remove the DOWN and CANCELLED device states
3729 - Add UNMANAGED and UNAVAILABLE device states
3730 - Document the device states
3732 * introspection/nm-device.xml
3733 src/nm-device-interface.c
3734 src/nm-device-interface.h
3735 - Add the 'managed' property
3738 - (detail_device): print out device state
3740 * src/NetworkManagerSystem.h
3741 src/backends/NetworkManagerArch.c
3742 src/backends/NetworkManagerDebian.c
3743 src/backends/NetworkManagerFrugalware.c
3744 src/backends/NetworkManagerGentoo.c
3745 src/backends/NetworkManagerMandriva.c
3746 src/backends/NetworkManagerPaldo.c
3747 src/backends/NetworkManagerRedHat.c
3748 src/backends/NetworkManagerSlackware.c
3749 src/backends/NetworkManagerSuSE.c
3750 - (nm_system_device_get_system_config, nm_system_device_get_disabled
3751 nm_system_device_free_system_config): remove; they were unused and
3752 their functionality should be re-implemented in each distro's
3753 system settings service plugin
3755 * src/nm-gsm-device.c
3757 src/nm-cdma-device.c
3758 src/nm-cdma-device.h
3759 - (*_new): take the 'managed' argument
3762 - (nm_device_set_address): remove, fold into nm_device_bring_up()
3763 - (nm_device_init): start in unmanaged state, not disconnected
3764 - (constructor): don't start device until the system settings service
3765 has had a chance to figure out if the device is managed or not
3766 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
3767 don't set device state here, let callers handle that as appropriate
3768 - (nm_device_dispose): don't touch the device if it's not managed
3769 - (set_property, get_property, nm_device_class_init): implement the
3771 - (nm_device_state_changed): bring the device up if its now managed,
3772 and deactivate it if it used to be active
3773 - (nm_device_get_managed, nm_device_set_managed): do the right thing
3774 with the managed state
3776 * src/nm-hal-manager.c
3777 - (wired_device_creator, wireless_device_creator, modem_device_creator):
3778 take initial managed state and pass it along to device constructors
3779 - (create_device_and_add_to_list): get managed state and pass to
3782 * src/nm-device-802-11-wireless.c
3783 - (real_can_activate): fold in most of
3784 nm_device_802_11_wireless_can_activate()
3785 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
3786 - (link_timeout_cb): instead of deactivating, change device state and
3787 let the device state handler to it
3788 - (real_update_hw_address): clean up
3789 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3790 handler to transition to DISCONNECTED if the device isn't rfkilled
3792 * src/nm-device-802-3-ethernet.c
3793 - (set_carrier): move above callers and get rid of prototype
3794 - (device_state_changed): when entering UNAVAILABLE state, schedule an
3795 idle handler to transition to DISCONNECTED if the device has a
3797 - (real_update_hw_address): clean up
3798 - (link_timeout_cb, ppp_state_changed): change state instead of calling
3799 deactivation directly as deactivation doesn't change state anymore
3801 * src/NetworkManagerPolicy.c
3802 - (schedule_activate_check): yay, remove wireless_enabled hack since
3803 the NMManager and wireless devices work that out themselves now
3804 - (device_state_changed): change to a switch and update for new device
3806 - (device_carrier_changed): remove; device handles this now through
3808 - (device_added): don't care about carrier any more; the initial
3809 activation check will happen when the device transitions to
3813 - (dispose): clear unmanaged devices
3814 - (handle_unmanaged_devices): update unmanaged device list and toggle
3815 the managed property on each device when needed
3816 - (system_settings_properties_changed_cb): handle signals from the
3817 system settings service
3818 - (system_settings_get_unmanaged_devices_cb): handle callback from
3819 getting the unmanaged device list method call
3820 - (query_unmanaged_devices): ask the system settings service for its
3821 list of unmanaged devices
3822 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
3824 - (manager_set_wireless_enabled): push rfkill state down to wireless
3825 devices directly and let them handle the necessary state transitions
3826 - (manager_device_state_changed): update for new device states
3827 - (nm_manager_add_device): set initial rfkill state on wireless devices
3828 - (nm_manager_remove_device): don't touch the device if it's unmanaged
3829 - (nm_manager_activate_connection): return error if the device is
3831 - (nm_manager_sleep): handle new device states correctly; don't change
3832 the state of unavailable/unmanaged devices
3834 * libnm-glib/nm-device-802-11-wireless.c
3835 - (state_changed_cb): update for new device states
3837 2008-04-07 Dan Williams <dcbw@redhat.com>
3839 * marshallers/nm-marshal.list
3840 - Add VOID:STRING,UINT marshaller for system settings HAL manager
3842 2008-04-07 Dan Williams <dcbw@redhat.com>
3844 * system-settings/src/main.c
3845 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
3846 plugins to the dbus settings object
3847 - (load_stuff): start the dbus service after grabbing unmanaged devices
3848 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
3849 - (log_handler, logging_setup, logging_shutdown): log output to syslog
3850 - (main): switch default logging to syslog with a 'debug' option to
3851 output to console; start up the HAL manager
3853 2008-04-07 Dan Williams <dcbw@redhat.com>
3855 * introspection/nm-settings-system.xml
3856 introspection/Makefile.am
3857 - Define the unmanaged devices interface for the system settings service
3859 * system-settings/src/nm-system-config-hal-manager.c
3860 system-settings/src/nm-system-config-hal-manager.h
3861 system-settings/src/nm-system-config-hal-manager-private.h
3862 system-settings/src/Makefile.am
3863 - Add a lightweight HAL manager object for tracking network devices for
3864 the purpose of determining unmanaged devices and which devices need
3865 the default DHCP connections
3867 * system-settings/src/nm-system-config-interface.c
3868 system-settings/src/nm-system-config-interface.h
3869 - (nm_system_config_interface_init): add the HAL manager as an argument
3870 - (nm_system_config_interface_get_unmanaged_devices): implement
3871 - Define 'unmanaged-devices-changed' signal
3873 * system-settings/src/dbus-settings.c
3874 system-settings/src/dbus-settings.h
3875 - Implement the unmanaged devices interface; some cleanups
3877 * system-settings/plugins/ifcfg-suse/plugin.c
3878 - Fixup for plugin interface changes
3880 * system-settings/plugins/ifcfg-fedora/plugin.c
3881 - (get_ether_device_udi): new function; find the device that has
3882 a specified MAC address and return its UDI
3883 - (get_udi_for_connection): new function; try to find the specific
3884 device a connection is locked to, if any
3885 - (device_added_cb, device_removed_cb): update unmanaged device list in
3886 response to HAL events
3887 - (get_unmanaged_devices): new function; return unmanaged device list
3888 - (build_one_connection): set the connection's locked device, if any
3889 - (write_auto_wired_connection): remove
3890 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
3891 - (handle_connection_changed): alert listeners that the unmanaged device
3893 - (init): fixup for plugin interface changes, implement unmanaged devices
3895 * system-settings/plugins/ifcfg-fedora/parser.c
3896 system-settings/plugins/ifcfg-fedora/parser.h
3897 - (connection_data_free): clean up connection UDI
3899 2008-04-07 Dan Williams <dcbw@redhat.com>
3901 * system-settings/plugins/ifcfg-fedora/parser.c
3902 - (make_ip4_setting): fix parsing of DNS servers
3904 2008-04-05 Dan Williams <dcbw@redhat.com>
3908 marshallers/Makefile.am
3909 marshallers/nm-marshal-main.c
3910 marshallers/nm-marshal.list
3911 - Consolidate marshallers
3913 * libnm-glib/nm-marshal-main.c
3914 libnm-glib/nm-marshal.list
3915 src/marshallers/Makefile.am
3916 src/marshallers/nm-marshal-main.c
3917 src/marshallers/nm-marshal.list
3920 * libnm-glib/Makefile.am
3922 src/dhcp-manager/Makefile.am
3923 src/ppp-manager/Makefile.am
3924 src/supplicant-manager/Makefile.am
3925 src/vpn-manager/Makefile.am
3926 - Use consolidated marshallers
3928 2008-04-04 Dan Williams <dcbw@redhat.com>
3930 * src/nm-hal-manager.c
3931 src/nm-hal-manager.h
3932 - (hal_init): don't look for hardware here
3933 - (nm_hal_manager_start): new function; look for hardware here instead,
3934 which can be done at a later time than hal_init()
3936 * src/NetworkManager.c
3937 - (main): start HAL manager after entering the main loop
3939 2008-04-03 Dan Williams <dcbw@redhat.com>
3941 * libnm-glib/nm-settings.c
3942 libnm-glib/nm-settings.h
3943 - (nm_exported_connection_get_id): new function
3944 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
3946 2008-04-02 Dan Williams <dcbw@redhat.com>
3948 * src/nm-device-interface.c
3949 src/nm-device-interface.h
3952 - Rename check_connection_conflicts() to check_connection_compatible()
3954 * src/nm-device-802-11-wireless.c
3955 - (real_check_connection_conflicts): remove
3956 - (real_check_connection_compatible): implement; match MAC address
3958 * src/nm-device-802-3-ethernet.c
3959 - (real_check_connection_conflicts): remove
3960 - (real_check_connection_compatible): implement; match MAC address
3961 - (real_get_best_auto_connection): correctly handle PPPoE cases
3964 - (check_connection_allowed): remove; unused until PolicyKit integration
3965 - (internal_activate_device): check whether the connection is compatible
3966 with the device before trying to activate it
3968 2008-04-02 Dan Williams <dcbw@redhat.com>
3970 * system-settings/plugins/ifcfg-fedora/parser.c
3971 - (read_mac_address): new function; read in MAC address and stuff it
3973 - (add_one_wep_key): remove debug spew
3974 - (make_wireless_security_setting): validate the default TX key; don't
3975 add the wireless-security setting if the connection doesn't need
3976 security; don't leak the keys shvarFile on error cases
3977 - (make_wireless_setting, make_wired_setting): populate device's MAC
3980 2008-04-02 Dan Williams <dcbw@redhat.com>
3982 * libnm-util/nm-setting-connection.c
3983 libnm-util/nm-setting-connection.h
3984 - (set_property, get_property, nm_setting_connection_class_init): remove
3985 the 'lockdown' property; it's functionality will be replaced by
3988 2008-04-01 Dan Williams <dcbw@redhat.com>
3990 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
3993 initscript/Makefile.am
3994 initscript/Mandriva/Makefile.am
3995 initscript/Mandriva/networkmanager.in
3996 initscript/Mandriva/networkmanagerdispatcher.in
3997 src/backends/Makefile.am
3998 src/backends/NetworkManagerMandriva.c
3999 system-settings/plugins/Makefile.am
4000 - Add Mandriva support
4002 2008-03-31 Dan Williams <dcbw@redhat.com>
4004 * src/vpn-manager/nm-vpn-service.c
4005 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4006 errors can be passed back to the caller; also no longer scheduled
4007 as an idle handler, but called directly; and bump up VPN service
4008 spawn timeout, 2s is really short
4009 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4010 but call it directly so that errors are reported on return from
4011 ActivateConnection() and don't get lost. If scheduled as an idle
4012 handler, clients don't have the time to query NM for the new VPN
4013 connection's properties before the VPN connection is torn down again
4014 if the service couldn't be launched, and therefore launch errors
4017 2008-03-31 Dan Williams <dcbw@redhat.com>
4019 * src/vpn-manager/nm-vpn-connection.c
4020 - (device_state_changed): send correct state on device failure too
4021 - (plugin_state_changed): failed state means unexpected disconnection,
4022 thus if the service goes away while the VPN connection is activated
4023 that's a failure too
4025 2008-03-31 Dan Williams <dcbw@redhat.com>
4027 * src/vpn-manager/nm-vpn-manager.c
4028 src/vpn-manager/nm-vpn-manager.h
4029 - Make VPNManager errors more available; add a service-start-failed error
4031 2008-03-31 Dan Williams <dcbw@redhat.com>
4033 * libnm-glib/nm-client.c
4034 libnm-glib/nm-client.h
4035 - (activate_cb): pass the new active connection to callback; fix
4036 message when no callback is specified
4038 2008-03-30 Dan Williams <dcbw@redhat.com>
4040 * libnm-util/nm-setting-wireless-security.c
4041 - (need_secrets): only require key0 if the transmit key index is also
4043 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4045 2008-03-29 Dan Williams <dcbw@redhat.com>
4047 * libnm-util/nm-setting-8021x.c
4048 libnm-util/nm-setting-ip4-config.c
4049 libnm-util/nm-setting-vpn-properties.c
4050 libnm-util/nm-setting-vpn.c
4051 libnm-util/nm-setting-wireless-security.c
4052 libnm-util/nm-setting-wireless.c
4053 libnm-util/nm-utils.c
4054 src/dhcp-manager/nm-dhcp-manager.c
4055 src/nm-activation-request.c
4058 src/nm-properties-changed-signal.c
4059 src/ppp-manager/nm-pppd-plugin.c
4060 src/supplicant-manager/nm-supplicant-interface.c
4061 src/vpn-manager/nm-vpn-connection.c
4062 - consistently use nm-dbus-glib-types.h
4064 2008-03-29 Dan Williams <dcbw@redhat.com>
4066 * src/vpn-manager/nm-vpn-connection.c
4067 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4070 * src/nm-activation-request.c
4071 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4074 2008-03-29 Dan Williams <dcbw@redhat.com>
4076 * libnm-glib/nm-device-802-11-wireless.c
4077 - (access_point_added_proxy): create new APs if not found
4079 2008-03-29 Dan Williams <dcbw@redhat.com>
4081 * libnm-glib/nm-client.c
4082 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4085 2008-03-29 Dan Williams <dcbw@redhat.com>
4087 * system-settings/plugins/ifcfg-fedora/parser.c
4088 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4089 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4091 2008-03-29 Dan Williams <dcbw@redhat.com>
4093 * system-settings/plugins/ifcfg-fedora/parser.c
4094 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4096 2008-03-27 Dan Williams <dcbw@redhat.com>
4099 - (nm_object_queue_notify): don't notify multiple times for the same
4102 * nm-object-private.h
4103 - (handle_ptr_array_return): return NULL if the given array is NULL or
4104 if it has zero elements
4107 - (finalize): use g_ptr_array_foreach() when freeing domains
4108 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4110 * nm-active-connection.c
4111 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4113 * nm-device-802-11-wireless.c
4114 nm-device-802-11-wireless.h
4115 - (nm_device_802_11_wireless_get_access_points): return const; use
4116 handle_ptr_array_return()
4119 - (nm_object_array_demarshal): always create an array, even of length
4120 zero, to distinguish between "NM returned no items" and "haven't
4124 - (dispose): free active connections too
4125 - (proxy_name_owner_changed): free active connections too when NM goes
4127 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4128 - (nm_client_get_active_connections): use handle_ptr_array_return()
4130 2008-03-26 Dan Williams <dcbw@redhat.com>
4132 Rework VPN connection handling for a more consistent D-Bus API. The
4133 VPNManager object has been removed, and active VPN connections are now the
4134 same as any other active connection. The Manager object's ActivateConnection
4135 and DeactivateConnection methods are used to start and stop a VPN connection,
4136 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4137 When activating a VPN connection, pass the path of the active connection
4138 to which the VPN connection is tied in the 'specific_object' argument.
4140 Consequently, the libnm-glib API has been reworked to match this arrangement,
4141 with the VPNManager object removed, and the NMVPNConnection objects now
4142 being subclasses of NMActiveConnection.
4144 2008-03-25 Dan Williams <dcbw@redhat.com>
4146 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4148 * initscript/Arch/networkmanager.in
4149 initscript/Arch/networkmanager-dispatcher.in
4150 - Updates for Arch Linux (gnome.org #523701)
4152 2008-03-25 Dan Williams <dcbw@redhat.com>
4154 * libnm-glib/nm-ip4-config.c
4155 libnm-glib/nm-active-connection.c
4156 libnm-glib/nm-access-point.c
4157 - Use nm_object_queue_notify() instead of g_object_notify()
4159 * libnm-glib/nm-device.c
4160 - (demarshal_ip4_config): distinguish between successful but missing
4161 ip4-config request, and unsuccessful and missing ip4-config request
4162 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4164 - Use nm_object_queue_notify() instead of g_object_notify()
4166 * libnm-glib/nm-device-802-11-wireless.c
4167 - (demarshal_active_ap): distinguish between successfull but missing
4168 active-ap request, and unsuccessful and missing active-ap request
4169 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4171 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4172 for the NMClient to notify the device that wireless is disabled,
4173 and therefore to clear the AP list and active AP
4174 - Use nm_object_queue_notify() instead of g_object_notify()
4176 * libnm-glib/nm-client.c
4177 - (poke_wireless_devices_with_rf_status): new function
4178 - (update_wireless_status): notify wireless devices of the rfkill status
4179 so they can clean up if needed
4180 - Use nm_object_queue_notify() instead of g_object_notify()
4182 2008-03-25 Dan Williams <dcbw@redhat.com>
4184 * libnm-glib/nm-object.c
4185 libnm-glib/nm-object-private.h
4186 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4187 signals to an idle handler
4188 - (nm_object_get_property): add a timeout to the D-Bus method call
4190 2008-03-25 Dan Williams <dcbw@redhat.com>
4192 * introspection/nm-device-cdma.xml
4193 introspection/nm-device-gsm.xml
4194 introspection/Makefile.am
4195 introspection/all.xml
4196 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4198 * src/nm-gsm-device.h
4200 src/nm-cdma-device.h
4201 src/nm-cdma-device.c
4203 - Implement PropertiesChanged signals
4205 * libnm-glib/nm-cdma-device.c
4206 libnm-glib/nm-cdma-device.c
4207 - Attach to PropertiesChanged signals
4209 2008-03-24 Dan Williams <dcbw@redhat.com>
4211 * libnm-glib/nm-client.c
4212 - (client_device_added_proxy): add new devices to the internal device
4213 list so they appear to clients
4215 2008-03-24 Dan Williams <dcbw@redhat.com>
4217 Massive fixup of libnm-glib to:
4218 a) have all objects (with the exception of VPN) cache their properties and
4219 update them asynchronously on PropertiesChanged signals from NM
4220 b) return internal const data for most attributes/properties instead of
4221 allocated values that the caller must free
4222 c) cache wrapped objects such that a given D-Bus path will always map to the
4223 same GObject returned by libnm-glib
4224 d) remove a few signals and move them to GObject property notifications
4225 e) match recent NM D-Bus API changes for activation/deactivation
4226 f) remove some private functions from libnm-glib headers
4228 2008-03-20 Dan Williams <dcbw@redhat.com>
4231 - (nm_manager_update_state, manager_device_state_changed,
4232 nm_manager_activate_device, connection_added_default_handler,
4233 impl_manager_activate_connection, impl_manager_deactivate_connection):
4234 queue PropertyChanged singals when the active connections change
4236 2008-03-20 Dan Williams <dcbw@redhat.com>
4238 * introspection/nm-manager.xml
4239 introspection/nm-manager-client.xml
4240 - (ActivateConnection): return the object path of the active connection
4242 - (GetActiveConnections): remove
4243 - (DeactivateConnection): new function; deactivate a currently active
4245 - Add an ActiveConnections property which returns an array of
4246 active connection object paths
4248 * introspection/nm-device.xml
4249 - (Deactivate): remove
4251 * introspection/all.xml
4252 - Add ActiveConnection introspection
4254 * introspection/nm-active-connection.xml
4255 - Add the ActiveConnection object
4257 * include/NetworkManager.h
4258 - Add the Connection.Active D-Bus interface
4260 * src/nm-device-interface.c
4261 - (impl_device_deactivate): remove
4263 * src/nm-activation-request.c
4264 src/nm-activation-request.c
4266 - Implement the Connection.Active D-Bus interface
4269 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4270 - (nm_manager_activate_device): return the active connection path
4271 - (connection_added_default_handler, impl_manager_activate_connection):
4272 return the active connection to the caller
4273 - (add_one_connection_element, impl_manager_get_active_connections):
4275 - (impl_manager_deactivate_connection): new function; deactivate an
4278 * libnm-glib/nm-device.c
4279 libnm-glib/nm-device.h
4280 - Remove Deactivate() function
4282 2008-03-19 Dan Williams <dcbw@redhat.com>
4284 * introspection/nm-manager.xml
4285 introspection/nm-manager-client.xml
4286 - Rename the ActivateDevice method to ActivateConnection to better
4287 reflect it's usage; it's arguments get reordered a bit too
4288 - Convert GetActiveConnections method return from a struct to a dict
4290 * include/NetworkManager.h
4291 - Define the dict keys for return value of GetActiveConnections
4294 - impl_manager_activate_device -> impl_manager_activate_connection
4295 - (add_one_connection_element): return a populated hash table, not
4298 * libnm-glib/nm-client.c
4299 libnm-glib/nm-client.h
4300 - nm_client_activate_device -> nm_client_activate_connection
4301 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4302 - (nm_client_get_active_connections): return a GSList of GHashTables,
4303 instead of the custom structures. Each element of the returned list
4304 must be freed with nm_client_free_active_connections_element()
4306 2008-03-18 Dan Williams <dcbw@redhat.com>
4308 * system-settings/plugins/ifcfg-fedora/parser.c
4309 system-settings/plugins/ifcfg-fedora/parser.h
4310 system-settings/plugins/ifcfg-fedora/plugin.c
4311 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4312 profiles. DNS servers and searches must now be stored in the ifcfg
4315 2008-03-18 Tambet Ingo <tambet@gmail.com>
4317 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4318 print out username and password, it's supposed to be a secret.
4320 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
4321 request and set the device state accordingly.
4323 2008-03-18 Tambet Ingo <tambet@gmail.com>
4325 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4327 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4329 2008-03-18 Dan Williams <dcbw@redhat.com>
4331 * src/vpn-manager/nm-vpn-connection.c
4332 - (get_secrets_cb): handle new GetSecrets return format
4334 2008-03-18 Dan Williams <dcbw@redhat.com>
4336 Adapt system settings service for split 802.1x.
4338 * system-settings/src/nm-system-config-interface.h
4339 - clarify return value of get_secrets()
4341 * system-settings/src/dbus-settings.c
4342 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4343 - (check_for_secrets): check if there actually secrets returned by a
4345 - (exported_connection_get_secrets): just return the plugin-returned
4346 hash of settings' secrets if it looks valid
4348 * system-settings/plugins/ifcfg-fedora/plugin.c
4349 - (get_secrets): add split secrets with correct format to reply hash
4351 * system-settings/plugins/ifcfg-fedora/parser.c
4352 system-settings/plugins/ifcfg-fedora/parser.h
4353 - (copy_one_cdata_secret, connection_data_copy_secrets,
4354 connection_data_free, connection_data_add): keep secrets for
4355 different settings in different hashes
4357 2008-03-17 Tambet Ingo <tambet@gmail.com>
4359 Clean up activating device deactivation.
4361 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4362 should be done whether the device activation gets cancelled or the device
4363 is just getting deactivated.
4364 (nm_device_activation_cancel): Remove.
4365 (nm_device_deactivate_quickly): Handle the case where device is activating.
4367 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4368 It does the exact same thing as real_deactivate_quickly().
4370 2008-03-17 Dan Williams <dcbw@redhat.com>
4372 Split the 802.1x bits out of the wireless-security setting so they are
4373 generalized enough for wired 802.1x to use too.
4375 * introspection/nm-exported-connection.xml
4376 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4377 of just a hash of the secrets for one setting
4379 * libnm-util/nm-setting-wireless-security.c
4380 libnm-util/nm-setting-wireless-security.h
4381 - Remove 802.1x-specific stuff
4382 - Added leap-username and leap-password properties for old-school LEAP
4386 - (connection_secrets_updated_cb): take a list of updated settings names,
4389 * src/supplicant-manager/nm-supplicant-config.c
4390 src/supplicant-manager/nm-supplicant-config.h
4391 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4392 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4393 to nm_supplicant_config_add_setting_8021x()
4394 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4395 the supplicant config
4397 * src/nm-device-802-11-wireless.c
4398 - (build_supplicant_config): pass in the 802.1x setting too, if any
4399 - (real_connection_secrets_updated): take a list of updated settings
4402 * src/nm-device-802-3-ethernet.c
4403 src/nm-cdma-device.c
4405 - (real_connection_secrets_updated_cb): take a list of updated settings
4408 * src/nm-activation-request.c
4409 src/nm-activation-request.h
4410 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4411 now passes a list of updated settings names, not just one
4412 - (update_one_setting): new function; handle one updated setting
4413 - (get_secrets_cb): handle multiple settings returned from the
4414 settings service; have to be careful of ordering here as there are
4415 some dependencies between settings (ex. wireless-security and 802.1x
4418 * src/marshallers/nm-marshal.list
4419 - new marshaller for connection-secrets-updated signal
4421 * libnm-util/nm-setting-8021x.c
4422 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4424 - (verify): a valid 'eap' property is now required
4426 * libnm-util/nm-connection.c
4427 - (register_default_settings): add priorities to settings; there are
4428 some dependencies between settings, and during the need_secrets
4429 calls this priority needs to be respected. For example, only the
4430 wireless-security setting knows whether or not the connection is
4431 going to use 802.1x or now, so it must be asked for secrets before
4432 any existing 802.1x setting is
4433 - (nm_connection_lookup_setting_type): expose
4435 * libnm-util/nm-setting-wireless.c
4436 - (verify): should verify even if all_settings is NULL; otherwise won't
4437 catch the case where there is missing security
4439 * libnm-util/nm-setting-wireless-security.c
4440 - Remove everything to do with 802.1x
4441 - Add old-school LEAP specific properties for username and password
4442 - (need_secrets): rework LEAP secrets checking
4443 - (verify): rework for LEAP and 802.1x verification
4445 2008-03-17 Dan Williams <dcbw@redhat.com>
4447 * src/NetworkManagerPolicy.c
4448 - (auto_activate_device): always remove the current activation check
4449 from the pending activation list, otherwise when the policy gets
4450 destroyed on NM exit it will attempt to free the already freed
4453 2008-03-14 Tambet Ingo <tambet@gmail.com>
4455 * src/backends/NetworkManagerSlackware.c
4456 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4458 * src/backends/NetworkManagerSuSE.c: Add missing includes.
4460 2008-03-14 Dan Williams <dcbw@redhat.com>
4463 - (nm_device_interface_get_iface): g_object_get() will return an
4464 allocated value, so this function must not return const
4465 - (nm_device_interface_activate): free returned iface
4467 2008-03-14 Tambet Ingo <tambet@gmail.com>
4469 * libnm-util/Makefile.am: Add new files to build.
4471 * libnm-util/nm-connection.c: Register NMSetting8021x.
4473 * libnm-util/nm-setting-8021x.c
4474 * libnm-util/nm-setting-8021x.h: Implement.
4476 2008-03-14 Tambet Ingo <tambet@gmail.com>
4478 * libnm-util/Makefile.am: Add new files to build.
4480 * libnm-util/nm-connection.c: Register NMSetting8021x.
4482 * libnm-util/nm-setting-8021x.c
4483 * libnm-util/nm-setting-8021x.h: Implement.
4485 2008-03-14 Tambet Ingo <tambet@gmail.com>
4487 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4490 2008-03-14 Dan Williams <dcbw@redhat.com>
4492 * include/wireless-helper.h
4494 - One place for all the junk needed for #including wireless.h
4497 src/NetworkManagerAP.c
4500 libnm-util/nm-utils.c
4501 libnm-util/nm-setting-wireless.c
4502 libnm-glib/nm-device-802-11-wireless.c
4503 libnm-glib/nm-access-point.c
4504 libnm-glib/libnm-glib-test.c
4505 - include wireless-helper.h, not iwlib.h
4508 - Don't need libiw really, just need to check for wireless.h
4510 * src/kernel-types.h
4511 - Remove; used types moved into wpa.c
4513 * src/nm-device-802-11-wireless.c
4514 - (nm_device_802_11_wireless_update_signal_strength,
4515 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4516 nm_device_802_11_wireless_set_mode,
4517 nm_device_802_11_wireless_get_frequency,
4518 nm_device_802_11_wireless_get_ssid,
4519 nm_device_802_11_wireless_set_ssid,
4520 nm_device_802_11_wireless_get_bitrate,
4521 nm_device_802_11_wireless_get_bssid,
4522 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4523 instead of iwlib functions
4525 2008-03-14 Dan Williams <dcbw@redhat.com>
4527 * src/ppp-manager/nm-ppp-manager.c
4528 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4529 should only take the DBusGMethodInvocation argument, not user/pass
4530 too. With dbus-glib, async functions only take 2 C arguments since
4531 the real dbus method arguments get passed back with
4532 dbus_g_method_return()
4534 2008-03-13 Tambet Ingo <tambet@gmail.com>
4536 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
4537 Adapt the changes of NMSettingIP4Config.
4539 2008-03-13 Dan Williams <dcbw@redhat.com>
4541 * src/NetworkManagerUtils.c
4542 src/NetworkManagerUtils.h
4543 - (nm_ether_ntop): replacement for iw_ether_ntop()
4545 * src/NetworkManagerAP.c
4546 src/nm-device-802-11-wireless.c
4547 src/nm-device-802-3-ethernet.c
4548 - s/iw_ether_ntop/nm_ether_ntop/g
4550 2008-03-13 Dan Williams <dcbw@redhat.com>
4552 * src/NetworkManagerPolicy.c
4553 - (update_routing_and_dns): never set the default route through an
4554 IPv4LL addressed device
4556 2008-03-13 Dan Williams <dcbw@redhat.com>
4558 * NetworkManagerUtils.c
4559 NetworkManagerUtils.h
4560 - Remove NMSock stuff
4561 - Remove the completion stuff
4566 NetworkManagerSystem.c
4568 nm-device-802-11-wireless.c
4569 nm-device-802-3-ethernet.c
4570 - Remove NMSock and completion stuff
4571 - Remove nm_ioctl_info()
4573 2008-03-12 Dan Williams <dcbw@redhat.com>
4576 - (merge_ip4_config): avoid duplicates
4578 2008-03-12 Dan Williams <dcbw@redhat.com>
4580 * libnm-util/nm-setting-ip4-config.c
4581 libnm-util/nm-setting-ip4-config.h
4582 - Remove 'manual' and 'autoip' properties
4583 - Add 'method' property
4584 - (verify): fix verification with 'method'
4585 - (finalize): free 'method'
4586 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4590 - (real_act_stage3_ip_config_start): check IP4Config method
4591 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4593 - (merge_ip4_config): IP settings are valid with DHCP too
4594 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4595 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4597 * src/nm-device-802-11-wireless.c
4598 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4599 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4602 * system-settings/plugins/ifcfg-fedora/parser.c
4603 system-settings/plugins/ifcfg-suse/parser.c
4604 - (make_ip4_setting): fix up for 'method'
4606 2008-03-12 Dan Williams <dcbw@redhat.com>
4608 * system-settings/plugins/ifcfg-fedora/parser.c
4609 system-settings/plugins/ifcfg-fedora/parser.h
4610 - (get_ifcfg_name): ignore more file suffixes
4611 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4613 2008-03-12 Dan Williams <dcbw@redhat.com>
4616 - Bring in the bits of gnome-common we actually use (all 15 lines)
4618 2008-03-12 Dan Williams <dcbw@redhat.com>
4620 * system-settings/plugins/ifcfg-fedora/plugin.c
4621 - (write_auto_wired_connection): new function; write out an auto
4622 wired connection file since the applet isn't doing it any more
4623 - (reload_all_connections): write out the auto wired connection file
4624 if there aren't any wired connections already
4625 - (init): don't leak a GError
4627 2008-03-12 Dan Williams <dcbw@redhat.com>
4629 * src/nm-device-interface.c
4630 - (nm_device_interface_activate): print the ID of the connection
4631 that's about to be activated
4633 2008-03-12 Dan Williams <dcbw@redhat.com>
4635 Harmonize the 802.11 bitrate API
4637 * introspection/nm-access-point.xml
4638 - 'Rate' -> 'MaxBitrate'; clarify units
4640 * introspection/nm-device-802-11-wireless.xml
4641 - Clarify units of 'Bitrate'
4643 * src/NetworkManagerAP.c
4644 src/NetworkManagerAP.h
4645 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4646 property to 'max-bitrate'
4647 - (foreach_property_cb): convert rate to Kb/s
4649 * src/nm-device-802-11-wireless.c
4650 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4652 * libnm-glib/nm-access-point.c
4653 libnm-glib/nm-access-point.h
4654 - 'rate' -> 'max-bitrate'
4657 libnm-glib/libnm-glib-test.c
4658 - Fix up for these changes
4660 2008-03-12 Dan Williams <dcbw@redhat.com>
4663 - (nm_device_set_ip4_config): don't send property notifications when
4664 the ip4 config is set to NULL; it causes a PropertyChanged signal
4665 which dbus-glib can't parse because the value is NULL, which isn't
4666 a legal object path. Setting the IP4 config to NULL is only
4667 valid when deactivating a device anyway, so the device state change
4668 will alert listeners that the ip4 config is invalid.
4670 2008-03-12 Dan Williams <dcbw@redhat.com>
4672 * src/nm-properties-changed-signal.c
4673 - (add_to_string): better handling of NULL objects
4675 2008-03-12 Dan Williams <dcbw@redhat.com>
4677 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4678 convert the libnm-glib NMDevice8023Ethernet to cached properties
4680 * introspection/nm-device-802-3-ethernet.xml
4681 - New 'Carrier' property
4682 - New 'PropertiesChanged' signal
4684 * introspection/nm-device.xml
4685 - Remove 'Carrier' property
4686 - Remove 'CarrierChanged' signal
4688 * src/nm-device-interface.c
4689 src/nm-device-interface.h
4690 - (nm_device_interface_init): remove 'carrier' property and
4691 'carrier-changed' signal
4695 - (nm_device_get_carrier, nm_device_set_carrier): remove
4696 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4697 the link here; wired device will handle that
4698 - (handle_dhcp_lease_change): don't bother updating link here
4699 - (get_property, nm_device_class_init): remove carrier property
4701 * src/nm-device-802-11-wireless.c
4702 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4703 real_update_link(); wireless devices don't use carrier at all
4704 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4705 supplicant_iface_connection_state_cb_handler,
4706 supplicant_mgr_state_cb_handler): remove anything to do with carrier
4708 * src/nm-device-802-3-ethernet.c
4709 src/nm-device-802-3-ethernet.h
4710 - (nm_device_802_3_ethernet_carrier_on,
4711 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4712 instead of nm_device_set_carrier()
4713 - (device_state_changed): update link from sysfs on activation;
4714 replaces real_update_link()
4715 - (real_update_link): remove, replaced by device_state_changed()
4716 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4717 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4718 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4719 new get_carrier function
4720 - (get_property): add 'carrier' property
4721 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4722 hook into property-changed signal helper
4724 * src/NetworkManagerPolicy.c
4725 - (device_carrier_changed): will only ever be called with a wired device
4726 - (device_added): only hook up to carrier-changed for wired devices
4728 * libnm-glib/nm-device.c
4729 libnm-glib/nm-device.h
4730 - (constructor, nm_device_class_init): remove carrier-changed signal
4731 - (device_carrier_changed_proxy): remove; unused
4732 - (nm_device_get_carrier): remove; carrier a property of wired devices
4734 * libnm-glib/nm-device-802-3-ethernet.c
4735 libnm-glib/nm-device-802-3-ethernet.h
4736 - Convert to cached properties like AP and Wireless objects
4737 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
4738 instead of a 'char *', return value should not be freed
4739 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
4740 - (constructor): hook into properties-changed helper
4741 - (set_property, get_property): new functions
4742 - (nm_device_802_3_ethernet_class_init): export GObject properties
4745 - (detail_device): strdup the wired hardware address too since it's
4748 * libnm-glib/libnm-glib-test.c
4749 - (dump_wired): strdup the wired hardware address too since it's
4752 2008-03-12 Dan Williams <dcbw@redhat.com>
4754 * libnm-util/nm-setting-ip4-config.c
4755 libnm-util/nm-setting-ip4-config.h
4756 - (set_property, get_property, nm_setting_ip4_config_class_init): add
4757 the 'autoip' property from the spec
4759 2008-03-11 Dan Williams <dcbw@redhat.com>
4761 * src/backends/NetworkManagerGeneric.c
4762 src/backends/NetworkManagerGeneric.h
4763 - (nm_generic_device_get_use_dhcp): remove
4765 2008-03-11 Dan Williams <dcbw@redhat.com>
4768 - (nm_device_deactivate): don't need to munge DNS here; that gets done
4769 already in nm_device_set_ip4_config()
4770 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
4771 due to a DHCP rebind fails
4772 - (nm_device_set_ip4_config): send property notifications when the
4774 - (get_property): only report IP4Config property during valid states
4776 * src/NetworkManagerPolicy.c
4777 - (update_routing_and_dns): ignore devices that don't have an ip4
4778 config; add parameter 'force_update' to allow callers to specify
4779 that changes should be made even if the default device doesn't change
4780 - (device_ip4_config_changed): update DNS and routing when the device's
4781 IP4Config changes, like for DHCP updates
4782 - (device_added): listen for ip4-config property changes
4784 2008-03-11 Dan Williams <dcbw@redhat.com>
4786 Fix address handling as a result of DHCP rebind/renew/reboot.
4788 * src/NetworkManagerSystem.c
4789 - (check_one_address): delete an address if it doesn't match a given
4790 one for the same interface
4791 - (nm_system_device_set_from_ip4_config): don't flush the default route,
4792 be smarter about flushing addresses (only flush ones that don't
4793 match the one we're about to apply)
4795 * src/backends/NetworkManagerDebian.c
4796 src/backends/NetworkManagerSuSE.c
4797 src/backends/NetworkManagerArch.c
4798 src/backends/NetworkManagerSlackware.c
4799 src/backends/NetworkManagerRedHat.c
4800 src/backends/NetworkManagerPaldo.c
4801 src/backends/NetworkManagerFrugalware.c
4802 src/backends/NetworkManagerGentoo.c
4803 - (nm_system_delete_default_route): remove
4805 * src/backends/NetworkManagerGeneric.c
4806 src/backends/NetworkManagerGeneric.h
4807 - (nm_generic_enable_loopback): fix the loopback device label
4808 - (nm_generic_delete_default_route): remove; no longer used
4810 2008-03-11 Dan Williams <dcbw@redhat.com>
4812 * src/nm-device-interface.h
4813 - Delimit property name words with '-', otherwise g_object_notify()
4814 doesn't work the way we expect
4816 2008-03-11 Tambet Ingo <tambet@gmail.com>
4818 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
4820 2008-03-11 Dan Williams <dcbw@redhat.com>
4822 * src/NetworkManagerPolicy.c
4823 - (update_routing_and_dns): don't change anything if the default device
4824 hasn't changed; print something out when switching the default route
4827 2008-03-10 Tambet Ingo <tambet@gmail.com>
4831 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
4832 setting. Use "nic-$eth".
4834 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
4835 the device is activating here to fix a race condition.
4837 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
4839 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
4840 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
4841 (nm_ppp_manager_start): Take activation request instead of connection, we might
4842 need it for asking secrets.
4843 (nm_ppp_manager_update_secrets): Implement.
4845 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
4846 ppp manager start. It might be needed for asking secrets.
4848 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
4849 (ppp_state_changed): Handle pppd daemon disappearing.
4850 (pppoe_stage2_config): Send activation request to ppp manager start.
4852 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
4854 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
4855 username and password.
4857 2008-03-10 Dan Williams <dcbw@redhat.com>
4860 - (handle_dhcp_lease_change): apply an IP4 config to a device in
4861 response to a DHCP lease change
4862 - (dhcp_state_changed): handle DHCP lease changes while activated
4863 - (nm_device_set_ip4_config): remove a previously set named config
4864 when setting an ip4 config
4866 2008-03-10 Dan Williams <dcbw@redhat.com>
4868 * src/nm-serial-device.c
4869 - (nm_serial_device_send_command): report errno on error
4870 - (get_reply_got_data): limit the size of the overall buffer
4871 - (wait_for_reply_info_destroy): destroy result string
4872 - (wait_for_reply_got_data): append received data to an overall buffer
4873 until timeout, filled buffer, or error instead of keeping a per-call
4874 buffer. Some devices send data slowly enough that this function
4875 gets called multiple times for the same command stream.
4876 - (nm_serial_device_wait_for_reply): initialize overall buffer for
4877 wait_for_reply_got_data() here
4879 2008-03-10 Dan Williams <dcbw@redhat.com>
4881 * src/nm-cdma-device.c
4882 - (do_dial, init_modem): handle errors from
4883 nm_serial_device_send_command_string()
4885 * src/nm-gsm-device.c
4886 - (do_dial, manual_registration, automatic_registration_get_network,
4887 automatic_registration, enter_pin, check_pin, init_modem): handle
4888 errors from nm_serial_device_send_command_string()
4890 2008-03-10 Dan Williams <dcbw@redhat.com>
4892 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
4894 * src/named-manager/nm-named-manager.c
4895 - (compute_searches): prefer searches before domains
4896 - (compute_domain): new function
4897 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
4898 - (merge_one_ip4_config): if there are no searches in the source config,
4899 merge domains of the source config into the target config
4900 - (compute_nameservers): make formatting of resolv.conf a bit nicer
4902 2008-03-10 Dan Williams <dcbw@redhat.com>
4904 * src/nm-serial-device.c
4905 - (get_reply_got_data): clean up indentation, shrink serial buffer
4906 - (wait_for_reply_got_data): try to handle slower serial devices where
4907 the reply is broken up into multiple reads by concatenating replies
4908 together until either an error is received or the search string is
4911 2008-03-10 Dan Williams <dcbw@redhat.com>
4914 - (nm_device_bring_down): deactivate the device if it's activating too,
4915 not just if it's already activated. This makes sure that everything
4916 from an association attempt is cleaned up (like DHCP for example)
4918 2008-03-10 Dan Williams <dcbw@redhat.com>
4920 * src/nm-serial-device.c
4921 - (config_fd): report error from TCSETA
4922 - (nm_serial_device_open): fail when config_fd() fails
4924 2008-03-10 Dan Williams <dcbw@redhat.com>
4926 * src/nm-ip4-config.c
4927 - (nm_ip4_config_init): allocate searches list
4928 - (finalize): free searches list
4930 2008-03-09 Dan Williams <dcbw@redhat.com>
4932 Patch from Bas Zoetekouw <bas@debian.org>
4934 * src/dhcp-manager/nm-dhcp-manager.c
4935 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
4937 2008-03-09 Dan Williams <dcbw@redhat.com>
4939 Patch from Bas Zoetekouw <bas@debian.org>
4941 * src/nm-ip4-config.c
4943 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
4944 nm_ip4_config_get_num_searches): add 'searches' as distinct from
4945 domains. 'searches' is the correct way to store multiple search
4946 domains, whereas 'domains' is really just supposed to store one
4947 domain. Some sites abuse the DHCP 'domain-name' option to push
4948 search domains to the client.
4949 - (nm_ip4_config_add_domain): group with related functions (my patch)
4951 2008-03-09 Dan Williams <dcbw@redhat.com>
4953 * src/dhcp-manager/nm-dhcp-manager.c
4954 - (dhclient_run): send interface-specific config files to dhclient
4956 2008-03-07 Dan Williams <dcbw@redhat.com>
4958 * system-settings/plugins/ifcfg-fedora/parser.c
4959 - (is_wireless_device): new function; test a device for wireless
4961 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
4962 test the device for wireless extensions to determine the type
4964 2008-03-07 Dan Williams <dcbw@redhat.com>
4966 Change manager's StateChange signal to StateChanged for consistency.
4968 * introspection/nm-manager.xml
4969 - Add 'StateChanged' signal
4970 - Move 'StateChange' down to the deprecated section
4972 * src/nm-hal-manager.c
4973 - (nm_hal_manager_new): connect to 'state-changed' instead
4975 * src/NetworkManagerPolicy.c
4976 - (nm_policy_new): connect to 'state-changed' instead
4980 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
4981 - (nm_manager_class_init): add 'state-changed' and not the deprecation
4984 * libnm-glib/nm-client.c
4985 libnm-glib/nm-client.h
4986 - (constructor, nm_client_class_init, client_state_changed_proxy):
4987 track and proxy 'state-changed' instead of 'state-change'
4989 2008-03-07 Dan Williams <dcbw@redhat.com>
4991 First pass of multiple active device support. Expect bugs.
4993 * src/nm-ip4-config.c
4995 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
4996 there are better ways to do this in the named manager
5000 - (nm_device_can_activate): return whether the device can activate a
5001 connection right now; taking into account things like carrier state
5003 - (nm_device_get_best_auto_connection): renamed from
5004 nm_device_get_best_connection
5005 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5006 device subclasses themselves, so that each device can override the
5007 MTU from it's NMSetting subclass if needed
5008 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5009 in NetworkManagerSystem.c, not here
5011 * src/named-manager/nm-named-manager.c
5012 src/named-manager/nm-named-manager.h
5013 - (nm_named_manager_name_owner_changed,
5014 nm_named_manager_dbus_connection_changed): fix for changes to
5015 rewrite_resolv_conf()
5016 - (compute_nameservers): don't need the NMNamedManager at all, remove
5018 - (merge_one_ip4_config): new function; merge ip4 configs together
5019 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5020 ip4 configs; the VPN config takes precedence, then the best
5021 device config, then the rest of the configs
5022 - (get_domain_for_config): take the NMNamedManager as an argument
5023 to check whether the config is the VPN config
5024 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5025 attribute from ip4 configs
5026 - (add_all_ip4_configs_to_named): add all the configs in priority order
5027 - (remove_ip4_config_from_named): fix for changes to
5028 get_domain_for_config()
5029 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5030 based on its type; callers must pass in the type now
5031 - (get_last_default_domain): remove, unused
5032 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5034 * src/nm-device-802-11-wireless.c
5035 - (real_can_activate): new function
5036 - (real_get_best_auto_connection): renamed from real_get_best_connection
5037 - (real_act_stage4_get_ip4_config): handle MTU override
5039 * src/nm-device-802-3-ethernet.c
5040 - (real_can_activate): new function
5041 - (real_get_best_auto_connection): renamed from real_get_best_connection
5042 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5044 * src/vpn-manager/nm-vpn-connection.c
5045 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5046 attribute on the ip4 config
5048 * src/NetworkManagerPolicy.c
5049 - (nm_policy_auto_get_best_device): remove
5050 - (nm_policy_device_change_check): remove
5051 - (update_default_route): new function; set the default route via
5052 the specified device
5053 - (get_device_priority): new function; return the priority number of
5054 a device type WRT which one should have the default route. Order is
5055 (highest to lowest) wired, wireless, GSM, CDMA.
5056 - (update_routing_and_dns): new function; determine which device should
5057 have the default route, then update the routing table and DNS
5058 - (maybe_auto_activate_device): new function; if a device is now
5059 available for activation, find out what connection it would like to
5061 - (schedule_activate_check): new function; if a device can be activated
5062 now, schedule the activation. Each device may have only one
5063 pending activation at a given time.
5064 - (device_state_changed): if activation was canceled, try again,
5065 possibly with another connection; if the device was activated,
5066 update routing and DNS; if the device was deactivated, try again
5067 with another connection
5068 - (device_carrier_changed): if there is no carrier, deactivate the
5069 device; otherwise schedule an activation check for the device
5070 - (wireless_networks_changed): schedule an activation check for the
5072 - (device_added): keep track of the signal handler IDs so they can
5073 be removed when the device goes away
5074 - (device_removed): remove any signal handlers that might be attached
5075 to the device; update routing and DNS
5076 - (schedule_activate_all): new function
5077 - (connections_added, connection_added, connection_updated): when
5078 connections change, schedule all devices for an activation check
5079 - (connection_removed): when a device is deactivated because its
5080 connection was removed, schedule another activation check for it
5081 - (nm_policy_destroy): destroy pending activations and disconnect
5082 all device signal handlers
5085 - (nm_manager_activate_device): if the device was already actived,
5087 - (deactivate_old_device): remove
5088 - (connection_added_default_handler, impl_manager_activate_device):
5089 don't deactivate other devices when activating this one
5091 * src/backends/NetworkManagerGentoo.c
5092 src/backends/NetworkManagerFrugalware.c
5093 src/backends/NetworkManagerPaldo.c
5094 src/backends/NetworkManagerRedHat.c
5095 src/backends/NetworkManagerSlackware.c
5096 src/backends/NetworkManagerArch.c
5097 src/backends/NetworkManagerSuSE.c
5098 src/backends/NetworkManagerDebian.c
5099 - (nm_system_get_mtu): remove; MTU should be provided through the
5100 distro's system settings service plugin instead
5101 - (nm_system_device_add_default_route_via_device): remove
5102 - (nm_system_device_add_default_route_via_device_with_iface): remove
5103 - (nm_system_device_replace_default_route): new function; call
5104 generic implementation
5106 * src/backends/NetworkManagerGeneric.c
5107 src/backends/NetworkManagerGeneric.h
5108 - (nm_generic_device_add_default_route_via_device,
5109 nm_generic_device_add_default_route_via_device_with_iface): remove
5110 - (nm_generic_device_replace_default_route): replace the default route
5111 with the given route via some gateway
5113 * src/NetworkManagerSystem.c
5114 src/NetworkManagerSystem.h
5115 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5116 to routing and DNS; but set the MTU here
5117 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5118 ip_iface of the active device; use the standard MTU setting function
5119 - (nm_system_set_mtu): remove
5120 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5122 2008-03-07 Tambet Ingo <tambet@gmail.com>
5124 Rework the interaction between ppp manager and pppd plugin. Register a well
5125 known DBUS service in manager and let the plugin call it's methods instead
5126 of listening plugin's signals.
5128 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5129 of emitting signals.
5131 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5133 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5135 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5136 nm_ppp_manager_start().
5138 * introspection/nm-ppp-manager.xml: New file.
5140 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5141 the case correctly where driver is trying to send -1 for the speed, which gets
5142 casted to u16 and thus is always > 0.
5144 2008-03-07 Dan Williams <dcbw@redhat.com>
5146 * src/nm-hal-manager.c
5147 - (nm_get_device_driver_name): use net.originating_device first, fall
5148 back to physical device. HAL has deprecated physical_device.
5150 * libnm-glib/nm-device.c
5151 - (get_product_and_vendor): use net.originating_device first, fall
5152 back to physical device. HAL has deprecated physical_device.
5153 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5155 2008-03-07 Dan Williams <dcbw@redhat.com>
5158 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5159 last commit; fix that
5160 - (get_link_cache): print error string
5162 2008-03-07 Dan Williams <dcbw@redhat.com>
5165 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5166 don't need this hack any more (Benoit Boissinot)
5168 2008-03-06 Dan Williams <dcbw@redhat.com>
5171 - Die gnome-common, die
5173 2008-03-04 Dan Williams <dcbw@redhat.com>
5175 Patch from Michael Biebl <biebl@debian.org>
5177 * NetworkManager.pc.in
5178 - doesn't actually depend on dbus-1
5180 * libnm-util/nm-utils.h
5181 - remove unused #include <dbus/dbus.h>
5183 * libnm-glib/libnm_glib.pc.in
5184 - depends on glib and dbus-glib
5186 2008-03-02 Dan Williams <dcbw@redhat.com>
5188 * src/NetworkManagerPolicy.c
5189 - s/device_state_changed_idle_id/update_state_id/
5191 2008-03-02 Dan Williams <dcbw@redhat.com>
5195 src/nm-device-802-11-wireless.c
5196 src/nm-device-802-3-ethernet.c
5197 src/NetworkManagerPolicy.c
5198 - s/link_active/carrier
5199 - nm_device_set_active_link() -> nm_device_set_carrier()
5200 - nm_device_has_active_link() -> nm_device_get_carrier()
5202 2008-03-02 Dan Williams <dcbw@redhat.com>
5204 * system-settings/plugins/ifcfg-fedora/parser.c
5205 - (make_wireless_setting): fail connection creation on missing SSID
5207 2008-02-29 Dan Williams <dcbw@redhat.com>
5209 * src/NetworkManagerPolicy.c
5210 - (nm_policy_device_change_check): ensure that a previously active
5211 device with a system connection has a link before denying a switch
5212 to a user connection
5214 2008-02-29 Dan Williams <dcbw@redhat.com>
5216 * src/nm-device-802-11-wireless.c
5217 - (link_timeout_cb): try again if scanning; deactivate the device when
5218 activated if the link dies
5219 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5222 2008-02-29 Dan Williams <dcbw@redhat.com>
5224 * src/nm-device-802-11-wireless.c
5225 src/nm-device-802-11-wireless.h
5226 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5227 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5228 - (device_cleanup): reset the scan interval lower when the device
5230 - (can_scan): base decision mostly off device state, not supplicant
5231 interface state since the supplicant interface state isn't a
5232 great indicator of whether the device is active or not
5233 - (request_wireless_scan): clean up; schedule the next scan here
5234 - (schedule_scan): only back the scan interval off if a new scan
5235 actually gets scheduled; and make scan intervals tighter when the
5236 device is disconnected
5237 - (supplicant_iface_state_cb_handler): fold in the bits of
5238 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5240 - (activation_success_handler): reset scan interval to something
5243 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
5245 reviewed by: Steev <steev@steev.net>
5248 * src/backends/NetworkManagerGentoo.c:
5249 (nm_system_restart_mdns_responder):
5250 Howl is no longer a supported mDNS provider
5252 2008-02-28 Tambet Ingo <tambet@gmail.com>
5254 Get rid of a bunch of unused distro specific functions.
5256 2008-02-28 Tambet Ingo <tambet@gmail.com>
5258 Implement suse plugin for system settings daemon.
5260 * system-settings/plugins/ifcfg-suse/*: Implement.
5262 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5265 * configure.in: Check (without failing) for gio.
5266 Create ifcfg-suse plugin's Makefile.
5268 2008-02-20 Dan Williams <dcbw@redhat.com>
5270 * libnm-util/nm-connection.c
5271 libnm-util/nm-connection.h
5272 - (nm_connection_compare): accept compare flags and pass them to the
5273 setting compare function
5275 * libnm-util/nm-setting.c
5276 libnm-util/nm-setting.h
5277 - (nm_setting_compare): accept compare flags; ignore properties that are
5280 * libnm-util/nm-setting-connection.c
5281 libnm-util/nm-setting-wireless.c
5282 libnm-util/nm-setting-ppp.c
5283 libnm-util/nm-setting-wired.c
5284 - Mark some setting properties as ignorable when doing a fuzzy compare
5287 - (device_activation_precheck): use exact compare
5289 2008-02-20 Dan Williams <dcbw@redhat.com>
5291 * src/NetworkManagerPolicy.c
5292 - (nm_policy_device_change_check): get scope off the connection, not
5293 using the manager helper
5297 - (get_scope_for_proxy): rename from get_type_for_proxy()
5298 - (connection_get_settings_cb): set scope and path on connection, not
5299 using GObject data items
5300 - (get_connection_for_proxy): don't need to return path, since that
5301 can be gotten from the connection
5302 - (get_connection_for_proxy): get path off the connection, not from
5304 - (connection_removed_cb, connection_updated_cb): don't need to get
5305 path from get_connection_for_proxy(); get scope off the connection
5306 instead of using GObject data items
5307 - (connection_added_default_handler, add_one_connection_element): use
5308 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5309 - (nm_manager_get_connection_dbus_path): remove
5310 - (nm_manager_get_connection_scope): remove
5312 2008-02-20 Dan Williams <dcbw@redhat.com>
5314 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5317 * Add 'path' and 'scope' properties to NMConnection since both NM and the
5318 applet were having to hack this in anyway. Remove the 'path' stuff from
5319 NMExportedConnection
5321 * Internally rename NMConnectionType -> NMConnectionScope
5323 * Provide default implementations of the 'get_id' and 'get_settings' methods
5324 of NMExportedConnection
5326 2008-02-15 Dan Williams <dcbw@redhat.com>
5328 * src/nm-device-802-11-wireless.c
5329 - (device_cleanup): release the AP list here too so that the AP list
5330 doesn't survive across suspend/resume and up/down. There is some
5331 room for optimization, for example blow the list away when the card
5332 brought back up, but only if the device has only been down for a
5335 2008-02-15 Dan Williams <dcbw@redhat.com>
5337 * src/nm-hal-manager.c
5338 - (modem_device_creator): recognize new HAL modem capabilities
5340 2008-02-12 Dan Williams <dcbw@redhat.com>
5342 * system-settings/plugins/ifcfg-fedora/plugin.c
5343 - (watch_path): handle IN_DELETE_SELF too
5344 - (handle_connection_changed): notify when removing a connection
5345 - (stuff_changed): don't warn on unknown inotify watches; handle the
5346 case of a file moving out of the profile directory
5348 2008-02-12 Dan Williams <dcbw@redhat.com>
5350 * system-settings/plugins/ifcfg-fedora/parser.c
5351 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5353 2008-02-12 Dan Williams <dcbw@redhat.com>
5355 * libnm-util/nm-utils.c
5356 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5357 just any empty array
5359 2008-02-12 Dan Williams <dcbw@redhat.com>
5361 * system-settings/src/nm-system-config-interface.c
5362 system-settings/src/nm-system-config-interface.h
5363 - (load_connections): get_connections() should now return an allocated
5364 GSList that the system settings service will free
5366 * system-settings/plugins/ifcfg-fedora/plugin.c
5367 system-settings/plugins/ifcfg-fedora/parser.h
5368 system-settings/plugins/ifcfg-fedora/parser.c
5369 - Fix up inotify issues; handle keys-* files, handle new files appearing
5370 in the profile directory, handle resolv.conf file changes
5372 2008-02-10 Dan Williams <dcbw@redhat.com>
5374 * src/nm-device-802-3-ethernet.c
5375 - (real_bring_up): save the supplicant interface state signal id
5376 - (real_bring_down): disconnect from the supplicant interface state
5379 2008-02-07 Dan Williams <dcbw@redhat.com>
5381 * initscript/RedHat/NetworkManager.in
5382 initscript/RedHat/NetworkManagerDispatcher.in
5383 - Add new-style LSB init headers
5385 2008-02-07 Dan Williams <dcbw@redhat.com>
5387 * system-settings/src/dbus-settings.c
5388 system-settings/src/dbus-settings.h
5389 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5391 - (connection_settings_get_secrets): consolidate error returns into
5392 one place; use the new get_secrets() plugin interface function to
5393 get secrets from the plugin itself rather than using GObject data
5396 * system-settings/src/main.c
5397 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5398 load_connections): keep a private list of the plugin-returned
5399 connections, don't use the plugin's GSList
5401 * system-settings/plugins/ifcfg-fedora/plugin.c
5402 - (watch_path): watch the path, not the filename (duh)
5403 - (reload_all_connections): use the direct hash/equal functions; the
5404 ones for int aren't appropriate here
5405 - (get_secrets, system_config_interface_init): implement the
5406 get_secrets() function
5407 - (build_one_connection, find_connection_by_path): ifcfg file path is
5408 now in the connection's ConnectionData instead of being a GObject
5410 - (handle_profile_item_changed): ifcfg file path is now in the
5411 connection's ConnectionData instead of being a GObject data property;
5412 be sure to copy secrets over from the new connection to the existing
5413 connection when updating the connection's settings
5414 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5417 * system-settings/plugins/ifcfg-fedora/parser.c
5418 system-settings/plugins/ifcfg-fedora/parser.h
5419 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5420 connection_data_copy_secrets, connection_data_free,
5421 connection_data_add): new functions; connection data manipulation
5422 - (make_wireless_security_setting): stuff secrets into the
5423 connection data, not as GObject data items; make sure to close
5425 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5426 connection data to the connection
5428 2008-02-07 Dan Williams <dcbw@redhat.com>
5430 * system-settings/src/nm-system-config-interface.c
5431 system-settings/src/nm-system-config-interface.h
5432 - Add a get_secrets() interface function to retrieve secrets for a
5433 specific setting of a specific connection. Document the interface
5436 2008-02-07 Dan Williams <dcbw@redhat.com>
5438 * src/nm-device-802-11-wireless.c
5439 - (handle_auth_or_fail): new function; consolidate device activation
5440 failure check after a certain number of failures getting secrets
5441 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5442 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5443 the connection if secrets were requested more than a few times
5444 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5445 tries here; otherwise they are cleared before the IP configure
5446 timeout, which happens with open system WEP when key is wrong
5447 - (activation_success_handler): clear wireless secrets tries here too
5449 2008-02-07 Dan Williams <dcbw@redhat.com>
5451 * src/NetworkManagerPolicy.c
5452 - (connection_updated): clear invalid tag when connection gets updated
5453 to allow that connection to be tried again
5454 - (nm_policy_new): save signal ids so they can be disconnected when
5455 the policy is destroyed
5456 - (nm_policy_destroy): stop any in-progress state change idle handler,
5457 and disconnect all signals from the manager object so that none
5458 of the policy functions gets called after the policy is destroyed
5460 2008-02-06 Dan Williams <dcbw@redhat.com>
5463 - (finalize): remove devices a bit earlier; clean up system settings
5465 - (nm_manager_name_owner_changed): clean up system settings poke when
5466 the service appears, and try to restart it if it fails
5467 - (poke_system_settings_daemon_cb): try to get the system settings
5468 service started through D-Bus service activation
5469 - (initial_get_connections): start the system settings daemon if it's
5472 2008-02-05 Dan Williams <dcbw@redhat.com>
5474 * src/supplicant-manager/nm-supplicant-config.c
5475 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5476 broadcast networks too
5478 2008-02-04 Dan Williams <dcbw@redhat.com>
5480 * system-settings/plugins/ifcfg-fedora/parser.c
5481 - (make_wireless_security_setting): fix spelling; unencrypted networks
5482 need key_mgmt set too
5483 - (parser_parse_file): validate ifcfg file name and don't try to parse
5484 .bak files; ensure that an error is set whenever NULL gets returned
5486 2008-02-04 Dan Williams <dcbw@redhat.com>
5488 * system-settings/src/Makefile.am
5489 - Install D-Bus service activation file for the system settings
5492 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5493 - D-Bus service activation file for system settings service
5495 2008-02-04 Dan Williams <dcbw@redhat.com>
5497 * system-settings/src/main.c
5498 - (parse_config_file): parse a config file
5499 - (main): accept --config option and read plugins from config file
5501 2008-02-04 Dan Williams <dcbw@redhat.com>
5503 * system-settings/plugins/ifcfg-fedora/plugin.c
5504 - Change reported name to 'ifcfg-fedora'
5505 - Use IFCFG_PLUGIN_NAME
5507 * system-settings/plugins/ifcfg-fedora/plugin.c
5508 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5510 2008-02-04 Dan Williams <dcbw@redhat.com>
5512 * system-settings/plugins/ifcfg-fedora/parser.c
5513 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5514 - (make_connection_setting): use get_ifcfg_name()
5515 - (make_wireless_security_setting): handle shadow key files
5516 - (get_one_wep_key): treat empty string as NULL
5518 2008-02-04 Dan Williams <dcbw@redhat.com>
5520 * src/supplicant-manager/nm-supplicant-manager.c
5521 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5522 glib automatically reschedule
5523 - (nm_supplicant_manager_init): immediately try to start the supplicant
5524 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5527 2008-02-01 Dan Williams <dcbw@redhat.com>
5529 * src/NetworkManagerPolicy.c
5530 - (device_state_changed): schedule a change check when a device gets
5531 deactivated so something happens if you disconnect GSM/CDMA
5533 2008-01-31 Dan Williams <dcbw@redhat.com>
5535 * src/nm-device-802-11-wireless.h
5536 src/nm-device-802-11-wireless.c
5537 - (ap_list_get_ap_by_ssid, is_associated,
5538 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5539 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5540 - (nm_device_802_11_wireless_get_activation_ap): collapse
5541 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5544 2008-01-30 Dan Williams <dcbw@redhat.com>
5546 * system-settings/plugins/ifcfg
5547 * system-settings/plugins/ifcfg-fedora
5548 - Move the ifcfg plugin to ifcfg-fedora
5550 2008-01-24 Dan Williams <dcbw@redhat.com>
5552 * libnm-glib/nm-device-802-11-wireless.c
5553 - (get_access_point): move the "/" check here; check for invalid path
5555 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5556 to get_access_point()
5557 - (access_point_added_proxy, access_point_removed_proxy): don't try
5558 to send signals for non-existent access points
5560 2008-01-24 Dan Williams <dcbw@redhat.com>
5562 * libnm-glib/nm-device-802-11-wireless.c
5563 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5565 2008-01-23 Dan Williams <dcbw@redhat.com>
5567 * libnm-glib/libnm_glib.c
5568 - (libnm_glib_init): make thread joinable
5569 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5571 2008-01-23 Dan Williams <dcbw@redhat.com>
5573 * test/libnm_glib_test.c
5574 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5575 - (main): set up signal handlers; call libnm_glib_shutdown
5577 2008-01-21 Dan Williams <dcbw@redhat.com>
5579 * include/NetworkManager.h
5580 - Add CDMA mobile broadband card device type
5582 * src/nm-hal-manager.c
5583 - (modem_device_creator): handle both CDMA and GSM modems; the device
5584 must now be tagged with 'cdma' or 'gsm' capability
5586 * src/nm-cdma-device.c
5587 src/nm-cdma-device.h
5589 - Add the CDMA mobile broadband card device class
5591 * libnm-util/nm-connection.c
5592 - (register_default_settings): add NMSettingCdma
5594 * libnm-util/nm-setting-cdma.c
5595 libnm-util/nm-setting-cdma.h
5596 libnm-util/Makefile.am
5597 - Add the CDMA mobile broadband card setting class
5599 * libnm-glib/nm-cdma-device.c
5600 libnm-glib/nm-cdma-device.h
5601 libnm-glib/Makefile.am
5602 - Add the CDMA mobile broadband card GLib proxy class
5604 * libnm-glib/nm-client.c
5605 - (get_device): handle CDMA devices too
5607 2008-01-21 Dan Williams <dcbw@redhat.com>
5609 * src/ppp-manager/nm-ppp-manager.c
5610 - (ip4_config_get): set peer address too
5612 * src/ppp-manager/nm-pppd-plugin.c
5613 - (nm_ip_up): try harder to get the peer's address
5615 * src/NetworkManagerSystem.c
5616 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5617 address, use that too. Otherwise, some PPP connections won't work.
5619 2008-01-19 Dan Williams <dcbw@redhat.com>
5621 * src/NetworkManagerPolicy.c
5622 - (nm_policy_device_change_check): system connections override user
5623 connections; don't activate a user connection if there's a currently
5624 active system connection, and new, better system connections always
5625 interrupt user connections
5627 2008-01-19 Dan Williams <dcbw@redhat.com>
5630 - (nm_manager_get_connection_type): new function
5632 2008-01-19 Dan Williams <dcbw@redhat.com>
5634 * src/nm-device-802-11-wireless.c
5635 - (real_get_best_connection): collapse find_best_connection() into this
5638 2008-01-19 Dan Williams <dcbw@redhat.com>
5640 * src/nm-device-802-3-ethernet.c
5641 - (real_get_best_connection): collapse find_best_connection() into this
5644 2008-01-18 Dan Williams <dcbw@redhat.com>
5646 * src/nm-device-802-3-ethernet.c
5647 - (find_best_connection): check MAC address too
5648 - (real_get_best_connection): let autoconnect=True connections activate
5649 for devices that don't have carrier detection
5651 * src/nm-device-802-11-wireless.c
5652 - (find_best_connection): check MAC address too
5654 2008-01-18 Dan Williams <dcbw@redhat.com>
5656 * system-settings/plugins/ifcfg/parser.c
5657 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5659 2008-01-17 Dan Williams <dcbw@redhat.com>
5661 * src/nm-device-802-3-ethernet.c
5662 - (nm_device_802_3_ethernet_carrier_on,
5663 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5664 carrier events that might come in for devices that don't support
5667 2008-01-17 Dan Williams <dcbw@redhat.com>
5669 * src/nm-device-interface.c
5670 - (nm_device_interface_check_connection_conflicts): need to actually
5671 get the interface, not cast to the object
5674 - (nm_device_check_connection_conflicts): need to get the device class,
5675 not cast the device to the device class
5677 2008-01-17 Dan Williams <dcbw@redhat.com>
5679 * src/nm-device-802-11-wireless.c
5680 - (real_check_connection_conflicts): ignore connections that aren't
5681 wireless connections
5683 2008-01-17 Dan Williams <dcbw@redhat.com>
5685 * src/NetworkManagerPolicy.c
5686 - (nm_policy_device_change_check): clear change check idle here
5687 - (device_change_check_done): remove
5688 - (schedule_change_check): simplify
5690 2008-01-17 Dan Williams <dcbw@redhat.com>
5693 - (check_connection_allowed): take an NMDeviceInterface instead of
5694 an NMDevice object as an argument
5695 - (nm_manager_activate_device): pass an NMDeviceInterface to
5696 check_connection_allowed()
5698 2008-01-13 Dan Williams <dcbw@redhat.com>
5700 * libnm-glib/nm-device-802-11-wireless.c
5701 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5703 2008-01-12 Dan Williams <dcbw@redhat.com>
5705 * src/nm-device-802-11-wireless.c
5706 - (activation_success_handler): if a match was found in the scan list
5707 and that match is a hidden AP, update that AP's SSID
5709 2008-01-11 Dan Williams <dcbw@redhat.com>
5711 * src/NetworkManagerAP.c
5712 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5714 * src/nm-device-802-11-wireless.c
5715 - (get_active_ap): do two passes over the scan list if the caller
5716 requests that hidden APs get matched too; during the second pass
5717 when matching hidden APs, ignore the SSID since hidden APs in the
5718 scan list don't have an SSID yet
5719 - (periodic_update): move some checks to
5720 nm_device_802_11_periodic_update() because not all callers need them
5721 - (nm_device_802_11_periodic_update): move some checks here from
5723 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5724 matching on incoming scan results, because the fake AP's flags
5725 might be slightly different (yet still compatible) with the incoming
5726 scan result's flags and they might actually be the same AP; update
5727 the rate on merged APs too
5728 - (activation_success_handler): update the frequency of the fake AP
5729 on successful connection; match hidden APs too since if the
5730 current AP is fake, there might already be a scan result in the
5731 scan list for the desired AP, just without it's SSID filled in yet
5733 2008-01-10 Dan Williams <dcbw@redhat.com>
5735 * src/NetworkManagerAP.c
5736 - (foreach_property_cb): catch more hidden SSID formats
5738 2008-01-10 Dan Williams <dcbw@redhat.com>
5740 Fix gnome.org #464215. Requires the kernel patch titled
5741 "Introduce WEXT scan capabilities" but will handle the patch not being
5742 present, you'll just continue to have problems with hidden SSIDs when
5743 using mac80211-based drivers.
5745 * src/supplicant-manager/nm-supplicant-config.h
5746 src/supplicant-manager/nm-supplicant-config.c
5747 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
5748 whether the driver supports SSID scans or not. If it does, and if
5749 the AP is hidden, use ap_scan=1 instead of ap_scan=2
5751 * src/nm-device-802-11-wireless.c
5752 - (constructor): check whether or not the driver supports SSID scans
5753 - (build_supplicant_config): pass driver SSID scan capability when
5754 building the wireless bits of the supplicant config
5756 2008-01-09 Dan Williams <dcbw@redhat.com>
5760 - (device_activation_precheck, check_connection_complete): remove this
5761 virtual function; incomplete connections should be invalid by
5762 definition, complete-ness should be checked in the setting's
5765 * src/nm-serial-device.c
5767 - (real_check_connection_complete): remove
5769 * libnm-util/nm-setting-serial.c
5770 - (verify): new function; ensure there is a PPP setting too
5772 * libnm-util/nm-setting-gsm.c
5773 - (verify): ensure there is a serial setting too
5775 2008-01-06 Dan Williams <dcbw@redhat.com>
5777 * src/dhcp-manager/nm-dhcp-manager.c
5778 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
5781 2008-01-04 Dan Williams <dcbw@redhat.com>
5783 * src/named-manager/nm-named-manager.c
5784 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
5785 nameservers if the secondary config doesn't have any
5788 2008-01-02 Tambet Ingo <tambet@gmail.com>
5790 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
5791 with G_PARAM_CONSTRUCT so that they get the default values.
5793 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
5794 the monitoring device and prints out the output for now. Or more precicely, doesn't
5795 do absolutely anything right now since the montoring device argument is never set.
5797 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
5798 requires it's own knob to turn it on.
5799 (config_fd): Add NMSettingSerial to the arguments list.
5800 (nm_serial_device_open): Ditto.
5801 (get_reply_got_data): Ignore the terminators at the beginning of the output.
5802 (nm_serial_device_get_io_channel): Implement.
5804 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
5805 a new reference every time (and forgetting to release it sometimes) is a pain and
5806 it's not like NMManager could work without dbus.
5807 (nm_manager_add_device): Register the added device on dbus here.
5809 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
5812 * src/nm-device.c (constructor): Don't export the device here, instead export
5813 it when it's added to the NMManager's device list.
5815 2007-12-31 Dan Williams <dcbw@redhat.com>
5817 * src/nm-device-interface.c
5818 src/nm-device-interface.h
5819 - (nm_device_interface_check_connection_conflicts): new function
5823 - (nm_device_check_connection_conflicts): new function
5824 - (device_activation_precheck): don't require subclasses to implement
5825 check_connection_complete()
5826 - check_connection() -> check_connection_complete()
5828 * src/nm-device-802-11-wireless.c
5829 - (real_check_connection): remove; unused
5830 - (real_check_connection_conflicts): implement, handle lockdown for
5833 * src/nm-device-802-3-ethernet.c
5834 - (real_check_connection): remove; unused
5837 - (check_connection_allowed): new function
5838 - (nm_manager_activate_device): ensure the connection being requested
5839 is allowed to be activated
5841 * src/nm-serial-device.c
5843 - real_check_connection() -> real_check_connection_complete()
5845 2007-12-27 Dan Williams <dcbw@redhat.com>
5847 * src/nm-device-interface.c
5848 src/nm-device-interface.h
5849 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
5850 normalize and expand errors
5851 - (nm_device_interface_init): register errors so they can be marshalled
5853 - (nm_device_interface_activate): ensure that failure of activation
5858 - (device_activation_precheck): implementations of check_connection()
5859 now take a GError and must fill it in if the check fails. Return
5860 more descriptive error if the requested connection is already
5862 - (nm_device_activate): actually try to return descriptive errors on
5865 * src/nm-device-802-11-wireless.c
5866 src/nm-device-802-3-ethernet.c
5867 src/nm-serial-device.c
5869 - (real_check_connection): return more descriptive errors on failure
5871 * src/NetworkManagerPolicy.c
5872 - (nm_policy_device_change_check): print activation errors in the logs
5875 - (nm_manager_error_quark, nm_manager_error_get_type,
5876 nm_manager_class_init): new errors
5877 - (nm_manager_activate_device): handle errors
5878 - (nm_manager_error_new): removed
5879 - (wait_for_connection_expired, connection_added_default_handler,
5880 impl_manager_activate_device): better error handling
5882 2007-12-27 Dan Williams <dcbw@redhat.com>
5884 Fixes gnome.org #466954
5886 * src/supplicant-manager/nm-supplicant-settings-verify.c
5887 - Allow 'frequency' network property
5889 * src/supplicant-manager/nm-supplicant-config.c
5890 src/supplicant-manager/nm-supplicant-config.h
5891 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
5892 for callers to specify the frequency an Ad-Hoc network should operate
5893 on. Some drivers require this to successfully create an Ad-Hoc
5896 * src/nm-device-802-11-wireless.c
5897 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
5898 guint32 value in MHz
5899 - (constructor, nm_device_802_11_wireless_get_frequency): use
5901 - (find_supported_frequency): new function; find a free supported
5902 frequency for a user-created Ad-Hoc network
5903 - (build_supplicant_config): if no frequency was specified for a user-
5904 created Ad-Hoc network, find a free one to use
5905 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
5906 a specific object as user-created
5908 2007-12-27 Dan Williams <dcbw@redhat.com>
5910 * libnm-util/nm-utils.c
5911 libnm-util/nm-utils.h
5912 - (nm_utils_security_valid): add 'adhoc' argument and handle security
5915 2007-12-24 Dan Williams <dcbw@redhat.com>
5917 * libnm-util/nm-setting-wireless.c
5918 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
5919 185, 187, 188, 192, and 196
5921 2007-12-24 Dan Williams <dcbw@redhat.com>
5923 * src/nm-device-802-11-wireless.c
5924 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
5925 a channel # instead of a frequency
5927 2007-12-24 Dan Williams <dcbw@redhat.com>
5929 * src/NetworkManagerAP.c
5930 src/NetworkManagerAP.h
5931 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
5932 - (freq_to_channel): handle split band tables
5933 - (channel_to_freq): handle split band tables, take a band argument
5935 2007-12-24 Dan Williams <dcbw@redhat.com>
5937 * libnm-util/nm-setting-connection.h
5938 libnm-util/nm-setting-connection.c
5939 - Add 'lockdown' member
5941 2007-12-22 Dan Williams <dcbw@redhat.com>
5943 * libnm-util/nm-setting-wireless.c
5944 - (nm_setting_wireless_class_init): add missing 'rate' property
5947 2007-12-18 Dan Williams <dcbw@redhat.com>
5949 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
5951 * src/nm-netlink-monitor.c
5952 src/nm-netlink-monitor.h
5953 - Remove handrolled netlink, use libnl instead
5955 * src/nm-device-802-3-ethernet.c
5956 - (constructor, nm_device_802_3_ethernet_carrier_off,
5957 nm_device_802_3_ethernet_carrier_on): use new names
5959 2007-12-17 Dan Williams <dcbw@redhat.com>
5962 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
5963 and fixes memory leaks)
5966 - (nm_netlink_get_default_handle): handle new versions of libnl that
5967 automatically handle the netlink PID
5969 2007-12-17 Dan Williams <dcbw@redhat.com>
5971 Patch from Michael Biebl <biebl@debian.org>
5974 src/ppp-manager/Makefile.am
5975 - fix up install dir of pppd plugin
5976 - clean up configure.in a bit
5978 2007-12-12 Dan Williams <dcbw@redhat.com>
5980 * system-settings/src/nm-system-settings.conf
5981 - Allow non-root clients (like the applet) to read settings
5983 2007-12-10 Tambet Ingo <tambet@gmail.com>
5985 * Replace all occurences of 'UMTS' with 'GSM'.
5987 2007-12-07 Dan Williams <dcbw@redhat.com>
5989 * src/nm-serial-device.c
5990 - (real_is_up): serial devices are always "up"
5992 2007-12-07 Dan Williams <dcbw@redhat.com>
5995 src/NetworkManagerSystem.c
5996 - (new_nl_handle): ensure that the same netlink pid is never chosen
5997 twice (gnome.org #491047)
5998 - Make more robust against allocation-related failures should they occur
6000 2007-12-07 Dan Williams <dcbw@redhat.com>
6002 Noticed by Christian Persch <chpe@gnome.org>
6004 Always chain up to parent object in dispose and finalize handlers.
6007 2007-12-07 Dan Williams <dcbw@redhat.com>
6009 * src/nm-device-802-11-wireless.c
6010 - Wrap #include of linux/mii.h to fix redefined structures due to
6011 incorrect kernel headers (gnome.org #350061)
6013 2007-12-06 Tambet Ingo <tambet@gmail.com>
6015 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6016 before doing anything else.
6017 (init_modem): Move modem initialization here.
6019 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6020 (nm_serial_device_flash): Implement.
6022 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6023 changes signal is "StateChanged" and not "Status".
6024 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6026 2007-12-06 Dan Williams <dcbw@redhat.com>
6028 * src/supplicant-manager/nm-supplicant-config.c
6029 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6030 to only send some options when they make sense; also send phase2
6031 option to the supplicant (possible fix for rh #399631)
6033 2007-12-06 Tambet Ingo <tambet@gmail.com>
6035 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6036 arguments: This whole file shouldn't really know anything about NMDevices, it
6037 should deal only with device interfaces. Devices might have different ifaces for
6038 different stuff and this place shouldn't know anything about it.
6040 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6041 (global_state_changed): Implement. In the current NM it's not really important,
6042 but will be required in the case of multiple active devices. (Or even better,
6043 if stuff like that gets moved out from NM).
6045 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6046 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6049 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6050 devices like serial devices (ttyS0 and ppp0 for example).
6051 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6053 (nm_device_set_ip_iface): Implement.
6054 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6055 after setting ip4_config from here ...
6056 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6057 than this function should call nm_system_device_set_from_ip4_config() because no
6058 other code has enough information on which arguments to use. So instead, other code
6059 could just set the new ip4 config using this function and everyone is happy.
6061 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6062 if we happen to get deactivated while something is pending.
6063 (automatic_registration): Handle the response that indicates pending network
6064 registration and wait until the pending registration is done.
6065 (real_deactivate_quickly): If there's a pending operation, cancel it.
6067 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6068 (real_deactivate_quickly): ... and remove it when it's down.
6069 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6071 (nm_serial_device_wait_for_reply): Ditto.
6073 2007-12-05 Tambet Ingo <tambet@gmail.com>
6075 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6076 (get_network_done): Remove newline, nm_info() does it already.
6077 (real_act_stage1_prepare): Turn the modem echo off.
6079 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6080 device, set the route to the device interface. This is a hack.
6082 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6083 return, no need for a new-line.
6084 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6085 Change the device iface here (ugh).
6086 (real_act_stage4_get_ip4_config): Implement.
6087 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6088 Restore the device iface.
6090 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6091 device is not wired or wireless (eg, automatically upped) device.
6093 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6095 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6097 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6098 before calling it's is_device_fn().
6100 2007-12-05 Dan Williams <dcbw@redhat.com>
6102 * libnm-util/nm-utils.c
6103 - (nm_utils_register_value_transformations,
6104 nm_utils_convert_gvalue_hash_to_string): better debug output of
6105 GHashTables of GValues too
6107 2007-12-04 Dan Williams <dcbw@redhat.com>
6109 * initscript/RedHat/NetworkManager.in
6110 - No longer start named; it's D-Bus interface is going away
6112 2007-12-04 Dan Williams <dcbw@redhat.com>
6114 Patch from Michael Biebl <biebl@debian.org>
6116 * system-settings/plugins/ifcfg/Makefile.am
6117 system-settings/src/main.c
6118 system-settings/src/Makefile.am
6119 - Put system settings plugins in NM plugins dir
6121 * src/ppp-manager/Makefile.am
6122 src/ppp-manager/nm-ppp-manager.c
6123 - Move pppd plugin to NM plugins dir
6125 2007-12-04 Dan Williams <dcbw@redhat.com>
6127 * libnm-util/nm-setting-vpn-properties.h
6128 - Clarify usage of the 'data' member of the setting
6130 * libnm-util/nm-setting-vpn-properties.c
6131 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6132 - (set_property): just remove all the settings; don't recreate the has
6133 - (update_one_secret): don't need to create the hash table here since
6134 it should always be present
6136 2007-12-03 Tambet Ingo <tambet@gmail.com>
6138 Implement PIN and PUK requesting.
6140 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6141 (enter_pin): Handle PIN and PUK requests.
6142 (real_act_stage1_prepare): Clear the secret type.
6143 (real_connection_secrets_updated): Implement this class method to get
6144 notified when new secrets arrive.
6145 (nm_umts_device_class_init): Add private data back to the umts device class
6146 to store the required secret type.
6148 2007-12-01 Dan Williams <dcbw@redhat.com>
6150 * system-settings/plugins/ifcfg/parser.c
6151 - (parser_parse_file): don't try to verify NULL connections
6153 2007-12-01 Dan Williams <dcbw@redhat.com>
6155 * system-settings/src/main.c
6156 - (load_connections, add_connection_to_settings): actually export
6157 plugin-provided connections over D-Bus so NM can get them
6159 2007-12-01 Dan Williams <dcbw@redhat.com>
6161 * system-settings/plugins/ifcfg/parser.c
6162 system-settings/plugins/ifcfg/parser.h
6163 system-settings/plugins/ifcfg/plugin.c
6164 - Hook up more inotify bits (untested)
6166 2007-11-29 Dan Williams <dcbw@redhat.com>
6168 * system-settings/src/nm-system-config-interface.h
6169 system-settings/src/nm-system-config-interface.c
6170 - (nm_system_config_interface_init,
6171 nm_system_config_interface_get_connections): add
6173 * system-settings/src/main.c
6174 - (load_plugins, load_connections, main): use a GSList for plugins
6175 to ensure priority ordering
6177 * system-settings/plugins/ifcfg/parser.c
6178 - (ifcfg_error_quark): move to plugin.c, and rename
6180 * system-settings/plugins/ifcfg/plugin.h
6181 system-settings/plugins/ifcfg/plugin.c
6182 - (ifcfg_plugin_error_quark): move here from parser.c
6183 - rework connection loading and initialization
6184 - Add preliminary inotify support for network profile config file
6186 2007-11-28 Tambet Ingo <tambet@gmail.com>
6188 Merge the beginnings of the new GSM card support.
6190 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6191 ppp watch source before killing pppd - If this happens from g_object_unref()
6192 then the ppp manager is already destroyed by the time the watch callback runs.
6194 * src/nm-hal-manager.c: Add a device_type_name string to the device
6195 creators, so that we can print a nice human readable string when a
6198 * src/nm-umts-device.c (automatic_registration_get_network): Query
6199 for the activated network, not much is done with the result thought.
6201 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6202 (ppp_ip4_config): Change the device state to activated here for now.
6203 (real_check_connection): Make sure the connection includes ppp setting.
6205 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6207 * libnm-glib/Makefile.am: Add the new files to build.
6209 * libnm-glib/nm-umts-device.c:
6210 * libnm-glib/nm-umts-device.h: Implement.
6212 2007-11-26 Tambet Ingo <tambet@gmail.com>
6214 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6215 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6217 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6218 the timeout source - this function is only called when the timeout source has
6220 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6221 to be big enough to contain the terminating zero element as well.
6222 The timeout argument is meant to be in seconds now.
6223 (real_deactivate_quickly): Implement.
6225 * src/NetworkManager.conf: Allow root to own
6226 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6228 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6229 (not unsigned ints).
6231 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
6232 small issue with parity bounds - capital letters have lower ascii codes
6233 than lower case letters.
6235 * libnm-util/nm-connection.c (register_default_settings): Register serial
6238 2007-11-22 Tambet Ingo <tambet@gmail.com>
6240 Remove the "index" property from devices as not all device types have this.
6242 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6244 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6245 (wired_device_creator): Get the device interface from hal to create the device.
6246 (wireless_device_creator): Ditto.
6248 * src/nm-device.c (nm_device_init): Remove the index member.
6249 (constructor): Remove the checks for index property, make interface property
6250 a require constructor property.
6251 Use the HAL udi for DBus path for devices.
6252 (nm_device_get_index): Remove.
6253 (set_property): Remove index handling.
6254 (get_property): Ditto.
6255 (nm_device_get_dbus_path): Remove.
6257 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6260 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6261 Access the device index through it's interface.
6262 (nm_device_802_3_ethernet_link_deactivated): Ditto.
6263 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6264 index argument. Add interface argument.
6266 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6267 the useless test_dev argument. Remove index argument. Add interface arugment.
6269 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6270 device index through interface.
6271 (nm_system_set_mtu): Ditto.
6273 * introspection/nm-device.xml: Remove the "Index" property.
6275 2007-11-21 Tambet Ingo <tambet@gmail.com>
6277 * src/nm-serial-device.c:
6278 * src/nm-serial-device.c:
6279 * src/nm-umts-device.c:
6280 * src/nm-umts-device.h: Implement.
6282 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
6283 allocated by libhal.
6284 (modem_device_creator): Implement.
6285 (register_built_in_creators): Register the modem creator.
6287 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
6288 Remove the unused test_dev argument.
6290 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6292 * src/Makefile.am: Add new files to build.
6293 Link in ppp-manager.
6295 * libnm-util/nm-setting-umts.c:
6296 * libnm-util/nm-setting-umts.h:
6297 * libnm-util/nm-setting-serial.c:
6298 * libnm-util/nm-setting-serial.h: Implement.
6300 * libnm-util/Makefile.am: Add new files to build.
6302 2007-11-28 Dan Williams <dcbw@redhat.com>
6304 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6306 Support DHCP-provided static routes.
6308 * src/nm-ip4-config.h
6310 - Add get/set functions for static routes
6312 * src/dhcp-manager/nm-dhcp-manager.c
6313 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6316 * src/NetworkManagerSystem.c
6317 - (nm_system_device_set_from_ip4_config): set any static routes on the
6318 interface when applying the IP4Config
6320 2007-11-28 Dan Williams <dcbw@redhat.com>
6322 * src/nm-device-802-11-wireless.c
6323 - (real_act_stage1_prepare): mark APs created for hidden networks
6326 2007-11-27 Dan Williams <dcbw@redhat.com>
6328 * system-settings/src/nm-system-config-interface.h
6329 - Note how to store secrets on NMSetting objects
6331 * system-settings/src/dbus-settings.c
6332 - (connection_settings_get_secrets): implement
6334 2007-11-27 Dan Williams <dcbw@redhat.com>
6336 * system-settings/plugins/ifcfg/Makefile.am
6337 system-settings/plugins/ifcfg/parser.c
6338 system-settings/plugins/ifcfg/parser.h
6339 system-settings/plugins/ifcfg/plugin.c
6340 - Parse wireless connections too
6342 * system-settings/src/dbus-settings.c
6343 system-settings/src/dbus-settings.h
6344 system-settings/src/main.c
6345 - Handle connection update/removal if the plugin supports it
6347 2007-11-27 Dan Williams <dcbw@redhat.com>
6349 * src/nm-dbus-manager.h
6350 src/nm-hal-manager.c
6351 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6355 src/NetworkManagerDbusUtils.c
6356 src/NetworkManagerDbusUtils.h
6357 - Remove these two source files; they are unused
6359 2007-11-27 Dan Williams <dcbw@redhat.com>
6361 * src/vpn-manager/nm-vpn-manager.c
6362 - (impl_vpn_manager_connect): fix system settings check (found by
6365 2007-11-26 Dan Williams <dcbw@redhat.com>
6367 * Fix warnings so everything compiles with --enable-more-warnings
6369 2007-11-25 Dan Williams <dcbw@redhat.com>
6372 - Rework structure and code to use GModule-loaded plugins and a plugin
6373 interface that plugins export to the system settings service
6375 2007-11-21 Dan Williams <dcbw@redhat.com>
6378 - Add Soren's system settings service. Needs work for distros other
6379 than Fedora; the backends from NM should mostly migrate to here
6380 and be converted to GObjects
6382 2007-11-21 Dan Williams <dcbw@redhat.com>
6384 * libnm-util/nm-setting-vpn-properties.c
6385 - (set_property): must deep-copy the given settings hash, otherwise
6386 double-free errors occur when the setting is disposed of
6388 2007-11-21 Dan Williams <dcbw@redhat.com>
6390 * src/vpn-manager/nm-vpn-act-request.h
6391 src/vpn-manager/nm-vpn-act-request.c
6394 2007-11-20 Dan Williams <dcbw@redhat.com>
6396 * libnm-util/nm-utils.c
6397 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6398 nm_utils_convert_ip4_addr_struct_array_to_string,
6399 nm_utils_register_value_transformations): print out the readable
6400 values of more types of properties of NMSettings subclasses
6402 2007-11-20 Dan Williams <dcbw@redhat.com>
6404 * libnm-util/nm-setting-ip4-config.c
6405 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6406 nm_setting_ip4_config_class_init): apparently dbus-glib can't
6407 marshal GValueArrays inside collections, so switch to types that it
6408 can actually marshal/demarshal
6410 2007-11-16 Dan Williams <dcbw@redhat.com>
6412 * libnm-util/nm-setting-wireless-security.c
6413 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6414 minimal verification of EAP methods too
6415 - (verify): verify phase1 eap methods too
6417 2007-11-15 Dan Williams <dcbw@redhat.com>
6419 * libnm-glib/nm-device.h
6420 libnm-glib/nm-device.c
6421 - (nm_device_get_product, nm_device_get_vendor): should be returning
6424 2007-11-15 Dan Williams <dcbw@redhat.com>
6426 * libnm-glib/nm-device.c
6427 - (get_product_and_vendor): don't try to free things that should be
6430 2007-11-15 Dan Williams <dcbw@redhat.com>
6432 * src/NetworkManagerUtils.c
6433 - (nm_ethernet_address_is_valid): unbreak previous fix
6435 2007-11-15 Dan Williams <dcbw@redhat.com>
6437 * src/supplicant-manager/nm-supplicant-config.c
6438 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6441 2007-11-15 Dan Williams <dcbw@redhat.com>
6443 * src/NetworkManagerUtils.c
6444 - (nm_ethernet_address_is_valid): fix style, clarify
6445 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6447 * src/nm-device-802-11-wireless.c
6448 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6449 - (nm_device_802_11_wireless_get_ssid,
6450 nm_device_802_11_wireless_get_bssid,
6451 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6452 before calling the ioctl; fixes valgrind-reported jump depends on
6453 uninitialized value errors
6455 2007-11-15 Dan Williams <dcbw@redhat.com>
6457 * libnm-util/nm-setting.c
6458 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6459 unecessary to serialize 'name'
6461 * src/nm-activation-request.c
6462 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6465 2007-11-15 Dan Williams <dcbw@redhat.com>
6467 * libnm-util/nm-setting-connection.h
6468 libnm-util/nm-setting-connection.c
6469 - Rename the 'name' property to 'id', because it conflicted with the
6470 NMSetting superclass' 'name' property.
6472 * libnm-util/nm-setting.c
6473 - (nm_setting_to_hash): serialize the 'name' property
6474 - (one_property_cb): ignore 'name' on deserialization of a connection
6476 * src/nm-device-802-11-wireless.c
6477 src/vpn-manager/nm-vpn-connection.c
6478 src/NetworkManagerPolicy.c
6479 - Fix up for NMSettingConnection 'name'->'id' changes
6481 2007-11-13 Dan Williams <dcbw@redhat.com>
6483 * libnm-glib/nm-device-802-11-wireless.h
6484 libnm-glib/nm-device-802-11-wireless.c
6485 - (nm_device_802_11_wireless_get_hw_address): return should be const
6488 libnm-glib/libnm-glib-test.c
6489 - Fixes for above change
6491 2007-11-12 Dan Williams <dcbw@redhat.com>
6493 * src/supplicant-manager/nm-supplicant-settings-verify.c
6494 - Allow fragment_size option
6496 * src/supplicant-manager/nm-supplicant-settings-verify.c
6497 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6498 EAP fragment size than the default to help some TLS connections
6500 2007-11-12 Dan Williams <dcbw@redhat.com>
6502 Make certs actually work. The private key is now a secret, and should be
6503 decrypted when requested by NM. The private key and phase2 private key
6504 passwords are no longer interesting to NM because they should be used by
6505 the settings service to decrypt the private key itself before passing it
6506 to NM, and hence have been removed as fields.
6508 * libnm-util/nm-setting-wireless-security.h
6509 libnm-util/nm-setting-wireless-security.c
6510 - Remove private-key-passwd and phase2-private-key-passwd from
6512 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6513 need_secrets): use property #defines instead strings to keep things
6515 - (need_secrets_tls): if a client certificate is present but no
6516 private key, request the private key
6517 - (set_property, get_property, nm_setting_wireless_security_class_init):
6518 remove private key password stuff, mark private keys as secret
6520 * src/supplicant-manager/nm-supplicant-settings-verify.c
6521 - Remove private_key_passwd and private_key2_passwd from opt_table
6523 2007-11-09 Dan Williams <dcbw@redhat.com>
6525 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6526 Since the vpn-properties are managed and known by the VPN daemons themselves,
6527 libnm-util doesn't know what's secret and what's in the setting's 'data'
6530 * libnm-util/nm-setting.h
6531 libnm-util/nm-setting.c
6532 - Add the ability for subclasses to override update_one_secret
6534 * libnm-util/nm-setting-vpn-properties.c
6535 - Override update_one_secret and just copy the values into the
6538 2007-11-09 Dan Williams <dcbw@redhat.com>
6540 * libnm-glib/nm-settings.h
6541 libnm-glib/nm-settings.c
6542 - (nm_settings_new_error): remove
6543 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6544 clients should use g_set_error() with NM_SETTINGS_ERROR
6546 2007-11-09 Dan Williams <dcbw@redhat.com>
6548 * src/supplicant-manager/nm-supplicant-config.c
6549 - (nm_supplicant_config_add_setting_wireless_security): private key
6550 passwords are never sent to wpa_supplicant, because the supplicant
6551 should never be reading random files from the disk. Clients like
6552 the applet are required to decrypt the private keys and send NM
6553 the decrypted blobs.
6555 2007-11-08 Dan Williams <dcbw@redhat.com>
6557 * libnm-util/nm-setting-wireless-security.h
6558 libnm-util/nm-setting-wireless-security.c
6559 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6560 members to 802-11-wireless-security structure. This should be used
6561 to indicate that the values in private-key and phase2-private-key
6562 are already decrypted by the user agent, and that no
6563 private-key-passwd or phase2-private-key-passwd should be expected.
6564 It is not meant to be a stored configuration value, but meant to
6565 be set when the conneciton is sent to NM over dbus.
6567 2007-11-08 Dan Williams <dcbw@redhat.com>
6569 * libnm-util/nm-connection.h
6570 libnm-util/nm-connection.c
6571 - (nm_connection_need_secrets): add argument to return hints
6573 * src/nm-device-802-11-wireless.c
6574 - (link_timeout_cb, supplicant_connection_timeout_cb,
6575 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6576 nm_connection_need_secrets() change
6578 2007-11-07 Tambet Ingo <tambet@gmail.com>
6580 Rework NMSetting structures: Move each setting to it's own file.
6581 Convert to GObject. Remove home grown setting types and use GTypes.
6582 Use GObject property introspection for hash conversion, enumerating
6585 * libnm-util/nm-setting-connection.[ch]
6586 * libnm-util/nm-setting-ip4-config.[ch]
6587 * libnm-util/nm-setting-ppp.[ch]
6588 * libnm-util/nm-setting-vpn.[ch]
6589 * libnm-util/nm-setting-vpn-properties.[ch]
6590 * libnm-util/nm-setting-wired.[ch]
6591 * libnm-util/nm-setting-wireless.[ch]
6592 * libnm-util/nm-setting-wireless-security.[ch]
6594 New files, each containing a setting.
6596 * libnm-util/nm-setting-template.[ch]: A template for creating new
6597 settings. To use it, just replace 'template' with the new setting
6598 name, and you're half-way done.
6600 * libnm-util/nm-setting.c: Convert to GObject and use GObject
6601 introspection instead of internal types and tables.
6603 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6605 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6606 GValue types defined by dbus-glib for composed types like collections,
6607 structures and maps.
6609 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6610 a setting from connection takes the setting type now. Also, since
6611 the settings are in multiple files, include relevant settings.
6613 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
6616 * src/backends/NetworkManagerGentoo.c:
6617 (nm_system_restart_mdns_responder): Implement restarts for other mdns
6618 providers in Gentoo.
6620 2007-10-31 Dan Williams <dcbw@redhat.com>
6622 * libnm-util/nm-connection.c
6623 - (gvalue_to_string): handle UINT32 arrays
6625 2007-10-31 Dan Williams <dcbw@redhat.com>
6627 * libnm-glib/nm-device.h
6628 libnm-glib/nm-device.c
6629 - (nm_device_get_description): remove
6630 - (nm_device_get_product, nm_device_get_vendor): add
6631 - (nm_device_update_description): new function (private); walk HAL
6632 devices to get product and vendor IDs for a specific device
6634 2007-10-31 Dan Williams <dcbw@redhat.com>
6636 * src/nm-device-802-11-wireless.c
6637 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6639 2007-10-29 Dan Williams <dcbw@redhat.com>
6641 * src/nm-hal-manager.c
6642 - (device_added, device_new_capability): ignore device additions while
6643 asleep. Fixes crash caused when NM goes to sleep, a network device
6644 kernel module is unloaded and reloaded and recognized by NM again.
6646 2007-10-26 Dan Williams <dcbw@redhat.com>
6648 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6650 * src/NetworkManagerAP.c
6651 src/NetworkManagerAP.h
6652 libnm-glib/nm-access-point.c
6653 libnm-glib/nm-access-point.h
6654 - Make 'rate' property a guint32 to better match with WEXT and
6655 wpa_supplicant and to allow representation of higher bitrates
6657 * src/nm-device-802-11-wireless.c
6658 introspection/nm-device-802-11-wireless.xml
6659 libnm-glib/nm-device-802-11-wireless.c
6660 libnm-glib/nm-device-802-11-wireless.h
6661 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6663 * src/nm-device-802-3-ethernet.c
6664 src/nm-device-802-3-ethernet.h
6665 introspection/nm-device-802-3-ethernet.xml
6666 libnm-glib/nm-device-802-3-ethernet.c
6667 libnm-glib/nm-device-802-3-ethernet.h
6668 - Make 'speed' property a guint32 to match other speed/rate types
6669 - Make nm_device_802_3_ethernet_get_speed() static
6672 - Update for the changes above
6674 2007-10-26 Dan Williams <dcbw@redhat.com>
6676 * src/named-manager/nm-named-manager.c
6677 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6678 not calling fclose() twice on some error conditions
6680 2007-10-26 Dan Williams <dcbw@redhat.com>
6682 * src/nm-activation-request.c
6683 - (dispose): clean up indentation; get the right DBusGProxy object to
6684 cancel the GetSecrets pending call on. Need to use the Secrets
6685 proxy, not the regular connection proxy. Otherwise the GetSecrets
6686 pending call doesn't get canceled, and pressing Cancel in the
6687 applet's password dialog could cause get_secrets_cb() to be called
6688 after the activation request has already been destroyed
6690 2007-10-24 Dan Williams <dcbw@redhat.com>
6692 * src/supplicant-manager/nm-supplicant-config.c
6693 - (nm_supplicant_config_add_blob): pass blob data and length for
6695 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6697 2007-10-24 Dan Williams <dcbw@redhat.com>
6699 * src/supplicant-manager/nm-supplicant-settings-verify.c
6700 - (opt_table): max length for certificates should be 65536
6702 2007-10-24 Dan Williams <dcbw@redhat.com>
6704 * src/supplicant-manager/nm-supplicant-interface.c
6705 - (blob_free): correctly free blob data after use
6706 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6708 2007-10-24 Dan Williams <dcbw@redhat.com>
6710 * libnm-util/nm-setting.c
6711 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6712 EAP method need secrets
6714 2007-10-24 Dan Williams <dcbw@redhat.com>
6716 * src/backends/NetworkManagerRedHat.c
6717 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6719 2007-10-23 Dan Williams <dcbw@redhat.com>
6721 * libnm-util/nm-setting.c
6722 libnm-util/nm-setting.c
6723 - (nm_setting_compare): implement
6724 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6725 compare_one_hash_gvalue): compare the contents of a setting
6727 * libnm-util/nm-connection.c
6728 - (nm_connection_compare): implement
6730 2007-10-23 Dan Williams <dcbw@redhat.com>
6732 * src/nm-activation-request.c
6733 - (get_secrets_cb): handle getting a setting back that is more than
6734 just secrets (ie, user changed auth or EAP method or something)
6736 2007-10-23 Dan Williams <dcbw@redhat.com>
6738 * libnm-util/nm-setting.c
6739 libnm-util/nm-setting.h
6740 - (nm_setting_verify): new function; verify one setting
6741 - (nm_settings_verify_all): rename from nm_settings_verify()
6742 - (setting_connection_verify, setting_wireless_verify): allow NULL
6745 * libnm-util/nm-connection.c
6746 - (nm_connection_replace_settings, nm_connection_verify,
6747 nm_connection_new_from_hash): handle nm_settings_verify() rename
6749 2007-10-23 Dan Williams <dcbw@redhat.com>
6751 * src/nm-device-802-11-wireless.c
6752 - (real_act_stage2_config): use pre-increment on 'tries' to get the
6755 2007-10-23 Dan Williams <dcbw@redhat.com>
6757 * src/supplicant-manager/nm-supplicant-settings-verify.c
6758 - eap_allowed, phase2_allowed: harmonize with allowed values from
6761 2007-10-23 Dan Williams <dcbw@redhat.com>
6763 * src/nm-device-802-11-wireless.c
6764 - (real_act_stage2_config): after the first association failure,
6765 if the connection still needs secrets ask the user for them
6766 explicitly. After the fourth association failure due to bad
6767 secrets, fail the connection entirely. Handles the GetSecrets
6768 loop that NM gets into when the provided secrets don't match up
6769 with the connection details.
6771 2007-10-23 Dan Williams <dcbw@redhat.com>
6773 * src/supplicant-manager/nm-supplicant-config.c
6774 - (nm_supplicant_config_add_setting_wireless_security): only add
6775 WPA-specific options when WPA is in use
6777 2007-10-23 Dan Williams <dcbw@redhat.com>
6779 * src/supplicant-manager/nm-supplicant-config.c
6780 - (nm_supplicant_config_add_setting_wireless_security): 'password'
6781 secret doesn't need to be unhexified
6783 2007-10-23 Dan Williams <dcbw@redhat.com>
6785 * libnm-util/nm-setting.c
6786 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
6787 before trying to do something with it
6789 2007-10-23 Dan Williams <dcbw@redhat.com>
6791 * src/nm-device-802-11-wireless.c
6792 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
6794 2007-10-23 Dan Williams <dcbw@redhat.com>
6796 * src/nm-device-802-11-wireless.c
6797 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
6798 non-SSID-broadcasting APs
6800 2007-10-23 Dan Williams <dcbw@redhat.com>
6802 * src/NetworkManagerAP.c
6803 - (match_cipher, security_compatible): remove
6804 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
6807 2007-10-23 Dan Williams <dcbw@redhat.com>
6809 * libnm-util/nm-utils.c
6810 libnm-util/nm-utils.h
6811 - (nm_utils_ap_security_compatible): common function for checking
6812 whether a specific AP is compatible with an NMConnection
6814 2007-10-23 Dan Williams <dcbw@redhat.com>
6816 * libnm-util/nm-setting.c
6817 - (setting_wireless_security_need_secrets, need_secrets_phase2,
6818 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
6819 need_secrets_password, setting_wireless_security_verify): fix
6820 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
6821 secrets logic for each supported EAP method
6823 2007-10-23 Dan Williams <dcbw@redhat.com>
6825 * src/supplicant-manager/nm-supplicant-config.c
6826 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
6827 config option name, should be "private_key2_passwd"
6829 2007-10-22 Tambet Ingo <tambet@gmail.com>
6831 Implement support for static IP addresses, additional/overridden DNS and
6832 DNS domain search lists.
6834 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
6835 (ip4_addresses_to_gvalue): Implement.
6836 (convert_array_to_byte_array): Implement.
6837 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
6838 NM_S_TYPE_IP4_ADDRESSES.
6839 (nm_setting_hash): Ditto.
6840 (default_setting_clear_secrets): Add a default case for the switch: IP address
6841 shouldn't be secret, ever.
6842 (setting_ip4_config_verify): Update, requires addresses in case of manual
6844 (setting_ip4_config_destroy): Free stuff.
6846 * src/nm-device.c (merge_ip4_config): Implement.
6847 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
6849 2007-10-22 Dan Williams <dcbw@redhat.com>
6851 * libnm-util/nm-setting.c
6852 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
6853 pairwise cipher options for Dynamic WEP
6855 2007-10-21 Dan Williams <dcbw@redhat.com>
6857 * src/NetworkManagerAP.c
6858 src/NetworkManagerAP.h
6859 - Rename 'articifical' -> 'fake' since that's what they are until
6861 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
6862 from the attributes in an NMConnection object
6863 - (security_compatible): better handle Dynamic WEP and LEAP; handle
6865 - (nm_ap_match_in_list): find a matching AP in a scan list
6867 * src/nm-device-802-11-wireless.c
6868 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
6869 AP when searching the scan list; match on frequency and mode too
6870 - (nm_device_802_11_wireless_get_frequency): implement
6871 - (merge_scanned_ap): replace duplicate matching logic with
6872 nm_ap_match_in_list()
6873 - (real_act_stage1_prepare): handle a NULL specific object; ie where
6874 the user is trying to connect to a hidden network that is not yet
6875 known from the scan list
6876 - (activation_success_handler): now that the card knows the AP's BSSID,
6877 there may already be a scanned AP in the scan list that is what
6878 we really wanted to connect to, but didn't know at the time. Use
6879 that instead of the 'fake' AP created at activation start and get
6880 rid of the 'fake' AP
6881 - (cull_scan_list): don't remove fake APs
6883 2007-10-21 Dan Williams <dcbw@redhat.com>
6885 * src/nm-activation-request.h
6886 src/nm-activation-request.c
6887 - (nm_act_request_set_specific_object): new function; allow setting the
6888 specific object if one isn't set yet
6890 2007-10-20 Dan Williams <dcbw@redhat.com>
6892 * src/supplicant-manager/nm-supplicant-config.h
6893 src/supplicant-manager/nm-supplicant-config.c
6894 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
6895 table to store blobs
6896 - (nm_supplicant_config_add_blob): new function; add blob to internal
6898 - (nm_supplicant_config_get_blobs): new function; get stored blobs
6899 - (nm_supplicant_config_add_setting_wireless_security): handle
6900 options that use certificates (ie, blobs)
6902 * src/nm-device-802-11-wireless.c
6903 - (build_supplicant_config): pass a UID (just use the connection path)
6904 to the supplicant config as now required
6906 * src/supplicant-manager/nm-supplicant-interface.c
6907 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
6908 there are any blobs to send to wpa_supplicant, send those first
6909 before sending the network configuration
6911 2007-10-19 Dan Williams <dcbw@redhat.com>
6913 Split the GetSecrets() call off to a separate D-Bus interface so that it
6914 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
6915 should be able to call GetSecrets().
6917 * include/NetworkManager.h
6918 - Define the connection secrets D-Bus interface
6920 * src/vpn-manager/nm-vpn-connection.c
6921 - (clear_need_auth): get the right proxy object for the connection
6923 - (get_connection_secrets): use the connection secrets proxy; send
6924 empty hints in get secrets request
6926 * src/nm-activation-request.c
6927 - (nm_act_request_request_connection_secrets): use the connection
6928 secrets proxy; send empty hints in get secrets request
6932 - (connection_get_settings_cb): set the connection secrets proxy on
6933 the connection object too
6934 - (internal_new_connection_cb): create the connection secrets proxy
6936 * introspection/nm-settings-connection.xml
6937 - Define Connection.Secrets interface and move GetSecrets there
6938 - Add a 'hints' argument to GetSecrets
6940 * libnm-glib/nm-settings.c
6941 libnm-glib/nm-settings.h
6942 - (impl_connection_settings_get_secrets): add 'hints' argument
6944 2007-10-19 Dan Williams <dcbw@redhat.com>
6947 - (constructor): add message about what path a device is exported as
6948 to help in debugging rh #339011
6950 2007-10-17 Dan Williams <dcbw@redhat.com>
6952 * libnm-util/nm-utils.h
6953 libnm-util/nm-utils.c
6954 - (nm_utils_security_valid): common function to help find the intersection
6955 of capabilities of devices and (optionally) access points
6957 2007-10-17 Dan Williams <dcbw@redhat.com>
6959 * src/nm-device-802-11-wireless.c
6960 - (get_wireless_capabilities): add missing braces so that WPA capabilities
6961 don't get erroneously cleared
6963 2007-10-17 Dan Williams <dcbw@redhat.com>
6967 src/nm-hal-manager.c
6968 - (device_removed, finalize, nm_manager_remove_device,
6969 nm_manager_sleep): add a 'deactivate' argument to
6970 nm_manager_remove_device() to fully deactivate devices when necessary
6971 (ie, always except when waking up)
6973 2007-10-16 Dan Williams <dcbw@redhat.com>
6975 * libnm-util/nm-setting.c
6976 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
6977 also isn't valid phase2 autheap method
6979 2007-10-16 Dan Williams <dcbw@redhat.com>
6981 * libnm-glib/nm-client.c
6982 - (update_wireless_status): consolidate updates of wireless status
6983 - (constructor): use update_wireless_status()
6984 - (manager_running): set wireless status off when NM goes away; requery
6985 the wireless status when NM comes back
6987 2007-10-16 Dan Williams <dcbw@redhat.com>
6989 * libnm-glib/nm-client.c
6990 - (nm_client_activate_device): actually use the fixed-up specific
6993 2007-10-16 Dan Williams <dcbw@redhat.com>
6995 * src/nm-hal-manager.c
6996 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
6997 killswitch error messages once
6999 2007-10-16 Dan Williams <dcbw@redhat.com>
7002 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7003 if it's disabled in hardware; don't touch network devices while
7006 2007-10-16 Dan Williams <dcbw@redhat.com>
7008 * libnm-util/nm-client.c
7009 - (nm_client_activate_device): convert NULL specific_object to "/",
7010 which is used in place of NULL
7013 - (impl_manager_activate_device): convert "/" specific_object back into
7016 2007-10-16 Tambet Ingo <tambet@gmail.com>
7018 Implement a generic NMSetting creator from setting name.
7019 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7020 add a virtual function 'populate_fn'.
7022 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7023 (register_default_creators): Register setting creators instead of functions
7024 that create and then populate.
7025 (parse_one_setting): Use the common setting creator and then setting specific
7026 poplulation function.
7028 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7029 they all looked exactly the same.
7030 Add a 'populate_fn' virtual function to NMSetting.
7031 Use default virtual functions in case they are not overriden.
7032 (nm_setting_populate_from_hash): Implement.
7034 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7035 name, use a defined string.
7036 (real_act_stage4_get_ip4_config): Ditto.
7038 2007-10-16 Tambet Ingo <tambet@gmail.com>
7040 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7041 HAL is int, not uint.
7043 2007-10-15 Tambet Ingo <tambet@gmail.com>
7045 Implement killswitch polling through HAL.
7047 * src/nm-manager.c: Add wireless hardware status property. Add
7048 'properties-changed' signal for changes in wireless and wireless hardware
7051 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7052 and update NMManager's wireless hardware state when it has changed.
7053 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7056 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7057 values of wireless state and wireless hardware state. Listen for the
7058 'properties-changed' signals, update the cached values and emit notify.
7060 * include/NetworkManager.h: Fix a typo in a comment.
7062 2007-10-14 Dan Williams <dcbw@redhat.com>
7064 * libnm-util/nm-setting.c
7065 - (setting_wireless_security_need_secrets): handle LEAP secrets
7067 2007-10-13 Dan Williams <dcbw@redhat.com>
7069 * libnm-util/nm-setting.h
7070 libnm-util/nm-setting.c
7071 src/supplicant-manager/nm-supplicant-config.c
7072 - Make the 'proto' field of the 802-11-wireless-security field a
7075 2007-10-12 Tambet Ingo <tambet@gmail.com>
7077 Rework the "properties-changed" signal listening implementation.
7078 Add a generic implementation to NMObject class that listens for
7079 the signal and calls property setters of the target NMObject.
7081 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7083 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7084 code to the end of file so that all the static functions are available
7085 without extra declarations.
7086 Remove the "properties-changed" signal handling and use the framework from
7088 Implement property setters for properties that change with
7089 "properties-changed" signal.
7091 * libnm-glib/nm-access-point.c: Ditto.
7093 2007-10-12 Tambet Ingo <tambet@gmail.com>
7095 Rework the "properties-changed" signal implementation.
7096 In classes that need to use it, just emit "GObject::notify" and the new
7097 framework takes care of the rest to make the signal available on dbus.
7098 The framework queues the notifications and tries to send as many together
7099 in one signal as possible.
7101 * src/nm-properties-changed-signal.c:
7102 * src/nm-properties-changed-signal.h: Implement.
7104 * src/Makefile.am: Add new files to build.
7106 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7109 * src/nm-device-802-11-wireless.c: Ditto.
7111 2007-10-10 Dan Williams <dcbw@redhat.com>
7114 - (wait_for_connection_expired): ensure info is valid
7115 - (connection_added_default_handler): Should only remove pending
7116 connection info when the manager has the connection that it's
7117 waiting for. Fixes segfault in wait_for_connection_info().
7119 2007-10-10 Dan Williams <dcbw@redhat.com>
7121 * libnm-util/nm-setting.c
7122 libnm-util/nm-setting.h
7123 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7124 can use if they choose. Should be filled in by the settings service
7125 on-the-fly with the currently logged in user's username
7127 2007-10-10 Dan Williams <dcbw@redhat.com>
7129 * src/nm-device-802-11-wireless.c
7130 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7131 as such, because even if the manager fills in the SSID, NM still
7132 has to indicate to wpa_supplicant that the AP isn't broadcasting
7135 2007-10-10 Tambet Ingo <tambet@gmail.com>
7137 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7138 code that used NM's own version of dbus signal handling and custom dictionary
7139 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7140 and we get to maintain over 2000 lines less code.
7142 * libnm-util/dbus-dict-helpers.c:
7143 * libnm-util/dbus-dict-helpers.h: Remove.
7145 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7147 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7149 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7152 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7154 * configure.in: Remove test/libnm-util/Makefile creation.
7156 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7158 * test/libnm-util/: Remove the whole directory.
7160 2007-10-10 Tambet Ingo <tambet@gmail.com>
7162 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7163 device_state_changed_idle_id variable or it would contain some random value and the
7164 schedule_change_check calls would not do anything.
7166 2007-10-09 Dan Williams <dcbw@redhat.com>
7168 * src/nm-device-802-11-wireless.c
7169 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7170 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7171 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7172 merging of non-SSID-broadcasting APs
7174 2007-10-09 Tambet Ingo <tambet@gmail.com>
7176 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7177 "guint8 *" since it's usually used with GByteArray->data.
7178 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7180 2007-10-09 Tambet Ingo <tambet@gmail.com>
7182 * src/NetworkManagerUtils.c
7183 (nm_utils_is_empty_ssid):
7184 (nm_utils_escape_ssid):
7185 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7186 lot of places, so they belong to libnm-utils instead.
7188 Now with 100% less compiler warnings:
7190 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7191 (nm_dbus_unescape_object_path): Ditto.
7192 (nm_utils_ssid_to_utf8): Ditto.
7193 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7194 (nm_utils_escape_ssid): Ditto.
7195 (nm_utils_same_ssid): Ditto.
7197 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7198 (add_one_connection_element): Remove an unused variable.
7199 (impl_manager_get_active_connections): Ditto.
7201 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7204 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7205 from the previous commit.
7207 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7208 (real_act_stage1_prepare): Ditto.
7209 (activation_success_handler): Ditto.
7210 (get_property): Ditto.
7212 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7215 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7218 * src/supplicant-manager/nm-supplicant-config.c
7219 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7220 to expected "char *".
7221 (nm_supplicant_config_add_setting_wireless): Ditto.
7222 (nm_supplicant_config_remove_option): Remove, not used.
7224 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7226 (test_wireless_enabled): Ifdef out unused function.
7227 (device_deactivate): Ditto.
7228 (device_state_changed): Ditto.
7229 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7230 (nm_utils_escape_ssid): Ditto.
7232 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7233 (nm_utils_is_empty_ssid): Ditto.
7235 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7238 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7239 (setting_vpn_properties_update_secrets): Ditto.
7240 (int_to_gvalue): Ifdef out for now, not used.
7241 (byte_to_gvalue): Ditto.
7243 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
7246 2007-10-08 Tambet Ingo <tambet@gmail.com>
7248 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7249 about dbus manager, not named manager.
7250 Make sure hal_manager and dbus_mgr are created before trying to unreference.
7252 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7253 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7254 However, the same signal is emitted when we destroy it and there's
7255 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7257 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7258 releasing the DBusGConnection, since proxy needs a conneciton.
7259 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7261 2007-10-08 Dan Williams <dcbw@redhat.com>
7263 * src/NetworkManager.c
7264 - (main): error on unknown command-line options
7266 2007-10-08 Dan Williams <dcbw@redhat.com>
7268 Reimplement the invalid connection list. Don't try to re-activate a
7269 connection that just failed or was canceled.
7272 - (connection_secrets_failed_cb): fail device activation, don't just
7273 deactivate the device. Listeners have to know about the failure.
7275 * src/NetworkManagerPolicy.c
7276 - (nm_policy_auto_get_best_device): exclude invalid connections from
7277 the connection list given to a device's get_best_connection()
7279 - (device_state_changed): tag failed connections as invalid; clear the
7280 tag from successful connections
7282 2007-10-08 Dan Williams <dcbw@redhat.com>
7284 Fix problems with interrupted activation. Previously, choosing an AP
7285 from the menu, then choosing another one before the first connection was
7286 successful wouldn't deactivate the device before starting the new connection
7287 on that same device.
7289 * src/NetworkManagerPolicy.c
7290 - (deactivate_old_device, device_state_changed, state_changed,
7291 nm_policy_new): wrong place to deactivate old devices
7294 - (pending_connection_info_destroy, finalize,
7295 wait_for_connection_expired): decouple destruction of the pending
7296 connection info from the manager device
7297 - (connection_added_default_handler): deactivate any active or
7298 activating device before starting a new activation
7299 - (impl_manager_activate_device): deactivate any active or activating
7300 device before starting a new activation; be sure not to leak
7301 pending connection info if a new activation request arrives but
7302 there's already a pending one in-process
7304 2007-10-08 Dan Williams <dcbw@redhat.com>
7306 * src/NetworkManagerAP.h
7307 src/NetworkManagerAP.c
7308 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
7309 should handle default SSIDs and whether or not to autoconnect
7312 2007-10-08 Dan Williams <dcbw@redhat.com>
7314 * src/NetworkManagerPolicy.c
7315 - (nm_policy_device_change_check): print out connection name where
7318 2007-10-08 Dan Williams <dcbw@redhat.com>
7320 * src/nm-device-802-11-wireless.c
7321 src/nm-device-802-11-wireless.h
7322 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7323 'hidden-ap-found' signal (for internal use only) that allows the
7324 NMManager to fill in the AP's SSID if a connection has that AP's
7325 BSSID in its seen-bssids list
7328 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7329 wireless device's hidden-ap-found signal and fill in the APs SSID
7332 2007-10-07 Dan Williams <dcbw@redhat.com>
7336 - Add a 'connections-added' signal to batch together updates of large
7337 numbers of connections, like when reading from a settings service
7338 the first time. Otherwise, the policy would just activate the first
7339 suitable connection it saw rather than waiting for the full list
7341 - (nm_manager_class_init): register new signal
7342 - (get_type_for_proxy, connection_get_settings_cb,
7343 get_connection_for_proxy): centralize places where a proxy's setting
7344 service is determined
7345 - (free_get_settings_info): if the call being freed is the last call
7346 in a pending call group, fire off the connections-added signal
7347 - (internal_new_connection_cb): add call to a pending call group if
7349 - (list_connections_cb): always create a call group here, because this
7350 call results in a batch of new connections
7351 - (initial_get_connections): start getting system connections first
7352 - (nm_manager_connections_destroy, emit_removed): actually emit the
7353 removed signal when destroying connections
7355 * src/NetworkManagerPolicy.c
7356 - (nm_policy_new, connections_added): handle connections-added signal
7359 2007-10-06 Dan Williams <dcbw@redhat.com>
7361 * src/nm-device-802-11-wireless.c
7362 - (constructor): fix leaked socket
7364 2007-10-06 Dan Williams <dcbw@redhat.com>
7366 * src/NetworkManagerPolicy.c
7367 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
7368 connection in the list returned by nm_manager_get_connections() is
7369 reffed, but they weren't getting unreffed before returning
7371 2007-10-06 Dan Williams <dcbw@redhat.com>
7374 - (connections_to_slist): sort connections first on autoconnect, then
7377 2007-10-06 Dan Williams <dcbw@redhat.com>
7379 * libnm-util/nm-connection.c
7380 - (gvalue_to_string): handle UINT64
7382 2007-10-06 Dan Williams <dcbw@redhat.com>
7384 * src/NetworkManagerPolicy.c
7385 - (connection_updated, nm_policy_new): recheck state when a connection
7388 2007-10-06 Dan Williams <dcbw@redhat.com>
7392 - (nm_manager_get_connection_dbus_path): make static
7393 - (nm_manager_update_connections): remove; unused
7394 - Add a connection-updated signal
7395 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7396 handle connection object updates
7398 2007-10-06 Dan Williams <dcbw@redhat.com>
7400 * src/NetworkManagerPolicy.c
7401 - (connection_removed): deactivate removed connections
7403 2007-10-06 Dan Williams <dcbw@redhat.com>
7405 * libnm-util/nm-connection.c
7406 libnm-util/nm-connection.h
7407 - (nm_connection_replace_settings): new function
7409 2007-10-06 Dan Williams <dcbw@redhat.com>
7411 * libnm-glib/nm-device-802-11-wireless.c
7412 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7413 on error when getting the active access point over D-Bus from NM
7415 2007-10-05 Dan Williams <dcbw@redhat.com>
7417 * libnm-util/nm-setting.c
7418 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7419 to the NMSettingWireless table; it's now a string array not an array
7422 2007-10-05 Dan Williams <dcbw@redhat.com>
7424 * libnm-glib/nm-device-802-11-wireless.c
7425 - Cache properties and update cached properties on D-Bus signals from NM
7427 2007-10-05 Dan Williams <dcbw@redhat.com>
7429 * src/nm-device-802-11-wireless.c
7430 - (set_current_ap): consolidate current_ap handling code into one place
7431 to ensure that PropertiesChanged signals are emitted in all cases
7432 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7433 nm_device_802_11_wireless_dispose): use set_current_ap()
7435 2007-10-05 Dan Williams <dcbw@redhat.com>
7437 * libnm-glib/nm-access-point.c
7438 libnm-glib/nm-access-point.h
7439 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7440 because the value is cached internally now. Callers should not
7441 free the internal value.
7442 - Make signal name defines private
7445 libnm-glib/libnm-glib-test.c
7446 - Don't free value returned from nm_access_point_get_hw_address()
7448 2007-10-04 Dan Williams <dcbw@redhat.com>
7450 * introspection/nm-device-802-11-wireless.xml
7451 src/nm-device-802-11-wireless.h
7452 src/nm-device-802-11-wireless.c
7453 - Add a PropertiesChanged signal for wireless device
7454 - Store currently associated access point
7455 - (periodic_update): generalize; update rate here too and emit the
7456 correct PropertiesChanged signal when stuff changes
7457 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7458 real_activation_cancel_handler): clear current_ap when device is
7460 - (link_to_specific_ap, get_ap_blacklisted,
7461 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7463 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7465 - (real_set_hw_address): emit property changed signal if the card's
7467 - (real_act_stage1_prepare): set the initial current_ap to the AP
7468 the card is supposed to be connecting to
7469 - (activation_success_handler): send out property updates on successful
7471 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7472 for ACTIVE_ACCESS_POINT property because sometimes there won't be
7473 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7474 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7475 is now boxed; add PropertiesChanged signal
7477 2007-10-04 Dan Williams <dcbw@redhat.com>
7479 * libnm-util/nm-connection.c
7480 libnm-util/nm-connection.h
7481 - (nm_connection_verify): new function
7483 2007-10-04 Dan Williams <dcbw@redhat.com>
7485 * libnm-util/nm-setting.c
7486 - (nm_settings_verify): use #defines when possible rather than strings
7487 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7488 - (setting_vpn_verify): tighter validity check on 'service_type'
7490 2007-10-04 Dan Williams <dcbw@redhat.com>
7492 * libnm-glib/nm-settings.c
7493 - (nm_connection_settings_class_init): provide correct type for argument
7494 to the Updated signal so that dbus-glib knows how to marshal it
7496 2007-10-03 Dan Williams <dcbw@redhat.com>
7498 * src/nm-device-802-3-ethernet.c
7499 - (real_get_best_connection): don't create automatic connections
7500 internally; clients should provide a setting that applies to
7501 the device with 'autoconnect: True'. Problem was that these
7502 internally auto-created connections don't have a proxy or service
7503 name becuase they weren't created by a settings daemon, and therefore
7504 clients have no idea what to do with them.
7506 2007-10-03 Dan Williams <dcbw@redhat.com>
7508 * src/nm-device-802-11-wireless.c
7509 src/nm-device-802-11-wireless.h
7510 introspection/nm-device-802-11-wireless.xml
7511 - GetActiveNetworks -> GetAccessPoints
7512 - ActiveNetwork -> ActiveAccessPoint
7513 - NetworkAdded -> AccessPointAdded
7514 - NetowrkRemoved -> AccessPointRemoved
7516 * libnm-glib/nm-device-802-11-wireless.c
7517 libnm-glib/nm-device-802-11-wireless.h
7518 - network-added signal -> access-point-added
7519 - network-removed signal -> access-point-removed
7520 - nm_device_802_11_wireless_get_active_network() ->
7521 nm_device_802_11_wireless_get_active_access_point()
7522 - nm_device_802_11_wireless_get_network_by_path() ->
7523 nm_device_802_11_wireless_get_access_point_by_path()
7524 - nm_device_802_11_wireless_get_networks() ->
7525 nm_device_802_11_wireless_get_access_points()
7527 * libnm-glib/libnm-glib-test.c
7529 src/NetworkManagerPolicy.c
7530 - Fixups for Network -> AccessPoint
7532 2007-10-03 Dan Williams <dcbw@redhat.com>
7534 Add a GetActiveConnections() method on the Manager object.
7538 introspection/nm-manager.xml
7539 - (connection_get_settings_cb): keep connection type around too
7540 - (impl_manager_get_active_connections, add_one_connection_element):
7541 implement; returns all active connections and what devices they
7544 * libnm-glib/nm-client.c
7545 libnm-glib/nm-client.h
7546 introspection/nm-manager-client.xml
7547 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7548 by the caller; free here to avoid memory leak
7549 - (nm_client_get_active_connections): implement; return the list of
7551 - (nm_client_free_active_connection_element): implement; free an element
7552 of the GSList returned by nm_client_get_active_connections()
7554 2007-10-03 Dan Williams <dcbw@redhat.com>
7556 * src/nm-device-802-11-wireless.c
7557 - (nm_device_802_11_wireless_update_bssid): remove
7558 - (get_active_ap): new function; find the AP in the scan list which
7559 matches the current BSSID and SSID of the wireless device
7560 - (nm_device_802_11_periodic_update): get current AP using
7561 get_active_ap() and print AP roam messages
7563 2007-10-01 Dan Williams <dcbw@redhat.com>
7565 * libnm-util/nm-setting.h
7566 - Add a 'timestamp' option to NMSettingConnection
7569 * libnm-util/nm-setting.c
7570 - (uint64_to_gvalue): new function
7571 - (nm_setting_populate_from_hash, nm_setting_hash,
7572 default_setting_clear_secrets): handle UINT64 type
7573 - con_table: add 'timestamp' member
7575 2007-10-01 Dan Williams <dcbw@redhat.com>
7578 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7579 value when the connection can be activated immediately
7581 2007-10-01 Dan Williams <dcbw@redhat.com>
7583 * libnm-glib/nm-device.c
7584 - (nm_device_class_init): actually tell glib about the carrier-changed
7587 2007-10-01 Dan Williams <dcbw@redhat.com>
7590 src/marshallers/Makefile.am
7591 src/marshallers/nm-marshal.list
7592 src/marshallers/nm-marshal-main.c
7593 - Consolidate glib marshallers into one place
7595 * src/dhcp-manager/Makefile.am
7596 src/dhcp-manager/nm-dhcp-manager.c
7597 src/supplicant-manager/Makefile.am
7598 src/supplicant-manager/nm-supplicant-manager.c
7599 src/supplicant-manager/nm-supplicant-interface.c
7600 src/ppp-manager/Makefile.am
7601 src/ppp-manager/nm-ppp-manager.c
7602 src/vpn-manager/Makefile.am
7603 src/vpn-manager/nm-vpn-connection.c
7605 - Use consolidated marshallers
7607 * src/dhcp-manager/nm-dhcp-marshal.list
7608 src/dhcp-manager/nm-dhcp-marshal-main.c
7609 src/supplicant-manager/nm-supplicant-marshal-main.c
7610 src/supplicant-manager/nm-supplicant-marshal.list
7611 src/nm-marshal-main.c
7613 src/ppp-manager/nm-ppp-marshal-main.c
7614 src/ppp-manager/nm-ppp-marshal.list
7615 src/vpn-manager/nm-vpn-marshal-main.c
7616 src/vpn-manager/nm-vpn-marshal.list
7619 2007-10-01 Dan Williams <dcbw@redhat.com>
7621 * include/NetworkManagerVPN.h
7622 - define VPN connection state change reason codes
7624 * src/vpn-manager/Makefile.am
7625 src/vpn-manager/nm-vpn-marshal.list
7626 src/vpn-manager/nm-vpn-marshal-main.c
7627 - Add marshallers for StateChanged signal
7629 * introspection/nm-vpn-connection.xml
7630 - New Banner property
7631 - StateChanged signal now includes a 'reason' argument
7633 * src/vpn-manager/nm-vpn-connection.c
7634 src/vpn-manager/nm-vpn-connection.h
7635 - Add a "Banner" property that contains the returned VPN server login
7636 banner (if any); valid only in the ACTIVATED state
7637 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7638 a 'reason' argument and emits that reason along with the
7639 state-changed signal
7640 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7641 - (nm_vpn_connection_ip4_config_get): save banner for later
7642 - (nm_vpn_connection_get_banner, get_property,
7643 nm_vpn_connection_class_init): implement Banner property
7645 * src/vpn-manager/nm-vpn-service.c
7646 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7647 connection list because elements may get added/removed from it
7648 while iterating over the list
7649 - (connection_state_changed): signal now includes the 'reason' argument
7651 * libnm-glib/nm-vpn-connection.c
7652 libnm-glib/nm-vpn-connection.h
7653 - (nm_vpn_connection_get_banner): new function
7654 - (state_changed_proxy): handle reason argument
7656 2007-09-28 Tambet Ingo <tambet@gmail.com>
7660 Implement device activation through NMManager.
7661 Implement "pending device activation" here - If the connection isn't found,
7662 we try to wait for up to 5 seconds for the connection to be provided.
7663 Add NMConnectionType argument to "connection-added" and "connection-removed"
7665 (nm_manager_get): Remove. Finally.
7667 * src/nm-activation-request.c:
7668 * src/nm-activation-request.h:
7669 Remove all the deferred activation code.
7671 * src/nm-device.c: Remove all the deferred activation code. Once the device
7672 activation is started, it's started. Update the activation virtual function
7675 * src/nm-device-interface.c:
7676 * src/nm-device-interface.h:
7677 Device activation now takes only NMActRequest argument.
7678 Don't expose device activation directly on dbus, it's supposed to go through
7681 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7683 Use the new device activation methods through NMManager.
7685 * introspection/nm-manager-client.xml:
7686 * introspection/nm-manager.xml:
7687 * libnm-glib/nm-client.c:
7688 * libnm-glib/nm-client.h:
7689 Add device activation method.
7691 * libnm-glib/nm-device.c:
7692 * libnm-glib/nm-device.h:
7693 * introspection/nm-device.xml:
7694 Remove device activation method. It's done through NMManager now.
7696 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7697 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7699 2007-09-28 Dan Williams <dcbw@redhat.com>
7701 * libnm-glib/nm-vpn-connection.c
7702 - (nm_vpn_connection_get_state): try to update state if the current
7705 2007-09-27 Dan Williams <dcbw@redhat.com>
7707 Patch from Bill Nottingham
7709 * src/supplicant-manager/nm-supplicant-config.c
7710 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7711 data to the supplicant
7713 2007-09-27 Dan Williams <dcbw@redhat.com>
7715 * src/NetworkManagerSystem.c
7716 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7717 and all address manipulation here should be happening on the
7718 _VPN_ device, not the active device
7720 2007-09-26 Dan Williams <dcbw@redhat.com>
7724 src/nm-activation-request.c
7725 src/nm-activation-request.h
7726 - Move the GetSecrets stuff out of the NMManager instance because it
7727 doesn't really need to be there and complicates things
7730 - (connection_secrets_failed_cb, device_activation_go): connect to the
7731 connection-secrets-failed signal and deactivate the device if
7732 the GetSecrets call fails
7734 * src/nm-device-802-11-wireless.c
7735 - (link_timeout_cb, supplicant_connection_timeout_cb,
7736 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7737 secrets and give correct hints about whether new secrets should be
7738 asked for by the client or not
7740 2007-09-26 Dan Williams <dcbw@redhat.com>
7742 * src/vpn-manager/nm-vpn-connection.c
7743 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
7744 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
7745 to the secrets-updated signal of the NMConnection since updating
7746 the secrets is done within the scope of the NMVPNConnection object
7748 - (get_connection_secrets): fix an uninialized variable usage error
7750 2007-09-26 Dan Williams <dcbw@redhat.com>
7752 * libnm-util/nm-setting.c
7753 - (setting_vpn_properties_update_secrets): implement so VPN secrets
7754 actually get updated when the user enters them
7756 2007-09-26 Dan Williams <dcbw@redhat.com>
7758 * libnm-glib/nm-vpn-plugin.c
7759 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
7761 2007-09-26 Dan Williams <dcbw@redhat.com>
7763 * include/NetworkManagerVPN.h
7764 - Add a NEED_AUTH state
7766 * src/vpn-manager/nm-vpn-connection.c
7767 - Implement the NEED_AUTH state. First ask the VPN service plugin if
7768 the connection needs secrets, and if so, then ask the settings
7769 service to fill in the secrets. Then start the connection.
7771 2007-09-26 Dan Williams <dcbw@redhat.com>
7773 * src/vpn-manager/nm-vpn-manager.c
7774 - (new_vpn_error, impl_vpn_manager_connect): set errors
7776 2007-09-26 Dan Williams <dcbw@redhat.com>
7778 * introspection/nm-vpn-plugin.xml
7779 libnm-glib/nm-vpn-plugin.c
7780 libnm-glib/nm-vpn-plugin.h
7781 - (impl_vpn_plugin_need_secrets): implement a call that should return
7782 the name of the NMSetting in an NMConnection that may require
7783 secrets specific to that VPN plugin
7785 2007-09-26 Dan Williams <dcbw@redhat.com>
7789 - (nm_manager_get_connection_secrets): make static, unused outside
7791 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
7793 2007-09-26 Tambet Ingo <tambet@gmail.com>
7795 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
7797 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
7798 unreference the connection.
7800 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
7801 passing properties hash and routes string list, pass NMConnection (in hashed form).
7803 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
7804 as GSList, no need to copy stuff around anymore.
7805 (nm_vpn_connection_activate): Update the plugin activation method.
7807 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
7808 routes argument to GSList.
7810 2007-09-26 Tambet Ingo <tambet@gmail.com>
7812 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
7813 state and try to get the secrets.
7815 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
7816 connections from NMManager and let the device to choose the best from the list.
7817 Since the connection list is sorted by system ones first and user ones later,
7818 the devices still prefer system connections like they did before.
7819 (deactivate_old_device): Implement. When a device starts activation, we have a
7820 policy (for now at least) to deactivate any other device that might be either
7821 active or still activating.
7823 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
7824 It's set on construction, there will be no other way to access it.
7826 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
7827 device events and drive the device, not the other way around.
7829 * src/nm-device-802-3-ethernet.c: Ditto.
7831 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
7832 sent along, pass it on to virtual functions.
7834 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
7835 for now, but should really be public instead of nm_device_get_iface() since iface
7836 is a property of the DeviceInterface, not Device.
7837 (impl_device_activate): Don't touch NMManager!
7839 2007-09-26 Jürg Billeter <j@bitron.ch>
7841 * initscript/paldo/NetworkManager.in:
7842 * initscript/paldo/NetworkManagerDispatcher.in:
7843 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
7844 (nm_system_flush_loopback_routes): update paldo backend
7846 2007-09-26 Tambet Ingo <tambet@gmail.com>
7848 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
7849 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
7850 which means none of the devices get brought down properly, which in turn leaves
7851 DHCP client running.
7853 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
7854 (supplicant_connection_timeout_cb): Ditto.
7856 2007-09-25 Dan Williams <dcbw@redhat.com>
7859 - (device_activation_go): small hack to work around race when
7860 activating deferred connections; should solve this in a better way
7862 2007-09-25 Dan Williams <dcbw@redhat.com>
7864 * introspection/nm-device.xml
7865 libnm-glib/nm-device.c
7866 libnm-glib/nm-device.h
7867 - Add 'Carrier' property to exported NMDevice objects
7869 * src/nm-device-interface.h
7870 src/nm-device-interface.c
7872 - Add a 'carrier' property to internal NMDevice objects
7874 2007-09-25 Dan Williams <dcbw@redhat.com>
7876 * src/nm-device-802-11-wireless.c
7877 - (ap_auth_enforced): also return the encryption status of the AP so
7878 that callers can differentiate easily between unencrypted APs
7879 and encrypted ones, in addition to whether the AP has an
7881 - (link_timeout_cb, supplicant_connection_timeout_cb,
7882 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
7883 previously would request secrets from unencrypted APs at times
7885 2007-09-25 Dan Williams <dcbw@redhat.com>
7888 - (nm_manager_update_state): new function; updates state and emits
7889 appropriate signals ensuring a state-change signal for the same state
7890 never gets emitted twice in a row.
7891 - (manager_device_state_changed): handle more device state to get a
7892 better picture of the overall NM state
7894 2007-09-25 Dan Williams <dcbw@redhat.com>
7896 * libnm-glib/nm-settings.c
7897 libnm-glib/nm-settings.h
7898 - (new_error -> nm_settings_new_error): make public so that subclasses
7899 can use the same error domain. Also pass a valid error code to
7900 g_error_new_literal() so that libdbus doesn't assert when converting
7901 the GError into a DBusError
7902 - (impl_settings_list_connections, impl_connection_settings_get_id,
7903 impl_connection_settings_get_settings,
7904 impl_connection_settings_get_secrets): use new error creator
7907 2007-09-25 Dan Williams <dcbw@redhat.com>
7909 * src/NetworkManager.c
7910 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
7912 2007-09-25 Dan Williams <dcbw@redhat.com>
7914 * src/supplicant-manager/nm-supplicant-manager.c
7915 - (poke_supplicant_cb, nm_supplicant_manager_init,
7916 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
7917 nm_supplicant_manager_startup): when the supplicant isn't running,
7918 try to start it periodically via system bus activation. Fixes
7919 a problem where if wpa_supplicant goes away, NM gets stuck waiting
7920 for the supplicant to come back
7922 2007-09-25 Dan Williams <dcbw@redhat.com>
7924 Ensure that old activation requests are forgotten about; previously
7925 hitting Cancel in the password dialog would deactivate whatever device
7926 that password was requested for, even if that wasn't the currently
7927 activating connection.
7931 - (nm_manager_get_connection_secrets): track the pending call
7932 object so it can be canceled later if needed
7933 - (nm_manager_cancel_get_connection_secrets): cancel a pending
7934 GetSecrets call for a particular connection
7936 * src/nm-activation-request.c
7937 - (dispose): cancel any outstanding GetSecrets calls on the
7940 2007-09-25 Dan Williams <dcbw@redhat.com>
7942 * src/NetworkManagerPolicy.c
7943 - (nm_policy_device_change_check): handle devices that have a
7944 deferred activation. These devices are not really active _yet_,
7945 but need to be treated as such here. Don't interrupt them
7948 * src/nm-device-interface.c
7949 - (impl_device_activate): handle devices that have a deferred activation
7950 like activating or active devices. When multiple active devices
7951 get committed, the device shouldn't be deactivated until the
7952 connection details are available to avoid DoS and such. Currently,
7953 any active, activating, or deferred activation device is deactivated
7954 here before starting the new activation request.
7956 2007-09-25 Dan Williams <dcbw@redhat.com>
7958 Properly re-query secrets from the settings daemon when stuff fails.
7960 * src/nm-device-802-11-wireless.c
7961 - (ap_auth_enforced): handle static WEP correctly here by differentiating
7962 between Shared Key and Open System auth modes
7963 - (link_timeout_cb, supplicant_connection_timeout_cb,
7964 real_act_stage4_ip_config_timeout): clear existing secrets and
7965 request new ones when something fails due to a suspected wrong key
7966 - (real_act_stage2_config): fix for new request_new argument to
7967 nm_manager_get_connection_secrets()
7971 - (nm_manager_get_connection_secrets): return error status; pass
7972 new request_new argument on to the settings daemon
7974 * introspection/nm-settings-connection.xml
7975 - New 'request_new' argument to the GetSecrets call that hints to the
7976 settings daemon to ask the user for completely new secrets
7978 * libnm-glib/nm-settings.c
7979 libnm-glib/nm-settings.h
7980 - (impl_connection_settings_get_secrets): handle new 'request_new'
7983 2007-09-25 Dan Williams <dcbw@redhat.com>
7985 * libnm-util/nm-connection.c
7986 libnm-util/nm-connection.h
7987 - (nm_connection_clear_secrets): new function; clear secrets out of
7988 each NMSetting in an NMConnection
7990 * libnm-util/nm-setting.h
7991 libnm-util/nm-setting.c
7992 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
7993 secrets out of an NMSetting
7994 - (nm_setting_connection_new, nm_setting_ip4_config_new,
7995 nm_setting_wired_new, nm_setting_wireless_new,
7996 nm_setting_wireless_security_new, nm_setting_ppp_new,
7997 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
7998 to default handler default_setting_clear_secrets()
8000 2007-09-25 Dan Williams <dcbw@redhat.com>
8002 * src/nm-activation-request.c
8003 src/nm-activation-request.h
8004 - (nm_act_request_is_deferred): new function
8006 2007-09-24 Dan Williams <dcbw@redhat.com>
8008 * src/nm-device-802-11-wireless.c
8009 - (activation_success_handler): update signal strength immediately
8012 2007-09-24 Dan Williams <dcbw@redhat.com>
8014 * libnm-util/nm-setting.c
8015 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8017 2007-09-24 Dan Williams <dcbw@redhat.com>
8019 * src/NetworkManagerPolicy.c
8020 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8021 device by deactivating it because it doesn't have a "best connection".
8022 Since autoconnect=False connections aren't automatically chosen,
8023 NM would interrupt activation of such a connection because it
8024 would never be "best" due to autoconnect=False.
8026 2007-09-24 Dan Williams <dcbw@redhat.com>
8029 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8030 actually has some time to enter a key before the GetSecrets call
8033 2007-09-24 Dan Williams <dcbw@redhat.com>
8035 * introspection/nm-manager.xml
8037 - (impl_manager_legacy_state): fix 'state' method call return value
8039 2007-09-24 Matthias Clasen <mclasen@redhat.com>
8041 * test/Makefile.am: Install nm-tool
8043 2007-09-24 Dan Williams <dcbw@redhat.com>
8045 Patch from Ross Burton <ross@burtonini.com>
8048 callouts/nm-dhcp-client-action.c
8050 src/vpn-manager/nm-vpn-connection.c
8051 libnm-glib/libnm-glib-test.c
8054 2007-09-24 Dan Williams <dcbw@redhat.com>
8056 * libnm-util/nm-utils.h
8057 libnm-util/nm-utils.c
8058 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8061 2007-09-23 Dan Williams <dcbw@redhat.com>
8063 * vpn-daemons/vpnc/properties/nm-vpnc.c
8064 - Update for new VPN properties API bits; instead of passing around
8065 a lot of random things, everything goes into the NMConnection
8068 2007-09-23 Dan Williams <dcbw@redhat.com>
8070 * libnm-util/nm-setting.c
8071 - Correctly dispose of settings objects if creating them from a hash
8074 2007-09-23 Dan Williams <dcbw@redhat.com>
8076 * libnm-util/nm-setting.c
8077 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8078 the hash table in a standard manner. Clients of libnm-util should
8079 only call g_hash_table_remove_all(), never destroy the hash table
8082 2007-09-22 Dan Williams <dcbw@redhat.com>
8084 * src/nm-device-802-11-wireless.c
8085 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8086 real reason to do it so often, and reduces wakeups for clients.
8088 2007-09-21 Dan Williams <dcbw@redhat.com>
8090 * src/nm-device-802-11-wireless.c
8091 - (build_supplicant_config): wpa_supplicant requires the option
8092 key_mgmt=NONE for unencrypted networks
8093 - (real_act_stage2_config): clarify log message on activation
8095 2007-09-21 Dan Williams <dcbw@redhat.com>
8097 * test/nm-supplicant-test.c
8099 - Remove supplicant test binary; no longer applicable
8101 2007-09-21 Dan Williams <dcbw@redhat.com>
8103 * src/supplicant-manager/nm-supplicant-manager.c
8104 - (nm_supplicant_manager_init): poke the supplicant at startup to
8105 activate it on the system bus
8107 2007-09-20 Dan Williams <dcbw@redhat.com>
8109 * initscript/RedHat/NetworkManager.in
8110 - dhcdbd is no longer used, so don't try to start it from the initscripts
8112 2007-09-20 Dan Williams <dcbw@redhat.com>
8115 - (nm_device_is_activating): work around a race between auto-activation
8116 and the user activating the same device that is being auto-activated
8118 2007-09-20 Dan Williams <dcbw@redhat.com>
8120 * src/nm-device-interface.c
8121 - (impl_device_activate): until multiple active device support lands,
8122 ensure only one device can be active at a time
8124 2007-09-20 Dan Williams <dcbw@redhat.com>
8126 * src/supplicant-manager/nm-supplicant-config.c
8127 src/supplicant-manager/nm-supplicant-config.h
8128 - (nm_supplicant_config_add_option): hide secrets from system logs
8130 2007-09-20 Dan Williams <dcbw@redhat.com>
8132 * src/NetworkManagerPolicy.c
8133 - (nm_policy_device_change_check): re-enable the wireless device change
8134 checking code; insted of checking for SSIDs, check for the same
8137 2007-09-20 Dan Williams <dcbw@redhat.com>
8139 * src/nm-device-802-11-wireless.c
8140 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8141 composite link state when determining when to start the disconnection
8142 timer; that link state is already based on the supplicant interface's
8143 status which is exactly what's already being examined, plus the link
8144 state is a conglomeration of various things that we don't want here
8146 2007-09-20 Dan Williams <dcbw@redhat.com>
8148 * libnm-glib/nm-access-point.c
8149 - (handle_property_changed): strength is a UCHAR
8151 2007-09-20 Dan Williams <dcbw@redhat.com>
8153 * src/supplicant-manager/nm-supplicant-config.c
8154 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8155 string list keywords too since that's what wpa_supplicant wants
8157 2007-09-20 Dan Williams <dcbw@redhat.com>
8159 * libnm-util/nm-setting.c
8160 - (convert_strv_to_slist): dupe the values in the list because since
8161 the list is a boxed value, it'll get destroyed when it's container
8162 (like a hash table or whatever) gets destroyed
8164 2007-09-20 Tambet Ingo <tambet@gmail.com>
8166 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8169 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8171 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8172 just use (g_object_set_data_full).
8174 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8175 that NMSettingVPN->routes is a GSList, convert it to char **.
8176 (nm_vpn_connection_ip4_config_get): Free routes when done.
8177 (nm_vpn_connection_activate): Ditto.
8179 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8180 (real_act_stage2_config): Use defined setting names.
8182 2007-09-20 Dan Williams <dcbw@redhat.com>
8184 * src/nm-device-802-11-wireless.c
8187 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8188 so that the device can be deactivated if secrets are wrong
8190 2007-09-20 Dan Williams <dcbw@redhat.com>
8192 * introspection/nm-settings-connection.xml
8193 libnm-glib/nm-settings.c
8194 libnm-glib/nm-settings.h
8195 - Make GetSecrets asynchronous on the server side
8197 2007-09-20 Dan Williams <dcbw@redhat.com>
8201 - (nm_device_activate): actually check if a given connection
8202 exists before assuming it doesn't
8204 2007-09-20 Tambet Ingo <tambet@gmail.com>
8206 * libnm-util/nm-connection.c (register_default_creators): Use defined
8207 setting names. Register NMSettingVPN and NMSettingVPNProperties.
8209 * libnm-util/nm-setting.c: Define property name strings, use them.
8210 Implement NMSettingVPN and NMSettingVPNProperties settings.
8211 Implement NM_S_TYPE_GVALUE_HASH.
8212 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8213 (setting_connection_verify): Rename 'devtype' property to 'type'.
8215 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8218 * src/vpn-manager/nm-vpn-service.c: Ditto.
8220 * src/vpn-manager/nm-vpn-connection.c: Ditto.
8222 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8223 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8225 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8226 names. NMSettingConnection->devtype got renamed to 'type'.
8228 * src/nm-device-802-3-ethernet.c (find_best_connection):
8229 (real_get_best_connection): Ditto.
8231 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8233 * libnm-glib/nm-vpn-manager.[ch]: Update.
8235 2007-09-19 Dan Williams <dcbw@redhat.com>
8237 * src/NetworkManagerAP.c
8238 src/NetworkManagerAP.h
8239 introspection/nm-access-point.xml
8240 - Change strength-changed signal into a properties-changed signal
8241 for all properties, not just strength. Export that signal over dbus
8242 so listeners don't have to poll NM for changes.
8243 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8244 get exported over D-Bus, so break up the logic and let other bits
8245 decided when to export the AP
8246 - (nm_ap_new_from_ap): remove, unused
8248 * src/nm-device-802-11-wireless.c
8249 - (merge_scanned_ap): only export APs that are actually on the device
8250 list, not every AP created internally
8252 * libnm-glib/nm-access-point.c
8253 libnm-glib/nm-access-point.h
8254 - Cache properties internally and only hit DBus when needed. Get
8255 property updates from NM signals
8257 2007-09-16 Dan Williams <dcbw@redhat.com>
8259 * libnm-util/nm-connection.c
8260 libnm-util/nm-connection.h
8261 - (nm_connection_for_each_setting_value): new function; iterate over
8262 each setting's value and call a user-provided function with details
8265 * libnm-util/nm-setting.c
8266 libnm-util/nm-setting.h
8267 - (nm_setting_enumerate_values): new function; enumerate the values
8268 of a specific NMSetting subclass for a user-provided function with
8269 details about that value
8270 - Change wep_tx_keyidx to a uint32
8271 - Create settings value tables for each setting defining their type,
8272 key name, offset into the NMSetting subclass' structure, and whether
8273 they are required and/or a secret
8274 - (nm_setting_populate_from_hash): generic function to populate an
8275 NMSetting from a GHash table, make all settings use it
8276 - (nm_setting_hash): generic function to derive a GHashTable from
8277 an NMSetting object, make all settings use it
8279 2007-09-14 Dan Williams <dcbw@redhat.com>
8281 Remove unused stuff in libnm-util
8284 libnm-util/Makefile.am
8285 libnm-util/cipher-private.h
8286 libnm-util/cipher-wep-ascii.c
8287 libnm-util/cipher-wep-ascii.h
8288 libnm-util/cipher-wep-hex.c
8289 libnm-util/cipher-wep-hex.h
8290 libnm-util/cipher-wep-passphrase.c
8291 libnm-util/cipher-wep-passphrase.h
8292 libnm-util/cipher-wpa-psk-hex.c
8293 libnm-util/cipher-wpa-psk-hex.h
8294 libnm-util/cipher-wpa-psk-passphrase.c
8295 libnm-util/cipher-wpa-psk-passphrase.h
8298 libnm-util/dbus-helpers.c
8299 libnm-util/dbus-helpers.h
8300 libnm-util/gnome-keyring-md5.c
8301 libnm-util/gnome-keyring-md5.h
8304 src/nm-device-802-11-wireless.c
8305 test/libnm-util/Makefile.am
8306 test/libnm-util/test-ciphers.c
8307 test/libnm-util/test-dbus-helpers.c
8308 test/libnm-util/test-inputs.h
8311 2007-09-14 Dan Williams <dcbw@redhat.com>
8313 * libnm-util/dbus-method-dispatcher.c
8314 libnm-util/dbus-method-dispatcher.h
8317 2007-09-14 Dan Williams <dcbw@redhat.com>
8319 Implement deferred activation support in the device class.
8321 * src/nm-device-interface.c
8322 src/nm-device-interface.h
8323 - (nm_device_interface_activate): take more arguments to support
8324 deferred activation; callers must pass one of (connection) OR
8325 (service_name, connection_path)
8326 - (impl_device_activate): connection validation is punted to the device
8327 to be able to handle deferred activation. Yes, this means errors
8328 don't get returned from the Activate() dbus call, and yes, that
8329 should be fixed somehow later.
8333 - (clear_act_request): clear additional deferred activation stuff too
8334 - (deferred_activation_timeout_cb): new function; clean up when
8335 deferred activation times out.
8336 - (deferred_activation_start_cb): new function; when the connection
8337 finally becomes available, start device activation
8338 - (nm_device_activate): attach to the right signals of the activation
8339 request if we need to defer activation until the connection is valid
8341 * src/NetworkManagerPolicy.c
8342 - (nm_policy_device_change_check): update for additional arguments
8343 required for nm_device_interface_activate(). Pass NULL for these
8344 though because this function already knows exactly which
8347 2007-09-14 Dan Williams <dcbw@redhat.com>
8349 Implement deferred activation handling in the NMActRequest class. When a
8350 client wants to activate a device but must create the NMConnection details
8351 on the fly, there likely hasn't been enough time yet for NM to receive the
8352 new connection signal and grab all the connection details. So the
8353 activation is deferred (and bounded by a timer) for a while, and if the
8354 connection appears within the window, it is activated.
8356 * src/nm-activation-request.c
8357 src/nm-activation-request.h
8358 - (nm_act_request_class_init): two new signals to support deferred
8359 activation, to allow the listener to handle both timeout and success
8360 - (nm_act_request_new_deferred): new function, starts the deferred
8361 activation timeout handler and listens to the NMManager for
8362 new-connection signals to notice when the connection comes in
8364 2007-09-14 Dan Williams <dcbw@redhat.com>
8368 - (nm_manager_get_connection_service_name,
8369 nm_manager_get_connection_dbus_path): get details about a connection
8370 known internally by the NMManager
8371 - (nm_manager_class_init): fix connection add/remove signal marshalers
8372 because NMConnection is now a GObject subclass
8373 - Use constant for the gobject data tag used on NMConnection objects for
8374 storing the associated DBusGProxy
8376 2007-09-14 Dan Williams <dcbw@redhat.com>
8381 src/supplicant-manager/Makefile.am
8382 src/dhcp-manager/Makefile.am
8383 src/backends/Makefile.am
8384 src/named-manager/Makefile.am
8385 src/ppp-manager/Makefile.am
8386 src/vpn-manager/Makefile.am
8387 test/libnm-util/Makefile.am
8388 test/test-common/Makefile.am
8389 - Remove utils/; it was unused
8391 2007-09-13 Dan Williams <dcbw@redhat.com>
8393 * libnm-glib/nm-vpn-manager.h
8394 libnm-glib/nm-vpn-manager.c
8395 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8397 2007-09-13 Dan Williams <dcbw@redhat.com>
8399 * src/nm-device-802-3-ethernet.c
8400 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8401 netlink monitor carrier signals on dispose, not bring down. The
8402 carrier signals should be handled over the entire lifetime of the
8403 device anyway, not created/destroyed on up or down.
8405 2007-09-13 Dan Williams <dcbw@redhat.com>
8407 * libnm-glib/nm-device.c
8408 libnm-glib/nm-device.h
8409 - (nm_device_activate): take a connection object path rather than an
8410 NMConnection because NMConnection isn't exported over D-Bus and
8411 therefore it dbus-glib can't automatically get an object path from it
8413 2007-09-13 Dan Williams <dcbw@redhat.com>
8415 * libnm-util/nm-setting.c
8416 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8418 2007-09-13 Tambet Ingo <tambet@gmail.com>
8420 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8422 2007-09-12 Tambet Ingo <tambet@gmail.com>
8424 * src/vpn-manager/nm-vpn-connection.[ch]:
8425 * src/vpn-manager/nm-vpn-manager.[ch]:
8426 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
8427 dbus-glib, GObjects, signals etc.
8429 * libnm-glib/nm-vpn-manager.[ch]:
8430 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8431 so much, rewrite these too.
8433 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8434 the new introspection files.
8436 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8438 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8439 the header with the same name from libnm-utils.
8441 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8443 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8445 * introspection/nm-vpn-plugin.xml: Implement.
8447 * introspection/nm-vpn-connection.xml: Implement.
8449 * introspection/nm-vpn-manager.xml: Implement.
8451 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8452 the named manager argument, it can just as easily get it as the caller.
8453 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8455 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8457 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8459 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8462 * libnm-util/nm-connection.c: Ditto.
8464 * src/NetworkManagerMain.h: Remove, it's finally empty.
8466 * configure.in: Remove utils/ from build.
8468 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8469 of hard-coded strings.
8471 * utils/: Move it over to libnm-util.
8473 * test/Makefile.am: Link against libnm-util now that util/ is gone.
8475 * dispatcher-daemon/Makefile.am: Ditto.
8477 * src/Makefile.am: Ditto.
8479 2007-09-12 Dan Williams <dcbw@redhat.com>
8481 Wireless connections can be made with config data from the applet now.
8485 * src/supplicant-manager/nm-supplicant-config.h
8486 src/supplicant-manager/nm-supplicant-config.c
8487 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8488 - (nm_supplicant_config_add_setting_wireless,
8489 nm_supplicant_config_add_setting_wireless_security): new functions;
8490 add key/value pairs from the settings objects to the supplicant
8493 * src/nm-device-802-11-wireless.c
8494 - (cull_scan_list): fix check to not prune currently associated AP
8495 - (build_supplicant_config, real_act_stage2_config): call the functions
8496 of the NMSupplicantConfig that parse settings objects rather than
8497 doing it manually here
8499 2007-09-12 Dan Williams <dcbw@redhat.com>
8501 * src/supplicant-manager/nm-supplicant-interface.c
8502 src/supplicant-manager/nm-supplicant-marshal.list
8503 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8504 "connection-error" signal arguments should be STRING not CHAR
8506 2007-09-12 Dan Williams <dcbw@redhat.com>
8508 * src/NetworkManagerUtils.c
8509 src/NetworkManagerUtils.h
8510 - (nm_utils_hexstr2bin): new function
8512 2007-09-11 Dan Williams <dcbw@redhat.com>
8515 - (connection_get_settings_cb): emit connection-added signal
8516 - (connection_removed_cb): uncomment bits for system settings service,
8517 send connection-removed when appropriate
8518 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8519 the stack by trying to g_object_set_data() on something that's
8520 not a GObject; handle case where settings service returns
8521 empty settings hash table
8523 2007-09-11 Dan Williams <dcbw@redhat.com>
8525 * src/NetworkManagerPolicy.c
8526 - (connection_added, connection_removed): trigger device change checks
8527 on connection changes
8529 2007-09-11 Dan Williams <dcbw@redhat.com>
8531 * src/nm-activation-request.c
8532 - (connection_secrets_updated_cb): fix c&p error in signal emission
8534 2007-09-11 Dan Williams <dcbw@redhat.com>
8536 * src/nm-device-802-11-wireless.c
8537 - (real_connection_secrets_updated): fix erroneous check
8539 2007-09-11 Dan Williams <dcbw@redhat.com>
8541 * introspection/nm-device.xml
8542 libnm-glib/nm-device.c
8543 libnm-glib/nm-device.c
8544 - Fix Activate call argument borkage; Activate takes 3 arguments
8546 2007-09-11 Dan Williams <dcbw@redhat.com>
8548 * libnm-glib/nm-access-point.c
8549 libnm-glib/nm-access-point.c
8550 - (nm_access_point_get_frequency): now returns guint32 to match
8551 property change on 2007-09-10
8553 2007-09-11 Dan Williams <dcbw@redhat.com>
8555 * src/nm-device-802-11-wireless.c
8556 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8557 somewhere defines 'index' and I missed this one when I fixed the
8558 shadow declaration errors earlier
8560 2007-09-11 Dan Williams <dcbw@redhat.com>
8562 * libnm-util/nm-connection.c
8563 - (nm_connection_update_secrets, need_secrets_check): move
8564 802-11-wireless-security need_secrets checks to the setting object
8565 itself, where it belongs
8567 * libnm-util/nm-setting.c
8568 libnm-util/nm-setting.h
8569 - (nm_setting_need_secrets): new function
8570 - (setting_wireless_security_verify,
8571 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8572 - (setting_wireless_security_need_secrets): mostly copy code over
8573 from nm-connection.c
8575 2007-09-11 Dan Williams <dcbw@redhat.com>
8577 * libnm-util/nm-setting.c
8578 libnm-util/nm-setting.h
8579 - (nm_setting_update_secrets): new function; add a virtual function that
8580 subclasses can implement to update their secrets
8581 - (setting_wireless_security_update_secrets): implement that function
8582 for the 802-11-wireless-security subclass
8584 * libnm-util/nm-connection.c
8585 libnm-util/nm-connection.h
8586 - (nm_connection_update_secrets): update secrets for a Setting and
8587 emit a signal on success
8592 - (connection_get_settings_cb): enable system settings bits
8593 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8594 to request secrets from the settings dbus service and to
8595 push those secrets to the NMConnection itself
8597 * src/nm-activation-request.c
8598 src/nm-activation-request.h
8599 - Attach to the 'secrets-updated' signal of the NMConnection that's
8600 currently being activated, and proxy that signal to other listeners.
8601 Goes through the activation request because the activation request
8602 is the thing that manages the lifetime of the NMConnection that's
8605 * src/nm-device-802-11-wireless.c
8606 - (real_connection_secrets_updated): implement the connection secrets
8607 updated notification and restart activation when secrets are
8609 - (real_act_stage2_config): request secrets from the settings dbus
8610 service if secrets are needed
8614 - (clear_act_request, nm_device_activation_cancel,
8615 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8616 where the activation request is cleared
8617 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8618 updated secrets signal of activation request and add a function
8619 that subclasses can override to handle it easily
8621 2007-09-11 Tambet Ingo <tambet@gmail.com>
8623 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8624 removal of NetworkManagerAPList.
8626 2007-09-10 Dan Williams <dcbw@redhat.com>
8628 * src/NetworkManagerAP.c
8629 src/NetworkManagerAP.h
8630 introspection/nm-access-point.xml
8631 - Change 'freq' property to a guint32 instead of a double since we
8632 weren't using the floating point bits anyway
8634 2007-09-10 Dan Williams <dcbw@redhat.com>
8636 * NetworkManagerAP.c
8638 NetworkManagerPolicy.c
8639 NetworkManagerSystem.c
8640 NetworkManagerUtils.c
8641 NetworkManagerUtils.h
8642 nm-device-802-11-wireless.c
8643 nm-device-802-3-ethernet.c
8646 vpn-manager/nm-dbus-vpn.c
8647 - Warning fixes; casts and removal of unused variables
8649 2007-09-10 Dan Williams <dcbw@redhat.com>
8651 * include/NetworkManager.h
8652 - Kill NMNetworkType; AP types don't matter any more
8654 * src/NetworkManagerAPList.c
8655 src/NetworkManagerAPList.h
8657 - Kill; NMAccessPointList has outlived it's usefulness
8659 * src/NetworkManagerAP.c
8660 src/NetworkManagerAP.h
8661 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8662 functions; check if an NMConnection object is compatible with the
8664 - (freq_to_channel, channel_to_freq): utility functions for
8665 channel <-> frequency conversion
8669 - (nm_device_get_best_connection): pass the specific object around
8670 (which might be the object path of a specific AP to connect to).
8671 The get_best_connection() call should populate this on return
8672 if needed (wireless does).
8674 * src/nm-device-802-3-ethernet.c
8675 - (real_get_best_connection): handle specific_object argument
8677 * src/NetworkManager.c
8678 src/NetworkManagerMain.h
8679 - Remove unused includes
8681 * src/nm-device-802-11-wireless.c
8682 src/nm-device-802-11-wireless.h
8683 - Convert the ap_list into a GSList from an NMAccessPointList
8684 - No need for caching the 'activation_ap' since this is now determined
8685 from the specific_object of the activation request, which is
8686 populated from the get_best_connection() call or from a user request
8687 - (nm_device_802_11_wireless_update_bssid): fix warning
8688 - (get_wireless_capabilities): fix error message format arguments
8689 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8690 - (find_best_connection, real_get_best_connection): implement
8691 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8692 move here from NetworkManagerAPList
8693 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8694 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8695 already verified earlier
8696 - (real_act_stage2_config): use nm_connection_need_secrets()
8698 * src/NetworkManagerPolicy.c
8699 - (nm_policy_auto_get_best_device): handle specific objects
8700 - (create_connection): remove; automatic connection creation functionality
8701 is handled by the Connection objects
8702 - (nm_policy_device_change_check): handle specific_object
8704 * libnm-util/nm-connection.c
8705 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8707 2007-09-10 Dan Williams <dcbw@redhat.com>
8710 - (query_connections): fix uninitialized variable problem that caused
8712 - (nm_manager_add_device): take devices down on startup so that we can
8713 be assured that nm_device_is_up() won't short-circuit the init
8714 process. Hack until the is_up check gets split into two pieces
8715 that aren't behaviorally confusing.
8717 2007-09-09 Dan Williams <dcbw@redhat.com>
8719 * introspection/nm-device.xml
8720 - The 'Activate' method now takes 3 arguments, a service name for the
8721 settings service (user or system), the object path of the connection
8722 to activate, and the specific object to activate, if any
8724 * src/nm-device-interface.c
8725 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8727 - (impl_device_activate): adapt to new Activate arguments; validate
8728 the service name and get the Connection object from the NMManager
8729 before starting to activate the device with the specified connection
8731 * src/nm-device-802-3-ethernet.c
8732 - (real_get_best_connection): find the best connection, or create a
8733 default one if no existing connections can be used
8735 * src/NetworkManagerPolicy.c
8736 - (nm_policy_auto_get_best_device): Get the device's best connection
8737 and only pick the device if it has one
8738 - (nm_policy_device_change_check): disable wireless bits for now until
8739 wireless get_best_connection() can be implemented (replacing "best_ap");
8740 don't create a default connection here as the device subclass will do
8745 - (nm_manager_get): make NMManager a singleton and expose the getter
8747 - Rework internal NMManager connection handling to use the same
8748 routines for both the system and user settings services. Most calls
8749 take a new NMConnectionType argument specifying either system or user
8751 - (nm_manager_get_connection_by_object_path): new function; get a
8752 connection keyed on its object path
8754 * src/NetworkManager.c
8755 - (main): use nm_manager_get()
8757 2007-09-09 Dan Williams <dcbw@redhat.com>
8761 - (nm_device_get_best_connection): new function; get best connection
8762 for the device at that time
8764 2007-09-09 Dan Williams <dcbw@redhat.com>
8766 * src/nm-device-interface.h
8767 - Add NMDeviceInterfaceError with an UnknownConnection error
8769 2007-09-09 Dan Williams <dcbw@redhat.com>
8771 Stupid mistake on my part; object path and interface for settings service
8772 and connection objects can be the same, only the service name must be
8773 different for the system and user settings services.
8775 * include/NetworkManager.h
8777 introspection/nm-settings-connection.xml
8778 introspection/nm-settings.xml
8779 libnm-glib/nm-settings.c
8780 - (nm_connection_settings_init, query_user_connections,
8781 new_connection_cb): Unify NetworkManagerSettings and Connection
8782 interface name and object path
8784 2007-09-06 Dan Williams <dcbw@redhat.com>
8786 * libnm-glib/nm-object.c
8787 - (nm_object_get_string_property, nm_object_get_object_path_property,
8788 nm_object_get_int_property, nm_object_get_uint_property,
8789 nm_object_get_boolean_property, nm_object_get_byte_property,
8790 nm_object_get_double_property, nm_object_get_byte_array_property):
8791 clear GValues after copying their contents, fixes memory leaks
8792 after every property access because dbus-glib copies the values
8793 from the DBusMessage into the GValue already.
8795 2007-09-06 Dan Williams <dcbw@redhat.com>
8797 * introspection/nm-access-point.xml
8798 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
8799 them to be. There's some magic property name parsing going on in
8800 dbus-glib that breaks up property names based on studly-caps and
8801 puts - between words.
8803 * libnm-glib/nm-access-point.c
8804 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
8807 2007-09-06 Dan Williams <dcbw@redhat.com>
8810 - (nm_manager_user_connections_destroy): clear the user connections hash
8811 table, don't destroy it
8812 - (finalize): only destroy the hash table on NMManager finalization
8814 2007-09-02 Dan Williams <dcbw@redhat.com>
8816 * include/NetworkManager.h
8817 libnm-glib/nm-settings.c
8818 - defines for the user settings daemon D-Bus bits
8820 * src/NetworkManager.c
8821 - Remove stuff that referred to the old NetworkManagerInfo service
8823 * src/vpn-manager/nm-dbus-vpn.h
8824 - Move old NMI defines to the only place they are used still
8826 * libnm-util/nm-connection.c
8827 libnm-util/nm-connection.h
8828 src/nm-activation-request.c
8829 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
8833 - Get connections and their settings from the user settings daemon
8834 at the appropriate times
8836 2007-09-02 Dan Williams <dcbw@redhat.com>
8838 * libnm-util/nm-setting.c
8839 - (nm_settings_verify): correct setting name is 'connection', not 'info'
8840 - (setting_wireless_hash): set the right value on the item
8842 2007-09-02 Dan Williams <dcbw@redhat.com>
8846 - Remove, no longer useful
8848 2007-08-30 Dan Williams <dcbw@redhat.com>
8851 src/NetworkManagerDbus.c
8852 src/NetworkManagerDbus.h
8853 src/vpn-manager/nm-dbus-vpn.c
8854 - Remove, no longer necessary. Move last bits to the only place its
8855 used, in nm-dbus-vpn.c
8857 * src/NetworkManagerAPList.c
8859 src/NetworkManager.c
8860 src/nm-device-802-11-wireless.c
8861 src/vpn-manager/nm-vpn-manager.c
8862 src/vpn-manager/nm-vpn-service.c
8863 src/NetworkManagerPolicy.c
8865 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
8866 that was message_is_error()
8868 2007-08-30 Dan Williams <dcbw@redhat.com>
8871 - Include config.h to get defines for endiannes (gnome.org #420216)
8873 2007-08-30 Dan Williams <dcbw@redhat.com>
8875 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
8877 * src/ppp-manager/Makefile.am
8878 - use -fPIC (gnome.org #471825)
8880 2007-08-29 Dan Williams <dcbw@redhat.com>
8882 * include/NetworkManager.h
8883 - Keep NMConnection object path in sync
8885 * libnm-glib/nm-settings.c
8886 libnm-glib/nm-settings.h
8887 - Break D-Bus object registration out of the init function, because
8888 every object that's exported over D-Bus needs to use the _same_
8889 DBusConnection. Otherwise, each object would get a different object
8890 path tree and wouldn't be callable.
8892 2007-08-29 Dan Williams <dcbw@redhat.com>
8894 * libnm-util/nm-setting.h
8895 libnm-util/nm-setting.c
8896 libnm-util/nm-connection.c
8897 src/NetworkManagerPolicy.c
8898 - 'info' settings object should be 'connection' says the spec
8899 at NetworkManagerConfigurationSpecification
8901 2007-08-29 Dan Williams <dcbw@redhat.com>
8903 * libnm-glib/nm-settings.c
8904 libnm-glib/nm-settings.h
8905 - make the dbus path a property of the object, and autogenerate it.
8906 It can't be composed of the 'id' field becuase that's not available
8907 yet during the GObject creation in nm_connection_settings_init()
8909 2007-08-29 Dan Williams <dcbw@redhat.com>
8911 * introspection/nm-settings-connection.xml
8912 introspection/nm-settings.xml
8913 - Service name -> NetworkManagerUserSettings because two services
8914 can't share part of the same path. I'm not really sure how we'll use
8915 the same code with the system-settings daemon...
8917 2007-08-28 Dan Williams <dcbw@redhat.com>
8919 * src/nm-device-interface.c
8920 src/nm-device-interface.h
8921 - Kill one more bit of NMData
8923 2007-08-28 Dan Williams <dcbw@redhat.com>
8925 * src/NetworkManagerSystem.h
8928 src/nm-hal-manager.c
8929 src/NetworkManager.c
8930 src/nm-device-802-11-wireless.c
8931 src/nm-hal-manager.h
8932 src/nm-device-802-3-ethernet.c
8933 src/vpn-manager/nm-vpn-service.h
8934 src/vpn-manager/nm-vpn-manager.c
8935 src/vpn-manager/nm-vpn-manager.h
8936 src/vpn-manager/nm-vpn-service.c
8937 src/nm-device-802-11-wireless.h
8938 src/NetworkManagerMain.h
8939 src/nm-device-802-3-ethernet.h
8940 src/backends/NetworkManagerGentoo.c
8941 src/backends/NetworkManagerPaldo.c
8942 src/backends/NetworkManagerFrugalware.c
8943 src/backends/NetworkManagerRedHat.c
8944 src/backends/NetworkManagerSlackware.c
8945 src/backends/NetworkManagerGeneric.c
8946 src/backends/NetworkManagerArch.c
8947 src/backends/NetworkManagerSuSE.c
8948 src/backends/NetworkManagerGeneric.h
8949 src/backends/NetworkManagerDebian.c
8952 2007-08-28 Dan Williams <dcbw@redhat.com>
8954 * src/NetworkManagerMain.h
8955 src/nm-device-802-11-wireless.c
8956 src/NetworkManager.c
8957 - Remove invalid AP list from NMData; need to rework this somewhat, but
8958 for now we should set the 'invalid' property on individual APs, and when
8959 we need to invalidate a whole ESS, set the 'invalid' on every member of
8962 2007-08-28 Dan Williams <dcbw@redhat.com>
8964 * src/NetworkManagerAP.c
8965 src/NetworkManagerAP.h
8966 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
8967 'autoconnect' property instead
8969 * src/NetworkManager.c
8970 src/NetworkManagerMain.h
8971 src/NetworkManagerPolicy.c
8972 src/NetworkManagerPolicy.h
8973 - Remove the 'allowed_ap_list', which should be replaced by
8974 NMConnection/NMSettings instead, since _those_ are the allowed
8975 things that NM can connect to
8977 * src/nm-device-802-11-wireless.c
8978 - Remove both allowed_ap_list usage and 'fallback' checking
8980 2007-08-28 Dan Williams <dcbw@redhat.com>
8983 src/named-manager/nm-named-manager.c
8984 src/named-manager/nm-named-manager.h
8985 src/NetworkManager.c
8986 src/vpn-manager/nm-vpn-manager.c
8987 src/NetworkManagerMain.h
8988 src/NetworkManagerSystem.c
8989 - Remove the named-manager object from NMData structure in preparation
8990 for NMData's timely death. Make the NMNamedManager the singleton that
8993 2007-08-28 Dan Williams <dcbw@redhat.com>
8995 Remove NMAPSecurity objects, they are replaced with flags on the APs for
8996 each AP's capabilities, and by NMConnection/NMSettings objects for user
8997 defined connections.
8999 * include/NetworkManager.h
9000 - Redefine 802.11 security properties. There are now device capabilities
9001 and AP flags and AP security flags. It was way to unclear before.
9004 src/nm-ap-security-leap.h
9005 src/nm-ap-security-leap.c
9006 src/nm-ap-security-wpa-eap.c
9007 src/nm-ap-security-wpa-eap.h
9008 src/nm-ap-security-private.h
9009 src/nm-ap-security-wpa-psk.c
9010 src/nm-ap-security-wpa-psk.h
9011 src/nm-ap-security-wep.c
9012 src/nm-ap-security-wep.h
9013 src/nm-ap-security.c
9014 src/nm-ap-security.h
9015 - Removed, to be replaced with NMConnection/NMSettings objects
9019 - Removed, to be replaced by code that talks to the new info daemon
9020 interface and gets NMConnection/NMSettings objects
9022 * src/backends/NetworkManagerSuSE.c
9023 - Remove usage of NMAPSecurity; should be replaced by a system-level
9024 info-daemon that does the same thing but talks the new info-daemon
9027 * src/NetworkManagerAP.h
9028 src/NetworkManagerAP.c
9029 src/NetworkManagerAPList.c
9030 libnm-glib/libnm-glib-test.c
9031 - Remove usage of NMAPSecurity objects and adjust to new flags for
9034 * libnm-glib/nm-access-point.c
9035 libnm-glib/nm-access-point.h
9036 introspection/nm-access-point.xml
9038 - Adjust to new flags for AP security
9042 src/vpn-manager/nm-dbus-vpn.c
9043 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9044 stuff which is the only place it's used
9046 * src/nm-device-interface.c
9047 src/nm-device-interface.h
9048 introspection/nm-device.xml
9049 src/nm-activation-request.c
9050 src/nm-activation-request.h
9052 - Add a new 'specific_object' argument that hints to NM what actual
9053 AP or other device-specific thing the connection should apply to.
9054 NMConnection objects can apply to more than one actual device/AP.
9056 * libnm-util/nm-connection.c
9057 * libnm-util/nm-connection.h
9058 - Add 'have_secrets" call stubs
9060 * libnm-util/cipher.h
9061 - Move NM_AUTH_TYPE_* defines here for now
9063 * src/nm-device-802-11-wireless.c
9064 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9067 * src/NetworkManagerDbus.c
9068 * src/NetworkManagerPolicy.c
9069 - Remove usage of update_allowed_networks, should be pushing data in
9072 2007-08-27 Tambet Ingo <tambet@gmail.com>
9074 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9075 dbus-glib frees it when the call is done.
9077 2007-08-26 Dan Williams <dcbw@redhat.com>
9079 * introspection/nm-device.xml
9080 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9082 2007-08-26 Dan Williams <dcbw@redhat.com>
9084 * src/nm-device-802-3-ethernet.c
9085 - (constructor): move connection of interface-connected/disconnected
9086 signals here from real_bring_up(). Should be listening to netlink
9087 for carrier events no matter what the initial state of the device
9090 2007-08-26 Dan Williams <dcbw@redhat.com>
9092 * src/nm-netlink-monitor.c
9093 - (nm_netlink_monitor_class_init): fix marshalling types for
9094 interface-connected/interface-disconnected
9095 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9098 2007-08-26 Dan Williams <dcbw@redhat.com>
9100 Convert to using interface indexes as the primary method of identifying
9101 devices inside NetworkManager. Indexes are (?) stable, but devices can
9102 be renamed at any time. Device object paths now refer to the device
9103 index rather than the name, and you can map those two manually if you like
9104 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9105 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9106 to use interface indexes rather than names.
9108 2007-08-26 Dan Williams <dcbw@redhat.com>
9110 * src/nm-netlink-monitor.h
9111 - Remove one last bit of wireless-event signal
9113 2007-08-26 Dan Williams <dcbw@redhat.com>
9115 * src/nm-netlink-monitor.c
9116 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9117 don't need the 'wireless-event' signal anymore since that's all
9118 handled by wpa_supplicant
9120 2007-08-25 Dan Williams <dcbw@redhat.com>
9122 It's 2007. Remove support for drivers that don't support wireless scanning.
9125 include/NetworkManager.h
9126 src/NetworkManagerUtils.c
9127 src/NetworkManagerPolicy.c
9128 src/nm-device-802-11-wireless.c
9129 - Remove special handling for non-scanning devices and mark them
9130 as unsupported/unhandled
9132 2007-08-20 Dan Williams <dcbw@redhat.com>
9134 * src/nm-device-802-11-wireless.c
9135 src/nm-device-802-3-ethernet.c
9136 - (real_is_up): move device-specific tests before generic IFF_UP test,
9137 because when the card is pulled or the module removed, the device
9138 is already !IFF_UP and then device-specific cleanup (removing
9139 the supplicant interface, periodic checks, etc) never gets done
9141 2007-08-20 Dan Williams <dcbw@redhat.com>
9144 - (nm_manager_remove_device): bring device down before disconnecting
9145 signal handlers, so that the 'state' signal will get broadcast when
9146 the device enters the DOWN state
9147 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9148 of states that cause the NMManager to recheck its state
9150 2007-08-20 Dan Williams <dcbw@redhat.com>
9152 * src/supplicant-manager/nm-supplicant-interface.c
9153 - (interface_disconnect_done): don't try to dispose of the net proxy
9154 when it may already have been disposed of
9156 2007-08-20 Dan Williams <dcbw@redhat.com>
9158 * src/nm-device-802-11-wireless.c
9159 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9160 the SSID isn't available; this can happen when the card is pulled
9161 or the module unloaded, during the post-removal deactivation
9162 paths, when the ioctl returns ENODEV
9164 2007-08-20 Dan Williams <dcbw@redhat.com>
9166 * src/nm-device-802-11-wireless.c
9167 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9168 frequency, and mode match. Applets are now responsible for grouping
9171 2007-08-20 Dan Williams <dcbw@redhat.com>
9173 * src/NetworkManagerAP.c
9174 * src/NetworkManagerAP.h
9175 - (nm_ap_print_self): new function
9177 * src/NetworkManagerAPList.c
9178 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9181 2007-08-17 Dan Williams <dcbw@redhat.com>
9183 * src/nm-device-802-3-ethernet.c
9184 - (real_bring_down): don't try to dispose of stuff that might not
9187 2007-08-17 Dan Williams <dcbw@redhat.com>
9189 * src/NetworkManagerAP.c
9190 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9191 applet. This ensures that the case between the seen-bssids and
9192 the bssids reported by the driver match.
9194 2007-08-17 Dan Williams <dcbw@redhat.com>
9196 * src/nm-device-802-11-wireless.c
9197 - (device_cleanup): disconnect the interface in wpa_supplicant before
9198 we dispose of the interface proxy in NM
9200 2007-08-16 Dan Williams <dcbw@redhat.com>
9202 * libnm-glib/nm-client.c
9203 - (nm_client_init): create VPN connections hash table with key free
9205 - (proxy_vpn_connection_added): VPN connections hash table key should
9206 be a duplicated value, not the same memory address as the VPN
9207 connection name. This is because the VPN connection name could
9208 potentially be freed and set to something else during the lifetime
9209 of the NMVPNConnection object.
9211 2007-08-16 Tambet Ingo <tambet@gmail.com>
9213 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9214 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9215 with the file descriptors. Send a child setup function to change the pppd
9218 2007-08-15 Dan Williams <dcbw@redhat.com>
9220 * src/supplicant-manager/nm-supplicant-interface.c
9221 - (try_remove_iface): new function, ask wpa_supplicant to remove
9223 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9224 disposing of the NMSupplicantInterface. Otherwise weird stuff
9225 happens on hotplug if wpa_supplicant doesn't tear down and readd
9226 the interface internally
9228 2007-08-15 Dan Williams <dcbw@redhat.com>
9230 * src/nm-device-802-11-wireless.c
9231 - (real_bring_down): move most of this function into device_cleanup()
9232 so that it can be called from elsewhere
9233 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9234 and stuff on dispose. These would normally get cleaned up when
9235 the device is marked down and deactivated, but when the device is
9236 hot-unplugged, it's already down and real_down() never gets run
9238 2007-08-15 Dan Williams <dcbw@redhat.com>
9241 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9242 caused a reference leak on device for which NM requested a key
9244 2007-08-15 Dan Williams <dcbw@redhat.com>
9246 * libnm-glib/nm-client.c
9247 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9249 2007-08-15 Tambet Ingo <tambet@gmail.com>
9251 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9252 nothing is using it at the moment, but it'll be all useful and stuff later on.
9254 * libnm-util/nm-setting.h: Define NMSettingPPP.
9256 * libnm-util/nm-setting.c: Implement NMSettingPPP.
9258 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9260 * src/Makefile.am: Add ppp-manager to SUBDIRS.
9262 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9264 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9266 2007-08-14 Tambet Ingo <tambet@gmail.com>
9268 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9270 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9271 an issue with dbus-glib bindings generator. The issue is, the generated C caller
9272 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9273 name and different arguments and it won't compile anymore. To fix this, we now have
9274 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9275 that is new API + compatibility API and used by the daemon. The other,
9276 nm-manager-client.xml is only the new API without compatibility bits and is used
9277 by libnm-glib to make it compile.
9279 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9281 * src/nm-manager.c (impl_manager_legacy_sleep)
9282 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9283 interface functions for 0.6 branch.
9285 2007-08-14 Dan Williams <dcbw@redhat.com>
9287 * src/NetworkManagerAP.c
9288 - (nm_ap_new_from_properties): fix mistaken check of return value
9289 from memcmp (should expect 0)
9291 2007-08-14 Dan Williams <dcbw@redhat.com>
9293 (force-commit to fix wrong comment and partial commit of r2685; this
9294 commit actually applies to r2685)
9296 * src/NetworkManagerUtils.c
9297 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9298 ignores trailing nulls in the SSID to work around mismatches in
9299 expectations between WEXT and what the info-daemon passes back. The
9300 info-daemon would pass back the correct length, but due to the
9301 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9302 the device would always have an SSID + 1 depending on what versions
9303 of wpa_supplicant, the kernel, and NM you have. This was most often
9304 visible by just quitting the applet and relaunching, which caused
9305 NM to reassociated to the same network over again when reloading
9308 * src/NetworkManagerPolicy.c
9309 src/NetworkManagerUtils.h
9310 src/nm-device-802-11-wireless.c
9311 - Update for new parameter to nm_utils_same_ssid()
9313 2007-08-14 Dan Williams <dcbw@redhat.com>
9315 * src/NetworkManagerAP.c
9316 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
9317 I encountered a BSS that wasn't just hiding it's ESSID, it was
9318 setting the BSSID to all 0s. That confused the heck out of NM,
9319 plus it's useless and probably out-of-spec.
9321 2007-08-14 Dan Williams <dcbw@redhat.com>
9323 * callouts/Makefile.am
9324 src/dhcp-manager/nm-dhcp-manager.c
9325 src/dhcp-manager/nm-dhcp-manager.h
9326 src/dhcp-manager/Makefile.am
9327 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9329 2007-08-14 Dan Williams <dcbw@redhat.com>
9331 * src/dhcp-manager/nm-dhcp-manager.c
9332 - (dhclient_run): don't pass -x to dhclient until we figure out if
9333 it's really needed, get rid of unused xtra_args parameter
9335 2007-08-14 Dan Williams <dcbw@redhat.com>
9337 * include/NetworkManagerVPN.h
9338 src/vpn-manager/nm-dbus-vpn.c
9339 src/vpn-manager/nm-dbus-vpn.h
9340 src/vpn-manager/nm-vpn-act-request.c
9341 src/vpn-manager/nm-vpn-act-request.h
9342 src/vpn-manager/nm-vpn-service.c
9343 src/vpn-manager/nm-vpn-service.h
9344 libnm-glib/nm-vpn-connection.c
9345 libnm-glib/nm-vpn-connection.h
9346 libnm-glib/nm-client.h
9347 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
9348 NMVPNServiceState to clarify what they apply to
9349 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9350 NMVPNActStage -> NMVPNConnectionState for the same reason
9352 * libnm-glib/nm-client.c
9353 - Constant + type renames from above
9354 - Properly handle NameOwnerChanged/manager_running signals
9355 for NM service; only emit when state really changes
9356 - Use hash tables correctly so that the key (which was previously owned
9357 by the D-Bus message) now has the same lifetime as the value, since
9358 the key is now taken from the the NMVPNConnection itself. This
9359 really fixes the double-VPN names in the applet
9361 2007-08-13 Dan Williams <dcbw@redhat.com>
9363 Patch from Michael Biebl <biebl@debian.org>
9367 - Update for vpn-properties move
9369 2007-08-13 Dan Williams <dcbw@redhat.com>
9371 * libnm-glib/nm-client.c
9372 - Convert internal VPN connection tracking from a list to a hash table
9373 to easily avoid duplicates
9374 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9375 must be freed by the caller, like nm_client_get_devices()
9376 - (nm_client_remove_vpn_connection): don't let the removal signal
9377 leak through for NMVPNConnection objects that aren't actually
9379 - (manager_running): throw away VPN connection list when NM goes away,
9380 like with the device list
9382 2007-08-13 Dan Williams <dcbw@redhat.com>
9384 * src/dhcp-manager/nm-dhcp-manager.c
9385 - Stop any dhclient instance that might be already running for a
9386 particular interface before starting an NM spawned dhclient. Fixes
9387 dhclient processes left over if NM crashes, stuff like that.
9389 2007-08-13 Dan Williams <dcbw@redhat.com>
9391 * src/NetworkManagerAP.c
9392 - (finalize): don't try to g_array_free (NULL, ...), which happened
9393 when the AP wasn't broadcasting it's SSID
9395 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
9397 * include/NetworkManager.h: added DBus path for connection settings.
9399 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9400 nm_connection_settings_signal_updated,
9401 nm_connection_settings_signal_removed): new functions to wrap the
9403 (nm_connection_settings_init): register GObject with DBus.
9404 (nm_connection_settings_get_dbus_object_path): new function.
9406 * libnm-glib/Makefile.am: added libnmutil to link flags.
9408 2007-08-13 Tambet Ingo <tambet@gmail.com>
9410 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9412 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9413 libnm_glib directory got merged with libnm-glib/.
9415 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9417 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9418 Rename the library from libnm-glib to libnm_glib to maintain the library API
9419 compatibility with 0.6 branch.
9421 * Makefile.am: Remove gnome/ SUBDIR.
9423 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9425 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9427 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9429 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9431 Remove checks for wpa_supplicant binary, it's used over dbus.
9432 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9434 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9435 Link the binaries with libnm_glib.la.
9437 2007-08-12 Dan Williams <dcbw@redhat.com>
9439 * src/NetworkManagerPolicy.c
9440 - (nm_policy_device_change_check): fix policy to deactivate old device
9441 before activating new one, at least until the multiple active
9442 device support lands
9444 2007-08-12 Dan Williams <dcbw@redhat.com>
9446 * src/NetworkManagerPolicy.c
9447 - (nm_policy_new): hook up to connection-added / connection-removed
9448 signals instead of connections-changed
9450 2007-08-12 Dan Williams <dcbw@redhat.com>
9452 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
9453 Robert Frank <rfrank@redhat.com>
9455 * src/dhcp-manager/nm-dhcp-manager.c
9456 src/dhcp-manager/nm-dhcp-manager.c
9458 - Spawn and communicate with dhclient directly, through means of a
9459 custom dhclient callout script. Process callout D-Bus signals
9460 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
9461 sent via gobject signals rather than being driven by the dhcp manager
9464 2007-08-12 Dan Williams <dcbw@redhat.com>
9466 * callouts/nm-dhcp-client-action.c
9467 - (build_message): ignore non-DHCP-related environment variables
9469 2007-08-12 Dan Williams <dcbw@redhat.com>
9473 callouts/Makefile.am
9474 callouts/nm-dhcp-client-action.c
9475 callouts/nm-dhcp-client.conf
9476 - Add dhclient-executed callout that takes the place of dhclient-script
9477 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9480 2007-08-09 Tambet Ingo <tambet@gmail.com>
9482 [Based on patch by Helmut Schaa <hschaa@suse.de>]
9484 * libnm-glib/nm-client.h:
9485 * libnm-glib/nm-object.h:
9486 * libnm-glib/nm-vpn-connection.h:
9487 * libnm-glib/nm-settings.h:
9488 * libnm-glib/nm-device.h:
9489 * libnm-glib/nm-ip4-config.h:
9490 * libnm-glib/nm-access-point.h:
9491 * libnm-glib/nm-device-802-3-ethernet.h:
9492 * libnm-util/nm-setting.h:
9493 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9495 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9497 * libnm-glib/nm-access-point.c: Strength has type char.
9499 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9500 to fix build. GnomeDruid is deprecated in recent libgnomeui.
9502 * introspection/nm-access-point.xml: Strength property is char, not int.
9504 * src/NetworkManagerAP.c (set_property): Set strength from char.
9505 (get_property): Handle hidden APs (with empty SSID).
9506 Get strength value from char.
9507 (nm_ap_class_init): Strength property has char type.
9509 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
9511 * introspection/Makefile.am:
9512 * introspection/nm-settings.xml:
9513 * introspection/nm-settings-connection.xml: added Settings interfaces.
9515 * libnm-glib/nm-settings.[ch]:
9516 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9517 containing the DBus implementation.
9519 2007-07-26 Dan Williams <dcbw@redhat.com>
9521 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9523 * src/NetworkManagerSystem.c
9524 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9525 same subnet (#437396)
9527 2007-07-26 Dan Williams <dcbw@redhat.com>
9529 Patch from Kelemen Gábor <kelemeng@gnome.hu>
9531 * gnome/vpn-properties/nm-vpn-properties.c
9532 - Fix translatable strings (#445865)
9534 2007-07-26 Dan Williams <dcbw@redhat.com>
9536 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9539 - Remove useless junk (#412530)
9541 2007-07-10 Christopher Aillon <caillon@redhat.com>
9543 Patch from Robert Buchholz <rbu@gentoo.org>:
9547 * introspection/Makefile.am:
9548 Make make distcheck work again.
9550 2007-06-27 Dan Williams <dcbw@redhat.com>
9552 * Make SSIDs GByteArrays everywhere
9553 * Rename "essid" -> "ssid" everywhere that's appropriate
9554 * Refcount activation_ap member of the 802.11 wireless device class
9556 2007-06-27 Tambet Ingo <tambet@ximian.com>
9558 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9560 2007-06-22 Tambet Ingo <tambet@ximian.com>
9562 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9563 that we got a new AP when we just update existing AP properties.
9565 2007-06-21 Tambet Ingo <tambet@ximian.com>
9567 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9569 * nm-utils.[ch]: Remove.
9571 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9572 objects for easy property access and dbus connection handling.
9574 * libnm-glib/nm-client.c: Derive from NMObject.
9576 * libnm-glib/nm-device.c: Ditto.
9578 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9580 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9582 * libnm-glib/nm-ip4-config.c: Ditto.
9584 * libnm-glib/nm-access-point.c: Ditto.
9586 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9587 comparision. Currently used by the device activation code to determine if the new
9588 activation is the same as the old one.
9590 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9591 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9592 able to ask password for the AP.
9594 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9595 up if the device is already connected, tear down it's connection (if it isn't the
9596 same as new one) and start the activation.
9598 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9600 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9601 the issue where all APs are always listed as encrypted.
9603 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9604 their own registered paths.
9606 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9607 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9609 2007-06-13 Tambet Ingo <tambet@ximian.com>
9611 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9614 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9615 because the handling code will cause the next state change and signal listeners
9616 get the signals in wrong order.
9618 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9619 correctly in case of pending activation.
9621 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9622 Convert the essid byte array to string correctly, including the terminating NULL.
9624 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9625 mode with correct types.
9627 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9628 constructed info to dbus call instead of the activation request.
9630 2007-06-11 Christopher Aillon <caillon@redhat.com>
9632 Patch from Christian Persch <chpe@gnome.org>
9634 * libnm-glib/Makefile.am:
9635 * dispatcher-daemon/Makefile.am:
9636 Use the correct variables, the correct paths, and correct ordering. (446315)
9638 2007-06-11 Tambet Ingo <tambet@ximian.com>
9640 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9641 argument. The activation request is easy to retrieve.
9643 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9644 just to be a convenient location for devices to store random stuff.
9646 2007-06-11 Christopher Aillon <caillon@redhat.com>
9648 Patch from Alex Smith <alex@alex-smith.me.uk>
9650 * src/backends/NetworkManagerFrugalware.c:
9651 Update the FrugalWare backend to fix a few segfaults. (#392642)
9653 2007-06-08 Tambet Ingo <tambet@ximian.com>
9655 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9657 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9659 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9661 2007-06-06 Tambet Ingo <tambet@ximian.com>
9663 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9665 Implement NMSettingIP4Config.
9666 Finish NMSettingWired by adding all known members.
9667 (setting_wired_verify): Implement.
9668 Finish NMSettingWireless by adding all known members.
9669 (setting_wireless_verify): Implement.
9671 * libnm-util/nm-connection.c: Register "ipv4" setting.
9672 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9673 dump function, we can introspect the GHashTable which is used for sending connections
9676 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9677 Take GByteArray for essid, it's really not a string.
9679 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9680 Start DHCP request if setting is not passed or if it states that DHCP should be used.
9681 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9682 means overriding the values we got from DHCP.
9683 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9684 (nm_device_deactivate_quickly): Ditto.
9686 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9689 2007-05-07 Tambet Ingo <tambet@ximian.com>
9691 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9694 * libnm-glib/nm-device-802-11-wireless.c:
9695 (nm_device_802_3_ethernet_activate): Remove.
9697 * libnm-glib/nm-device-802-3-ethernet.c
9698 (nm_device_802_3_ethernet_activate): Remove.
9700 * libnm-glib/nm-device.c (nm_device_activate): Implement.
9702 * src/nm-device-802-3-ethernet.c: Implement the new activation using
9705 * src/nm-device-802-11-wireless.c: Store an activation AP once the
9706 activation has started.
9707 Implement the new activation using NMConnection.
9709 * src/nm-activation-request.c: Store a generic connection object instead
9710 of a wireless-specific AP.
9712 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9713 on device type, create a device specific connection object suitable for
9716 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9717 specific check to validate the connection and on success start the
9720 * src/nm-device-interface.h: Add a activate virtual function to the
9721 interface definition.
9723 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9724 (impl_device_activate): Implement.
9726 * introspection/nm-device.xml: Add a generic device activation interface
9727 that accepts an abstract NMConnection structure that has device-specific
9730 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9731 activation interface.
9733 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9734 activation interface.
9736 * libnm-util/nm-connection.c:
9737 * libnm-util/nm-connection.h:
9738 * libnm-util/nm-setting.c:
9739 * libnm-util/nm-setting.h: Add.
9741 * libnm-util/Makefile.am: Build the added files.
9743 * src/nm-dbus-manager.c
9744 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
9745 DbusConnection argument from 'name-owner-changed' signal. The manager
9746 is already passed as a first argument to the signal and the connection
9747 is easy enough to get from it.
9749 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
9750 Update the signature of the function.
9752 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
9755 * src/NetworkManager.c: Ditto.
9757 * src/named-manager/nm-named-manager.c
9758 (nm_named_manager_name_owner_changed): Ditto.
9760 * src/supplicant-manager/nm-supplicant-manager.c
9761 (nm_supplicant_manager_name_owner_changed): Ditto.
9763 * src/nm-hal-manager.c (name_owner_changed): Ditto.
9765 * src/dhcp-manager/nm-dhcp-manager.c
9766 (nm_dhcp_manager_name_owner_changed): Ditto.
9768 * src/nm-hal-manager.c: Add a list of device detectors and creators
9769 to make it easier to add new devices. Each device type has it's own
9770 entry in the table so adding new device types is only a matter of
9771 implementing a couple of functions, one for device detection and the
9772 other for device creation.
9774 2007-04-25 Dan Williams <dcbw@redhat.com>
9776 * initscript/RedHat/NetworkManager.in: remove trailing backslash
9779 2007-03-30 Dan Williams <dcbw@redhat.com>
9781 * src/NetworkManagerSystem.c
9782 - (nm_system_device_set_ip4_route): clean up and fix argument
9783 to nm_dev_sock_open()
9785 2007-03-28 Tambet Ingo <tambet@ximian.com>
9787 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
9788 data to correct types instead of always using string.
9790 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
9791 _not_ have NM_802_11_CAP_PROTO_NONE.
9792 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
9795 2007-03-27 Tambet Ingo <tambet@ximian.com>
9797 * libnm-glib/Makefile.am: Fix the build issue.
9799 2007-03-26 Tambet Ingo <tambet@ximian.com>
9801 * libnm-glib/nm-vpn-connection.h:
9802 * libnm-glib/nm-vpn-connection.c: Implement.
9804 * libnm-glib/nm-client.c: Add VPN support.
9806 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
9809 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
9812 2007-03-26 Dan Williams <dcbw@redhat.com>
9814 * src/NetworkManagerAPList.c
9815 * src/nm-device-802-11-wireless.c
9816 * src/NetworkManagerAP.c:
9817 - Store last seen as glong instead of GTimeVal.
9818 - Fix the upper bound of capabilities, it's a bitfield.
9820 2007-03-16 Tambet Ingo <tambet@ximian.com>
9822 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
9824 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
9825 "manager-running" signal that notifies the appearance/disappearance of NM.
9826 (nm_client_sleep): Implement.
9828 * libnm-glib/nm-device.c:
9829 * libnm-glib/nm-device-802-11-wireless.c:
9830 * libnm-glib/nm-device-802-3-ethernet.c:
9832 Don't inherit from DBusGProxy, add a proxy to private
9833 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
9834 for anything but their own dbus interface. DBusGProxy objects support only one
9835 interfaces and to work around this, NMDevice has spearate proxy for each dbus
9836 interface. The nice side effect of this change is that we do not create a new
9837 DBusGProxy object for each property access.
9839 2007-03-15 Tambet Ingo <tambet@ximian.com>
9841 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
9842 with zeroes before passing them to functions - the functions never do that and
9843 reading the values back may produce wrong values.
9844 (real_bring_up): Store the signal handler id ...
9845 (real_bring_down): ... So that it can be removed here.
9846 Disconnect the supplicant interface here as well.
9847 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
9848 from the access point instead of old $device/Networks/$essid.
9850 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
9851 device state is connected (instead of just having link/carrier).
9853 * src/nm-activation-request.c: Don't store NMData in activation request, it's
9854 already easily accessible through the device.
9856 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
9857 store it within the object.
9858 (nm_ap_get_dbus_path): Export it to public as well.
9860 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
9863 2007-03-12 Dan Williams <dcbw@redhat.com>
9865 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
9866 for non-carrier-detect capable devices, and useless for carrier-detect
9867 devices since we get notifications from netlink about carrier status anyway.
9869 * src/nm-device-802-3-ethernet.c
9870 - remove 'link_source_id' member from private data
9871 - (probe_link): remove and collapse into real_update_link()
9872 - (nm_device_802_3_periodic_update): remove
9873 - (real_is_up): check for sup_iface rather than link_source_id
9874 - (real_bring_up): return gboolean for success/fail; require that
9875 sup_iface be valid for device bringup to succeed
9876 - (real_bring_down): zero out link signal ids
9879 - (nm_device_activate_stage2_device_config): fail activation if device
9881 - (real_act_stage4_get_ip4_config): fail activation if device bringup
9883 - (nm_device_bring_up): return success/fail
9886 - bring_up now returns success/fail
9888 * src/nm-device-802-11-wireless.c
9889 - (real_bring_up): return success from bringup
9891 2007-03-07 Dan Williams <dcbw@redhat.com>
9893 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
9894 * src/nm-ap-security-wpa-psk.c
9895 - (real_write_supplicant_config): work with PSKs that may contain
9896 zeros in the binary format rather than treating it as a string
9898 2007-03-02 Tambet Ingo <tambet@ximian.com>
9900 * libnm-glib/nm-device-802-11-wireless.c
9901 (nm_device_802_11_wireless_get_capabilities): Implement.
9903 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
9905 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
9907 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
9908 reply only if it's not NULL. Not sure why this started happening right now.
9910 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
9911 code paths for when devices get removed on shutdown or when a device is just
9913 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
9914 gets freed so any signal from a device (disconnected for instance) would invoke
9915 NMState update which would crash.
9916 (nm_manager_remove_device): Bring the device down when it gets removed.
9918 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
9919 the unused dev_type.
9921 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
9922 reference to the added device, NMManager will own it (if it wants).
9924 * test/nm-tool.c: Rewrite using libnm-glib.
9926 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
9927 We get signalled when it changes.
9929 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
9932 * libnm-glib/nm-device.c: Cache the device state property.
9934 * libnm-glib/nm-access-point.c: Cache the strength property.
9936 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
9937 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
9938 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
9939 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
9940 the device is down, activating, or activated (in case of A/B/G cards).
9941 Remove some old dead ifdef'ed out code that used to configure wireless devices,
9942 it's all done through supplicant now.
9944 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
9945 counting issues with pending calls which caused leaks and crashes when
9946 interface was removed (now that the interface actually gets removed).
9948 * src/nm-call-store.c: Make a copy of data before running a foreach
9949 with user callback on it - The most common usage pattern is to cancel
9950 (and thus remove) all pending calls with foreach which would modify
9951 the hash table we're iterating over.
9953 * src/nm-manager.c: When a device is added, make sure it is "up". When
9954 it's removed or disabled due to disabling wireless or networking, bring
9957 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
9959 * src/nm-device-802-11-wireless.c:
9960 * src/nm-device-802-3-ethernet.c:
9962 - Remove "init" virtual function, all gobjects have a place for that
9963 already (constructor).
9964 - Replace "start" virtual function with "bring_up", devices can be
9965 brought up and down more than just on startup now.
9966 - Add "is_up" virtual function.
9967 - Implement one way to bring a device down instead of previous 4 different
9968 ways, each of witch did something different.
9970 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
9971 all it needs is the device interface.
9973 Get rid of NMData.dev_list (3 members to go).
9974 Get rif of NMData in a lot of places.
9976 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
9978 2007-02-23 Dan Williams <dcbw@redhat.com>
9980 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
9982 * src/NetworkManagerAP.c
9983 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
9984 OR-ing rather than AND-ing
9986 2007-02-20 Tambet Ingo <tambet@ximian.com>
9988 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
9989 "network-removed" signals.
9991 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
9993 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
9994 when receiving the signal from dbus.
9996 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
9999 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10000 deactivation of the previously activated device working again.
10002 * src/nm-activation-request.c: Remove NMActStage property and it's getter
10005 * src/nm-device.c (nm_device_is_activated): Remove.
10006 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10008 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10009 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10010 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10011 NM_DBUS_SIGNAL_STATE_CHANGE signal.
10012 Remove NMNetworkStatus and NMActStage enums.
10014 2007-02-19 Tambet Ingo <tambet@ximian.com>
10016 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10017 Handle device state changes and disconnect VPN if it's device deactivates.
10019 * src/nm-dbus-nm.c:
10020 * src/nm-dbus-nm.h:
10021 * src/nm-dbus-device.c:
10022 * src/nm-dbus-device.c:
10023 * src/nm-dbus-net.c:
10024 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10026 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10028 * src/nm-device.c (nm_device_get_by_udi):
10029 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10030 implemented in the correct location (NMManager).
10031 Rip out all the test_device stuff.
10033 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10034 failure handlers, it's all done by NMDevice already.
10036 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10037 Remove the iochannel hack to route the unix signals to the main thread since
10038 we're not threaded anymore.
10040 * src/NetworkManagerAP.c: Implement HWAddress property.
10042 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10043 automatically with dbus-glib.
10045 * src/nm-netlink-monitor.c:
10046 * src/nm-netlink-monitor.h:
10047 - Move it low in the class hierarchy, don't reference any NM types.
10048 - Remove private data from the header.
10049 - Use type safe checks in public API methods.
10050 - Make it a singleton so we don't have to pass the single reference around.
10052 2007-02-16 Tambet Ingo <tambet@ximian.com>
10054 * introspection/nm-ip4-config.xml: Implement.
10056 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10058 * libnm-glib/nm-ip4-config.c:
10059 * libnm-glib/nm-ip4-config.c: Implement.
10061 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10062 securities. APs reference security.
10064 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10065 be exported over DBUS.
10067 * src/nm-device-802-3-ethernet.c: Ditto.
10069 * src/NetworkManagerAP.c:
10070 * src/NetworkManagerAP.h:
10071 - Convert to GObject, export over DBUS.
10073 * src/nm-ip4-config.h:
10074 * src/nm-ip4-config.h:
10075 - Convert to GObject, export over DBUS.
10077 2007-02-12 Dan Williams <dcbw@redhat.com>
10079 Patch from Helmut Schaa <hschaa@suse.de>
10081 * vpn-daemons/pptp/configure.in
10082 vpn-daemons/pptp/Makefile.am
10083 vpn-daemons/openvpn/configure.in
10084 vpn-daemons/openvpn/Makefile.am
10085 vpn-daemons/vpnc/configure.in
10086 vpn-daemons/vpnc/Makefile.am
10087 - Add --without-gnome switch which disables building gnome bits
10089 2007-02-12 Tambet Ingo <tambet@ximian.com>
10091 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10093 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10095 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10098 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10100 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10102 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10105 - Remove old low-level dbus interface implementations and replace them
10106 with dbus-glib one.
10109 - Require dbus-glib >= 0.72.
10110 - Plug in new sources to build.
10113 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10114 to make it more convenient to use from GObject based programs.
10117 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10119 2007-02-09 Tambet Ingo <tambet@ximian.com>
10121 * src/nm-device-802-11-wireless.c:
10122 - Add "network-added" and "network-removed" signals.
10123 - Use gobject boilerplate macros to define the GObject.
10124 - Implement wireless device activation.
10125 - Remove activation_failure_handler and activation_success_handler
10126 and instead listen on state-changed signals and run the same code
10130 - Implment NMDeviceInterface::deactivate.
10131 - Remove activation_failure_handler and activation_success_handler
10132 virtual methods. Each device which is interested in these events
10133 can just listen on it's state changed signals.
10135 * src/NetworkManagerPolicy.c:
10136 - Move a bit more NMData usage to NMManager.
10137 - Remove activation scheduling bits.
10138 - Add listeners for wireless device's "network-added" and
10139 "network-removed" signals.
10140 - Listen device changed signals and deactivate currently activated
10141 device when another device start activating (for now).
10142 - Remove (nm_policy_schedule_device_change_check): There's never a need
10143 for calling this, the policy code knows exactly when this should happen,
10144 by listening on events from NMManager and NMDevices.
10146 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10149 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10150 method on the specific device instead of going to through policy code
10151 and determining the device type by passed in AP's existance.
10153 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10154 abstract NMDevice deactivation.
10156 2007-02-08 Tambet Ingo <tambet@ximian.com>
10158 * src/NetworkManager.c:
10159 - Set up all the shiny new managers.
10161 * src/NetworkManagerPolicy.c:
10162 - Add the beginnings of new NMPolicy code. Instead of requireing all
10163 classes to call into policy code, make the policy code kind of like
10164 a supervisor that monitors what's going on and drives the whole NM.
10166 * src/nm-hal-manager.c:
10167 * src/nm-hal-manager.h:
10168 - Collect all libhal code scattered around NM to this one class.
10169 - Listen libhal and NMManager events and add/remove devices to
10172 * src/nm-manager.c:
10173 * src/nm-manager.h:
10174 - Implment a replacement for NMData. NMData is now officially
10177 2007-02-05 Tambet Ingo <tambet@ximian.com>
10179 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10180 * src/supplicant-manager/nm-supplicant-interface.h
10181 * src/supplicant-manager/nm-supplicant-interface.c
10182 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10183 argument to boolean from enum.
10185 Make NMDevice abstract class, remove almost all references to it's
10186 subclasses (the last place gets removed with new policy manager). Add
10187 NMDeviceInterface (which NMDevice implements) so that when we have
10188 NMDevice exported over DBUS, there's a common NMDevice interface which
10189 all instances have, plus there's a device specific interface for each
10191 Remove functions (nm_device_is_802_3_ethernet) and
10192 (nm_device_is_802_11_wireless). There are already standard GObject macros
10193 for type safe checks.
10194 Use the updated supplican manager API.
10196 * src/nm-device-interface.h:
10197 * src/nm-device-interface.c:
10198 * src/nm-call-store.h:
10199 * src/nm-call-store.c: Implement.
10201 * src/supplicant-manager/nm-supplicant-interface.c:
10202 * src/supplicant-manager/nm-supplicant-interface.h:
10203 * src/supplicant-manager/nm-supplicant-manager.c:
10204 * src/supplicant-manager/nm-supplicant-manager.h:
10205 - Remove all private data type references from public header files.
10206 - Remove all references to other NM classes, this class is just a
10207 proxy between wpa_supplicant and NM so it doesn't have to know
10209 - Convert to dbus-glib bindings.
10210 - Type safe checks for public methods' arguments.
10211 - Store pending DBUS call ids to NMCallStore.
10213 * src/supplicant-manager/nm-supplicant-config.c:
10214 - Store config values in a GHashTable instead of GSList.
10216 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10218 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10221 * src/nm-device.c: Use the new DHCP manager API.
10223 * src/nm-activation-request.c:
10224 * src/nm-activation-request.h:
10225 - Remove all dhcp related properties and methods.
10227 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10229 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10231 * src/dhcp-manager/nm-dhcp-manager.c:
10232 * src/dhcp-manager/nm-dhcp-manager.h:
10233 - Convert it to GObject since we need to signal state changes.
10234 - Remove all references to other NM classes, this class is one
10235 of the lowest classes in our hierarchy.
10236 - One less class to use NMActRequest.
10237 - Make it singleton, one less user of NMData.
10238 - Remove a couple of sleep() calls.
10239 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10240 One less class to use the NM's custom tailored signal handlig.
10242 * Makefile.am: Generate marshallers, add them to build.
10244 2007-02-02 Dan Williams <dcbw@redhat.com>
10250 - Remove last bits referencing gnome applet
10252 2007-02-02 Dan Williams <dcbw@redhat.com>
10254 * src/vpn-manager/nm-vpn-service.c
10255 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10256 and NBNS server addresses
10258 2007-02-02 Tambet Ingo <tambet@ximian.com>
10260 * src/nm-dbus-manager.c:
10261 * src/nm-dbus-manager.h:
10262 - Convert all internal DBUS code to use dbus-glib bindings.
10263 - Remove GObject properties, we don't need them here.
10264 - Don't explicitly set things to NULL after freeing, glib is
10265 happy to do it if asked nicely (G_DEBUG=gc-friendly).
10266 - Make public API argument checks type safe.
10267 - Remove unnecessary (and wrong) cast to GObject for the first
10268 argument to g_signal_* calls - The first argument is a gpointer.
10269 - Export DBusGConnection to other cool classes that (are going to)
10272 2007-01-26 Dan Williams <dcbw@redhat.com>
10274 * libnm-util/dbus-dict-helpers.c
10275 libnm-util/dbus-dict-helpers.h
10276 - Coordinate style with wpa_supplicant version to minimize diff
10277 - Add uint32 array support
10278 - (nmu_dbus_dict_append_uint32_array): new function
10279 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10280 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10281 version; allow adding string array elements individually
10283 * test/libnm-util/test-dbus-dict-helpers.c
10284 - Test uint32 arrays
10286 2007-01-27 Jürg Billeter <j@bitron.ch>
10288 * src/backends/NetworkManagerPaldo.c
10289 - (nm_system_update_dns): clear nscd hosts cache
10291 2007-01-04 Dan Williams <dcbw@redhat.com>
10293 Threading removal related cleanups:
10295 - Use the glib default main context. Remove the device main context
10296 member from NMDevice, and the main_context member from NMData. Change
10297 all the idle and timeout scheduler functions to use plain
10298 g_idle_add() and g_timeout_add().
10300 - As a side-effect of the first change, nm_dbus_manager_get() no longer
10301 takes an argument; fix that up too.
10303 - Remove all locking, which is useless since we no longer use threads. For
10304 example, nm_get_device_by_iface_locked() has been removed. The global
10305 device list lock, the AP List lock, and all static locks in
10306 NetworkManagerPolicy.c have been removed. The locking utility functions
10307 in NetworkManagerUtils.c have also been removed.
10309 - Other cleanups in spacing and code style
10311 2007-01-01 Dan Williams <dcbw@redhat.com>
10313 Found by Bill Moss:
10315 * src/supplicant-manager/nm-supplicant-interface.c
10316 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10317 the supplicant interface wasn't already disconnected. Always
10318 call removeNetwork and disconnect unless the supplicant interface
10319 is in the DISCONNECTED or INACTIVE state.
10321 2006-12-28 Dan Williams <dcbw@redhat.com>
10323 Use a single thread for everything. With the move to wpa_supplicant
10324 and communication over D-Bus, there's no reason for multiple threads.
10325 Almost all of the blocking code has been removed, with one exception in
10326 the DHCP manager and a few in the VPN manager. This commit removes the
10327 per-device worker thread and fixes activation cancellation in the absence
10328 of threads. Further removal of thread-related code would be removing
10329 any locking code (like the device list lock) and simplification of logic
10330 around areas of code or data structures that are currently locked.
10333 dhcp-manager/nm-dhcp-manager.c
10334 nm-device-802-11-wireless.c
10335 nm-device-802-3-ethernet.c
10338 - Remove usage of multiple threads
10340 2006-12-19 Dan Williams <dcbw@redhat.com>
10342 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10343 plus a few other patches from wpa_supplicant bugzilla.
10346 src/NetworkManagerPolicy.c
10347 src/NetworkManagerUtils.c
10348 src/NetworkManagerUtils.h
10349 src/nm-ap-security-leap.c
10350 src/nm-ap-security-wep.c
10351 src/nm-ap-security-wpa-eap.c
10352 src/nm-ap-security-wpa-psk.c
10353 src/nm-ap-security.c
10354 src/nm-ap-security.h
10355 src/nm-device-802-11-wireless.c
10356 src/nm-device-802-11-wireless.h
10357 src/supplicant-manager/nm-supplicant-config.c
10358 src/supplicant-manager/nm-supplicant-config.h
10359 src/supplicant-manager/nm-supplicant-interface.c
10360 src/supplicant-manager/nm-supplicant-interface.h
10361 src/supplicant-manager/nm-supplicant-marshal.list
10362 src/supplicant-manager/nm-supplicant-settings-verify.c
10363 src/supplicant-manager/nm-supplicant-settings-verify.h
10364 - Move all connection management and association handling to
10365 wpa_supplicant over dbus, rather than spawning a private copy
10367 2006-12-19 Dan Williams <dcbw@redhat.com>
10369 * src/NetworkManagerPolicy.c
10370 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10371 better locking of the device change check handler ID. Incorrect
10372 locking was causing lost device change requests
10374 2006-12-18 Dan Williams <dcbw@redhat.com>
10376 * libnm-util/dbus-dict-helpers.c
10377 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10378 _nmu_dbus_dict_entry_get_byte_array): replace usage of
10379 dbus_message_iter_get_array_len() (Gnome.org #382898)
10381 2006-12-18 Dan Williams <dcbw@redhat.com>
10383 * gnome/libnm_glib/libnm_glib.c
10384 - Change dbus_connection_close() -> dbus_connection_unref()
10386 2006-12-11 Dan Williams <dcbw@redhat.com>
10388 * src/supplicant-manager/nm-supplicant-interface.c
10389 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10390 wpa_supplicant interface state
10391 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10392 state before transitioning to READY state
10394 2006-12-04 Dan Williams <dcbw@redhat.com>
10396 * src/nm-device-802-11-wireless.c
10397 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10398 odd length of ESSID returned from ieee80211 stack-based drivers
10400 2006-12-04 Dan Williams <dcbw@redhat.com>
10402 * src/nm-device-802-11-wireless.c
10403 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10404 IE handling blocks that cause mis-parsing of the IE
10406 2006-12-04 Dan Williams <dcbw@redhat.com>
10408 * src/nm-device-802-11-wireless.c
10409 - (init_supplicant_interface): new function; pull supplicant interface
10410 setup code out into standalone function since it must be called from
10411 two different places
10412 - (real_init): sup_mgr is now in private object data; get and track
10413 the supplicant manager object over the NMDevice subclass' lifetime
10414 and register a signal handler for its state signals; only try to
10415 initialize the supplicant interface if the supplicant manager is in
10416 the IDLE state (and therefore is ready for requests)
10417 - (request_wireless_scan): reschedule the scan request if (a) there is
10418 no supplicant interface yet (meaning wpa_supplicant isn't running
10419 or isn't ready yet), or (b) if the supplicant interface isn't ready
10421 - (supplicant_iface_connection_state_cb): new function; stub for
10422 handling supplicant interface connection state signals
10423 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10425 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10426 supplicant manager object that's being tracked starting with this
10429 2006-12-04 Dan Williams <dcbw@redhat.com>
10431 * src/supplicant-manager/nm-supplicant-interface.c
10432 - (nm_supplicant_interface_set_property): track signal handler ID
10433 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10435 2006-12-04 Dan Williams <dcbw@redhat.com>
10437 * src/supplicant-manager/nm-supplicant-interface.[ch]
10438 - (nm_supplicant_interface_get_state): new function
10440 2006-12-04 Dan Williams <dcbw@redhat.com>
10442 * src/supplicant-manager/nm-supplicant-interface.c
10443 - (bssid_properties_cb): don't treat DBus errors as valid
10444 scanned AP messages
10446 2006-12-04 Dan Williams <dcbw@redhat.com>
10448 * src/supplicant-manager/nm-supplicant-interface.[ch]
10449 - (nm_supplicant_interface_get_connection_state): new function
10450 - define new supplicant connection states
10451 - send a signal when the supplicant connection state changes
10453 2006-12-03 Dan Williams <dcbw@redhat.com>
10455 * src/supplicant-manager/Makefile.am
10456 src/supplicant-manager/nm-supplicant-connection.h
10457 src/supplicant-manager/nm-supplicant-connection.c
10458 src/supplicant-manager/nm-supplicant-config.h
10459 src/supplicant-manager/nm-supplicant-config.c
10460 src/supplicant-manager/nm-supplicant-types.h
10461 src/supplicant-manager/nm-supplicant-interface.h
10462 src/supplicant-manager/nm-supplicant-interface.c
10463 - Rename NMSupplicantConnection -> NMSupplicantConfig
10465 2006-12-03 Dan Williams <dcbw@redhat.com>
10467 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
10471 - Move VPN-related translatables to .skip
10473 * vpn-daemons/pptp/po/POTFILES.in
10474 - Update with new translatables
10476 2006-12-02 Dan Williams <dcbw@redhat.com>
10478 Patch from Christian Persch <chpe@gnome.org>
10480 * gnome/applet/Makefile.am
10481 gnome/applet/applet-dbus-devices.c
10482 gnome/applet/applet-notifications.c
10483 gnome/applet/applet.c
10484 gnome/applet/applet.h
10485 gnome/applet/main.c
10486 - Be a GtkStatusIcon on GTK+ >= 2.10
10488 2006-12-02 Dan Williams <dcbw@redhat.com>
10490 * gnome/applet/applet.c
10491 - (nma_update_info): fix two unecessary allocations
10493 2006-12-02 Dan Williams <dcbw@redhat.com>
10495 Patch from Michael Biebl <biebl@teco.edu>
10497 man/NetworkManager.1.in
10498 man/NetworkManagerDispatcher.1.in
10499 man/NetworkManager.8.in
10500 man/NetworkManagerDispatcher.8.in
10501 - Add .SH NAME stanzas
10502 - Move NM & NM Dispatcher manpages to section 8 (admin)
10504 2006-12-02 Dan Williams <dcbw@redhat.com>
10506 Patch from Christian Persch <chpe@gnome.org>
10509 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10511 2006-11-29 Tambet Ingo <tambet@ximian.com>
10513 Patch by Timo Hoenig <thoenig@suse.de>:
10514 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10517 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10518 we can't use the one from the main source directory.
10520 2006-11-27 Dan Williams <dcbw@redhat.com>
10522 Patch from Christian Persch <chpe@gnome.org>
10524 * gnome/applet/applet-dbus-devices.c
10525 - (hal_info_product_cb): fix memleak; free duped string.
10528 2006-11-27 Dan Williams <dcbw@redhat.com>
10530 Patch from Christian Persch <chpe@gnome.org>
10532 * gnome/applet/menu-items.c
10533 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10534 as gtk_progress_set_percentage is deprecated. Should
10535 work as far back as GTK+ 2.4. Gnome.org #379780
10537 2006-11-26 Dan Williams <dcbw@redhat.com>
10539 Scan using wpa_supplicant over DBus.
10541 * src/nm-device-802-11-wireless.c
10542 - remove wireless extensions netlink event handler bits
10543 (wireless_event_helper, nm_device_802_11_wireless_event)
10544 - remove wireless extensions scan event handler bits
10545 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10546 hex2byte, hex2num, request_and_convert_scan_results,
10547 free_process_scan_cb_data, scan_results_timeout,
10548 schedule_scan_results_timeout, cancel_scan_results_timeout)
10549 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10550 and request scans from the supplicant interface rather than directly
10551 - Move functionality of convert_scan_results() to cull_scan_list() and
10552 supplicant_iface_scanned_ap_cb()
10553 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10554 at the scan interval when the current scan has finished
10555 - (supplicant_iface_state_cb): start scanning when the supplicant
10556 interface enters the READY state, and stop scanning when it
10557 enters the DOWN state
10558 - (cull_scan_list): weed out old access points from the scan list
10559 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10560 point into an NMAccessPoint and merge it into the device's scan list
10562 * src/supplicant-manager/nm-supplicant-interface.c
10563 src/supplicant-manager/nm-supplicant-interface.h
10564 - Add a new signal "scan-result" which is issued when the supplicant
10565 notifies NM that a scan has completed
10566 - Add a new signal "scanned-ap" that notifies listeners of a new access
10567 point found in the scan. Called once for each access point that
10568 the supplicant interface object receives from the supplicant as a
10569 result of the "scanResults" method call
10570 - (wpas_iface_query_scan_results): don't wait 4s before querying
10571 for the initial scan results
10572 - (scan_request_cb): new function; send listeners the result
10573 (success, error) of a wireless scan request
10574 - (nm_supplicant_interface_request_scan): new function; ask the
10575 supplicant to perform an immediate wireless scan
10577 2006-11-25 Dan Williams <dcbw@redhat.com>
10579 * src/supplicant-manager/Makefile.am
10580 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10581 add HAL cflags/includes and named-manager includes directory
10583 * src/supplicant-manager/nm-supplicant-interface.h
10584 - New state STARTING to handle transition from INIT to READY where
10585 the addInterface pending call is still outstanding
10587 * src/supplicant-manager/nm-supplicant-interface.c
10588 - track pending calls differently since we may have more than one
10589 going on at any given time
10590 - request scan results from wpa_supplicant; but don't do it more often
10591 than every 4 seconds. Drivers that do background scanning
10592 (like the 'ipw' drivers) send a continuous stream of scan completion
10593 notifications, so we don't want to hammer the supplicant or dbus
10594 with requests for all scan results every time we get a completion
10597 2006-11-25 Dan Williams <dcbw@redhat.com>
10599 * src/supplicant-manager/nm-supplicant-types.h
10600 - new file; move all supplicant manager object typedefs here for
10603 * src/supplicant-manager/nm-supplicant-interface.c
10604 src/supplicant-manager/nm-supplicant-interface.h
10605 - new file; an object that interfaces an NMDevice object to the
10606 supplicant and handles signals from the supplicant. This object
10607 does all necessary DBus communication with wpa_supplicant.
10609 * src/supplicant-manager/nm-supplicant-manager.c
10610 src/supplicant-manager/nm-supplicant-manager.h
10611 - Actually do something. Track the state of the wpa_supplicant service
10612 and deal with its comings & goings. Handle life events of
10613 supplicant interfaces too.
10614 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10616 * src/supplicant-manager/nm-supplicant-connection.h
10617 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10619 * src/supplicant-manager/Makefile.am
10620 - Add new files to build, and add libnm-util to includes
10622 * src/nm-marshal.list
10623 - New marshaler type: VOID:UINT,UINT
10625 * src/nm-device-802-3-ethernet.c
10626 - (real_init): grab a supplicant interface
10627 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10628 - (supplicant_iface_state_cb): new function, stub for handling
10629 supplicant interface state changes
10631 * src/nm-device-802-11-wireless.c
10632 - (real_init): grab a supplicant interface
10633 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10634 - (supplicant_iface_state_cb): new function, stub for handling
10635 supplicant interface state changes
10637 * src/NetworkManager.c
10638 - (main): create and keep the supplicant manager around for the lifetime
10642 - Link to the supplicant manager sub-library and use the supplicant
10645 2006-11-25 Dan Williams <dcbw@redhat.com>
10647 Rework DBus manager signal handling to be more flexible. Previously,
10648 only one signal handler could be registered for a particular interface.
10649 The DBus manager now reference counts DBus bus matches and allows multiple
10650 clients to register signal handlers for the same interface and sender.
10652 * src/NetworkManager.c
10653 - (main): track NMI signal handler ID and remove it when we quit
10655 * src/NetworkManagerMain.h
10656 - Keep track of NMI signal handler ID
10658 * src/nm-dbus-manager.c
10659 src/nm-dbus-manager.h
10660 - rework signal handling; each signal handler references one signal
10661 match, but a signal match may be referenced by one or more
10662 signal handlers. Matches are refcounted and are destroyed when the
10663 last signal handler that references the match is removed. This is
10664 necessary because two signal handlers may end up requiring the same
10665 dbus bus match, so the match must live until the last signal handler
10666 is destroyed (for example, with the wpa_supplicant network interface
10669 * src/dhcp-manager/nm-dhcp-manager.c
10670 - (nm_dhcp_manager_new): track DHCP signal handler id
10671 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10673 * src/vpn-manager/nm-vpn-service.c
10674 - (nm_vpn_service_add_watch): track VPN service signal handler id
10675 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10677 2006-11-25 Dan Williams <dcbw@redhat.com>
10679 Suggested by Helmut Schaa <hschaa@suse.de>
10681 * src/vpn-daemons/nm-vpn-service.c
10682 - (supplicant_child_setup): new function
10683 - (supplicant_exec): make child process use a new process group id
10685 * src/nm-device-802-11-wireless.c
10686 - (nm_vpn_service_child_setup): new function
10687 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10690 2006-11-19 Dan Williams <dcbw@redhat.com>
10692 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
10693 * gnome/vpn-properties/nm-vpn-properties.c
10694 - clean up after renamed VPN connection
10696 2006-11-19 Dan Williams <dcbw@redhat.com>
10698 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
10699 * gnome/applet/applet-dbus-vpn.c
10700 - (nma_dbus_vpn_properties_cb): sort VPN connections
10702 * gnome/vpn-properties/nm-vpn-properties.c
10703 - (init_app): sort VPN connections
10705 2006-11-09 Dan Williams <dcbw@redhat.com>
10707 * src/NetworkManagerAPList.c
10708 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10709 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10710 from the nm_ap_list_get_ap_by_address() call was incorrect and
10711 broke hidden SSID matching. Found by Bill Moss.
10713 2006-10-25 Dan Williams <dcbw@redhat.com>
10716 - (nm_dbus_nm_set_active_device): return an empty success message on
10717 success, rather than falling through to the error case.
10719 2006-10-25 Dan Williams <dcbw@redhat.com>
10721 * src/NetworkManagerUtils.c
10722 - (nm_utils_supplicant_request_with_check): suppress messages for the
10725 2006-10-24 Dan Williams <dcbw@redhat.com>
10727 Reduce the number of times the Gnome applet wakes up, especially when
10728 it's doing absolutely nothing and is hidden. Initial patch by
10731 * gnome/applet/applet-dbus.c
10732 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10733 kill the redraw timeout. When NM starts up, start the redraw
10734 timeout. Also, if we get kicked off the bus for some reason,
10735 start the reconnection timeout if one's not already running.
10736 - (nma_dbus_init): better handling of error conditions, don't leak
10737 a half-initialized dbus connection
10738 - (nma_dbus_connection_watcher): consolidate places we reinitialize
10739 the applet's data, just call nm_dbus_init_helper()
10740 - (nma_start_dbus_connection_watch): new function, starts a periodic
10741 timeout that calls nma_dbus_connection_watcher()
10742 - (nma_dbus_init_helper): if we get a successful connection, kill the
10743 reconnection timeout, and don't start the reconnection timeout
10744 unconditionally anymore
10746 * gnome/applet/applet-dbus.h
10747 - Expose nma_start_dbus_connection_watch()
10749 * gnome/applet/applet.c
10750 - (nma_update_state): no longer static, called from applet-dbus.c for
10751 immediate UI updates on certain events
10752 - (nma_set_running): new function; take over setting applet->running,
10753 when not running (ie, NM is not active), don't activate the redraw
10754 timeout because we're not showing the applet anyway. When we are
10755 running (ie, NM is active), and only when we're running, start the
10757 - (nma_destroy): kill the redraw timeout by setting 'not running', and
10758 kill any reconnection timeout
10759 - (nma_get_instance): move one-off dbus initialization code here since
10760 nm_dbus_init_helper() gets called more than once, possibly by the
10761 reconnection timeout function too. And, when we start up, if we
10762 can't get a connection to the bus, start the reconnection timeout.
10763 But don't start the redraw timeout yet, only do that when we get
10764 NM's state and find out if it's running or not.
10766 * gnome/applet/applet.h
10767 - Add the reconnection GSource ID
10768 - Add prototypes for nma_set_running() and the no-longer-static
10771 2006-10-24 Dan Williams <dcbw@redhat.com>
10773 * src/vpn-daemons/nm-dbus-vpnc.c
10774 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
10775 pending call tracker
10776 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
10777 pending call tracker; register one-vpn-connection update pending
10778 call in pending call tracker
10779 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
10780 update pending call in pending call tracker
10781 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
10782 update pending call in pending call tracker; don't block waiting
10785 2006-10-19 Robert Love <rml@novell.com>
10787 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
10790 2006-10-14 Dan Williams <dcbw@redhat.com>
10792 * src/dhcp-manager/nm-dhcp-manager.c
10793 - (get_ip4_string, get_ip4_uint32s): have the caller pass
10794 the dbus connection and the device object path rather than
10795 constructing it inside both functions. Saves a bit of memory
10796 and clarifies a failure path.
10797 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
10798 and allocate device path here rather than each of the two
10801 2006-10-13 Dan Williams <dcbw@redhat.com>
10803 * src/NetworkManager.c
10804 - (nm_name_owner_changed_handler): handle NMI coming and going,
10805 this somehow droppout in the refactor
10807 2006-10-13 Dan Williams <dcbw@redhat.com>
10809 * Huge DBus refactor:
10810 - Create a "DBus Manager" object which manages the connection and
10811 sends signals on NameOwnerChanged and connection/disconnection events,
10812 handles reconnection to the bus if NM gets kicked off, and abstracts
10814 - Remove DBusConnection members from places where they are no
10815 longer needed due to the refactor, like the dbus-connection
10816 property of the named manager, and from NMData
10817 - Reformats a bunch of the code to gnome style
10818 (8-space tabs, braces on same line as statement, 80-col width).
10819 Consider it open season to reformat any bits to gnome style.
10820 style that aren't already.
10822 2006-10-13 Dan Williams <dcbw@redhat.com>
10824 * src/supplicant-manager/Makefile.am
10827 * src/supplicant-manager/nm-supplicant-manager.[ch]:
10828 - Make it a minimal GObject
10830 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
10831 - Verify settings destined for wpa_supplicant
10833 * src/supplicant-manager/nm-supplicant-connection.[ch]:
10834 - Minimal GObject to track wpa_supplicant controlled device
10837 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
10839 * gnome/applet/applet.c: (nma_update_info),
10840 (nma_act_stage_to_pixbuf), (nma_update_state):
10841 Mark missing strings for translation. Fixes bug #343306.
10843 2006-10-01 Dan Williams <dcbw@redhat.com>
10845 * src/vpn-manager/nm-vpn-manager.c
10846 - (nm_vpn_manager_load_services): split and clean up
10847 for readability and correctness. Restrict VPN service
10848 files to ending in ".name", as was meant from the
10849 beginning (but not coded in). Better error reporting.
10851 2006-10-01 Dan Williams <dcbw@redhat.com>
10854 - Clean up formatting of debug/info/warning log messages
10856 2006-09-27 Robert Love <rml@novell.com>
10858 Patch by Tambet Ingo <tambet@ximian.com>:
10859 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
10862 2006-09-07 Dan Williams <dcbw@redhat.com>
10865 test/libnm-util/Makefile.am
10866 test/nm-supplicant-test.c
10867 - Add test program emulating the way NM drives wpa_supplicant
10868 to help debug supplicant issues
10870 2006-08-24 Dan Williams <dcbw@redhat.com>
10874 src/supplicant-manager/Makefile.am
10875 src/supplicant-manager/nm-supplicant-manager.c
10876 src/supplicant-manager/nm-supplicant-manager.h
10877 - Add skeleton bits of the wpa_supplicant manager
10879 2006-08-24 Dan Williams <dcbw@redhat.com>
10881 Patch from Ed Catmur:
10882 * src/NetworkManagerUtils.c
10883 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
10884 if netmask is 0 (Gnome #352634)
10886 2006-08-17 Robert Love <rml@novell.com>
10888 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
10889 package is now DBUS-enabled and listens for the NM signals.
10891 2006-08-14 Dan Williams <dcbw@redhat.com>
10893 * Patch from Christian Persch <chpe gnome org>
10896 vpn-daemons/openvpn/po/LINGUAS
10897 vpn-daemons/openvpn/configure.in
10898 vpn-daemons/pptp/po/LINGUAS
10899 vpn-daemons/pptp/configure.in
10900 vpn-daemons/vpnc/po/LINGUAS
10901 vpn-daemons/vpnc/configure.in
10902 - Convert to LINGUAS method so translators don't have to modify
10903 configure.in, just stuff in po/. Gnome #343132, requires intltool
10906 2006-08-14 Dan Williams <dcbw@redhat.com>
10908 Patch from Alex Smith <alex.extreme2@gmail.com>
10910 src/backends/Makefile.am
10911 src/backends/NetworkManagerFrugalware.c
10912 - Add support for Frugalware
10914 2006-08-13 Dan Williams <dcbw@redhat.com>
10916 Patch from Valentine Sinitsyn <e_val@inbox.ru>
10917 * src/nm-device-802-11-wireless.c
10918 - (supplicant_exec): spawn wpa_supplicant without debug spew
10921 2006-08-13 Dan Williams <dcbw@redhat.com>
10923 Patch from Valentine Sinitsyn <e_val@inbox.ru>
10924 * src/nm-ap-security.c
10925 src/nm-ap-security.h
10926 - Add authentication_required bits for subclasses to specify whether
10927 or not real authentication is required for connections, i.e. whether
10928 the AP rejects us when an encryption key is wrong or not.
10930 * src/nm-ap-security-wep.c
10931 src/nm-ap-security-wpa-eap.c
10932 src/nm-ap-security-wpa-psk.c
10933 src/nm-ap-security-leap.c
10934 - Implement authentication_required appropriately for each method
10936 * src/nm-device-802-11-wireless.c
10937 - Be smarter about when to request a key; for example, using a wrong key
10938 in WEP shared key mode previously just timed out and did not request
10941 2006-08-13 Dan Williams <dcbw@redhat.com>
10943 * gnome/libnm_glib/libnm_glib.c
10944 - dbus_connection_disconnect() -> dbus_connection_close() for
10947 2006-08-07 Dan Williams <dcbw@redhat.com>
10949 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10950 * src/NetworkManagerSystem.c
10951 - Respect specified MTU. Gnome #344967
10953 2006-08-07 Dan Williams <dcbw@redhat.com>
10955 * src/vpn-manager/nm-vpn-service.c
10956 - Simplify print_vpn_config() arguments
10958 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10959 * src/vpn-manager/Makefile.am
10960 src/vpn-manager/nm-vpn-service.c
10961 - Add new API for passing VPN config options as a dict. Gnome #344967
10963 2006-08-06 Dan Williams <dcbw@redhat.com>
10965 * gnome/applet/applet-dbus-devices.c
10966 gnome/applet/applet-dbus-vpn.c
10967 gnome/applet/applet-dbus.c
10968 gnome/applet/applet-dbus.h
10972 - Make pending call tracking code generic,
10973 so we can use it in NM as well as the applet
10975 2006-08-06 Dan Williams <dcbw@redhat.com>
10977 * src/nm-activation-request.c
10978 - Refcount pending call objects
10980 2006-08-06 Dan Williams <dcbw@redhat.com>
10982 Patch from Christan Chiesa <christanc@gmail.com>
10984 - Tell sha1.c to use bigendian mode on PPC
10986 2006-08-04 Robert Love <rml@novell.com>
10988 Glib Memory Slices!
10989 * configure.in: Require glib 2.10 or later.
10990 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
10991 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
10992 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
10993 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
10994 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
10995 Memory Slices are the greatest thing since bread slices.
10996 * src/NetworkManagerAP.c: Also, fix memory leak.
10998 2006-08-01 Robert Love <rml@novell.com>
11000 * gnome/applet/main.c: Shutdown all VPN connections on logout.
11002 2006-07-31 Robert Love <rml@novell.com>
11004 * src/backends/interface_parser.c: Declarations must begin the block.
11006 2006-07-24 Dan Williams <dcbw@redhat.com>
11008 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11009 * src/backends/Makefile.am
11010 src/backends/NetworkManagerArch.c
11011 src/backends/NetworkManagerDebian.c
11012 src/backends/NetworkManagerGeneric.c
11013 src/backends/NetworkManagerGeneric.h
11014 src/backends/NetworkManagerGentoo.c
11015 src/backends/NetworkManagerPaldo.c
11016 src/backends/NetworkManagerRedHat.c
11017 src/backends/NetworkManagerSlackware.c
11018 src/backends/NetworkManagerSuSE.c
11019 - Genericize common backend functions
11021 2006-07-18 Robert Love <rml@novell.com>
11023 * configure.in: Add "--with-notify" option to allow disabling of
11026 2006-07-13 Dan Williams <dcbw@redhat.com>
11028 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11029 * gnome/applet/applet.glade
11030 gnome/applet/Makefile.am
11031 gnome/applet/nm-gconf-wso.c
11032 gnome/applet/nm-gconf-wso-leap.c
11033 gnome/applet/nm-gconf-wso-leap.h
11034 gnome/applet/wireless-security-manager.c
11035 gnome/applet/wso-leap.c
11036 gnome/applet/wso-leap.h
11037 include/NetworkManager.h
11038 libnm-util/dbus-helpers.c
11039 libnm-util/dbus-helpers.h
11041 src/NetworkManagerAP.c
11042 src/nm-ap-security.c
11043 src/nm-ap-security-leap.c
11044 src/nm-ap-security-leap.h
11045 - Add LEAP authentication support
11047 2006-07-13 Dan Williams <dcbw@redhat.com>
11049 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11051 src/backends/NetworkManagerArch.c
11052 src/backends/NetworkManagerDebian.c
11053 src/backends/NetworkManagerGentoo.c
11054 src/backends/NetworkManagerPaldo.c
11055 src/backends/NetworkManagerRedHat.c
11056 src/backends/NetworkManagerSlackware.c
11057 src/backends/NetworkManagerSuSE.c
11058 - Convert hardcoding of 'ip' path to configure-time
11061 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11063 * configure.in: added ru to ALL_LINGUAS
11065 2006-07-10 Dan Williams <dcbw@redhat.com>
11067 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11069 - (real_act_stage3_ip_config_start): don't infinite loop when
11070 dhcdbd isn't running (Gnome #346845)
11072 2006-07-09 Dan Williams <dcbw@redhat.com>
11074 * gnome/applet/applet.c
11075 - (nma_destroy): don't pass NULL to notify_notification_close
11078 2006-07-09 Dan Williams <dcbw@redhat.com>
11080 * gnome/applet/applet.c
11081 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11083 2006-07-04 Tor Krill <tor@krill.nu>
11085 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11086 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11087 (nm_system_restart_mdns_responder), (ArchReadConfig),
11088 (nm_system_device_get_system_config):
11089 - Explicitly check for DHCP configuration
11090 - Check if daemons are running before starting them
11092 2006-06-25 Dan Williams <dcbw@redhat.com>
11094 * libnm-util/dbus-dict-helpers.[ch]
11095 test/libnm-util/test-dbus-dict-helpers.c
11096 - Add string array support
11098 2006-06-24 Dan Williams <dcbw@redhat.com>
11100 * src/dhcp-manager/nm-dhcp-manager.c
11101 - (nm_dhcp_manager_process_signal): clean up spacing
11103 2006-06-21 Dan Williams <dcbw@redhat.com>
11105 * src/nm-dbus-device.c
11106 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11109 2006-06-21 Raivis Dejus <orvils@gmail.com>
11111 * configure.in: Added 'lv' to ALL_LINGUAS
11113 2006-06-19 Dan Williams <dcbw@redhat.com>
11115 * src/NetworkManagerAP.c
11116 - Clarify usage of user_created
11118 * src/nm-ap-security-wep.c
11119 src/nm-ap-security-wpa-eap.c
11120 src/nm-ap-security-wpa-psk.c
11121 src/nm-ap-security.c
11122 src/nm-ap-security.h
11123 - s/user_created/adhoc, because we really do mean adhoc
11125 Patch from Bernard Blackham <bernard@blackham.com.au>
11126 * src/nm-device-802-11-wireless.c
11127 - (supplicant_send_network_config): instead of user_created,
11128 use adhoc, and do AP_SCAN 2 for adhoc networks
11130 2006-06-18 Robert Love <rml@novell.com>
11132 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11133 we have a value to set. Gconf generates a warning if `val' is NULL.
11134 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11135 unless we actually received a valid private key file passphrase or
11136 password. Otherwise, we don't know to later ask the applet to pull
11137 the key from the keyring.
11139 2006-06-17 Dan Williams <dcbw@redhat.com>
11141 * libnm-util/dbus-dict-helpers.[ch]
11142 test/libnm-util/test-dbus-dict-helpers.c
11143 - Fixes for zero-length byte arrays
11144 - Replace return values of 0 with FALSE for clarity
11145 - Test zero-length byte arrays
11147 2006-06-17 Dan Williams <dcbw@redhat.com>
11149 * libnm-util/dbus-dict-helpers.[ch]
11150 test/libnm-util/test-dbus-dict-helpers.c
11151 - Add helpers for byte arrays
11152 - Rework bits of the testcase
11154 2006-06-16 Dan Williams <dcbw@redhat.com>
11156 * libnm-util/Makefile.am
11157 * libnm-util/dbus-dict-helpers.[ch]
11158 - Add some helpers to take the pain out of using dict types in
11161 * test/libnm-util/Makefile.am
11162 * test/libnm-util/test-dbus-dict-helpers.c
11163 - Test cases for the dict helper functions
11165 2006-06-15 Robert Love <rml@novell.com>
11167 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11168 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11169 if there is no key to pass.
11170 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11171 receiving a non-NULL key.
11173 2006-06-14 Robert Love <rml@novell.com>
11175 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11179 2006-06-14 Dan Williams <dcbw@redhat.com>
11181 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11182 * src/nm-device-802-11-wireless.c
11183 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11184 or ones where the driver is unknown
11185 - (supplicant_exec): don't wait for supplicant startup here
11186 - (supplicant_interface_init): finer grained polling for supplicant
11189 2006-06-13 Robert Love <rml@novell.com>
11191 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11192 if it is currently set to TRUE. Otherwise, we will reset the value
11193 when we connect normally.
11194 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11195 the old BSSID is valid, too. The recently added ESSID check may not be
11196 sufficient (we can remove it?). What we really want to catch is the
11197 case of going from all-zeros to the BSSID of some other network, which
11198 happens on failure.
11200 2006-06-09 Dan Williams <dcbw@redhat.com>
11202 * src/NetworkManagerSystem.[ch]
11203 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11204 it was unused and pointless
11205 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11206 fix for set_up_down_with_iface change
11208 * src/vpn-manager/nm-vpn-connection.c
11209 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11211 * src/backends/NetworkManagerPaldo.c
11212 src/backends/NetworkManagerRedHat.c
11213 src/backends/NetworkManagerSuSE.c
11214 src/backends/NetworkManagerArch.c
11215 src/backends/NetworkManagerDebian.c
11216 src/backends/NetworkManagerGentoo.c
11217 - (nm_system_enable_loopback): use set_up_down_with_iface where
11219 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11222 2006-06-09 Dan Williams <dcbw@redhat.com>
11224 Patch from Peter Jones:
11225 * src/nm-device-802-11-wireless.c
11226 - (nm_device_802_11_wireless_update_bssid): make sure that the
11227 SSID hasn't changed from what we expect before automatically
11228 updating the saved BSSID from a new AP
11230 2006-06-08 Robert Love <rml@novell.com>
11232 Add 'fallback' support. NetworkManager will attempt to brute-force
11233 connect to networks marked as fallback if there are no better wireless
11234 connections available. This is useful as a method of last resort, to
11235 work around driver problems, and for use with hidden networks.
11236 * gnome/applet/applet-dbus-devices.c,
11237 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11238 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11239 pass it on via DBUS.
11240 * gnome/applet/applet.c: No fallback by default.
11241 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11242 Update other-network-dialog to add UI checkbox toggling fallback.
11243 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11244 propery from AP object. Add "fallback" property to AP object.
11245 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11246 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11247 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11248 separate function. Add get_best_fallback_ap() for returning an AP
11249 on which to attempt fallback.
11250 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11251 * test/nm-set-fallback: New file. Sets a given network as fallback.
11253 2006-06-07 Robert Love <rml@novell.com>
11255 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11256 checked that the return type was GCONF_VALUE_STRING, not the correct
11257 GCONF_VALUE_BOOL, and thus it never worked.
11258 * src/NetworkManagerAPList.c: Before concluding that two networks are
11259 identical based on their BSSID, make sure that the BSSID in question
11260 is actually valid. Specifically, an empty or all zero BSSID does not
11262 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11263 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11264 similar invariant clean up.
11266 2006-06-02 Robert Love <rml@novell.com>
11268 * gnome/applet/applet.c: Update copyright years. Add Novell.
11270 2006-05-28 Dan Williams <dcbw@redhat.com>
11272 * gnome/applet/applet.glade
11273 gnome/vpn-properties/nm-vpn-properties.glade
11274 - Set window icons on dialogs (Gnome.org #333420)
11276 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
11278 * gnome/vpn-properties/nm-vpn-properties.glade:
11279 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11280 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11281 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11282 - Make the VPN properties pages prettier and more HIG
11283 compliant. Gnome Bug #336913.
11285 2006-05-28 Dan Williams <dcbw@redhat.com>
11287 Patch from Christian Persch <chpe@gnome.org>
11288 * gnome/vpn-properties/nm-vpn-properties.c
11289 * gnome/vpn-properties/nm-vpn-properties.glade
11290 - HIG-ification love (Gnome.org #336846)
11292 2006-05-28 Dan Williams <dcbw@redhat.com>
11294 Patch from Christian Persch <chpe@gnome.org>
11296 gnome/vpn-properties/nm-vpn-properties.c
11297 - (main): Fix option parsing. Gnome.org #336847
11299 2006-05-28 Dan Williams <dcbw@redhat.com>
11301 * gnome/vpn-properties/nm-vpn-properties.c
11302 - (find_vpn_ui_by_service_name): protect against NULL service names
11303 - (update_edit_del_sensitivity): protect against NULL service names
11306 2006-05-28 Dan Williams <dcbw@redhat.com>
11308 Patch from Chris Fuller <crf@grandecom.net>:
11309 * src/nm-device-802-11-wireless.c
11310 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11311 don't dispose of wireless-specific stuff unless it is actually
11312 initialized. Gnome.org #341263
11314 2006-05-28 Dan Williams <dcbw@redhat.com>
11316 * src/NetworkManagerPolicy.c
11317 - (nm_policy_device_change_check): don't switch devices if the "best"
11318 AP is essentially the same as the current activation request, but
11319 the current activation request isn't done activating yet. Fixes
11320 multiple requests for keyring password on startup for Gnome applet.
11323 2006-05-26 Nicolas Trangez <eikke@eikke.com>
11325 * src/NetworkManager.c: use GOptions instead of getopt
11326 * configure.in: bump glib required version to >= 2.6 for GOption
11329 2006-05-25 Robert Love <rml@novell.com>
11331 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11332 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
11333 instead of dumping ifdef's throughout the code.
11334 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11335 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11336 use nm_ioctl_info() in lieu.
11338 2006-05-25 Robert Love <rml@novell.com>
11340 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11341 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11342 not using gcrypt. Otherwise, we get a linker error.
11344 2006-05-25 Robert Love <rml@novell.com>
11346 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11347 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11348 configure flag to disable building of the GNOME-based applet.
11350 2006-05-25 Robert Love <rml@novell.com>
11352 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11353 parameter from link, because it shadows a global variable with some
11354 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
11355 should never have exported to the entire system a common four letter
11356 word. But we here at NetworkManager are team players. Fixes
11359 2006-05-25 Arangel Angov <ufo@linux.net.mk>
11361 * configure.in: Added mk.po, Macedonian translation.
11363 2006-05-24 Robert Love <rml@novell.com>
11365 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11366 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11367 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11369 2006-05-24 Robert Love <rml@novell.com>
11371 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11372 libnm-util/Makefile.am, src/Makefile.am,
11373 vpn-daemons/openvpn/auth-dialog/Makefile.am,
11374 vpn-daemons/openvpn/properties/Makefile.am,
11375 vpn-daemons/pptp/auth-dialog/Makefile.am,
11376 vpn-daemons/pptp/properties/Makefile.am,
11377 vpn-daemons/vpnc/auth-dialog/Makefile.am,
11378 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11379 user passed for --datadir, if anything, when setting the GNOME locale
11380 directory. It should be a function of the specified datadir and not
11383 2006-05-24 Robert Love <rml@novell.com>
11385 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11386 src/NetworkManager.c: Take care to call bindtextdomain with the
11387 location of msgid files.
11388 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11391 2006-05-22 Robert Love <rml@novell.com>
11393 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11394 stage4_timeout on failure unless the wireless network is Ad-Hoc.
11395 99% of the time there is a real problem with wireless, and a
11396 seemingly successful connection via Zeroconf just confuses the user.
11397 And that 1% of the time the network is probably Ad-Hoc, anyhow.
11399 2006-05-22 Robert Love <rml@novell.com>
11401 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11402 autofs on interface up if NIS is configured. On interface down, do
11405 2006-05-22 Robert Love <rml@novell.com>
11407 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11408 to avoid calling g_object_unref() on stale pointers on error in
11409 nma_icons_free(). This happens because we short-circuit loaded the
11410 icons on the first failure but then free all icons. Normally we have
11411 no issue because the icons were zero'ed out malloc, but we have stale
11412 pointer data after nma_icon_theme_changed().
11413 * gnome/applet/main.c: Return error code if nma_new() failed.
11415 2060-05-21 Dan Williams <dcbw@redhat.com>
11417 * initscript/NetworkManager.in
11418 - Ensure both dhcdbd and named are started before NM
11420 2006-05-21 Dan Williams <dcbw@redhat.com>
11423 - Bump version to 0.7 to signify we are in 0.7 development
11425 2006-05-21 Dan Williams <dcbw@redhat.com>
11427 Patch from Adam Schreiber <sadam@clemson.edu>
11428 * gnome/vpn-properties/nm-vpn-properties.c
11429 - (main): correct Gnome program name (gnome.org #342498)
11431 2006-05-21 Dan Williams <dcbw@redhat.com>
11433 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11435 * src/NetworkManagerDbus.[ch]
11436 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11437 clarify that function's argument should be an escaped dbus object
11438 path, and look for path segment end before returning a match
11439 * src/nm-dbus-nm.c:
11440 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11442 2006-05-17 Robert Love <rml@novell.com>
11444 Functionality to differentiate Ad-Hoc networks from infrastructure
11445 networks in the applet, by displaying a special icon:
11446 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11447 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11448 * gnome/applet/menu-items.c: Set a special icon in the scan list for
11449 ad-hoc networks. TODO: Add a third icon representing "encrypted and
11450 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
11451 networks, encrypted or not.
11452 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11453 accessor functions to get and set the mode of a given network,
11454 wireless_network_get_mode() and wireless_network_set_mode().
11456 2006-05-17 Robert Love <rml@novell.com>
11458 Functionality to automatically add BSSIDs to the allowed-MAC list as
11459 one roams from access point to access point on a given network:
11460 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11461 helper function to compare two ether_addr structures and return TRUE
11462 if they contain the same MAC address.
11463 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11465 * src/nm-device-802-11-wireless.c: New function to update the BSSID
11466 stored with the current AP. If the BSSID has indeed changed, we
11467 send it out to the applet, allowing the allowed-MAC list to grow
11468 automatically in response to roaming.
11470 2006-05-16 Robert Love <rml@novell.com>
11472 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11473 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11475 2006-05-13 Dan Williams <dcbw@redhat.com>
11477 * src/nm-device-802-3-ethernet.c
11478 - (real_get_generic_capabilities): Don't ignore devices that can't do
11479 carrier detect (Debian bug #366373)
11481 2006-05-11 Dan Williams <dcbw@redhat.com>
11483 Patch from Michael Biebl <biebl@teco.edu>
11484 * src/backends/NetworkManagerDebian.c
11485 - Debian backend fixups
11487 2006-05-10 Robert Love <rml@novell.com>
11489 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11491 2006-05-09 Robert Love <rml@novell.com>
11493 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11494 private certificate passphrase, if any, in the GNOME Keyring.
11495 * libnm-utils/dbus-helpers.c: Update.
11497 2006-05-05 Dan Williams <dcbw@redhat.com>
11499 * src/nm-device-802-11-wireless.c
11500 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11501 nm_device_802_11_wireless_disable_encryption() since that's all
11502 we use it for anymore; we don't ever set WEP keys ourselves.
11503 - (real_deactivate_quickly): reset SSID and encryption keys
11504 - (real_deactivate): move SSID and encryption key reset to
11505 real_deactivate_quickly(), which gets run before us anyway
11507 2006-05-05 Robert Love <rml@novell.com>
11509 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11510 root has a wacky default of its own (or, more common, a user has a
11511 bad umask and uses su/sudo to restart NetworkManager). Anything
11512 other than 0022 does not do what we want with, for example,
11513 resolv.conf. This problem is amplified by our judicious use of
11514 fopen(), which uses mode 0666 -- implying that the only way to get
11515 the permissions we want is with a umask of 0022.
11517 2006-05-05 Dan Williams <dcbw@redhat.com>
11519 * gnome/libnm_glib/libnm_glib.c
11520 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11521 to reconnect; instead wait a bit more with each reconnect attempt
11522 up to a max of one minute.
11524 2006-05-04 Ryan Lortie <desrt@desrt.ca>
11526 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11527 the WirelessNetwork structure using the proper function instead of
11528 just casting it directly to (const char *) (gnome.org #336991)
11530 2006-05-03 Robert Love <rml@novell.com>
11532 * src/backends/NetworkManagerSuSE.c: Respect the variable
11533 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11534 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11535 to dynamically update /etc/resolv.conf.
11537 2006-05-02 Peter Jones <pjones@redhat.com>
11539 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11541 2006-05-02 Robert Love <rml@novell.com>
11543 Patch by Timo Hoenig;
11544 * tests/nm-online.c: Print pretty status indicator as timeout winds
11545 down. Also fix possible race between DBUS startup and failure
11548 2006-05-01 Robert Love <rml@novell.com>
11550 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11553 2006-04-27 Jeremy Katz <katzj@redhat.com>
11555 * src/nm-device.c (discover_device_type): Actually use the hal
11556 device type instead of ioctl poking
11558 2006-04-26 Robert Love <rml@novell.com>
11560 * tests/nm-online.c: New file. Simple utility that returns exit status
11561 noting whether the connection is offline or online. If offline on
11562 start, it waits 30 seconds (or a command-line given value) for an
11563 online signal. If it times out, it again returns offline. This is
11564 useful for scripts that want to wait for network connections.
11566 2006-04-25 Robert Love <rml@novell.com>
11568 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11569 key mode (the authentication algorithm), e.g. open or shared, when we
11570 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
11571 only shared was broken. If the user specified a shared key, set it
11572 explicitly, otherwise let wpa_supplicant go with the default.
11574 2006-04-24 Dan Williams <dcbw@redhat.com>
11576 * src/nm-device-802-11-wireless.c
11577 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11579 2006-04-24 Dan Williams <dcbw@redhat.com>
11581 Commit the async scanning patch
11583 * src/nm-device-802-11-wireless.c
11584 - get rid of scan_mutex
11585 - (wireless_event_helper): act on wireless scan events
11586 - (real_start): schedule a pending scan
11587 - (link_to_specific_ap): fake the link to the AP during a scan
11588 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11589 strength during scans
11590 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11591 nm_device_set_bitrate): unused with new scanning code, disable
11592 - (nm_device_wireless_schedule_scan): removed
11593 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11594 - (request_and_convert_scan_results): new function; retrieve scan
11595 results from the driver and schedule the processing function
11596 - (scan_results_timeout): timeout triggered when card doesn't send
11597 a scan results wireless event during a certain interval
11598 - (schedule_scan_results_timeout): new function; schedule the scan
11600 - (cancel_scan_results_timeout): new function; cancel the scan
11602 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11603 to do the scanning. Otherwise, just request a scan but don't
11604 grab results here; instead schedule a timeout for scan results and
11605 let netlink notify us of scan completion events
11606 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11607 - (cancel_pending_scan): new function; cancel a pending wireless scan
11608 - (supplicant_status_cb): ignore disconnect events while scanning
11609 - (supplicant_exec): wait a bit longer for the supplicant to start up
11610 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11612 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11614 2006-04-24 Dan Williams <dcbw@redhat.com>
11616 * gnome/applet/applet-dbus.c
11617 - Disable the pending call debug stuff, seems under control now
11619 2006-04-20 Robert Love <rml@novell.com>
11621 Fix bug where hidden ESSID's would not show up in the applet, even
11622 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
11623 because nm_policy_device_list_update_from_allowed_list() would merge
11624 the data, putting a name to the hidden networks, but never notify NMI
11625 of the changes. Simple fix is to invoke the function
11626 nm_dbus_signal_wireless_network_change() if we make a mapping.
11627 * src/NetworkManagerAPList.c: Call the function
11628 nm_dbus_signal_wireless_network_change() if we made a successful
11629 BSSID to ESSID mapping, notifying the applet of the "new" network.
11630 * src/NetworkManagerAPList.h: Update the prototypes for both
11631 nm_ap_list_copy_essids_by_address() and
11632 nm_ap_list_copy_one_essid_by_address().
11634 2006-04-20 Robert Love <rml@novell.com>
11636 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11637 not set. Just return zero.
11639 2006-04-20 Robert Love <rml@novell.com>
11641 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11642 only one copy of nm-vpn-properties is running at a time via the 'ol
11643 X selection trick. This prevents the user from opening two "VPN
11644 Connections" windows from within the applet, which leads to mass
11646 * clipboard.c: New file, implementing simple X selection logic.
11647 * clipboard.h: New file.
11648 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11650 2006-04-18 Nicolas Trangez <eikke@eikke.com>
11652 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11654 initscript/Gentoo/Makefile.am
11655 initscript/Gentoo/NetworkManagerDispatcher.in
11657 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11660 2006-04-16 Dan Williams <dcbw@redhat.com>
11662 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11664 initscript/Slackware/Makefile.am
11665 initscript/Slackware/rc.networkmanager-dispatcher.in
11666 initscript/Slackware/rc.networkmanager.in
11667 - Update slackware initscripts
11669 2006-04-10 Robert Love <rml@novell.com>
11671 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11672 the "delete_event" signal on the druid's parent window and handle it
11673 our way, lest using the WM to close the druid results in a series of
11674 bloody and ultimately lethal errors.
11676 2006-04-10 Robert Love <rml@novell.com>
11678 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11679 'Back' too or else the 'Forward' option is initially disabled despite
11682 2006-04-06 Robert Love <rml@novell.com>
11684 Fix bad but simple bug where an active modem connection did not update
11685 NM's connection state, breaking any app that did online/offline:
11686 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11687 represented whether a dial up connection is active, or not.
11688 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11689 to modem activation and deactivation.
11690 * src/NetworkManagerDbus.c: When asked our state, do not return
11691 disconnected if the modem is active.
11693 2006-04-04 Robert Love <rml@novell.com>
11695 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11696 applet. It just confuses the crap out of people and does not make a
11697 lot of sense, as the daemon still runs.
11699 2006-04-02 Tor Krill <tor@krill.nu>
11701 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11702 in start of service.
11703 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11704 get Archlinux backend up to date.
11706 2006-03-29 Robert Love <rml@novell.com>
11708 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11709 to add support for per-route MSS and improve support for per-interface
11711 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11712 optionally take an MSS parameter and set it for the given route.
11713 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
11714 NMIP4Config's stored MSS, if any.
11715 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11716 the interface's MTU and the route's MSS, respectively. Add functions
11717 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11718 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11720 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11721 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11722 nm_ip4_config_set_mss.
11723 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11725 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11726 Change the retval of nm_system_get_mtu to guint32.
11727 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11728 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
11729 servers can specify MTU's, we should set it here if the MTU was not
11732 2006-03-27 Jürg Billeter <j@bitron.ch>
11735 * initscript/Makefile.am:
11736 * initscript/paldo/Makefile.am:
11737 * initscript/paldo/NetworkManager.in:
11738 * initscript/paldo/NetworkManagerDispatcher.in:
11739 * src/backends/Makefile.am:
11740 * src/backends/NetworkManagerPaldo.c:
11741 - Add paldo support
11743 2006-03-27 Dan Williams <dcbw@redhat.com>
11745 Patch from Christian Persch <chpe@gnome.org>
11746 * gnome/applet/applet.glade
11747 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
11749 2006-03-27 Dan Williams <dcbw@redhat.com>
11751 Patch from Diffe <diffie@blazebox.homeip.net>
11752 * src/backends/NetworkManagerSlackware.c
11753 - Don't restart howl, since it's been replaced by Avahi
11754 in most distributions
11756 2006-03-27 Dan Williams <dcbw@redhat.com>
11758 Patch from Tor Krill <bugzilla@krill.nu>
11760 initscript/Makefile.am
11761 src/backends/Makefile.am
11762 src/backends/NetworkManagerArch.c
11763 initscript/Arch/Makefile.am
11764 initscript/Arch/networkmanager-dispatcher.in
11765 initscript/Arch/networkmanager.in
11766 - Add Arch Linux support, fixes gnome.org #335147
11768 2006-03-27 Dan Williams <dcbw@redhat.com>
11770 Patch from Diffe <diffie@blazebox.homeip.net>
11771 * initscript/Slackware/rc.networkmanager
11772 - update, fixed gnome.org #333368
11774 2006-03-27 Robert Love <rml@novell.com>
11776 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
11777 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
11779 2006-03-27 Robert Love <rml@novell.com>
11781 Patch by Jürg Billeter <j@bitron.ch>:
11782 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
11784 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
11785 as we prefer glibc over kernel headers, if possible.
11787 2006-03-27 Robert Love <rml@novell.com>
11789 Patch by Jon Escombe <list@dresco.co.uk>:
11790 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
11791 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
11792 fail, don't bail out. We don't expect all of the various WPA-EAP
11793 values to be present.
11794 * src/nm-ap-security.c: We need to match all capabilities for each
11795 encryption type, not any one of them.
11797 2006-03-27 Robert Love <rml@novell.com>
11799 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
11800 restart, not reload, ypbind. Unfortunately there is no superior
11803 2006-03-24 Christopher Aillon <caillon@redhat.com>
11805 * gnome/applet/applet-notifications.c:
11806 When displaying a notification, make sure to get rid of the
11807 previous notification so as to not have competing bubbles,
11808 and stop leaking the old one.
11810 * gnome/applet/applet.c:
11811 * gnome/applet/applet.h:
11812 Add a new 'notification' member to the applet, and zero it out
11813 and free it appropriately.
11815 2006-03-23 Robert Love <rml@novell.com>
11817 Patch by j <j@bootlab.org>:
11818 * gnome/applet/applet.glade: Don't set the invisible_char property,
11819 which simply overrides the GTK default. By and by, this behavior
11820 ought to be fixed in Glade.
11822 2006-03-22 Robert Love <rml@novell.com>
11824 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
11826 2006-03-22 Robert Love <rml@novell.com>
11828 Bug fix by Timo Hoenig <thoenig@suse.de>:
11829 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
11830 disconnect. Otherwise, we have the daemon surviving DBUS restarts
11831 and the applet going AWOL.
11833 2006-03-22 Robert Love <rml@novell.com>
11835 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
11836 preprocessor define and use it instead of open-coded the DHCP
11837 timeout, which is currently 25 seconds, everywhere.
11839 2006-03-22 Robert Love <rml@novell.com>
11841 Implement "Dynamic WEP", which is basically WPA authentication and WEP
11842 key exchange via WPA, ostensibly providing good security without
11843 requiring hardware that supports full WPA. Also, add UI elements to
11844 allow the user to select the pairwise & group cipher for WPA Enterprise
11846 * gnome/applet/applet.glade: Update glade file.
11847 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
11848 key type, too, to and from gconf.
11849 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
11850 wso_wpa_create_key_type_model(), noting whether we are handling PSK
11851 or EAP configuration, and in the latter case add in "Dynamic WEP" if
11852 the capabilities match.
11853 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
11855 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
11856 serialize from UI to DBUS.
11857 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
11859 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
11860 nmu_security_serialize_wpa_eap_with_cipher(), and
11861 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
11862 serialize/deserialize the key type via DBUS as the new third DBUS
11864 * libnm-util/dbus-helpers.h: Update prototypes.
11865 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
11866 too. If the key type is WEP104, do Dynamic WEP, which means
11867 "IEEE8021X" for "key_mgmt". Also add support for user-specified
11868 pairwise and group ciphers (fixes a FIXME).
11870 2006-03-21 Robert Love <rml@novell.com>
11872 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
11873 nm_system_get_mtu(), which returns a user-provided or system-mandated
11874 MTU value for a given device, if any, or zero if no such value
11875 exists. Add nm_system_set_mtu() to set the MTU for a given device
11876 if we have a provided value.
11877 * src/nm-device.c: Set the MTU of devices.
11878 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
11879 * src/backends/NetworkManagerDebian.c,
11880 src/backends/NetworkManagerGentoo.c,
11881 src/backends/NetworkManagerRedHat.c,
11882 src/backends/NetworkManagerSlackware.c: Implement stub functions.
11884 2006-03-21 Robert Love <rml@novell.com>
11886 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
11887 configuration file.
11889 2006-03-17 Robert Love <rml@novell.com>
11891 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
11892 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
11893 it, in case it is not running in the first place. We just want its
11894 configuration reloaded. Also, do not "rcypbind stop" on device down.
11896 2006-03-15 Robert Love <rml@novell.com>
11898 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
11899 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
11900 label "WEP 40/128-bit" is inconsistent because the physical key size
11901 is 40 or 104-bits, to which a 24-bit initialisation vector is
11902 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
11903 to read "40/104" or "64/128". I do not care much which, but most
11904 users think of "silver" and "gold" encryption as 64 and 128-bits, so
11905 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
11906 WEP passphrase support only handles 128-bit keys, and any future
11907 64-bit passphrase support will require a new option (no way to auto-
11908 detect the target key size), explicitly label our passphrase support
11909 "WEP 128-bit Passphrase".
11911 2006-03-15 Robert Love <rml@novell.com>
11913 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
11914 the system init scripts (or some other mechanism) starting it (or a
11915 compatible DBUS service) before NetworkManager runs. This means that
11916 distributions might need to update their init scripts. This fixes
11917 possible races and is quite a bit cleaner.
11918 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
11919 starting the NetworkManager daemon.
11922 2006-03-14 Robert Love <rml@novell.com>
11924 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
11925 before adding anything.
11927 2006-03-13 Robert Love <rml@novell.com>
11929 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
11930 widgets, too, if they exist, in case the user hit the back button.
11931 Fixes a bug where the details page contains the widgets of multiple
11932 VPN modules (Novell bug #157048).
11934 2006-03-13 Robert Love <rml@novell.com>
11936 Patch by Timo Hoenig <thoenig@suse.de>:
11937 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
11938 daemon survive DBUS restarts, too.
11940 2006-03-10 Robert Love <rml@novell.com>
11942 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
11944 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
11945 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
11946 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
11947 in response to "toggled" signal on new toggle.
11949 2006-03-10 Robert Love <rml@novell.com>
11951 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
11952 serialization if strings are NULL, lest DBUS get angry.
11954 2006-03-10 Robert Love <rml@novell.com>
11956 * src/nm-ap-security-wpa-eap.c: Don't log the password.
11958 2006-03-09 Robert Love <rml@novell.com>
11960 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
11963 2006-03-09 Dan Williams <dcbw@redhat.com>
11965 Track pending call requests in the applet, and report how many are
11966 outstanding, and how long each completed one takes.
11968 * gnome/applet/applet-dbus-devices.c
11969 gnome/applet/applet-dbus-vpn.c
11970 - Track pending calls
11972 * gnome/applet/applet-dbus.[ch]
11973 - Remove some unused enums
11974 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
11975 new functions to track dbus pending calls and spit out some
11976 statistics about them
11978 2006-03-09 Robert Love <rml@novell.com>
11980 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
11981 nm_ap_set_timestamp() take the second and micro-second parameters as
11982 direct arguments, which avoids both a dynamic memory allocation and a
11983 structure-to-structure copy! Add a new interface, the aptly named
11984 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
11985 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
11986 the return from nm_ap_get_timestamp(). New users should use the new
11987 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
11988 the extreme benefit to performance.
11989 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
11990 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
11992 2006-03-08 Robert Love <rml@novell.com>
11994 * gnome/applet/applet.glade: Hide the password entry text with
11997 2006-03-08 Robert Love <rml@novell.com>
11999 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12000 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12001 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12002 a second argument, NMData.
12003 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12004 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12005 config files as trusted.
12007 2006-03-06 Robert Love <rml@novell.com>
12009 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12010 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12011 to exit the applet. As a sweet side-effect, idea courtesy of Chris
12012 Rivera, detect if the applet was auto-started. If so, ask the user
12013 if he or she would like to stop automatically running the applet on
12014 login. If so, disable autostart.
12016 2006-03-06 Robert Love <rml@novell.com>
12018 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
12019 directory in CFLAGS so developers can actually use NetworkManager.h.
12021 2006-03-06 Robert Love <rml@novell.com>
12023 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12024 open-coded integer constants. Add state_to_string() to map a given
12025 state to a textual description, and provide that when notifying of
12027 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12028 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
12029 this header directly, but it is currently not installed on most
12032 2006-03-05 Dan Williams <dcbw@redhat.com>
12034 Process netlink messages in device subclasses rather than in
12035 NetworkManager.c. Also add support for recognizing Wireless Events.
12038 - Find GLIB_GENMARSHAL
12041 - Since we're marshalling custom types for wireless event signals,
12042 we get to create our own marshallers using GLIB_GENMARSHAL
12044 * src/NetworkManager.c
12045 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12046 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12047 cut down somewhat. We no longer process signals here.
12048 - (nm_data_new): create the netlink monitor here, and remove a
12049 useless call to nm_policy_schedule_device_change_check()
12050 - (nm_data_free): get rid of the netlink monitor here
12051 - (nm_device_link_activated, nm_device_link_deactivated): removed
12052 - (main): don't create the netlink monitor here, let nm_data_new
12053 do that. Call nm_policy_schedule_device_change_check() right
12054 before we jump to the mainloop to figure out which device
12057 * src/NetworkManagerSystem.[ch]
12058 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12059 convert back and forth from interface names to interface
12062 * src/nm-device-802-11-wireless.c
12063 - (real_init): connect to wireless-event signals from the netlink
12065 - (nm_device_802_11_wireless_event): new function, schedule handler
12066 for wireless event signals from the netlink monitor object. We
12067 want the handler to run in the device's context
12068 - (wireless_event_helper): handle wireless-event signals from netlink
12069 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12072 * src/nm-device-802-11-wireless.h
12073 - remove unused prototype for nm_device_802_11_wireless_new
12075 * src/nm-device-802-3-ethernet.c
12076 - (real_init): new function; set up signal handlers for link events
12077 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12078 handler for netlink link activated events on device's main loop
12079 - (link_activated_helper): when we get a link activated event, set
12080 the device's link to be active
12081 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12082 handler for netlink link deactivated events on device's main loop
12083 - (link_deactivated_helper): when we get a link deactivated event, set
12084 the device's link to be inactive
12085 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12088 * src/nm-device-802-3-ethernet.h
12089 - remove unused prototype for nm_device_802_3_ethernet_new
12091 * src/nm-device.[ch]
12092 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12093 but locks the device list
12094 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12096 * src/nm-netlink-monitor.[ch]
12097 - (nm_netlink_monitor_class_install_signals): New signal
12099 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12101 - (nm_netlink_monitor_event_handler): expand for wireless events too
12103 * src/nm-marshal-main.c
12104 - Include generated nm-marshal.c and nm-marshal.h
12106 * src/nm-marshal.list
12107 - List of custom marshal functions
12109 2006-03-05 Dan Williams <dcbw@redhat.com>
12111 * gnome/applet/applet-notifications.h
12112 - Protect prototype of nma_send_event_notification() because it
12113 includes libnotify-specific types
12114 - Include libnotify/libnotify.h too, since we technically need it
12116 * gnome/applet/applet.c
12117 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12118 - (nma_show_vpn_login_banner_dialog): add some error checking
12120 2006-03-04 Dan Williams <dcbw@redhat.com>
12122 Clean up activation cancellation. Should be a lot faster now. Observed
12123 an issue with wireless devices between stage 2 and 3 of activation, where
12124 activation would be cancelled, but the device thread wouldn't notice until
12125 the supplicant association timed out. Reorganize activation such that
12126 a cancellation handler gets immediately scheduled in the device's thread,
12127 and devices have a chance to perform any custom cleanup too.
12129 * src/nm-device.[ch]
12130 - (activation_cancel_handler): new device-type-specific function
12131 for cleaning up device-type-specific stuff on cancellation
12132 - (cancel_activation): removed
12133 - (nm_device_activation_cancel): subsume functionality of
12134 real_cancel_activation, but instead of doing anything, punt
12135 operation to a handler that's run in device-thread context
12136 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12138 - (activation_handle_cancel_helper): cancellation handler run in
12139 device-thread context, calls device-type-specific cancelation,
12140 then tears down the activation request
12141 - (real_activation_cancel_handler): generic cancellation handler,
12142 deals with cancelling any in-process DHCP request
12143 - (nm_device_activate_stage1_device_prepare,
12144 nm_device_activate_stage2_device_config,
12145 nm_device_activate_stage3_ip_config_start,
12146 nm_device_activate_stage4_ip_config_get,
12147 nm_device_activate_stage4_ip_config_timeout,
12148 nm_device_activate_stage5_ip_commit): don't call
12149 nm_device_schedule_activation_handle_cancel() any more, since
12150 cancellation will have been already scheduled for us by
12151 nm_device_activation_cancel(). Just exit the function and
12152 assume that the cancel handler will be called next.
12154 * src/nm-device-802-3-ethernet.c
12155 - (real_act_stage2_config): remove; didn't do anything anyway
12157 * src/nm-device-802-11-wireless.c
12158 - (supplicant_status_cb): ensure we don't do anything if the activation
12160 - (real_activation_cancel_handler): implement; cancel user key request
12161 on activation cancellation
12163 2006-03-04 Dan Williams <dcbw@redhat.com>
12165 * src/nm-device-802-11-wireless.c
12166 - (supplicant_send_network_config): assume that drivers that don't
12167 support WPA pretty much suck, and can't handle NM scanning
12168 along with wpa_supplicant.
12170 2006-03-03 Robert Love <rml@novell.com>
12172 * configure.in: Bump version to 0.6.0.
12175 2006-03-03 Robert Love <rml@novell.com>
12177 * configure.in: Require DBUS 0.60 or later.
12179 2006-03-03 Dan Williams <dcbw@redhat.com>
12181 Fix a crash if an "Other wireless network" was chosen, failed, then
12182 chosen again from the applet's menu. If the other network wasn't
12183 noticed in a scan, it wouldn't have any capabilities, but would still
12184 be listed because the user forced the network. To fix this, we set
12185 sensible capabilities on the forced network, which will get overwritten
12186 with the correct ones if the network shows up later in a scan.
12188 * src/nm-ap-security.h
12189 - Add a new "get_default_capabilities_func" member to the
12192 * src/nm-ap-security.c
12193 - (nm_ap_security_get_default_capabilities): new function
12195 * src/nm-ap-security.c
12196 src/nm-ap-security-wep.c
12197 src/nm-ap-security-wpa-psk.c
12198 src/nm-ap-security-wpa-eap.c
12199 - Implement get_default_capabilities_func() for all, which
12200 uses the information contained in a specific NMAPSecurity
12201 object to determine default AP capabilites necessary
12202 to support that object
12204 As a secondary measure, we now prune artificial access points that fail
12205 to be activated right away. The thing failed, and we have no scan data for
12206 it, so it's pretty much useless since security information is only saved
12207 in the applets when a connection is successful.
12209 * src/NetworkManagerAPList.c
12210 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12211 not artificial. If we see it, it's no longer a figment of the
12212 user's imagination :)
12214 * src/NetworkManagerPolicy.c
12215 - (nm_policy_activation_failed): send along the failed AP if we
12218 * src/nm-device-802-11-wireless.c
12219 - (real_activation_failure_handler): remove artificial APs from
12220 the device list, because activation failed
12222 2006-03-02 Robert Love <rml@novell.com>
12224 Add support for retrieving both the per-device speed and the
12225 per-network maximum supported rate. Then change the getProperties
12226 DBUS API for both networks and devices to report this informaiton.
12227 Finally, display the information via both nm-applet and nm-tool:
12228 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12230 * gnome/applet/applet.c: Display the device's speed in the 'Connection
12231 Information' dialog.
12232 * gnome/applet/applet.glade: Update the UI to show per-device speed.
12233 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12234 network_device_get_speed() and network_device_set_speed() for
12235 retrieving and setting, respectively, a network device's current
12237 * src/nm-dbus-device.c: Send the device's speed on getProperties.
12238 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12239 in the function nm_device_802_11_wireless_get_bitrate() -- it does
12240 not matter (yet) what the units are, because we only feed it its own
12241 output. Implement SIOCGIRATE and set the per-network maximum
12242 supported rate during scanning.
12243 * src/nm-device-802-11-wireless.h: Export the function
12244 nm_device_802_11_wireless_get_bitrate().
12245 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12246 function nm_device_802_3_ethernet_get_speed() for returning an
12247 802.3's current speed, in Mb/s.
12248 * test/nm-tool.c: Display the per-device current speed, if available,
12249 and the per-network maximum rate.
12251 2006-03-02 Dan Williams <dcbw@redhat.com>
12253 * src/nm-device-802-11-wireless.c
12254 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12255 card when it gets initialized. Since devices don't get added to
12256 the scan list until they are initialized, this function wasn't
12257 setting the intitial scan interval correctly, and was leaving
12258 it at 0. This caused cards to get many scan requests in a short
12259 amount of time when they were initialized
12261 2006-03-02 Robert Love <rml@novell.com>
12263 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12264 active device. But do not do what we used to do and override the
12265 state, which caused the dreaded icon race of '05.
12267 2006-03-02 Robert Love <rml@novell.com>
12269 Commit Dan's update of my previous commit:
12270 * src/nm-device-802-11-wireless.c: Always set the mode, because the
12271 set_mode() function itself does the check. But do only set the
12272 frequency if in Ad-Hoc mode.
12274 2006-03-02 Robert Love <rml@novell.com>
12276 Patch by Brian Magnuson <magnuson@rcn.com>:
12277 * src/nm-device-802-11-wireless.c: During scanning, only set the
12278 wireless mode to infrastructure if it is not currently in
12279 infrastructure mode. For some driver, setting the mode is a costly
12280 operation, apparently.
12282 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
12284 * Makefile.am: use the correct dir for autostart mechanism.
12286 2006-02-28 Dan Williams <dcbw@redhat.com>
12288 Patch from Brian Magnuson <magnuson@rcn.com>
12289 * gnome/applet/applet.c
12290 - (nma_show_vpn_failure_dialog): fix errors left over from
12291 libnotify support changes
12293 2006-02-28 Dan Williams <dcbw@redhat.com>
12295 * src/vpn-manager/nm-vpn-act-request.[ch]
12296 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12298 - (nm_vpn_act_request_is_failed): new function; return whether or
12299 not the vpn activation request has failed
12301 * src/vpn-manager/nm-vpn-manager.c
12302 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12303 daemon to kill the connection when the activation request fails.
12304 Fixes issue where NM would get confused if the VPN activation
12305 request timed out, and would not allow further VPN connections
12308 2006-02-28 Dan Williams <dcbw@redhat.com>
12310 * gnome/applet/applet.c
12311 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12312 overlapping connection requests, disable all VPN menu items
12313 but the active VPN connection
12315 2006-02-28 Dan Williams <dcbw@redhat.com>
12317 * src/vpn-manager/nm-vpn-connection.c
12318 - (nm_vpn_connection_set_parent_device): fix C&P error which
12319 called g_object_unref() on the connection's parent device
12320 when it should have been ref-ed instead. Fixes crash with
12321 repeated vpn connect requests
12323 2006-02-28 Christopher Aillon <caillon@redhat.com>
12325 * gnome/applet/applet.glade:
12326 Mark a few strings non-translatable, since they shouldn't be.
12328 2006-02-28 Dan Williams <dcbw@redhat.com>
12330 * src/vpn-manager/nm-vpn-service.c
12331 - (nm_vpn_service_start_connection): if the vpn service daemon is
12332 already running, don't blindly ask it to connect, but wait until
12333 it's in the STOPPED state first. Fixes an assertion when user
12334 starts a second vpn connection without stopping the first.
12335 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12336 dbus service exists before continuing with the connection
12337 process, and reduce latency while waiting for it to become
12339 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12340 waiting for the vpn service daemon to become available
12341 - General log message cleanups; show progress via "Stage x of 4"
12342 rather than not telling anyone how many stages there are
12344 2006-02-28 Robert Love <rml@novell.com>
12346 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12347 * src/backends/NetworkManagerSuSE.c: Implement the interface
12348 nm_system_should_modify_resolv_conf() for SUSE.
12349 * src/backends/NetworkManagerDebian.c,
12350 src/backends/NetworkManagerGentoo.c,
12351 src/backends/NetworkManagerRedHat.c,
12352 src/backends/NetworkManagerSlackware.c: Add stub.
12353 * src/named-manager/Makefile.am: Grab includes from src.
12354 * src/named-manager/nm-named-manager.c: Allow backends to disable the
12355 automatic updating of resolv.conf. This is useful for testing,
12356 broken static configurations, and administrator lock-down.
12358 2006-02-28 Dan Williams <dcbw@redhat.com>
12360 * src/nm-device-802-11-wireless.c
12361 - Move all the wpa_supplicant-related management stuff into its
12362 own struct, just for oranization's sake
12363 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12364 to a GIOChannel/GSource
12365 - (supplicant_log_stdout): new function; grab output from the
12366 wpa_supplicant stdout pipe and write it to our logs.
12368 2006-02-27 Christopher Aillon <caillon@redhat.com>
12370 * src/nm-device-802-11-wireless.c:
12371 Err, fix thinko in my previous commit.
12373 2006-02-28 Robert Love <rml@novell.com>
12375 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12377 2006-02-28 Robert Love <rml@novell.com>
12379 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12380 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12381 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12382 deserializers are responsible for freeing the returned DBUS strings.
12384 2006-02-27 Christopher Aillon <caillon@redhat.com>
12386 * src/nm-device-802-11-wireless.c:
12387 The scan list is being pruned prematurely. We should prune after
12388 the device has gone MIA for three scans, not one. Split out the
12389 interval to realtime seconds function to better serve this.
12391 2006-02-27 Robert Love <rml@novell.com>
12393 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12394 Open the pid file O_TRUNC, so if it already exists we truncate it to
12395 zero length. Also, be more verbose about warnings generated during
12396 writing out the pid file. Finally, always write out the pid file if
12397 in daemon mode. Use "--pid-file" to override the default.
12399 2006-02-27 Robert Love <rml@novell.com>
12401 Patch by R. Vinay <rvinay@novell.com>:
12402 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12403 'last_attempt_success' when removing a VPN connection, too. (Fixes
12404 Novell bug #153628).
12406 2006-02-27 Robert Love <rml@novell.com>
12408 * gnome/applet/applet.glade: Set "activates_default" on passphrase
12409 entry so user can hit <ENTER> after entering passphrase (Novell bug
12412 2006-02-27 Dan Williams <dcbw@redhat.com>
12415 - Mass search/replace of:
12417 NMWirelessApplet -> NMApplet
12418 NM_*_WIRELESS_APPLET -> NM_*_APPLET
12419 (it ain't just for wireless anymore, ma!)
12420 - Fix duplicate function name printing when using nm_warning
12421 - wireless-applet.glade -> applet.glade
12423 2006-02-27 Dan Williams <dcbw@redhat.com>
12425 * dispatcher-daemon/NetworkManagerDispatcher.c
12426 - Accept --pid-file with a path to a pidfile, write it out on
12427 startup, and delete it on shutdown
12429 * src/NetworkManager.c
12430 - Accept --pid-file with a path to a pidfile, write it out on
12431 startup, and delete it on shutdown
12432 - Move nm_print_usage() lower
12434 * initscripts/RedHat/NetworkManager.in
12435 - Use new --pid-file option
12436 - Fix service stopping to wait a bit for NM to quit
12438 * initscripts/RedHat/NetworkManagerDispatcher.in
12439 - Use new --pid-file option
12441 2006-02-26 Dan Williams <dcbw@redhat.com>
12444 - make and install nm-crash-logger
12446 * src/nm-logging.[ch]
12447 - New files; consolidate logging and crash handling
12449 * src/nm-crash-logger.c
12451 - Standalong crashlogger for NM, grab a backtrace
12454 * src/NetworkManager.[ch]
12455 - Remove signal handling and put it into nm-logging.c
12457 2006-02-26 Dan Williams <dcbw@redhat.com>
12460 gnome/applet/Makefile.am
12461 - Conditionalize all the notify stuff
12463 Merge most of Chris Aillon's notification patch:
12465 * gnome/applet/applet-notifications.[ch]
12466 - New files; show a notification
12468 * gnome/applet/applet-dbus-devices.[ch]
12469 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12470 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12471 new functions, do the right thing when a device change occurs
12473 * gnome/applet/applet-dbus.c
12474 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12475 signals, so we can handle them specially
12477 * gnome/applet/applet.[ch]
12478 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12479 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12480 - (nmwa_notify_state): remove
12481 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12482 notification work is now done when the appropriate dbus signals
12484 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12485 defer execution of the notification/dialog stuff. That was an
12486 artifact of the previous multi-threaded nature of the applet
12487 and is now pointless.
12488 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12489 no longer needed. Function folded into applet-notifications.c
12491 * src/NetworkManagerPolicy.c
12492 - (nm_policy_activation_finish): send the AP along with the device
12493 status change signal, if the connection is wireless. Should
12494 fix the race where applet would show a connection to "unknown"
12496 2006-02-25 Robert Love <rml@novell.com>
12498 Add WPA Enterprise support:
12499 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12500 nm-gconf-wso-wpa-eap.h.
12501 * gnome/applet/nm-gconf-wso-wpa-eap.c,
12502 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
12503 serialization and deserialization.
12504 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12505 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12506 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12507 * gnome/applet/wireless-applet.glade: Add UI for configurating security
12508 settings related to WPA Enterprise.
12509 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12510 instantiate WPA Enterprise wireless-security-option.
12511 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12512 Implement WPA Enterprise wireless-security-option object.
12513 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12515 * libnm-util/cipher-wpa-psk-hex.c,
12516 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12517 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12518 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12519 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12520 including the cipher to DBUS method, and
12521 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12523 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12524 nm-ap-security-wpa-eap.h
12525 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12526 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12527 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12528 files. Implement NMAPSecurityWPA_EAP object.
12529 * src/nm-ap-security-wpa-psk.c: Cleanup.
12530 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12531 an NMAPSecurityWPA_EAP object via the method
12532 nm_ap_security_wpa_eap_new_deserialize().
12533 * src/nm-dbus-nm.c: Cleanup.
12534 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12535 WPA Enterprise support.
12537 2006-02-24 Robert Love <rml@novell.com>
12539 Patch from Timo Hoenig <thoenig@suse.de>:
12540 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12542 2006-02-24 Robert Love <rml@novell.com>
12544 Patch from Dan Winship <danw@novell.com>:
12545 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
12546 area to transparent.
12548 2006-02-21 Dan Williams <dcbw@redhat.com>
12550 * gnome/applet/applet.[ch]
12551 gnome/applet/applet-dbus.c
12552 - Implement notification support for VPN messages too
12554 2006-02-21 Dan Williams <dcbw@redhat.com>
12556 * gnome/applet/applet-dbus-info.c
12557 - Clean up warning messages to not double-print the function
12559 2006-02-21 Dan Williams <dcbw@redhat.com>
12561 * gnome/applet/applet-compat.c
12562 - (convert_one_entry): accept entries without a key_type and
12563 convert them to unencrypted networks
12565 2006-02-21 Dan Williams <dcbw@redhat.com>
12567 * gnome/libnm_glib/libnm_glib.c
12568 - Use __func__ everywhere we can
12570 - Use dbus pending calls rather than blocking
12571 - Reduce busywaits for our thread to start and stop
12572 (gnome.org #330562)
12573 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12574 stomp on others using the default shared dbus connection.
12575 Fixes #rh177546# and gnome.org #326572
12577 2006-02-21 Dan Williams <dcbw@redhat.com>
12579 Patch from Rodney Dawes <dobey@novell.com>
12581 gnome/applet/Makefile.am
12582 gnome/applet/applet.c
12583 - Add libnotify support if '--enable-notify=yes' is passed
12586 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
12588 * configure.in (ALL_LINGUAS): ko added. (Korean)
12590 2006-02-15 Robert Love <rml@novell.com>
12592 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12593 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12594 and WPA_SUPPLICANT_CONTROL_SOCKET.
12596 2006-02-15 Robert Love <rml@novell.com>
12598 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12599 information about what connection stage we are at, provide the total
12600 number of stages, e.g. "Stage 2 of 5", so users know how far along
12601 they are if they experience problems.
12603 2006-02-15 Robert Love <rml@novell.com>
12605 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12606 define to $sysconfdir.
12607 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12608 editing dialog, vpn_edit_widget, which fixes a bug where editing one
12609 type of VPN and then editing another results in a mangled dialog
12610 box containing the widgets from both VPNs (fixes Novell #150854).
12611 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12613 2006-02-14 Robert Love <rml@novell.com>
12615 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12616 syslog's file descriptor.
12618 2006-02-14 Robert Love <rml@novell.com>
12620 Fix bug around since the change to "deal with APs changing settings on
12621 us," checked in on the fifth of February in the year of the dog,
12622 wherein connecting to non-broadcast encrypted networks always fails
12623 because nm_ap_get_encrypted() always returns FALSE, even when the user
12624 provided a key, because the newly-created fake AP does not have any
12625 capabilities set, which is a sypmtom of security settings not matching
12626 capabilities (Novell bug #150784):
12627 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12628 nm_ap_add_capabilities_from_security(), which sets the given AP's
12629 capabilities off the given security settings. Also improve our
12630 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12631 NM_AUTH_CIPHER_AUTO.
12632 * src/nm-device-802-11-wireless.c: Call the function
12633 nm_ap_add_capabilities_from_security() to ensure that capabilities
12634 match newly updated security settings.
12636 2006-02-14 Robert Love <rml@novell.com>
12638 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12639 error as a string, not an integer, if possible; do not print the
12640 function name twice; always give the interface, if possible; misc.
12643 2006-02-12 Dan Williams <dcbw@redhat.com>
12645 Patch from Tom Parker <palfrey@tevp.net>
12646 * src/NetworkManagerSystem.h
12647 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12650 * src/backends/NetworkManagerDebian.c
12651 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12654 2006-02-12 Dan Williams <dcbw@redhat.com>
12656 * vpn-daemons/openvpn/intltool-extract.in
12657 vpn-daemons/openvpn/intltool-merge.in
12658 vpn-daemons/openvpn/intltool-update.in
12659 vpn-daemons/pptp/intltool-extract.in
12660 vpn-daemons/pptp/intltool-merge.in
12661 vpn-daemons/pptp/intltool-update.in
12662 - Remove from CVS, they should get created by intltoolize,
12665 2006-02-12 Dan Williams <dcbw@redhat.com>
12667 * vpn-daemons/pptp/src/pppd/patchlevel.h
12668 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12669 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12670 Makefile-defined VERSION
12672 2006-02-09 Dan Williams <dcbw@redhat.com>
12674 Patch from: Vinay A R <rvinay@novell.com>
12675 * src/vpn-manager/nm-vpn-act-request.[ch]
12676 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12677 IPSec VPNs require them for std gateway.
12678 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12679 and 'user_routes_count'
12680 - (nm_vpn_act_request_get_user_routes): new function; gets user
12681 defined routes from NMVPNActRequest object, returns the string
12684 * src/vpn-manager/nm-vpn-manager.[ch]
12685 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12686 for 'user_routes' and 'user_routes_count'
12688 * src/vpn-manager/nm-dbus-vpn.c
12689 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12690 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12692 * src/vpn-manager/nm-vpn-service.c
12693 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12696 Modifications by Dan:
12697 * src/vpn-manager/nm-vpn-service.c
12698 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12701 * vpn-daemons/vpnc/src/nm-vpnc-service.c
12702 * vpn-daemons/pptp/src/nm-pptp-service.c
12703 * vpn-daemons/openvpn/src/nm-openvpn-service.c
12704 - Grab user routes from dbus message
12705 - Free all string arrays we got from dbus
12707 2006-02-07 Robert Love <rml@novell.com>
12709 Patch by Stefan Seyfried <seife@suse.de>:
12710 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12712 2006-02-06 Robert Love <rml@novell.com>
12714 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12716 2006-02-06 Robert Love <rml@novell.com>
12718 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12719 test ">=" is never false. If no newline is found, we loop forever.
12720 We can just check for ">" because the following if() will see the
12721 zero-th argument if the while() gets that far.
12723 2006-02-05 Dan Williams <dcbw@redhat.com>
12725 Refine handling of non-broadcast networks.
12727 * src/NetworkManagerAPList.c
12728 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12729 property from scanned AP to the AP from the device list
12731 * src/nm-device-802-11-wireless.c
12732 - (supplicant_send_network_config): use ap_scan=1 for all networks
12733 except non-SSID-broadcasting and Ad-Hoc networks. Use
12734 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
12735 networks since those don't have APs.
12736 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12737 AP as non-SSID-broadcasting
12738 - (process_scan_results): don't handle non-SSID-broadcasting here
12740 2006-02-05 Dan Williams <dcbw@redhat.com>
12742 * src/nm-device-802-11-wireless.c
12743 - (get_supplicant_timeout): new function; return
12744 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
12745 14 channels. These are likely a/b/g cards, like Atheros, and
12746 slow as hell to scan.
12747 - (supplicant_timeout_cb, supplicant_monitor_start): use
12748 get_supplicant_timeout()
12750 2006-02-05 Dan Williams <dcbw@redhat.com>
12752 * src/dhcp-manager/nm-dhcp-manager.c
12753 - Loose a commit race with Robert; make sure size check
12754 uses size of DHCP_SERVICE_LEN, not hardcoded 15
12756 2006-02-05 Robert Love <rml@novell.com>
12758 Patch by Christoph Brill <chrisbrill@gmx.net>:
12759 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
12760 with DHCP_SERVICE_NAME.
12762 2006-02-05 Dan Williams <dcbw@redhat.com>
12764 Remove anything having to do with device_setup_func from the
12765 AP security objects, since it's no longer used.
12767 * src/nm-ap-security.h
12768 - Kill device_setup_func and nm_ap_security_device_setup()
12770 * src/nm-ap-security-wep.c
12771 src/nm-ap-security-wpa-psk.c
12772 - (real_device_setup): remove
12774 * src/nm-ap-security.c
12775 - (real_device_setup): remove
12776 - (nm_ap_security_device_setup): remove
12778 * src/nm-device-802-11-wireless.[ch]
12779 - (nm_device_802_11_wireless_set_wep_enc_key): make static
12780 - (set_wireless_config, wireless_configure_adhoc): remove; unused
12781 and done by wpa_supplicant now anyway
12783 2006-02-05 Dan Williams <dcbw@redhat.com>
12785 * src/nm-device-802-11-wireless.c
12786 - (ap_need_key, real_act_stage2_config): deal with APs changing
12787 settings on us. Previously NM would loop asking for the
12788 key but getting the same one back. Now, if the NMI-supplied
12789 cipher doesn't overlap with the scanned AP capabilities,
12790 we request a completely new key from the user.
12792 2006-02-05 Dan Williams <dcbw@redhat.com>
12794 * src/NetworkManagerUtils.c
12795 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
12796 Handle newline killing better
12798 2006-02-05 Dan Williams <dcbw@redhat.com>
12800 * gnome/applet/nm-gconf-wso.c
12801 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
12802 of unencrypted access point security info.
12804 2006-02-03 Robert Love <rml@novell.com>
12806 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
12807 user's encryption key, so we print the err_msg_cmd not the command,
12808 if available. So long as SUPPLICANT_DEBUG is default, this makes
12811 2006-02-03 Christopher Aillon <caillon@redhat.com>
12813 * initscript/RedHat/NetworkManagerDispatcher.in:
12814 * initscript/RedHat/NetworkManager.in: modify the pidfile location
12815 Patch from Dan Walsh <dwalsh@redhat.com>
12817 2006-02-03 Robert Love <rml@novell.com>
12819 * dispatcher-daemon/NetworkManagerDispatcher.c,
12820 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
12821 but use the sysconfdir.
12823 2006-02-03 Robert Love <rml@novell.com>
12825 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
12826 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
12828 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
12829 nm_ip4_config_get_hostname() and
12830 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
12831 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
12832 leak g_strdup() result.
12834 2006-02-03 Robert Love <rml@novell.com>
12836 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
12837 broadcast == TRUE. Also, copy broadcast and artificial properties
12838 from source network to destination in nm_ap_copy().
12839 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
12840 since we now default new networks to non-hidden.
12842 2006-02-03 Dan Williams <dcbw@redhat.com>
12844 * gnome/applet/main.c
12845 - (main): change the NEVER->ALWAYS so we start at the
12846 beginning of the session, if being session-managed
12848 2006-02-03 Dan Williams <dcbw@redhat.com>
12850 * gnome/applet/main.c
12851 - (main): in a variation on Robert's patch, change
12852 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
12855 2006-02-02 Robert Love <rml@novell.com>
12857 * src/Makefile.am: If we aren't going to create the run directory at,
12858 uh, run-time, create it during install. Then users just doing
12859 'make install' are cool, too. While we are here, create the
12860 dispatcher.d directory, too.
12861 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
12862 the exact run directory.
12863 * Makefile.am: Install nm-applet.desktop.
12865 2006-02-02 Robert Love <rml@novell.com>
12867 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
12868 structure, which denotes whether or not the AP is hidden. This is a
12869 superset of 'artificial' -- we need 'broadcast' because a hidden AP
12870 can show up in the scan list. Add nm_ap_get_broadcast() and
12871 nm_ap_set_broadcast() accessor interfaces.
12872 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
12873 nm_ap_set_broadcast().
12874 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
12875 "getProperties" method, which denotes whether or not the given
12877 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
12878 an artificial network. Set broadcast to TRUE when scanning returns
12879 an ESSID and FALSE when not.
12880 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
12881 from "getProperties" method on a network. Possible TODO is to
12882 somehow display this.
12883 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
12885 2006-02-02 Dan Williams <dcbw@redhat.com>
12887 * src/nm-device-802-11-wireless.c
12888 - (supplicant_interface_init): don't try to create
12889 /var/run/NetworkManager, since that should be done by
12890 the distro package. Causes problems for stuff like SELinux
12892 2006-02-02 Robert Love <rml@novell.com>
12894 Patch by Sureshkumar T <tsureshkumar@novell.com>:
12895 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
12896 Check for and handle empty string for iface.
12898 2006-02-01 Robert Love <rml@novell.com>
12900 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
12903 2006-01-31 Dan Williams <dcbw@redhat.com>
12905 * nm-applet.desktop
12906 - Add --sm-disable to Exec arguments, presuming that when
12907 using autostart, we don't want session management
12909 2006-01-31 Robert Love <rml@novell.com>
12911 * src/NetworkManagerAP.c: Add two new manufacturer default network
12912 names: linksys-a and linksys-g. These are found (at least) on the
12913 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
12916 2006-01-31 Robert Love <rml@novell.com>
12918 * src/NetworkManagerAP.c: Optimize the function
12919 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
12920 machine code. This is the first in a series of code tweaks aiming to
12921 generate better machine code and make NetworkManager all the better.
12922 Just kidding. Who has time to go through the assembly generated for
12923 every function? I certainly don't. I have a wife, a kid, a job,
12924 a mortgage, a mistress. But this function was so bad, I was called
12925 to arms. Like the book.
12927 2006-01-31 Robert Love <rml@novell.com>
12929 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
12930 AP is not broadcasting, to scan with probe request frames. Required
12931 for non-broadcast networks.
12933 2006-01-31 Robert Love <rml@novell.com>
12935 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
12936 preprocessor define (still 20s). Fix message text in nm_info()
12937 s/too too/took too/.
12939 2006-01-30 Dan Williams <dcbw@redhat.com>
12941 * src/nm-device-802-11-wireless.c
12942 - (supplicant_monitor_start): increase connect/auth timeout to
12943 20 seconds from 10 seconds
12945 2006-01-30 Dan Williams <dcbw@redhat.com>
12948 - Define LOCALSTATEDIR
12950 * src/nm-device-802-11-wireless.c
12951 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
12952 socket where we want it to
12954 * src/wpa_ctrl.[ch]
12955 - (wpa_ctrl_open): accept location to put local control socket
12957 2006-01-30 Robert Love <rml@novell.com>
12959 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
12960 get_ip4_string() for "domain_name".
12962 2006-01-30 Robert Love <rml@novell.com>
12964 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12965 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
12966 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
12967 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
12968 support for "Automatic" pairwise and group cipher configuration by
12969 letting wpa_supplicant handle the details. Add UI elements, new
12970 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
12971 charm. Note this does more than add a nice feature, it fixes a bug.
12972 Apparently, some people have AP's where the pairwise cipher does not
12973 match the group cipher. Insane, but true.
12975 2006-01-30 Dan Williams <dcbw@redhat.com>
12977 * gnome/applet/applet-dbus-devices.c
12978 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
12979 functions, grab device driver name from NetworkManager
12980 - (nmwa_dbus_device_properties_cb): call functions to get driver
12982 * gnome/applet/applet.c
12983 - (nmwa_update_info): show driver name in Connection Information
12986 * gnome/applet/nm-device.[ch]
12987 - (network_device_get_driver, network_device_set_driver): add
12988 accessors for driver name
12990 * gnome/applet/wireless-applet.glade
12991 - Add line for driver name to Connection Information dialog
12993 * src/nm-dbus-device.c
12994 - (nm_dbus_device_get_driver): new function to return driver name
12995 - (nm_dbus_device_methods): hook up driver name function to dbus
12998 - (get_driver_name): new function
12999 - (detail_device): grab and show driver name
13001 2006-01-30 Robert Love <rml@novell.com>
13003 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13004 does not parse the markup if it is not part of the format.
13006 2006-01-30 Robert Love <rml@novell.com>
13008 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13009 FALSE, we have no security options for this dialog, so we throw up
13010 an error dialog instead of a broken passphrase dialog. Fixes
13012 * gnome/applet/wireless-security-manager.c,
13013 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13014 does not add any security options, not even NONE, print a warning
13015 and return FALSE. This let's functions constructing a dialog bail
13016 out if the device's capabilities and the network's requirements have
13019 2006-01-27 Robert Love <rml@novell.com>
13021 * configure.in: Require wpa_supplicant. Detect location of binary and
13022 use it. Override with "--with-wpa_supplicant=foo".
13023 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13024 path to wpa_supplicant but use the auto-detected or user-provided
13025 value from configure.
13027 2006-01-27 Robert Love <rml@novell.com>
13029 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13030 but the DHCP server did not return a hostname, try to look up our
13031 name via DNS and set the system hostname to that.
13033 2006-01-27 Dan Williams <dcbw@redhat.com>
13035 * src/backends/NetworkManagerRedHat.c
13036 - Add NM_CONTROLLED system network script support for RH/Fedora
13038 2006-01-27 Dan Williams <dcbw@redhat.com>
13040 * src/backends/NetworkManagerGentoo.c
13041 - (nm_system_device_get_disabled): add missing function.
13044 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
13046 * configure.in: Added vi in ALL_LINGUAS line.
13048 2006-01-26 Robert Love <rml@novell.com>
13050 * src/Makefile.am, src/kernel-types.h: Now that two different source
13051 files are feeling the crack-addled leakage of kernel types such as
13052 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13053 types in user-space -- define a header and include it as needed.
13054 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13055 * src/nm-device-802-3-ethernet.h: Remove defines.
13056 * src/wpa.c: Remove defines and include kernel-types.h.
13058 2006-01-26 Robert Love <rml@novell.com>
13060 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13063 2006-01-26 Robert Love <rml@novell.com>
13065 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13066 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13067 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13068 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13069 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13070 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13071 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13072 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13073 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13074 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13075 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13076 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13077 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13078 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13079 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13080 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13081 Kill unused variables, labels, and static functions. Don't pass
13082 string literals as the format string for printf-like functions.
13084 2006-01-25 Dan Williams <dcbw@redhat.com>
13086 * gnome/applet/wireless-applet.glade
13087 - Remove WPA2 Checkbox
13089 * gnome/applet/wireless-security-manager.c
13090 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13091 This means the Wireless Security menu now has two WPA options,
13092 one for "WPA Personal" and one for "WPA2 Personal"
13094 * gnome/applet/wso-wpa-psk.[ch]
13095 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13096 'wpa2' argument to determine WPA version to use
13097 - (append_dbus_params_func): pass stored WPA version to cipher
13098 rather than using the (removed) checkbox
13100 2006-01-24 Robert Love <rml@novell.com>
13102 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13103 before we g_strdup(), not the ultimate string.
13105 2006-01-23 Dan Williams <dcbw@redhat.com>
13107 * src/NetworkManagerAP.[ch]
13108 - (nm_ap_new_from_ap): copy original essid too
13109 - (nm_ap_unref): free original essid
13110 - (nm_ap_get_orig_essid): new function
13111 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13112 but keep original essid around too
13114 * src/nm-device-802-11-wireless.c
13115 - (supplicant_send_network_config): send wpa_supplicant the
13116 _original_ essid, and not as a string, but in hex. Should
13117 allow us to connect to more APs that use wierd character
13118 encodings for their essids
13120 * utils/nm-utils.[ch]
13121 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13122 to UTF-8. If it's not already valid UTF-8, we check LANG and
13123 use the current locale as a hint for what encoding the essid
13124 might be in. Obviously not 100% accurate, but the idea here is
13125 that if a user's locale is ex. ja_JP, they are more likely than
13126 not to be in Japan, where access points will likely be in some
13129 2006-01-23 Dan Williams <dcbw@redhat.com>
13131 * libnm-util/cipher-private.h
13132 libnm-util/cipher.c
13133 libnm-util/cipher.h
13134 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13136 2006-01-23 Robert Love <rml@novell.com>
13138 Patch by Timo Hoenig <thoenig@suse.de>:
13139 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13140 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13141 by DHCP and pass it to the backends, allowing distribution-specific
13142 behavior with respect to the DHCP-supplied hostname (if nothing else,
13143 some distributions might not want to set the hostname).
13144 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13145 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13146 Also update our NIS behavior.
13147 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13148 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13149 Add stub functions.
13151 2006-01-23 Robert Love <rml@novell.com>
13153 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13154 gnome-session does autostart. TODO: We need to install this to
13155 $prefix/share/autostart/.
13157 2006-01-22 Dan Williams <dcbw@redhat.com>
13159 * src/NetworkManagerAP.[ch]
13161 src/nm-device-802-11-wireless.c
13162 - Make nm_ap_get_essid return "const char *"
13164 2006-01-22 Dan Williams <dcbw@redhat.com>
13166 * src/NetworkManagerAP.[ch]
13167 - (nm_ap_get_matched, nm_ap_set_matched): remove
13169 * src/NetworkManagerAPList.[ch]
13170 - (nm_ap_list_diff): removed
13171 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13172 deal with access points changing essids on us
13174 * src/nm-device-802-11-wireless.c
13175 - (add_new_ap_to_device_list): move AP dbus signal logic to
13176 src/NetworkManagerAPList.c
13177 - (real_can_interrupt_activation): new function; allow interruption
13178 of device activation if we are waiting for a network key
13180 * src/NetworkManagerPolicy.c
13181 - (nm_policy_device_change_check): allow interruption of currently
13182 activating devices if the device allows it. Previous behavior
13183 would refuse to activate a just-plugged wired device if a
13184 wireless device was waiting for a key.
13186 * src/nm-device.[ch]
13187 - (nm_device_can_interrupt_activation): new function; ask devices
13188 whether their activation can be interrupted
13190 2006-01-20 Robert Love <rml@novell.com>
13192 * Makefile.am, configure.in: Add new man subdirectory.
13193 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13194 man/Makefile.am: Add man pages for NetworkManager and its
13195 crime-solving bumbling buddy, NetworkManagerDispatcher.
13196 * man/.cvsignore: Add.
13197 * initscript/Debian/NetworkManager,
13198 initscript/Gentoo/NetworkManager.in,
13199 initscript/RedHat/NetworkManager.in,
13200 initscript/RedHat/NetworkManagerDispatcher.in,
13201 initscript/SUSE/networkmanager-dispatcher.in,
13202 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13204 2006-01-20 Robert Love <rml@novell.com>
13206 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13207 instead of queuing. This prevents the running of multiple NM
13208 daemons concurrently, which does not work whatsoever and results in
13209 neither daemon working correctly. Also, we don't handle queuing and
13210 name-owner-changes, anyhow.
13212 2006-01-20 Robert Love <rml@novell.com>
13214 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13215 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13218 2006-01-19 Robert Love <rml@novell.com>
13220 * configure.in: Require hal 0.5.0 or later.
13222 2006-01-18 Robert Love <rml@novell.com>
13224 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13225 Allow backends to flag a device (in whatever distro-dependent way
13226 they so desire) as disabled. NM will ignore any such device.
13227 * src/backends/NetworkManagerDebian.c,
13228 src/backends/NetworkManagerRedHat.c,
13229 src/backends/NetworkManagerSlackware.c: Add stub function
13230 nm_system_device_get_disabled() that always returns FALSE (enabled).
13231 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13232 SUSE-specific configuration structure. Fill it in from the
13233 NM_CONTROLLED variable in the system networking scripts. If this var
13234 exists and is "no", we ignore the device.
13236 2006-01-17 Robert Love <rml@novell.com>
13238 * configure.in: Remove 'no' language. Replaced by 'nb', which is
13239 identical for NM. For a full discussion, see the thread at
13240 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13242 2006-01-17 Dan Williams <dcbw@redhat.com>
13245 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13246 function. Fixes crash when wired DHCP fails.
13248 2006-01-16 Robert Love <rml@novell.com>
13250 * src/Makefile.am: Don't install NMLoadModules
13251 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13252 from src/ to test/ as no one uses it anymore. Note that I would be
13253 fine with removing it altogether.
13255 2006-01-16 Robert Love <rml@novell.com>
13257 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13258 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13259 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13260 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13261 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13262 src/nm-netlink-monitor.c: Don't miss any initializers on structure
13263 declarations, ever.
13264 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13265 NM_STATE_DISCONNECTED is zero).
13267 2006-01-16 Robert Love <rml@novell.com>
13269 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
13270 uninitialized parameter and buffer overflow. Novell #143496.
13272 2006-01-16 Dan Williams <dcbw@redhat.com>
13274 Apply the PtP Address bits of a patch from Tim Niemueller
13276 * src/nm-ip4-config.[ch]
13277 - Add ip4_ptp_address member to object
13278 - (nm_ip4_config_copy): copy ptp address too
13279 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13281 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13282 rather than local tunnel ip address
13284 * src/vpn-manager/nm-vpn-service.c
13285 - (print_vpn_config): update for PtP address
13286 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13287 DBusMessageIters in preparation for getting routes from the VPN
13288 service daemons too
13290 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13291 - (send_config_info): update for PtP address, clean up code
13292 - (main): update for PtP address, clean up code, fix typo
13294 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13295 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13297 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13298 - (pptp_ip_up): update for PtP address
13300 * vpn-daemons/pptp/src/nm-pptp-service.c
13301 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13303 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13304 - (print_vpn_config): update for PtP address
13305 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13307 2006-01-16 Dan Williams <dcbw@redhat.com>
13309 * gnome/applet/applet.c
13310 - (nmwa_add_networks_helper): don't indicate an active network
13311 if NM is disconnected or asleep
13313 2006-01-16 Dan Williams <dcbw@redhat.com>
13315 * src/NetworkManagerPolicy.c
13316 - (nm_policy_device_change_check): switch devices if we lose the link
13317 on an ethernet device.
13319 2006-01-16 Dan Williams <dcbw@redhat.com>
13321 * gnome/applet/wso-wpa-psk-hex.[ch]
13322 - Renamed -> wso-wpa-psk.[ch]
13324 * gnome/applet/wso-wpa-psk.[ch]
13327 * gnome/applet/wso-wpa-psk-passphrase.[ch]
13328 - Removed, rolled into wso-wpa-psk.[ch]
13330 * gnome/applet/Makefile.am
13331 - Updated for above changes
13333 * gnome/applet/wireless-applet.glade
13334 - Consolidate WPA-PSK options into one notebook
13335 widget, and make dialogs invisible by default
13336 to fix screen oddities
13338 * gnome/applet/wireless-security-manager.c
13339 - (wsm_set_capabilities): create the new wpa-psk widget rather
13340 than both the old hex & passphrase ones
13342 2006-01-16 Dan Williams <dcbw@redhat.com>
13344 * gnome/applet/other-network-dialog.c
13345 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13347 2006-01-16 Dan Williams <dcbw@redhat.com>
13349 * gnome/applet/applet.c
13350 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13351 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13352 prevention to realize window before trying to get server
13355 * gnome/applet/other-network-dialog.c
13356 - (nmwa_other_network_dialog_run): fix up focus-stealing
13357 prevention to realize window before trying to get server
13360 * gnome/applet/passphrase-dialog.c
13361 - (nmi_passphrase_dialog_new): fix up focus-stealing
13362 prevention to realize window before trying to get server
13365 2006-01-16 Robert Love <rml@novell.com>
13367 Patch from Timo Hoenig <thoenig@suse.de:
13368 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13369 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13370 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13371 libnm-util/dbus-helpers.h: add checks whether headers are used
13372 within a C++ build.
13374 2006-01-16 Dan Williams <dcbw@redhat.com>
13376 * gnome/applet/wireless-security-option.c
13377 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13379 2006-01-16 Dan Williams <dcbw@redhat.com>
13381 * libnm-util/cipher-wpa-psk-passphrase.c
13382 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13383 be 8 - 63 characters inclusive
13385 2006-01-16 Dan Williams <dcbw@redhat.com>
13388 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13390 2006-01-13 Robert Love <rml@novell.com>
13392 Patch by T Sureshkumar <tsureshkuman@novell.com>:
13393 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13394 modules that do not use an interface.
13396 2006-01-13 Dan Williams <dcbw@redhat.com>
13400 - Allow subclasses to implement deactivate_quickly()
13401 - (nm_device_deactivate_quickly): call subclass
13402 deactivate_quickly() methods
13403 - (nm_device_set_active_link): small cleanups, and don't
13404 deactivate the device right away because we risk a deadlock
13405 when called from device thread, waiting for the device
13406 thread to cancel activation
13408 * src/nm-device-802-11-wireless.c
13409 - (real_deactivate_quickly): new function
13410 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13411 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13412 so that we kill the supplicant when we sleep too
13413 - (supplicant_interface_init): work around naive naming attempts of
13414 wpa_ctrl when naming sockets
13416 2006-01-13 Dan Williams <dcbw@redhat.com>
13418 * src/nm-device-802-11-wireless.c
13419 - (supplicant_cleanup): delete old device control sockets too
13420 - (supplicant_get_device_socket_path): new function to consolidate
13421 locations that need a path to a device's control socket
13423 2006-01-12 Robert Love <rml@novell.com>
13425 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13426 description so that the description is unique for each
13427 pair (device,provider). Fixes Novell #142773.
13429 2006-01-12 Dan Williams <dcbw@redhat.com>
13431 * src/nm-device-802-11-wireless.c
13432 - (supplicant_exec): ensure GError is correctly initialized
13433 Reported by Diego González (gnome.org #326708)
13435 2006-01-11 Robert Love <rml@novell.com>
13437 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13438 define if_mii(), open code the same results, and do so without any
13441 2006-01-11 Robert Love <rml@novell.com>
13443 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13444 that wso_foo_new() returned non-NULL. Instead, only append the new
13445 wso to wsm->options if the wso is non-NULL. The crux is that we
13446 assume that the relevant key types are implied by WEP and WPA as
13447 appropriate. To be sure, they should be, but we should not expect
13448 drivers to not be oozing piles of wolf fecal matter.
13450 2006-01-11 Robert Love <rml@novell.com>
13452 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13453 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13454 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13455 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13456 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13457 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13458 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13459 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13460 comparing values within DBL_EPSILON. Also fix shadowed variable
13463 2006-01-11 Dan Williams <dcbw@redhat.com>
13465 Add options for WPA2 and WPA1+CCMP (AES).
13467 * gnome/applet/wireless-applet.glade
13468 - Add UI bits for WPA+CCMP
13470 * gnome/applet/other-network-dialog.c
13471 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13472 and don't allow creation of WPA2 Ad-Hoc networks since
13473 wpa_supplicant doesn't support them
13475 * gnome/applet/wireless-security-manager.c
13476 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13477 on to the specific wireless security option being created
13479 * gnome/applet/wireless-security-option.[ch]
13480 - (wso_wpa_create_key_type_model): new utility function to create
13481 the model required for WPA Key Type combo box
13483 * gnome/applet/wso-private.h
13484 gnome/applet/wireless-security-option.h
13485 - Move private function prototypes into wso-private.h
13487 * gnome/applet/wso-wpa-psk-hex.[ch]
13488 gnome/applet/wso-wpa-psk-passphrase.[ch]
13489 - (append_dbus_params_func): get WPA version from checkbox and pass
13490 it to the dbus serialization helper
13491 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13492 key type combo changes
13493 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13496 * libnm-util/cipher-wpa-psk-hex.c
13497 libnm-util/cipher-wpa-psk-passphrase.c
13498 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13499 new function; allow the cipher to be changed after object creation
13501 * src/nm-ap-security-wpa-psk.c
13502 - (set_description): Do WPA2 descriptions too
13504 * src/nm-ap-security.c
13505 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13507 2006-01-11 Robert Love <rml@novell.com>
13509 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13510 is defined in <linux/mii.h> to return the mii_ioctl_data structure
13511 from the ifreq structure in lieu of an open coded solution. Removes
13512 a life-threatening type-punning.
13513 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13514 types, ever, whatsoever, baby.
13516 2006-01-11 Robert Love <rml@novell.com>
13518 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13519 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13520 assignments to applet->nm_state into a new nmwa_set_state() function
13521 for both cleanliness and to help debugging.
13523 2006-01-10 Robert Love <rml@novell.com>
13525 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
13526 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13527 seconds, exclusive. That is, we want to sleep x seconds such that
13530 2006-01-10 Robert Love <rml@novell.com>
13532 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13533 the attr fields according to the example in the email available at
13534 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13535 Conversely, we do have to free 'name', so we do so, fixing a leak.
13537 2006-01-10 Robert Love <rml@novell.com>
13539 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13540 sure that we close the socket!
13542 2006-01-10 Robert Love <rml@novell.com>
13544 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13545 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13546 src/nm-device.c: Fix a FIXME! Reimplement the function
13547 nm_device_update_hw_address() in device subclass variants,
13548 nm_device_802_3_ethernet_set_address() and
13549 nm_device_802_11_wireless_set_address(), hook them up, and use them.
13550 This fixes the existing bug where MAC addresses are all zeros.
13552 2006-01-10 Robert Love <rml@novell.com>
13554 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13555 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13556 option to give users ability to globally disconnect and put NM to
13557 sleep. This is useful as a 'lockdown mode' for flying, security, and
13560 2006-01-09 Robert Love <rml@novell.com>
13562 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
13563 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13564 User-space does not supply these types, so we have to define them
13565 ourselves. The relevant kernel maintainer refused to accept a patch
13566 switching these headers to the proper C99 types.
13568 2006-01-09 Dan Williams <dcbw@redhat.com>
13570 Apply Robert's 'tray icon redo' patch with fixes
13571 * gnome/applet/applet.c
13572 gnome/applet/applet.h
13573 - Instead of using a menu bar + menu item, simulate menu
13574 behavior using a popup menu. Highlight the area around
13575 the icon more like a menu too, by playing with the
13576 applet's size requisition
13578 2006-01-09 Timo Hoenig <thoenig@suse.de>
13579 * libnm-util/dbus-helpers.c
13580 libnm-util/dbus-helpers.h
13581 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13582 to 'exception_namespace' (:namespace is a keyword in
13585 2006-01-09 Dan Williams <dcbw@redhat.com>
13587 * src/NetworkManagerPolicy.c
13588 - (nm_policy_device_change_check): don't autoswitch away from
13589 Ad-Hoc networks, since there's really no concept of
13593 - (nm_dbus_nm_create_wireless_network): mark created networks
13596 * src/nm-device-802-11-wireless.c
13597 - (real_activation_success_handler): add user-created Ad-Hoc
13598 networks to the device's scan list
13600 2006-01-08 Dan Williams <dcbw@redhat.com>
13602 We now require a patch for wpa_supplicant to support Ad-Hoc
13604 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13606 * src/nm-device-802-11-wireless.c
13607 - (supplicant_send_network_config): turn off wpa_supplicant's
13608 scanning. Fixes Ad-Hoc networks.
13610 2006-01-08 Dan Williams <dcbw@redhat.com>
13612 * src/nm-ap-security.c
13613 src/nm-ap-security.h
13614 - Add a user_created argument to the write_supplicant_config
13617 * src/nm-ap-security-wep.c
13618 src/nm-ap-security-wpa-psk.c
13619 src/nm-device-802-11-wireless.c
13620 - Make Ad-Hoc mode somewhat work, at least write the
13621 correct options to wpa_supplicant
13623 2006-01-08 Dan Williams <dcbw@redhat.com>
13625 * src/nm-device-802-11-wireless.c
13626 - Remove unused code from the old device activation path
13628 2006-01-08 Dan Williams <dcbw@redhat.com>
13630 * libnm-util/dbus-helpers.c
13631 - (nmu_security_serialize_wpa_psk): pass a blank key through
13632 dbus when key == NULL
13634 2006-01-08 Dan Williams <dcbw@redhat.com>
13636 * gnome/applet/nm-gconf-wso-wpa-psk.c
13637 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13638 correct arguments to nmu_security_deserialize_wpa_psk()
13640 * src/nm-ap-security-wpa-psk.c
13641 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13642 arguments to nmu_security_deserialize_wpa_psk()
13644 2006-01-08 Dan Williams <dcbw@redhat.com>
13646 * gnome/applet/wso-wpa-psk-hex.c
13647 gnome/applet/wso-wpa-psk-passphrase.c
13648 - Hook up the append_dbus_params_func() function
13650 2006-01-08 Dan Williams <dcbw@redhat.com>
13652 * src/nm-device-802-11-wireless.c
13653 - (get_wireless_capabilities): correctly detect driver WPA
13656 2006-01-08 Dan Williams <dcbw@redhat.com>
13658 * gnome/applet/Makefile.am
13659 gnome/applet/wso-wpa-psk-hex.c
13660 gnome/applet/wso-wpa-psk-hex.h
13661 - New files, implement WPA-PSK Hex key input
13663 * gnome/applet/wireless-applet.glade
13664 - Change existing wpa-psk stuff to wpa-psk-hex
13665 - Add new widgets for wpa-psk-passphrase
13667 * gnome/applet/wireless-security-manager.c
13668 - (wsm_set_capabilities): enable WPA options
13670 * gnome/applet/wso-wpa-psk-passphrase.c
13671 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13672 for WPA-PSK passphrase
13674 2006-01-08 Dan Williams <dcbw@redhat.com>
13676 * include/NetworkManager.h
13677 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13678 applet/info-daemons
13680 * gnome/applet/passphrase-dialog.c
13681 - Use the constant. Fixes a bug where the arguments to
13682 dbus_message_new_error() were incorrect
13684 * src/nm-dbus-nmi.c
13687 2006-01-07 Dan Williams <dcbw@redhat.com>
13689 * src/nm-device-802-11-wireless.c
13690 - Add a link timeout so we allow the supplicant time to
13691 reassociate if it can, before we deactivate the card
13692 - Fix up link status and link updating so things work better
13694 2006-01-07 Dan Williams <dcbw@redhat.com>
13696 * src/nm-device-802-11-wireless.c
13697 - Switch over to using wpa_supplicant
13698 - Add a timeout of 10s for association of the supplicant
13699 - Start the monitor callback of the supplicant
13701 2006-01-07 Dan Williams <dcbw@redhat.com>
13703 * src/NetworkManagerUtils.c
13704 - (nm_utils_supplicant_request,
13705 nm_utils_supplicant_request_with_check):
13706 pass correct buffer length to wpa_ctrl_request()
13708 2006-01-07 Dan Williams <dcbw@redhat.com>
13710 * src/nm-device-private.h
13712 - (nm_device_activate_schedule_stage3_ip_config_start): make
13713 this function available to subclasses
13715 2006-01-06 Robert Love <rml@novell.com>
13717 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13718 user plugging in a network cable signals their preference for to
13719 switch, unless the user explicitly selected a wireless network and
13720 therefore signaled their preference for said wireless network over
13721 wired. In other words, do exactly what makes sense.
13723 2006-01-06 Robert Love <rml@novell.com>
13725 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13726 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13727 src/NetworkManagerWireless.h: Remove, no longer used and they keep
13728 showing up in my greps.
13730 2006-01-06 Robert Love <rml@novell.com>
13732 * gnome/applet/applet-dbus-devices.c,
13733 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13734 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13735 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
13736 New Network' both failed in the non-encrypted case because we were
13737 not appending the security options to the DBUS message. And
13738 'Connect to Other' was also failing in the encrypted case because
13739 we were not incrementing to the next DBUS parameter. All fixed.
13740 Thanks to dcdw for some debugging help.
13742 2006-01-06 Robert Love <rml@novell.com>
13744 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
13745 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
13746 hangup code and add per-device hangup. Tie last commit into the
13747 GNOME applet. TODO: Save, understand, and respond to the state of
13748 each dialup device.
13750 2006-01-06 Robert Love <rml@novell.com>
13752 Patch by Timo Hoenig <thoenig@suse.de>:
13753 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
13754 hangup specific dialup devices.
13755 * src/backends/NetworkManagerDebian.c,
13756 src/backends/NetworkManagerGentoo.c,
13757 src/backends/NetworkManagerRedHat.c,
13758 src/backends/NetworkManagerSlackware.c: Add stub backend.
13759 * src/backends/NetworkManagerRedHat.c,
13760 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
13761 hangup specific dialup devices.
13763 2006-01-04 Robert Love <rml@novell.com>
13765 * gnome/applet/applet-dbus-devices.c,
13766 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
13767 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
13770 2006-01-04 Dan Williams <dcbw@redhat.com>
13772 First dump of wpa_supplicant-related code. It's not hooked up to
13773 anything yet though. Thanks to Kay Sievers for
13774 wpa_supplicant_wrapper.c, which formed the basis for this work,
13775 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
13779 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
13781 * src/NetworkManagerUtils.[ch]
13782 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
13783 Add convenience functions for talking to wpa_supplicant
13785 * src/nm-ap-security.[ch]
13786 src/nm-ap-security-wep.c
13787 src/nm-ap-security-wpa-psk.[ch]
13788 - Update and implement real_write_supplicant_config functions
13789 in all security types
13790 - (nm_ap_security_wpa_psk_new_from_ap): implement in
13791 nm-ap-security-wpa-psk.c
13793 * src/nm-device-802-11-wireless.c
13794 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
13795 wpa_supplicant_start, wpa_supplicant_interface_init,
13796 wpa_supplicant_send_network_config): add functions to talk to
13797 wpa_supplicant and write network config to it
13799 2006-01-04 Robert Love <rml@novell.com>
13801 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
13802 values so that distribution-backends can differentiate between the
13803 various types (modem, ISDN, et cetera) of dialup device that they
13805 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
13808 2006-01-03 Dan Williams <dcbw@redhat.com>
13810 * src/NetworkManagerPolicy.c
13812 src/nm-device-802-11-wireless.c
13813 - Move wireless-specific activation failure and success code
13814 into wireless device class
13816 2006-01-03 Robert Love <rml@novell.com>
13818 Patch by Preggna S:
13819 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
13820 IPsec does not require that a VPN client be bound to an interface,
13821 due to the use of the in-kernel IPSec bits. So make the tunnel
13824 2006-01-03 Dan Williams <dcbw@redhat.com>
13826 * src/NetworkManagerAP.c
13827 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
13828 the WPA IE specifies that WEP is supported
13830 * src/nm-device-802-11-wireless.c
13831 - (process_scan_results): don't mark an AP as supporting WEP
13832 if there's already other encryption capability info
13834 2006-01-03 Dan Williams <dcbw@redhat.com>
13836 * src/dhcp-manager/nm-dhcp-manager.c
13837 - Recognize activation cancellation when waiting for DHCP
13838 configuration from dhcdbd
13839 - Ignore non-dhcdbd messages
13842 - (real_act_stage3_ip_config_start): return to correct behavior
13843 of letting the dhcp-manager notify us of failure or
13844 success rather than incorrectly doing that ourselves
13845 - (nm_device_activate_stage4_ip_config_get): deal with
13846 activation cancellation a bit earlier
13848 2006-01-03 Dan Williams <dcbw@redhat.com>
13850 * src/nm-device-802-11-wireless.c
13852 - Add hooks to subclasses for stage3_ip_config_start and
13853 stage4_ip_config_timeout
13855 * src/nm-device-802-3-ethernet.c
13856 - (real_get_generic_capabilities): make devices NM-supported
13859 2006-01-03 Robert Love <rml@novell.com>
13861 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
13862 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
13863 latter cannot differentiate between error and the address -1; misc.
13866 2006-01-03 Dan Williams <dcbw@redhat.com>
13868 * src/NetworkManager.c
13869 - Move link-checking/probing into the device subclasses
13872 * src/nm-device.[ch]
13873 src/nm-device-802-11-wireless.c
13874 src/nm-device-802-3-ethernet.c
13875 - Do periodic link checking in device subclasses rather
13876 than being triggered from NetworkManager.c
13877 - discover_wireless_capabilities -> get_wireless_capabilities
13878 - discover_generic_capabilities -> get_generic_capabilities
13879 - Device subclass activation routines now return a value of type
13880 NMActStageReturn to indicate what step to perform next
13881 - Devices now override stage4_get_ip4_config if they choose
13883 2006-01-01 Dan Williams <dcbw@redhat.com>
13885 * src/nm-device-802-11-wireless.c
13886 - (real_init): don't chain up to parent init because we don't
13887 need to do that anymore
13890 - (discover_device_type): fix arguments to ioctl() to correctly
13891 pass interface name
13892 - (nm_device_new): consolidate generic device initialization into
13894 - (real_init): remove, consolidated to nm_device_new()
13895 - (nm_device_deactivate, real_deactivate): consolidate
13897 2006-01-01 Dan Williams <dcbw@redhat.com>
13899 * src/nm-activation-request.c
13900 - Change dhcp_state member of the NMActRequest structure
13901 from guint8 to guint32
13903 * src/dhcp-manager/nm-dhcp-manager.[ch]
13904 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
13905 than guint8 to match the dbus argument. Turns out we were
13906 overwriting memory since we were passing in only a guint8
13908 2005-12-31 Dan Williams <dcbw@redhat.com>
13910 * refactor NMDevice into a GObject-based framework with separate
13911 objects for wired and wireless. The following files are no
13912 longer used but should stick around for a bit so we don't
13913 loose code through the cracks:
13914 NetworkManagerDevice.c
13915 NetworkManagerDevice.h
13916 NetworkManagerWireless.c
13917 NetworkManagerWireless.h
13919 The intent here is to allow each device type to manage its own
13920 connection & activation life-cycle, ie to allow wireless devices
13921 to interface with wpa_supplicant, etc. There's a fair bit of
13922 encapsulation breakage right now that should gradually get pulled
13923 back into each device, along with things like periodic property
13924 updates and link probing.
13926 2005-12-29 Dan Williams <dcbw@redhat.com>
13928 * include/NetworkManager.h
13929 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
13930 between networks that don't have any encryption at all
13932 2005-12-29 Dan Williams <dcbw@redhat.com>
13934 * test/test-common.c
13937 - Move to a test-common subdirectory
13939 * test/libnm-util/test-ciphers.c
13940 - Move test data to test-inputs.h
13941 - Test WPA ciphers too
13943 * test/libnm-util/test-dbus-helpers.c
13944 - Test serialization/deserialization of ciphers
13946 2005-12-29 Dan Williams <dcbw@redhat.com>
13948 * gnome/applet/applet-dbus-devices.c
13949 - Replace 'enc' parameter with 'capabilities' for wireless networks
13950 in dbus calls to NM
13951 - Set capabilities on WirelessNetwork objects
13952 - Receive and save type-specific device capabilities too
13954 * gnome/applet/applet-dbus-info.c
13955 gnome/applet/applet-dbus.c
13956 - Passphrase dialog no longer a singleton; new instance gets created
13957 on each request. Updates to deal with that.
13959 * gnome/applet/applet.c
13960 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
13961 than single 'encrypted' flag
13962 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
13964 - Passphrase dialog updates per above
13966 * gnome/applet/menu-items.c
13967 - (network_menu_item_update): use AP capabilities to determine
13970 * gnome/applet/nm-device.[ch]
13971 - Add accessors for type-specific device capabilities
13973 * gnome/applet/other-network-dialog.c
13974 - Rework to respect device capabilities. i.e., if the device doesn't
13975 support WPA, remove that option from the security dropdown
13977 * gnome/applet/passphrase-dialog.c
13978 - Massive rework so that a new instance is created each time
13979 it's used, to support wireless network capabilities
13981 * gnome/applet/wireless-network.[ch]
13982 - Add accessors and members for wireless network capabilities
13984 * gnome/applet/wireless-security-manager.[ch]
13985 - (wsm_set_capabilities): called after creation to set which
13986 security options get shown to the user
13988 2005-12-29 Dan Williams <dcbw@redhat.com>
13990 * libnm-util/cipher-wpa-psk-passphrase.c
13991 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
13994 2005-12-23 Dan Williams <dcbw@redhat.com>
13996 * gnome/applet/applet-dbus-info.c
13997 - (nmi_dbus_get_key_for_network): if there's no entry in
13998 GConf for a network, assume we want a new key
13999 - (nmi_save_network_info): serialize wireless security info
14000 into GConf so its saved
14003 - Fix warning as we may not be passed security info when
14004 connecting to a wireless network
14006 2005-12-23 Dan Williams <dcbw@redhat.com>
14008 * gnome/applet/applet-compat.c
14009 - Fix bugs in GConf entry conversion
14011 * gnome/applet/applet-dbus-info.c
14012 - (nmi_dbus_get_network_properties): handle case of the BSSID
14013 list being zero-length
14015 * libnm-util/cipher-*
14016 libnm-util/dbus-helpers.c
14017 - All ciphers must now return hashed keys as UTF-8 valid
14018 hexadecimal strings, ie "8f3dae4023". They are pushed
14019 through dbus as strings too.
14020 - Consolidate various functions that do bin->hex and hex->bin
14021 conversion into cipher.c
14023 * src/nm-ap-security-wep.c
14024 src/nm-ap-security-wpa-psk.c
14025 - Handle NULL keys since we may not know keys right away
14027 * src/nm-dbus-nmi.c
14028 - (nm_dbus_get_network_data_cb): actually advance to the start
14029 of the wireless security info before we try to deserialize it
14031 * libnm-util/test-ciphers.c
14032 - Update cipher tests for the change to UTF-8 hexadecimal strings
14034 2005-12-22 Dan Williams <dcbw@redhat.com>
14036 * gnome/applet/applet-compat.[ch]
14037 - Convert old-format GConf and keyring entries
14038 when the applet starts up.
14040 * gnome/applet/applet.c
14041 - (nmwa_get_instance): Call the conversion function
14042 on startup before dbus is initialized
14044 2005-12-22 Dan Williams <dcbw@redhat.com>
14046 * gnome/applet/applet-dbus-info.c
14047 - Remove nmi_dbus_create_error_message() in favor of
14048 nmu_create_dbus_error_message()
14049 - (nmi_dbus_get_network_properties): Error message cleanups
14050 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14051 gconf key rather than 'addresses', since they really are BSSIDs
14052 - (nmi_dbus_get_network_properties): Dispose of the security
14053 object when we're done with it
14055 2005-12-21 Dan Williams <dcbw@redhat.com>
14057 * Consolidate the info-daemon's "updateNetworkInfo" and
14058 "addNetworkAddress" calls into just "updateNetworkInfo"
14060 2005-12-21 Dan Williams <dcbw@redhat.com>
14062 * Make connection after key retrieval work again
14064 2005-12-21 Dan Williams <dcbw@redhat.com>
14066 * gnome/applet/nm-gconf-wso*
14067 - Make the serialize functions return gboolean
14070 * gnome/applet/nm-gconf-wso.c
14071 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14072 parent class handling so we don't segfault
14074 * src/NetworkManagerAP.[ch]
14075 - (nm_ap_get_capabilities): new function, return capabilities
14076 now that something can use them
14077 - (nm_ap_set_encrypted): assume that an access point supports
14078 both WEP104 and WEP40 if its set encrypted. FIXME: can
14079 we even tell whether it just supports WEP40?
14081 * src/NetworkManagerDevice.c
14082 - (ap_need_key): resurrect and update for the New World Order
14083 - (nm_device_wireless_get_activation_ap): if we're not given
14084 security info to use, create some based on access point
14087 * src/nm-ap-security-wep.c
14088 - (nm_ap_security_wep_new_from_ap): create a new object
14089 based on a certain access point's capabilities
14091 * src/nm-ap-security.c
14092 - (nm_ap_security_new_from_ap): delegate creation of a new
14093 object based on access point capabilities to a subclass
14094 - (nm_ap_security_copy_properties): don't segfault if we
14095 don't have a key yet
14098 - (nm_dbus_nm_set_active_device): provide more informative
14099 output when errors occur. Also construct security info
14100 for a given access point if we weren't given any
14102 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14104 * configure.in: Added Lithuanian to ALL_LINGUAS.
14106 2005-12-21 Dan Williams <dcbw@redhat.com>
14109 - Add some testcases for WEP ciphers
14111 2005-12-17 Dan Williams <dcbw@redhat.com>
14115 2005-12-17 Dan Williams <dcbw@redhat.com>
14117 * include/NetworkManager.h
14118 - Finally kill NMEncKeyType
14120 * gnome/applet/applet-dbus-info.c
14121 - (nmi_save_network_info): convert to NMGConfWSO
14123 * gnome/applet/nm-gconf-wso-*.c
14124 - Implement gconf serialization functions
14126 * src/NetworkManagerPolicy.c
14127 - (nm_policy_activation_finish): fix up meaning of
14128 automatic/user_requested
14130 2005-12-17 Dan Williams <dcbw@redhat.com>
14133 - More applet cleanups
14134 - Use the dbus-method-dispatcher
14136 * libnm-util/dbus-method-dispatcher.[ch]
14137 - Generalize the implementation from NM in
14138 NetworkManagerUtils.c
14140 2005-12-16 Dan Williams <dcbw@redhat.com>
14143 - Fix up the passphrase dialog to use all the
14144 WirelessSecurityOption stuff (untested)
14146 2005-12-16 Dan Williams <dcbw@redhat.com>
14148 * Move nm_gconf_get_*_helper() functions to separate files,
14149 gconf-helpers.c & gconf-helpers.h
14151 * New NMGConfWSO objects for managing the gconf side of things.
14152 Eventually these should be merged with the
14153 WirelessSecurityOption objects and a common base (that can
14154 serialize/deserialize from dbus & gconf) should be
14155 refactored out, but for now they are separate.
14157 2005-12-16 Robert Love <rml@novell.com>
14159 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14160 binaries unless they exist (nm_spawn_process() emits a warning if
14161 asked to spawn a non-existant process).
14163 2005-12-16 Dan Williams <dcbw@redhat.com>
14165 * gnome/applet/applet-dbus-info.c
14166 - Clean up lots of gconf-related code
14168 2005-12-16 Robert Love <rml@novell.com>
14170 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14172 2005-12-16 Dan Williams <dcbw@redhat.com>
14174 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14176 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14177 bits still to be done)
14179 2005-12-16 Dan Williams <dcbw@redhat.com>
14181 * Finally move info-daemon related stuff out of
14182 NetworkManagerDbus.c to nm-dbus-nmi.c
14184 2005-12-16 Dan Williams <dcbw@redhat.com>
14186 * Kill auth_method for access points, since that's now done
14187 by NMAPSecurity objects
14189 * Add a copy-constructor of sorts to NMAPSecurity
14190 (how do you do this properly in glib???)
14192 2005-12-15 Dan Williams <dcbw@redhat.com>
14194 * Exorcise encryption key hashing on APs
14195 * Use libnm-util's serialization/deserialization in both the
14197 * Random other stuff
14199 2005-12-15 Robert Love <rml@novell.com>
14201 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14202 is being added to the icon naming spec, so let's use that (Tango CVS
14203 has the icon). Because it is new, however, we fall back to the
14204 current "gnome-lockscreen" if the new icon is not around, thus
14205 behavior is the same.
14206 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
14209 2005-12-15 Robert Love <rml@novell.com>
14211 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14212 well, help to give. Couple other misc. bits.
14214 2005-12-15 Dan Williams <dcbw@redhat.com>
14216 * libnm-util/dbus-helpers.[ch]
14217 - Make this the one-stop-shop for serializing/deserializing
14218 AP & connection security settings over dbus. Both NM
14219 and applets should use this to ensure consistent dbus
14220 API going forwared.
14222 2005-12-15 Robert Love <rml@novell.com>
14224 Patch by Timo Hoenig <thoenig@suse.de>:
14225 * src/NetworkManagerDbus.c
14226 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14227 if HAL jumps off the system bus. Otherwise libdbus
14228 (dbus_connection_dispatch) will try to run the filter
14229 function of our libhal context which is already freed.
14231 2005-12-15 Alexander Shopov <ash@contact.bg>
14233 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14235 2005-12-14 Dan Williams <dcbw@redhat.com>
14237 * include/NetworkManager.h
14238 src/NetworkManagerWireless.c
14239 - Rearrange 802.11 wireless-specific capabilities again
14242 - Forgot to add wpa.c/wpa.h to the makefiles
14244 * src/NetworkManagerAP.[ch]
14245 - Implement access point capabilities and parse the
14246 WPA/RSN IEs into the capability bitfield
14247 - Switch the "encrypted" attribute to utilize the bitfield
14248 and capabilities rather than being independent
14250 * src/NetworkManagerDevice.c
14251 - (nm_device_wireless_get_activation_ap): break it horribly
14252 until we can push NMAPSecurity objects into access point
14253 objects and through the activation chain
14254 - Stuff WPA & RSN IEs into AP capabilities
14257 - Take a shot at actually making setActiveDevice work
14260 - Make the API a bit saner
14262 2005-12-14 Dan Williams <dcbw@redhat.com>
14264 * include/NetworkManager.h
14265 - Add 802.11-specific capability for 802.1x key
14269 - Pull in WPA IE and RSN IE parsing code from
14270 wpa_supplicant so we can determine access point
14272 - Move WPA-related constants here from NetworkManagerAP.h
14273 and NetworkManagerDevice.c
14275 * src/NetworkManagerDevice.c
14276 src/NetworkManagerAP.[ch]
14277 - Use WPA-related constants from wpa.h
14279 2005-12-14 Dan Williams <dcbw@redhat.com>
14281 * include/NetworkManager.h
14282 - Update and split 802.11 wireless-specific capabilities from
14283 generic device capabilities
14285 * src/NetworkManagerDevice.c
14286 src/NetworkManagerDevicePrivate.h
14287 - (nm_device_wireless_discover_capabilities): Move 802.11
14288 wireless-specific capability checks to
14289 NetworkManagerWireless.c
14290 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14291 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14293 * src/NetworkManagerWireless.[ch]
14294 - (nm_802_11_wireless_discover_capabilities): Check extended
14295 802.11 wireless-specific capabilities of the driver
14297 2005-12-14 Robert Love <rml@novell.com>
14299 Patch from Stefan Scheler <sscheler@suse.de>:
14300 * src/NetworkManagerDevice.c: call backend code to activate and
14302 * src/NetworkManagerSystem.h: add new NIS interfaces.
14303 * src/backends/NetworkManagerDebian.c,
14304 src/backends/NetworkManagerGentoo.c,
14305 src/backends/NetworkManagerRedHat.c,
14306 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14308 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14310 2005-12-14 Dan Williams <dcbw@redhat.com>
14312 * src/nm-ap-security*.[ch]
14313 - Add AP security abstractions to NetworkManager
14315 * src/nm-dbus-device.c
14316 - Begin to parse new format dbus messages from the applet
14317 and construct an AP security object from the message
14319 * libnm-util/dbus-helpers.c
14320 - Use message iters so we can append the key as a fixed
14321 array of bytes, which actually works rather than
14322 using dbus_message_append_args() as we were before
14324 2005-12-14 Dan Williams <dcbw@redhat.com>
14326 * src/NetworkManagerDbus.c
14327 gnome/applet/applet-dbus.c
14328 - Fix up dbus service replacement options. The applet
14329 should allow replacement, NM itself should not.
14331 2005-12-13 Robert Love <rml@novell.com>
14333 * src/named-manager/nm-named-manager.c: Revert earlier commit.
14334 Instead, fail silently if config is NULL by not asserting and not
14335 returning FALSE. Also, make sure we always fclose() the file.
14337 2005-12-13 Robert Love <rml@novell.com>
14339 Patch by Stefan Scheler <sscheler@suse.de>:
14340 * src/nm-ip4-config.h, src/nm-ip4-config.c,
14341 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14342 via DHCP. Still need the backends to commit the NIS domain name and
14343 and servers to yp.conf as needed.
14345 2005-12-13 Robert Love <rml@novell.com>
14347 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14348 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14350 2005-12-13 Robert Love <rml@novell.com>
14352 * src/named-manager/nm-named-manager.c: Don't unref the config until
14353 after we call rewrite_resolv_conf(), because get_last_default_domain()
14354 needs to access the config. Fixes "rewrite_resolv_conf: assertion
14355 `config != NULL' failed" assertion failures and "Could not commit DNS
14358 2005-12-12 Dan Williams <dcbw@redhat.com>
14360 * libnm-util/dbus-helpers.[ch]
14361 libnm-util/Makefile.am
14362 - new helper calls to consolidate locations where
14363 NM's setDevice method is called
14365 * gnome/applet/applet-dbus-devices.c
14366 gnome/applet/wireless-security-option.c
14368 - Implement dbus message param append function for
14369 all wireless security options
14371 2005-12-12 Robert Love <rml@novell.com>
14373 * libnm-util/cipher-wep-passphrase.c,
14374 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14375 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14376 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14377 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14378 When handling keys, we don't care what the sign is. The compiler
14379 guarantees us that we get our 8-bits, which is all we care about.
14380 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
14382 2005-12-12 Dan Williams <dcbw@redhat.com>
14384 * gnome/applet/applet-dbus-devices.[ch]
14385 gnome/applet/applet.c
14386 gnome/applet/other-network-dialog.c
14387 gnome/applet/wireless-security-manager.[ch]
14388 gnome/applet/wireless-security-option.[ch]
14390 - Push the wireless security options further into the applet
14392 2005-12-12 Robert Love <rml@novell.com>
14394 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14395 return any name servers. That is perfectly valid. (Novell #134369).
14397 2005-12-11 Dan Williams <dcbw@redhat.com>
14399 * gnome/applet/wso-*
14400 gnome/applet/wireless-security-option.*
14401 gnome/applet/Makefile.am
14402 - split each security option out so we can eventually
14403 have each one build up their own dbus message
14404 arguments to send to NM
14406 2005-12-11 Dan Williams <dcbw@redhat.com>
14408 * Make validation of the key work correctly
14410 2005-12-11 Dan Williams <dcbw@redhat.com>
14412 * Hook more bits of the Other Network Dialog up to the
14413 wireless security manager stuff, and restructure
14414 bits of the dialog so there's less code.
14416 2005-12-10 Dan Williams <dcbw@redhat.com>
14418 * gnome/applet/Makefile.am
14419 - Add libnm-util to includes
14420 - Add libnm-util to link list
14421 - Add wireless-security-common.* to compile list
14423 * gnome/applet/other-network-dialog.c
14424 - Convert to using the WirelessSecurityManager code and
14427 * gnome/applet/passphrase-dialog.c
14428 - Comment out references to stuff in the glade file that
14429 cause runtime errors until it can be fixed up
14430 to use the WirelessSecurityManager code
14432 * gnome/applet/wireless-applet.glade
14433 - Rename some widgets
14434 - Add widgets for the WirelessSecurityManager code
14435 - Remove passphrase-related stuff since that's now
14436 handled by the WirelessSecurityManager code
14438 2005-12-10 Dan Williams <dcbw@redhat.com>
14440 * gnome/applet/applet-dbus-devices.c
14441 - Print out error message details for dbus pending call callbacks
14442 - Move nmwa_dbus_update_devices() up
14444 * gnome/applet/applet-dbus-vpn.c
14445 - Print out error message details for dbus pending call callbacks
14447 2005-12-10 Dan Williams <dcbw@redhat.com>
14451 - Remove cipher-manager.* because we don't need it
14452 - Forgot to add gnome-keyring-md5 files to compile list
14454 2005-12-09 Dan Williams <dcbw@redhat.com>
14459 - Add a utility library for clients of NetworkManager. It's
14460 only targetted at applets for the moment, and contains
14461 a generalized 802.11 cipher framework for different
14462 types of keys (WEP & WPA Hex, ASCII, Passphrase)
14464 2005-12-09 Robert Love <rml@novell.com>
14466 * src/NetworkManagerDevice.c: handle error better in
14467 nm_device_set_mode().
14469 2005-12-08 Robert Love <rml@novell.com>
14471 * include/NetworkManager.h: add WPA capabilities constants
14472 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14473 or WPA2 and add the capabilities bits as appropriate.
14475 2005-12-08 Robert Love <rml@novell.com>
14477 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14478 NetworkManagerDispatcher.
14479 * configure.in, initscript/SUSE/.cvsignore,
14480 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14483 2005-12-08 Robert Love <rml@novell.com>
14485 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14487 2005-12-08 Robert Love <rml@novell.com>
14489 * src/NetworkManagerDevice.c: We want to fall back on and default to
14490 IW_MODE_AUTO, not -1, which is more in line with our previous
14491 behavior. Otherwise, we try to set the wireless mode to -1 in
14492 nm_device_set_mode().
14494 2005-12-07 Robert Love <rml@novell.com>
14496 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14497 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14498 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14499 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14500 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14501 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
14504 2005-12-07 Robert Love <rml@novell.com>
14506 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14507 supplied IP is invalid, fall back to DHCP.
14509 2005-12-07 Dan Williams <dcbw@redhat.com>
14511 * Convert NETWORK_MODE_* constants to IW_MODE_*
14512 * Make all the get_mode/set_mode functions take and return 'int'
14513 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14515 2005-12-07 Robert Love <rml@novell.com>
14517 * src/NetworkManagerDevice.c: strncpy() buffer check.
14518 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14520 2005-12-06 Dan Williams <dcbw@redhat.com>
14522 * gnome/applet/applet-dbus.c
14523 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14525 * gnome/applet/applet-dbus-vpn.c
14526 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14527 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14528 to TRUE here if stage was ACTIVATED
14530 2005-12-06 Dan Williams <dcbw@redhat.com>
14532 * Change nm_device_is_* functions to better names:
14533 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14534 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14536 2005-12-06 Dan Williams <dcbw@redhat.com>
14538 * Change naming of NMDeviceType to something more sensible:
14539 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14540 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14541 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14543 2005-12-06 Dan Williams <dcbw@redhat.com>
14545 * Move NetworkManager.h -> include/NetworkManager.h
14546 * Split out VPN stuff into include/NetworkManagerVPN.h
14547 * Fix up makefiles to include new location
14548 * Fix up sources to include NetworkManagerVPN.h
14550 2005-12-06 Dan Williams <dcbw@redhat.com>
14552 Various changes in the applet to move VPN connection "state" -> "stage",
14553 which it actually is. I'd like to change the signal as well when we
14554 break compat in the near future.
14556 2005-12-06 Dan Williams <dcbw@redhat.com>
14558 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14559 * initscript/Slackware/rc.networkmanager
14562 * src/backends/NetworkManagerSlackware.c
14563 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14566 2005-12-05 Robert Love <rml@novell.com>
14568 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14569 to free, particularly here as it just barfs.
14571 2005-12-05 Dan Williams <dcbw@redhat.com>
14573 * gnome/applet/applet-dbus.c
14574 - Work with dbus 0.6 too
14576 2005-12-03 Dan Williams <dcbw@redhat.com>
14578 * src/NetworkManagerUtils.[ch]
14579 src/nm-ip4-config.c
14580 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14581 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14583 2005-12-01 Robert Love <rml@novell.com>
14585 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14586 need a NULL for the '...' parameter, too, to fill the so-called
14589 2005-12-01 Robert Love <rml@novell.com>
14591 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14592 interface is already gone, so don't call rtnl_link_change() to down
14593 it (which will segfault, anyhow).
14595 2005-11-22 Robert Love <rml@novell.com>
14597 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14598 gateway is not set, just print a little note. Configurations without
14599 gateways are valid.
14601 2005-11-22 Robert Love <rml@novell.com>
14605 2005-11-20 Ilkka Tuohela <hile@iki.fi>
14607 * configure.in: Added Finnish translation to ALL_LINGUAS
14609 2005-11-14 Robert Love <rml@novell.com>
14611 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14612 Niemueller <tim@niemueller.de>.
14614 2005-11-08 Dan Williams <dcbw@redhat.com>
14616 Patch from Bill Moss <bmoss@clemson.edu>
14617 * src/NetworkManagerDevice.c
14618 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14619 of nm_policy_schedule_activation_finish() to prevent a
14620 race condition that causes the link to be dropped
14622 2005-11-08 Dan Williams <dcbw@redhat.com>
14624 Patch from Bill Moss <bmoss@clemson.edu>
14625 * src/NetworkManagerAPList.c
14626 src/NetworkManagerDevice.c
14627 src/NetworkManagerDbus.c
14628 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14629 we get more readable ether/mac addresses
14631 2005-11-02 Christopher Aillon <caillon@redhat.com>
14633 * gnome/applet/main.c: Don't set the restart command. This fixes
14634 the issue where the restart command was getting copies of all its
14635 arguments for each time the applet was restarted.
14637 2005-11-02 Robert Love <rml@novell.com>
14639 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14640 if the widget state differs from our saved state. This ensures we
14641 do not enter an endless loop of death and destruction. Also, this
14642 guarantees us that we enforce the widget state.
14644 2005-11-02 Robert Love <rml@novell.com>
14646 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14647 * gnome/applet/applet-dbus-devices.c: invoke the new function
14648 nmwa_enable_wireless_set_active() to ensure that the state of the
14649 'Enable Wireless' checkbox matches the daemon's state. This is a
14650 concern because the daemon remembers the state.
14652 2005-11-02 Robert Love <rml@novell.com>
14654 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14655 Enabled", as checkboxes should be actions/commands not positive
14656 statements, otherwise they are confusing in the unselected case. See
14657 examples in GNOME HIG, Chapter 6.
14659 2005-11-02 Robert Love <rml@novell.com>
14661 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
14662 show a list of wireless networks or the wireless devices or the
14663 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
14664 a bad bug: If wireless is disabled and the user picks a wireless
14665 network, NM will switch to the network, only to immediately switch
14666 back, as wireless is disabled. This also reassures people that NM
14667 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
14669 2005-11-02 Christopher Aillon <caillon@redhat.com>
14671 * gnome/applet/applet.c:
14672 * gnome/applet/applet.h:
14673 Partial backout of Dan's timeout animation patch.
14674 Timeout IDs cannot legally be 0, so revert the code in place to handle
14675 a timeout ID of 0 to denote the timeout isn't running.
14677 2005-11-02 Christopher Aillon <caillon@redhat.com>
14679 * src/NetworkManagerPolicy.c:
14680 (nm_policy_device_change_check) Clarify wireless switch nm_info text
14682 2005-10-28 Robert Love <rml@novell.com>
14684 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14685 "Import Saved Configuration..." to make it clear that importing is
14686 not the next step, but an option. As an aside, a nice TODO would be
14687 to move Importing out of the vpn-specific dialog and into the main
14688 property editor, as Importing goes with Adding, but that will require
14689 some rearchitecting of the VPN stuff I suspect.
14691 2005-10-27 Dan Williams <dcbw@redhat.com>
14693 Start using libnl. You need 1.0-pre3 or higher. Eventually
14694 we should replace most of the distro-specific backend code
14697 Get it here: http://people.suug.ch/~tgr/libnl/
14701 - Add checks for libnl pkgconfig file
14702 - Use LIBNL_LIBS & LIBNL_CFLAGS
14704 * src/NetworkManagerSystem.c
14705 src/nm-ip4-config.[ch]
14706 - Use libnl rather than ioctl() for most things
14707 - Remove unused functions
14709 2005-10-27 Robert Love <rml@novell.com>
14711 * src/backends/NetworkManagerSuSE.c: fix warning message text
14713 2005-10-27 Christopher Aillon <caillon@redhat.com>
14715 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14717 2005-10-27 Christopher Aillon <caillon@redhat.com>
14719 * gnome/applet/applet.c: The applet's about dialog can advertise our
14720 project page <http://www.gnome.org/projects/NetworkManager/>
14722 2005-10-26 Christopher Aillon <caillon@redhat.com>
14724 * gnome/applet.c: Also use translator credits if we don't have
14725 the new GtkAboutDialog (older versions of GTK+)
14727 2005-10-26 Robert Love <rml@novell.com>
14729 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14730 failure; correct usage text for "--no-daemon"
14732 2005-10-25 Dan Williams <dcbw@redhat.com>
14734 * src/NetworkManagerDevice.c
14735 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14737 - (free_process_scan_cb_data): unref the device when freeing results
14738 - (nm_device_wireless_process_scan_results): free scan results a bit later
14739 so we don't unref the device underneath ourselves
14741 2005-10-25 Dan Williams <dcbw@redhat.com>
14743 * Back out 2005-10-24 commit from Tor Krill. Patch
14744 causes nameservers never to be removed from named.
14746 2005-10-24 Dan Williams <dcbw@redhat.com>
14748 Clean up wireless scanning and wireless link probing.
14750 * src/NetworkManagerDevice.c
14751 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
14752 just see if there's an activation request on the device, and check the
14753 current link against the activation request access point's ESSID.
14754 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
14755 - (nm_device_wireless_process_scan_results): actually free our scan data, and
14756 don't call process_scan_results() on zero-length data
14757 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
14758 15 seconds (from 10)
14760 2005-10-24 Dan Williams <dcbw@redhat.com>
14762 Cleanup some applet stuff:
14764 - Animation timeouts. If NM died while the applet was animating,
14765 the applet would not hide itself. This is now fixed.
14767 - Remove some dead code
14769 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
14770 to nmi_passphrase_dialog_cancel() since we no longer use threads.
14772 - Track animation timeout using a gboolean rather than the timeout's
14773 ID, since timeout IDs can legally be 0.
14775 2005-10-24 Dan Williams <dcbw@redhat.com>
14777 * src/backends/interface_parser.c
14778 - Add void to function declarations that need it
14779 to match patch from Engin AYDOGAN
14781 * src/backends/interface_parser.h
14782 - Remove unused prototype for ifparser_interfaces()
14784 Patch from Engin AYDOGAN <engin@bzzzt.biz>
14785 * src/backends/interface_parser.h:
14786 - Compile fixes for gcc 4.0.2 (add void)
14788 2005-10-24 Dan Williams <dcbw@redhat.com>
14790 Patch from Tor Krill <tor@krill.nu>
14791 * src/named-manager/nm-named-manager.c
14792 - Write more than just the first nameserver to /etc/resolv.conf
14793 - Write out valid /etc/resolv.conf on exit
14795 2005-10-21 Christopher Aillon <caillon@redhat.com>
14797 * gnome/applet/applet-dbus-vpn.c:
14798 Get rid of spurious newlines in debug console output
14800 2005-10-21 Christopher Aillon <caillon@redhat.com>
14802 * src/backends/NetworkManagerGentoo.c:
14803 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
14805 2005-10-20 Robert Love <rml@novell.com>
14807 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
14808 direct comparison of floating point values, which is never correct.
14809 Also some misc. cleanup.
14811 2005-10-19 Robert Love <rml@novell.com>
14813 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
14815 2005-10-19 Robert Love <rml@novell.com>
14817 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
14818 sensitivity of the buttons. Specificaly, do the right thing if
14819 there are no entries.
14821 2005-10-19 Christopher Aillon <caillon@redhat.com>
14823 * configure.in: Update check for adequate wireless-tools
14824 with an AC_TRY_COMPILE for the new symbols we use.
14826 2005-10-19 Dan Williams <dcbw@redhat.com>
14828 * src/NetworkManagerDevice.c
14829 - (process_scan_results): don't drop the last (or only)
14830 access point we see
14832 2005-10-19 Christopher Aillon <caillon@redhat.com>
14834 * src/backends/NetworkManagerSlackware.c:
14835 Patch from Nico <lordllucifer@gmail.com>
14836 - Update the Slackware backend.
14838 2005-10-18 Christopher Aillon <caillon@redhat.com>
14840 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
14841 if we've got GLib 2.8.0
14843 2005-10-18 Robert Love <rml@novell.com>
14845 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
14846 function nm_schedule_state_change_signal_broadcast() when we
14847 deactivate a device, too.
14849 2005-10-18 Robert Love <rml@novell.com>
14851 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
14852 be used uninitialized.
14854 2005-10-18 Christopher Aillon <caillon@redhat.com>
14856 * test/libnm_glib_test.c: Test unregistering, too.
14858 2005-10-17 Christopher Aillon <caillon@redhat.com>
14860 * configure.in: Bump to 0.5.0
14862 2005-10-17 Dan Williams <dcbw@redhat.com>
14865 - Remove WPA-related constants so they aren't part of the
14868 2005-10-17 Christopher Aillon <caillon@redhat.com>
14870 * gnome/applet/applet.c:
14871 * gnome/applet/applet.h:
14872 Desensitize the 'Connection Information' menu item when there is
14873 no active connection.
14875 2005-10-17 Christopher Aillon <caillon@redhat.com>
14877 * gnome/libnm_glib/libnm_glib.c:
14878 Make libnm_glib_unregister_callback () actually unregister the callback
14880 2005-10-17 Robert Love <rml@novell.com>
14882 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
14883 two seconds -- tries is updated every 1/10 of a second, not every
14886 2005-10-17 Christopher Aillon <caillon@redhat.com>
14888 * gnome/applet/applet-dbus-info.c:
14889 Let D-BUS know that we haven't handled a message when we haven't.
14891 2005-10-17 Robert Love <rml@novell.com>
14893 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
14894 in order to remain 64-bit clean.
14896 2005-10-17 Christopher Aillon <caillon@redhat.com>
14898 * gnome/applet/applet-dbus-info.c:
14899 Find network encryption keys asynchronously
14901 2005-10-17 Robert Love <rml@novell.com>
14903 * src/backends/NetworkManagerDebian.c,
14904 src/backends/NetworkManagerRedHat,
14905 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
14908 2005-10-17 Robert Love <rml@novell.com>
14910 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
14913 2005-10-17 Christopher Aillon <caillon@redhat.com>
14915 * src/NetworkManagerDevice.c: (process_scan_results)
14916 Fix logic that checks to see whether we have an ESSID.
14918 2005-10-15 Dan Williams <dcbw@redhat.com>
14920 Move scanning code into NetworkManager rather than use iwlib's
14921 iw_scan() function, so that we can figure out AP capabilities.
14924 - Add AP capability bits
14926 * src/NetworkManagerAP.[ch]
14927 - Add capability field to NMAccessPoint structure
14928 - Add WPA & RSN Information Element fields and accessor
14929 functions to NMAccessPoint
14931 * src/NetworkManagerDevice.c
14932 - Remove usage of iw_scan
14933 - Add scanning code to NetworkManager rather than use
14934 iw_scan() from iwlib
14936 * src/NetworkManagerUtils.[ch]
14937 - (nm_dispose_scan_results): remove, unused
14939 2005-10-14 Christopher Aillon <caillon@redhat.com>
14941 * gnome/libnm_glib/libnm_glib.c:
14942 * gnome/libnm_glib/libnm_glib.h:
14943 Use guint instead of gint for callback IDs.
14945 2005-10-12 Christopher Aillon <caillon@redhat.com>
14947 * gnome/applet/applet.c:
14948 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
14949 every 1000ms. It will unconditionally call nmwa_update_state which
14950 kills the existing animation timeout and registers a new one with a
14951 callback to draw a new frame every 100ms. There are 11 connecting
14952 icon frames, so the last 2 frames kept getting dropped. Only reset
14953 the animation timeout if we aren't animating.
14955 2005-10-11 Dan Williams <dcbw@redhat.com>
14957 * gnome/applet/applet-dbus-devices.c
14958 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
14959 We want to grab the product & vendor from net.physical_dev
14960 rather than info.parent.
14962 2005-10-11 Dan Williams <dcbw@redhat.com>
14964 * src/NetworkManagerDevice.c
14965 - Use the driver's WE version for scanning rather than
14966 the WE version NM was compiled with. Fixes random
14967 crashes in iw_scan () in iwlib.
14969 2005-10-10 Dan Williams <dcbw@redhat.com>
14971 * Remove nm_system_load_device_modules() from backend files
14972 and from NetworkManager.c
14974 2005-10-10 Dan Williams <dcbw@redhat.com>
14976 * src/NetworkManagerPolicy.c
14977 - Fix some bugs introduced by the capabilities patch
14979 2005-10-10 Dan Williams <dcbw@redhat.com>
14981 * gnome/applet/applet-dbus-info.c
14982 - (nmi_dbus_get_network_key): hide the menu when putting up
14983 the keyring dialog. (not sure if the code is right...)
14985 2005-10-09 Dan Williams <dcbw@redhat.com>
14987 Patch from Bill Moss <bmoss@clemson.edu>
14988 * src/NetworkManagerDevice.c
14989 - (nm_device_set_user_key_for_network): don't try to set auth
14990 mode on the AP from the allowed list if it's NULL
14992 2005-10-09 Dan Williams <dcbw@redhat.com>
14994 * Replace the "driver support level" stuff with capabilities. The
14995 capability field is a bitfield that is more flexible than the
14996 old driver support level thing. It's mostly so we can easily
14997 figure out what supports WPA and what doesn't, but should be
14998 quite useful later.
15000 2005-10-09 Dan Williams <dcbw@redhat.com>
15007 - Added new "nm-tool" tool that gives quite a bit more
15010 2005-10-07 Robert Love <rml@novell.com>
15012 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15013 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15014 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15015 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15018 2005-10-07 Robert Love <rml@novell.com>
15020 * configure.in: Change our compile flags for the betterment of mankind.
15021 Add "-Wstrict-prototypes" because we comply anyhow and missing a
15022 prototype is very bad on 64-bit platforms as types default to int but
15023 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15024 "-Wmissing-declarations" to warn if we define an exported function
15025 but fail to put it in a header.
15027 2005-10-07 Robert Love <rml@novell.com>
15029 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15030 by the name nm_update_device_wireless_timeouts() and once tried,
15031 without success, to steal my pet turtle.
15033 2005-10-07 Robert Love <rml@novell.com>
15035 * Cleanup prototypes: put some functions in header files and mark
15036 others as 'static' -- feel free to invert
15037 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15038 nm_vpn_manager_vpn_connection_list_copy()
15039 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15040 nm_vpn_service_get_dbus_connection()
15041 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15042 nm_vpn_manager_vpn_connection_list_copy()
15043 * src/vpn-manager/nm-vpn-service.c: make
15044 nm_vpn_service_act_request_failed() and
15045 nm_vpn_service_stage2_daemon_wait() static
15046 * src/vpn-manager/nm-vpn-service.h: add prototype for
15047 nm_vpn_service_get_dbus_connection()
15049 2005-10-06 Christopher Aillon <caillon@redhat.com>
15051 * gnome/applet/applet.c:
15052 * gnome/applet/applet.h:
15053 * gnome/applet/icons/Makefile.am:
15054 Convey information about the current connection stage in the
15055 icons themselves instead of creating a separate progress bar.
15057 2005-10-04 Robert Love <rml@novell.com>
15059 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15060 convert an ether_addr structure's MAC into a string, because the
15061 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15062 versus 07:3B:04, while the former will not.
15064 2005-10-04 Robert Love <rml@novell.com>
15066 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15067 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15068 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15069 default route in the 'Connection Information' dialog, send primary
15070 and secondary name servers in in "getProperties" DBUS method, add
15071 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15072 secondary domain name servers are crucial pieces of information
15073 that a user might need in debugging a network problem.
15075 2005-10-04 Robert Love <rml@novell.com>
15077 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15078 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15079 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15080 default route in the 'Connection Information' dialog, send default
15081 route in "getProperties" DBUS method, add network_device_set_route(),
15082 and network_device_get_route(). The Gateway is a crucial piece of
15083 connection-related information that a user might need in debugging a
15086 2005-10-03 Robert Love <rml@novell.com>
15088 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15091 2005-10-02 Dan Williams <dcbw@redhat.com>
15093 * Shorten time taken to sleep by fastpathing bits of device deactivation
15094 necessary for sleep.
15096 * Fix issue where deactivating a device might deactivate the active
15097 VPN connection, even if the VPN was not using the device.
15099 2005-10-02 Dan Williams <dcbw@redhat.com>
15101 * gnome/applet/applet.c
15102 - Adjust signal strength -> icon mapping values slightly
15103 (so that 51% signal doesn't show a 75% icon) by adding
15104 5% to the values. ex: > 5% now shows 25% icon, > 30%
15105 shows 50% icon, etc.
15107 2005-09-29 Robert Love <rml@novell.com>
15109 * src/NetworkManager.c: removed unused variable.
15111 2005-09-28 Dan Williams <dcbw@redhat.com>
15113 Support for named + DBus, using Red Hat DBus patches for named. You
15114 can find those patches here, with "dbus" in the patch's filename:
15116 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15118 Don't forget the named dbus service file either.
15120 Instead of writing a config file and spawing a named process, NM will
15121 use an already-running dbus-enabled named if it finds one. NM will
15122 update named's forwarder configuration on the fly using dbus.
15124 If there is no dbus-enabled named running, NM will automatically fall
15125 back to writing the most-recent DNS server information to /etc/resolv.conf
15126 and calling nm_system_update_dns() to kick the system's resolver.
15128 Accordingly, all named-related configure-time options have been removed.
15130 2005-09-26 Robert Love <rml@novell.com>
15132 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15134 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15135 bug in error path if "ASKPASSWORD" is "no".
15137 2005-09-26 Robert Love <rml@novell.com>
15139 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15140 comment in /etc/resolv.conf -- ';' is not.
15142 2005-09-19 Dan Williams <dcbw@redhat.com>
15144 * src/backends/NetworkManagerRedHat.c:
15145 * src/backends/NetworkManagerDebian.c:
15146 * src/backends/NetworkManagerSlackware.c:
15147 * src/backends/NetworkManagerGentoo.c:
15148 * src/backends/NetworkManagerSUSE.c:
15149 Fix invocations of "/sbin/ip address" to use short form instead
15151 2005-09-19 Christopher Aillon <caillon@redhat.com>
15153 * src/nm-dbus-device.c: Don't assert when getting
15154 addresses of a not yet connected interface.
15156 * gnome/applet/applet.c: Free icons if loading fails.
15157 Use translator-credits so translators can make themselves known.
15159 2005-09-15 Christopher Aillon <caillon@redhat.com>
15161 * src/NetworkManagerAP.c:
15162 * src/NetworkManagerAP.h:
15163 * src/NetworkManagerDevice.c:
15164 Set a blacklist for certain common manufacturer default ESSIDs:
15165 APs with these ESSIDs are extremely likely to be completely
15166 different networks: connecting to one should not make NM
15167 auto-connect to every other AP with the same default ESSID.
15169 2005-09-12 Christopher Aillon <caillon@redhat.com>
15171 * gnome/applet/wireless-applet.glade:
15172 The passphrase entry should also activate the default
15174 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15176 * gnome/applet/applet-dbus-devices.c:
15177 * gnome/applet/applet.c:
15178 * gnome/applet/nm-device.c:
15179 * gnome/applet/nm-device.h:
15180 * src/NetworkManagerUtils.c:
15181 * src/NetworkManagerUtils.h:
15182 * src/nm-dbus-device.c:
15183 I've got a fever, and the only cure for it is less ioctl.
15184 Make NM push IP data rather than make the applet open a socket
15187 2005-09-10 Christopher Aillon <caillon@redhat.com>
15189 * gnome/applet/applet.c:
15190 * gnome/applet/applet-dbus-devices.c:
15191 * gnome/applet/applet-dbus-info.c:
15192 * gnome/applet/passphrase-dialog.c:
15193 * gnome/libnm_glib/libnm_glib.c:
15194 * gnome/vpn-properties/nm-vpn-properties.c:
15196 * src/backends/NetworkManagerRedHat.c:
15197 * src/named-manager/nm-named-manager.c:
15198 * src/NetworkManagerAPList.c:
15199 * src/NetworkManager.c:
15200 * src/NetworkManagerDbus.c:
15201 * src/NetworkManagerDevice.c:
15202 * src/NetworkManagerPolicy.c:
15203 * src/NetworkManagerSystem.c:
15204 * src/nm-dbus-device.c:
15205 * src/nm-dbus-nm.c:
15206 * src/vpn-manager/nm-vpn-manager.c:
15207 * src/vpn-manager/nm-vpn-service.c:
15208 * test/libnm_glib_test.c:
15209 * test/nminfotest.c:
15210 * test/nmtestdevices.c:
15211 Fix a bunch of 'unused variable' compiler warnings
15213 * NetworkManager.h:
15214 * gnome/applet/applet-dbus-info.c:
15215 * gnome/applet/applet-dbus-info.h:
15216 * gnome/applet/applet.c:
15217 * gnome/applet/applet.h:
15218 * src/NetworkManager.c:
15219 * src/NetworkManagerDbus.c:
15220 * src/NetworkManagerDbus.h:
15221 * src/NetworkManagerDevice.c:
15222 * src/NetworkManagerDevice.h:
15223 * src/NetworkManagerMain.h:
15224 * src/NetworkManagerWireless.c:
15225 * src/NetworkManagerWireless.h:
15226 * src/nm-dbus-nm.c:
15227 Make NetworkManager be smart about how frequently to scan
15228 based on its current state. Remove the UI for choosing when
15229 to scan. Scanning still may disabled completely by the user
15230 via the "Wireless Enabled" menu item.
15232 2005-09-09 Christopher Aillon <caillon@redhat.com>
15234 * gnome/applet/applet.c:
15235 Also overlay the vpn connecting icons onto the wired icon,
15238 * gnome/vpn-properties/nm-vpn-properties.glade:
15239 Clean up a few strings to use better grammar and proper casing.
15241 2005-09-08 Christopher Aillon <caillon@redhat.com>
15243 * gnome/applet/vpn-connection.c:
15244 * gnome/applet/vpn-connection.h:
15245 Add nmwa_vpn_connection_is_activating ()
15247 * gnome/applet/applet.c:
15248 * gnome/applet/applet.h:
15249 * gnome/applet/icons/nm-vpn-connecting*.png:
15250 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15251 the user know something's happening between clicking the VPN item and it
15252 actually being connected.
15254 2005-09-07 Christopher Aillon <caillon@redhat.com>
15256 * gnome/applet/applet-dbus-info.c: need to free attributes in the
15257 failure case as well.
15259 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
15261 * gnome/panel/eggtrayicon.[ch]:
15262 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15264 2005-09-07 Dan Williams <dcbw@redhat.com>
15266 Patch from Bill Moss <bmoss@clemson.edu>
15267 * src/applet-dbus.c
15268 - (nmwa_dbus_filter): strip whitespace from beginning
15269 and end of VPN login banner
15271 2005-09-07 Dan Williams <dcbw@redhat.com>
15273 * The great VPN Manager rewrite of 2005
15275 2005-09-07 Christopher Aillon <caillon@redhat.com>
15277 * gnome/applet/menu-items.c:
15278 * gnome/applet/nm-device.c:
15279 * gnome/applet/wireless-network.c:
15280 * gnome/libnm_glib/libnm_glib.c:
15281 * src/NetworkManagerDbusUtils.c:
15282 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15283 g_malloc0 doesn't return NULL
15285 2005-09-06 Dan Williams <dcbw@redhat.com>
15287 Patch from Tomislav Vujec <tvujec@redhat.com>
15288 * src/NetworkManagerDevice.c
15289 - (nm_get_device_by_udi): don't return a device when we
15290 actually didn't find what we were looking for
15292 2005-09-06 Christopher Aillon <caillon@redhat.com>
15294 * gnome/applet/applet-dbus-devices.c:
15295 * gnome/applet/applet-dbus-devices.h:
15296 * gnome/applet/applet-dbus.c:
15297 * src/NetworkManagerDbus.c:
15298 * src/NetworkManagerDbus.h:
15299 * src/NetworkManagerDevice.c:
15300 * src/nm-dbus-device.c:
15301 Make NM push updates about active device strength when it changes,
15302 rather than having the applet poll every 2s.
15304 2005-09-05 Christopher Aillon <caillon@redhat.com>
15306 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15307 network_device_set_strength
15309 2005-09-04 Dan Williams <dcbw@redhat.com>
15311 Patch from Bill Nottingham <notting@redhat.com>
15312 * src/NetworkManagerDevice.c
15313 - (nm_device_activation_cancel): reset the quit_activation flag
15315 2005-09-04 Dan Williams <dcbw@redhat.com>
15317 * src/nm-activation-request.c
15318 - (nm_act_request_unref): actually free the structure,
15319 which we didn't seem to be doing before
15321 2005-09-04 Dan Williams <dcbw@redhat.com>
15323 Patch from John Palmieri <johnp@redhat.com>
15324 * gnome/applet/applet-dbus-devices.c
15325 - Fix up unreffing of DBusMessage objects
15327 2005-09-04 Dan Williams <dcbw@redhat.com>
15329 Patch from John Palmieri <johnp@redhat.com>
15330 * gnome/applet/nm-device.c
15331 - (nm_device_unref): clear network_device's memory _before_ freeing it
15333 2005-09-02 Christopher Aillon <caillon@redhat.com>
15335 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15337 2005-09-02 Bill Nottingham <notting@redhat.com>
15339 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15341 2005-09-01 Dan Williams <dcbw@redhat.com>
15343 * src/NetworkManager.c
15344 - (nm_remove_device_from_list): rename to nm_remove_device
15345 - (nm_hal_device_removed): call nm_remove_device()
15347 * src/NetworkManagerDevice.c
15348 - Change the NMWirelessScanCB member 'reschedule' which
15349 wasn't used to 'force' to indicate that we need to
15350 force a scan when adding a device
15353 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15354 from the device list
15355 - (nm_dbus_nm_wake): Re-add all devices to the device list
15357 2005-09-01 Robert Love <rml@novell.com>
15359 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15360 and the check "!iface" in the error case is probably never true.
15362 2005-09-01 Dan Williams <dcbw@redhat.com>
15364 Patch from Bill Nottingham <notting@redhat.com>
15365 * src/backends/NetworkManagerRedHat.c
15366 - Add initial dialup support to Red Hat/Fedora backend
15368 2005-09-01 Dan Williams <dcbw@redhat.com>
15370 * gnome/applet/applet-dbus-devices.c
15371 - Sort both wireless networks and devices again, which got
15372 broken when removing threading
15374 2005-09-01 Christopher Aillon <caillon@redhat.com>
15376 * gnome/applet/applet.c:
15377 Only show the "Stop/Start All Wireless Devices" menuitem
15378 if we actually have wireless devices.
15380 * gnome/applet/applet-dbus-info.c:
15381 * gnome/applet/applet.c:
15382 * gnome/applet/other-network-dialog.c:
15383 * gnome/applet/vpn-password-dialog.c:
15384 Drop the gtk_dialog_run () calls in favor of connecting to
15385 "response" signals, needed now that the applet is not threaded.
15387 2005-08-31 Dan Williams <dcbw@redhat.com>
15389 Patch from Bill Moss <bmoss@clemson.edu>
15390 * src/NetworkManagerDevice.c
15391 - (nm_device_wireless_scan): fix scan timeout values
15393 2005-08-30 Dan Williams <dcbw@redhat.com>
15395 * gnome/applet/wireless-applet.glade
15396 - HIG-ify the Other Wireless Networks dialog a bit more
15397 - Fix some potential segfaults in the info dialog
15399 2005-08-30 Dan Williams <dcbw@redhat.com>
15401 * gnome/applet/applet-dbus-devices.c
15402 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15404 2005-08-30 Dan Williams <dcbw@redhat.com>
15406 * gnome/applet/applet-dbus.[ch]
15407 - Remove all the nmwa_dbus_call_method_xxxx functions since
15408 they weren't being used anyway
15410 2005-08-30 Bastien Nocera <hadess@hadess.net>
15412 * test/nmtestdevices.c: (print_usage), (main):
15413 Check the number of arguments, and fix a typo
15415 2005-08-29 Dan Williams <dcbw@redhat.com>
15417 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15418 * gnome/applet/applet.c
15419 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15421 2005-08-29 Dan Williams <dcbw@redhat.com>
15424 - Don't use threads any more. Anything that blocks
15425 (like gtk_dialog_run()) will have to get fixed up which
15426 should happen quickly. We really only had threads to make
15427 the animation smooth, and when everything got converted over
15428 to DBus Pending Calls, the need for threads kind of went away
15430 2005-08-29 Christopher Aillon <caillon@redhat.com>
15432 * gnome/applet/applet.c: Draw VPN connections as radio items
15433 since we don't yet support multiple VPNs.
15434 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15435 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15437 2005-08-29 Dan Williams <dcbw@redhat.com>
15439 Patch from j@bootlab.org
15440 - Make --without-named work
15441 - Make --with-dhcdbd work correctly
15443 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
15445 * configure.in: Added "ca" to ALL_LINGUAS.
15447 2005-08-26 Christopher Aillon <caillon@redhat.com>
15449 * Fix up VPN state handling between the applet and NetworkManager,
15450 so that the applet doesn't show a VPN as connected when one
15452 - The applet no longer has a pointer to the active VPN's
15453 name, but tracks each VPNs state individually
15454 - NM no longer has a "getActiveVPNConnection" method
15455 - NM no longer broadcasts the "VPNConnectionChange" signal
15456 - NM now broadcasts a "VPNConnectionStateChange" signal
15457 whenever the state of a VPN changes
15459 2005-08-26 Dan Williams <dcbw@redhat.com>
15461 * gnome/applet/applet-dbus-devices.c
15462 gnome/applet/applet-dbus-vpn.c
15463 - Remove calls to dbus_pending_call_ref() because we already
15464 "own" the pending call
15465 - Remove calls to dbus_pending_call_get_completed() because
15466 when we are in the callback, the pending call is completed
15469 2005-08-22 Dan Williams <dcbw@redhat.com>
15471 Patch by Bill Moss <bmoss@clemson.edu>
15472 * src/dhcp-manager/nm-dhcp-manager.c
15473 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15474 some time to send out a RELEASE if they like
15476 2005-08-22 Dan Williams <dcbw@redhat.com>
15478 Noticed by Bill Moss <bmoss@clemson.edu>
15479 * src/NetworkManagerDbus.c
15480 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15481 instead of just cancelling its activation
15483 * src/NetworkManagerDevice.c
15484 - (nm_device_deactivate): some small cleanups
15485 - (nm_device_set_user_key_for_network): deactivate the device
15486 instead of just cancelling its activation
15488 2005-08-22 Dan Williams <dcbw@redhat.com>
15490 Noticed by Bill Moss <bmoss@clemson.edu>
15491 * src/NetworkManagerDevice.c
15492 - (nm_device_wireless_scan): fix scan timeout, we were
15493 waiting way too long for scans to complete
15495 2005-08-22 Dan Williams <dcbw@redhat.com>
15497 Patch from j@bootlab.org:
15498 * src/backends/NetworkManagerDebian.c
15499 - Make the Debian backend work for static IP again
15501 2005-08-20 Christopher Aillon <caillon@redhat.com>
15503 * gnome/applet/other-network-dialog.c:
15504 The "Create New Network" and "Connect to Other Network"
15505 dialogs share alot of code, but shouldn't share a window
15506 title. Give them different ones.
15508 * gnome/applet/wireless-applet.glade:
15509 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15510 Some more minor UI tweaks.
15512 2005-08-19 Christopher Aillon <caillon@redhat.com>
15514 * gnome/applet/other-network-dialog.c:
15515 * gnome/applet/wireless-applet.glade:
15516 Also need mnemonic widgets, and underline enabled.
15518 2005-08-19 Dan Williams <dcbw@redhat.com>
15520 * vpn-daemons/vpnc/nm-vpnc-service.c
15521 - (vpnc_watch_cb): remove no-longer-relevant comment
15522 - (write_config_option): new function, helper to write
15523 config options to vpnc's stdin
15524 - (nm_vpnc_config_write): use the new helper, make the
15527 2005-08-19 Christopher Aillon <caillon@redhat.com>
15529 * gnome/applet/passphrase-dialog.c:
15530 * gnome/applet/wireless-applet.glade:
15531 Make the passphrase dialog response based, and treat
15532 responses other than OK (such as Esc, [X]) as a cancel.
15534 2005-08-18 Christopher Aillon <caillon@redhat.com>
15536 * initscript/Gentoo/NetworkManager:
15537 * initscript/RedHat/NetworkManager:
15538 * initscript/RedHat/NetworkManagerDispatcher:
15539 * initscript/SUSE/networkmanager:
15540 CVS remove these in place of .in replacements
15543 * initscript/Gentoo/NetworkManager.in:
15544 * initscript/RedHat/NetworkManager.in:
15545 * initscript/RedHat/NetworkManagerDispatcher.in:
15546 * initscript/SUSE/networkmanager.in:
15547 These scripts now are generated so they work still when
15548 NM is built using a bindir other than /usr/bin
15550 2005-08-18 Dan Williams <dcbw@redhat.com>
15552 * gnome/applet/main.c
15553 - Revert previous change for --no-session since
15554 --sm-disable does the same thing
15556 2005-08-18 Dan Williams <dcbw@redhat.com>
15558 * gnome/applet/applet-dbus-info.c
15559 - (nmi_dbus_create_error_message): new function
15560 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15561 functions. Also don't check for both device _and_ network before
15562 asking for a user's key, because we may not have gotten all our
15563 networks back from NM quite yet (due to the dbus pending calls
15564 coming in later). Fixes a hang in NM/nm-applet.
15566 * src/NetworkManagerDbus.c
15567 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15568 slightly more sane manner, even though we are still broken for
15569 certain other error conditions.
15570 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15571 to the info-daemon too
15573 * src/NetworkManagerDevice.c
15574 - Fix some debug messages to be info messages instead
15576 2005-08-18 Dan Williams <dcbw@redhat.com>
15578 * gnome/applet/main.c
15579 - Add new "--no-session" parameter that disables applet
15580 session management, ie for testing
15582 2005-08-18 Christopher Aillon <caillon@redhat.com>
15584 * gnome/applet/other-network-dialog.c:
15585 * gnome/applet/wireless-applet.glade: More mnemonics
15587 2005-08-17 Robert Love <rml@novell.com>
15589 * initscript/SUSE/networkmanager: update
15591 2005-08-17 Dan Williams <dcbw@redhat.com>
15593 * Tag NM_0_4_1_RELEASE
15595 2005-08-17 Christopher Aillon <caillon@redhat.com>
15597 * gnome/applet/applet.c: More translatable string cleanup
15600 2005-08-17 Dan Williams <dcbw@redhat.com>
15602 * gnome/applet/applet-dbus-info.c
15603 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15604 from the dbus message, which tells us to unconditionally
15605 ask the user for a new key. Otherwise, we pull the key from
15606 the keyring and return it. If we fail to get the key from the
15607 keyring, we ask the user for a new key.
15608 - (nmi_dbus_get_network_key): new function to grab the key for
15609 an essid from the keyring.
15610 - (nmi_dbus_get_network_properties): don't access the keyring here.
15611 Also, don't return any key in the dbus message.
15613 * src/NetworkManagerDbus.[ch]
15614 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15615 indicate that we unconditionally want a new key. This function
15616 is now also used to get keys from the info-daemon which are
15617 pre-stored, not just for asking the user for a new key. The
15618 "new_key" parameter indicates whether or not we wish to ask the
15619 user for a new key.
15620 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15621 info-daemon in the return message, so use NULL instead. The
15622 key will be filled in at connect time by calling
15623 nm_dbus_get_user_key_for_network()
15625 * src/NetworkManagerDevice.c
15626 - (nm_device_wireless_configure): update for "new_key" param to
15627 nm_dbus_get_user_key_for_network(). We initially set new_key
15628 to FALSE to see if we have a stored key in the info-daemon, but
15629 if the connection is unsuccessful at this stage we request a
15632 2005-08-17 Dan Williams <dcbw@redhat.com>
15634 * gnome/applet/icons/nm-no-connection.png
15635 gnome/applet/icons/nm-device-wired.png
15636 - Use Diana's new RJ45 connector icons
15638 2005-08-17 Dan Williams <dcbw@redhat.com>
15640 * src/NetworkManagerPolicy.c
15641 - (nm_policy_device_change_check): clarify switching rules if
15642 both new and old devices are valid; mainly, don't switch
15643 away from user-requested wireless connection back to a wired
15646 2005-08-17 Dan Williams <dcbw@redhat.com>
15648 * gnome/applet/Makefile.am
15649 - Relocate the applet to /usr/bin since it is no longer
15650 executed by anything, but directly by the user
15652 2005-08-17 Dan Williams <dcbw@redhat.com>
15654 Patch from Bill Moss <bmoss@clemson.edu>
15656 * gnome/applet/applet-dbus-info.[ch]
15657 - (nmi_save_network_info): save timestamp for network if it
15658 was a change requested by the user
15659 - (nmi_dbus_update_network_info): get user_requested from dbus
15660 message and pass to nmi_save_network_info()
15662 * gnome/applet/applet.c
15663 - (nmwa_update_network_timestamp): remove
15664 - (nmwa_menu_item_activate): don't set timestamp on networks
15665 here, only after a successful connect in nmi_save_network_info()
15667 * src/NetworkManagerDbus.[ch]
15668 - (nm_dbus_update_network_info): pass user_requested into the
15671 * src/NetworkManagerPolicy.c
15672 - (nm_policy_activation_finish): pass user_requested to
15673 nm_dbus_update_network_info()
15675 2005-08-16 Robert Love <rml@novell.com>
15677 * gnome/applet/applet.c: Better "Dial Up" menu item.
15679 2005-08-16 Robert Love <rml@novell.com>
15681 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15682 "Connection Information" menu item.
15684 2005-08-16 Dan Williams <dcbw@redhat.com>
15686 Patch from j@bootlab.org
15687 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15689 * configure.in: allow specifying the path to dhcdbd
15691 2005-08-16 Robert Love <rml@novell.com>
15693 Patch from j@bootlab.org
15694 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15695 src/backends/interface_parser.h: Debian dialup support.
15697 2005-08-16 Christopher Aillon <caillon@redhat.com>
15699 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15700 * gnome/applet/applet.c: Add some mnemonics for VPNC
15702 * vpn-daemons/.cvsignore: fix this up a little bit
15704 2005-08-16 Robert Love <rml@novell.com>
15706 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15709 2005-08-16 Christopher Aillon <caillon@redhat.com>
15711 * gnome/applet/applet.c: Split markup out of translatable strings
15712 and clean up logic a little bit. (fixes #309012)
15714 2005-08-15 Christopher Aillon <caillon@redhat.com>
15716 * gnome/vpn-properties/nm-vpn-properties.c:
15717 * gnome/vpn-properties/nm-vpn-ui-interface.h:
15718 * vpn-daemons/vpnc/properties/nm-vpnc.c:
15719 Makeshift fix to remove newlines from translatable strings.
15720 Note that we now return an allocated string, so callers of
15721 get_confirmation_details () must now call g_free () on the
15722 result. (fixes #309033).
15724 2005-08-12 Robert Love <rml@novell.com>
15726 * gnome/applet/applet-dbus.c: remove newlines from translatable
15727 strings--not needed here anyway. (fix b.g.o #309011)
15728 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15730 2005-08-11 Robert Love <rml@novell.com>
15732 * gnome/applet/applet.c: mark string as translatable.
15734 2005-08-11 Robert Love <rml@novell.com>
15736 * initscript/SUSE/networkmanager: update.
15738 2005-08-11 Dan Williams <dcbw@redhat.com>
15740 * src/nm-dhcp-manager.c
15741 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
15742 an gateway returned from DHCP, try to use the address of the DHCP
15743 server as the gateway instead. Found by Ralf Ertzinger.
15745 2005-08-10 Robert Love <rml@novell.com>
15747 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
15748 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
15750 2005-08-10 Dan Williams <dcbw@redhat.com>
15752 Patch from Bill Moss <bmoss@clemson.edu>
15753 * Consolidate writes of access point information updates to the info daemon
15754 so that we only do it when the connection to the access point was
15755 successful. Also consolidates updates to GConf in the Gnome applet.
15757 * src/nm-netlink-monitor.c
15758 - Silence compile warning when calling g_object_new()
15760 2005-08-08 Dan Williams <dcbw@redhat.com>
15762 Patch from Steev <steev@steev.net>:
15763 * src/backends/NetworkManagerGentoo.c
15764 - Stub new dialup backend functions
15766 2005-08-08 Dan Williams <dcbw@redhat.com>
15768 Patch from Colin Slater:
15769 * src/backends/NetworkManagerGentoo.c
15770 - (nm_system_update_dns): Fix exit status check for restarting
15773 2005-08-05 Robert Love <rml@novell.com>
15775 * NetworkManager.h,
15776 gnome/applet/applet-dbus-devices.c,
15777 gnome/applet/applet-dbus-devices.h,
15778 gnome/applet/applet-dbus.c,
15779 gnome/applet/applet.c,
15780 gnome/applet/applet.h,
15781 src/NetworkManager.c,
15782 src/NetworkManagerMain.h,
15783 src/NetworkManagerSystem.h,
15784 src/backends/NetworkManagerRedHat.c,
15785 src/backends/NetworkManagerSuSE.c,
15786 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
15788 2005-08-05 Robert Love <rml@novell.com>
15790 * gnome/applet/other-network-dialog.c: default the adhoc network to the
15791 machine's hostname to make adhoc creation idiot-proof.
15793 2005-08-04 Robert Love <rml@novell.com>
15795 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
15798 2005-08-04 Dan Williams <dcbw@redhat.com>
15800 * gnome/applet/applet-dbus-info.c
15801 gnome/applet/applet-dbus-info.h
15802 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
15803 to store key, key type, and auth method rather than just auth method
15804 - (nmi_dbus_update_network_info): new function
15805 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
15807 * gnome/applet/passphrase-dialog.c
15808 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
15809 of saving the info ourselves
15811 * gnome/libnm_glib/libnm_glib.c
15812 - Remove the stupid version check for dbus
15814 * src/NetworkManagerAP.c
15815 src/NetworkManagerAP.h
15816 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
15818 * src/NetworkManagerDbus.c
15819 src/NetworkManagerDbus.h
15820 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
15821 more than just the auth method
15823 * src/NetworkManagerDevice.c
15824 - Update network info at the appropriate times
15826 2005-07-29 Ray Strode <rstrode@redhat.com>
15828 * src/NetworkManager.c (nm_info_handler): don't use input as format
15829 string (Spotted by Ian Jackson).
15831 2005-07-27 Dan Williams <dcbw@redhat.com>
15835 - Random cleanups of spacing
15837 * gnome/applet/applet.h
15838 gnome/applet/other-network-dialog.c
15839 gnome/applet/passphrase-dialog.c
15840 - Conslidate usage of NMWAEncryptionKeyTypes enum
15842 Patch from Bill Moss:
15843 - Make Other Wireless Networks work again with encryption keys
15845 2005-07-26 Dan Williams <dcbw@redhat.com>
15847 Patch from Steev <steev@steev.net>:
15848 * src/backends/NetworkManagerGentoo.c
15849 src/backends/Makefile.am
15850 - Fix up Gentoo backend
15852 2005-07-26 Robert Love <rml@novell.com>
15854 * src/backends/NetworkManagerSuSE.c: misc. cleanup
15856 2005-07-25 Robert Love <rml@novell.com>
15858 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
15859 in the same group as the wireless networks, since they are all
15860 mutually exclusive.
15862 2005-07-24 Ray Strode <rstrode@redhat.com>
15864 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
15865 remove unneeded NULL arg from g_object_new(). Any
15866 warnings caused by not having the extra NULL are just a
15867 result of a bug in glib 2.7.0 - 2.7.2.
15869 2005-07-22 Robert Love <rml@novell.com>
15871 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
15873 2005-07-22 Robert Love <rml@novell.com>
15875 * src/nm-netlink-monitor.c: g_object_new() needs at least three
15876 parameters (gcc 4.0.2 warning fix).
15878 2005-07-18 Robert Love <rml@novell.com>
15880 Suggested by Aaron Bockover (abockover@novell.com)
15881 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
15883 * gnome/applet/passphrase-dialog.c: ditto
15884 * gnome/applet/wireless-applet.glade: ditto
15886 2005-07-13 Dan Williams <dcbw@redhat.com>
15888 Patch from Ray Strode <halfline@gmail.com>
15889 * vpn-daemons/vpnc/nm-vpnc-service.c
15890 - Don't let vpnc daemonize, fixes some races with PID file reading
15892 2005-07-13 Dan Williams <dcbw@redhat.com>
15894 Patch from Ray Strode <halfline@gmail.com>
15895 * Random cleanups for strict CFLAGS
15897 2005-07-07 Dan Williams <dcbw@redhat.com>
15899 Patch from Derek Atkins <warlord@MIT.EDU>
15900 * src/nm-dbus-net.c:
15901 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
15903 2005-07-07 Dan Williams <dcbw@redhat.com>
15905 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
15906 * src/backends/NetworkManagerGentoo.c
15907 - Gentoo backend Static IP nameserver fixes
15908 - General Gentoo backend goodness
15910 2005-07-07 Dan Williams <dcbw@redhat.com>
15912 Patch from Bastien Nocera:
15913 * gnome/applet/applet.c
15914 - Fix up error reporting when icons or glade files are missing
15916 2005-07-07 Robert Love <rml@novell.com>
15918 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
15919 are not any VPN connections above it.
15921 2005-07-07 Robert Love <rml@novell.com>
15923 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
15925 2005-07-05 Robert Love <rml@novell.com>
15927 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
15930 2005-07-05 Robert Love <rml@novell.com>
15932 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
15933 on wired or unencrypted wireless.
15935 2005-07-01 Robert Love <rml@novell.com>
15937 * src/NetworkManagerSystem.c: Print the error via strerror().
15939 2005-06-30 Robert Love <rml@novell.com>
15941 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
15942 then exit if the glade file is not found. currently the application
15945 2005-06-30 Robert Love <rml@novell.com>
15947 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
15948 explicitly up all interfaces on wake from sleep.
15950 2005-06-30 Robert Love <rml@novell.com>
15952 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
15953 with information about the currently active connection.
15954 * gnome/applet/applet.h: (ditto)
15955 * gnome/applet/wireless-applet.glade: (ditto), new file
15957 2005-06-30 Robert Love <rml@novell.com>
15959 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
15960 * src/nm-dbus-nm.c: print when we sleep and wake up.
15961 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
15962 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
15963 in /sbin unless D-BUS is, folks).
15964 * README: update to reflect nm-applet replacing NetworkManagerInfo.
15966 2005-06-27 Robert Love <rml@novell.com>
15968 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
15971 2005-06-27 Robert Love <rml@novell.com>
15973 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
15976 2005-06-26 Robert Love <rml@novell.com>
15978 * src/NetworkManagerDevice.c: be specific about which device in
15981 2005-06-23 Adam Weinberger <adamw@gnome.org>
15983 * src/nm-netlink-monitor.c: correct spelling error.
15985 2005-06-23 Robert Love <rml@novell.com>
15987 * gnome/applet/applet-dbus-info.c: gnome keyring support!
15988 * gnome/applet/passphrase-dialog.c: more of that keyring!
15990 2005-06-23 Robert Love <rml@novell.com>
15992 * configure.in: remove extraneous GNOMEKEYRING directives.
15993 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
15994 * gnome/applet/applet.c: nmwa_icons_init: make style local.
15995 * gnome/applet/passphrase-dialog.c: whitespace.
15997 2005-06-23 Robert Love <rml@novell.com>
15999 * src/NetworkManagerDevice.c: division in assignment was flipped.
16001 2005-06-23 David Zeuthen <david@fubar.dk>
16003 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16004 signal to the child to indicate that we got what we wanted when we
16005 see two new-lines right after each other.
16006 (nmwa_vpn_request_password): Pass a structure with several members
16007 instead of just the passwords
16009 2005-06-23 Dan Williams <dcbw@redhat.com>
16011 * src/NetworkManager.c
16012 src/NetworkManagerMain.h
16013 - (nm_get_hal_ctx): new function, move Hal initialization code here
16014 - (nm_hal_init): new function, init libhal context then add devices
16015 - (nm_hal_deinit): new function, clean up libhal context
16016 - (nm_data_free): Move Hal cleanup here
16017 - (main): check whether Hal is running, and if so, get a list of
16018 network devices from it
16020 * src/NetworkManagerDbus.c
16021 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16022 and when it appears, get a list of network devices from it. If
16023 Hal goes away, clean up the libhal context
16025 2005-06-22 Robert Love <rml@novell.com>
16027 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16028 permissions of scripts before executing.
16030 2005-06-21 Robert Love <rml@novell.com>
16032 * initscript/SUSE/networkmanager: update.
16033 * src/backends/NetworkManagerSuSE.c: cleanup.
16035 2005-06-21 Robert Love <rml@novell.com>
16037 * gnome/applet/applet.c: use menu mnemonics.
16038 * gnome/applet/menu-items.c: (ditto)
16040 2005-06-21 Robert Love <rml@novell.com>
16042 * applet/applet-dbus-devices.c: mark non-static functions static.
16043 * applet/applet-dbus-vpn.c: (ditto)
16044 * applet/applet.c: (ditto)
16045 * applet/nm-device.h: (ditto)
16046 * applet/other-network-dialog.c: (ditto)
16047 * applet/passphrase-dialog.c: (ditto)
16048 * NetworkManager.c: (ditto)
16049 * NetworkManagerDbus.c: (ditto)
16050 * NetworkManagerDevice.c: (ditto)
16051 * NetworkManagerPolicy.c: (ditto)
16052 * NetworkManagerUtils.c: (ditto)
16053 * NetworkManagerWireless.c: (ditto)
16054 * NetworkManagerWireless.h: (ditto)
16055 * nm-netlink-monitor.c: (ditto)
16056 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16057 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16058 * autoip.c: include autoip.h.
16059 * autoip.h: new file. define get_autoip().
16060 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16061 * NetworkManagerDbus.h: remove duplicate definitions.
16063 2005-06-20 Robert Love <rml@novell.com>
16065 * Makefile.am: Add missing intltool-foo.in generated files to
16066 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16067 with the start of stuff to cleanup on 'distclea'.
16068 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16069 stuff right and 'distcheck' works.
16070 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16071 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16072 Makefile.am for each. And systray/Makefile needs to be redone.
16074 2005-06-19 Dan Williams <dcbw@redhat.com>
16076 * src/NetworkManagerDevice.c
16077 - (nm_device_wireless_process_scan_results): scan every 20s when
16078 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16080 2005-06-19 Dan Williams <dcbw@redhat.com>
16082 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16084 2005-06-18 Ray Strode <rstrode@redhat.com>
16086 * src/nm-netlink-monitor.c
16087 (nm_netlink_monitor_event_handler): check for the presence
16088 of either error condition not both.
16090 (nm_netlink_monitor_error_handler): emit error signal if
16093 (nm_netlink_monitor_event_handler),
16094 (nm_netlink_monitor_error_handler),
16095 (nm_netlink_monitor_disconnect_handler): if an
16096 assertion fails disconnect the event handler to prevent
16099 * src/nm-netlink-monitor.h: add new error condition
16100 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16102 2005-06-18 Ray Strode <rstrode@redhat.com>
16104 * src/nm-netlink-monitor.c
16105 (nm_netlink_monitor_event_handler): remove bogus < 0
16106 check on unsigned value and return early if the kernel
16107 didn't send any bytes.
16109 2005-06-17 Robert Love <rml@novell.com>
16111 * initscript/SUSE/networkmanager: Change the Provides and default
16114 2005-06-16 Dan Williams <dcbw@redhat.com>
16116 Patch from Robert Love:
16117 * gnome/applet/applet.c
16118 - Beautify some applet menu item names
16120 2005-06-17 David Zeuthen <davidz@redhat.com>
16122 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16123 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16124 Also add new methods can_export, import_file and export.
16126 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16129 * gnome/vpn-properties/nm-vpn-properties.c:
16130 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16131 nm-vpn-ui-interface.h.
16132 (update_edit_del_sensitivity): Also update "Export" sensitivity
16133 (add_vpn_connection): Also add new SVC_NAME column
16134 (import_settings): New function
16135 (retrieve_data_from_selected_connection): New function
16136 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16138 (export_cb): New function
16139 (init_app): Also setup the "export" widget
16140 (main): Support the --import-service and --import-file commandline
16143 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16146 2005-06-16 Dan Williams <dcbw@redhat.com>
16148 Patch from Robert Love:
16149 * gnome/applet/menu-items.c
16150 - (network_menu_item_new): pass -1 as wireless network
16151 menu items height size request rather than ascent / 2
16153 2005-06-16 Dan Williams <dcbw@redhat.com>
16155 * Clean up wording in Wireless Scan Methods menu items and constants
16157 2005-06-16 Robert Love <rml@novell.com>
16160 - remove gtkcell* files
16162 2005-06-15 Dan Williams <dcbw@redhat.com>
16164 Patch from Robert Love: make the applet stetic
16166 * gnome/applet/Makefile.am
16167 - Don't compile the gtkcellview and gtkcellrendererprogress files
16169 * gnome/applet/gtkcellview.h
16170 gnome/applet/gtkcellview.c
16171 gnome/applet/gtkcellrendererprogress.h
16172 gnome/applet/gtkcellrendererprogress.c
16175 * gnome/applet/menu-items.c
16176 - Progress bars are 5:1 size ratio
16177 - Use GTK progress bars rather than internal ones
16179 2005-06-15 Dan Williams <dcbw@redhat.com>
16181 Patch from Robert Love:
16182 * initscript/SUSE/networkmanager
16185 2005-06-15 Dan Williams <dcbw@redhat.com>
16187 * src/backends/NetworkManagerSuSE.c
16188 src/backends/NetworkManagerRedHat.c
16189 src/backends/NetworkManagerDebian.c
16190 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16192 2005-06-15 Dan Williams <dcbw@redhat.com>
16194 * src/backends/NetworkManagerDebian.c
16195 - Add nm_system_device_get_use_dhcp() to debian backend
16197 Patch from Kay Sievers:
16198 * src/backends/NetworkManagerSuSE.c
16199 - Update debian backend for static IP nameservers
16201 * src/NetworkManagerDevice.c
16202 - Actually set the device to use static IP or DHCP rather
16205 2005-06-15 Dan Williams <dcbw@redhat.com>
16207 Patch from Thom May:
16208 * src/backends/NetworkManagerDebian.c
16209 - Update debian backend for static IP nameservers
16211 2005-06-15 Dan Williams <dcbw@redhat.com>
16213 Patches from Robert Love:
16214 * gnome/applet/wireless-applet.glade
16215 - Tighten up wording
16217 * src/NetworkManagerDevice.c
16218 - Remove misplaced ';'
16221 initscript/Makefile.am
16222 initscript/SUSE/Makefile.am
16223 initscript/SUSE/networkmanager
16224 - Add SUSE initscript
16226 2005-06-12 David Zeuthen <davidz@redhat.com>
16228 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16230 * gnome/vpn-properties/nm-vpn-properties.glade: New file
16232 * gnome/vpn-properties/nm-vpn-properties.c: New file
16234 * gnome/vpn-properties/Makefile.am: New file
16236 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16239 * src/vpn-manager/nm-vpn-manager.c
16240 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16241 instead of just a single one
16243 * src/vpn-manager/nm-dbus-vpn.c:
16244 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16246 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16248 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
16249 Change the interface here to give a list of passwords. Also, don't
16250 require username, but do require service
16252 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16253 the binary for the auth-dialog and use that instead of putting up a
16254 dialog asking for a single password
16256 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16257 however do remember the service
16259 * gnome/applet/main.c (main): Setup i18n
16261 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16262 connection to '%s'" to the tooltip if we are connected using VPN
16263 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16264 key to determine whether we the auth-dialog needs to
16265 reprompt. Also cope with the fact that the auth-dialog now returns
16266 an array of passwords.
16267 (nmwa_menu_configure_vpn_item_activate): New handler for
16268 "Configure VPN..." menu item
16269 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16270 (is_vpn_available): New function to determine if we got any
16271 NM-compatible VPN software installed
16272 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16273 items only if we have NM-compatible VPN software installed
16274 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16275 logic for detecting when VPN connections are removed
16277 * gnome/applet/applet-dbus.h: Removed the prototypes for
16278 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16279 since these are defined elsewhere
16281 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16282 function used to keep track of whether the last attempt succeded
16283 (nmwa_dbus_filter): Update last_attempt according to whether the
16284 VPN connection could be established or not
16286 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
16287 Change prototype to take an array of passwords, not just a single
16290 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16291 update service, not user
16292 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16293 dbus_active_vpn_name is not NULL before using it
16294 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16295 string array instead of assuming a single password
16297 * gnome/applet/applet-dbus-info.c:
16298 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16299 user name; don't read from gconf
16301 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
16304 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16306 * configure.in: Add checks for gmodule-2.0.
16307 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16308 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16309 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
16312 * vpn-daemons/Makefile.am: Removed
16314 * vpn-daemons/README: New file to describe extensions points for VPN
16317 2005-06-10 Dan Williams <dcbw@redhat.com>
16319 * src/backends/NetworkManagerRedHat.c
16320 - (get_current_profile_name): new function, grab current network profile name from
16321 /etc/sysconfig/network
16322 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16323 update an IP4 Config structure's settings from it
16324 - (nm_system_device_get_system_config): if we're using static IP on this device,
16325 get DNS info from current network profile
16327 2005-06-09 Dan Williams <dcbw@redhat.com>
16329 Patch from Robert Love:
16330 * src/NetworkManagerDevice.c
16331 src/NetworkManagerUtils.c
16332 - 64-bit build fixes
16334 2005-06-09 Dan Williams <dcbw@redhat.com>
16336 Patch from Kay Sievers and Robert Love:
16338 src/backends/Makefile.am
16339 src/backends/NetworkManagerSuSE.c
16342 2005-06-09 Dan Williams <dcbw@redhat.com>
16345 - Add NMWirelessScanMethod enum for scan methods
16347 * gnome/applet/applet-dbus-devices.c
16348 - (nmwa_dbus_update_scanning_enabled_cb): remove
16349 - (nmwa_dbus_update_scanning_enabled): remove
16350 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16351 since it got removed
16352 - (nmwa_dbus_enable_scanning): remove
16354 * gnome/applet/applet-dbus-info.c
16355 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16356 update the wireless scanning method from NMI
16357 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16358 method value to NetworkManager
16359 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16361 * gnome/applet/applet-dbus-info.h
16362 - Add prototype for nmi_dbus_signal_update_scan_method
16364 * gnome/applet/applet.c
16365 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16366 Wireless Scanning menu based on current wireless scan method
16367 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16368 signal for Wireless Scanning menu items, tell NetworkManager the new method
16369 and update our menu items to make sure the right one is checked
16370 - (nmwa_set_scanning_enabled_cb): remove
16371 - (nmwa_context_menu_update): remove references to pause_scanning_item
16372 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16374 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16376 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16377 so we get notified of preference values too
16378 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16380 * gnome/applet/applet.h
16381 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16382 - Add wireless scan method member to applet data
16383 - Remove pause_scanning_item, add Wireless Scanning submenu
16385 * src/NetworkManager.c
16386 - (nm_data_new): default to NM_SCAN_METHOD_ON
16387 - (main): grab scanning method from NMI if we can
16389 * src/NetworkManagerDbus.c
16390 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16391 nm_dbus_update_wireless_scan_method()
16392 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16394 - (nm_dbus_nmi_is_running): redundant function, removed
16395 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16396 when NMI comes back
16398 * src/NetworkManagerDevice.c
16399 - (nm_device_is_activated): return TRUE if the device is activated
16400 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16401 and we are activated
16404 - (nm_dbus_nm_set_scanning_enabled): removed
16405 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16406 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16408 2005-06-09 Dan Williams <dcbw@redhat.com>
16411 src/vpn-manager/nm-vpn-service.c
16412 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16414 2005-05-27 Dan Williams <dcbw@redhat.com>
16416 * vpn-daemons/vpnc/nm-vpnc-service.c
16417 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16418 Should fix the bug where the VPN connection terminates the first time.
16420 2005-05-20 Dan Williams <dcbw@redhat.com>
16423 - Differentiate VPN config signals between bad VPN config options
16426 * gnome/applet/applet-dbus-info.h
16427 - Add prototypes for wireless network and vpn connection update functions
16429 * gnome/applet/applet-dbus.c
16430 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16432 * gnome/applet/applet.c
16433 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16435 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16436 propogation to NetworkManager
16437 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16438 notify propogation to NetworkManager
16440 * src/NetworkManagerDbus.c
16441 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16442 are updating so a network can be removed from it if necessary
16444 * src/vpn-manager/nm-vpn-manager.c
16445 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16447 * vpn-daemons/vpnc/nm-vpnc-service.c
16448 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16449 - (nm_vpnc_dbus_signal_launch_failed): remove
16450 - (nm_vpnc_dbus_signal_connect_failed): remove
16451 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16452 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16453 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16454 for new generalized error signal function, remove config file stuff
16455 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16456 we can write configuration options to it
16457 - (nm_vpnc_config_file_generate): removed
16458 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16459 - (nm_vpnc_config_options_validate): validate the config options we receive
16460 from NetworkManager to block potential exploits
16461 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16463 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16466 2005-05-16 Dan Williams <dcbw@redhat.com>
16468 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16469 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16472 2005-05-16 Dan Williams <dcbw@redhat.com>
16474 Patch from Tomislav Vujec <tvujec@redhat.com>
16475 * gnome/applet/applet-dbus-info.c
16476 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16477 GConf and pass them to NetworkManager. New key is 'routes' under
16478 the VPN connection, and should be a string list
16480 * src/NetworkManagerSystem.c
16481 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16482 set them on the device when we set the rest of the VPN config. Ensure
16483 they are in the correct format since they are passed directly to the
16486 * src/backends/NetworkManagerRedHat.c
16487 src/backends/NetworkManagerDebian.c
16488 - (nm_system_device_add_route_via_device_with_iface): new function
16490 * src/vpn-manager/nm-dbus-vpn.c
16491 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16493 * src/vpn-manager/nm-vpn-manager.c
16494 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16495 them into the IP4 config functions
16497 2005-05-15 Dan Williams <dcbw@redhat.com>
16499 From Filip Miletic:
16503 - Serbian translation added
16505 2005-05-15 Dan Williams <dcbw@redhat.com>
16507 * dispatcher-daemon/NetworkManagerDispatcher.c
16508 - (main): sync arguments with NetworkManager and the applet, now use
16509 "--no-daemon" rather than "daemon=no"
16510 - (nmd_print_usage): Fix script path in usage message
16512 2005-05-15 Dan Williams <dcbw@redhat.com>
16514 * src/NetworkManagerDevice.[ch]
16515 src/NetworkManagerPolicy.c
16516 src/NetworkManager.c
16518 - Remove the "just_added" parameter from nm_device_deactivate(). We no
16519 longer send the DeviceNoLongerActive signal unconditionally, but only
16520 when the device is actually active.
16522 * dispatcher-daemon/NetworkManagerDispatcher.c
16523 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16524 and simplify the logic
16525 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16526 we free it later on
16528 * initscript/RedHat/Makefile.am
16529 initscript/RedHat/NetworkManagerDispatcher
16530 - Add initscript for NetworkManagerDispatcher
16533 Patch from Bill Moss:
16534 * dispatcher-daemon/NetworkManagerDispatcher.c
16535 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16537 * src/NetworkManagerDbus.c
16538 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
16539 and DeviceNowActive gets signaled, then the device has a new IP address
16540 anyway. There's no need for a separate signal.
16542 * src/NetworkManagerDevice.c
16543 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16545 * src/NetworkManagerPolicy.c
16546 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16547 activates successfully. This kind of went missing when I reworked the
16550 2005-05-15 Dan Williams <dcbw@redhat.com>
16553 - Check for dhcdbd and error if its not found
16555 * src/dhcp-manager/Makefile.am
16556 src/dhcp-manager/nm-dhcp-manager.c
16557 - Use path to dhcdbd that configure found
16559 2005-05-14 Dan Williams <dcbw@redhat.com>
16561 * gnome/applet/nm-device.c
16562 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16563 sort wireless networks alphabetically
16565 * gnome/applet/applet-dbus-devices.c
16566 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16567 before copying them over to the GUI
16569 2005-05-14 Dan Williams <dcbw@redhat.com>
16571 * src/NetworkManager.c
16572 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16573 fixes a deadlock on shutdown with a VPN connection active. This function locks
16574 the device list, as does nm_get_active_device() which is called from
16575 nm_vpn_manager_deactivate_vpn_connection().
16577 2005-05-14 Dan Williams <dcbw@redhat.com>
16580 - Add signals for VPN Launch and Connect failures
16582 * gnome/applet/applet-dbus.c
16583 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16585 * gnome/applet/applet.c
16586 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16587 function to handle all VPN failure messages
16588 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
16589 function to hanlde all VPN failure messages
16590 - (show_warning_dialog): work around focus-stealing prevention
16592 * gnome/applet/other-network-dialog.c
16593 gnome/applet/passphrase-dialog.c
16594 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16595 problem where it never enabled for ASCII Key and Hex Key types
16597 * gnome/applet/wireless-applet.glade
16598 - Add window title to Other Wireless Network Dialog
16600 * src/vpn-manager/nm-dbus-vpn.c
16601 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16602 function to handle all VPN failure messages
16604 * src/vpn-manager/nm-vpn-manager.c
16605 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16607 * vpn-daemons/vpnc/nm-vpnc-service.c
16608 - (nm_vpnc_dbus_signal_launch_failed): new function
16609 - (nm_vpnc_dbus_signal_connect_failed): new function
16610 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16611 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16612 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16613 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16615 2005-05-11 Dan Williams <dcbw@redhat.com>
16617 * vpn-daemons/vpnc/nm-vpnc-service.c
16618 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16619 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16620 file exists before trying to write it out.
16622 2005-05-10 Dan Williams <dcbw@redhat.com>
16624 * gnome/applet/applet-dbus-device.c
16625 - (nmwa_dbus_set_device): remove check for valid key and key type, which
16626 prevented just entering ESSID and leaving key and key type up to
16627 NetworkManager (which should have them already cached)
16629 2005-05-08 Dan Williams <dcbw@redhat.com>
16631 * src/NetworkManagerPolicy.c
16632 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16633 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16634 fix a situation where NM is told to terminate and the device stops activation,
16635 but the main thread isn't aware of that because it would never have run
16636 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16639 * src/NetworkManagerDevice.c
16640 - (nm_device_probe_wired_link_state): cosmetic fixes
16641 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16642 we've failed to activate or been canceled.
16643 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16645 2005-05-08 Dan Williams <dcbw@redhat.com>
16647 * src/NetworkManagerWireless.c
16648 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16649 value of WEXT quality structures, and add a debug message when we cannot
16650 determine any quality % at all
16652 2005-05-08 Dan Williams <dcbw@redhat.com>
16654 * src/dhcp-manager/nm-dhcp-manager.c
16655 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16658 2005-05-06 Dan Williams <dcbw@redhat.com>
16660 * gnome/applet/applet-dbus-device.c
16661 gnome/applet/applet-dbus-info.c
16662 gnome/applet/applet-dbus.c
16663 gnome/applet/applet.c
16664 gnome/applet/applet.h
16665 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16667 * gnome/applet/applet-dbus.c
16668 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16669 so we notice when wired device's carriers come back on. Should
16670 fix issue with wired devices being grayed out even if the cable
16671 is in, for devices that support carrier detection.
16673 * gnome/applet/applet.c
16674 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16675 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16677 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16678 Fix situation where applet wouldn't respond to menu selections
16680 * src/NetworkManager.c
16681 src/NetworkManagerDevice.c
16682 src/NetworkManagerDbus.c
16683 src/NetworkManagerDbus.h
16684 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16686 * src/NetworkManagerDbus.c
16687 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16688 Remove, no longer used or relevant
16689 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16690 - (nm_dbus_schedule_device_status_change_signal): add
16692 * src/NetworkManagerDevice.c
16693 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16694 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16695 ie don't deactivate them unless explicitly told to by the user. Also send
16696 CARRIER_OFF / CARRIER_ON signals when link changes
16697 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16698 Don't print error message when device is no longer around
16699 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16700 not just during activation
16702 * src/NetworkManagerPolicy.c
16703 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16704 auto-device-selection.
16705 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16707 * src/NetworkManagerSystem.c
16708 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16709 is no longer present (Bill Moss)
16711 * src/backends/shvar.c
16712 - (svOpenFile): Open read-only to make SELinux happy
16714 * src/backends/NetworkManagerRedHat.c
16715 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16716 the path to the ifcfg-* files
16718 2005-05-05 Dan Williams <dcbw@redhat.com>
16720 * Expose activation stages to NetworkManager clients, like the applet
16721 * Add Diana's progress icons to the applet, cued off NM activation stage
16722 * Use more descriptive tooltips, cued off NM activation stage
16724 2005-05-05 Ray Strode <rstrode@redhat.com>
16726 * src/nm-netlink-monitor.c:
16727 - Use clear_event_source instead of g_nullify_pointer() again.
16729 2005-05-05 Dan Williams <dcbw@redhat.com>
16731 * gnome/applet/main.c
16732 - Fix session management so the applet is actually managed now
16734 * gnome/applet/passphrase-dialog.c
16735 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16737 2005-05-05 Dan Williams <dcbw@redhat.com>
16739 Patch from Bill Moss:
16740 * gnome/libnm_glib/libnm_glib.c
16741 - Fix for dbus-0.33
16743 2005-05-05 Dan Williams <dcbw@redhat.com>
16745 Suggestion from Bill Moss:
16746 * src/NetworkManagerSystem.c
16747 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
16750 * src/NetworkManager.c
16751 - (nm_data_free): move destruction of the various managers after
16752 release of device list, because deactivating and freeing a device
16753 requires at least the named manager
16754 - (nm_poll_and_update_wireless_link_state):
16755 (nm_device_link_activated):
16756 (nm_device_link_deactivated):
16757 don't grab the device list lock when actually updating device
16758 link status or strength, since nm_device_set_link_active()
16759 needs to call nm_get_active_device(), which also locks the device list.
16761 * src/NetworkManagerDevice.c
16762 - (nm_device_set_link_active): if a device's link switches from off->on,
16763 and it's wired, and the active device is wireless (or there is no
16764 active device), activate the new device whose link just came on
16765 - (link_to_specific_ap): try to smooth over intermittency in wireless links
16766 my only calling the link to the current ap "failed" when more than 2
16767 consecutive link checks have failed
16769 2005-05-04 Dan Williams <dcbw@redhat.com>
16771 * src/NetworkManagerDevice.c
16772 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
16773 but let link_to_specific_ap() do the locking where it needs
16775 Patch from Bill Moss:
16776 * src/NetworkManagerSystem.c
16777 - Set MTU of VPN devices to 1412
16779 2005-05-04 Dan Williams <dcbw@redhat.com>
16781 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
16783 * Fix some holes in device activation and retaining the currently connected
16786 2005-05-03 Dan Williams <dcbw@redhat.com>
16788 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
16789 This means that NetworkManager shouldn't have DHCP issues anymore. It also
16790 means you need dhcdbd, which you can get here (get the latest one):
16792 http://people.redhat.com/jvdias/dhcdbd/
16794 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
16795 interface as dhcdbd.
16797 * Rewrite device activation to facilitate the new DHCP infrastructure and
16798 future improvements. Its now "activation request" based, ie there is a single
16799 activation request composed of the device, access point, and other info which
16800 follows the entire activation process. There are 5 stages of the activation
16801 process which correspond to:
16803 1) Device preparation
16804 2) Device configuration (bring it up, set ESSID/Key/etc)
16805 3) IP Config Start (fire off DHCP if we're using it)
16806 4) IP Config Get (grab config from DHCP or static config files)
16807 5) IP Config Commit (set device's IP address, DNS, etc)
16809 Note that there is no longer a "scanning" step, since the access point must
16810 be known _before_ activation starts. If the access point drops out or does
16811 not exist for some reason, the entire activation process fails and must be
16812 restarted for a different access point or device.
16814 Patch from Bill Moss:
16815 * gnome/applet/applet.c
16816 - Fix type of vpn_failure dialog -> vpn_banner dialog
16818 2005-04-27 Dan Williams <dcbw@redhat.com>
16820 * gnome/applet/applet-dbus-vpn.c
16821 gnome/applet/applet.c
16822 gnome/applet/applet.h
16823 - Fix up active VPN handling so that we reliably know when a VPN
16824 connection has been deactivated
16826 * src/vpn-manager/nm-vpn-manager.c
16827 - Remove duplicate VPNConnectionChange signal
16829 2005-04-27 Dan Williams <dcbw@redhat.com>
16831 Patch from Peter Jones:
16832 * Remove usage of varargs to fix crashes on PPC (RH #154336)
16834 Patch from Bill Moss:
16835 * src/NetworkManagerSystem.c
16836 - Fix checking of return value from ioctl()
16838 2005-04-27 Dan Williams <dcbw@redhat.com>
16840 * Fix choosing of wireless networks and "Other wireless network..." from the applet
16841 * Warn and exit if icons cannot be found
16843 2005-04-27 Dan Williams <dcbw@redhat.com>
16845 Patch from Tom Parker:
16846 * Update debian backend
16848 2005-04-27 Dan Williams <dcbw@redhat.com>
16850 * Merge the applet and the info-daemon, and move the converged
16851 applet under gnome/applet
16852 * Move libnm_glib to gnome/libnm_glib
16853 * Convert most dbus calls between the applet, info-daemon, and NM
16855 * Fix a few things valgrind noticed
16856 * Make NM broadcast state more reliably
16858 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
16860 * configure.in: Added ne in ALL_LINGUAS
16862 2005-04-15 Dan Williams <dcbw@redhat.com>
16864 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
16865 code for dbus 0.2x versions
16867 2005-04-15 Dan Williams <dcbw@redhat.com>
16869 Patches from Tom Parker:
16871 - Join with worker thread rather than polling for its exit
16873 Patch from Bill Moss:
16874 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
16876 2005-04-15 Dan Williams <dcbw@redhat.com>
16878 - Fixes to pass 'make distcheck'
16880 2005-04-15 Dan Williams <dcbw@redhat.com>
16882 Initial VPN Support
16884 - reworks device IP configuration, backend files have changed and will need
16885 to be updated for all distributions. I will try to do what I can for
16886 them, but I cannot test them.
16888 - Move named directory to src/named-manager
16889 - Make backends directory self-contained
16891 2005-04-06 Dan Williams <dcbw@redhat.com>
16893 Add debug code for socket/file descriptor leaks. We register every socket
16894 that we open (except for stuff in dhcpcd/) for tracking, and print out the
16895 list of sockets that we forgot to close on shutdown. This also consolidates
16896 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
16898 2005-04-06 Dan Williams <dcbw@redhat.com>
16901 - (dhcp_interface_free): fix a file descriptor leak that may have
16902 caused network drivers to not unload due to refcounts > 0
16904 2005-04-04 Dan Williams <dcbw@redhat.com>
16906 * panel-applet/NMWirelessAppletDbus.c
16907 - (nmwa_dbus_call_nm_method): remove some commented code
16909 * src/NetworkManagerAPList.[ch]
16910 - (nm_ap_list_remove_ap_by_essid): new function
16912 * src/NetworkManagerDevice.c
16913 - (nm_device_wireless_force_use): remove access points from the ignore list
16914 when the user forces them
16916 * src/nm-dbus-device.c
16917 - (nm_dbus_device_get_active_network): fix up escaping of object paths
16919 2005-04-04 Dan Williams <dcbw@redhat.com>
16921 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
16923 2005-04-04 Dan Williams <dcbw@redhat.com>
16925 * src/NetworkManagerDevice.c:
16926 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
16927 of only erroring after the second consecutive scan times out. Also
16928 don't exit when the card requires more time than we can give it, just
16929 log the event and continue.
16931 2005-04-01 Steve Murphy <murf@e-tools.com>
16933 * configure.in: Added "rw" to ALL_LINGUAS.
16935 2005-04-01 Dan Williams <dcbw@redhat.com>
16937 Perform scans during device activation, if needed. Both activation
16938 and scans run in the same GMainContext. Therefore, if an access point
16939 is not found by the time the device starts activation, it will not
16940 be available until after activation. We now try to scan during
16941 activation (in nm_wa_test) every 15s so that all available access
16942 points are more likely to be found and available for the activation
16945 Also change nm_wireless_link_state_handle() to only update the "best"
16946 AP if we are not forcing a device and if we are not about to change
16947 state. This attempts to work around a race when forcing a device,
16948 where the forced AP would get cleared out too soon by the link state
16949 checking timeout in the main thread, and the activation attempt with
16950 that AP would fail.
16952 2005-04-01 Dan Williams <dcbw@redhat.com>
16955 - Update with new translatables
16957 2005-03-31 Dan Williams <dcbw@redhat.com>
16959 * panel-applet/NMWirelessAppletDbus.c
16960 - Fix device names now that hal has changed device parenting for
16963 2005-03-31 Dan Williams <dcbw@redhat.com>
16965 Tighten up handling of wireless devices that don't support wireless
16966 scanning (ie, Orinoco). Due to restructuring of code, these devices
16967 hadn't been doing pseudo-scanning for a while either and would just
16968 spin waiting for an access point. They are now manual devices where
16969 the user must choose the access point from the menu every time. All
16970 "allowed" access points are listed in the applet's menu regardless
16971 of whether or not they can be seen by the card, since it can't scan
16974 * src/NetworkManager.c
16975 - (nm_wireless_link_state_handle): new function, but only update
16976 the "best" ap for non-scanning devices when its not activating,
16977 and when no device is being forced on the card
16978 - (nm_link_state_monitor): split wireless link state handling out
16979 into separate function
16981 * src/NetworkManagerDevice.c
16982 - (nm_device_copy_allowed_to_dev_list): new function
16983 - (nm_device_new): populate non-scanning cards' AP lists with
16984 access points from the "allowed" list
16985 - (nm_device_new): don't start a scanning timeout for devices that
16987 - (nm_device_activation_schedule_finish): new parameter, should be
16988 the AP that failed to be connected to, pass it on to the
16989 activation finish function in NetworkManagerPolicy.c
16990 - (nm_device_activate_wireless): don't ever try to get a new AP
16991 for non-scanning devices, just fail. The user must choose
16992 a new access point manually.
16993 - (nm_device_activate): grab the AP that failed connection and
16995 - (nm_device_update_best_ap): Clear the best AP if we don't have
16996 a link to it, user must manually choose a new one
16997 - (nm_device_do_pseudo_scan): remove function
16998 - (nm_device_wireless_process_scan_results): remove bits for non-
16999 scanning cards since they never get here
17000 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17001 and fake the scan list for test devices a bit earlier
17003 * src/NetworkManagerPolicy.c
17004 - (nm_policy_activation_finish): use the failed_ap that we get
17005 passed rather than getting the best_ap from the card, which
17006 may have changed since we were scheduled
17007 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17008 update their scan list directly from the allowed list when
17009 we get updates to the allowed list from NetworkManagerInfo
17011 * src/NetworkManagerPolicy.h
17012 - New member for failed access point in NMActivationResult
17014 -------------------------------------
17016 Driver Notification patch: notifies the user when their driver
17017 sucks. Gives them the option to ignore further insertions
17018 of the card that has the sucky driver.
17021 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17022 enum and replace it with NO_CARRIER_DETECT and
17025 * panel-applet/NMWirelessApplet.[ch]
17026 - Merge essid.glade -> wireless-applet.glade
17027 - Implement the "Your driver sucks" notification dialog
17029 * panel-applet/NMWirelessAppletDbus.c
17030 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17031 - Grab hardware address for each device from NM too
17032 - Check whether the driver for each device sucks or not whenever
17033 a new device is noticed
17035 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17036 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17038 * src/NetworkManager.c
17039 - Fix a double-unref on device removal
17041 * src/NetworkManagerUtils.c
17042 - Set appropriate driver support level on a device that doesn't
17043 support scanning or carrier detection
17045 * src/nm-dbus-device.c
17046 - New "getHWAddress" dbus method on devices
17047 - getSupportsCarrierDetect -> getDriverSupportLevel
17049 2005-03-31 Dan Williams <dcbw@redhat.com>
17051 * src/NetworkManagerDevice.c
17052 - (nm_device_wireless_scan): Fix leak of scan results in some
17055 2005-03-29 Dan Williams <dcbw@redhat.com>
17057 * src/NetworkManager.c
17058 - (nm_poll_and_update_wireless_link_state): make code less indented
17060 Patch from Bill Moss:
17061 * src/NetworkManager.c
17062 - (nm_device_update_link_state): Update signal strength on wireless
17063 devices every time we update link state too.
17065 2005-03-29 Dan Williams <dcbw@redhat.com>
17067 * src/NetworkManagerDevice.c
17068 - (nm_device_set_essid): Work around Orinoco cards which need
17069 extra time after setting the ESSID
17071 2005-03-29 Dan Williams <dcbw@redhat.com>
17073 * src/NetworkManagerDevice.c
17074 - Merge one more bit of Peter Jones' completion patch
17076 2005-03-29 Dan Williams <dcbw@redhat.com>
17078 * src/NetworkManagerDevice.c
17079 - (nm_device_force_use): Fix possible segfault
17081 2005-03-29 Dan Williams <dcbw@redhat.com>
17083 * src/NetworkManagerDevice.c
17084 - Use iw_get_ext() where we should rather than iw_set_ext()
17086 2005-03-29 Dan Williams <dcbw@redhat.com>
17088 * src/NetworkManagerDevice.c
17089 - (nm_device_set_up_down): remove check for unsupported devices
17090 that caused NM to not bring devices up when they were
17091 added to the device list.
17093 2005-03-28 Dan Williams <dcbw@redhat.com>
17095 * src/NetworkManagerDevice.c
17096 - (mdio_read): Fix two bugs that caused all devices to fail
17097 the MII carrier detection support checks
17099 2005-03-26 Dan Williams <dcbw@redhat.com>
17101 * src/NetworkManagerDevice.c
17102 - (nm_device_wireless_scan): Remove duplicated scanning code
17104 2005-03-25 Dan Williams <dcbw@redhat.com>
17106 * panel-applet/NMWirelessApplet.c
17107 - (nmwa_about_cb): Add some more contributors
17108 - (nmwa_update_state): show the applet when there's no connection
17109 - Enable the "Stop/Resume all wireless devices" option in the
17111 - New "no connection" icon
17113 * src/NetworkManager.c
17114 - (nm_poll_and_update_wireless_link_state): don't do anything if
17115 wireless is disabled or we're asleep
17117 * src/NetworkManagerDHCP.c
17118 - Remove trailing "\n" on debug messages
17120 * src/NetworkManagerDbus.c
17121 - (nm_dbus_network_status_from_data): new state "asleep"
17123 * src/NetworkManagerDevice.c
17124 - Merge most of Peter Jones' "completion" patch that greatly reduces
17125 latency and wait times for most operations
17126 - (nm_device_wireless_scan): Don't scan when asleep
17128 * src/NetworkManagerPolicy.c
17129 - (nm_policy_get_best_device): return no device when asleep
17130 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17131 for all wireless devices on update, not just active device
17133 * src/NetworkManagerUtils.c
17134 - Merge Peter Jones' "completion" patch
17137 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17138 we're told to disable them
17139 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17142 - New variants of the warn/info/error/debug print functions that can take
17143 variables rather than static strings
17145 2005-03-24 Dan Williams <dcbw@redhat.com>
17147 * src/NetworkManagerUtils.c
17148 - (nm_get_device_driver_name): driver names are now on the parents of
17149 "Network Interface" objects, so look for them there
17151 2005-03-24 Dan Williams <dcbw@redhat.com>
17154 - Escape some forgotten object paths before we shove them through dbus
17156 2005-03-24 Dan Williams <dcbw@redhat.com>
17158 * dhcpcd/dhcpcd.[ch]
17159 src/NetworkManagerDHCP.c
17160 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17161 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17163 * src/NetworkManagerDbus.c
17166 * src/nm-dbus-dhcp.c
17167 - Make the API suck less. There is now only 1 type of each function,
17168 ie only "getInteger" and no longer also "getIntegerv". All types
17169 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17170 that will never have more than 1 element. This should simplify
17173 * test/nm-dhcp-opt-test.c
17174 - Make the tool not segfault
17175 - adapt to new DHCP Options API
17177 2005-03-22 Dan Williams <dcbw@redhat.com>
17179 * src/NetworkManager.c
17180 - (nm_wired_link_deactivated): actually ignore netlink events from
17183 2005-03-22 Dan Williams <dcbw@redhat.com>
17185 * src/NetworkManager.c
17186 - (nm_wired_link_activated): actually ignore netlink events from
17189 2005-03-17 Dan Williams <dcbw@redhat.com>
17191 Patch from Tom Parker:
17192 * src/nm-netlink-monitor.c
17194 * info-daemon/NetworkManagerInfoDbus.c
17195 - (nmi_dbus_update_network_auth_method): free GConf values
17197 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17198 * src/NetworkManagerDevice.c
17199 - (nm_device_set_wireless_config): wait for successful
17200 association longer for some cards (Atheros a/b/g)
17202 2005-03-15 Ray Strode <rstrode@redhat.com>
17204 * src/NetworkManager.c:
17205 (sigterm_pipe_handler):
17208 2005-03-15 Ray Strode <rstrode@redhat.com>
17210 * src/NetworkManagerDbus.c:
17211 Fix some sign weirdness that gcc4 doesn't like,
17212 and add a header file so PPC can hopefully find
17215 2005-03-14 Ray Strode <rstrode@redhat.com>
17217 Fourth (probably working) cut at porting to
17218 dbus 0.30 api and new hal. This cut adds
17219 some new logging macros to make debugging
17222 * dispatcher-daemon/NetworkManagerDispatcher.c:
17223 * info-daemon/NetworkmanagerInfo.c:
17224 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17225 * info-daemon/NetworkManagerInfoVPN.c:
17226 * src/NetworkManager.c:
17227 * src/NetworkManagerAP.c:
17228 * src/NetworkManagerAPList.c:
17229 * src/NetworkManagerDHCP.c:
17230 * src/NetworkManagerDbus.c:
17231 * src/NetworkManagerDevice.c:
17232 * src/NetworkManagerPolicy.c:
17233 * src/NetworkManagerSystem.c:
17234 * src/NetworkManagerUtils.c:
17235 * src/NetworkManagerWireless.c:
17237 * src/nm-dbus-nm.c:
17238 * src/backends/NetworkManagerDebian.c:
17239 * src/backends/NetworkManagerGentoo.c:
17240 * src/backends/NetworkManagerRedHat.c:
17241 * src/backends/NetworkManagerSlackware.c:
17242 use new logging macros.
17244 * dispatcher-daemon/NetworkManagerDispatcher.c:
17245 (nmd_dbus_filter): s/dbus_free/g_free/
17247 * info-daemon/Makefile.am: link in utils library.
17248 * info-daemon/NetworkmanagerInfo.c: use new logging
17250 (nmi_dbus_get_network): don't assume enumerations
17252 (nmi_dbus_nmi_message_handler): don't free what
17253 doesn't belong to us.
17255 * libnm_glib/libnm_glib.c:
17256 (libnm_glib_get_nm_status):
17257 (libnm_glib_init): don't free what doesn't
17259 (libnm_glib_dbus): strdup result, so it doesn't get
17260 lost when message is unref'd.
17262 * panel-applet/NMWirelessAppletDbus.c:
17263 (nmwa_dbus_update_devices): s/dbus_free/g_free/
17265 * src/NetworkManager.c:
17266 (nm_monitor_wired_link_state): request initial status
17267 dump of all cards when we start up, instead of relying
17268 on /sys/.../carrier.
17269 (nm_info_handler), (nm_set_up_log_handlers):
17270 log handlers to specify what syslog priorites
17271 the logging macros default to.
17273 * src/NetworkManagerAPList.c:
17274 (nm_ap_list_populate_from_nmi):
17275 s/dbus_free_string_array/g_strfreev/
17277 * src/NetworkManagerDbus.c:
17278 (nm_dbus_get_network_object):
17279 validate d-bus message argument types.
17280 Advance message iterator after reading argument,
17281 prepend instead of append to GSList.
17283 * src/NetworkManagerDevice.c:
17284 (nm_device_probe_wired_link_status):
17285 remove redundant /sys in /sys path. remove wrong
17286 contents == NULL means has carrier assumption.
17288 * src/nm-netlink-monitor.c
17289 (nm_netlink_monitor_request_status): implement
17290 function to ask kernel to dump interface link
17291 status over netlink socket.
17293 * test/*.c: s/dbus_free/g_free/
17295 * utils/nm-utils.h:
17296 (nm_print_backtrace): new macro to print backtrace.
17297 (nm_get_timestamp): new macro to get sub-second precise
17299 (nm_info), (nm_debug), (nm_warning), (nm_error):
17300 new logging functions. nm_info just prints,
17301 nm_debug includes timestamp and function,
17302 nm_warning includes function, nm_error includes
17303 backtrace and sigtrap.
17305 2005-03-11 Ray Strode <rstrode@redhat.com>
17307 Third (unfinished, partially working) cut at porting to
17308 dbus 0.30 api and new hal.
17310 * info-daemon/NetworkManagerInfoDbus.c:
17311 don't free null arrays.
17313 * panel-applet/NMWirelessAppletDbus.c:
17314 * src/nm-dbus-device.c:
17315 * src/nm-dbus-net.c:
17316 * src/NetworkManagerDbus.c: more
17317 STRING -> OBJECT_PATH fun
17318 * src/NetworkManagerDevice.c:
17319 * src/NetworkManagerDevice.h:
17320 (rename nm_device_get_link_active): rename to
17321 nm_device_has_active_link
17322 (nm_device_wireless_link_active): rename to
17323 nm_device_probe_wireless_link_state
17324 (nm_device_wired_link_active): rename to
17325 nm_device_probe_wired_link_state. Rewrite to
17326 use carrier file since hal doesn't maintain
17327 link state anymore.
17328 (nm_device_update_link_active): rename to
17329 nm_device_update_link_state
17330 * src/NetworkManagerPolicy.c
17331 (nm_policy_activation_finish): check for NULL
17335 * src/NetworkManagerMain.h:
17336 * src/NetworkManager.c:
17337 * src/nm-netlink-monitor.c:
17338 * src/nm-netlink-monitor.h: New class to support
17339 monitoring wired ethernet link status, since HAL
17340 doesn't export that information anymore.
17342 2005-03-09 Ray Strode <rstrode@redhat.com>
17344 Second (unfinished, unworking) cut at porting to
17347 * dispatcher-daemon/NetworkManagerDispatcher.c:
17348 * info-daemon/NetworkManagerInfoDbus.c:
17349 * panel-applet/NMWirelessAppletDbus.c:
17350 * src/NetworkManagerDbusUtils.c:
17351 * src/NetworkManagerDbusUtils.h:
17352 * src/nm-dbus-device.c:
17353 * src/nm-dbus-nm.c:
17354 * test/nmtest.c: support dbus "object path" type
17358 * info-daemon/Makefile.am:
17359 * libnm_glib/Makefile.am:
17360 * panel-applet/Makefile.am:
17361 * dispatcher-daemon/Makefile.am
17363 * test/Makefile.am:
17364 * utils/Makefile.am:
17365 * utils/nm-utils.c:
17366 * utils/nm-utils.h: new utils static lib
17368 2005-03-07 Ray Strode <rstrode@redhat.com>
17370 * info-daemon/NetworkManagerInfoDbus.c:
17371 * libnm_glib/libnm_glib.c:
17372 * panel-applet/NMWirelessAppletDbus.c:
17373 * src/NetworkManager.c:
17374 * src/NetworkManagerDbus.c:
17375 * src/NetworkManagerDevice.c:
17376 * src/NetworkManagerUtils.c:
17377 * src/nm-dbus-device.c:
17378 * src/nm-dbus-dhcp.c:
17379 * src/nm-dbus-net.c:
17380 * src/nm-dbus-nm.c:
17381 * test/nminfotest.c:
17382 First (unfinished, unworking) cut at porting to dbus 0.30 api.
17384 2005-03-04 Dan Williams <dcbw@redhat.com>
17389 2005-03-04 Dan Williams <dcbw@redhat.com>
17391 Patch from Peter Jones:
17392 - Make stuff work with gcc 4.0
17394 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
17396 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17398 2005-02-27 Jim Huang <jserv@kaffe.org>
17400 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17402 2005-02-27 Dan Williams <dcbw@redhat.com>
17404 Patch from Bill Moss:
17405 * panel-applet/NMWirelessAppletDbus.c
17406 - Make sure strength for current access point is up-to-date when we
17407 update the gui data model
17409 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
17411 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17413 2005-02-27 Dan Williams <dcbw@redhat.com>
17415 * src/backends/NetworkManagerRedHat.c
17416 - (nm_system_init): Kill any dhclient processes lying around as well
17417 as stopping 'nifd' if its already been started. NetworkManager
17418 subsumes the functions of nifd (kicking mDNSResponder, autoip)
17420 2005-02-27 Dan Williams <dcbw@redhat.com>
17422 * panel-applet/NMWirelessApplet.c
17423 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17424 dbus data model, not the GUI data model twice.
17426 2005-02-27 Dan Williams <dcbw@redhat.com>
17428 * panel-applet/NMWirelessApplet.[ch]
17429 panel-applet/NMWirelessAppletDbus.[ch]
17430 - Move to incremental network updates. Instead of blowing away our list
17431 of devices every time we get a signal from NetworkManager, we now
17432 incrementally add/remove networks when NetworkManager notifies us that
17433 a new network has appeared or disappered. Strength updates now happen
17434 on-the-fly for each access point as well. There are now two copies of
17435 data from NetworkManager: one for the dbus side, and one for the gui side.
17436 When the dbus side data is modified, it is copied over to the gui side
17437 so we don't have to hold the data_mutex for long periods of time (and
17438 therefore block animation of the applet's icon).
17439 - Clean up some memleaks too
17441 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17442 - Minor code beautification
17444 * src/NetworkManagerAPList.c
17445 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17446 completely new and whether or not an existing one's strength was updated.
17447 Try to fix multiple access points and signal strength by using the highest
17448 signal strength in each scan for any given ESSID.
17450 * src/NetworkManagerDbus.[ch]
17451 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17452 wireless networks; now we have only WirelessNetworkUpdate which includes
17453 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17454 - Kill usage of DbusMessageIter
17456 * src/NetworkManagerDevice.c
17457 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17458 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
17459 AP rather than all-at-once. Also don't ever remove the AP a card is
17460 currently associated with from the network list.
17461 - Update for new signals during scan, send out Appeared, Disappeared, or
17462 StrengthChanged when necessary.
17464 2005-02-25 Dan Williams <dcbw@redhat.com>
17467 - Line break the README
17469 2005-02-25 Dan Williams <dcbw@redhat.com>
17471 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17472 - Remove usage of gtk_window_set_default_size()
17474 * panel-applet/essid.glade
17475 - Stick default size here
17476 - Add in random crap that current glade wants to add in now
17478 2005-02-25 Dan Williams <dcbw@redhat.com>
17480 * src/backends/NetworkManagerRedHat.c
17481 - For non-caching-nameserver/non-named case, ensure that nscd is running
17482 and that we actually tell nscd to reload the hosts cache when it changes
17484 2005-02-25 Dan Williams <dcbw@redhat.com>
17486 * info-daemon/NetworkManagerInfoDbus.c
17487 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17489 * test/nminfotest.c
17490 - Whack usage of DbusMessageIter
17491 - Clean up DbusError and DbusMessage handling and freeing
17492 - Remove unused unregister handler
17495 - Whack usage of DbusMessageIter
17497 * test/nmtestdevices.c
17498 - Whack usage of DbusMessageIter
17500 2005-02-25 Dan Williams <dcbw@redhat.com>
17503 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17506 2005-02-25 Dan Williams <dcbw@redhat.com>
17508 * named/nm-named-manager.c
17509 - Ensure that pid and watch variables for child named process get cleared out
17510 when the child goes away.
17512 2005-02-22 Dan Williams <dcbw@redhat.com>
17514 * src/NetworkManagerPolicy.c
17515 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17516 and NULL out data->active_device so that we have to choose another one.
17517 This may make NetworkManager keep attempting to connect to a wired network
17518 if it fails, but if it keeps failing the wired network has more problems than
17519 just NetworkManager.
17521 * src/backends/NetworkManagerRedHat.c
17522 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17525 * named/nm-named-manager.c
17526 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17527 named so that the distro can flush whatever name service caching
17530 2005-02-21 Dan Williams <dcbw@redhat.com>
17532 * src/NetworkManagerDHCP.[ch]
17533 - (nm_device_dhcp_remove_timeouts): new function
17535 * src/NetworkManagerDevice.c
17536 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17537 remove the DHCP timeouts.
17539 2005-02-21 Dan Williams <dcbw@redhat.com>
17541 * panel-applet/NMWirelessApplet.[ch]
17542 panel-applet/menu-info.[ch]
17543 - Give the panel applet some major love: menu items are no longer
17544 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17545 This allows the applet to actually reflect theme changes correctly,
17546 since themeing of subclassed items in GTK _sucks_.
17548 2005-02-18 Dan Williams <dcbw@redhat.com>
17550 * libnm_glib/libnm_glib.[ch]
17551 test/libnm_glib_test.c
17552 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17553 and its data, and doesn't have to free the callback data anymore
17555 2005-02-18 Dan Williams <dcbw@redhat.com>
17557 * panel-applet/NMWirelessApplet.c
17558 - Revert 2005-02-18 William Jon McCann fix for standard
17559 copyright string until it passes 'make distcheck'.
17560 With standard copyright string, xgettext complains
17561 about "Non-ASCII string at ...".
17563 2005-02-18 Dan Williams <dcbw@redhat.com>
17565 * panel-applet/essid.glade
17566 panel-applet/NMWirelessAppletOtherNetworksDialog.c
17567 - Correct spelling of "adaptor"->"adapter"
17569 2005-02-18 William Jon McCann <mccann@jhu.edu>
17571 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17572 (nmwa_about_cb): Use standard copyright string. Update comment
17573 text to reflect that it is a notification area applet. Remove
17574 leading newline in authors list.
17575 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17576 instead of on parent menu item activation. Fixes #167550.
17578 2005-02-18 William Jon McCann <mccann@jhu.edu>
17580 * panel-applet/essid.glade: Capitalize items as per HIG.
17583 2005-02-16 William Jon McCann <mccann@jhu.edu>
17585 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17586 files for GTK 2.4 or lower, since now public in GTK 2.6.
17588 * panel-applet/essid.glade: Don't specify window size.
17590 2005-02-17 Dan Williams <dcbw@redhat.com>
17592 Caught by Bill Moss:
17594 - Time remaining for DHCP transaction calculation was incorrectly
17595 inside a #ifdef DEBUG
17597 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
17599 * configure.in: Added fr (French) to ALL_LINGUAS.
17601 2005-02-14 Dan Williams <dcbw@redhat.com>
17603 * src/NetworkManagerDHCP.c
17604 - (set_domain_searches): Fix free of invalid pointer
17606 2005-02-14 Dan Williams <dcbw@redhat.com>
17608 Patch from Peter Jones:
17610 - Ensure we return RET_DHCP_CEASED everywhere we should
17611 * dhcpcd/udpipgen.c
17612 - Use faster TOS for IP packets
17613 - Don't set ip_id since we're UDP
17615 Patch from Tomislav Vujec:
17616 * src/nm-dbus-dhcp.c
17617 test/nm-dhcp-opt-test.c
17618 - Clean up warnings to enable cvs tree compilation.
17620 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
17624 - Add the Croatian locale.
17626 2005-02-14 Colin Walters <walters@verbum.org>
17628 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17629 list of domains to search.
17631 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17633 2005-02-13 Dan Williams <dcbw@redhat.com>
17636 - Debug output cleanups of DHCP option printing and parsing.
17638 2005-02-13 Dan Williams <dcbw@redhat.com>
17640 Patch from Dan Reed: DHCP options D-BUS API
17641 Exposes the DHCP options that a device receives to clients over D-BUS.
17647 - Correct names, option length, and types for DHCP options
17649 * dhcpcd/dhcpcd.[ch]
17650 - Clarify function names that access DHCP options & data
17652 * src/NetworkManagerDHCP.c
17653 - Use new DHCP data access functions
17655 * src/NetworkManagerDbus.c
17656 - Message handler for DHCP functions
17658 * src/nm-dbus-dhcp.[ch] (new)
17659 - DHCP dbus methods
17661 * test/nm-dhcp-opt-test.c
17662 - Test DHCP D-BUS API and return all present DHCP options
17664 2005-02-12 Dan Williams <dcbw@redhat.com>
17667 test/nmclienttest.c
17669 - Move nmclienttest.c -> nmtest.c
17671 2005-02-12 Dan Williams <dcbw@redhat.com>
17673 * dhcpcd/buildmsg.c
17674 - Pad DHCP packets until they are at least 300 bytes in size.
17676 2005-02-11 Dan Williams <dcbw@redhat.com>
17679 - (dhcp_init): only print out client ID and class ID if they are specified
17681 * src/NetworkManagerDbus.[ch]
17682 src/nm-dbus-nm.[ch]
17683 src/nm-dbus-device.[ch]
17684 src/nm-dbus-net.[ch]
17685 - Move NM, Device, and Net functions to separate files and use the
17686 dbus method list stuff in NetworkManagerDbusUtils.c to do
17689 * src/NetworkManagerDbusUtils.c
17690 - Add new validate_method called before each dispatch (if present)
17691 that can validate the method call
17693 * src/NetworkManagerWireless.c
17694 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17695 levels never to be evaluated
17697 Patch from j@bootlab.org
17698 * src/NetworkManagerDevice.c
17699 - Add typedef for "u64"
17701 * src/backends/NetworkManagerDebian.c
17702 - Copy in Dave Woodhouse's fixes for IPv6
17704 2005-02-11 Dan Williams <dcbw@redhat.com>
17706 Patch from Dave Woodhouse for IPv6:
17707 * src/NetworkManagerUtils.c
17708 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17709 and multicast addresses
17711 * src/NetworkManagerDevice.c
17712 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17713 after bringing up a card.
17715 2005-02-10 Dan Williams <dcbw@redhat.com>
17717 Patch from Dave Woodhouse:
17718 * src/NetworkManagerSystem.h
17719 src/backends/NetworkManagerDebian.c
17720 src/backends/NetworkManagerGentoo.c
17721 src/backends/NetworkManagerSlackware.c
17722 - New nm_system_device_add_ip6_link_address() function to add link-local
17723 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
17725 * src/backends/NetworkManagerRedHat.c
17726 - (nm_system_device_add_ip6_link_address): implement
17727 - (nm_system_device_flush_addresses): revert to previous behavior of
17728 flushing all addresses
17730 2005-02-10 Dan Williams <dcbw@redhat.com>
17732 Patch from Tom Parker:
17733 * src/NetworkManagerDevice.c
17734 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17735 mii.h headers are broken, and instead use our own typedefs
17737 2005-02-10 Dan Williams <dcbw@redhat.com>
17739 * dhcpcd/buildmsg.c
17740 - (fill_host_and_class_id): only fill in client and class IDs if
17741 they are set by callers.
17744 - (class_id_setup): don't autogenerate a class ID, only use one
17745 we're given, if any.
17746 - (client_id_setup): don't autogenerate a client ID, only use one
17747 we're given, if any.
17750 - (dhcp_interface_init): ensure that client options are correctly
17753 * src/NetworkManagerDHCP.c
17754 - (nm_device_dhcp_request): pass hostname to dhcp library
17756 2005-02-10 Dan Williams <dcbw@redhat.com>
17759 - #rh147661# Don't send kernel version in DHCP requests
17761 * src/NetworkManagerSystem.h
17762 src/backends/NetworkManagerDebian.c
17763 src/backends/NetworkManagerGentoo.c
17764 src/backends/NetworkManagerRedHat.c
17765 src/backends/NetworkManagerSlackware.c
17766 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
17767 functions, they are no longer used anyway
17769 * src/backends/NetworkManagerRedHat.c
17770 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
17771 addresses in an attempt to keep IPv6 local-scope addresses around
17773 2005-02-10 Dan Williams <dcbw@redhat.com>
17775 * src/NetworkManager.c
17776 - (nm_create_device_and_add_to_list): change the add message slightly
17778 * src/NetworkManagerUtils.c
17779 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
17780 Return driver name to calling function
17781 - (nm_get_driver_support_level): print out the driver a device is using
17782 during the support check
17784 Patch from Dave Woodhouse:
17785 * dhcpcd/udpipgen.c
17786 - (in_cksum): copy last byte of odd-sized packets into a
17787 'u_short' rather than a 'u_char', should fix wrong checksums
17788 on big-endian platforms
17790 2005-02-09 Dan Williams <dcbw@redhat.com>
17792 * Clean up usage of GSList objects and looping through their members
17793 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
17795 * Fix problem where even if scanning was turned off, card would still
17796 cycle through frequencies.
17798 2005-02-08 Dan Williams <dcbw@redhat.com>
17800 * panel-applet/NMWirelessApplet.c
17803 2005-02-08 Dan Williams <dcbw@redhat.com>
17805 Patch from Bill Moss
17806 * panel-applet/NMWirelessApplet.c
17807 - Restore correct ESSID in tooltips
17809 2005-02-07 Dan Williams <dcbw@redhat.com>
17811 * panel-applet/NMWirelessApplet.[ch]
17812 - Add a context menu that contains:
17813 Pause/Resume Wireless Scanning
17814 Stop/Start All Wireless Devices
17816 - Grab active device strength off active device,
17819 * panel-applet/NMWirelessAppletDbus.[ch]
17820 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
17821 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
17822 - Update active device strength every 2 seconds, not every 1 second
17824 * panel-applet/menu-info.c
17825 - Only disable wired devices in the menu when they support carrier detection,
17826 and don't currently have a link. Non-carrier-detect devices will always
17830 src/NetworkManagerDbusUtils.[ch]
17831 - Add new new dbus utils sources
17833 * src/NetworkManager.c
17834 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
17835 with the boolean parameter
17836 - Set scanning_enabled & wireless_enabled to TRUE
17838 * src/NetworkManagerDbus.c
17839 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
17840 - Implement scanning & wireless enable/disable calls
17841 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
17843 * src/NetworkManagerDevice.c
17844 - New link detection stuff again...
17845 o Create device's mainloop earlier (but don't run it earlier)
17846 o Hook up new carrier-detect support stuff
17847 o Add in the ethtool & mii support detection code
17848 - Don't scan if scanning is disabled
17850 * src/NetworkManagerPolicy.c
17851 - Never automatically choose a device that doesn't support carrier detection
17852 - Don't automatically choose a wireless device if wireless is disabled
17854 2005-02-07 Dan Williams <dcbw@redhat.com>
17856 * libnm_glib/libnm_glib.c
17857 - Small cleanup in element list iteration
17859 2005-02-07 Dan Williams <dcbw@redhat.com>
17861 * src/NetworkManagerWireless.c
17862 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
17863 to be in line with the WEXT quality specification
17865 2005-02-02 Dan Williams <dcbw@redhat.com>
17867 Patch from Nathan Fredrickson <nathan@silverorange.com>
17868 * Fix up compile for deprecation of libgnomeui
17869 - Switch to <glib/gi18n.h> from <libintl.h>
17870 - Remove <libgnomeui/libgnomeui.h> includes
17871 - Use gtk_window_set_default_icon_from_file() rather than
17872 gnome_window_set_default_icon_from_file()
17874 * named/nm-named-manager.c
17875 - (generate_named_conf): Fix return-nothing in non-void
17878 2005-02-02 Dan Williams <dcbw@redhat.com>
17880 * Clean up unused variables and the like
17882 2005-02-02 Dan Williams <dcbw@redhat.com>
17884 * src/NetworkManagerAPList.c
17885 - (nm_ap_list_merge_scanned_ap): merge strength too
17887 * src/NetworkManagerUtils.c
17888 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
17889 of locking issues by printing out prettier information than g_mutex_lock
17890 - Print out names of mutexes registered with nm_register_mutex_desc()
17891 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
17892 us to seemingly block here for too long
17894 * src/NetworkManager.c
17895 src/NetworkManagerAPList.c
17896 src/NetworkManagerDevice.c
17897 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
17898 so we get better debug information printed
17900 * src/NetworkManagerDbus.c
17901 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
17902 since it sometimes has locking side effects
17903 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
17905 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
17906 we don't need a switch. This gets called often enough that we can't block
17907 until the scan mutex is acquired, because we'll block on device activation
17908 and a few other things, which hangs main thread for too long.
17910 * src/NetworkManagerPolicy.c
17911 - (nm_policy_auto_get_best_device): reduce the possiblity that
17912 nm_device_need_ap_switch() will be called
17914 2005-02-02 Dan Williams <dcbw@redhat.com>
17916 * panel-applet/NMWirelessApplet.c
17917 - Display name of wireless network we are connecting to or connected to
17918 in the tooltip of the applet
17920 2005-02-02 Dan Williams <dcbw@redhat.com>
17922 * src/NetworkManagerDHCP.c
17923 - Hopefully fix double-default-route problem by cleaning up the default
17924 route added by DHCP code right before the DHCP transaction begins
17926 2005-02-02 Dan Williams <dcbw@redhat.com>
17928 * named/nm-named-manager.c
17929 - Write out valid resolv.conf when we exit
17931 2005-02-01 Dan Williams <dcbw@redhat.com>
17933 Patch from Colin Walters:
17934 * named/nm-named-manager.c
17935 - Make multi-domain search options work
17937 2005-01-31 Dan Williams <dcbw@redhat.com>
17939 * info-daemon/NetworkManagerInfoDbus.c
17940 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
17942 * src/NetworkManagerDevice.c
17943 - (nm_device_new): Don't store the entire range struct, use only what we need
17944 (which is currently avg_quality, max_quality, and frequencies). Also
17945 zero device structure when we've free'd it to maybe expose errors down
17947 - (nm_device_update_signal_strength): grab the scan mutex before getting
17948 quality data from the card since quality will be useless during a scan.
17949 Call updated wireless qual-to-percent function with values stored in
17950 nm_device_new() earlier.
17951 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
17952 nm_device_get_bad_crypt_packets())
17953 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
17955 - (get_initial_auth_method): always use the Auth method that's in the allowed
17956 list if available. Problem was this: when the WEP key is wrong, NM will
17957 try OS then SK modes, and then get stuck in SK mode after that. This
17959 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
17962 * src/NetworkManagerWireless.c
17963 - (nm_wireless_qual_to_percent): try to make this function actually work and
17964 mimic iwlib behavior. Use card's idea of quality divided by max_qual
17965 if that's all present, otherwise fall back to signal-to-noise ratios.
17967 2005-01-29 Dan Williams <dcbw@redhat.com>
17969 * initscript/RedHat/NetworkManager
17970 - Don't spit out sysctl stuff to console
17972 * libnm_glib/libnm_glib.c
17973 - (libnm_glib_init): call dbus_g_thread_init()
17975 * panel-applet/NMWirelessAppletDbus.c
17976 - (nmwa_dbus_worker): call dbus_g_thread_init()
17978 * src/NetworkManager.c
17979 - (main): call dbus_g_thread_init()
17981 * src/NetworkManagerAPList.c
17982 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
17983 so we can actually see what's there in a normal syslog
17985 * src/NetworkManagerDevice.c
17986 - (nm_device_activate_wireless): print out the "waiting for access point"
17987 message only once, then say what access point we actually got after
17989 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
17990 function, wait until the scan is done. Scans may change the ESSID of
17991 the card, making this function think we need to switch access points
17992 - (nm_device_wireless_process_scan_results): for artificial access points
17993 don't check against the card's ESSID, but the best_ap's ESSID. This
17994 prevents collisions with the scanning code, which may change the card's
17995 ESSID and cause the access point to get dropped from the device's AP
17996 list. Also increase the keep-around time to 2m from 60s since the max
17997 scan interval could be 60s in some cases.
17999 * src/NetworkManagerPolicy.c
18000 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18001 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18002 the new properties and ESSIDs to the device's AP list. Fixes some races
18003 between NM and NMI.
18005 2005-01-27 Dan Williams <dcbw@redhat.com>
18007 * info-daemon/NetworkManagerInfoDbus.c
18008 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18009 GConf, make a minimal entry for it (essid & timestamp)
18011 * src/NetworkManagerAPList.c
18012 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18013 NetworkManagerInfo isn't running
18015 * src/NetworkManagerDbus.[ch]
18016 - (nm_dbus_nmi_is_running): new function
18018 * src/NetworkManagerDevice.c
18019 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18020 address to garbage.
18022 * src/NetworkManagerPolicy.c
18023 - (nm_policy_activation_finish): On successful activation, make sure
18024 the "best" AP has a MAC address, and don't tell NMI to add the
18025 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18026 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18027 access point after refreshing our allowed list if it doesn't already
18028 have a "best" access point.
18030 2005-01-25 Dan Williams <dcbw@redhat.com>
18032 * panel-applet/NMWirelessAppletDbus.c
18033 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18034 so we check for NM_DBUS_SERVICE rather than not for it
18036 * libnm_glib/libnm_glib.c
18037 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18038 ServiceOwnerChanged signal
18040 2005-01-25 Dan Williams <dcbw@redhat.com>
18043 - Check DBUS version in configure, and set the C macros
18044 DBUS_VERSION_[MAJOR,MINOR,MICRO]
18046 * info-daemon/NetworkManagerInfoDbus.c
18047 - Remove #if 0-d section of code that quit NMI if NM went away.
18049 * panel-applet/NMWirelessAppletDbus.c
18050 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18052 * src/NetworkManager.c
18053 src/NetworkManagerMain.h
18054 src/NetworkManagerDbus.c
18055 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18056 - Make updating of our Allowed Wireless Network lists from NMI
18057 an idle function in the main thread now, with a high priority.
18059 2005-01-24 Dan Williams <dcbw@redhat.com>
18061 * panel-applet/gtkcellview.[ch]
18062 panel-applet/menu-info.c
18063 - Fix GTK version checks to be <= rather than <
18066 - Include the libtool archive of libnm_glib rather than
18067 trying to pull in the .so
18069 2005-01-24 Dan Williams <dcbw@redhat.com>
18071 * src/NetworkManagerDevice.c
18072 src/NetworkManagerDevicePrivate.h
18073 - Block nm_device_new() until our device's worker thread has had a
18074 chance to start up. Fixes a race between main thread and worker
18075 thread starting that caused activation requests to get lost.
18077 2005-01-24 Dan Williams <dcbw@redhat.com>
18079 * initscript/RedHat/NetworkManager
18080 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18081 to add the NM startup script at priority 50, which was
18084 2005-01-24 Colin Walters <walters@redhat.com>
18086 * named/named.conf: Use any port for query source instead of
18087 restricting to port 53.
18089 2005-01-24 Dan Williams <dcbw@redhat.com>
18091 * initscript/RedHat/NetworkManager
18092 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18093 to add the NM startup script at priority 50, which was
18096 2005-01-24 Dan Williams <dcbw@redhat.com>
18098 Patch from Tom Parker <palfrey@tevp.net>
18099 * Fix up compile warnings & errors in the wireless applet
18101 2005-01-24 Dan Williams <dcbw@redhat.com>
18103 * panel-applet/NMWirelessApplet.c
18104 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18106 2005-01-24 Dan Williams <dcbw@redhat.com>
18108 * panel-applet/gtkcellview.[ch]
18109 - Only compile these files for GTK 2.4 or lower, since
18110 GtkCellView is now public in GTK 2.6. Fixes crasher
18111 when choosing "Other Wireless Networks" from the panel
18114 2005-01-21 Dan Williams <dcbw@redhat.com>
18116 * src/NetworkManager.c
18117 - Daemonize earlier so that glib doesn't get confused (?)
18119 2005-01-21 Dan Williams <dcbw@redhat.com>
18121 * panel-applet/NMWirelessApplet.[ch]
18122 panel-applet/NMWirelessAppletDbus.c
18123 panel-applet/menu-info.c
18124 src/NetworkManagerDevice.c
18125 - Disable wired devices in the menu when they have no link.
18127 2005-01-21 Dan Williams <dcbw@redhat.com>
18129 * Cache last-known-good wireless authentication method in
18130 NetworkManagerInfo, and use that method first during
18131 wireless device activation. Should speed up devices that
18132 need Shared Key authentication method since Open System is
18135 * Remove the hack to not do full activation on wired connections
18136 that are active when we launch, it causes too many problems
18137 with name resolution and was a hack in the first place.
18139 * Re-work wireless device activation again somewhat to have a
18140 clearer chain of events and to use last-known-good
18141 authentication method of the access point. Also provide
18142 better status throughout activation to ensure the applet
18143 can tell the user exactly what's going on.
18145 * Remove the "find wireless network" code and now simply attempt
18146 to activate with that access point. This reduces the delay
18147 between selecting "Other wireless Network" and actually
18148 connecting to that network.
18150 * Correctly stop the device's worker thread when its removed.
18152 2005-01-21 Dan Williams <dcbw@redhat.com>
18155 - Clean up some of the debug messages
18157 2005-01-21 Dan Williams <dcbw@redhat.com>
18159 * Add new icons, more frames of animation
18160 * Remove some hacks to get the panel applet to display correct
18161 status, an NM update will soon follow that will fix the
18164 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18166 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18167 the first include for working i18n. Also, don't include it in .h files
18168 * panel-applet/NMWirelessApplet.h: Same
18169 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18170 * panel-applet/menu-info.c: Same
18172 2005-01-18 Dan Williams <dcbw@redhat.com>
18175 - Remove some debug messages
18176 - Wrap others in #ifdef DEBUG/#endif
18178 * src/NetworkManager.c
18179 - Remove some debug messages
18180 - Clarify some debug messages
18181 - Remove code related to old single-thread wireless scanning
18183 * src/NetworkManagerAP.[ch]
18184 - New AP property "last_seen" to track how recently an AP was
18186 - Start using 'const' more in function arguments
18188 * src/NetworkManagerAPList.[ch]
18189 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18190 of an AP found in an AP list from a source AP, or if not found
18191 in the list add the source AP
18192 - (nm_ap_list_combine): remove, no longer needed
18194 * src/NetworkManagerDevice.c
18195 - Each device now has a "worker" thread from start to end of its life.
18196 Scanning for wireless devices now happens in that thread,
18197 not in a single "wireless scanning thread" for all devices as
18198 previously. Activation consists of adding an idle handler to the
18199 thread's main loop/context, which gets run at the next available
18201 - Wireless scanning is also simplified, there is now only one list of
18202 access points per wireless device, and APs older than 60s are
18203 removed from the list. Previously, we kept results for the last
18204 3 scans and merged whole lists, which was complicated.
18205 - Cleaned up activation debug messages.
18206 - Wireless activation and access-point search routines now use Open System
18207 authentication before trying Shared Key.
18208 - Removed some code in nm_device_update_best_ap() that could cause cards
18209 to loose their link to the access point.
18210 - Scanning now uses a backoff algorithm, where the inverval becomes
18211 progressively longer between scans when the list of scanned access
18212 points doesn't change. A change will revert to the shortest scan
18215 * src/NetworkManagerWireless.[ch]
18216 - Remove code related to old single-thread wireless scanning
18218 2005-01-18 Colin Walters <walters@redhat.com>
18220 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18221 of older nameservers.
18223 2005-01-18 Colin Walters <walters@redhat.com>
18225 * named/nm-named-manager.c (generate_named_conf): Many fixes
18226 to config file generation.
18227 (safer_kill): Remove, was too much trouble for little gain.
18228 (nm_named_manager_start): Run named as NM_NAMED_USER.
18230 * configure.in: Add option --with-named-user.
18232 2005-01-14 Colin Walters <walters@redhat.com>
18234 Patch from ed@catmur.co.uk (Ed Catmur)
18236 * named/nm-named-manager.c: Add "context" property.
18237 Use it to add child watch source in specific GMainContext.
18239 * src/NetworkManager.c (nm_data_new): Initialize
18240 named with correct main context. Start named only
18243 2005-01-14 Colin Walters <walters@redhat.com>
18245 * named/nm-named-manager.c (generate_named_conf): Write config
18246 and pid files into NM_NAMED_DATA_DIR; this allows things to
18247 work better with FC3 named SELinux policy. Also fix up silly
18250 * configure.in: Add --with-named-dir option.
18252 2005-01-14 Colin Walters <walters@redhat.com>
18254 * configure.in: Make named support require passing --with-named.
18256 * named/nm-named-manager.c: Support writing resolv.conf directly
18257 without running named.
18259 2005-01-13 Dan Williams <dcbw@redhat.com>
18261 * named/nm-named-manager.c
18262 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18264 * src/NetworkManagerDevice.c
18265 - Rework wireless link detection code to be more reliable
18267 2005-01-12 Dan Williams <dcbw@redhat.com>
18269 * initscripts/RedHat/NetworkManager
18270 - Change initial level to "-" rather than "345" so that
18271 we don't activate ourselves by default on install
18273 2005-01-12 Dan Williams <dcbw@redhat.com>
18276 - Client library for applications using glib
18280 - Split NM_CFLAGS and NM_LIBS into separate variables
18281 like DBUS_*, HAL_* and GLIB_*
18283 * src/NetworkManager.c
18284 src/NetworkManagerMain.h
18285 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18286 broadcast a status changed signal over DBUS from the main thread.
18287 Still unused anywhere for the moment.
18289 Patch from j@bootlab.org
18290 * panel_applet/NMWirelessAppletDbus.c
18291 src/NetworkManagerDbus.c
18292 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18293 for the "getMode" method call
18295 2005-01-10 Dan Williams <dcbw@redhat.com>
18297 * src/NetworkManagerDevice.c
18298 - Minor fixups & corrections to "auto" frequency mode, make it
18299 less chatty with syslog
18301 2005-01-10 Dan Williams <dcbw@redhat.com>
18303 * src/NetworkManagerDevice.c
18304 - Implement "auto" frequency/channel support, since cards like Atheros
18305 can't use other frequencies at all when you've told it to use a
18306 specific one, even for scanning.
18307 - Grab the scan mutex around places where we can't tolerate wireless
18308 settings changing underneath us, like nm_device_wireless_network_exists()
18309 and nm_device_activate_wireless()
18311 * src/NetworkManagerWireless.c
18312 - Back scan interval off to 20s instead of 14s
18314 2005-01-09 Dan Williams <dcbw@redhat.com>
18316 * src/NetworkManagerDevice.c
18317 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18318 already set. Stops some drivers like Atmel from continually
18319 reloading the firmware, which they do upon every configuration
18322 2005-01-09 Dan Williams <dcbw@redhat.com>
18325 - Use correct timeout value
18327 * info-daemon/NetworkManagerInfoDbus.c
18328 src/NetworkManagerDbus.c
18329 - Consolidate communication between NM and NMI by doing only 1 dbus
18330 method call to get Wireless Network info from NMI instead of 6
18332 * src/NetworkManager.c
18333 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18334 when we didn't have an AP to use, we'd wait for one forever without
18337 * src/NetworkManagerDevice.c
18338 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18339 activation, dhcp might not have started yet but we don't quit activation
18340 before starting it, so the quit signal gets lost
18342 2005-01-07 Dan Williams <dcbw@redhat.com>
18345 - Rework the DHCP client code to be much less chatty when
18346 it receives non-DHCP UDP packets during the DHCP run
18347 (reported by and preliminary patches from Bill Moss)
18349 * Move wireless scanning to a separate thread. This thread forwards the
18350 results to the main thread when done where they are integrated into
18351 the device's access point lists. This keeps the main thread (which
18352 does all the DBUS communication) from being blocked for long periods
18353 of time by wireless scanning.
18355 * Make state modification an idle routine in the main loop, and trigger
18356 state changes rather than polling for them.
18358 * src/backends/NetworkManagerGentoo.c
18359 - Fix up invalid C90 code (reported by Christoph Ruessler)
18361 * src/NetworkManagerDevice.c
18362 - Revert IPv6 patch for wired devices from 2004-12-22 for
18363 router advertisements, causing problems and infinite loop
18364 during "best" device determination due to link going up/down
18365 (reported by Bill Moss)
18367 Apply patch from Peter Jones
18368 * src/NetworkManagerDevice.c
18369 - Shortcut for link-checking for ipw2x00 cards
18370 - Split out association check into separate routine
18372 2004-01-05 Colin Walters <walters@redhat.com>
18374 * named/named.conf: Add PID_FILE.
18376 * named/nm-named-manager.c: Always generate a pid
18377 file, since older BIND versions don't support
18380 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
18382 * configure.in (ALL_LINGUAS): Added ja (Japanese).
18384 2004-12-22 Dan Williams <dcbw@redhat.com>
18386 * src/NetworkManagerDevice.c
18387 - Silently fail when setting bitrate doesn't work
18390 Patches from j@bootlab.org:
18391 * src/backends/NetworkManagerDebian
18392 - Update backend to match functionality in RedHat backend
18393 * src/NetworkManagerDevice.c
18394 - Take down then bring up wired devices after connection so
18395 they send out ipv6 router advertisements
18397 2004-12-21 Colin Walters <walters@verbum.org>
18399 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18400 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18402 2004-12-21 Colin Walters <walters@redhat.com>
18404 * configure.in: Correct named detection.
18406 2004-12-21 Colin Walters <walters@redhat.com>
18408 * src/NetworkManager.c (nm_data_new): Initialize named.
18409 Also, set up a signal handler for SIGINT/SIGTERM, and exit
18410 the mainloop when these signals are received.
18411 (nm_data_free): Unref named.
18412 (sigterm_handler, sigterm_pipe_handler): New functions for
18415 * src/NetworkManagerMain.h (NMData): Add signal handling and
18418 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18421 * src/NetworkManagerDHCP.c (set_nameservers): New function;
18422 set nameservers from DHCP response data.
18423 (set_domain_search): Set domain search from DHCP response.
18424 (nm_device_dhcp_configure): Invoke them.
18426 * src/NetworkManagerSystem.c
18427 (nm_system_device_update_resolv_conf): Delete. Deleting
18428 code is totally sweet.
18430 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18432 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18433 implements an object which controls a nameserver. Currently
18436 * configure.in: Check for named.
18438 * Makefile.am (SUBDIRS): Add named dir.
18440 * named/named.conf: New template config file.
18442 2004-12-20 Colin Walters <walters@redhat.com>
18444 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18447 2004-12-17 Dan Williams <dcbw@redhat.com>
18449 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
18450 link-local addresses instead of doing DHCP.
18452 * In the panel applet, there's a new "Create new Wireless Network..." item
18454 * The panel applet also sticks around now even if NetworkManager dies, but
18455 it doesn't hide its icon when NM isn't around. Not hiding the icon is
18456 a bug, I'll fix that later.
18458 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18459 lookups after a switch rather than actually doing them.
18461 * Clean up some of those warnings in nm_ap_list_* functions
18463 * Delay between scans changed to 15s instead of 10s
18465 2004-12-15 Dan Williams <dcbw@redhat.com>
18467 Patch from Tom Parker
18468 * Add autoip/Link Local Addressing support when we fail to get a DHCP
18471 * Longer pause after setting ESSID on cards that support a larger number
18472 of channels to give the card time to find the right channel
18474 * Add system hook to restart mDNSResponder (or whatever the local implementation
18475 of Multicast DNS is) when we activate interfaces
18477 2004-12-15 Dan Williams <dcbw@redhat.com>
18479 * Rework the DHCP code again to revert to sending full ethernet frames
18480 rather then relying on the kernel to do the right thing with our
18483 2004-12-06 Dan Williams <dcbw@redhat.com>
18486 - Fix some minor errors in dhcp_handle_transaction() that caused
18487 unexpected early timeouts of DHCP transactions
18490 - DHCP retransmit time from 4s -> 5s
18492 2004-12-05 Dan Williams <dcbw@redhat.com>
18494 * Major rework of the DHCP code, taking some cues from pump. We don't
18495 write raw Ethernet packets anymore, which simplifies the code quite
18496 a bit. The new code should be more robust, not hang in recvfrom()
18497 as much, and generally work better. This also means that we need
18498 to force HAL/dbus to use a created GMainContext rather than the
18499 default context, since having the DHCP renew/rebind thread using
18500 its own GMainContext seemed to give dbus a fit. There is also more
18501 debugging information printed from the DHCP loop to help with future
18504 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18505 assume that the default gateway should be the DHCP server.
18507 Patch from Matthew Schick <matt oss-institute org>
18508 * src/backends/NetworkManagerGentoo.c
18509 - Fix compilation error due to missing "ip4_broadcast"
18511 2004-12-03 Dan Williams <dcbw@redhat.com>
18513 * initscript/Makefile.am
18514 * initscript/Debian/NetworkManager
18515 * initscript/Gentoo/NetworkManager
18516 * initscript/RedHat/NetworkManager
18517 * initscript/NMLaunchHelper.c
18518 - Remove NMLaunchHelper, if you need to wait until the network
18519 comes up, use the dead code from CVS.
18521 2004-12-01 Colin Walters <walters@redhat.com>
18523 * configure.in: Suck in gcc warnings code from Rhythmbox,
18524 but use fewer default flags, and in particular add -Wno-unused,
18525 since the codebase has a lot of unused variables.
18527 * test/nmtestdevices.c (create_device):
18528 * test/nminfotest.c (get_network_string_property)
18529 (get_networks_of_type):
18530 * test/nmclienttest.c (main):
18531 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
18532 * initscript/NMLaunchHelper.c (get_nm_status):
18533 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
18534 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
18535 Fix declarations after statements.
18537 2004-12-01 Colin Walters <walters@redhat.com>
18539 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18540 (nmi_dbus_get_vpn_userpass): New method.
18541 (nmi_dbus_nmi_message_handler): Invoke it.
18543 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18545 * info-daemon/NetworkManagerInfoVPN.h,
18546 info-daemon/NetworkManagerInfoVPN.c: New files; responds
18547 to requests for VPN passwords.
18549 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18551 2004-12-01 Colin Walters <walters@redhat.com>
18553 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18556 2004-12-01 Colin Walters <walters@redhat.com>
18558 * panel-applet/NMWirelessAppletDbus.c
18559 (nmwa_dbus_update_active_device_strength): Fix missing
18562 2004-12-01 Colin Walters <walters@redhat.com>
18564 * panel-applet/NMWirelessApplet.c: Add missing include.
18566 2004-12-01 Colin Walters <walters@redhat.com>
18568 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18569 Remove useless CLAMP (); the value is unsigned, and the case tests
18570 qual->qual < 100, so the value must always be between 0 and 100.
18572 2004-12-01 Colin Walters <walters@redhat.com>
18574 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18576 2004-11-22 Colin Walters <walters@verbum.org>
18578 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18579 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18580 which is essentially a noop since nscd caches hosts on disk too.
18582 2004-11-22 Colin Walters <walters@redhat.com>
18584 * src/Makefile.am (NetworkManager_SOURCES): Add
18585 NetworkManagerDevicePrivate.h.
18587 2004-11-22 Dan Williams <dcbw@redhat.com>
18589 * src/NetworkManagerDevicePrivate.h
18590 - Split out the NMDevice struct to a different file so that stuff like
18591 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18595 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18596 need to cancel the dhcp request during the send and recv
18599 - Move the DHCP option enum to dhcpcd.h
18601 * src/NetworkManagerDHCP.c
18602 - Split out the actual IP/netmask/etc setting code
18603 - New Renew/Rebind functions
18604 - New timer setup function for renew/rebind operations
18606 * src/NetworkManagerDevice.c
18607 - For device activation, if we are using DHCP then keep the activation thread
18608 alive until device deactivation. We need to renew/rebind the DHCP address
18609 after the T1 (renew) and T2 (rebind) times have expired.
18610 - Increase some timeouts after bringing wireless cards up/down
18612 2004-11-17 Dan Williams <dcbw@redhat.com>
18614 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18615 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
18616 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
18617 show known access points that don't broadcast their ESSID in the menus without
18618 any user intervention whatsoever.
18620 * info-daemon/NetworkManagerInfoDbus.c
18621 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18622 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18624 * src/NetworkManagerAP.[ch]
18625 - Add a "user_addresses" data member to the NMAccessPoint structure
18626 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18627 the user_addresses data member
18629 * src/NetworkManagerAPList.c
18630 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18631 the AP's reported address
18632 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18634 * src/NetworkManagerDHCP.c
18635 - Increase DHCP timeout from 25s -> 30s
18637 * src/NetworkManagerDbus.[ch]
18638 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18641 * src/NetworkManagerDevice.c
18642 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18643 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
18644 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18645 So, we take the card down to clear it out.
18646 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18647 too, since that's where the user_addresses are
18649 * src/NetworkManagerPolicy.c
18650 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18651 that wireless networks' user_addresses list upon successful activation
18653 2004-11-16 Dan Williams <dcbw@redhat.com>
18655 * src/NetworkManagerDevice.[ch]
18656 - (nm_device_clear_activation_fail): new function
18658 * src/NetworkManagerPolicy.c
18659 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18660 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18662 2004-11-16 Dan Williams <dcbw@redhat.com>
18664 * src/NetworkManagerDevice.c
18665 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18666 leak the structure, better updating of now_scanning status
18667 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18669 2004-11-15 Dan Williams <dcbw@redhat.com>
18671 Major rework of link detection code. We now use DHCP
18672 as part of the link detection which proves to be much more robust,
18673 and also supports Open System authentication for wireless networks.
18675 We no longer use external DHCP client programs. Instead, we use
18676 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18677 which was written by:
18678 Yoichi Hariguchi <yoichi@fore.com>
18679 Sergei Viznyuk <sv@phystech.com>
18680 http://www.phystech.com/download/
18681 It resides in the "dhcpcd" directory and was refactored into a general
18682 purpose DHCP client library by me.
18684 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18685 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18687 2004-11-15 Dan Williams <dcbw@redhat.com>
18689 Patch from Tom Parker <palfrey@tevp.net>:
18691 * src/NetworkManagerDevice.c
18692 - Less output to console when no access
18693 points are found during a scan
18695 2004-11-15 Dan Williams <dcbw@redhat.com>
18697 Patch from Tom Parker <palfrey@tevp.net>:
18699 * src/backends/interface_parser.c
18701 - Check for inp == NULL
18704 2004-11-13 Colin Walters <walters@redhat.com>
18706 Patch from Tom Parker <palfrey@tevp.net>:
18708 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18710 * src/backends/NetworkManagerRedHat.c: Switch to
18711 including shvar.h instead of shvar.c.
18713 * src/backends/NetworkManagerDebian.c: Don't include
18714 interface_parser.c in source file.
18716 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18717 and interface_parser.[ch].
18718 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18719 Include shvar.c and shvar.h here.
18720 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18721 interface_parser.c and interface_parser.h here.
18723 2004-11-12 Colin Walters <walters@redhat.com>
18725 * configure.in: Strip out TARGET_DISTRO and
18726 SYSTEM_BACKEND_FILE variables. Switch to Automake
18729 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18730 (libnmbackend_la_SOURCES): Use Automake conditionals
18731 to add distro-specific files.
18733 * initscript/Makefile.am (SUBDIRS): Update to
18736 2004-11-12 Colin Walters <walters@redhat.com>
18738 Patches from j bootlab org
18740 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
18741 Add interface_parser.[ch].
18743 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
18744 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
18746 2004-11-12 Colin Walters <walters@redhat.com>
18748 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
18749 call to nmi_dbus_is_running too, not necessary anymore.
18750 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
18753 2004-11-11 Colin Walters <walters@verbum.org>
18755 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
18757 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
18758 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
18759 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
18760 This avoids a race condition that made it pretty easily
18761 possible to get two NetworkManagerInfo daemons running.
18763 2004-11-11 Colin Walters <walters@verbum.org>
18765 * src/NetworkManager.c (main): Use daemon(3).
18767 * info-daemon/NetworkManagerInfo.c (main): Ditto.
18769 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
18771 2004-11-10 Dan Williams <dcbw@redhat.com>
18773 Patches from j bootlab org
18774 * src/NetworkManagerDevice.c
18775 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
18776 whether the card has a link or not, some cards are slow
18777 - (nm_device_activation_configure_ip): make ipv6 work a bit better
18779 * info-daemon/NetworkManagerInfoPassphraseDialog.c
18780 - Disable the "Login" button on the passphrase dialog until the user
18781 enters a valid passphrase or key
18783 Patches from Tom Parker <palfrey tevp net>
18784 * src/backends/NetworkManagerDebian.c
18785 - Add static IP support to the debian backend
18787 * src/backends/interface_parser.[ch]
18788 - Parse debian interface config files
18790 2004-11-08 Dan Williams <dcbw@redhat.com>
18792 * src/NetworkManagerDevice.c
18793 - Some random fprintf->syslog conversions
18794 - (nm_device_wireless_network_exists): double-check for network
18795 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
18797 * src/NetworkManagerWireless.[ch]
18798 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
18799 so that the binary->ascii conversion works (if unsigned, the bitshift
18800 will fill with zeros, which is what's required). Also mask bitshift
18801 result with 0xF for futher assurance.
18803 2004-11-06 Dan Williams <dcbw@redhat.com>
18805 * src/NetworkManagerUtils.c
18806 - (nm_get_wireless_driver_support_level): default to
18807 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
18808 flip this when changing from whitelist->blacklist of
18811 2004-11-05 Dan Williams <dcbw@redhat.com>
18813 Patch from Robert Paskowitz:
18814 * src/backends/NetworkManagerGentoo.c
18815 - Update static IP config code
18817 2004-11-05 Dan Williams <dcbw@redhat.com>
18819 * info-daemon/NetworkManagerInfoDbus.c
18820 src/NetworkManagerDbus.[ch]
18821 src/NetworkManagerDevice.c
18822 - Keep track of the # of attempts to get the WEP key
18823 from the user and pass that along to the info daemon
18825 2004-11-05 Dan Williams <dcbw@redhat.com>
18827 * src/NetworkManagerUtils.c
18828 - Blacklist wireless cards rather than whitelisting them.
18829 - Grab driver name from HAL rather than trying to find it
18832 2004-11-03 Dan Williams <dcbw@redhat.com>
18834 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
18835 - Disable OK button until valid data is entered
18836 for encryption stuff too
18838 * panel-applet/NMWirelessApplet.c
18839 - Report card strength for current AP if the card
18840 doesn't report strength data for scanned access
18843 * src/NetworkManagerDevice.c
18844 - Smooth out cards reported quality, Atmel card was
18845 intermittently reporting no quality data but soon
18848 * src/NetworkManagerWireless.c
18849 - Better quality data percentage calculation. Atmel
18850 cards (mine at least) seem to report the quality
18851 in percentage format already, so honor that
18853 Patch from <j@bootlab.org>
18855 info-daemon/NetworkManagerInfoPassphraseDialog.c
18856 info-daemon/passphrase.glade
18857 panel-applet/NMWirelessAppletOtherNetworkDialog.c
18858 panel-applet/essid.glade
18859 src/NetworkManagerAP.c
18860 src/NetworkManagerDevice.c
18861 src/NetworkManagerWireless.[ch]
18862 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
18864 2004-11-03 Dan Williams <dcbw@redhat.com>
18866 * src/NetworkManagerDevice.[ch]
18867 - (nm_device_set_enc_key): Add parameter to set Authentication
18868 Mode (Open System, Shared Key, or None). We're still using
18869 Shared Key for now though.
18871 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
18873 * panel-applet/menu-info.c: change from bold text to light
18874 colored, may cause problems with some themes, i've tested a lot
18875 and they seem fine.
18877 * panel-applet/NMWirelessApplet.c: fix strength tooltip
18879 2004-11-01 Colin Walters <walters@verbum.org>
18881 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
18882 (nm_wireless_128bit_key_from_passphrase): Add const.
18884 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
18885 (nm_ap_set_enc_key_source): Add const.
18887 2004-11-01 Colin Walters <walters@verbum.org>
18889 * .cvsignore: Update.
18891 2004-10-29 Dan Williams <dcbw@redhat.com>
18893 * src/NetworkManagerDevice.c
18894 - (nm_device_wireless_network_exists): Actually use the encryption
18895 key we got from the applet when attempting to find a wireless network
18896 - Don't bring devices down so much since on some cards it triggers
18897 firmware hotplugs each time
18899 * src/NetworkManagerDbus.c
18900 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
18903 2004-10-29 Dan Williams <dcbw@redhat.com>
18905 * src/NetworkManager.c
18906 - (nm_hal_device_property_modified): unlock a locked active
18907 wireless device when a wired connection gets a link.
18908 (Means you'll switch to wired whenever you plug in no
18911 2004-10-29 Dan Williams <dcbw@redhat.com>
18913 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
18914 - New files, implement the "Other wireless network" dialog
18916 * panel-applet/NMWirelessApplet.c
18917 - Move "other wireless network" dialog to separate file
18919 * panel-applet/NMWirelessAppletDbus.[ch]
18920 - Take key and key_type paramaters for the set_device function
18922 * panel-applet/essid.glade
18923 - Add UI bits for encryption settings
18925 * src/NetworkManagerDbus.c
18926 - Retrieve key and key_type params for "setActiveDevice" method call
18928 - unref AP returned from nm_device_get_best_ap() when needed
18930 * src/NetworkManagerDevice.c
18931 - (nm_device_get_best_ap): ref the ap before returning it
18932 - unref AP returned from nm_device_get_best_ap() when needed
18933 - (nm_device_activate_wireless): add "ap" parameter so we don't
18934 need to call nm_device_get_best_ap() here, it was pretty much
18936 - (AP_NEED_KEY): break second link check condition out into separate
18937 function, and fix segfault when ap->enc_key_source was NULL
18938 - (nm_device_find_and_use_essid): take key and key_type parameters and
18939 pass them along to nm_device_wireless_network_exists(). If the
18940 network does exist, set the passed-in key+key_type on the AP
18942 * src/NetworkManagerPolicy.c
18943 - unref AP returned from nm_device_get_best_ap() when needed
18945 2004-10-28 Dan Williams <dcbw@redhat.com>
18947 * src/NetworkManagerUtils.c
18948 - (nm_spawn_process): Fix a potential dereference of NULL
18950 Patches from Peter Jones:
18952 * src/NetworkManagerDevice.c
18953 - (nm_device_test_wireless_extensions): Better check for
18956 * src/NetworkManagerUtils.c
18957 - (nm_spawn_process): Pass in valid stdout and stderr so
18958 executed programs don't randomly SIGPIPE and fail
18959 - (nm_get_wired_driver_support_level): quash hal warning
18960 when checking for USB ethernet device
18962 2004-10-27 Dan Williams <dcbw@redhat.com>
18964 * info-daemon/NetworkManagerInfo.c
18965 info-daemon/NetworkManagerInfoDbus.c
18966 info-daemon/NetworkManagerInfoPassphraseDialog.c
18967 panel-applet/NMWirelessApplet.c
18968 - Properly escape gconf keys
18970 * src/NetworkManager.c
18971 - remove unused variables
18973 * src/NetworkManagerAP.c
18974 - (nm_ap_new_from_ap): Don't redundantly set new APs
18975 refcount since it got set in nm_ap_new()
18977 * src/NetworkManagerAPList.c
18978 - (nm_ap_list_combine): Give up ownership of newly created
18979 access points to the ap list, fixes memleak
18981 * src/NetworkManagerDevice.c
18982 - Remove cached_ap_list4 member since its not really needed
18983 - (nm_device_wireless_network_exists): Try to get correct
18984 encryption status of a found AP if its already in our
18986 - (nm_device_do_normal_scan): Clean up scanning a bit, make
18987 memory allocs/deallocs a bit clearer and shorter-lived
18989 2004-10-26 Ray Strode <rstrode@redhat.com>
18991 * panel-applet/NMWirelessApplet.c:
18992 (custom_essid_item_selected): kill some compiler
18995 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
18997 * info-daemon/NetworkManagerInfoDbus.c
18998 - (nmi_dbus_is_running): New function for determining if nmi is already running
18999 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19001 2004-10-23 Dan Williams <dcbw@redhat.com>
19003 * info-daemon/NetworkManagerInfoDbus.c
19004 - Trap the "DeviceActivationFailed" signal
19006 * docs/NetworkManager DBUS API.txt
19007 - Add "DeviceActivationFailed" signal
19009 * panel-applet/NMWirelessAppletDbus.c
19010 - Quash the "NetworkManager service not available" message
19012 * src/NetworkManagerDbus.[ch]
19013 - Add the "DeviceActivationFailed" signal
19015 * src/NetworkManagerDevice.c
19016 - Add support for activation_failed flag
19017 - Fix deadlock where activation thread didn't clean itself up, making
19018 main thread still believe it was alive forever (didn't reset activation
19019 flags like activating, just_activated, etc when IP configuration
19022 * src/NetworkManagerPolicy.c
19023 - Implement logic for DeviceActivationFailed signal, and when activation fails
19024 for wireless networks, try to fall back to some other access point
19026 2004-10-23 Dan Williams <dcbw@redhat.com>
19028 * panel-applet/NMWirelessApplet.[ch]
19029 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19030 to the applet object, so we can get tooltips
19031 - Add tooltips (RH #136866)
19033 * src/NetworkManagerDevice.c
19034 - When trying to find a wireless network, try to connect with encryption
19035 turned on first, so that we can more accurately detect whether or not
19036 we need to use encryption for the actual association later on
19038 2004-10-21 Dan Williams <dcbw@redhat.com>
19040 * Add some support for telling NetworkManagerInfo to tell the user
19041 that they are using a device that's not fully supported
19043 * Fix some assertions in debug messages due to null access point args
19045 2004-10-21 Dan Williams <dcbw@redhat.com>
19047 * src/NetworkManagerDevice.c
19048 - Don't try to activate/bring up/down unsupported
19051 * src/NetworkManagerUtils.c
19052 - Fix case of PCI ID checks for driver support levels
19054 2004-10-21 Dan Williams <dcbw@redhat.com>
19057 - New file, now contains commonly used structures and bits
19058 for the dbus API of NetworkManager
19061 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19063 * src/NetworkManager.h
19064 - Rename -> src/NetworkManagerMain.c
19066 * Various fixups all around to use NetworkManager.h and new
19067 src/NetworkManagerMain.h, remove redundant bits that got
19068 moved into NetworkManager.h
19070 * src/NetworkManagerDevice.[ch]
19071 src/NetworkManagerUtils.[ch]
19072 src/NetworkManagerPolicy.c
19073 src/NetworkManagerDbus.c
19074 - Whitelist wireless drivers, and blacklist some wired
19075 drivers. Also blacklist cipsec and ethernet-over-usb
19076 devices at this time (RH #135722, RH #135648)
19077 - Don't leak unsupported devices out over dbus, or allow
19078 them to be set as the active device. Skip over them
19079 during automatic device picking
19081 * test/nmclienttest.c
19082 - Clean up the dbus code a lot
19084 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19086 * configure.in: post release bump.
19088 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19091 * NEWS: Released NetworkManager-0.3.1
19093 2004-10-18 Dan Williams <dcbw@redhat.com>
19095 Patches from Thom May:
19096 * test/nmtestdevices.c
19097 - Include <string.h>
19098 * src/backends/NetworkManagerDebian.c:
19099 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19100 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19101 Move to using g_strdup_printf rather than arbitrary buffers
19102 - (nm_system_device_setup_static_ip4_config) Implement function.
19103 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19105 2004-10-17 Dan Williams <dcbw@redhat.com>
19107 * info-daemon/NetworkManagerInfoDbus.c
19108 - Display name of network in the "network not found" dialog
19110 * panel-applet/NMWirelessAppletDbus.c
19111 - (nmwa_dbus_call_nm_method): new function replaces all other
19112 nmwa_dbus_get_[string|string_array|int|boolean] methods
19113 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19114 consolidated into nmwa_dbus_get_object_name()
19116 2004-10-15 Dan Williams <dcbw@redhat.com>
19118 * src/NetworkManagerDbus.c
19119 info-daemon/NetworkManagerInfoDbus.c
19120 - Display an error dialog when the user tries to use an
19121 "Other wireless network" that's not found.
19123 2004-10-15 Dan Williams <dcbw@redhat.com>
19125 * panel-applet/NMWirelessApplet.[ch]
19126 - Fix up corner cases in applet state, making it
19127 look more responsive. Change state to "connecting" when
19128 the user is forcing a device too.
19130 2004-10-15 Dan Williams <dcbw@redhat.com>
19132 * src/NetworkManagerAPList.c
19133 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19135 * src/NetworkManagerDbus.c
19136 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19138 * src/NetworkManagerDevice.c
19139 - Disown APs after the device's AP list takes ownership
19141 2004-10-15 Dan Williams <dcbw@redhat.com>
19143 * panel-applet/NMWirelessApplet.c
19144 - Update our applet state from the GUI thread
19146 * panel-applet/NMWirelessAppletDbus.c
19147 - Greatly simplify the locking to make the GUI thread
19148 smoother. Update a private copy of the device list
19149 and active device and only when done talking to
19150 NetworkManager turn it over to the GUI thread.
19152 2004-10-15 Dan Williams <dcbw@redhat.com>
19154 * src/NetworkManagerAP.[ch]
19155 - Add "artificial" get/set functions, set for APs that
19156 aren't discovered as part of a scan but instead
19157 discovered by force-setting the ESSID
19159 * src/NetworkManagerDevice.[ch]
19160 - (nm_device_wireless_network_exists): pass back whether
19161 or not the discovered AP was encrypted. Also, try
19162 falling back to encrypted mode on the card if unencrypted
19163 association doesn't work
19164 - (nm_device_find_and_use_essid): If the network requested
19165 did in fact exists, but it wasn't in our scan list, add
19166 an "artificial" entry for it. Some Cisco cards don't
19167 see non-ESSID-broadcasting APs in their scan but can still
19168 associate with them if you know the ESSID, this works around
19170 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19171 to scan if the card is currently associated with that AP
19173 2004-10-15 Dan Williams <dcbw@redhat.com>
19175 ---- We have a website ----
19176 http://people.redhat.com/dcbw/NetworkManager
19178 Patch from Robert Paskowitz:
19179 * src/NetworkManager.c
19180 - (main): Make sure we are run as root
19181 * src/NetworkManagerDevice.c
19182 - Fix type in ad-hoc setting function
19184 Patch from Thom May:
19185 * src/backends/NetworkManagerDebian.c
19186 - Make Debian backend compile again
19188 2004-10-14 Dan Williams <dcbw@redhat.com>
19190 * Tagged NetworkManager-0_3
19192 2004-10-14 Dan Williams <dcbw@redhat.com>
19194 Patch from Robert Paskowitz:
19196 src/NetworkManagerDevice.[ch]
19197 src/backends/NetworkManagerDebian.c
19198 src/backends/NetworkManagerGentoo.c
19199 src/backends/NetworkManagerRedHat.c
19200 src/backends/NetworkManagerSlackware.c
19201 - Add support for grabbing and using a broadcast address
19202 from system config files
19203 - Some Gentoo backend fixes for grabbing network config
19204 - Fix LOG_WARN->LOG_WARNING
19206 2004-10-14 Dan Williams <dcbw@redhat.com>
19208 * NEWS: a few small fixes in the credits
19210 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
19212 * NEWS: prep for release.
19214 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
19216 * panel-applet/NMWirelessAppletDbus.c
19217 (nmwa_dbus_update_device_wireless_networks): remove warnings.
19219 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
19221 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19222 applet->state == APPLET_STATE_NO_NM animation.
19224 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19225 set the text correctly.
19227 2004-10-14 Dan Williams <dcbw@redhat.com>
19229 * src/NetworkManager.c
19230 - Only accept and manager 802.3 and 802.11 devices
19232 * src/NetworkManagerDbus.[ch]
19233 - (nm_dbus_nm_set_active_device): move most of the actual activation
19234 logic into NetworkManagerDevice.c
19235 - (nm_dbus_network_status_from_data): new function
19236 - (nm_dbus_signal_network_status_change): new function, unused for now
19237 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19239 * src/NetworkManagerDevice.[ch]
19240 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
19243 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19245 * info-daemon/NetworkManagerInfo.c
19246 - (main): Added session management
19248 2004-10-14 Dan Williams <dcbw@redhat.com>
19250 * panel-applet/NMWirelessAppletDbus.[ch]
19251 - Expose network_device_[un]ref()
19252 - Expose wireless_network_[un]ref()
19253 - (wireless_network_new_with_essid): new function, create and return
19254 a wireless network with a particular essid
19256 * panel-applet/NMWirelessApplet.c
19257 - Hook up the "other network" dialog to do something
19259 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
19261 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
19262 doesn't work yet, but it looks okay.
19264 * panel-applet/icons/*png: Resize to 22x22 and install in the
19267 2004-10-13 Dan Williams <dcbw@redhat.com>
19269 * panel-applet/NMWirelessApplet.c
19270 - Add function to print out applet_state in a readable
19273 * src/NetworkManager.c
19274 - (main): Don't segfault when nm_dbus_init() fails, we had
19275 a left-over call to hal_shutdown() into which we passed NULL
19277 * src/NetworkManagerAP.c
19278 - (nm_ap_set_essid): Allow NULL essids
19280 * src/NetworkManagerAPList.[ch]
19281 - More use of nm_ap_list_[un]lock ()
19282 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19283 network/essid, just return nothing. Also skip over NULL
19284 essid access points in the list when searching
19285 - (nm_ap_list_get_ap_by_address): new function
19286 - (nm_ap_list_update_network): set the access point's key source to
19287 NULL when the key returned from NetworkManagerInfo is NULL or
19289 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19290 copy timestamp over too
19291 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19292 find the correct ESSID for a blank-essid access point by searching
19293 through another list and matching access point MAC addresses
19294 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19296 * src/NetworkManagerDbus.c
19297 - (nm_dbus_nm_set_active_device): deal with random networks the user
19298 may specify. This is mainly for access points that don't
19299 broadcast their essid. So if the user tells us to associate with
19300 some random ESSID that's not in our access point list, we find
19301 out if the access point does in fact exist (by attempting association
19302 and then matching that access point's MAC address with the essid the
19303 user gave us) and then we switch to it.
19304 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19305 to the returned list of networks for the "getNetworks" method
19307 * src/NetworkManagerDevice.[ch]
19308 - Extra debugging info for link detection
19309 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19310 based on MAC address
19311 - (nm_device_get_path_for_ap): ignore blank-essid access points
19312 - (nm_device_wireless_network_exists): new function, find out whether
19313 a random ESSID exists by attempting to associate with it
19314 - (nm_device_do_normal_scan): allow blank-essid access points in our
19315 device list as long as they have an AP MAC address we can use.
19316 Also send WirelessNetwork[Dis]Appeared signals for non-active
19317 devices too. Lets the applet update more frequently.
19319 * src/backends/NetworkManagerGentoo.c
19320 - Patch from: Robert Paskowitz
19321 - Update backend code for Gentoo
19322 - Implement nm_system_device_update_config_info ()
19324 * test/nmclienttest.c
19325 - (set_network_device): new function, takes a command-line argument
19326 and tells NetworkManager to use that wireless network
19328 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19330 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19331 if the notification icon crashes 5 times within 5 seconds of each respawn
19333 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
19335 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19338 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
19340 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19342 * panel-applet/NMWirelessApplet.c: (animation_timeout),
19343 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19344 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19345 Change the name of the icons.
19347 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19348 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19349 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19350 (nm_menu_wireless_expose_event): Really bad hack to get the style
19351 to draw in the right color.
19353 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19355 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
19356 Notification if it crashes
19358 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
19360 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
19361 (nmwa_dbus_get_string): remove unused functions
19363 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19364 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19365 remove unused functions
19367 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19369 2004-10-12 Dan Williams <dcbw@redhat.com>
19371 * panel-applet/NMWirelessAppletDbus.c
19373 wireless_network_new
19374 wireless_network_copy
19376 network_device_copy
19378 * src/NetworkManagerDevice.[ch]
19380 nm_device_set_mode_managed
19381 nm_device_set_mode_adhoc
19382 - Use these functions where appropriate
19383 - When creating a new wireless device, force the card
19384 to managed/Infrastructure mode as soon as possible
19386 2004-10-12 Dan Williams <dcbw@redhat.com>
19388 * src/NetworkManagerDevice.c
19389 - Force wireless cards into Infrastructure mode before we use them
19391 2004-10-12 Dan Williams <dcbw@redhat.com>
19394 - Remove bit about static IP address support
19396 * src/NetworkManagerUtils.c
19397 - (nm_spawn_process): Add some error reporting
19399 * src/NetworkManagerDevice.c
19400 - (nm_device_activation_configure_ip): hook up to the static config
19401 routines in the backends
19403 * src/backends/NetworkManagerRedHat.c
19404 - (nm_system_device_update_config_info): use shvar.c routines to
19405 parse the config file iformation, not our own
19406 - (nm_system_device_setup_static_ip4_config): new function, based
19407 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
19408 with a static IP address and gateway
19410 * src/backends/shvar.[ch]
19411 - Parser (filched from initscripts package) for ifcfg-* files
19413 * src/backends/NetworkManagerSystem.h
19414 src/backends/NetworkManagerGentoo.c
19415 src/backends/NetworkManagerDebian.c
19416 src/backends/NetworkManagerSlackware.c
19417 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19419 2004-10-11 Dan Williams <dcbw@redhat.com>
19422 - Remove bit about more robust AP diffing since I just implemented it
19424 2004-10-11 Dan Williams <dcbw@redhat.com>
19426 * src/NetworkManagerAP.c
19427 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19428 enough RAM to allocate new AP structures, but return NULL instead
19430 * src/NetworkManagerAPList.[ch]
19431 - (nm_ap_list_is_empty): new function
19432 - (nm_ap_list_combine): new function, combine two access point lists
19433 - (nm_ap_list_copy_keys): new function, copy keys from one list
19436 * src/NetworkManagerDevice.[ch]
19437 - Rename some functions to be clearer:
19438 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19439 nm_device_just_activated -> nm_device_is_just_activated
19440 nm_device_activating -> nm_device_is_activating
19441 nm_device_now_scanning -> nm_device_is_scanning
19442 - Cache the last 4 scans so that the access point list is more stable.
19443 We combine the lastest two scans and use that as the AP list,
19444 and diff that combined list against the combination of the earliest
19445 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19447 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19449 * info-daemon/NWManagerInfo.h
19450 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19452 * info-daemon/NWManagerInfoDbus.c
19453 - (shutdown_callback): new function
19454 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19455 if NetworkManager goes away. Kill the timeout
19456 if NetworkManager restarts before the 30 seconds
19458 - (nmi_dbus_service_init):
19459 - call gtk_main_quit if NetworkManager is not running
19460 - add filters to monitor dbus service creations and
19463 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19465 * panel-applet/NMWirelessApplet.c
19466 - (nmwa_update_state): Hide notification icon if we are only
19467 showing one wired card and no wireless interfaces
19468 (Red Hat Bug #134895)
19470 * panel-applet/NMWirelessAppletDbus.c
19471 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19473 * info-daemon/NWManagerInfo.c
19474 - (main): Terminated the notification_icon_cmd array with a NULL
19476 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
19478 * configure.in (ALL_LINGUAS): Added de (German).
19480 2004-10-08 Dan Williams <dcbw@redaht.com>
19482 * src/NetworkManagerDevice.c
19483 - Be a bit more robust about link checking, ie make sure that
19484 the WEP key we were given actually has some data in it
19486 2004-10-08 Dan Williams <dcbw@redhat.com>
19488 * info-daemon/NetworkManagerInfo.c (main):
19489 - Initialize GError object to NULL
19491 2004-10-08 Dan Williams <dcbw@redhat.com>
19493 * panel-applet/NMWirelessAppletDbus.c
19494 - Die if NetworkManagerInfo dies, since it manages our lifetime
19496 2004-10-08 Dan Williams <dcbw@redhat.com>
19498 * info-daemon/NetworkManagerInfo.[ch]
19499 info-dameon/NetworkManagerInfoDbus.[ch]
19500 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19501 - Preserve original label text in the passphrase dialog so that
19502 it actually gets updated with the new network name the next
19503 time around. Previously, we were overwriting it so you'd get
19504 the wrong network name to enter a key for
19505 - Add a "Key Type" combo to the passphrase dialog, user selects
19506 encryption key type now, type is stored in GConf too
19507 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19509 * src/NetworkManagerAP.[ch]
19510 - Remove all the encyption method magic. It's now set by the user
19511 and NetworkManager retrieves the type of encryption key from
19514 * src/NetworkManagerAPList.[ch]
19515 src/NetworkManagerDbus.[ch]
19516 - Adjust to new way of setting encryption key and method
19517 - Pull encryption method down from NMI along with key
19519 * src/NetworkManagerDevice.[ch]
19520 - Removed encryption method fallback magic as the method is now
19521 determined by the user. This greatly simplifies the connection
19523 - More robust connection/link logic. Besides removing the encryption
19524 method fallback magic, check whether or not the card is receiving
19525 invalidly encrypted packets, which usually indicates that we have
19527 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19529 * test/nminfotest.c
19530 - Test out new "Key Type" stuff in the NMI passphrase dialog
19532 2004-10-07 Dan Williams <dcbw@redhat.com>
19534 * info-daemon/NetworkManagerInfo.conf
19535 - Allow root user to run NMI too
19537 2004-10-06 Dan Williams <dcbw@redhat.com>
19539 * src/NetworkManagerDevice.[ch]
19540 src/NetworkManagerDbus.c
19541 doc/NetworkManager DBUS API.txt
19542 - Add a new status tag "scanning", which is set when there
19543 is no active network connection, but NetworkManager is
19544 looking for an access point to associate with
19546 * panel-applet/main.c
19547 - Cast the applet appropriately for gtk_widget_show_all ()
19549 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
19551 * panel-applet/eggtrayicon.[ch]:
19552 * panel-applet/main.c: Add missing file
19554 2004-10-04 Dan Williams <dcbw@redhat.com>
19556 * src/NetworkManagerDevice.[ch]
19557 - Add a slightly more robust method of determining if the WEP key
19558 is correct or not, by checking the WEP-discarded packet count
19561 * info-daemon/NetworkManagerInfo.c
19562 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19563 un-escape values we pull out rather than escaping them
19565 2004-10-03 Marcel Telka <marcel@telka.sk>
19567 * configure.in (ALL_LINGUAS): Added sk.
19569 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
19571 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19572 and feel. We should be back to working, and have a good, clean
19575 2004-09-30 Dan Williams <dcbw@redhat.com>
19577 * info-daemon/NetworkManagerInfo.c
19578 info-daemon/NetworkManagerInfoDbus.c
19580 - Escape ESSIDs in gconf
19582 * src/NetworkManagerDevice.c
19583 - Fix pseudo-scanning to use netowrk list from info daemon
19585 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
19587 * configure.in: Add a temporary --enable-notification-icon. This
19588 will prolly go away.
19590 * info-daemon/Makefile.am:
19591 * info-daemon/NetworkManagerInfo.c:
19592 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19594 * panel-applet/Makefile.am:
19595 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19596 * panel-applet/NMWirelessApplet.h:
19598 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
19600 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
19601 before 'select custom ESSID'.
19603 * panel-applet/menu-info.c: Start rewrite for better headers. Not
19604 fully complete, but syncing in prep for merge.
19606 * panel-applet/icons/*png: New images
19608 2004-09-28 Dan Williams <dcbw@redhat.com>
19610 * src/NetworkManager.c
19611 src/NetworkManagerDevice.c
19612 src/NetworkManagerPolicy.c
19613 - Don't blow away an active wired connection on startup
19615 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
19619 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19621 * info-daemon/NetworkManagerInfoDbus.c: added service name to
19624 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
19626 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19627 have a wireless card.
19629 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
19631 * panel-applet/NMWirelessApplet.c: move the custom essid item.
19632 Also, get the right device strings.
19634 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
19636 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19637 the logic to make this right.
19639 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19640 devices so that wired networks are always first.
19642 2004-09-22 <clarkbw@cvs.gnome.org>
19644 * initscript/Debian/.cvsignore:
19645 * initscript/Slackware/.cvsignore:
19646 Added new cvsignores for Makefile, Makefile.in
19649 Added nmtestdevices
19651 * src/NetworkManagerDevice.c:
19652 * src/NetworkManager.c:
19653 Updated the wireless/wired HAL device strings from net.ethernet to
19654 net.80203 or net.80211 depending on wired or wireless respectively
19656 * examples/python/NetworkManager.py:
19657 s/Quality/Strength/
19659 * examples/python/systray/network_tray.py:
19660 Lots of little changes and fixes. been rotting for a while so I
19661 figured I'd finally sync them all with CVS
19663 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
19665 * configure.in: Add graphics
19667 * panel-applet/Makefile.am: Add graphics
19669 * panel-applet/icons/*: Add graphics
19671 * panel-applet/NMWirelessApplet.c: Use new menu times to display
19672 the icons fully lined up.
19674 * panel-applet/menu-info.c:
19675 * panel-applet/menu-info.h: Add another menu type.
19677 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
19679 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19681 * panel-applet/menu-item.[ch]: Wireless menu item.
19683 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
19685 * info-daemon/NetworkManagerInfo.conf
19686 - Created a more robust security policy for the DBus service
19687 - everything is denied by default
19688 - root can own and send to the service
19689 - users logged in at the console can send to the service
19691 2004-09-13 Dan Williams <dcbw@redhat.com>
19693 * src/NetworkManagerDevice.c
19694 - (nm_device_get_essid): use iw_get_basic_config() rather than
19695 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19698 2004-09-13 Dan Williams <dcbw@redhat.com>
19702 * docs/NetworkManager DBUS API.txt
19703 - Update for new signal strength changes
19705 * panel-applet/NMWirelessApplet.c
19706 - Make panel icon show strength of the current connection
19707 - Cleanups and memleak fixes
19709 * panel-applet/NMWirelessApplet.h
19710 - Add data members for signal strength on devices and networks
19712 * panel-applet/NMWirelessAppletDbus.c
19713 - Free more DBusErrors
19714 - Update for new signal strength changes
19715 - Make devices and networks more like real objects, use ref/unref methods
19716 - Actually unlock the mutex when updating the active device
19718 * src/NetworkManagerAP.c
19719 - Change AP functions and data members from "quality"->"strength"
19721 * src/NetworkManagerDbus.c
19722 - Kill "getMaxQuality" and "getQuality" methods
19723 - Add "getStrength" methods for Networks and Devices
19725 * src/NetworkManagerDevice.[ch]
19726 - Add accessors for device strength
19727 - Add functions to update strength for a device. Note that not all drivers
19728 actually support signal strength for scanned access points (Atmel drivers
19730 - Calculate signal strength for each AP during scan
19732 * src/NetworkManagerWireless.[ch]
19733 - Add function to return signal strength % from a device and a raw quality struct
19735 * test/nmclienttest.c
19736 - Update for new signal strength changes
19738 2004-09-11 Dan Williams <dcbw@redhat.com>
19740 * src/NetworkManager.c
19741 - Fix race condition between initscripts and NM on card insertion
19742 which could cause a card to keep an IP address and routes around
19743 even when it was not the active device
19745 * src/NetworkManagerDbus.c
19746 - Fix compile errors, free more DBusErrors
19748 2004-09-11 Dan Williams <dcbw@redhat.com>
19750 * docs/NetworkManager DBUS API.txt
19751 - Add an explanation of NM's API
19753 * src/NetworkManagerDbus.c
19754 - Free some more DBusErrors if needed
19756 2004-09-11 Dan Williams <dcbw@redhat.com>
19758 * panel-applet/NMWirelessApplet.c
19759 panel-applet/NMWirelessAppletDbus.c
19760 - Start using NetworkDevice/WirelessNetwork structures in more places
19761 - Update for unified device/network forcing in NetworkManager
19763 * src/NetworkManager.c
19764 - some code consolidation
19766 * src/NetworkManagerDbus.c
19767 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
19768 or two arguments: the first is the NM ID of the device to switch to,
19769 and the second (optional) argument is the ESSID of a wireless network
19771 - Get rid of "setNetwork" method due to above change
19773 * src/NetworkManagerDevice.c
19774 - (nm_device_new): perform scan and update best AP on device creation
19775 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
19776 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
19777 spin waiting for cancellation to finish before returning
19779 * src/NetworkManagerPolicy.c
19780 - Changes here clarify the situations in which a device switch occurs, and
19781 make sure to keep using a forced device and network if the user gives
19783 - Remove old unused code
19785 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
19787 * configure.in: Added Danish (da) to ALL_LINGUAS.
19789 2004-09-09 Dan Williams <dcbw@redhat.com>
19791 * panel-applet/NMWirelessAppletDbus.c
19792 - Pull fresh devices and networks from NM when wireless networks
19793 change. Provides faster feedback of a forced wireless network
19795 * src/NetworkManagerDbus.c
19796 - Return error when "getMaxQuality" is called on a wired device
19797 - Make best_ap freezing actually work again, and signal cancellation
19798 of activation if there's already a device activation when the user
19799 freezes the best_ap
19801 * src/NetworkManagerDevice.c
19802 - Don't clear out the best_ap for wireless devices when the link goes
19803 down, that's done elsewhere
19804 - Kill any dhcp daemons when cancelling device activation since they
19805 may be stuck waiting for a DHCP address, and since we're cancelling
19806 activation we don't care about that anymore
19808 * src/NetworkManagerPolicy.c
19809 - Make sure to unref the device we ref earlier (we refed it to make sure
19810 it stuck around during device activation and such)
19811 - If we were going to change the best device, but its activating currently
19812 (and therefore the change didn't occur due to the check earlier)
19813 we mark the state changed to we come back to it later when device
19814 activation has canceled and its no longer activating
19816 * src/backends/NetworkManagerRedHat.c
19817 - SIGKILL dhcp daemons rather than SIGTERM-ing them
19819 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
19821 * info-daemon/passphrase.glade:
19822 set passphrase input to activates_default : True
19824 * examples/python/systray/network_tray.py
19825 (network_tray.sort_networks):
19827 Added support for having wireless always scanning
19829 2004-09-09 Dan Williams <dcbw@redhat.com>
19831 NOTE: this commit changes the behavior of wireless devices in
19832 NetworkManager. They are now up all the time, scanning all
19833 the time. Only the active device has an IP address and routing
19834 information set up however. Also, NetworkManager will no longer
19835 opportunistically switch wireless networks when a better one
19836 comes in range, it will remain associated with one wireless network
19837 until that one drops out.
19839 * panel-applet/NMWirelessApplet.c
19840 panel-applet/NMWirelessAppletDbus.c
19841 - List all wireless cards and their respective networks
19843 * src/NMLoadModules
19844 - Use full path to /sbin/ip
19846 * src/NetworkManager.c
19847 - Keep wireless devices up all the time so they can scan
19849 * src/NetworkManagerDbus.c
19850 - On a WirelessNetworkUpdate signal from NMI, don't update
19853 * src/NetworkManagerDevice.c
19854 - (nm_device_set_link_active): clear out the best ap for
19855 wireless devices when the link is set to FALSE
19856 - Scan on all wireless cards, all the time
19857 - (nm_device_activation_worker): split out the wireless card
19858 link-waiting code to a separate function
19859 - Keep wireless cards up even if device activation fails
19860 - Don't update the "best" ap as much
19862 * src/NetworkManagerPolicy.c
19863 - Don't update the best ap when checking if its frozen,
19864 let link checking clear out a frozen best ap for us
19866 * src/NetworkManagerWireless.c
19867 - Scan on all wireless cards, all the time
19869 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
19871 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
19873 2004-09-09 Ankit Patel <ankit@redhat.com>
19875 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
19877 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
19879 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
19881 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
19883 * examples/python/NetworkManager.py:
19884 added CONNECTED, CONNECTING, and DISCONNECTED states
19885 added methods to return number of devices of a single type
19887 * examples/python/systray/network_tray.py:
19888 did some tweaks to get the menu looking near what it is supposed
19889 to look like. Also did a Airo card hack to make it show the
19892 2004-09-08 Dan Williams <dcbw@redhat.com>
19894 * panel-applet/no-networkmanager.png
19895 panel-applet/Makefile.am
19896 panel-applet/NMWirelessApplet.c
19897 - Add a "NetworkManager not running" icon and use it
19898 - Use new consolidated GConf keys rather than Preferred/Trusted
19902 * info-daemon/NetworkManagerInfo.c
19903 info-daemon/NetworkManagerInfoDbus.[ch]
19904 info-daemon/NetworkManagerInfoPassphraseDialog.c
19905 - There are now no longer two separate lists of wireless networks,
19906 but one list where each network is "trusted" or not trusted
19907 - Add a "getNetworkTrusted" dbus method
19908 - "WirelessNetworkUpdate" signal now sent rather than
19909 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
19910 - Start freeing some dbus errors (not completed yet)
19912 * info-daemon/passphrase.glade
19913 - Remove the "don't show" hints for pager and taskbar
19914 - Add a title since its going to be in the taskbar
19916 * src/NetworkManager.[ch]
19917 src/NetworkManagerAPList.[ch]
19918 - There are now no longer two separate lists of wireless networks,
19919 but one list where each network is "trusted" or not trusted
19921 * src/NetworkManagerAP.[ch]
19922 - Add get/set "trusted" accessors and data bit
19924 * src/NetworkManagerDbus.[ch]
19925 - Add function to get "trusted" status of a network from NetworkManagerInfo
19926 - Trap new WirelessNetworkUpdate signal rather than old separate signals
19928 * src/NetworkManagerDevice.[ch]
19929 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
19930 - (nm_device_new): Get device config from backend when initializing devices
19931 - (nm_device_activation_worker): Split out device configuration on
19932 activation to deal with static/dynamic IP differences, and try encryption
19933 fallbacks on a device if the encryption method for the best AP is not good
19934 - (nm_device_update_best_ap): convert to new consolidated access point lists from
19935 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
19937 * src/NetworkManagerWireless.c
19938 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
19940 * src/backends/NetworkManagerRedHat.c
19941 src/backends/NetworkManagerSystem.h
19942 - (nm_system_device_update_config_info): Add function to get device configuration
19943 from system data in ifcfg-* files
19945 * src/backends/NetworkManagerDebian.c
19946 src/backends/NetworkManagerGentoo.c
19947 src/backends/NetworkManagerSlackware.c
19948 - Add stub functions for getting device configuration
19950 2004-09-07 Dan Williams <dcbw@redhat.com>
19952 * src/backends/NetworkManagerRedhat.c
19953 src/backends/NetworkManagerSlackware.c
19954 - Use full path to /sbin/ip everywhere
19956 2004-09-07 Dan Williams <dcbw@redhat.com>
19958 Patch from: Narayan Newton <narayan_newton@yahoo.com>
19961 initscript/Makefile.am
19962 initscript/Slackware/Makfile.am
19963 initscript/Slackware/rc.networkmanager
19965 src/backends/NetworkManagerSlackware.c
19966 - Add Slackware support
19968 2004-09-07 Dan Williams <dcbw@redhat.com>
19970 Patches below from:
19972 Mark Roach <mrroach@okmaybe.com>
19973 Thom May <thom@debian.org>
19976 initscript/Debian/NetworkManager
19977 initscript/Debian/Makefile.am
19978 - Initscript for Debian
19980 * src/backends/NetworkManagerDebian.c
19981 - Add missing system init function to allow compilation
19984 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
19986 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
19988 2004-09-03 Akagic Amila <bono@linux.org.ba>
19990 * configure.in: Added 'bs' to ALL_LINGUAS.
19992 2004-09-02 Colin Walters <walters@verbum.org>
19994 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
19995 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
19996 g_strdup_printf instead of arbitrarily sized buffers.
19998 2004-09-01 Colin Walters <walters@verbum.org>
20000 * NetworkManager.pc.in: New file.
20002 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20004 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
20006 * configure.in: Punjabi(pa) is added to po/.
20008 2004-08-31 Dan Williams <dcbw@redhat.com>
20010 * Remove 'debug' extern global from all files since we now
20013 * src/NetworkManager.[ch]
20014 - Break out routine that get the net.interface property from HAL,
20015 removing that logic from nm_create_device_and_add_to_list()
20016 - (nm_create_device_and_add_to_list): make this a bit more general so
20017 it doesn't do the talking to HAL. Also add arguments to facilitate
20018 the create of test devices.
20019 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20020 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20021 which makes NetworkManager listen for dbus commands to create test
20022 devices, which have no backing hardware. Use when you're on a plane
20023 for example, and/or forgot your wireless card at home. Test devices
20024 _cannot_ be created unless NM is started with --enable-test-devices.
20026 * src/NetworkManagerDbus.[ch]
20027 - New "getLinkActive" method for devices
20028 - New "setLinkActive" method for devices (only works on test devices)
20029 - New "createTestDevice" method on NetworkManager object to create a test
20030 device of a specified type (ie wired, wireless). UDI is created from
20031 scratch, as is the interface name. Only works when NM is started with
20032 --enable-test-devices switch.
20033 - New "removeTestDevice" method on NetworkManager object which removes a
20034 test device. Only works when NM is started with --enable-test-devices
20036 * src/NetworkManagerDevice.[ch]
20037 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
20038 whether a device is a test device or not, and what its link status is.
20039 - Deal with test devices in most functions. For those that work directly on hardware
20040 special-case test devices.
20041 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20043 - (nm_device_update_link_active): split out logic for wired and wireless device link
20044 checking to separate functions to facilitate test device link checking.
20045 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20046 don't make a distinction between System Authentication and Encryption
20047 (namely Cisco aironet), we use Open System auth when setting a WEP key
20048 on the card. We don't deal with Shared Key auth yet.
20049 - (nm_device_activation_worker): split the activation cancel check logic out into
20050 a separate routine nm_device_activation_cancel_if_needed()
20051 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20052 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20053 a list of fake access points that they can "see"
20054 - (nm_device_is_test_device): return whether or not a device is a test device
20056 * src/NetworkManagerPolicy.c
20057 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20058 previously if you "locked"/forced NM to use a wireless device but then
20059 selected a wireless network for NM to use, it would switch to a wired device.
20060 So, if the active device is wireless and it has a "forced" best AP, use it
20061 if the "forced" best AP is still valid
20062 - (nm_state_modification_monitor): deal with NULL best devices, for example
20063 there were no usable network devices, or the last one was removed
20065 * src/backends/NetworkManager*.c
20066 - Deal with test devices, mostly just return success for operations like getting
20069 * test/nmtestdevices.c
20070 - Test tool to create/remove/link-switch test devices
20072 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20074 * examples/python/NetworkManager.py:
20075 added convience functions has_wired_device and has_wireless_device
20077 * examples/python/systray/network_tray.py:
20078 cleaned up a bunch of cruft, added support for listing wireless
20079 networks just like the real applet. This is probably all I'm
20080 going to work on this applet from now on.
20081 TODO: add support for actually changing networks and devices
20083 * examples/python/NetworkManager.py (NetworkManager.get_device):
20084 changed "nm.networks" into a dict from a list so I can store all
20085 the cool information about networks in there
20087 * examples/python/systray/network_tray.py:
20088 Added nice message when you try to run without running make first
20090 * examples/python/NetworkManager.py:
20091 Bug fixes to the code so we get all the device information
20092 that we need in get_device()
20094 * examples/python/NMTester.py:
20095 Fixed _print_device_list to print_device_list
20097 2004-08-29 Seth Nickell <seth@gnome.org>
20101 Actually properly setup the Debian backend in configure.
20103 2004-08-29 Colin Walters <walters@verbum.org>
20105 * test/nminfotest.c: Include string.h and stdlib.h.
20106 (get_network_string_property, get_networks_of_type): Return NULL.
20108 * test/nmclienttest.c (get_device_name, get_active_device): Return
20111 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20112 use strlen, fgets always NULL-terminates the string.
20114 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20115 dbus_message_get_member): Remove /* in comment.
20117 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20119 * src/NetworkManager.c (quit): Unused, delete.
20120 (nm_data_free): Cast arg to GFunc.
20122 * panel-applet/NMWirelessAppletDbus.c: Need to include
20123 string.h, and dbus-glib-lowlevel.h (the latter is needed
20124 for dbus_connection_setup_with_g_main at present).
20125 (nmwa_dbus_update_wireless_network_list): Parenthesize
20126 assignment in conditional.
20127 (nmwa_dbus_worker): Return NULL.
20129 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20130 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20131 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20132 (nmwa_populate_menu): Return NULL on failure, instead of just
20135 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20137 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20140 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20143 2004-08-29 Colin Walters <walters@verbum.org>
20145 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20146 a GTimeVal instead of time_t. This is easier to work with,
20147 since time_t may be a long or double, we don't know.
20149 * src/NetworkManagerDbus.h: Update prototype.
20151 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20153 (nm_ap_get_timestamp): Update to return GTimeVal.
20154 (nm_ap_set_timestamp): Update to take GTimeVal.
20156 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20157 to handle GTimeVal.
20159 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20161 (nm_ap_list_print_members): Fix warnings in printf format.
20163 2004-08-29 Colin Walters <walters@verbum.org>
20165 * panel-applet/NMWirelessApplet.c: Include config.h.
20167 2004-08-29 Colin Walters <walters@verbum.org>
20169 * configure.in: Generate config.h.
20171 * configure.in: Dump dependency on OpenSSL; we can't
20172 use it since this package is GPL:
20173 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20174 Instead, check for libgcrypt, use it if available,
20175 otherwise use included MD5 code.
20177 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20178 Suck in from gnome-keyring, munge a bit.
20180 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20181 gnome-keyring-md5.h gnome-keyring-md5.c.
20182 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20184 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20185 libgcrypt or included gnome-keyring md5 bits.
20186 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20188 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20190 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20192 2004-08-27 Bryan Clark <bclark@redhat.com>
20194 * examples/python/systray/Makefile:
20196 Updated the clean section
20198 * examples/python/systray/trayiconmodule.c:
20199 * examples/python/systray/trayicon.override:
20200 * examples/python/systray/network_tray.py:
20201 * examples/python/systray/eggtrayicon.h:
20202 * examples/python/systray/eggtrayicon.c:
20203 * examples/python/systray/Makefile:
20204 * examples/python/README:
20205 * examples/python/NetworkManager.py:
20206 * examples/python/NMTester.py:
20208 Initial commit of these python example files
20210 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20212 * panel-applet/NMWirelessApplet.c
20213 - Make current device bold
20214 - Show more user-friendly device name if we got one from hal
20216 * panel-applet/NMWirelessAppletDbus.c
20217 - Grab "info.product" key from hal for network devices
20218 - Cache the current active device
20220 2004-08-27 Adam Weinberger <adamw@gnome.org>
20222 * configure.in: Added en_CA to ALL_LINGUAS.
20224 2004-08-27 Christian Rose <menthos@menthos.com>
20226 * configure.in: Added "sv" to ALL_LINGUAS.
20228 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20230 * Tag NetworkManager-0.2
20232 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
20234 * initscripts/Makefile.am
20235 * configure.in: Make pass distcheck
20237 * po/ChangeLog: added
20239 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20241 * panel-applet/NMWirelessApplet.c
20242 - Remove debugging code
20243 - Enable device switching from menus
20245 * panel-applet/NMWirelessAppletDbus.[ch]
20246 - Method for asking NM to switch devices
20248 * src/NetworkManagerDevice.c
20249 - Set dev->activating earlier, avoids race between
20250 the dbus signal of "DeviceActivating" and setting
20251 dev->activating (which is what NM's "status" method call
20254 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20256 * panel-applet/NMWirelessApplet.[ch]
20257 - Rework menu code to add devices to menu, and to show
20258 signal strength for each access point. Code cleanups
20261 * panel-applet/NMWirelessAppletDbus.c
20262 - Grab network devices from NetworkManager too
20263 - Grab quality information from NM for wireless networks
20265 * src/NetworkManagerDbus.[ch]
20266 - Add dbus methods for getting the HAL UDI from a device and
20267 for getting its base quality, if its wireless
20268 - Consolidate some functions (wireless network notifications,
20269 device notifications)
20270 - Add method for requesting NM to use a particular device
20272 * src/NetworkManager.c
20273 - Change for function consolidations from NetworkManagerDbus.c
20274 - Implement active device locking and user-requested devices
20275 (ie, tell NM to use a particular device instead of the one
20278 * src/NetworkManagerDevice.c
20279 - Add method for getting the base quality of a device, if its
20281 - Grab device base quailty info from iwlib during scans
20283 * src/NetworkManagerPolicy.c
20284 - Use a user-requested device rather than the auto-chosen device
20287 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
20289 * Makefile.am: add po as a supdir
20291 * autogen.sh: use gnome-autogen.sh
20293 * initscript/Gentoo/.cvsignore:
20294 * initscript/RedHat/.cvsignore: Shut up cvs
20296 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20298 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20299 (nmwa_fill): Use gettext.
20301 * configure.in: add gettext support
20303 * po/NetworkManager.pot:
20306 2004-08-26 Seth Nickell <seth@gnome.org>
20308 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20309 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20310 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20311 (nmwa_dispose_menu_items), (nmwa_populate_menu),
20312 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20313 * panel-applet/NMWirelessApplet.h:
20315 Use a menu bar instead of a button for the main clickable
20318 2004-08-25 Dan Williams <dcbw@redhat.com>
20320 * src/NetworkManagerDevice.c
20321 - (nm_device_set_enc_key): always set device to "open" mode instead of
20322 turning encryption off, because the Cisco driver doesn't associate
20323 with WEP-enabled access points unless we are in "open"
20325 2004-08-25 Dan Williams <dcbw@redhat.com>
20327 * src/NetworkManagerWireless.c
20328 - Don't try to defererence blank passphrases
20330 2004-08-25 Dan Williams <dcbw@redhat.com>
20332 * panel-applet/NMWirelessApplet.c
20333 - Rebuild the menu whenever a user clicks
20335 2004-08-25 Dan Williams <dcbw@redhat.com>
20337 * panel-applet/NMWirelessApplet.c
20338 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20339 when NM isn't around or when its not connected
20341 * src/NetworkManagerDevice.c
20342 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20345 2004-08-25 Dan Williams <dcbw@redhat.com>
20347 * panel-applet/NMWirelessAppletDbus.c
20348 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20349 for getting encryption, and don't stop on "val" once we've gotten it
20350 from NetworkManager. Short form: encryption should now show up.
20352 2004-08-25 Dan Williams <dcbw@redhat.com>
20354 * panel-applet/NMWirelessApplet.c
20355 - Set ESSID on a gconf trusted network too when force-setting the wireless
20356 network to associate with
20358 2004-08-25 Dan Williams <dcbw@redhat.com>
20361 - Rework the panel applet to do all DBUS communication in a separate
20364 2004-08-25 Dan Williams <dcbw@redhat.com>
20366 * info-daemon/NetworkManagerInfo.[ch]
20367 - Remove "get_next_priority" function
20369 * info-daemon/NetworkManagerInfoDbus.[ch]
20370 - Convert "priority" functions to "timestamp"
20372 2004-08-25 Dan Williams <dcbw@redhat.com>
20374 * src/NetworkManagerAP.[ch]
20375 - Add a "enc_method_good" member and accessors to an Access Point
20376 to signal when we've found the correct encryption method
20377 for an access point
20378 - Add a "timestamp" member and accessors, remove "priority" member
20379 and accessors (use timestamps instead)
20380 - Rename "wep_key"->"enc_key"
20381 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20382 for a specified encryption method using the access points
20383 source encryption key/passphrase
20385 * src/NetworkManagerAPList.c
20386 - When updating a network with dbus, grab timestamp now instead of
20389 * src/NetworkManagerDBus.[ch]
20390 - Add signal for "DeviceActivating"
20391 - Switch priority->timestamp
20393 * src/NetworkManagerDevice.c
20394 - Change references of "wep_key" -> "enc_key" or "key"
20395 - Signal DeviceActivating when starting activation
20396 - When activating a wireless device, if the access point we are connecting
20397 to is encrypted, and we have a source key, try to generate a mangled
20398 key and use that (ie, generate real WEP key from a passphrase)
20399 - Rework device activation to fallback to other encryption methods if
20400 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20401 first, then if that doesn't work fall back to direct hex key).
20402 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20403 priority. We now prefer the latest access point used, rather than using
20405 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20406 points we've just discovered, and merge in correct info from the global
20409 2004-08-25 Seth Nickell <seth@gnome.org>
20411 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20415 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20416 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20417 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20418 (nm_system_delete_default_route),
20419 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20420 (nm_system_load_device_modules):
20422 2004-08-24 Dan Willemsen <dan@willemsen.us>
20424 * src/NetworkManager.c
20425 src/backends/NetworkManagerGentoo.c
20426 src/backends/NetworkManagerRedHat.c
20427 src/backends/NetworkManagerSystem.h
20428 - Implement preliminary Gentoo support, adding a
20429 nm_system_init function to the backend specification
20432 - Distribution auto-detection, lowercase any user-fed
20435 * initscript/.cvsignore
20436 initscript/Makefile.am
20437 initscript/RedHat/Makefile.am
20438 initscript/RedHat/NetworkManager
20439 initscript/Gentoo/Makefile.am
20440 initscript/Gentoo/NetworkManager
20441 - Refactored initscript code separately for each
20444 2004-08-23 Dan Williams <dcbw@redhat.com>
20448 src/NetworkManagerDevice.c
20449 src/NetworkManager.c
20450 src/NetworkManagerUtils.[ch]
20451 src/backends/NetworkManagerSystem.h
20452 src/backends/NetworkManagerRedHat.c
20453 src/backends/NetworkManagerGentoo.c
20454 - Refactor system-specific code into separate backends for
20457 2004-08-23 Dan Willemsen <dan@willemsen.us>
20459 * dispatcher-daemon/NetworkManagerDispatcher.c
20460 info-daemon/NetworkManagerInfo.[ch]
20461 info-daemon/NetworkManagerInfoDbus.c
20462 info-daemon/NetworkManagerInfoPassphraseDialog.c
20463 src/NetworkManager.c
20464 src/NetworkManagerAP.c
20465 src/NetworkManagerAPList.c
20466 src/NetworkManagerDbus.c
20467 src/NetworkManagerDevice.c
20468 src/NetworkManagerPolicy.c
20469 src/NetworkManagerUtils.[ch]
20470 src/NetworkManagerWireless.c
20471 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20473 * src/NetworkManager.c
20474 - Fixed usage wording for --no-daemon
20476 2004-08-23 Dan Williams <dcbw@redhat.com>
20478 * panel-applet/NMWirelessApplet.c
20479 - Update our state every second to get more responsive panel icon
20480 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20481 was causing our marching ants status blips to never move when
20482 looking for a wireless network
20484 * src/NetworkManagerDevice.c
20485 - (nm_device_activation_begin): return if activation has already begun
20486 - (nm_device_do_normal_scan): merge WEP key and priority from the
20487 trusted/preferred network into the device's access point when the
20488 scan list is processed
20490 2004-08-23 Dan Williams <dcbw@redhat.com>
20492 * initscript/NetworkManager
20493 - Use NMLaunchHelper rather than sleeping
20495 * initscript/NMLaunchHelper.c
20497 - Add helper program that exits only when NM activates a device,
20498 or 10 seconds have passed, whichever happens first. This
20499 stops the boot processes until we have a network connection,
20500 which NM can't do because it daemonizes and brings the connection
20501 up in the background. Allows stuff like NFS to not die.
20503 2004-08-20 Dan Williams <dcbw@redhat.com>
20505 * info-daemon/NetworkManagerInfoPassphraseDialog.c
20506 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20507 for a network, set the essid as well since it may not exist yet
20508 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20509 since WEP keys/passphrases are long and prone to entry-error
20511 * panel-applet/Makefile.am
20512 panel-applet/wired.png
20513 - Add (pulled from system-config-network temporarily)
20515 * panel-applet/NMWirelessApplet.[ch]
20516 - Show wired picture when a wired connection is used
20517 - Rename wireless icon enums, adding WIRELESS
20519 * src/NetworkManagerDevice.c
20520 - (nm_device_activate_wireless): unset encryption before bringing
20521 down the card and setting the essid
20522 - (nm_device_activatin_worker): request a key from the user if the
20523 AP we are connecting to is encrypted but we don't have a key
20525 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20526 strcmp() that prevented a user-entered key from actually getting
20529 2004-08-16 Dan Williams <dcbw@redhat.com>
20531 * initscript/NetworkManager
20532 - Check for /sbin/ip
20533 - Do sysctl magic that network service does
20534 - sleep 4s after start to allow network time to come up [hack]
20538 - Load all network device kernel modules (hal doesn't know devices
20539 are ethernet until the module is loaded, and therefore we don't know)
20541 * src/NetworkManager.c
20542 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20543 network devices, and bring up the loopback device explicitly
20545 * src/NetworkManagerUtils.[ch]
20546 - (nm_enable_loopback): new function
20548 2004-08-13 Dan Williams <dcbw@redhat.com>
20551 panel-applet/Makefile.am
20552 - Fix up cleanfiles and server_DATA/server_in_files
20555 - Update with some comments on theory of operation
20561 2004-08-12 Dan Williams <dcbw@redhat.com>
20563 * info-daemon/passphrase.glade
20564 - Set window title to " "
20566 * panel-applet/Makefile.am
20567 panel-applet/keyring.png
20568 - Deliver to correct place
20570 * panel-applet/NMWirelessApplet.[ch]
20572 - Remove applet->have_active_device as its no longer used
20573 - (nmwa_load_theme): load keyring.png too
20574 - (error_dialog): remove
20575 - (show_warning_dialog): subsume functionality of error dialog too
20576 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20577 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20579 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20580 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20581 and when we get broadcasts of changed wireless access points only, not when the
20582 user clicks on the button to display the menu (too long of a wait)
20583 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20584 networks that are encrypted
20585 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20586 menu item with g_object_set_data()
20588 * panel-applet/NMWirelessAppletDbus.[ch]
20589 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20590 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20591 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20592 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20593 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20594 activation/deactivation signals and rebuild the menu when they happen
20596 * src/NetworkManager.c
20597 - (main): use new nm_spawn_process() rather than system()
20599 * src/NetworkManagerDbus.c
20600 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20601 instead. Since we can now force best_aps to stick around, the AP structure to which
20602 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20603 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
20604 to freeze the best_ap.
20606 * src/NetworkManagerDevice.[ch]
20607 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20608 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20609 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20612 * src/NetworkManagerUtils.[ch]
20613 - (nm_spawn_process): add replacement for system() usage
20615 2004-08-11 Dan Williams <dcbw@redhat.com>
20617 * panel-applet/NMWirelessApplet.[ch]
20618 - Fix up copyright and credits to include Bastien and Eskil,
20619 who created the gnome-applets wireless applet, from whose
20620 skeleton this one was created
20621 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20622 pixmap to draw is computed during nmwa_update_state()
20623 - Applet now shows itself all the time due to panel packing issues
20624 which caused the applet to previously never come back after hiding.
20625 When a wired device is the active device, the applet shows "not connected"
20627 * panel-applet/NMWirelessAppletDbus.[ch]
20628 - Clean up error messages and show what function they are from
20629 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20630 - Add new device type getters, and a status getter
20632 * src/NetworkManagerDbus.c
20633 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20634 network is actually in the device's ap list
20635 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20637 * src/NetworkManagerDevice.c
20638 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20641 * test/nmclienttest.c
20642 - Report status of NetworkManager too
20644 2004-08-11 Dan Williams <dcbw@redhat.com>
20646 * info-daemon/NetworkManagerInfo.c:
20647 - (main): clean up Seth's code style
20649 * info-daemon/NetworkManagerInfoDbus.c:
20650 - Use the more aptly-named path/service/interface constants from NetworkManager
20651 - Don't return empty strings ("") as object paths ever, instead return errors
20653 * panel-applet/NMWirelessApplet.c:
20654 - Clean up Seth's code style
20656 * src/NetworkManager.[ch]
20657 - (nm_remove_device_from_list): remove anything having to do with pending_device
20658 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20660 * src/NetworkManagerAPList.[ch]
20661 - Move Iter struct right above the iter functions to preserve opacity
20662 - (nm_ap_list_remove_ap): implement
20663 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20664 remove AP if NetworkManagerInfo doesn't know anything about it
20665 - (nm_ap_list_diff): user NMAPList iterators
20666 - (nm_ap_list_print_members): implement debugging function
20668 * src/NetworkManagerDbus.[ch]
20669 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20670 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20671 and move the actual key setting stuff into NetworkManagerDevice.c
20672 - (nm_dbus_get_network_priority): return -1 now on errors
20673 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20674 get lost, and force the active device to update its "best" ap when AP lists change
20675 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20676 method call due to pending_device member removal
20678 * src/NetworkManagerDevice.[ch]
20679 - Move NMDevice structure to the top
20680 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20681 - Remove Pending Action stuff from everywhere
20682 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20683 activation for us. This thread blocks until all conditions for activation have
20684 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20685 then setup up the interface and runs dhclient. We have to do this because there
20686 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20687 run our main loop and respond to dbus method calls or HAL device removals/inserts
20688 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20689 can tell nm_device_activation_worker() that we've got a key
20690 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20691 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20692 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20693 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20695 * src/NetworkManagerPolicy.c
20696 - Remove anything to do with pending_device
20697 - Adjust device activation to deal with activation-in-worker-thread
20699 * src/NetworkManagerUtils.c
20700 - Clean up locking debugging a bit
20702 * src/NetworkManagerWireless.[ch]
20703 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
20704 was badly named and is better as a device function
20706 * panel-applet/.cvsignore: add
20708 2004-08-09 Seth Nickell <seth@gnome.org>
20710 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20711 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20713 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20715 Don't load the menus until clicked on (also removes a call outside
20716 normal code paths at first load).
20718 Hide applet when NM is not present.
20720 Improve printf debugging stuff.
20722 2004-08-09 Dan Williams <dcbw@redhat.com>
20724 * dispatcher-daemon/NetworkManagerDispatcher.c:
20725 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20726 - Use constants for NetworkManager interface, service, and path
20728 2004-08-09 Dan Williams <dcbw@redhat.com>
20730 * src/NetworkManagerDbus.c:
20731 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20732 instead return an error message
20733 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20734 on a wired device. Also never return an empty object path, instead return an error message
20736 2004-08-06 Seth Nickell <seth@gnome.org>
20738 * panel-applet/NMWirelessApplet.c: (nmwa_new):
20740 Check the error code when getting a connection.
20742 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
20744 Check if the NM service exists when initializing (rather than
20745 assuming it does not).
20747 * src/NetworkManagerDbus.c: (nm_dbus_init):
20749 Don't acquire the well-known service name until we have
20750 registered object/path handlers and can actually receive
20753 2004-08-06 Dan Williams <dcbw@redhat.com>
20758 * src/NetworkManagerPolicy.c
20759 src/NetworkManager.c
20760 - Get access point lists from NetworkManagerInfo on-demand,
20761 and look for ServiceCreate/ServiceDeleted signals to see when
20762 we should query NMI for lists
20763 * src/NetworkManagerAPList.c
20764 - Make sure to init the list's mutex
20765 - Convert traversals of the list over to the list iter functions
20767 * src/NetworkManagerDbus.[ch]
20768 - Use more aptly-named path/service/interface constants
20769 - Treat both active and pending devices the same for "getActiveDevice"
20770 - Add a "status" method returning "connected", "connecting", or "disconnected"
20772 * src/NetworkManagerDevice.c
20773 - Honor "ignored" network list when picking best ap to use
20775 2004-08-06 Seth Nickell <seth@gnome.org>
20779 Autogenerated, remove from CVS.
20783 Don't hardcode automake version.
20786 * info-daemon/Makefile.am:
20787 * info-daemon/NetworkManagerInfo.c: (main):
20789 Use GnomeProgram et al. for doing session management.
20790 Use popt stuff for argument parsing rather than doing
20793 2004-08-05 Dan Williams <dcbw@redhat.com>
20795 * test/nminfotest.c
20796 - Update to new NMI dbus API, check different network types
20798 * info-daemon/NetworkManagerInfoDbus.c
20799 - Update to new NM dbus API, ie network type sent in query message
20801 2004-08-05 Dan Williams <dcbw@redhat.com>
20803 * An assload of changes
20805 2004-08-02 Dan Williams <dcbw@redhat.com>
20808 - new task: proper logging support
20810 * info-daemon/NetworkManagerInfo.c
20811 - Correct spelling of "canceled"
20812 - Correct casting of objects for g_signal_connect()
20814 * info-daemon/NetworkManagerInfoDbus.c
20815 - Add defines for NetworkManager namespace and object path, and use them
20816 - Add filter function to trap new signals from NetworkManager:
20817 WirelessNetworkAppeared, WirelessNetworkDisappeared
20819 * info-daemon/passphrase.glade
20820 - Change name of "ok" button to "Login to Network..."
20823 * src/NetworkManager.c
20824 - Code and debug message cleanups
20825 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
20826 - (nm_add_initial_devices) Check returned string array of devices
20827 and don't try to add devices if array is NULL
20828 - (main) Initialize libhal a bit later, make code a bit clearer
20830 * src/NetworkManagerAP.[ch]
20831 - New accessor and data member "matched": used to speed up AP list
20833 - New accessor and data member "enc_method": will be used during key
20834 fallback to cache which passphrase->key conversion actually works
20835 so we don't have to do it every time
20837 * src/NetworkManagerAPList.[ch]
20838 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
20839 - (nm_ap_list_diff) New: given two lists of access points, find the differences
20840 between them, and send WirelessNetworkAppeared/Disappeared signals over
20841 dbus in response to those differences
20843 * src/NetworkManagerDbus.[ch]
20844 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
20845 make an object path for that access point (NOTE that we don't yet check to
20846 make sure that access point is actually in the device's AP list yet)
20847 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
20848 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
20849 New: signal appearance/disappearance of wireless networks
20850 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
20853 * src/NetworkManagerDevice.[ch]
20854 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
20855 - (nm_device_ap_list_get) New: return the AP list (static function)
20856 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
20857 new one resulting from the scan with the old one
20859 * src/NetworkManagerWireless.c
20860 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
20862 * test/nminfotest.c
20863 - #define object paths and namespaces and use the #defines rather than static strings
20864 - Test out user-key functionality of NetworkManagerInfo too
20866 2004-07-29 Dan Williams <dcbw@redhat.com>
20868 * info-daemon/NetworkManagerInfoDbus.c
20869 src/NetworkManagerDbus.c
20870 - Update to current DBus (ie don't use decomposed paths when registering
20871 object paths/fallbacks)
20873 2004-07-27 Dan Williams <dcbw@redhat.com>
20875 * Remove various Makefile.in files
20878 - Add some more items
20881 - Add checks for OpenSSL/md5 headers and libs
20884 - Use OpenSSL CFLAGS
20886 * src/NetworkManagerAP.[ch]
20887 - Remove 'stamp' functions, replace with 'invalid' functions
20888 to support user cancelling WEP key entry
20890 * src/NetworkManagerDbus.c
20891 - Remove 'stamp' return functions
20892 - Treat returned user key as a passphrase and convert to a WEP key,
20893 but don't actually use the WEP key yet. We use the returned user
20894 key as a hexadecimal WEP key until we can figure out a UI for
20895 passphrase-vs-hex key
20897 * src/NetworkManagerWireless.[ch]
20898 - Add passphrase-to-128bit-key function
20900 2004-07-27 Dan Williams <dcbw@redhat.com>
20903 - Add a couple of items
20905 2004-07-27 Dan Williams <dcbw@redhat.com>
20907 * info-daemon/NetworkManagerInfo.c
20908 - Update allowed network's GConf key when user enters a WEP key explicitly
20910 * info-daemon/NetworkManagerDbus.c
20911 - Fix some comments
20912 - nmi_dbus_get_allowed_networks(): kill warning
20914 2004-07-27 Dan Williams <dcbw@redhat.com>
20916 * initscript/Makefile.in
20919 * initscript/Makefile.am
20920 - Add correct rules to install the init.d initscript
20922 * info-daemon/NetworkManagerInfoDbus.c
20923 - Remove debug fprintf
20925 * src/NetworkManagerDbus.[ch]
20926 - Remove debug fprintfs
20927 - Add macros for NetworkManagerInfo object path/namespace
20928 - Use said macros instead of constant strings
20930 2004-07-27 Dan Williams <dcbw@redhat.com>
20932 * initscript/.cvsignore
20935 * info-daemon/Makefile.am
20936 - Install .glade files and keyring.png
20937 - Fix stupid omission of a \ that caused half the flags not to be
20940 * info-daemon/NetworkManagerInfo.c
20941 - gtk_signal_connect->g_signal_connect
20942 - Alert NetworkManagerInfo to new glade file location
20944 2004-07-27 Dan Williams <dcbw@redhat.com>
20946 * test/nmclienttest.c
20948 - Add missing <dbus/dbus.h> headers
20949 - Add GPL message at top
20951 2004-07-27 Dan Williams <dcbw@redhat.com>
20953 * src/NetworkManagerAPList.[ch]
20955 - Add. Deal with allowed network list additions, deletions, and updates
20957 * dispatcher-daemon/NetworkManagerDispatcher.c
20958 - Add missing <dbus/dbus.h> header
20960 * info-daemon/NetworkManagerInfo.[ch]
20961 - Add missing <dbus/dbus.h> header
20962 - Implement the GConf notify callback to signal NetworkManager of an allowed
20964 - Better error checking
20966 * info-daemon/NetworkManagerInfoDbus.[ch]
20967 - Add missing <dbus/dbus.h> header
20968 - Convert to using dbus_message_append_args/dbus_message_get_args
20969 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
20970 that an allowed network changed. We don't want to signal on individual
20971 keys _inside_ an allowed network really, just want NM to query the info
20972 daemon for updated info on all keys.
20973 - Better error checking
20975 * src/NetworkManager.[ch]
20976 - Add missing <dbus/dbus.h> header
20977 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
20978 - Zero out NMData structure on free
20979 - No longer use a thread for allowed_ap_list updating, instead its now done
20980 through dbus queries against NetworkManagerInfo
20981 - Populate allowed_ap_list initially before adding existing network devices
20982 to the device list, so wireless devices can get their "best" AP
20984 * src/NetworkManagerDbus.[ch]
20985 - Convert to using dbus_message_append_args/dbus_message_get_args
20986 - Better error checking
20987 - Implement Allowed Network info functions to request allowed network
20988 info from NetworkManagerInfo
20989 - Implement the filter function to process signals from NetworkManagerInfo
20990 about changing allowed networks
20992 * src/NetworkManagerDevice.c
20993 - Fix file descriptor leak in nm_device_update_ip4_address()
20995 2004-07-27 Dan Williams <dcbw@redhat.com>
21000 dispatcher-daemon/.cvsignore
21001 info-daemon/.cvsignore
21002 - Add .cvsignore files to reduce noise when diffing
21004 2004-07-24 Dan Williams <dcbw@redhat.com>
21006 * src/NetworkManager.[ch]
21007 src/NetworkManagerDbus.[ch]
21008 src/NetworkManagerDevice.[ch]
21009 src/NetworkManagerPolicy.c
21010 src/NetworkManagerWireless.[ch]
21011 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21012 - Pass the NMData application data structure through all calls
21013 that need it so we can get rid of nm_get_global_data()
21014 - Change deallocation of the allowed_ap_list GSList in preparation
21015 for not completely clearing it every time we get an update,
21016 but instead getting incremental updates via GConf/dbus
21018 2004-07-22 Dan Williams <dcbw@redhat.com>
21021 - Add checks for GConf libs & headers & flags
21023 * info-daemon/Makefile.am
21024 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21026 * info-daemon/NetworkManagerInfo.[ch]
21027 - Don't use gquarks for data storage, just use normal data storage
21028 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21030 * info-daemon/NetworkManagerDbus.[ch]
21031 - Add method call for getting allowed networks
21032 - Add method calls for getting an allowed network's essid, priority, and key
21033 - Hook the method calls up to GConf
21034 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21035 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21037 * src/NetworkManagerDbus.[ch]
21038 - Switch for enumeration of networks to using essid instead
21042 - Add test program for NetworkManagerInfo
21044 2004-07-19 Dan Williams <dcbw@redhat.com>
21046 * src/NetworkManagerDbus.c
21047 - Switch from indexed device paths to names. Less code, more efficient.
21048 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21050 2004-07-19 Dan Williams <dcbw@redhat.com>
21052 * dispatcher-daemon/NetworkManagerDispatcher.c
21053 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21055 2004-07-19 Dan Williams <dcbw@redhat.com>
21058 - Add info-daemon directory
21061 - Check for glade libs and headers
21062 - Add info-daemon directory
21064 * src/NetworkManagerAP.c
21065 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21066 copied over to the new AP.
21068 * src/NetworkManagerDbus.c
21069 src/NetworkManagerDbus.h
21070 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21071 - Remove nm_dbus_signal_need_key_for_network()
21072 - Add disabled code for asynchronous user wep key callbacks
21073 - Add functions for getting, setting, and cancelling user key operations
21074 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21075 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21077 * src/NetworkManagerDevice.c
21078 src/NetworkManagerDevice.h
21079 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21080 logic is in device activation now
21081 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21082 key is wrong) trigger get-user-key pending action
21083 - Implement get-user-key pending action stuff, tie to dbus messages
21084 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21085 - Add nm_device_ap_list_get_ap_by_essid()
21086 - Instead of copying "best" access points, ref them instead so that the key we set
21089 * src/NetworkManagerPolicy.c
21090 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21091 - Don't cancel pending actions on a device if its the same device as last iteration
21092 - Only promote pending_device->active_device if activation was successfull
21095 - Rename nmclienttest->nmtest
21097 * info-daemon/Makefile.am
21098 info-daemon/NetworkManagerInfo.c
21099 info-daemon/NetworkManagerInfo.h
21100 info-daemon/NetworkManagerInfoDbus.c
21101 info-daemon/NetworkManagerInfoDbus.h
21102 info-daemon/passphrase.glade
21103 info-daemon/NetworkManagerInfo.conf
21104 info-daemon/keyring.png
21105 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21106 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21107 lists to NetworkManager by proxying user's GConf
21110 2004-07-15 Dan Williams <dcbw@redhat.com>
21115 * src/NetworkManager.c
21116 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21117 that doing the deactivation ourselves
21118 - Cancel an pending actions on a device if its being removed
21119 - Break up link state checking a bit, make non-active wireless cards
21120 deactivated to save power
21121 - Remove unused variables
21123 * src/NetworkManager.h
21124 - Add support for "pending" device
21126 * src/NetworkManagerAP.h
21127 src/NetworkManagerAP.c
21128 - Add support for determining whether and AP has encryption enabled or not
21129 - AP address is now "struct ether_addr" rather than a string
21131 * src/NetworkManagerDbus.h
21132 src/NetworkManagerDbus.c
21133 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21134 - Changes for AP address from struct ether_addr->string
21136 * src/NetworkManagerDevice.h
21137 src/NetworkManagerDevice.c
21138 - Remove unused variables, fix warnings
21139 - Add support for Pending Actions (things that block a device from being "active"
21140 until they are completed).
21141 - First pending action: Get a WEP key from the user
21142 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21143 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21144 - Update wireless link checking to try to determine if the AP we are associated
21145 with is correct, but the WEP key we are using is just wrong. If its wrong,
21146 trigger the GetUserKey pending action on the device
21147 - If dhclient can't get an IP address, it brings the device down. Bring it back
21148 up in that case, otherwise we can't scan or link-check on it
21149 - Add IP address change notifications at appropriate points (still needs some work)
21150 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21152 * src/NetworkManagerPolicy.h
21153 src/NetworkManagerPolicy.c
21154 - Split out "best" access point determiniation into separate function
21155 - Make device activation 2-stage: first the device is pending, then
21156 in the next iteration through it becomes "active" unless it has
21159 * src/NetworkManagerUtils.h
21160 src/NetworkManagerUtils.c
21161 - Clean up unused variables and warnings
21162 - Wrap our debug macros in {} to prevent possible confusion
21164 * src/NetworkManagerWireless.c
21165 - Forgot to return current best priority, which lead to last available AP always
21166 being chosen no matter what its priority was. Corrected.
21168 2004-07-15 Dan Williams <dcbw@redhat.com>
21170 * dispatcher-daemon/Makefile.am
21173 * dispatcher-daemon/NetworkManagerDispatcher.c
21174 - Remove unused variables due to warnings
21175 - Fix some comments
21176 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21178 2004-07-06 Dan Williams <dcbw@redhat.com>
21180 * src/NetworkManager.c
21181 - Add IPv4 address update for active device during link state check
21182 - Don't allow wireless cards to be powered up when they are not the
21185 * src/NetworkManagerDbus.c
21186 src/NetworkManagerDbus.h
21187 - Add DBUS IPv4 address change signal
21188 - Add DBUS IPv4 address get method for devices
21190 * src/NetworkManagerDevice.c
21191 - Make setting the WEP key actually work
21192 - Move IP address get/set/update stuff here, per-device
21193 - Power down/bring down wireless device when deactivated
21194 - For scanning wireless devices, if first scan returned ENODATA, try again
21196 * src/NetworkManagerPolicy.c
21197 - Only set the WEP key for an allowed access point if there is one.
21198 We were setting it to be blank if one wasn't specified.
21200 * src/NetworkManagerUtils.h
21201 src/NetworkManagerUtils.c
21202 - Move the IP address stuff to NetworkManagerDevice.c
21204 * dispatcher-daemon/NetworkManagerDispatcher.c
21205 - Add device IPv4 address change notification stuff
21207 2004-07-05 Dan Williams <dcbw@redhat.com>
21209 * dispatcher-daemon/NetworkManagerDispatcher.c
21210 - A bit more descriptive state message
21211 - Don't segfault when reading directory
21213 * src/NetworkManager.h
21214 - Remove NMData desired_ap member, its now
21215 per-device rather than global
21217 * src/NetworkManager.c
21218 - Remove references to desired_ap
21219 - Move the allowed AP list refresh stuff into a thread
21221 * src/NetworkManagerDevice.c
21222 src/NetworkManagerDevice.h
21223 - Each wireless device now has a "best ap"
21224 - Make device activate/deactivate functions per-device
21225 - Make wireless scanning per-device
21226 - Add IPv4 address discover functions, stub IPv6 ones
21227 - Move ethernet address validation functions to NetworkManagerUtils.c
21228 - Add wireless access point accessor function
21229 - Get/Set functions for "best ap"
21231 * src/NetworkManagerPolicy.c
21232 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21233 - Deal with per-device "best ap" rather than data->desired_apa
21234 - Implement allowed access point worker thread
21235 - Add nm_policy_essid_is_allowed() function
21237 * src/NetworkManagerUtils.c
21238 src/NetworkManagerUtils.h
21239 - Add nm_ethernet_address_is_valid() function
21240 - Add IPv4/IPv6 address get functions
21242 * src/NetworkManagerWireless.c
21243 src/NetworkManagerWireless.h
21244 - Move scanning stuff into NetworkManagerDevice.c, per-device
21246 2004-06-29 Dan Williams <dcbw@redhat.com>
21248 * dispatcher-daemon/NetworkManagerDispatcher.c
21249 - Implement script callout functionality
21251 2004-06-24 Dan Williams <dcbw@redhat.com>
21255 - Flush device routes and ip addresses when added to the device list
21257 * NetworkManagerDbus.c
21259 - Add missing returns in the two signal functions
21261 * NetworkManagerPolicy.c
21262 - Spacing and variable cleanups
21264 2004-06-24 Dan Williams <dcbw@redhat.com>
21269 dispatcher-daemon/Makefile.am
21270 dispatcher-daemon/Makefile.in
21271 dispatcher-daemon/NetworkManagerDispatcher.c
21272 - Add a daemon that receives signals from NetworkManager
21273 and will (eventually) call scripts in /etc/somewhere
21274 when devices go up or down.
21278 - Flush device routes and ip addresses when added to the device list
21280 * NetworkManagerDbus.c
21282 - Add missing returns in the two signal functions
21284 * NetworkManagerPolicy.c
21285 - Spacing and variable cleanups
21286 - Rename nm_policy_switch_interface->nm_policy_switch_device
21287 - nm_policy_switch_device():
21288 Use kill (pid) instead of system ("kill <pid>")
21289 - nm_state_modification_monitor():
21290 Add wireless essid to output of debug statements
21291 Correct typo in device compare to switch or not (should be !=)
21292 Don't sleep after sending "no longer active" signal, was useless
21294 2004-06-24 Dan Williams <dcbw@redhat.com>