1 2008-10-22 Dan Williams <dcbw@redhat.com>
4 - (schedule_automatic_registration_again): use a short timeout here
5 instead of an idle handler to avoid using too much CPU polling for
6 something we should be waiting a bit for anyway
8 2008-10-22 Dan Williams <dcbw@redhat.com>
10 * include/NetworkManager.h
11 introspection/nm-device.xml
12 - Add device state change reason for carrier changes
14 * src/nm-device-ethernet.c
15 - (set_carrier): use the carrier change reason when changing device
16 state in response to carrier changes
18 2008-10-21 Dan Williams <dcbw@redhat.com>
20 * src/NetworkManagerPolicy.c
21 - (update_etc_hosts): don't leak errors, and ensure that
22 g_file_set_contents() gets a valid error placeholder (rh #461933)
24 2008-10-21 Dan Williams <dcbw@redhat.com>
27 - (free_get_settings_info): don't use the DBusGProxy which could be
28 disposed of by the time the function is called
29 - (internal_new_connection_cb): save connection scope
30 - (connection_get_settings_cb): don't replace a connection unless it's
31 actually different from the existing one; fixes an issue where
32 killing the settings service wouldn't deactivate an active connection
33 provided by that settings service, because it was using a connection
34 that had already been replaced in the system or user hash
36 2008-10-21 Dan Williams <dcbw@redhat.com>
38 * src/NetworkManager.c
39 - (main): keep the DHCP manager around since it's a singleton; fixes
40 a use-after-free exposed by r4196 since the DHCP manager singleton
41 variable isn't cleared when the DHCP manager object is finalized
43 2008-10-20 Dan Williams <dcbw@redhat.com>
45 * libnm-util/nm-setting-wireless-security.c
46 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
48 2008-10-20 Dan Williams <dcbw@redhat.com>
50 * src/supplicant-manager/nm-supplicant-config.c
51 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
53 2008-10-20 Dan Williams <dcbw@redhat.com>
55 * src/dhcp-manager/nm-dhcp-manager.c
56 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
57 manager object already refs it once
58 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
59 also get cleaned up by nm_dhcp_device_destroy() to prevent
62 2008-10-20 Dan Williams <dcbw@redhat.com>
65 - (initial_get_connections): use private dbus manager, don't keep
66 ref-ing the singleton. Fixes mismatched refcounts of the dbus
69 2008-10-18 Dan Williams <dcbw@redhat.com>
71 * libnm-glib/nm-settings.c
72 libnm-glib/nm-settings.h
73 - Rename the "get_secrets" virtual function "service_get_secrets" to
74 clarify when it's used; NMExportedConnetion is a base-class for both
75 the client and service side, which is sort of confusing, and
76 get_secrets only makes sense on the service side.
78 * libnm-glib/nm-dbus-connection.c
79 - (get_secrets): remove, unused, and clients need to do extra work to
80 get secrets anyway since the call can block on the remote side
82 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
83 system-settings/plugins/keyfile/nm-keyfile-connection.c
84 - Fix up for get_secrets -> service_get_secrets
86 2008-10-16 Dan Williams <dcbw@redhat.com>
88 * src/nm-device-wifi.c
89 - (constructor): correctly determine encryption capabilities
91 2008-10-15 Dan Williams <dcbw@redhat.com>
93 * src/nm-device-wifi.c
94 - (wireless_qual_to_percent): fix quality calculation in a fallback case
97 2008-10-15 Dan Williams <dcbw@redhat.com>
99 * src/NetworkManagerSystem.c
100 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
101 if the ip4_dest is in a smaller subnet contained within a subnet
102 the machine is currently on, the destination is in the same subnet
103 - (nm_system_device_set_ip4_route): move subnet checks to callers
104 - (add_vpn_gateway_route): check if the VPN gateway is in the same
105 subnet as the parent device, and if so, don't add the direct
106 host route via the parent device's gateway (bgo #481620)
107 - (nm_system_apply_ip4_config): check whether the route to be added
108 is contained within a subnet the device is already on
110 2008-10-11 Dan Williams <dcbw@redhat.com>
112 * include/NetworkManager.h
113 introspection/nm-device.xml
114 include/NetworkManagerVPN.h
115 - Add a few more state reasons for the device deactivated state
117 * src/nm-device-interface.c
118 src/nm-device-interface.h
119 - (nm_device_interface_deactivate): add a 'reason' argument
123 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
124 - (nm_device_state_changed): pass the state change reason to
125 nm_device_take_down()
126 - (nm_device_set_managed): take a 'reason' argument, and pass it along
127 to the state change function
131 - (remove_one_device, handle_unmanaged_devices, sync_devices,
132 impl_manager_sleep): pass a reason code to nm_device_set_managed()
133 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
134 something reasonable along to VPN deactivation
136 * src/vpn-manager/nm-vpn-manager.c
137 src/vpn-manager/nm-vpn-manager.h
138 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
139 pass that along to nm_vpn_connection_disconnect()
141 2008-10-11 Dan Williams <dcbw@redhat.com>
143 * src/nm-device-wifi.c
144 - (can_scan): remove old madwifi hack for not scanning while connected
146 2008-10-11 Dan Williams <dcbw@redhat.com>
148 Add support for VPN subnet gateways (bgo #549196)
150 * include/NetworkManager.h
151 - Add key for internal VPN subnet gateway
153 * src/vpn-manager/nm-vpn-connection.c
154 - (ip_address_to_string): return a const from a static buffer so we
155 don't leak a lot of strings
156 - (print_vpn_config): print internal VPN gateway as well
157 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
159 - (nm_vpn_connection_get_ip4_internal_gateway): new function
161 * src/NetworkManagerSystem.c
162 src/NetworkManagerSystem.h
163 - (nm_system_device_replace_default_ip4_route): split into two, one for
164 VPN connections and one for normal devices
165 - (replace_default_ip4_route): break out route stuff into its own function
166 - (nm_system_replace_default_ip4_route_vpn,
167 nm_system_replace_default_ip4_route): simplify by having two cases,
168 one for VPNs and one for normal devices
170 * src/NetworkManagerPolicy.c
171 - (update_routing_and_dns): simplify, use split default route replacement
174 2008-10-10 Dan Williams <dcbw@redhat.com>
176 Rework default route handling to consolidate decisions in the policy,
177 and to take active VPN connections into account when changing the default
180 * src/NetworkManager.c
181 - (main): pass the vpn_manager to the policy so it knows about active
182 VPN connections; clean up the named manager which wasn't done before
184 * src/NetworkManagerPolicy.c
185 src/NetworkManagerPolicy.h
186 - (nm_policy_new): get a clue about the vpn_manager
187 - (update_default_route): remove, fold into update_routing_and_dns()
188 - (update_routing_and_dns): handle active VPN connections too; an
189 active VPN connection becomes the default route if it does not have
190 server-specified or user-specified custom routes. Otherwise, the
191 best active device gets the default route
192 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
193 nm_policy_destroy): track VPN connection activation and deactivation
194 and update the default route when appropriate
196 * src/NetworkManagerSystem.c
197 src/NetworkManagerSystem.h
198 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
199 in the VPN connection itself
200 - (nm_system_vpn_device_set_from_ip4_config,
201 nm_system_device_set_from_ip4_config): merge together to make
202 nm_system_apply_ip4_config()
203 - (add_vpn_gateway_route): add a route to the VPN's external gateway
204 via the parent device
205 - (nm_system_apply_ip4_config): simplify
206 - (add_ip4_route_to_gateway): new function; add a direct route to the
208 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
209 route stuff out into add_ip4_route_to_gateway() for clarity
212 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
214 * src/vpn-manager/nm-vpn-connection.c
215 src/vpn-manager/nm-vpn-connection.h
216 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
217 nm_vpn_connection_get_parent_device): add
218 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
220 - (connection_state_changed): update the named manager now that
221 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
224 * src/vpn-manager/nm-vpn-manager.c
225 src/vpn-manager/nm-vpn-manager.h
226 - Add a 'connection-activated' signal
227 - (nm_vpn_manager_get_active_connections): new function; mainly for the
228 policy to find out about active VPN connections
230 2008-10-10 Tambet Ingo <tambet@gmail.com>
232 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
233 a daemon to prevent NM logging spew on console on startup and shutdown (due
234 to dependency loop between NM and syslog).
236 2008-10-10 Alexander Sack <asac@ubuntu.com>
238 Implement managed mode. We bind devices configured in /etc/network/interfaces
239 to their connections by updating wired/wireless setting with the
240 mac address of the device.
242 * system-settings/plugins/ifupdown/plugin.c
243 - (get_net_address_for_udi): implement function to retrieve MAC
244 address of udi from hal in GByteArray format
245 - (bind_device_to_connection): bind mac address of device to
246 wired/wireless system connection
247 - (hal_device_added_cb): call bind_device_to_connection for
248 system connections with a matching interface.name
249 - (hal_device_added_cb): ensure that all code paths
250 properly free the "iface" string.
252 2008-10-10 Alexander Sack <asac@ubuntu.com>
254 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
255 mode of the ifupdown system config plugin.
257 * system-settings/plugins/ifupdown/plugin.c
258 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
259 private unmanage_well_known state field accordingly
261 2008-10-10 Alexander Sack <asac@ubuntu.com>
263 Implement unmanaged mode that will prevent all devices in the
264 well_known_udis set from being touched by NetworkManager
266 * system-settings/plugins/ifupdown/plugin.c
267 - (typedef struct SCPluginIfupdownPrivate): add gboolean
268 unmanage_well_known field used to turn on/off unmanaged
270 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
271 signal when well_known_udis get added/removed
272 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
273 if we are in unmanaged mode
275 2008-10-10 Alexander Sack <asac@ubuntu.com>
277 Add support to track network devices that have a configuration
278 with a matching interface.name in /etc/network/interfaces
280 * system-settings/plugins/ifupdown/plugin.c
281 - (typedef struct SCPluginIfupdownPrivate): add hash table
282 to track |well_known_udis|
283 - (get_iface_for_udi): helper function to get interface.name
285 - (hal_device_added_cb, hal_device_removed_cb): callbacks
286 that add and remove devices to and from the well_known_udis
287 set depending on whether their |interface.name| matches
288 any interface definition in /etc/network/interfaces
289 - (SCPluginIfupdown_init): connect callbacks from above with
290 hal_mgr and setup well_known_udis hashtable
291 - (GObject__dispose): destroy well_known_udis hashtable
292 - (hal_device_added_cb2): implement wrapper callback with GFunc
293 signature. user_data is supposed to be a triple (hal_mgr,
295 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
296 startup and call hal_device_added_cb2
298 2008-10-10 Alexander Sack <asac@ubuntu.com>
300 Remove implementation for not used NMSystemConfigInterface callback functions
303 * system-settings/plugins/ifupdown/plugin.c
304 - (SCPluginIfupdown_unmanaged_devices_changed): removed
305 - (SCPluginIfupdown_connection_added): removed
307 2008-10-08 Dan Williams <dcbw@redhat.com>
309 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
311 * src/NetworkManagerUtils.c
312 - (nm_utils_call_dispatcher): add a 'hostname' action
314 * src/NetworkManagerPolicy.c
315 - (set_system_hostname): dispatch hostname changes
317 * callouts/nm-dispatcher-action.c
318 - (nm_dispatcher_action): handle 'hostname' actions
320 2008-10-08 Dan Williams <dcbw@redhat.com>
322 * src/NetworkManagerSystem.c
323 - (find_route): ref the route so it doesn't get destroyed when the cache
325 - (nm_system_device_set_priority): unref the route here after it's done
328 2008-10-08 Dan Williams <dcbw@redhat.com>
330 * src/nm-serial-device.c
331 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
333 2008-10-08 Tambet Ingo <tambet@gmail.com>
335 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
336 connection with new settings before saving it.
338 2008-10-06 Dan Williams <dcbw@redhat.com>
340 * src/nm-ip4-config.c
342 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
344 * src/nm-device-interface.c
345 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
346 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
347 by using '/' for the object path
350 - (src/nm-device.c): marshal missing/unexported ip4-config through
351 dbus as '/' since dbus-glib can't handle NULL objects nor can
352 dbus handle NULL object paths
354 2008-10-03 Alexander Sack <asac@ubuntu.com>
356 Implement system hostname support for debian/ubuntu
358 * system-settings/plugins/ifupdown/plugin.c
359 - (GObject__get_property): extend announced capabilities; add
360 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
361 - (GObject__set_property,write_system_hostname): implement
362 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
363 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
364 update_system_hostname, get_hostname):
365 implement hostname property that watches and
368 2008-10-03 Alexander Sack <asac@ubuntu.com>
370 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
371 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
372 system-settings/plugins/ifcfg-fedora/Makefile.am
373 system-settings/src/nm-inotify-helper.c
374 system-settings/src/nm-inotify-helper.h
376 - Move ifcfg-fedora inotify helpers to the system settings service so
377 they are available to all plugins
379 2008-10-03 Alexander Sack <asac@ubuntu.com>
381 Implement support for wep-tx-keyidx in ifupdown system
384 * system-settings/plugins/ifupdown/parser.c
385 - (update_wireless_security_setting_from_if_block): introduce
386 free_type_mapping func table; rename a few local
387 variables to improve readability; add wpa security mapping
388 for wep-tx-keyidx property
389 - (string_to_gpointerint): new function used for the auto_type_mapping
390 of new wep-tx-keyidx property
391 - (slist_free_all): free func used for mapped slist types
393 2008-10-03 Alexander Sack <asac@ubuntu.com>
395 * system-settings/src/main.c:
396 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
397 always used as the hash key; fixes a crash when removing wired
400 2008-10-02 Dan Williams <dcbw@redhat.com>
402 * src/nm-gsm-device.c
403 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
404 pass the required GSM secret along via user_data rather than keeping
405 it around in the private data where it sometimes didn't get cleared
406 - (real_get_ppp_name): implement using the GSM username
408 2008-10-02 Dan Williams <dcbw@redhat.com>
410 * src/ppp-manager/nm-ppp-manager.c
411 src/ppp-manager/nm-ppp-manager.h
412 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
413 the settings daemon for completely new ones
414 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
415 local PPP peer name; allow PPP debuging by launching NM with
416 the environment variable NM_PPP_DEBUG defined
417 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
418 create_pppd_cmd_line()
420 * src/nm-serial-device.c
421 src/nm-serial-device.h
422 - New 'get_ppp_name' function for subclasses to implement to return the
424 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
425 and pass that name to the PPP manager
427 * src/nm-device-ethernet.c
428 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
431 * src/nm-cdma-device.c
432 - (real_get_ppp_name): implement using the CDMA username
434 2008-10-02 Dan Williams <dcbw@redhat.com>
436 Patch from Alexander Sack <asac ubuntu com>
438 * system-settings/plugins/ifupdown/parser.c
439 - Implement more graceful ip4 config parsing for cases where
440 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
441 by using default values
443 2008-10-02 Dan Williams <dcbw@redhat.com>
445 * src/NetworkManagerPolicy.c
446 - (device_state_changed): when marking a connection invalid, clear its
447 secrets too so that fresh secrets get requested the next time
449 2008-10-01 Dan Williams <dcbw@redhat.com>
451 * system-settings/src/dbus-settings.c
452 - (nm_sysconfig_settings_init): cache system hostname on startup as
453 a fallback if no plugin provides a hostname
454 - (get_property): fall back to cached hostname if no plugin provides
457 2008-10-01 Dan Williams <dcbw@redhat.com>
459 Fix setting value comparison issue that caused some settings to look the
460 same when they were really different (rh #464417)
462 * libnm-util/nm-param-spec-specialized.c
463 - (type_is_fixed_size): return fundamental size of the fixed type too
464 - (nm_gvalues_compare_collection): use the fundamental fixed type size
465 in the comparison so that the _entire_ fixed type collection gets
466 compared rather than just the first 'len1' bytes
468 2008-09-30 Dan Williams <dcbw@redhat.com>
470 * src/NetworkManagerPolicy.c
471 - (lookup_thread_worker): don't store the idle handler ID becuase the
472 idle handler could have already run and freed the LookupThread
475 2008-09-30 Tambet Ingo <tambet@gmail.com>
477 * src/nm-device.c (nm_device_get_priority): Implement.
478 (nm_device_set_ip4_config): Send the device priority to system ip4
481 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
482 Add priority argument and if it's >= 0, set the priority of the network
483 route added automatically by netlink (or kernel?).
484 (nm_system_device_set_priority): Implement.
486 * src/NetworkManagerPolicy.c (get_best_device): Use
487 nm_device_get_priority() instead of home-grown version. Revert the
488 meaning, best priority is the lowest one.
490 2008-09-29 Dan Williams <dcbw@redhat.com>
492 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
493 when it returns EAGAIN (rh #362421)
495 * src/nm-device-wifi.c
496 - (wireless_get_range): try GIWRANGE a few times until the card responds
497 - (real_get_generic_capabilities, constructor): use wireless_get_range()
499 2008-09-28 Dan Williams <dcbw@redhat.com>
501 * src/nm-serial-device.c
502 src/nm-serial-device.h
503 - (nm_serial_device_close): stop PPP manager here so that PPP gets
504 cleaned at the right times when subclasses close the serial port too
505 - (nm_serial_device_send_command): use a default send delay; don't
506 spin forever on EAGAIN
507 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
508 remove, no longer used
509 - (find_response): return the matched response if any
510 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
512 - (wait_for_reply_done): pass the matched response to the callback
513 - (wait_for_reply_got_data): save the matched response; simplify timeout
515 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
516 const since they never get modified
517 - (cleanup_device): split out common cleanup stuff to a new function
518 - (real_deactivate_quickly, finalize): use cleanup_device()
520 * src/nm-gsm-device.c
521 - (modem_get_reply): remove, unused
522 - (set_apn): give the card a bit more time to respond
523 - (manual_registration_again, schedule_manual_registration_again,
524 manual_registration_response, manual_registration): handle manual
525 registration timeouts better by retrying registration a few times
526 because cards are a bit slow after CFUN=1
527 - (automatic_registration_get_network, get_network_response): use
528 modem_wait_for_reply() because it interacts better with the serial
529 buffer and does more intelligent matching; need to wait for 'OK'
530 rather than just matching terminators
531 - (schedule_automatic_registration_again,
532 automatic_registration_response, automatic_registration): retry
533 registration a few times on timeout or "searching" because cards
534 take a bit to find a network after being powered up with CFUN=1
535 - (power_up_response, power_up, init_full_done, enter_pin,
536 check_pin_done): power up the card with CFUN=1 before trying to
537 register with the network
538 - (init_modem_full, init_modem): use more standard 3G init strings
540 * src/nm-hso-gsm-device.c
541 - (modem_get_reply): remove, unused
542 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
543 modem_wait_for_reply() to match actual responses instead of single
544 termination characters; it doesn't leave stuff in the serial buffer
545 that might confuse later calls
546 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
547 to ensure that the call is really disconnected and not leave extra
548 stuff in the serial buffer
550 * src/nm-cdma-device.c
551 - (power_up_response, power_up, init_done): try Sierra-style modem
552 power up before attempting to connect
554 2008-09-27 Dan Williams <dcbw@redhat.com>
556 * libnm-util/nm-setting-gsm.c
557 - (verify): verify GSM network ID
559 2008-09-25 Dan Williams <dcbw@redhat.com>
561 * libnm-util/nm-setting-gsm.c
562 libnm-util/nm-setting-gsm.h
563 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
564 technology terms (bgo #551361)
566 2008-09-25 Dan Williams <dcbw@redhat.com>
568 Fix bgo #549401 (inspired by patch from Alexander Sack)
570 * src/nm-device-ethernet.c
571 - (finish_supplicant_task): clean up scheduled tasks and free memory
572 - (remove_supplicant_interface_error_handler): remove the supplicant
573 error idle callback too
574 - (supplicant_interface_release): rename from supplicant_interface_clean
575 to match nm-device-wifi.c; clean up supplicant interface-related
576 state tasks when the supplicant interface is disposed of
577 - (schedule_state_handler): add scheduled tasks to a list so they can
579 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
580 supplicant_iface_connection_state_cb_handler): use
581 finish_supplicant_task() to clean up each completed task
582 - (supplicant_iface_connection_error_cb_handler,
583 supplicant_connection_timeout_cb): clear source id when the task is
585 - (supplicant_iface_connection_error_cb): save scheduled task id for
587 - (nm_device_ethernet_dispose): clean up any pending supplicant state
590 * src/nm-device-wifi.c
591 - (finish_supplicant_task): clean up scheduled tasks and free memory
592 - (remove_supplicant_interface_error_handler): remove the supplicant
593 error idle callback too
594 - (supplicant_interface_release): clean up supplicant interface-related
595 state tasks when the supplicant interface is disposed of
596 - (schedule_state_handler): add scheduled tasks to a list so they can
598 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
599 supplicant_iface_connection_state_cb_handler): use
600 finish_supplicant_task() to clean up each completed task
601 - (supplicant_iface_connection_error_cb_handler): clear source id when
603 - (supplicant_iface_connection_error_cb): save scheduled task id for
605 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
607 2008-09-24 Tambet Ingo <tambet@gmail.com>
609 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
610 method and get/set hostname property.
612 2008-09-24 Tambet Ingo <tambet@gmail.com>
614 * src/supplicant-manager/nm-supplicant-interface.c
615 (nm_supplicant_interface_disconnect): Don't increment the reference
616 count when disconnecting. The problem is on shutdown, when the replies
617 to these commands do not arrive before NM exits, resulting on never
618 calling supplicant interface's dispose(), which removes the interface
621 2008-09-24 Tambet Ingo <tambet@gmail.com>
623 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
624 all the public function arguments.
626 2008-09-22 Tambet Ingo <tambet@gmail.com>
628 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
629 "Failure" signal from VPN plugins, store the failure reason, and
630 use it when the state is changed to failure.
632 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
635 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
636 reason to the end of the list to not break the API.
637 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
638 so it can be shared by plugins and daemon.
640 2008-09-18 Dan Williams <dcbw@redhat.com>
642 Patch from Alexander Sack <asac@ubuntu.com>
645 system-settings/plugins/Makefile.am
646 system-settings/plugins/ifupdown/Makefile.am
647 system-settings/plugins/ifupdown/interface_parser.c
648 system-settings/plugins/ifupdown/interface_parser.h
649 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
650 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
651 system-settings/plugins/ifupdown/parser.c
652 system-settings/plugins/ifupdown/parser.h
653 system-settings/plugins/ifupdown/plugin.c
654 system-settings/plugins/ifupdown/plugin.h
655 - Implement a Debian/Ubuntu legacy network configuration plugin
658 2008-09-18 Dan Williams <dcbw@redhat.com>
660 Implement support for honoring configured and automatic hostnames, and for
661 setting the configured hostname.
663 * introspection/nm-ip4-config.xml
666 src/dhcp-manager/nm-dhcp-manager.c
667 - Remove useless hostname property; it's not really part of the IPv4
670 * introspection/nm-settings-system.xml
671 libnm-glib/nm-dbus-settings-system.c
672 libnm-glib/nm-dbus-settings-system.h
673 - Add SetHostname() call to system settings D-Bus interface
674 - Add Hostname property to system settings D-Bus interface
675 - (nm_dbus_settings_system_save_hostname,
676 nm_dbus_settings_system_get_hostname): implement
680 - (nm_device_get_dhcp4_config): implement
684 - Fetch and track system settings service hostname changes, and proxy
685 the changes via a GObject property of the manager
687 * system-settings/src/nm-system-config-interface.c
688 system-settings/src/nm-system-config-interface.h
689 - Replace nm_system_config_interface_supports_add() with a capabilities
692 * system-settings/src/nm-system-config-error.c
693 system-settings/src/nm-system-config-error.h
694 - Add additional errors
696 * system-settings/src/dbus-settings.c
697 system-settings/src/dbus-settings.h
698 - (get_property, nm_sysconfig_settings_class_init): add hostname
699 property; first plugin returning a hostname wins
700 - (impl_settings_add_connection): use plugin capabilities instead of
701 nm_system_config_interface_supports_add()
702 - (impl_settings_save_hostname): implement hostname saving
704 * src/NetworkManagerPolicy.c
705 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
706 lookup_thread_die): implement an asynchronous hostname lookup thread
707 which given an IPv4 address tries to look up the hostname for that
708 address with reverse DNS
709 - (get_best_device): split out best device code from
710 update_routing_and_dns()
711 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
712 to preserve the 127.0.0.1 reverse mapping that so many things require
713 - (set_system_hostname): set a given hostname
714 - (update_system_hostname): implement hostname policy; a configured
715 hostname (from the system settings service) is used if available,
716 otherwise an automatically determined hostname from DHCP, VPN, etc.
717 If there was no automatically determined hostname, reverse DNS of
718 the best device's IP address will be used, and as a last resort the
719 hostname 'localhost.localdomain' is set.
720 - (update_routing_and_dns): use get_best_device(); update the system
721 hostname when the network config changes
722 - (hostname_changed): update system hostname if the system settings
723 service signals a hostname change
724 - (nm_policy_new): list for system settings service hostname changes
725 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
728 * system-settings/plugins/keyfile/plugin.c
729 system-settings/plugins/ifcfg-suse/plugin.c
730 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
731 capabilities properties
733 * system-settings/plugins/ifcfg-fedora/shvar.c
734 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
735 writes out /etc/sysconfig/network now
737 * system-settings/plugins/ifcfg-fedora/plugin.c
738 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
739 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
740 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
741 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
742 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
743 hostname get/set and capabilities get
745 2008-09-18 Dan Williams <dcbw@redhat.com>
747 * libnm-util/nm-setting-wireless.c
748 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
749 group ciphers if the wireless-security setting explicitly specified
750 them, effectively making the default be "all ciphers" (idea from
753 2008-09-15 Dan Williams <dcbw@redhat.com>
755 Patch from Alexander Sack <asac@ubuntu.com>
757 * src/named-manager/nm-named-manager.c
758 - (dispatch_resolvconf): respect resolvconf exit code
760 2008-09-12 Tambet Ingo <tambet@gmail.com>
762 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
763 again. Add some debugging.
765 2008-09-11 Dan Williams <dcbw@redhat.com>
767 * system-settings/plugins/keyfile/plugin.c
768 - (update_connection_settings): update connection manually, since
769 nm_exported_connection_update() does authentication
770 - (dir_changed): update_connection_settings() doesn't need to return
773 2008-09-09 Dan Williams <dcbw@redhat.com>
775 * libnm-glib/nm-vpn-plugin-ui-interface.c
776 libnm-glib/nm-vpn-plugin-ui-interface.h
777 libnm-glib/libnm_glib_vpn.ver
778 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
779 should clean up resources related to the connection (like keyring
781 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
782 should save user-scope secrets (like to the keyring)
784 2008-09-08 Dan Williams <dcbw@redhat.com>
786 Patch from Alexander Sack <asac@ubuntu.com>
788 * libnm-util/crypto_gnutls.c
789 libnm-util/crypto_nss.c
790 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
792 * libnm-util/nm-utils.c
793 libnm-util/nm-utils.h
794 libnm-util/libnm-util.ver
795 - (nm_utils_init): initialize libnm-util
796 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
798 * libnm-util/nm-setting-8021x.c
799 - (nm_setting_802_1x_class_init): init libnm-util when needed
801 2008-09-05 Dan Williams <dcbw@redhat.com>
803 Patch from Roy Marples <roy@marples.name> and others
806 src/named-manager/nm-named-manager.c
807 - Add support for resolvconf; use --with-resolvconf at configure time
810 2008-09-05 Dan Williams <dcbw@redhat.com>
812 * libnm-util/crypto_nss.c
813 libnm-util/crypto_gnutls.c
815 - (crypto_init): return error when init fails
817 2008-09-05 Dan Williams <dcbw@redhat.com>
819 * libnm-glib/nm-device-wifi.c
820 - (access_point_removed_proxy): clean up the active access point too
821 just in case the active ap changed signal didn't come through yet
822 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
824 2008-09-05 Dan Williams <dcbw@redhat.com>
826 * libnm-glib/nm-client.c
827 - (constructor): get initial state after we know whether NM is running
830 2008-09-05 Dan Williams <dcbw@redhat.com>
832 * libnm-glib/nm-ip4-config.c
833 libnm-glib/nm-dhcp4-config.c
834 - (finalize): clean up the DBusGProxy
836 2008-09-04 Dan Williams <dcbw@redhat.com>
838 * src/nm-ip4-config.c
840 - (nm_ip4_config_new): don't export over D-Bus here
841 - (nm_ip4_config_export): new function; export the config over D-Bus
842 - (nm_ip4_config_is_exported): new function
845 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
846 objects by balancing the IP4Config constructor; the device holds
847 a reference to the IP4Config already
848 - (nm_device_set_ip4_config): export the IP4Config when needed
850 2008-09-04 Dan Williams <dcbw@redhat.com>
852 * src/supplicant-manager/nm-supplicant-settings-verify.c
853 - Allow WPA-NONE key management for Ad-Hoc WPA connections
855 2008-09-04 Dan Williams <dcbw@redhat.com>
857 * libnm-util/nm-setting-vpn.c
858 libnm-util/nm-setting-vpn.h
859 - Split VPN secrets from VPN data so that settings services can actually
860 figure out that they are secrets and store them accordingly
862 * system-settings/plugins/keyfile/nm-keyfile-connection.c
863 system-settings/plugins/keyfile/reader.c
864 system-settings/plugins/keyfile/reader.h
865 system-settings/plugins/keyfile/writer.c
866 - Store VPN secrets separately from VPN data so that they can be fetched
868 - Implement the get_secrets() call so that (a) secrets don't leak out
869 to unprivileged callers, and (b) secrets can be sent to privileged
872 * vpn-daemons/vpnc/src/nm-vpnc-service.c
873 - Handle split VPN secrets
875 2008-08-27 Dan Williams <dcbw@redhat.com>
877 * system-settings/plugins/ifcfg-fedora/reader.c
878 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
880 2008-08-27 Dan Williams <dcbw@redhat.com>
882 Ensure zombie children get cleaned up. To get notifications when children
883 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
884 that requires calling waitpid() yourself if you've removed the child watch
885 handler before the process has actually died, which NM needs to do in a few
886 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
887 cleans up after the child when required. Should fix problems trying to
888 activate mobile broadband connections after a previous failure.
890 * src/dhcp-manager/nm-dhcp-dhclient.c
891 src/dhcp-manager/nm-dhcp-dhcpcd.c
892 - Use G_SPAWN_DO_NOT_REAP_CHILD
894 * src/dhcp-manager/nm-dhcp-manager.c
895 - (nm_dhcp_device_destroy): ensure child is cleaned up
896 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
897 block on child quitting, since the non-blocking functionality was
900 * src/dnsmasq-manager/nm-dnsmasq-manager.c
901 - (dm_watch_cb): child is already reaped here
902 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
905 - (aipd_cleanup): block until child is dead
907 * src/named-manager/nm-named-manager.c
908 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
909 event bothering to watch the child
911 * src/ppp-manager/nm-ppp-manager.c
912 - (ppp_watch_cb): child is already reaped here
913 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
915 * src/vpn-manager/nm-vpn-service.c
916 - (vpn_service_watch_cb): child is already reaped here
917 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
918 status of the child is actually tracked
919 - (ensure_killed, finalize): block until child is dead
921 2008-08-26 Dan Williams <dcbw@redhat.com>
923 * system-settings/plugins/keyfile/nm-keyfile-connection.c
924 - (update): Update filename of the connection if the connection id
927 * system-settings/plugins/keyfile/plugin.c
928 - (dir_changed): first pass at handling connection renames correctly
930 * system-settings/plugins/keyfile/writer.c
931 system-settings/plugins/keyfile/writer.h
932 - (write_connection): replace '/' with '*' when writing out the filename
933 from the connection id
935 2008-08-26 Dan Williams <dcbw@redhat.com>
937 Add connection UUIDs, since connection names can be changed, and since
938 old-style connection IDs could change over the life of the connection. The
939 UUID should be assigned at connection creation time, be stable for a given
940 connection, and should be unique among all connections for a given settings
944 libnm-util/Makefile.am
947 * introspection/nm-exported-connection.xml
948 - Remove "GetID" method
950 * libnm-glib/nm-dbus-connection.c
951 libnm-glib/nm-settings.c
952 libnm-glib/nm-settings.h
953 - Remove id-related stuff
955 * libnm-util/nm-utils.c
956 libnm-util/nm-utils.h
957 libnm-util/libnm-util.ver
958 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
959 utility functions to generate UUIDs
961 * libnm-util/nm-setting-connection.c
962 libnm-util/nm-setting-connection.h
963 - Add 'uuid' member to the connection setting
964 - (verify): require valid 'uuid' for a valid connection
966 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
967 system-settings/plugins/ifcfg-fedora/reader.c
968 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
969 system-settings/plugins/ifcfg-suse/parser.c
970 system-settings/plugins/keyfile/nm-keyfile-connection.c
971 system-settings/src/main.c
972 - Remove id-related stuff
973 - Give connections UUIDs where needed
975 2008-08-25 Dan Williams <dcbw@redhat.com>
977 * libnm-util/crypto_gnutls.c
978 libnm-util/crypto_nss.c
979 - (crypto_init, crypto_deinit): refcount init/deinit
980 - (crypto_md5_hash): allow NULL salt
982 2008-08-22 Michael Biebl <mbiebl@gmail.com>
984 * libnm-glib/Makefile.am
985 libnm-util/Makefile.am
986 libnm-glib/libnm_glib.ver
987 libnm-glib/libnm_glib_vpn.ver
988 libnm-util/libnm-util.ver
989 - Use linker version scripts to control the list of exported
990 symbols. List each exported symbol explicitely.
991 * libnm-util/Makefile.am
992 - Fix compilation of the test-crypto binary. The crypto
993 functions are no longer part of the libnm-util API. Add
994 crypto_*.c to test_crypto_SOURCES and link against the correct
997 2008-08-19 Dan Williams <dcbw@redhat.com>
1001 - Don't build test/test-common
1002 - Remove unused stuff
1004 * test/nm-set-fallback
1005 test/nmtestdevices.c
1006 test/test-common/.cvsignore
1007 test/test-common/Makefile.am
1008 test/test-common/test-common.c
1009 test/test-common/test-common.h
1012 2008-08-18 Dan Williams <dcbw@redhat.com>
1014 * libnm-util/nm-utils.c
1015 libnm-util/nm-utils.h
1016 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1017 export anything that needs to be converted with this function
1019 * src/dhcp-manager/nm-dhcp-manager.c
1020 - (garray_to_string): convert a byte array to a UTF-8 string with
1021 minimal validation; the DHCP client sends it in ASCII anyway
1022 - (get_option, copy_option): use garray_to_string()
1024 2008-08-18 Dan Williams <dcbw@redhat.com>
1026 * include/NetworkManager.h
1027 introspection/nm-device.xml
1028 - Add a "missing firmware" device state reason
1030 * src/NetworkManagerSystem.c
1031 src/NetworkManagerSystem.h
1032 - (nm_system_device_set_up_down): add a no_firmware argument
1033 - (nm_system_device_set_up_down_with_iface): if the result of setting
1034 IFF_UP is ENOENT, that almost always means missing firmware
1036 * src/backends/NetworkManagerGeneric.c
1037 src/nm-device-ethernet.c
1038 src/nm-device-private.h
1039 src/nm-device-wifi.c
1042 src/nm-hso-gsm-device.c
1043 src/vpn-manager/nm-vpn-connection.c
1044 - Pass no_firmware along; check it where appropriate
1046 2008-08-18 Dan Williams <dcbw@redhat.com>
1048 Patch from Robert Buchholz <rbu@gentoo.org>
1052 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1053 1003.1-1988, allowing for file names longer than 99 characters
1055 2008-08-17 Dan Williams <dcbw@redhat.com>
1057 * include/NetworkManager.h
1058 introspection/nm-device.xml
1060 - Finer-grained GSM registration failure error codes
1062 2008-08-17 Dan Williams <dcbw@redhat.com>
1064 * callouts/Makefile.am
1066 - Move dispatcher directory creation to callouts/Makefile.am
1068 * system-settings/plugins/keyfile/Makefile.am
1069 - Create keyfile connections directory in DESTDIR (bgo #546833)
1071 2008-08-15 Dan Williams <dcbw@redhat.com>
1073 Do connection sharing in a cleaner manner; all required iptables rules
1074 are now stored in the activation request and pertain only to the device
1075 which is being shared to other computers. (rh #458625)
1077 * src/nm-activation-request.c
1078 src/nm-activation-request.h
1079 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1080 the activation request which will get torn down automatically when
1081 the activation request dies
1082 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1083 is started, and tear them down when sharing is stopped
1086 - (start_sharing): start up sharing by doing the required iptables magic
1087 - (share_init): poke the right bits of the kernel and load the right
1089 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1090 connection if it's a 'shared' connection
1092 * src/NetworkManagerPolicy.c
1093 - Remove all sharing stuff; done in the device code itself
1095 2008-08-15 Dan Williams <dcbw@redhat.com>
1097 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1098 - (create_dm_cmd_line): send the right router address
1100 2008-08-15 Dan Williams <dcbw@redhat.com>
1102 * src/ppp-manager/nm-ppp-manager.c
1103 - (pppd_timed_out): ensure timeouts fail the connection
1105 2008-08-14 Dan Williams <dcbw@redhat.com>
1107 * src/nm-properties-changed-signal.c
1108 src/nm-properties-changed-signal.h
1109 - Add a property spec flag for "don't export this property" in
1110 property changed signals
1112 * src/nm-hso-gsm-device.c
1114 src/nm-cdma-device.c
1115 - Don't export monitor interface or netdev interface properties
1117 2008-08-14 Dan Williams <dcbw@redhat.com>
1119 * src/NetworkManagerPolicy.c
1120 - (update_routing_and_dns): 'hso' devices can be default even if they
1121 don't have a gateway
1123 2008-08-14 Dan Williams <dcbw@redhat.com>
1126 - (nm_device_deactivate_quickly): tear down activation request after
1127 calling device-specific deactivation
1129 * src/nm-hso-gsm-device.c
1130 - (real_deactivate_quickly): terminate connection when deactivating
1132 2008-08-14 Dan Williams <dcbw@redhat.com>
1134 * src/nm-activation-request.h
1135 - Add HSO secrets caller
1137 * src/nm-gsm-device.c
1139 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1140 something to the callback function
1141 - (set_apn, set_apn_done): call class dial function, not a static one
1142 - (nm_gsm_device_class_init): add a class 'dial' function
1144 * src/nm-hal-manager.c
1145 - (get_hso_netdev): find the hso-driven hardware's net device
1146 - (modem_device_creator): recognize hso-driven hardware and create the
1147 right type of device object for it
1150 src/nm-hso-gsm-device.c
1151 src/nm-hso-gsm-device.h
1152 - Implement support for devices driven by the 'hso' driver as a subclass
1155 2008-08-14 Dan Williams <dcbw@redhat.com>
1157 * src/NetworkManagerSystem.c
1158 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1159 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1160 success if the operation really was successful
1162 2008-08-14 Dan Williams <dcbw@redhat.com>
1164 * src/nm-netlink-monitor.c
1165 src/nm-netlink-monitor.h
1166 src/nm-device-ethernet.c
1167 - (nm_netlink_monitor_request_status): return an error on failure
1168 - (constructor): don't segfault on missing error
1170 2008-08-13 Dan Williams <dcbw@redhat.com>
1172 * callouts/nm-dispatcher-action.c
1173 - Add IP4 config info to script environment
1175 2008-08-12 Dan Williams <dcbw@redhat.com>
1178 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1179 that want to use DHCP hostnames should use dispatcher scripts
1182 * src/NetworkManagerSystem.h
1183 src/backends/NetworkManagerArch.c
1184 src/backends/NetworkManagerDebian.c
1185 src/backends/NetworkManagerFrugalware.c
1186 src/backends/NetworkManagerGeneric.c
1187 src/backends/NetworkManagerGeneric.h
1188 src/backends/NetworkManagerGentoo.c
1189 src/backends/NetworkManagerMandriva.c
1190 src/backends/NetworkManagerPaldo.c
1191 src/backends/NetworkManagerRedHat.c
1192 src/backends/NetworkManagerSlackware.c
1193 src/backends/NetworkManagerSuSE.c
1194 - Remove nm_system_set_hostname(), no longer used
1196 * src/backends/Makefile.am
1197 src/backends/shvar.c
1198 src/backends/shvar.h
1199 - Remove shvar.*; no longer used
1201 2008-08-12 Dan Williams <dcbw@redhat.com>
1203 Revert most of the 'hostname' patch. Too much stuff still breaks when
1204 hostname is updated at runtime. Distros or users who want hostname updates
1205 can use dispatcher scripts to update the hostname if they need it.
1207 2008-08-12 Dan Williams <dcbw@redhat.com>
1209 * introspection/nm-settings-system.xml
1210 system-settings/src/dbus-settings.c
1211 system-settings/src/dbus-settings.h
1212 - Add a 'Hostname' property (rw) which represents the configured
1213 hostname and domain of the system, if any
1215 * system-settings/src/nm-system-config-error.c
1216 system-settings/src/nm-system-config-error.h
1217 system-settings/src/nm-system-config-interface.c
1218 system-settings/src/nm-system-config-interface.h
1219 - Add a 'hostname' property to the plugin interface
1220 - Add a method to send updated hostname to plugins to save in their
1221 backing configuration store
1223 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1224 system-settings/plugins/keyfile/plugin.c
1225 system-settings/plugins/keyfile/writer.c
1226 system-settings/plugins/keyfile/writer.h
1227 system-settings/plugins/ifcfg-suse/plugin.c
1228 - Add minimal hostname support
1230 * system-settings/plugins/ifcfg-fedora/plugin.c
1231 - Add support for updating system hostname in /etc/sysconfig/network
1233 2008-08-12 Dan Williams <dcbw@redhat.com>
1235 * system-settings/plugins/ifcfg-fedora/shvar.c
1236 system-settings/plugins/ifcfg-fedora/shvar.c
1237 - Fix double-free caused by svSetValue() followed by svCloseFile()
1239 2008-08-12 Tambet Ingo <tambet@gmail.com>
1241 * Makefile.am: Fix distcheck.
1243 2008-08-12 Tambet Ingo <tambet@gmail.com>
1245 * libnm-glib/*.c. Document some more.
1247 2008-08-12 Tambet Ingo <tambet@gmail.com>
1249 Start documenting libnm-glib public API using gtk-doc.
1251 * libnm-glib/nm-serial-device.c:
1252 * libnm-glib/nm-object.c:
1253 * libnm-glib/nm-gsm-device.c:
1254 * libnm-glib/nm-device.c:
1255 * libnm-glib/nm-device-wifi.c:
1256 * libnm-glib/nm-device-ethernet.c:
1257 * libnm-glib/nm-client.c:
1258 * libnm-glib/nm-cdma-device.c: Document the public API.
1260 * docs/libnm-glib/libnm-glib.types: Implement.
1262 * docs/libnm-glib/Makefile.am: Implement.
1266 * Makefile.am: Add gtk-doc support.
1268 2008-08-12 Tambet Ingo <tambet@gmail.com>
1270 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1272 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1273 the composite result of all the IP4 configurations and call a distro
1274 specific update_resolv_conf().
1275 (update_resolv_conf): Implement one for directly writing to
1276 /etc/resolv.conf and one for opensuse to call netconfig.
1278 2008-08-11 Dan Williams <dcbw@redhat.com>
1280 * src/ppp-manager/nm-ppp-manager.c
1281 - (impl_ppp_manager_need_secrets): pass interface as required
1283 2008-08-11 Dan Williams <dcbw@redhat.com>
1285 Merge the vpn-properties setting with the vpn setting since it was pointless
1286 to keep both of them around. Convert the vpn 'data' hash table to a hash
1287 of string:string (instead of string:variant) so that system settings plugins
1288 can have an easier time dealing with the arbitrary key/value pairs.
1290 2008-08-11 Dan Williams <dcbw@redhat.com>
1292 * libnm-util/nm-utils.c
1293 - (nm_utils_register_value_transformations): add value transform for
1294 a hash table of string:string
1296 2008-08-10 Dan Williams <dcbw@redhat.com>
1298 * libnm-glib/nm-vpn-plugin.c
1299 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1300 an idle handler so the Connect reply gets delivered before the
1301 stop StateChanged signal
1303 2008-08-10 Dan Williams <dcbw@redhat.com>
1305 * src/nm-ip4-config.c
1306 - (get_property): use common ip4 address/route conversion functions
1307 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1308 copy the new route here, not take ownership
1310 2008-08-08 Tambet Ingo <tambet@gmail.com>
1312 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1313 Update the IP4 setting's method name.
1315 2008-08-07 Dan Williams <dcbw@redhat.com>
1317 * introspection/nm-ip4-config.xml
1318 libnm-glib/libnm-glib-test.c
1319 libnm-glib/nm-ip4-config.c
1320 libnm-glib/nm-ip4-config.h
1321 src/NetworkManagerSystem.h
1322 src/backends/NetworkManagerArch.c
1323 src/backends/NetworkManagerDebian.c
1324 src/backends/NetworkManagerFrugalware.c
1325 src/backends/NetworkManagerGeneric.c
1326 src/backends/NetworkManagerGeneric.h
1327 src/backends/NetworkManagerGentoo.c
1328 src/backends/NetworkManagerMandriva.c
1329 src/backends/NetworkManagerPaldo.c
1330 src/backends/NetworkManagerRedHat.c
1331 src/backends/NetworkManagerSlackware.c
1332 src/backends/NetworkManagerSuSE.c
1333 src/dhcp-manager/nm-dhcp-manager.c
1337 - Remove NIS logic; should be done from dispatcher scripts instead
1339 2008-08-07 Dan Williams <dcbw@redhat.com>
1341 * src/dhcp-manager/nm-dhcp-manager.c
1342 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1343 mis-handling of DHCP responses that returned more than one router
1344 (found by Grant Williamson)
1346 2008-08-07 Dan Williams <dcbw@redhat.com>
1348 * callouts/nm-dispatcher-action.c
1349 - (nm_dispatcher_action): grab device path and create the device; pass
1350 the device's DHCP4 config to script caller
1351 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1354 * libnm-glib/nm-dhcp4-config.c
1355 libnm-glib/nm-dhcp4-config.h
1356 - (nm_dhcp4_config_get_options): expose
1357 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1359 2008-08-07 Dan Williams <dcbw@redhat.com>
1361 * include/NetworkManager.h
1362 - Add the DHCP4Config D-Bus interface
1364 * libnm-glib/Makefile.am
1365 libnm-glib/nm-dhcp4-config.c
1366 libnm-glib/nm-dhcp4-config.h
1367 - Handle DHCP4 config objects exported by NM over D-Bus
1369 * libnm-glib/nm-device.c
1370 libnm-glib/nm-device.h
1371 - Add a 'dhcp4-config' property
1373 * libnm-glib/libnm-glib-test.c
1374 - Print out DHCP4 config for devices
1375 - Fix some crashes when no connections are active
1377 * src/nm-device-interface.c
1379 src/nm-dhcp4-config.c
1380 src/nm-dhcp4-config.h
1381 - Treat dhcp4-config object as an object path at the D-Bus interface so
1382 that when it doesn't exist we can proxy it as "/" which dbus-glib
1383 doesn't let us do when the property type is G_TYPE_OBJECT
1385 2008-08-07 Dan Williams <dcbw@redhat.com>
1387 * src/NetworkManager.c
1388 src/NetworkManagerSystem.h
1389 src/backends/NetworkManagerArch.c
1390 src/backends/NetworkManagerDebian.c
1391 src/backends/NetworkManagerFrugalware.c
1392 src/backends/NetworkManagerGeneric.c
1393 src/backends/NetworkManagerGeneric.h
1394 src/backends/NetworkManagerGentoo.c
1395 src/backends/NetworkManagerMandriva.c
1396 src/backends/NetworkManagerPaldo.c
1397 src/backends/NetworkManagerRedHat.c
1398 src/backends/NetworkManagerSlackware.c
1399 src/backends/NetworkManagerSuSE.c
1400 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1402 2008-08-06 Dan Williams <dcbw@redhat.com>
1404 * libnm-glib/nm-ip4-config.c
1405 libnm-glib/nm-ip4-config.h
1406 - Add 'routes' property
1408 * libnm-util/nm-setting-vpn.c
1409 libnm-util/nm-setting-vpn.h
1410 - Remove 'routes' property
1412 * libnm-util/nm-setting-ip4-config.c
1413 libnm-util/nm-setting-ip4-config.h
1414 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1415 - Add 'ignore-auto-routes' property
1416 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
1417 accomodate route metrics
1418 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1420 * libnm-util/nm-utils.c
1421 libnm-util/nm-utils.h
1422 - Add helpers for marshalling IP4 routes
1424 * src/NetworkManagerUtils.c
1425 - (nm_utils_merge_ip4_config): handle property renames and new route
1428 * src/NetworkManagerSystem.c
1429 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1430 nm_system_vpn_device_set_from_ip4_config): respect route metrics
1432 * src/dhcp-manager/nm-dhcp-manager.c
1433 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1435 * system-settings/plugins/ifcfg-fedora/reader.c
1436 system-settings/plugins/ifcfg-fedora/writer.c
1437 - Handle routes separately from addresses now that routes have a different
1440 * introspection/nm-ip4-config.xml
1443 - Rename internal routing functions
1444 - 'static-routes' renamed to 'routes'
1446 2008-08-04 Dan Williams <dcbw@redhat.com>
1448 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1450 * src/NetworkManager.c
1453 - More explicitly make the NMManager a singleton
1455 2008-08-04 Dan Williams <dcbw@redhat.com>
1457 * libnm-util/nm-connection.c
1458 libnm-util/nm-connection.h
1459 - (nm_connection_verify): return error on missing 'connection' setting
1460 (found by Sjoerd Simons)
1462 2008-08-04 Dan Williams <dcbw@redhat.com>
1464 Handle multiple concurrent PPP connections.
1466 * src/ppp-manager/nm-ppp-manager.c
1467 src/ppp-manager/nm-ppp-manager.h
1468 - (constructor): only PPP Manager request bus name once; each
1469 NMPPPManager object gets a unique object path
1470 - (nm_ppp_manager_class_init, get_property, set_property,
1471 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1473 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1474 remove timeout until PPP manager gets an IP4 config
1475 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1476 the plugin can call back to this specific PPP manager instance
1478 * src/nm-device-ethernet.c
1479 src/nm-serial-device.c
1480 - Pass parent device in nm_ppp_manager_new()
1482 * src/nm-gsm-device.c
1483 src/nm-cdma-device.c
1484 - (device_state_changed): don't close serial device on NEED_AUTH
1485 state changed, that's not a failure case like the rest are
1487 * src/ppp-manager/nm-pppd-plugin.c
1488 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1489 binds one interface to any pppd process, thus the correct index
1490 is always 0; send PHASE_DEAD on error to alert NM immediately of
1491 problems; try harder to get a peer address in spite of pppd
1492 - (plugin_init): use 'ipparam' as the object path back to our specific
1493 PPP manager instance
1495 2008-08-04 Dan Williams <dcbw@redhat.com>
1497 * src/ppp-manager/nm-ppp-manager.c
1498 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1499 since the GSM and CDMA settings now implement need_secrets, we can
1500 rely on them to do the right thing. Where secrets are not required,
1501 just pass empty strings back to the pppd plugin.
1502 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1503 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1504 on successful IP4 config receipt
1506 2008-08-04 Dan Williams <dcbw@redhat.com>
1508 * libnm-util/nm-setting-cdma.c
1509 libnm-util/nm-setting-gsm.c
1510 - (verify): validate username & password if they exist
1511 - (need_secrets): if username given, require a password too
1513 2008-08-04 Dan Williams <dcbw@redhat.com>
1515 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1516 - (create_dm_cmd_line): really don't listen on lo, despite what the
1517 manpage says about --listen-address without --interface
1520 2008-08-01 Dan Williams <dcbw@redhat.com>
1522 * libnm-glib/nm-device.c
1523 - (proxy_get_string): util function for querying a HAL property
1524 - (get_ancestor_device): split out from get_product_and_vendor()
1525 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1526 from PCI devices by querying subsys properties
1527 - (nm_device_update_description): simplify
1529 2008-08-01 Dan Williams <dcbw@redhat.com>
1531 * libnm-util/nm-setting-ip4-config.c
1532 libnm-util/nm-setting-ip4-config.h
1533 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1534 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
1535 settings, and they don't necessarily use DHCP.
1537 * src/NetworkManagerPolicy.c
1539 system-settings/plugins/ifcfg-fedora/reader.c
1540 system-settings/plugins/ifcfg-suse/parser.c
1541 - Fixup for method changes
1543 2008-07-31 Dan Williams <dcbw@redhat.com>
1545 * src/nm-activation-request.c
1546 src/vpn-manager/nm-vpn-connection.c
1547 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1548 itself should be attached to the activation request or the VPN
1549 connection, not the NMConnection object, since the call is not
1550 expected to live as long as the NMConnection itself
1552 2008-07-31 Dan Williams <dcbw@redhat.com>
1554 * src/nm-device-wifi.c
1555 - (real_act_stage2_config): fix issue where association would continue
1556 even though secrets were needed; 'goto out' was in wrong scope and
1557 result of handle_auth_or_fail() should have been dumped directly to
1558 'ret' to ensure that the association was postponed until secrets
1561 2008-07-31 Dan Williams <dcbw@redhat.com>
1563 * system-settings/plugins/ifcfg-fedora/plugin.c
1564 system-settings/plugins/ifcfg-fedora/reader.c
1565 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1568 2008-07-29 Dan Williams <dcbw@redhat.com>
1570 * src/nm-gsm-device.c
1571 - (automatic_registration_response, automatic_registration): recognize
1572 denied registration and reorder responses
1574 2008-07-29 Dan Williams <dcbw@redhat.com>
1576 * src/nm-serial-device.c
1577 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
1578 time(2) is used for current time, which returns seconds, we shouldn't
1579 be multiplying by 1000.
1581 2008-07-28 Dan Williams <dcbw@redhat.com>
1583 Patch from Fabrice Bellet <fabrice@bellet.info>
1585 * src/NetworkManagerSystem.c
1586 - (route_in_same_subnet): mask addresses and compare them so that the
1587 function actually does what it says it's going to do (rh #456685)
1589 2008-07-27 Dan Williams <dcbw@redhat.com>
1591 * libnm-util/nm-setting-ip6-config.c
1592 - (set_property): add missing break that caused routes to be overwritten
1595 * libnm-util/nm-setting-ip6-config.c
1596 - (verify): validate routes and return GError everywhere on invalid setting
1597 - (finalize): don't leak routes
1598 - (set_property): add missing break that caused routes to be overwritten
1601 2008-07-27 Dan Williams <dcbw@redhat.com>
1604 - Relicense to LGPLv2+
1606 2008-07-27 Dan Williams <dcbw@redhat.com>
1608 * system-settings/plugins/ifcfg-fedora/reader.c
1609 - (make_ip4_setting): fix parsing automatic configs
1611 2008-07-27 Dan Williams <dcbw@redhat.com>
1613 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1615 src/ppp-manager/nm-ppp-manager.c
1616 - Ensure child process gets reaped. The child watch function may be
1617 removed from the mainloop before the child gets killed, so we have
1618 to make sure the child is reaped when it's told to die intentionally
1620 2008-07-27 Dan Williams <dcbw@redhat.com>
1622 Patch from Roy Marples <roy@marples.name>
1624 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1625 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1627 2008-07-27 Dan Williams <dcbw@redhat.com>
1629 * src/nm-gsm-device.c
1630 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1631 Huawei devices turn echo back on after CPIN (rh #456770)
1633 2008-07-24 Tambet Ingo <tambet@gmail.com>
1635 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1636 format argument to g_set_error() call.
1638 * src/backends/interface_parser.[ch]: Remove.
1640 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1642 2008-07-21 Dan Williams <dcbw@redhat.com>
1644 * src/ppp-manager/nm-ppp-manager.c
1645 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1646 to prevent pppd from picking up some random local address from an
1647 interface that doesn't have anything to do with the one we're
1648 interested in (rh #455348)
1650 2008-07-17 Dan Williams <dcbw@redhat.com>
1652 * libnm-util/nm-utils.c
1653 - (string_to_utf8): general function for conversion to UTF-8 assisted
1655 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1656 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1658 2008-07-17 Dan Williams <dcbw@redhat.com>
1660 * introspection/Makefile.am
1661 introspection/nm-device.xml
1662 introspection/nm-dhcp4-config.xml
1663 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1665 * src/nm-device-interface.c
1666 src/nm-device-interface.h
1667 - Add the DHCP4Config property
1670 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1671 D-Bus clients when it changes
1673 * src/nm-dhcp4-config.c
1674 src/nm-dhcp4-config.h
1675 - Simple object to store DHCP4 options, export them over D-Bus, and
1676 notify when they change
1678 * src/dhcp-manager/nm-dhcp-manager.c
1679 src/dhcp-manager/nm-dhcp-manager.h
1680 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1681 filter server-returned DHCP options into an NMDHCP4Config object
1683 2008-07-16 Dan Williams <dcbw@redhat.com>
1685 * introspection/nm-device.xml
1686 - Add device state reasons
1688 2008-07-16 Dan Williams <dcbw@redhat.com>
1690 Patch from Roy Marples <roy@marples.name>
1693 - Add --with-dhcp-client option
1695 * src/dhcp-manager/Makefile.am
1696 - pass DHCP_CLIENT_PATH on compile line
1698 * src/dhcp-manager/nm-dhcp-manager.c
1699 src/dhcp-manager/nm-dhcp-manager.h
1700 - Genericize for both dhcpcd and dhclient
1702 * src/dhcp-manager/nm-dhcp-dhclient.c
1703 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1705 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1706 - Implement support for dhcpcd too
1708 2008-07-16 Tambet Ingo <tambet@gmail.com>
1710 * system-settings/src/nm-system-config-interface.c
1711 (nm_system_config_interface_supports_add): Implement.
1712 (nm_system_config_interface_add_connection): Return a boolean to notify
1715 * system-settings/src/nm-polkit-helpers.c:
1716 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1719 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1720 Return an error when none of the plugins support add or if addition
1721 failed for some reason.
1723 * system-settings/src/nm-system-config-error.h:
1724 * system-settings/src/nm-system-config-error.c: New files, mostly moved
1725 here from nm-polkit-helpers.[ch].
1727 * system-settings/src/Makefile.am: Build new files.
1729 * system-settings/plugins/keyfile/reader.c
1730 (read_array_of_array_of_uint): Make it more general so that it would
1731 work for routes as well.
1733 * system-settings/plugins/keyfile/writer.c
1734 (write_array_of_array_of_uint): Ditto.
1735 Fix the netmask/prefix writing.
1737 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1738 boolean to notify errors.
1740 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1741 Return more specific error.
1744 2008-07-11 Dan Williams <dcbw@redhat.com>
1746 Modify the NMDevice::state-changed signal to include the previous state
1747 and reason. Enables the applet to provide more information why device
1750 2008-07-09 Dan Williams <dcbw@redhat.com>
1752 * callouts/Makefile.am
1753 callouts/nm-avahi-autoipd-action.c
1754 callouts/nm-avahi-autoipd.conf
1755 - avahi-autoipd callout to send options back to NM
1762 src/nm-device-private.h
1764 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1767 2008-07-07 Dan Williams <dcbw@redhat.com>
1769 * system-settings/plugins/ifcfg-fedora/reader.c
1770 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1771 handle PREFIX too; clean up
1773 2008-07-07 Dan Williams <dcbw@redhat.com>
1775 Convert to using IPv4 prefixes instead of netmasks.
1777 2008-07-03 Dan Williams <dcbw@redhat.com>
1779 * libnm-util/nm-setting-ip4-config.c
1780 libnm-util/nm-setting-ip4-config.h
1781 - Add properties for DHCP Client Identifier and DHCP Hostname
1783 * src/dhcp-manager/nm-dhcp-manager.c
1784 src/dhcp-manager/nm-dhcp-manager.h
1785 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
1786 setting as an argument to pass on to the dhclient config file
1788 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
1790 - (dhclient_run): punt config file handling to create_dhclient_config()
1791 - (create_dhclient_config): create an interface-specific dhclient
1792 config file since there may need to be interface-specific options
1794 - (merge_dhclient_config): merge normal distro dhclient config file and
1795 add options from the connection
1796 - (nm_dhcp_device_new): generate the interface specific dhclient
1797 config file path once
1798 - (nm_dhcp_device_destroy): handle partially initialized objects; free
1799 dhclient config file path
1802 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
1803 DHCP manager when starting DHCP
1805 2008-07-02 Dan Williams <dcbw@redhat.com>
1807 * libnm-util/nm-setting-8021x.c
1808 - (verify): allow forcing the PEAP label to 0
1810 2008-07-02 Dan Williams <dcbw@redhat.com>
1812 * introspection/nm-active-connection.xml
1813 introspection/nm-vpn-connection.xml
1814 libnm-glib/nm-active-connection.c
1815 src/nm-activation-request.c
1816 src/nm-active-connection.h
1817 src/vpn-manager/nm-vpn-connection.c
1818 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
1819 and libnm-glib API since sharing didn't get implemented that way
1821 2008-07-02 Dan Williams <dcbw@redhat.com>
1823 * src/nm-device-wifi.c
1824 - (can_scan): don't scan when a shared connection is activated since
1825 that makes drivers mad (causing disconnects); also NM doesn't need
1826 to hedge against disconnects by keeping up-to-date network topology
1827 because the connection originates from the local machine, and thus
1828 there should be no disconnects
1830 2008-07-01 Dan Williams <dcbw@redhat.com>
1832 Fix mobile broadband username/password issues. NM was never requesting
1833 mobile broadband secrets, nor was it passing back the username and password
1836 * marshallers/nm-marshal.list
1837 - Add some new types for activation request objects
1839 * src/nm-activation-request.c
1840 src/nm-activation-request.h
1841 - (get_secrets_cb): pass the caller type in the signal
1842 - (nm_act_request_request_connection_secrets): take a caller type, so
1843 that GetSecrets() reply handlers know who asked for the secrets in
1844 the first place; use secret hints too so the settings service can
1845 figure out exactly what NM wants (ie, PIN or the PPP password)
1847 * src/ppp-manager/nm-ppp-manager.c
1848 src/ppp-manager/nm-ppp-manager.h
1849 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
1850 detect needed secrets when the secret could be blank, like GSM/CDMA
1851 passwords. So always ask for secrets, and send a hint as to what
1852 secret we really want.
1853 - (nm_ppp_manager_update_secrets): make function more generic by making
1854 the device specific class figure out the username and password, and
1855 accept an error argument to return back over D-Bus
1857 * src/nm-device-wifi.c
1858 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1859 nm_act_request_request_connection_secrets()
1860 - (real_connection_secrets_updated): update for 'caller' changes
1864 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
1865 for 'caller' changes
1867 * src/nm-device-ethernet.c
1868 - (real_connection_secrets_updated): update for 'caller' changes and
1869 move logic for getting PPPoE username and password here before
1870 calling nm_ppp_manager_update_secrets()
1871 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1872 nm_act_request_request_connection_secrets()
1874 * src/nm-cdma-device.c
1875 - (real_connection_secrets_updated): pass username and password back
1876 to the PPP manager when required
1878 * src/nm-gsm-device.c
1879 - (enter_pin): send the required secret name to the settings service
1880 - (real_connection_secrets_updated): pass username and password back
1881 to the PPP manager when required
1883 2008-06-30 Dan Williams <dcbw@redhat.com>
1885 * src/nm-device-wifi.c
1886 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
1888 2008-06-30 Dan Williams <dcbw@redhat.com>
1890 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
1891 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
1892 priv->supplicant.iface. When either condition is false, the device should
1893 transition back to UNAVAILABLE because it cannot be used.
1895 * src/nm-device-wifi.c
1896 - (constructor): cleanup; connect to supplicant manager here since the
1897 supplicant manager is always around
1898 - (supplicant_interface_acquire): rename from init_supplicant_interface,
1899 ensure the supplicant manager is in the IDLE state
1900 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
1901 cancel any pending scans too
1902 - (real_bring_up): don't set up the supplicnat interface here, because
1903 we need the supplicant interface at times when the device may not
1905 - (real_take_down): just remove the periodic source
1906 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
1907 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
1908 do anything if there's no supplicant interface
1909 - (cleanup_association_attempt): cleanup
1910 - (supplicant_iface_state_cb_handler): request an immediate scan when
1911 the interface enters the READY state; transition to UNAVAILABLE
1912 state when the interface goes down because the device can't be used
1913 without a supplicant interface
1914 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
1915 up and transition to UNAVAILABLE; if the supplicant becomes ready,
1916 acquire the supplicant interface and transition to DISCONNECTED
1917 if the radio isn't killed
1918 - (nm_device_wifi_dispose): move most of device_cleanup() here
1919 - (state_changed_cb): release any existing supplicant interface; if the
1920 radio is enabled then try to acquire a new supplicant interface;
1921 if the radio is enabled and a supplicant interface has been acquired,
1922 we can transition to DISCONNECTED
1923 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
1924 don't enable the radio, because HAL probably lied to us about the
1925 killswitch being off. If bringing the hardware up worked, then
1926 try to grab a supplicant interface, and if that was successful,
1927 transition to DISCONNECTED
1929 2008-06-30 Dan Williams <dcbw@redhat.com>
1931 * src/supplicant-manager/nm-supplicant-interface.c
1932 - (request_scan_results, nm_supplicant_interface_dispose,
1933 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
1934 the id of the timeout, not a GSource
1936 2008-06-30 Tambet Ingo <tambet@gmail.com>
1938 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
1939 bunch of typoes introduced by "Patch from David Cantrell
1940 <dcantrell@redhat.com> and me".
1942 2008-06-30 Tambet Ingo <tambet@gmail.com>
1944 * src/nm-serial-device.c:
1945 * src/nm-gsm-device.c:
1946 * src/nm-cdma-device.c: Move the pending call handling to a common location
1947 in serial device. Handle setting device state to failed in one place as well.
1949 2008-06-29 Dan Williams <dcbw@redhat.com>
1951 * src/nm-hal-manager.c
1952 - Rework killswitch handling to query killswitch status immediately
1953 when the first killswitch is added, so that rfkill state is
1954 known as early as possible
1955 - Also treat failure of GetPower() as rfkill when the dbus method
1956 call times out (but not when the HAL callout returns an error)
1958 2008-06-26 Dan Williams <dcbw@redhat.com>
1960 Patch from David Cantrell <dcantrell@redhat.com> and me
1962 * include/nm-dbus-glib-types.h
1963 - Add IP6 address types
1965 * libnm-util/Makefile.am
1966 libnm-util/nm-setting-ip6-config.c
1967 libnm-util/nm-setting-ip6-config.h
1968 - Add IP6 settings object
1970 * libnm-util/nm-connection.c
1971 - (register_default_settings): register ip6 settings object
1973 * libnm-util/nm-utils.c
1974 libnm-util/nm-utils.h
1975 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
1976 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
1977 ip6 address conversion functions
1979 2008-06-26 Dan Williams <dcbw@redhat.com>
1981 Patch from David Cantrell <dcantrell@redhat.com>
1983 * Use inet_ntop() and inet_pton() everwhere and check for errors
1985 2008-06-26 Dan Williams <dcbw@redhat.com>
1987 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
1989 2008-06-26 Dan Williams <dcbw@redhat.com>
1991 Patch from Adel Gadllah <adel.gadllah@gmail.com>
1993 * src/nm-device-wifi.c
1994 - (link_timeout_cb): don't ignore disconnects due to scanning
1995 - (supplicant_iface_connection_state_cb_handler): instead, schedule
1996 a longer timeout when scanning; avoids case where supplicant can't
1997 find the AP and just keeps scanning forever but isn't connected
1999 2008-06-26 Dan Williams <dcbw@redhat.com>
2001 Patch from Michael Biebl <biebl@debian.org>
2003 * Clean up build system stuff
2005 2008-06-23 Christian Persch <chpe@gnome.org>
2007 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2008 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2009 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2011 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2013 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2014 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2015 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2017 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2018 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2019 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2020 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2021 * vpn-daemons/pptp/properties/vpnui_opt.c:
2022 (vpnui_opt_connect_signals):
2023 * vpn-daemons/pptp/properties/vpnui_opt.h:
2024 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2025 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2026 deprecated gtk type macros. Bug #539325.
2028 2008-06-20 Dan Williams <dcbw@redhat.com>
2030 * libnm-glib/nm-vpn-plugin-ui-interface.c
2031 libnm-glib/nm-vpn-plugin-ui-interface.h
2032 - 'validity-changed' -> 'changed' to work better with the connection
2033 editor. Plugin UI widgets should emit 'changed' whenever their
2034 UI values change in a meaningful way.
2035 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2036 update_connection member now returns validity of the UI widget
2038 2008-06-20 Tambet Ingo <tambet@gmail.com>
2040 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2042 2008-06-17 Dan Williams <dcbw@redhat.com>
2044 * libnm-glib/nm-vpn-plugin-ui-interface.c
2045 libnm-glib/nm-vpn-plugin-ui-interface.h
2046 - Add "desc" property for longer descriptions of the VPN plugin
2048 2008-06-16 Dan Williams <dcbw@redhat.com>
2051 libnm-glib/libnm_glib_vpn.pc.in
2052 - add a .pc file for libnm_glib_vpn
2054 * libnm-glib/nm-vpn-plugin-ui-interface.c
2055 libnm-glib/nm-vpn-plugin-ui-interface.h
2056 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2057 rework it substantially
2059 2008-06-12 Dan Williams <dcbw@redhat.com>
2061 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2062 and add error enums to each NMSetting subclass. Each NMSetting subclass now
2063 returns a descriptive GError when verification fails.
2065 2008-06-11 Dan Williams <dcbw@redhat.com>
2067 Patch from Tambet Ingo <tambet@gmail.com>
2069 * libnm-util/nm-setting-gsm.c
2070 - (verify): validate APN
2072 * src/nm-gsm-device.c
2073 - (manual_registration_done): start setting APN if needed
2074 - (set_apn, set_apn_done): set the APN
2075 - (do_dial): use the APN when dialing
2077 2008-06-11 Dan Williams <dcbw@redhat.com>
2079 * src/NetworkManagerSystem.c
2080 - (nm_system_device_set_ip4_route,
2081 nm_system_device_replace_default_ip4_route): check for the right
2082 return value from rtnl_route_add() to know when to add a gateway
2085 2008-06-11 Dan Williams <dcbw@redhat.com>
2087 * src/NetworkManagerPolicy.c
2088 - do_ipt_cmd -> do_cmd
2089 - (sharing_init): use do_cmd() instead of system()
2091 2008-06-10 Dan Williams <dcbw@redhat.com>
2093 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2094 and use "wifi" everwhere instead.
2096 2008-06-10 Dan Williams <dcbw@redhat.com>
2098 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2100 2008-06-10 Dan Williams <dcbw@redhat.com>
2102 Patch from Tambet Ingo <tambet@gmail.com>
2104 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2107 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2108 a signal to emit these changes over dbus.
2110 * src/Makefile.am: Genereate nm-serial-device-glue.
2112 * libnm-glib/nm-serial-device.[ch]: Implement.
2114 * libnm-glib/nm-cdma-device.[ch]
2115 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2117 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2119 * introspection/nm-device-serial.xml: Implement.
2121 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2123 * introspection/Makefile.am: Add nm-device-serial.xml.
2125 * include/NetworkManager.h: Add a DBus interface for serial device.
2127 2008-06-10 Dan Williams <dcbw@redhat.com>
2130 - Add TARGET_* define to config.h to distinguish distros
2132 * src/dhcp-manager/nm-dhcp-manager.c
2133 - (dhclient_run): use distro-specific path for dhclient config file
2135 2008-06-09 Dan Williams <dcbw@redhat.com>
2137 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2138 src/dnsmasq-manager/nm-dnsmasq-manager.h
2139 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2140 calculate the addresses passed to dnsmasq instead of hard-coding
2144 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2145 IP addresses for shared connections to guard against shared
2146 connection address collisions
2147 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2149 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2152 2008-06-09 Dan Williams <dcbw@redhat.com>
2154 * src/NetworkManagerPolicy.c
2155 - (update_routing_and_dns): set the default connection _after_ unsetting
2156 default on all non-default connections so that two connections can
2157 never be default at the same time
2158 - (device_state_changed): start and stop connection sharing when
2160 - (active_connection_default_changed): restart or stop sharing when
2161 the default connection changes to keep shared connections always
2162 NAT-ed through the default connection
2163 - (check_sharing): handle activation/deactivation of shared connections
2164 - (sharing_restart): atom-bomb approach to connection sharing until we
2165 can use libnl; reinit all sharing when the default connection or
2166 shared connections change
2167 - (sharing_init, sharing_stop): evil functions that init and deinit
2170 2008-06-09 Dan Williams <dcbw@redhat.com>
2172 * src/nm-activation-request.c
2173 src/nm-activation-request.h
2174 - (nm_act_request_set_shared, nm_act_request_get_shared,
2175 nm_act_request_get_device): new functions to facilitate connection
2178 2008-06-09 Dan Williams <dcbw@redhat.com>
2181 - (clear_act_request): unset the 'default' property of the activation
2182 request when clearing it to ensure the property changed signal gets
2183 delivered and handled
2185 2008-06-09 Dan Williams <dcbw@redhat.com>
2187 * libnm-glib/nm-device-802-11-wireless.c
2188 - (access_point_removed_proxy): actually unref the AP after removing
2189 it from the device's AP list. Fixes refcounting bug for APs that
2190 caused them to get mixed up in the applet's menu.
2192 2008-06-09 Tambet Ingo <tambet@gmail.com>
2194 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2195 (nm_dhcp_device_destroy): Destroy the device options hash table.
2197 2008-06-06 Dan Williams <dcbw@redhat.com>
2199 * system-settings/src/nm-polkit-helpers.c
2200 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2201 unref the context if the initialization fails; also avoid spew when
2204 2008-06-06 Dan Williams <dcbw@redhat.com>
2206 Patch from Tambet Ingo <tambet@gmail.com>
2208 * src/NetworkManagerSystem.c
2209 src/NetworkManagerSystem.h
2210 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2211 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2212 - (nm_system_device_set_ip4_route): clean up
2213 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2216 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2218 * src/vpn-manager/nm-vpn-connection.c
2219 - (ip_address_to_string): new function
2220 - (print_vpn_config): use ip_address_to_string
2221 - (merge_vpn_routes): add user-defined routes to the ip4 config
2222 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2224 * include/NetworkManagerVPN.h
2227 2008-06-05 Dan Williams <dcbw@redhat.com>
2229 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2232 - Show which device is the default device
2234 2008-06-05 Tambet Ingo <tambet@gmail.com>
2238 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2239 Free data returned from dbus method call.
2241 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2242 dbus_g_method_get_sender() returns a duplicated string, free it
2244 (check_polkit_privileges): Looks like policykit sometimes returns
2245 error and non-null return value, don't leak errors in that case.
2247 * system-settings/src/main.c (find_plugin): Don't leak existing
2249 (load_stuff): Don't leak device list and list items.
2250 (have_connection_for_device): Don't leak connection list.
2252 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2253 Free the data received from g_keyfile_get_*.
2255 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2256 the key when the security object is updated.
2258 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2259 Free data returned from dbus method call.
2260 (iface_state_cb): Ditto.
2261 (add_network_cb): Ditto.
2262 (nm_supplicant_interface_add_cb): Don't make another copy of already
2263 duplicated object path.
2264 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2267 * src/supplicant-manager/nm-supplicant-config.c
2268 (ADD_STRING_LIST_VAL): Fix a memory leak.
2270 * src/nm-manager.c (free_get_settings_info): Free the allocated
2272 (list_connections_cb): Free data returned from dbus method call.
2273 (system_settings_get_unmanaged_devices_cb): Ditto.
2275 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2277 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
2278 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
2279 * src/backends/shvar.c (svCloseFile): Free the duplicated content
2282 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2283 arguments after the object is created.
2285 2008-06-04 Dan Williams <dcbw@redhat.com>
2287 * libnm-util/Makefile.am
2288 - Don't distribute nm-param-spec-specialized.h
2290 2008-06-02 Tambet Ingo <tambet@gmail.com>
2292 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2294 * src/nm-ip4-config.[ch]: Store the static routes as a list of
2295 NMIP4Address, update the getters and setters.
2297 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2298 Use the updated NMIP4Config routes api.
2300 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2301 static routes as well.
2303 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2304 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2307 2008-05-30 Dan Williams <dcbw@redhat.com>
2309 * src/named-manager/nm-named-manager.c
2310 src/named-manager/nm-named-manager.h
2311 - Remove stale/obsolete bits for controlling bind over DBus
2313 2008-05-29 Dan Williams <dcbw@redhat.com>
2315 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2316 src/dnsmasq-manager/nm-dnsmasq-manager.h
2317 - (nm_dnsmasq_manager_new): move iface argument here
2318 - (constructor): remove, not needed
2319 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2320 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2323 - (real_act_stage4_get_ip4_config,
2324 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2327 2008-05-29 Dan Williams <dcbw@redhat.com>
2330 - (dnsmasq_state_changed_cb): new function; fail the connection if
2331 something happens to dnsmasq
2332 - (nm_device_new_ip4_shared_config): new function; create a new
2333 ip4-config for shared connections. Shared connections always use a
2334 fixed static IP address.
2335 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2336 autoip connections by actually using the returned ip4-config and
2338 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2340 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2343 2008-05-29 Dan Williams <dcbw@redhat.com>
2345 * src/nm-device-802-11-wireless.c
2346 - (real_get_best_auto_connection): auto-activate 'shared' method
2349 2008-05-29 Dan Williams <dcbw@redhat.com>
2351 * libnm-util/nm-setting-ip4-config.c
2352 libnm-util/nm-setting-ip4-config.h
2353 - Add a 'shared' method to indicate that this connection should be
2354 brought up with a DHCP and proxy DNS server to facilitate
2356 - (verify): 'shared' method doesn't allow DNS or searches either
2358 2008-05-29 Dan Williams <dcbw@redhat.com>
2362 src/dnsmasq-manager/Makefile.am
2363 src/dnsmasq-manager/nm-dnsmasq-manager.c
2364 src/dnsmasq-manager/nm-dnsmasq-manager.h
2365 - Add a dnsmasq daemon manager to facilitate connection sharing
2367 2008-05-29 Dan Williams <dcbw@redhat.com>
2369 * src/nm-device-private.h
2370 - Remove unused prototypes and clean up
2373 - Remove anything related to system_config_data, which is no longer used
2374 - (nm_device_new_ip4_autoip_config): make static
2376 2008-05-29 Tambet Ingo <tambet@gmail.com>
2378 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2379 (file_changed): Fix a bug where suse system settings plugin didn't
2380 update the connections automatically when the files changed.
2382 2008-05-28 Dan Williams <dcbw@redhat.com>
2384 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2386 2008-05-28 Dan Williams <dcbw@redhat.com>
2388 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2390 * src/NetworkManagerSystem.c
2391 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2392 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2393 was causing -EINVAL errors since the libnl code actually does flush
2394 the routes on VPN interfaces now
2396 * src/backends/NetworkManagerArch.c
2397 src/backends/NetworkManagerDebian.c
2398 src/backends/NetworkManagerFrugalware.c
2399 src/backends/NetworkManagerGeneric.c
2400 src/backends/NetworkManagerGentoo.c
2401 src/backends/NetworkManagerMandriva.c
2402 src/backends/NetworkManagerPaldo.c
2403 src/backends/NetworkManagerRedHat.c
2404 src/backends/NetworkManagerSlackware.c
2405 src/backends/NetworkManagerSuSE.c
2406 - (nm_system_device_flush_ip4_routes,
2407 nm_system_device_flush_ip4_routes_with_iface): remove
2409 2008-05-28 Dan Williams <dcbw@redhat.com>
2411 * libnm-util/nm-setting-wireless.c
2412 libnm-util/nm-setting-wireless.h
2413 - (set_property, get_property, nm_setting_wireless_class_init): add the
2414 'adhoc-create' property, which when TRUE indicates that NM should
2415 create this connection as an adhoc wifi network if it's not found
2416 as an adhoc network during scanning. Can be used to auto-create
2417 adhoc networks when used in combination with autoconnect.
2419 2008-05-28 Tambet Ingo <tambet@gmail.com>
2421 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2423 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2424 checked, it doesn't work on some devices.
2426 2008-05-28 Tambet Ingo <tambet@gmail.com>
2428 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
2429 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2431 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2432 Use inet_aton() everywhere to improve error detection.
2433 Don't fall back to 'dhcp_server_identifier' if the gateway is not
2436 2008-05-26 Tambet Ingo <tambet@gmail.com>
2438 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2441 2008-05-26 Tambet Ingo <tambet@gmail.com>
2443 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2444 reference counting issue.
2446 2008-05-23 Dan Williams <dcbw@redhat.com>
2448 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2450 * src/backends/NetworkManagerGeneric.c
2451 - (nm_generic_enable_loopback): use libnl
2453 2008-05-23 Dan Williams <dcbw@redhat.com>
2455 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2457 * src/NetworkManagerSystem.h
2458 src/backends/NetworkManagerArch.c
2459 src/backends/NetworkManagerDebian.c
2460 src/backends/NetworkManagerFrugalware.c
2461 src/backends/NetworkManagerGentoo.c
2462 src/backends/NetworkManagerMandriva.c
2463 src/backends/NetworkManagerPaldo.c
2464 src/backends/NetworkManagerRedHat.c
2465 src/backends/NetworkManagerSlackware.c
2466 src/backends/NetworkManagerSuSE.c
2467 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2468 nm_system_flush_arp_cache): remove, unused
2470 * src/backends/NetworkManagerGeneric.c
2471 src/backends/NetworkManagerGeneric.h
2472 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2473 nm_generic_flush_arp_cache): remove, unused
2475 2008-05-23 Dan Williams <dcbw@redhat.com>
2477 * system-settings/plugins/ifcfg-fedora/reader.c
2478 - (make_ip4_setting): honor PEERDNS setting
2480 2008-05-23 Dan Williams <dcbw@redhat.com>
2482 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2484 * src/NetworkManagerSystem.c
2485 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2488 * src/backends/NetworkManagerArch.c
2489 src/backends/NetworkManagerDebian.c
2490 src/backends/NetworkManagerFrugalware.c
2491 src/backends/NetworkManagerGentoo.c
2492 src/backends/NetworkManagerMandriva.c
2493 src/backends/NetworkManagerPaldo.c
2494 src/backends/NetworkManagerRedHat.c
2495 src/backends/NetworkManagerSlackware.c
2496 src/backends/NetworkManagerSuSE.c
2497 - (nm_system_device_flush_ip4_addresses,
2498 nm_system_device_flush_ip4_addresses_with_iface): remove
2500 * src/backends/NetworkManagerGeneric.c
2501 - (nm_generic_device_flush_ip4_addresses,
2502 nm_generic_device_flush_ip4_addresses_with_iface): remove
2504 2008-05-23 Dan Williams <dcbw@redhat.com>
2506 * src/supplicant-manager/nm-supplicant-settings-verify.c
2507 - Switch 'bssid' from bytes to keyword type
2508 - (validate_type_keyword): allow NULL keyword lists
2510 * src/supplicant-manager/nm-supplicant-config.c
2511 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2512 a byte array to string form, which is what the supplicant expects
2514 2008-05-23 Tambet Ingo <tambet@gmail.com>
2516 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2517 information received from DHCP.
2519 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2520 to make it possible to ignore the DNS information (both servers and
2521 searches) returned by DHCP server.
2523 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2524 name servers and searches if "ignore_dhcp_dns" is set.
2526 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2527 (nm_ip4_config_reset_searches): Implement.
2529 2008-05-22 Dan Williams <dcbw@redhat.com>
2531 Remove anything mDNS related. This is better done from a distro-specific
2532 dispatcher script. Plus, any distro using avahi doesn't need to restart
2533 avahi, since avahi can handle interface changes just fine using netlink.
2536 - Remove --with-mdns-provider
2538 * src/NetworkManagerPolicy.c
2539 - (global_state_changed): don't restart the mdns provider
2541 * src/NetworkManagerSystem.h
2542 src/backends/NetworkManagerArch.c
2543 src/backends/NetworkManagerDebian.c
2544 src/backends/NetworkManagerFrugalware.c
2545 src/backends/NetworkManagerGentoo.c
2546 src/backends/NetworkManagerMandriva.c
2547 src/backends/NetworkManagerPaldo.c
2548 src/backends/NetworkManagerRedHat.c
2549 src/backends/NetworkManagerSlackware.c
2550 src/backends/NetworkManagerSuSE.c
2551 - (nm_system_restart_mdns_responder): remove
2553 * src/backends/NetworkManagerGeneric.c
2554 src/backends/NetworkManagerGeneric.h
2555 - (nm_generic_restart_mdns_responder): remove
2557 2008-05-22 Dan Williams <dcbw@redhat.com>
2560 - clean up crypto options; just use --with-crypto=nss or
2561 --with-crypto=gnutls
2563 2008-05-22 Tambet Ingo <tambet@gmail.com>
2565 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2566 anymore, do it right away.
2568 2008-05-22 Tambet Ingo <tambet@gmail.com>
2570 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2571 serial device open when we're not connecting or connected.
2573 * src/nm-cdma-device.c (device_state_changed): Ditto.
2575 2008-05-22 Tambet Ingo <tambet@gmail.com>
2577 Don't remove all devices on waking up, sync with HAL.
2579 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2580 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2581 (hal_manager_hal_reappeared_cb): Just call sync_devices.
2583 2008-05-21 Tambet Ingo <tambet@gmail.com>
2585 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2586 If the default gateway is unreachable, add a route to gateway and try
2589 2008-05-20 Dan Williams <dcbw@redhat.com>
2591 * system-settings/plugins/ifcfg-fedora/reader.c
2592 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2594 2008-05-19 Dan Williams <dcbw@redhat.com>
2596 * system-settings/plugins/ifcfg-fedora/reader.c
2597 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2598 if the ifcfg doesn't specify one (rh #446527)
2600 2008-05-19 Dan Williams <dcbw@redhat.com>
2602 Make the system settings service exit when the bus goes away. Since it's
2603 a bus-activated service, it's lifetime is limited to the bus that activated
2606 * system-settings/src/Makefile.am
2607 system-settings/src/nm-system-config-hal-manager-private.h
2608 - Remove nm-system-config-hal-manager-private.h
2610 * system-settings/src/nm-system-config-hal-manager.c
2611 - (nm_system_config_hal_manager_reinit_dbus,
2612 nm_system_config_hal_manager_deinit_dbus): remove
2614 * system-settings/src/main.c
2615 - (dbus_reconnect): remove
2616 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2617 - (destroy_cb): just quit when the bus goes away
2618 - (start_dbus_service, dbus_init): simplify
2619 - (main): destroy the wired devices hash table after destroying
2620 the HAL manager so we don't have to disconnect signals from the
2623 2008-05-15 Tambet Ingo <tambet@gmail.com>
2625 Move crypto functions from nm-applet to libnm-util.
2627 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2628 (nm_setting_802_1x_set_client_cert)
2629 (nm_setting_802_1x_set_phase2_ca_cert)
2630 (nm_setting_802_1x_set_phase2_client_cert)
2631 (nm_setting_802_1x_set_private_key)
2632 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2633 file (or private key and it's password), read the certificate data.
2635 * libnm-util/crypto_nss.c:
2636 * libnm-util/crypto_gnutls.c:
2637 * libnm-util/crypto.[ch]: Move here from nm-applet.
2639 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2641 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2642 Imlement WPA-EAP configuration reading from sysconfig.
2644 2008-05-16 Dan Williams <dcbw@redhat.com>
2646 * src/nm-device-802-11-wireless.c
2647 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2650 2008-05-14 Dan Williams <dcbw@redhat.com>
2652 Fix Linus' bug in rh #134886
2654 * src/nm-device-802-3-ethernet.c
2655 - (constructor): request initial carrier state
2657 * src/nm-netlink-monitor.c
2658 - (nm_netlink_monitor_request_status): schedule emission of carrier
2659 signals after refilling the link cache. Because the refill is a
2660 synchronous operation, the normal message hander won't get called
2661 since libnl has already consumed the messages.
2662 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2664 2008-05-14 Dan Williams <dcbw@redhat.com>
2666 * src/NetworkManagerSystem.c
2667 - (nm_system_device_is_up_with_iface): clean up
2669 2008-05-13 Dan Williams <dcbw@redhat.com>
2671 Fix refcounting issues over sleep/wake when a VPN connection was active that
2672 caused NM to try registering an object path for a device upon wake that was
2673 the same as an already registered object path.
2676 - (nm_device_take_down): properly handle cases where the device is
2677 no longer active but was just active, and therefore must be
2678 deactivated. When a device moves to unmanaged mode, this function
2679 previously would not deactivate the device, because the state was
2680 already unmanaged by the time this function was called.
2682 * src/vpn-manager/nm-vpn-connection.c
2683 - (device_state_changed): properly handle multiple devices states in
2684 which the device is now deactivated. Code previously didn't handle
2685 transitions to the UNAVAILABLE (like rfkill or carrier off) and
2688 2008-05-13 Dan Williams <dcbw@redhat.com>
2690 * src/nm-device-private.h
2692 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2694 * src/nm-device-802-11-wireless.c
2695 - (nm_device_802_11_wireless_set_enabled): take devices up
2696 and down as appropriate for the rfkill state
2698 2008-05-13 Dan Williams <dcbw@redhat.com>
2700 * marshallers/nm-marshal.list
2701 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2703 * system-settings/plugins/ifcfg-fedora/Makefile.am
2704 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2705 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2706 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2707 events. Solely for use watching ifcfg files to pick up changes
2708 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2710 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2711 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2712 file contents change
2713 - (finalize): clean up inotify watches
2714 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2715 and the connection ifcfg for changes on their hardlinks
2716 - (files_changed_cb): proxy the changed signal back out to listeners
2718 * system-settings/plugins/ifcfg-fedora/plugin.c
2720 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2722 - (read_one_connection): connect to change signals on the new connection
2723 - (dir_changed, connection_changed_handler,
2724 handle_connection_remove_or_new): break out connection change
2725 handling and connection new/remove handling so it can be used from
2726 both the GFileMonitor callback and the NMIfcfgConnection changed
2729 * system-settings/plugins/ifcfg-fedora/reader.c
2730 system-settings/plugins/ifcfg-fedora/reader.h
2731 - (connection_from_file): return the keyfile path the connection would use
2733 2008-05-13 Tambet Ingo <tambet@gmail.com>
2735 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
2736 single PolKitContext which is shared by all. PolKitContext::unref leaks
2737 just about everything, including all open file descriptiors and results
2738 in 99% cpu usage when data arrives to any of the fds that don't belong
2739 to any context anymore.
2741 2008-05-12 Dan Williams <dcbw@redhat.com>
2743 * gfilemonitor/glocaldirectorymonitor.c
2744 gfilemonitor/glocaldirectorymonitor.h
2745 - (g_local_directory_monitor_constructor): actually subscribe to the
2747 - (_g_local_directory_monitor_new): ensure that inotify is started up
2749 * gfilemonitor/glocalfilemonitor.c
2750 gfilemonitor/glocalfilemonitor.h
2751 - (g_local_file_monitor_constructor): actually subscribe to the watch
2752 - (_g_local_file_monitor_new): ensure that inotify is started up
2754 2008-05-11 Dan Williams <dcbw@redhat.com>
2757 - record PolicyKit version
2759 * system-settings/src/nm-polkit-helpers.c
2760 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2761 with PolicyKit <= 0.6
2763 2008-05-11 Dan Williams <dcbw@redhat.com>
2765 Update Fedora system-settings plugin to support latest API and use
2766 GFileMonitor rather than home-rolled inotify code.
2768 * system-settings/plugins/ifcfg-fedora/Makefile.am
2769 system-settings/plugins/ifcfg-fedora/common.h
2770 system-settings/plugins/ifcfg-fedora/plugin.c
2771 - Update to latest system settings plugin API; use GIO instead of
2772 custom inotify code; use NMIfcfgConnection objects instead of
2773 ConnectionData structures tacked onto NMConnection objects
2775 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2776 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2777 - Implement an NMExportedConnection subclass mapping ifcfg files to
2780 * system-settings/plugins/ifcfg-fedora/reader.c
2781 system-settings/plugins/ifcfg-fedora/reader.h
2782 - Move ifcfg parsing bits here from parser.c
2784 * system-settings/plugins/ifcfg-fedora/parser.c
2785 system-settings/plugins/ifcfg-fedora/parser.h
2786 - Remove; most code moved to reader.c
2788 2008-05-11 Dan Williams <dcbw@redhat.com>
2793 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
2794 implementation, so that the same change monitoring code can be used
2795 on systems without glib-2.14 (like Fedora 8)
2797 * system-settings/plugins/keyfile/Makefile.am
2798 system-settings/plugins/keyfile/plugin.c
2799 system-settings/plugins/ifcfg-suse/Makefile.am
2800 system-settings/plugins/ifcfg-suse/plugin.c
2801 - Use private gfilemonitor code if GIO is not present
2803 2008-05-09 Tambet Ingo <tambet@gmail.com>
2805 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
2806 NMExportedConnection's 'update' and 'delete' and return error with
2807 descriptive message.
2809 2008-05-08 Dan Williams <dcbw@redhat.com>
2811 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2813 * src/nm-gsm-device.c
2814 src/nm-cdma-device.c
2815 - (real_get_best_auto_connection): implement; allow autoconnection
2816 to GSM & CDMA devices
2818 2008-05-08 Tambet Ingo <tambet@gmail.com>
2820 Use PolicyKit to authorize the system settings' AddConnection method
2821 and the system settings connections' Update and Delete methods.
2823 * libnm-glib/nm-settings.c (impl_exported_connection_update)
2824 (impl_exported_connection_delete, nm_exported_connection_update)
2825 (nm_exported_connection_delete): Return boolean and fill GError
2826 to notify the callers of the reasons why it might have failed.
2828 * libnm-glib/nm-dbus-settings-system.c
2829 (nm_dbus_settings_system_add_connection): Return the error from dbus
2830 call so that the callers can see why it failed.
2832 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
2835 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
2837 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
2838 abstract base class that checks PolicyKit permissions.
2840 * system-settings/src/dbus-settings.c:
2841 (impl_settings_add_connection): Check the policy before carring out
2844 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
2845 Inherit from NMSysconfigConnection, check the policies before
2846 allowing updating or removing.
2848 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
2849 Inherit from NMSysconfigConnection.
2851 * introspection/nm-exported-connection.xml: Annotate "Update" and
2852 "Delete" methods with async flag so that the implementations can get
2853 access to DBusGMethodInvocation.
2855 * system-settings/src/dbus-settings.c
2856 (settings_add_connection_check_privileges): Implement.
2857 (impl_settings_add_connection): Check the privileges before adding a new
2858 connection. Improve error reporting.
2860 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
2861 async so that the implementation can access DBusGMethodInvocation.
2863 * configure.in: Check for PolicyKit.
2865 * policy/org.freedesktop.network-manager-settings.system.policy:
2868 * policy/Makefile.am: Install the policy file.
2870 * configure.in: Add 'policy' subdir.
2872 2008-05-08 Tambet Ingo <tambet@gmail.com>
2874 Rewrite the suse system settings plugin.
2876 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
2878 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
2880 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
2882 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
2884 * system-settings/src/dbus-settings.c: Fix connection reference counting.
2886 * system-settings/src/main.c (load_plugins): Improve error reporting.
2888 * system-settings/src/sha1.[ch] Add.
2890 * system-settings/src/Makefile.am: Add sha1[ch] to build.
2892 2008-05-07 Dan Williams <dcbw@redhat.com>
2894 * system-settings/plugins/keyfile/reader.c
2895 - (read_one_setting_value): handle IP address items separately
2896 - (read_array_of_uint): read IPv4 DNS option as a string array
2897 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
2900 * system-settings/plugins/keyfile/writer.c
2901 - (write_setting_value): handle IP address items separately
2902 - (write_array_of_uint): handle IPv4 DNS option as a string array,
2903 not an array of uint, so that it's user-editable
2904 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
2905 arrays, so they are user-editable
2907 2008-05-07 Dan Williams <dcbw@redhat.com>
2909 * system-settings/plugins/keyfile/Makefile.am
2910 - Change location of the keyfile plugin settings to
2911 /etc/NetworkManager/system-connections
2913 2008-05-05 Tambet Ingo <tambet@gmail.com>
2915 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
2917 * system-settings/plugins/keyfile/plugin.c: Work with
2918 NMKeyfileConnections.
2920 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
2921 Plugins are supposed to return NMExportedConnections now and handle the
2922 updated(), removed(), and GetSecrets().
2923 Store the internal list of connections in hash table to make it easier
2926 2008-05-07 Tambet Ingo <tambet@gmail.com>
2928 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
2929 for multiple IP addresses.
2931 2008-05-07 Tambet Ingo <tambet@gmail.com>
2933 Patch from André Lemos.
2935 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
2938 2008-05-06 Dan Williams <dcbw@redhat.com>
2940 * src/dhcp-manager/nm-dhcp-manager.c
2941 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
2942 NMIP4Config to support multiple IP addresses
2944 * src/NetworkManagerUtils.c
2945 - (nm_utils_merge_ip4_config): update for multiple IP addresses
2947 * src/nm-ip4-config.c
2949 - Store a list of IPv4 address/netmask/gateway tuples
2950 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
2951 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
2952 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
2953 nm_ip4_config_set_address): remove
2954 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
2955 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
2956 new functions; handle multiple IPv4 addresses
2959 src/ppp-manager/nm-ppp-manager.c
2960 src/vpn-manager/nm-vpn-connection.c
2961 src/NetworkManagerPolicy.c
2963 libnm-glib/libnm-glib-test.c
2964 - update for changes to NMIP4Config for multiple IPv4 addresses
2966 * src/NetworkManagerSystem.c
2967 - (nm_system_device_set_ip4_route): don't add the route if any address
2968 is on the same subnet as the destination
2969 - (check_one_address): ignore the exact match, just match family and
2971 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
2973 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
2974 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
2976 * introspection/nm-ip4-config.xml
2977 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
2978 - Add 'addresses' property which is an array of (uuu) tuples of
2979 address/netmask/gateway
2981 * libnm-util/nm-setting-ip4-config.c
2982 - (set_property): use ip-address <-> GValue converters from nm-utils.c
2984 * libnm-glib/nm-ip4-config.c
2985 libnm-glib/nm-ip4-config.h
2986 - Handle D-Bus interface changes to support multiple IP addresses
2988 2008-05-06 Dan Williams <dcbw@redhat.com>
2990 * libnm-util/nm-utils.c
2991 libnm-util/nm-utils.h
2992 - (nm_utils_ip4_addresses_from_gvalue,
2993 nm_utils_ip4_addresses_to_gvalue): new functions
2995 2008-05-06 Tambet Ingo <tambet@gmail.com>
2997 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
2998 the returned connection paths.
3000 2008-05-05 Tambet Ingo <tambet@gmail.com>
3002 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
3003 "PropertiesChanged" signal signature.
3005 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3006 defined in nm-dbus-glib-types.h.
3007 Don't register the connection on dbus, we're a proxy class to
3008 communicate with an already registered connection over dbus.
3010 2008-04-30 Tambet Ingo <tambet@gmail.com>
3012 Implement new subclasses of NMSettings and NMExportedConnection to make
3013 it easier for the applet to access and modify system settings.
3015 * libnm-glib/nm-dbus-connection.[ch]:
3016 * libnm-glib/nm-dbus-settings.[ch]:
3017 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3019 * libnm-glib/Makefile.am: Add the new files to build, generate some more
3022 * include/NetworkManager.h: Define the system settings DBus interface.
3024 2008-04-30 Tambet Ingo <tambet@gmail.com>
3026 Implement additional C API for exported connections to make them identical
3027 with the DBus API. Change the (list_connections) virtual function to be
3028 more usable from C - instead of requiring implementers to return a GPtrArray
3029 of dbus paths, return a list of connections.
3031 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3032 (nm_settings_list_connections):
3033 (nm_exported_connection_new):
3034 (nm_exported_connection_update):
3035 (nm_exported_connection_delete): Implement.
3037 (impl_settings_list_connections):
3038 (impl_exported_connection_update):
3039 (impl_exported_connection_delete): Use the new public functions to make
3040 sure the C and dbus interfaces stay in sync.
3042 * system-settings/src/dbus-settings.c (list_connections): Return a list of
3045 2008-05-02 Dan Williams <dcbw@redhat.com>
3047 * system-settings/plugins/ifcfg-fedora/plugin.c
3048 - (dispose): use right unref call on the DBusGConnection
3050 2008-05-02 Dan Williams <dcbw@redhat.com>
3052 * src/nm-serial-device.c
3053 - (find_terminator): don't compare the whole line, just the size of the
3054 terminator, since some modems put stuff after the terminator, like
3057 2008-05-01 Dan Williams <dcbw@redhat.com>
3059 Patch from Michael Biebl <biebl@debian.org>
3061 * callouts/Makefile.am
3062 callouts/org.freedesktop.nm_dispatcher.service.in
3063 system-settings/src/Makefile.am
3064 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3065 - use the right install location for dbus-activated stuff
3067 2008-04-30 Dan Williams <dcbw@redhat.com>
3069 * src/nm-gsm-device.c
3070 - (enter_pin): fix setting name passed to applets when asking for a GSM
3073 2008-04-30 Dan Williams <dcbw@redhat.com>
3076 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3078 2008-04-30 Dan Williams <dcbw@redhat.com>
3080 * src/nm-device-802-3-ethernet.c
3081 src/nm-device-802-11-wireless.c
3082 - (real_is_up): return true instead of chaining up to unimplemented
3085 2008-04-30 Dan Williams <dcbw@redhat.com>
3087 * src/NetworkManagerSystem.c
3088 src/NetworkManagerSystem.h
3089 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3090 functions to check device flags for IFF_UP
3092 * src/nm-serial-device.c
3093 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3096 * src/nm-device-802-3-ethernet.c
3097 src/nm-device-802-11-wireless.c
3098 - (real_hw_is_up): call nm_system_device_is_up()
3101 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3102 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3105 2008-04-29 Dan Williams <dcbw@redhat.com>
3107 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3109 * marshallers/nm-marshal.list
3112 * src/NetworkManager.c
3113 - (main): let the NMManager handle the NMHalManager
3115 * src/nm-hal-manager.c
3116 src/nm-hal-manager.h
3117 - convert to a GObject, and emit singals when stuff changes. Let the
3118 NMManager handle the signals, instead of the NMHalManager calling
3123 - (remove_one_device): consolidate device removals here
3124 - (dispose): use remove_one_device()
3125 - (nm_manager_get_device_by_udi): make static
3126 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3127 manager for devices at startup or wakeup time
3128 - (nm_manager_new): create and monitor the HAL manager
3129 - (hal_manager_udi_added_cb): new function; do what
3130 nm_manager_add_device() used to do when signalled by the hal manager
3131 - (hal_manager_udi_removed_cb): new function; do what
3132 nm_manager_remove_device() used to do when signalled by the hal
3134 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3136 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3137 in our device list that aren't known to HAL
3138 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3139 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3141 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3142 nm_manager_activation_pending, nm_manager_wireless_enabled,
3143 nm_manager_wireless_hardware_enabled,
3144 nm_manager_set_wireless_hardware_enabled): remove, unused
3146 2008-04-28 Dan Williams <dcbw@redhat.com>
3148 Fix the device up/down ambiguities. Up/down state used to be a
3149 conglomeration of hardware state (IFF_UP) and any device-specific things
3150 (supplicant, periodic timers, etc) that the device used to indicate
3151 readiness. Unfortunately, if the hardware was already IFF_UP for some
3152 reason, then the device specific stuff wouldn't get run, and the device
3157 - Create hw_is_up, hw_bring_up, and hw_take_down
3158 - Rename bring_down -> take_down
3159 - (real_hw_is_up): check interface flags for IFF_UP
3160 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3161 - (nm_device_is_up): make static; only used locally
3162 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3163 if the device is already up; if the device isn't up, bring it up
3164 - (nm_device_hw_take_down): just take down hardware
3165 - (nm_device_bring_up): bring up HW first, then device specific stuff
3166 - (nm_device_take_down): always deactivate device when called; always
3167 try to take hardware down too
3168 - (nm_device_state_changed): take device down when entering unmanaged
3169 state from a higher state
3171 * src/nm-device-802-11-wireless.c
3172 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3174 - (real_take_down, supplicant_iface_state_cb_handler,
3175 supplicant_iface_connection_state_cb_handler,
3176 supplicant_mgr_state_cb_handler): fix some messages
3178 * src/nm-device-802-3-ethernet.c
3179 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3182 2008-04-28 Dan Williams <dcbw@redhat.com>
3186 - (nm_manager_error_get_type): add new error
3187 - (nm_manager_remove_device): don't bother taking down the device here,
3188 the state change from unmanaging the device will do it
3189 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3190 uses it; when going to sleep, just unmanage the device instead of
3191 taking it down, because stuff will cleaned up correctly when the
3192 device gets unmanaged
3194 2008-04-28 Dan Williams <dcbw@redhat.com>
3196 * src/nm-hal-manager.c
3197 - (add_initial_devices): convert to a GSourceFunc prototype
3198 - (nm_manager_state_changed): when coming out of sleep, punt the
3199 device re-addition to an idle handler to let D-Bus events go out
3200 first, fixing a potential dbus-glib assert if the old device was
3201 not yet disposed (due to references held while emitting the D-Bus
3202 signals) but the new device was found, because the mainloop didn't
3203 run between signal emission and add_initial_devices()
3205 2008-04-27 Dan Williams <dcbw@redhat.com>
3207 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3209 * initscript/paldo/NetworkManager.in
3210 initscript/SUSE/networkmanager.in
3211 - Remove last bits of dhcdbd
3213 2008-04-27 Dan Williams <dcbw@redhat.com>
3215 * src/nm-device-802-11-wireless.c
3216 - (link_timeout_cb): don't ask for secrets when disconnected during
3217 association/authentication phase, drivers are still just too crappy
3219 2008-04-27 Dan Williams <dcbw@redhat.com>
3223 dispatcher-daemon/Makefile.am
3224 dispatcher-daemon/NetworkManagerDispatcher.c
3225 initscript/Arch/Makefile.am
3226 initscript/Arch/networkmanager-dispatcher.in
3227 initscript/Gentoo/Makefile.am
3228 initscript/Gentoo/NetworkManagerDispatcher.in
3229 initscript/Mandriva/Makefile.am
3230 initscript/Mandriva/networkmanagerdispatcher.in
3231 initscript/RedHat/Makefile.am
3232 initscript/RedHat/NetworkManagerDispatcher.in
3233 initscript/SUSE/Makefile.am
3234 initscript/SUSE/networkmanager-dispatcher.in
3235 initscript/Slackware/Makefile.am
3236 initscript/Slackware/rc.networkmanager-dispatcher.in
3237 initscript/paldo/Makefile.am
3238 initscript/paldo/NetworkManagerDispatcher.in
3240 man/NetworkManagerDispatcher.8.in
3241 - Remove the dispatcher daemon
3243 2008-04-27 Dan Williams <dcbw@redhat.com>
3245 * callouts/Makefile.am
3246 callouts/nm-dispatcher-action.c
3247 callouts/nm-dispatcher-action.h
3248 callouts/nm-dispatcher.conf
3249 callouts/nm-dispatcher.xml
3250 callouts/org.freedesktop.nm_dispatcher.service
3251 - Re-implement the dispatcher as a system-bus activated service that
3252 NM calls on-demand, rather than an always running daemon
3255 - Add callouts dir to includes to pick up dispatcher defines
3258 - (nm_device_state_changed): call dispatcher on device activated/
3261 * src/vpn-manager/nm-vpn-connection.c
3262 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3265 * src/NetworkManagerUtils.c
3266 src/NetworkManagerUtils.h
3267 - (nm_utils_call_dispatcher): helper to call dispatcher
3269 2008-04-27 Dan Williams <dcbw@redhat.com>
3271 * src/NetworkManagerUtils.c
3272 src/NetworkManagerUtils.h
3273 - remove unneeded includes
3274 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3275 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3276 nm_timeval_cmp, nm_timeval_add): remove, unused
3277 - clean up formatting
3278 - (nm_spawn_process): de-uglify
3280 * src/nm-device-802-11-wireless.c
3281 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3283 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
3285 * initscript/Gentoo/NetworkManager.in:
3286 Fix for starting the daemon.
3288 2008-04-25 Dan Williams <dcbw@redhat.com>
3290 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3292 * src/NetworkManagerSystem.c
3293 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3295 2008-04-25 Dan Williams <dcbw@redhat.com>
3297 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3299 * src/NetworkManagerSystem.c
3300 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3301 implementation of nm_system_device_replace_default_route()
3303 * src/NetworkManagerPolicy.c
3304 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3306 * src/backends/NetworkManagerArch.c
3307 src/backends/NetworkManagerDebian.c
3308 src/backends/NetworkManagerFrugalware.c
3309 src/backends/NetworkManagerGeneric.c
3310 src/backends/NetworkManagerGeneric.h
3311 src/backends/NetworkManagerGentoo.c
3312 src/backends/NetworkManagerMandriva.c
3313 src/backends/NetworkManagerPaldo.c
3314 src/backends/NetworkManagerRedHat.c
3315 src/backends/NetworkManagerSlackware.c
3316 src/backends/NetworkManagerSuSE.c
3317 - (nm_system_device_replace_default_route): remove
3319 2008-04-25 Dan Williams <dcbw@redhat.com>
3321 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3323 * src/NetworkManagerSystem.c
3324 - (validate_ip4_route): remove; use nl_addr_parse() instead
3325 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3326 replace nm_system_device_add_route_via_device_with_iface() in the
3329 * src/backends/NetworkManagerArch.c
3330 src/backends/NetworkManagerDebian.c
3331 src/backends/NetworkManagerFrugalware.c
3332 src/backends/NetworkManagerGeneric.c
3333 src/backends/NetworkManagerGeneric.h
3334 src/backends/NetworkManagerGentoo.c
3335 src/backends/NetworkManagerMandriva.c
3336 src/backends/NetworkManagerPaldo.c
3337 src/backends/NetworkManagerRedHat.c
3338 src/backends/NetworkManagerSlackware.c
3339 src/backends/NetworkManagerSuSE.c
3340 - Remove nm_system_device_add_route_via_device_with_iface()
3342 2008-04-25 Dan Williams <dcbw@redhat.com>
3344 * system-settings/plugins/ifcfg-fedora/parser.c
3345 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3347 2008-04-24 Dan Williams <dcbw@redhat.com>
3349 * dispatcher-daemon/NetworkManagerDispatcher.c
3350 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3352 2008-04-24 Dan Williams <dcbw@redhat.com>
3354 * initscript/RedHat/NetworkManager.in
3355 initscript/RedHat/NetworkManagerDispatcher.in
3356 - Be active at runlevel 2
3357 - Adjust priorities earlier
3359 2008-04-22 Dan Williams <dcbw@redhat.com>
3361 * src/NetworkManagerPolicy.c
3362 - (update_routing_and_dns): when checking for a gateway, look at the
3363 composite IP4 config, not the connection's ip4-config setting, which
3364 doesn't include DHCP-returned information
3366 2008-04-22 Tambet Ingo <tambet@gmail.com>
3368 Implement GKeyFile system settings plugin.
3369 Implement writing system settings (currently supported only by GKeyFile plugin).
3371 * system-settings/src/main.c:
3372 * system-settings/src/dbus-settings.c: Move the communication with plugins
3373 from main.c to dbus-settings.c. Makes it possible to talk to all registered
3374 plugins for adding/updating/removing connections.
3376 * system-settings/src/nm-system-config-interface.c
3377 (nm_system_config_interface_add_connection): Implement
3378 (nm_system_config_interface_update_connection): Implement.
3379 (nm_system_config_interface_remove_connection): Implement.
3381 * system-settings/plugins/keyfile/Makefile.am:
3382 * system-settings/plugins/keyfile/plugin.[ch]:
3383 * system-settings/plugins/keyfile/writer.[ch]:
3384 * system-settings/plugins/keyfile/reader.[ch]: Implement.
3386 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3388 * configure.in: Generate GKeyFile Makefile.
3390 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3391 corruption, need to duplicate the returned string.
3392 (impl_exported_connection_update): Implement.
3393 (impl_exported_connection_delete): Implement.
3395 * introspection/nm-settings-system.xml: Add "AddConnection" method.
3397 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3399 2008-04-22 Dan Williams <dcbw@redhat.com>
3401 Patch from Charles R. Anderson (cra@wpi.edu)
3403 * src/NetworkManagerPolicy.c
3404 - (update_routing_and_dns): don't select devices without a gateway
3405 as having the default route (rh #437338)
3407 2008-04-21 Dan Williams <dcbw@redhat.com>
3409 * src/nm-activation-request.c
3410 src/nm-activation-request.h
3411 - (dispose): ensure to disconnect from the device's state-changed signal
3412 when appropriate so the signal doesn't get handled by an already
3413 disposed NMActRequest
3414 - (device_state_changed): update is_default here too just to make sure
3415 default is only True when the child device is activated
3416 - (nm_act_request_set_default): new function
3418 * src/NetworkManagerPolicy.c
3419 - (update_routing_and_dns): set 'default' on the active connection which
3420 has the default route and DNS
3422 2008-04-21 Dan Williams <dcbw@redhat.com>
3424 * src/NetworkManagerPolicy.c
3425 - (device_state_changed): update routing and DNS when a device goes
3426 into unmanaged or unavailable states too (like rfkill or carrier loss)
3428 2008-04-21 Dan Williams <dcbw@redhat.com>
3430 * include/NetworkManager.h
3431 - Add NMActiveConnectionState enum
3433 * introspection/nm-active-connection.xml
3434 introspection/nm-vpn-connection.xml
3435 - Add 'State' property for overall active connection state
3436 - Add 'Default' property, when True means this active connection
3437 has the default route
3438 - Add PropertyChanged signals so changes actually go out over the bus
3440 * src/nm-active-connection.h
3441 - Add defines for State & Default properties
3443 * src/nm-activation-request.c
3444 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3445 signal to determine active connection state
3447 * src/vpn-manager/nm-vpn-connection.c
3448 src/vpn-manager/nm-vpn-connection.h
3449 src/vpn-manager/nm-vpn-manager.c
3450 src/vpn-manager/nm-vpn-service.c
3451 - Rename old 'state' to 'vpn-state'
3452 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3453 - Add 'state' and 'default' properties, hook up to the vpn connection's
3454 'vpn-state-changed' signal
3456 * libnm-glib/nm-active-connection.c
3457 libnm-glib/nm-active-connection.h
3458 - Add new 'state' and 'default' properties and accessors
3460 * libnm-glib/nm-vpn-connection.c
3461 libnm-glib/nm-vpn-connection.h
3462 - Rename old 'state' property to 'vpn-state'
3463 - Add new 'state' and 'default' properties and accessors
3465 2008-04-21 Dan Williams <dcbw@redhat.com>
3467 * src/nm-ip4-config.c
3468 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3469 not specified (rh #443474)
3471 2008-04-20 Dan Williams <dcbw@redhat.com>
3473 * src/NetworkManagerUtils.c
3474 src/NetworkManagerUtils.h
3475 - (nm_utils_merge_ip4_config): new function; merge settings from an
3476 NMSettingIP4Config to an NMIP4Config object
3479 - (merge_ip4_config): move to NetworkManagerUtils.c
3481 * src/vpn-manager/nm-vpn-connection.c
3482 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3485 2008-04-18 Dan Williams <dcbw@redhat.com>
3487 * libnm-util/nm-setting-ppp.c
3488 libnm-util/nm-setting-ppp.h
3489 - Add 'no-vj-comp' option for TCP header compression
3490 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3493 2008-04-18 Dan Williams <dcbw@redhat.com>
3495 * libnm-util/nm-setting-ppp.c
3496 libnm-util/nm-setting-ppp.h
3497 src/ppp-manager/nm-ppp-manager.c
3498 - Add 'refuse-pap' and 'refuse-mschapv2' options
3500 2008-04-18 Dan Williams <dcbw@redhat.com>
3502 * libnm-util/nm-setting-ppp.c
3503 libnm-util/nm-setting-ppp.h
3504 src/ppp-manager/nm-ppp-manager.c
3505 - Remove the 'usepeerdns' option and always request DNS servers from
3506 the PPP server; the connection chooses to use/override/ignore the
3507 DNS servers returned from the PPP server
3509 2008-04-18 Dan Williams <dcbw@redhat.com>
3511 * libnm-util/nm-setting-ppp.c
3512 libnm-util/nm-setting-ppp.h
3513 src/ppp-manager/nm-ppp-manager.c
3514 - Remove the 'require-mppc' option, because pppd doesn't support it and
3515 it seems to have been an erroneous addition to the PPTP plugin in
3516 the first place (from which the ppp-manager is derived)
3518 2008-04-17 Dan Williams <dcbw@redhat.com>
3520 * libnm-util/nm-setting-pppoe.c
3521 - (verify): require a PPP setting too
3523 * src/ppp-manager/nm-ppp-manager.c
3524 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3527 2008-04-17 Dan Williams <dcbw@redhat.com>
3530 - (nm_device_state_changed): do deactivation and and promotion to
3531 unavailable here, so that the device gets cleaned up before the
3532 manager runs and starts emitting signals; do the
3533 FAILED->DISCONNECTED transition from an idle handler rather than
3534 immediately to guard against recursion
3535 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3536 FAILED->DISCONNECTED handler if it's scheduled
3538 2008-04-17 Dan Williams <dcbw@redhat.com>
3540 * src/nm-device-802-11-wireless.c
3541 - (state_changed_cb): clear AP list when device transitions to
3542 unavailable or unmanaged
3543 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3544 since this is already done in device_cleanup()
3545 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3546 isn't available or managed
3547 - (device_cleanup): use remove_all_aps()
3548 - (remove_all_aps): consolidate code removing all APs
3550 2008-04-17 Dan Williams <dcbw@redhat.com>
3552 * src/nm-serial-device.c
3553 src/nm-serial-device.h
3554 - (wait_for_reply_got_data): break input into lines, and search each
3555 line for responses _and_ terminator strings; also make sure that
3556 the read loop doesn't continue after the timeout is supposed to fire
3557 - (nm_serial_device_wait_for_reply): take an array of terminators too
3559 * src/nm-gsm-device.c
3560 src/nm-cdma-device.c
3561 - Send terminators to nm_serial_device_wait_for_reply()
3563 2008-04-16 Dan Williams <dcbw@redhat.com>
3565 Patch from 陈鑫 <znscnchen@gmail.com>
3567 * src/ppp-manager/nm-pppd-plugin.c
3568 - (get_credentials): return correct value for success; handle case where
3569 pppd just does some checking but doesn't want a password
3570 - (plugin_init): make CHAP work too
3572 2008-04-16 Dan Williams <dcbw@redhat.com>
3574 Patch from 陈鑫 <znscnchen@gmail.com>
3576 * src/ppp-manager/nm-ppp-manager.c
3577 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3579 2008-04-16 Dan Williams <dcbw@redhat.com>
3581 Patch from 陈鑫 <znscnchen@gmail.com>
3583 * src/nm-device-802-3-ethernet.c
3584 - (real_deactivate_quickly): clear the IP interface name on
3585 deactivation, otherwise the wrong interface might get used later
3586 for routing and IP management
3588 2008-04-15 Dan Williams <dcbw@redhat.com>
3590 * libnm-glib/nm-device.c
3591 - (get_product_and_vendor): handle serial devices correctly
3592 - (nm_device_update_description): pass device to get_product_and_vendor()
3594 2008-04-15 Dan Williams <dcbw@redhat.com>
3596 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3598 * src/NetworkManagerSystem.h
3599 src/backends/NetworkManagerArch.c
3600 src/backends/NetworkManagerDebian.c
3601 src/backends/NetworkManagerFrugalware.c
3602 src/backends/NetworkManagerGeneric.c
3603 src/backends/NetworkManagerGeneric.h
3604 src/backends/NetworkManagerGentoo.c
3605 src/backends/NetworkManagerMandriva.c
3606 src/backends/NetworkManagerPaldo.c
3607 src/backends/NetworkManagerRedHat.c
3608 src/backends/NetworkManagerSlackware.c
3609 src/backends/NetworkManagerSuSE.c
3611 - (nm_generic_device_add_ip6_link_address,
3612 nm_system_device_add_ip6_link_address): remove
3614 2008-04-15 Dan Williams <dcbw@redhat.com>
3616 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3618 * src/backends/NetworkManagerArch.c
3619 src/backends/NetworkManagerDebian.c
3620 src/backends/NetworkManagerFrugalware.c
3621 src/backends/NetworkManagerGeneric.c
3622 src/backends/NetworkManagerGeneric.h
3623 src/backends/NetworkManagerGentoo.c
3624 src/backends/NetworkManagerMandriva.c
3625 src/backends/NetworkManagerPaldo.c
3626 src/backends/NetworkManagerRedHat.c
3627 src/backends/NetworkManagerSlackware.c
3628 src/backends/NetworkManagerSuSE.c
3629 src/NetworkManagerSystem.h
3630 - flush_routes -> flush_ip4_routes
3631 - flush_addresses -> flush_ip4_addresses
3633 * src/NetworkManagerSystem.c
3635 src/vpn-manager/nm-vpn-connection.c
3636 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3638 2008-04-15 Dan Williams <dcbw@redhat.com>
3640 Remove exposure of wireless-tools mode types in the API.
3642 * include/NetworkManager.h
3643 - Define NM80211Mode enum
3645 * introspection/generic-types.xml
3646 - Describe NM_802_11_MODE enum
3647 - Remove IW_MODE_* enum
3649 * introspection/nm-access-point.xml
3650 libnm-glib/nm-access-point.c
3651 libnm-glib/nm-access-point.h
3652 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3654 * introspection/nm-device-802-11-wireless.xml
3655 libnm-glib/nm-device-802-11-wireless.c
3656 libnm-glib/nm-device-802-11-wireless.h
3657 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3659 * libnm-util/nm-setting-wireless.c
3660 src/NetworkManagerAP.c
3661 src/NetworkManagerAP.h
3662 src/nm-device-802-11-wireless.c
3663 src/nm-device-802-11-wireless.h
3665 - Use NM80211Mode not IW_MODE_*
3667 2008-04-15 Dan Williams <dcbw@redhat.com>
3669 Enhance nm-online based on a patch from Bill Nottingham.
3673 - Add help messages and option summary
3674 - Add long-format options
3675 - Add a '-x' option to exit if NM isn't running or isn't connecting
3677 2008-04-15 Tambet Ingo <tambet@gmail.com>
3679 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3681 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3683 2008-04-15 Dan Williams <dcbw@redhat.com>
3685 * nm-setting-ip4-config.c
3686 - (ip4_addresses_from_gvalue): handle NULL address array
3688 * nm-setting-8021x.c
3689 - (verify_tls, verify_ttls): warn on failed verification
3691 2008-04-10 Dan Williams <dcbw@redhat.com>
3693 * src/nm-gsm-device.c
3694 - (automatic_registration): accept "+CREG: 0,0"
3695 - (automatic_registration_response): fail on "+CREG: 0,0"
3697 2008-04-10 Tambet Ingo <tambet@gmail.com>
3699 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3701 2008-04-10 Tambet Ingo <tambet@gmail.com>
3703 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
3704 Make it compile again by commenting out broken code that at first didn't work and
3705 now didn't compile either.
3707 2008-04-08 Dan Williams <dcbw@redhat.com>
3709 * libnm-glib/nm-object-cache.c
3710 libnm-glib/nm-settings.c
3711 src/dhcp-manager/nm-dhcp-manager.c
3712 system-settings/plugins/ifcfg-fedora/plugin.c
3713 system-settings/plugins/ifcfg-suse/plugin.c
3714 system-settings/src/nm-system-config-hal-manager.c
3715 libnm-util/nm-utils.c
3716 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3717 not threadsafe anyway
3719 2008-04-08 Dan Williams <dcbw@redhat.com>
3721 * system-settings/src/main.c
3722 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3723 callbacks take a device type too
3725 2008-04-08 Dan Williams <dcbw@redhat.com>
3727 The system settings service will now create a new default DHCP connection
3728 for wired devices that have no existing applicable connection.
3730 * system-settings/src/nm-system-config-hal-manager.c
3731 system-settings/src/nm-system-config-hal-manager.h
3732 - (nm_system_config_hal_manager_get_type_for_udi): new function
3734 * system-settings/src/dbus-settings.c
3735 system-settings/src/dbus-settings.h
3736 - (nm_sysconfig_settings_get_connections): new function
3737 - (nm_sysconfig_settings_is_device_managed): new function
3739 * system-settings/src/main.c
3740 - (load_stuff): check for wired devices that need a default connection
3741 - (get_details_for_udi): get interface and MAC address from HAL
3742 - (add_default_dhcp_connection): add a default connection for a wired
3744 - (device_added_cb, device_removed_cb): do the right thing with
3745 wired devices and their default connections on HAL device events
3747 2008-04-07 Dan Williams <dcbw@redhat.com>
3749 * libnm-glib/nm-device.c
3750 libnm-glib/nm-device.h
3751 - Proxy the 'managed' property
3753 2008-04-07 Dan Williams <dcbw@redhat.com>
3755 * src/nm-gsm-device.c
3756 src/nm-cdma-device.c
3757 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3758 handler to transition to DISCONNECTED
3760 2008-04-07 Dan Williams <dcbw@redhat.com>
3762 Patch from Bill Nottingham
3764 * dispatcher-daemon/NetworkManagerDispatcher.c
3765 - ignore backup/packaging crufy (rh #440143)
3767 2008-04-07 Dan Williams <dcbw@redhat.com>
3769 * include/NetworkManager.h
3770 - Remove the DOWN and CANCELLED device states
3771 - Add UNMANAGED and UNAVAILABLE device states
3772 - Document the device states
3774 * introspection/nm-device.xml
3775 src/nm-device-interface.c
3776 src/nm-device-interface.h
3777 - Add the 'managed' property
3780 - (detail_device): print out device state
3782 * src/NetworkManagerSystem.h
3783 src/backends/NetworkManagerArch.c
3784 src/backends/NetworkManagerDebian.c
3785 src/backends/NetworkManagerFrugalware.c
3786 src/backends/NetworkManagerGentoo.c
3787 src/backends/NetworkManagerMandriva.c
3788 src/backends/NetworkManagerPaldo.c
3789 src/backends/NetworkManagerRedHat.c
3790 src/backends/NetworkManagerSlackware.c
3791 src/backends/NetworkManagerSuSE.c
3792 - (nm_system_device_get_system_config, nm_system_device_get_disabled
3793 nm_system_device_free_system_config): remove; they were unused and
3794 their functionality should be re-implemented in each distro's
3795 system settings service plugin
3797 * src/nm-gsm-device.c
3799 src/nm-cdma-device.c
3800 src/nm-cdma-device.h
3801 - (*_new): take the 'managed' argument
3804 - (nm_device_set_address): remove, fold into nm_device_bring_up()
3805 - (nm_device_init): start in unmanaged state, not disconnected
3806 - (constructor): don't start device until the system settings service
3807 has had a chance to figure out if the device is managed or not
3808 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
3809 don't set device state here, let callers handle that as appropriate
3810 - (nm_device_dispose): don't touch the device if it's not managed
3811 - (set_property, get_property, nm_device_class_init): implement the
3813 - (nm_device_state_changed): bring the device up if its now managed,
3814 and deactivate it if it used to be active
3815 - (nm_device_get_managed, nm_device_set_managed): do the right thing
3816 with the managed state
3818 * src/nm-hal-manager.c
3819 - (wired_device_creator, wireless_device_creator, modem_device_creator):
3820 take initial managed state and pass it along to device constructors
3821 - (create_device_and_add_to_list): get managed state and pass to
3824 * src/nm-device-802-11-wireless.c
3825 - (real_can_activate): fold in most of
3826 nm_device_802_11_wireless_can_activate()
3827 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
3828 - (link_timeout_cb): instead of deactivating, change device state and
3829 let the device state handler to it
3830 - (real_update_hw_address): clean up
3831 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3832 handler to transition to DISCONNECTED if the device isn't rfkilled
3834 * src/nm-device-802-3-ethernet.c
3835 - (set_carrier): move above callers and get rid of prototype
3836 - (device_state_changed): when entering UNAVAILABLE state, schedule an
3837 idle handler to transition to DISCONNECTED if the device has a
3839 - (real_update_hw_address): clean up
3840 - (link_timeout_cb, ppp_state_changed): change state instead of calling
3841 deactivation directly as deactivation doesn't change state anymore
3843 * src/NetworkManagerPolicy.c
3844 - (schedule_activate_check): yay, remove wireless_enabled hack since
3845 the NMManager and wireless devices work that out themselves now
3846 - (device_state_changed): change to a switch and update for new device
3848 - (device_carrier_changed): remove; device handles this now through
3850 - (device_added): don't care about carrier any more; the initial
3851 activation check will happen when the device transitions to
3855 - (dispose): clear unmanaged devices
3856 - (handle_unmanaged_devices): update unmanaged device list and toggle
3857 the managed property on each device when needed
3858 - (system_settings_properties_changed_cb): handle signals from the
3859 system settings service
3860 - (system_settings_get_unmanaged_devices_cb): handle callback from
3861 getting the unmanaged device list method call
3862 - (query_unmanaged_devices): ask the system settings service for its
3863 list of unmanaged devices
3864 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
3866 - (manager_set_wireless_enabled): push rfkill state down to wireless
3867 devices directly and let them handle the necessary state transitions
3868 - (manager_device_state_changed): update for new device states
3869 - (nm_manager_add_device): set initial rfkill state on wireless devices
3870 - (nm_manager_remove_device): don't touch the device if it's unmanaged
3871 - (nm_manager_activate_connection): return error if the device is
3873 - (nm_manager_sleep): handle new device states correctly; don't change
3874 the state of unavailable/unmanaged devices
3876 * libnm-glib/nm-device-802-11-wireless.c
3877 - (state_changed_cb): update for new device states
3879 2008-04-07 Dan Williams <dcbw@redhat.com>
3881 * marshallers/nm-marshal.list
3882 - Add VOID:STRING,UINT marshaller for system settings HAL manager
3884 2008-04-07 Dan Williams <dcbw@redhat.com>
3886 * system-settings/src/main.c
3887 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
3888 plugins to the dbus settings object
3889 - (load_stuff): start the dbus service after grabbing unmanaged devices
3890 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
3891 - (log_handler, logging_setup, logging_shutdown): log output to syslog
3892 - (main): switch default logging to syslog with a 'debug' option to
3893 output to console; start up the HAL manager
3895 2008-04-07 Dan Williams <dcbw@redhat.com>
3897 * introspection/nm-settings-system.xml
3898 introspection/Makefile.am
3899 - Define the unmanaged devices interface for the system settings service
3901 * system-settings/src/nm-system-config-hal-manager.c
3902 system-settings/src/nm-system-config-hal-manager.h
3903 system-settings/src/nm-system-config-hal-manager-private.h
3904 system-settings/src/Makefile.am
3905 - Add a lightweight HAL manager object for tracking network devices for
3906 the purpose of determining unmanaged devices and which devices need
3907 the default DHCP connections
3909 * system-settings/src/nm-system-config-interface.c
3910 system-settings/src/nm-system-config-interface.h
3911 - (nm_system_config_interface_init): add the HAL manager as an argument
3912 - (nm_system_config_interface_get_unmanaged_devices): implement
3913 - Define 'unmanaged-devices-changed' signal
3915 * system-settings/src/dbus-settings.c
3916 system-settings/src/dbus-settings.h
3917 - Implement the unmanaged devices interface; some cleanups
3919 * system-settings/plugins/ifcfg-suse/plugin.c
3920 - Fixup for plugin interface changes
3922 * system-settings/plugins/ifcfg-fedora/plugin.c
3923 - (get_ether_device_udi): new function; find the device that has
3924 a specified MAC address and return its UDI
3925 - (get_udi_for_connection): new function; try to find the specific
3926 device a connection is locked to, if any
3927 - (device_added_cb, device_removed_cb): update unmanaged device list in
3928 response to HAL events
3929 - (get_unmanaged_devices): new function; return unmanaged device list
3930 - (build_one_connection): set the connection's locked device, if any
3931 - (write_auto_wired_connection): remove
3932 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
3933 - (handle_connection_changed): alert listeners that the unmanaged device
3935 - (init): fixup for plugin interface changes, implement unmanaged devices
3937 * system-settings/plugins/ifcfg-fedora/parser.c
3938 system-settings/plugins/ifcfg-fedora/parser.h
3939 - (connection_data_free): clean up connection UDI
3941 2008-04-07 Dan Williams <dcbw@redhat.com>
3943 * system-settings/plugins/ifcfg-fedora/parser.c
3944 - (make_ip4_setting): fix parsing of DNS servers
3946 2008-04-05 Dan Williams <dcbw@redhat.com>
3950 marshallers/Makefile.am
3951 marshallers/nm-marshal-main.c
3952 marshallers/nm-marshal.list
3953 - Consolidate marshallers
3955 * libnm-glib/nm-marshal-main.c
3956 libnm-glib/nm-marshal.list
3957 src/marshallers/Makefile.am
3958 src/marshallers/nm-marshal-main.c
3959 src/marshallers/nm-marshal.list
3962 * libnm-glib/Makefile.am
3964 src/dhcp-manager/Makefile.am
3965 src/ppp-manager/Makefile.am
3966 src/supplicant-manager/Makefile.am
3967 src/vpn-manager/Makefile.am
3968 - Use consolidated marshallers
3970 2008-04-04 Dan Williams <dcbw@redhat.com>
3972 * src/nm-hal-manager.c
3973 src/nm-hal-manager.h
3974 - (hal_init): don't look for hardware here
3975 - (nm_hal_manager_start): new function; look for hardware here instead,
3976 which can be done at a later time than hal_init()
3978 * src/NetworkManager.c
3979 - (main): start HAL manager after entering the main loop
3981 2008-04-03 Dan Williams <dcbw@redhat.com>
3983 * libnm-glib/nm-settings.c
3984 libnm-glib/nm-settings.h
3985 - (nm_exported_connection_get_id): new function
3986 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
3988 2008-04-02 Dan Williams <dcbw@redhat.com>
3990 * src/nm-device-interface.c
3991 src/nm-device-interface.h
3994 - Rename check_connection_conflicts() to check_connection_compatible()
3996 * src/nm-device-802-11-wireless.c
3997 - (real_check_connection_conflicts): remove
3998 - (real_check_connection_compatible): implement; match MAC address
4000 * src/nm-device-802-3-ethernet.c
4001 - (real_check_connection_conflicts): remove
4002 - (real_check_connection_compatible): implement; match MAC address
4003 - (real_get_best_auto_connection): correctly handle PPPoE cases
4006 - (check_connection_allowed): remove; unused until PolicyKit integration
4007 - (internal_activate_device): check whether the connection is compatible
4008 with the device before trying to activate it
4010 2008-04-02 Dan Williams <dcbw@redhat.com>
4012 * system-settings/plugins/ifcfg-fedora/parser.c
4013 - (read_mac_address): new function; read in MAC address and stuff it
4015 - (add_one_wep_key): remove debug spew
4016 - (make_wireless_security_setting): validate the default TX key; don't
4017 add the wireless-security setting if the connection doesn't need
4018 security; don't leak the keys shvarFile on error cases
4019 - (make_wireless_setting, make_wired_setting): populate device's MAC
4022 2008-04-02 Dan Williams <dcbw@redhat.com>
4024 * libnm-util/nm-setting-connection.c
4025 libnm-util/nm-setting-connection.h
4026 - (set_property, get_property, nm_setting_connection_class_init): remove
4027 the 'lockdown' property; it's functionality will be replaced by
4030 2008-04-01 Dan Williams <dcbw@redhat.com>
4032 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4035 initscript/Makefile.am
4036 initscript/Mandriva/Makefile.am
4037 initscript/Mandriva/networkmanager.in
4038 initscript/Mandriva/networkmanagerdispatcher.in
4039 src/backends/Makefile.am
4040 src/backends/NetworkManagerMandriva.c
4041 system-settings/plugins/Makefile.am
4042 - Add Mandriva support
4044 2008-03-31 Dan Williams <dcbw@redhat.com>
4046 * src/vpn-manager/nm-vpn-service.c
4047 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4048 errors can be passed back to the caller; also no longer scheduled
4049 as an idle handler, but called directly; and bump up VPN service
4050 spawn timeout, 2s is really short
4051 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4052 but call it directly so that errors are reported on return from
4053 ActivateConnection() and don't get lost. If scheduled as an idle
4054 handler, clients don't have the time to query NM for the new VPN
4055 connection's properties before the VPN connection is torn down again
4056 if the service couldn't be launched, and therefore launch errors
4059 2008-03-31 Dan Williams <dcbw@redhat.com>
4061 * src/vpn-manager/nm-vpn-connection.c
4062 - (device_state_changed): send correct state on device failure too
4063 - (plugin_state_changed): failed state means unexpected disconnection,
4064 thus if the service goes away while the VPN connection is activated
4065 that's a failure too
4067 2008-03-31 Dan Williams <dcbw@redhat.com>
4069 * src/vpn-manager/nm-vpn-manager.c
4070 src/vpn-manager/nm-vpn-manager.h
4071 - Make VPNManager errors more available; add a service-start-failed error
4073 2008-03-31 Dan Williams <dcbw@redhat.com>
4075 * libnm-glib/nm-client.c
4076 libnm-glib/nm-client.h
4077 - (activate_cb): pass the new active connection to callback; fix
4078 message when no callback is specified
4080 2008-03-30 Dan Williams <dcbw@redhat.com>
4082 * libnm-util/nm-setting-wireless-security.c
4083 - (need_secrets): only require key0 if the transmit key index is also
4085 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4087 2008-03-29 Dan Williams <dcbw@redhat.com>
4089 * libnm-util/nm-setting-8021x.c
4090 libnm-util/nm-setting-ip4-config.c
4091 libnm-util/nm-setting-vpn-properties.c
4092 libnm-util/nm-setting-vpn.c
4093 libnm-util/nm-setting-wireless-security.c
4094 libnm-util/nm-setting-wireless.c
4095 libnm-util/nm-utils.c
4096 src/dhcp-manager/nm-dhcp-manager.c
4097 src/nm-activation-request.c
4100 src/nm-properties-changed-signal.c
4101 src/ppp-manager/nm-pppd-plugin.c
4102 src/supplicant-manager/nm-supplicant-interface.c
4103 src/vpn-manager/nm-vpn-connection.c
4104 - consistently use nm-dbus-glib-types.h
4106 2008-03-29 Dan Williams <dcbw@redhat.com>
4108 * src/vpn-manager/nm-vpn-connection.c
4109 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4112 * src/nm-activation-request.c
4113 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4116 2008-03-29 Dan Williams <dcbw@redhat.com>
4118 * libnm-glib/nm-device-802-11-wireless.c
4119 - (access_point_added_proxy): create new APs if not found
4121 2008-03-29 Dan Williams <dcbw@redhat.com>
4123 * libnm-glib/nm-client.c
4124 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4127 2008-03-29 Dan Williams <dcbw@redhat.com>
4129 * system-settings/plugins/ifcfg-fedora/parser.c
4130 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4131 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4133 2008-03-29 Dan Williams <dcbw@redhat.com>
4135 * system-settings/plugins/ifcfg-fedora/parser.c
4136 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4138 2008-03-27 Dan Williams <dcbw@redhat.com>
4141 - (nm_object_queue_notify): don't notify multiple times for the same
4144 * nm-object-private.h
4145 - (handle_ptr_array_return): return NULL if the given array is NULL or
4146 if it has zero elements
4149 - (finalize): use g_ptr_array_foreach() when freeing domains
4150 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4152 * nm-active-connection.c
4153 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4155 * nm-device-802-11-wireless.c
4156 nm-device-802-11-wireless.h
4157 - (nm_device_802_11_wireless_get_access_points): return const; use
4158 handle_ptr_array_return()
4161 - (nm_object_array_demarshal): always create an array, even of length
4162 zero, to distinguish between "NM returned no items" and "haven't
4166 - (dispose): free active connections too
4167 - (proxy_name_owner_changed): free active connections too when NM goes
4169 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4170 - (nm_client_get_active_connections): use handle_ptr_array_return()
4172 2008-03-26 Dan Williams <dcbw@redhat.com>
4174 Rework VPN connection handling for a more consistent D-Bus API. The
4175 VPNManager object has been removed, and active VPN connections are now the
4176 same as any other active connection. The Manager object's ActivateConnection
4177 and DeactivateConnection methods are used to start and stop a VPN connection,
4178 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4179 When activating a VPN connection, pass the path of the active connection
4180 to which the VPN connection is tied in the 'specific_object' argument.
4182 Consequently, the libnm-glib API has been reworked to match this arrangement,
4183 with the VPNManager object removed, and the NMVPNConnection objects now
4184 being subclasses of NMActiveConnection.
4186 2008-03-25 Dan Williams <dcbw@redhat.com>
4188 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4190 * initscript/Arch/networkmanager.in
4191 initscript/Arch/networkmanager-dispatcher.in
4192 - Updates for Arch Linux (gnome.org #523701)
4194 2008-03-25 Dan Williams <dcbw@redhat.com>
4196 * libnm-glib/nm-ip4-config.c
4197 libnm-glib/nm-active-connection.c
4198 libnm-glib/nm-access-point.c
4199 - Use nm_object_queue_notify() instead of g_object_notify()
4201 * libnm-glib/nm-device.c
4202 - (demarshal_ip4_config): distinguish between successful but missing
4203 ip4-config request, and unsuccessful and missing ip4-config request
4204 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4206 - Use nm_object_queue_notify() instead of g_object_notify()
4208 * libnm-glib/nm-device-802-11-wireless.c
4209 - (demarshal_active_ap): distinguish between successfull but missing
4210 active-ap request, and unsuccessful and missing active-ap request
4211 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4213 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4214 for the NMClient to notify the device that wireless is disabled,
4215 and therefore to clear the AP list and active AP
4216 - Use nm_object_queue_notify() instead of g_object_notify()
4218 * libnm-glib/nm-client.c
4219 - (poke_wireless_devices_with_rf_status): new function
4220 - (update_wireless_status): notify wireless devices of the rfkill status
4221 so they can clean up if needed
4222 - Use nm_object_queue_notify() instead of g_object_notify()
4224 2008-03-25 Dan Williams <dcbw@redhat.com>
4226 * libnm-glib/nm-object.c
4227 libnm-glib/nm-object-private.h
4228 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4229 signals to an idle handler
4230 - (nm_object_get_property): add a timeout to the D-Bus method call
4232 2008-03-25 Dan Williams <dcbw@redhat.com>
4234 * introspection/nm-device-cdma.xml
4235 introspection/nm-device-gsm.xml
4236 introspection/Makefile.am
4237 introspection/all.xml
4238 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4240 * src/nm-gsm-device.h
4242 src/nm-cdma-device.h
4243 src/nm-cdma-device.c
4245 - Implement PropertiesChanged signals
4247 * libnm-glib/nm-cdma-device.c
4248 libnm-glib/nm-cdma-device.c
4249 - Attach to PropertiesChanged signals
4251 2008-03-24 Dan Williams <dcbw@redhat.com>
4253 * libnm-glib/nm-client.c
4254 - (client_device_added_proxy): add new devices to the internal device
4255 list so they appear to clients
4257 2008-03-24 Dan Williams <dcbw@redhat.com>
4259 Massive fixup of libnm-glib to:
4260 a) have all objects (with the exception of VPN) cache their properties and
4261 update them asynchronously on PropertiesChanged signals from NM
4262 b) return internal const data for most attributes/properties instead of
4263 allocated values that the caller must free
4264 c) cache wrapped objects such that a given D-Bus path will always map to the
4265 same GObject returned by libnm-glib
4266 d) remove a few signals and move them to GObject property notifications
4267 e) match recent NM D-Bus API changes for activation/deactivation
4268 f) remove some private functions from libnm-glib headers
4270 2008-03-20 Dan Williams <dcbw@redhat.com>
4273 - (nm_manager_update_state, manager_device_state_changed,
4274 nm_manager_activate_device, connection_added_default_handler,
4275 impl_manager_activate_connection, impl_manager_deactivate_connection):
4276 queue PropertyChanged singals when the active connections change
4278 2008-03-20 Dan Williams <dcbw@redhat.com>
4280 * introspection/nm-manager.xml
4281 introspection/nm-manager-client.xml
4282 - (ActivateConnection): return the object path of the active connection
4284 - (GetActiveConnections): remove
4285 - (DeactivateConnection): new function; deactivate a currently active
4287 - Add an ActiveConnections property which returns an array of
4288 active connection object paths
4290 * introspection/nm-device.xml
4291 - (Deactivate): remove
4293 * introspection/all.xml
4294 - Add ActiveConnection introspection
4296 * introspection/nm-active-connection.xml
4297 - Add the ActiveConnection object
4299 * include/NetworkManager.h
4300 - Add the Connection.Active D-Bus interface
4302 * src/nm-device-interface.c
4303 - (impl_device_deactivate): remove
4305 * src/nm-activation-request.c
4306 src/nm-activation-request.c
4308 - Implement the Connection.Active D-Bus interface
4311 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4312 - (nm_manager_activate_device): return the active connection path
4313 - (connection_added_default_handler, impl_manager_activate_connection):
4314 return the active connection to the caller
4315 - (add_one_connection_element, impl_manager_get_active_connections):
4317 - (impl_manager_deactivate_connection): new function; deactivate an
4320 * libnm-glib/nm-device.c
4321 libnm-glib/nm-device.h
4322 - Remove Deactivate() function
4324 2008-03-19 Dan Williams <dcbw@redhat.com>
4326 * introspection/nm-manager.xml
4327 introspection/nm-manager-client.xml
4328 - Rename the ActivateDevice method to ActivateConnection to better
4329 reflect it's usage; it's arguments get reordered a bit too
4330 - Convert GetActiveConnections method return from a struct to a dict
4332 * include/NetworkManager.h
4333 - Define the dict keys for return value of GetActiveConnections
4336 - impl_manager_activate_device -> impl_manager_activate_connection
4337 - (add_one_connection_element): return a populated hash table, not
4340 * libnm-glib/nm-client.c
4341 libnm-glib/nm-client.h
4342 - nm_client_activate_device -> nm_client_activate_connection
4343 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4344 - (nm_client_get_active_connections): return a GSList of GHashTables,
4345 instead of the custom structures. Each element of the returned list
4346 must be freed with nm_client_free_active_connections_element()
4348 2008-03-18 Dan Williams <dcbw@redhat.com>
4350 * system-settings/plugins/ifcfg-fedora/parser.c
4351 system-settings/plugins/ifcfg-fedora/parser.h
4352 system-settings/plugins/ifcfg-fedora/plugin.c
4353 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4354 profiles. DNS servers and searches must now be stored in the ifcfg
4357 2008-03-18 Tambet Ingo <tambet@gmail.com>
4359 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4360 print out username and password, it's supposed to be a secret.
4362 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
4363 request and set the device state accordingly.
4365 2008-03-18 Tambet Ingo <tambet@gmail.com>
4367 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4369 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4371 2008-03-18 Dan Williams <dcbw@redhat.com>
4373 * src/vpn-manager/nm-vpn-connection.c
4374 - (get_secrets_cb): handle new GetSecrets return format
4376 2008-03-18 Dan Williams <dcbw@redhat.com>
4378 Adapt system settings service for split 802.1x.
4380 * system-settings/src/nm-system-config-interface.h
4381 - clarify return value of get_secrets()
4383 * system-settings/src/dbus-settings.c
4384 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4385 - (check_for_secrets): check if there actually secrets returned by a
4387 - (exported_connection_get_secrets): just return the plugin-returned
4388 hash of settings' secrets if it looks valid
4390 * system-settings/plugins/ifcfg-fedora/plugin.c
4391 - (get_secrets): add split secrets with correct format to reply hash
4393 * system-settings/plugins/ifcfg-fedora/parser.c
4394 system-settings/plugins/ifcfg-fedora/parser.h
4395 - (copy_one_cdata_secret, connection_data_copy_secrets,
4396 connection_data_free, connection_data_add): keep secrets for
4397 different settings in different hashes
4399 2008-03-17 Tambet Ingo <tambet@gmail.com>
4401 Clean up activating device deactivation.
4403 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4404 should be done whether the device activation gets cancelled or the device
4405 is just getting deactivated.
4406 (nm_device_activation_cancel): Remove.
4407 (nm_device_deactivate_quickly): Handle the case where device is activating.
4409 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4410 It does the exact same thing as real_deactivate_quickly().
4412 2008-03-17 Dan Williams <dcbw@redhat.com>
4414 Split the 802.1x bits out of the wireless-security setting so they are
4415 generalized enough for wired 802.1x to use too.
4417 * introspection/nm-exported-connection.xml
4418 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4419 of just a hash of the secrets for one setting
4421 * libnm-util/nm-setting-wireless-security.c
4422 libnm-util/nm-setting-wireless-security.h
4423 - Remove 802.1x-specific stuff
4424 - Added leap-username and leap-password properties for old-school LEAP
4428 - (connection_secrets_updated_cb): take a list of updated settings names,
4431 * src/supplicant-manager/nm-supplicant-config.c
4432 src/supplicant-manager/nm-supplicant-config.h
4433 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4434 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4435 to nm_supplicant_config_add_setting_8021x()
4436 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4437 the supplicant config
4439 * src/nm-device-802-11-wireless.c
4440 - (build_supplicant_config): pass in the 802.1x setting too, if any
4441 - (real_connection_secrets_updated): take a list of updated settings
4444 * src/nm-device-802-3-ethernet.c
4445 src/nm-cdma-device.c
4447 - (real_connection_secrets_updated_cb): take a list of updated settings
4450 * src/nm-activation-request.c
4451 src/nm-activation-request.h
4452 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4453 now passes a list of updated settings names, not just one
4454 - (update_one_setting): new function; handle one updated setting
4455 - (get_secrets_cb): handle multiple settings returned from the
4456 settings service; have to be careful of ordering here as there are
4457 some dependencies between settings (ex. wireless-security and 802.1x
4460 * src/marshallers/nm-marshal.list
4461 - new marshaller for connection-secrets-updated signal
4463 * libnm-util/nm-setting-8021x.c
4464 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4466 - (verify): a valid 'eap' property is now required
4468 * libnm-util/nm-connection.c
4469 - (register_default_settings): add priorities to settings; there are
4470 some dependencies between settings, and during the need_secrets
4471 calls this priority needs to be respected. For example, only the
4472 wireless-security setting knows whether or not the connection is
4473 going to use 802.1x or now, so it must be asked for secrets before
4474 any existing 802.1x setting is
4475 - (nm_connection_lookup_setting_type): expose
4477 * libnm-util/nm-setting-wireless.c
4478 - (verify): should verify even if all_settings is NULL; otherwise won't
4479 catch the case where there is missing security
4481 * libnm-util/nm-setting-wireless-security.c
4482 - Remove everything to do with 802.1x
4483 - Add old-school LEAP specific properties for username and password
4484 - (need_secrets): rework LEAP secrets checking
4485 - (verify): rework for LEAP and 802.1x verification
4487 2008-03-17 Dan Williams <dcbw@redhat.com>
4489 * src/NetworkManagerPolicy.c
4490 - (auto_activate_device): always remove the current activation check
4491 from the pending activation list, otherwise when the policy gets
4492 destroyed on NM exit it will attempt to free the already freed
4495 2008-03-14 Tambet Ingo <tambet@gmail.com>
4497 * src/backends/NetworkManagerSlackware.c
4498 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4500 * src/backends/NetworkManagerSuSE.c: Add missing includes.
4502 2008-03-14 Dan Williams <dcbw@redhat.com>
4505 - (nm_device_interface_get_iface): g_object_get() will return an
4506 allocated value, so this function must not return const
4507 - (nm_device_interface_activate): free returned iface
4509 2008-03-14 Tambet Ingo <tambet@gmail.com>
4511 * libnm-util/Makefile.am: Add new files to build.
4513 * libnm-util/nm-connection.c: Register NMSetting8021x.
4515 * libnm-util/nm-setting-8021x.c
4516 * libnm-util/nm-setting-8021x.h: Implement.
4518 2008-03-14 Tambet Ingo <tambet@gmail.com>
4520 * libnm-util/Makefile.am: Add new files to build.
4522 * libnm-util/nm-connection.c: Register NMSetting8021x.
4524 * libnm-util/nm-setting-8021x.c
4525 * libnm-util/nm-setting-8021x.h: Implement.
4527 2008-03-14 Tambet Ingo <tambet@gmail.com>
4529 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4532 2008-03-14 Dan Williams <dcbw@redhat.com>
4534 * include/wireless-helper.h
4536 - One place for all the junk needed for #including wireless.h
4539 src/NetworkManagerAP.c
4542 libnm-util/nm-utils.c
4543 libnm-util/nm-setting-wireless.c
4544 libnm-glib/nm-device-802-11-wireless.c
4545 libnm-glib/nm-access-point.c
4546 libnm-glib/libnm-glib-test.c
4547 - include wireless-helper.h, not iwlib.h
4550 - Don't need libiw really, just need to check for wireless.h
4552 * src/kernel-types.h
4553 - Remove; used types moved into wpa.c
4555 * src/nm-device-802-11-wireless.c
4556 - (nm_device_802_11_wireless_update_signal_strength,
4557 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4558 nm_device_802_11_wireless_set_mode,
4559 nm_device_802_11_wireless_get_frequency,
4560 nm_device_802_11_wireless_get_ssid,
4561 nm_device_802_11_wireless_set_ssid,
4562 nm_device_802_11_wireless_get_bitrate,
4563 nm_device_802_11_wireless_get_bssid,
4564 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4565 instead of iwlib functions
4567 2008-03-14 Dan Williams <dcbw@redhat.com>
4569 * src/ppp-manager/nm-ppp-manager.c
4570 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4571 should only take the DBusGMethodInvocation argument, not user/pass
4572 too. With dbus-glib, async functions only take 2 C arguments since
4573 the real dbus method arguments get passed back with
4574 dbus_g_method_return()
4576 2008-03-13 Tambet Ingo <tambet@gmail.com>
4578 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
4579 Adapt the changes of NMSettingIP4Config.
4581 2008-03-13 Dan Williams <dcbw@redhat.com>
4583 * src/NetworkManagerUtils.c
4584 src/NetworkManagerUtils.h
4585 - (nm_ether_ntop): replacement for iw_ether_ntop()
4587 * src/NetworkManagerAP.c
4588 src/nm-device-802-11-wireless.c
4589 src/nm-device-802-3-ethernet.c
4590 - s/iw_ether_ntop/nm_ether_ntop/g
4592 2008-03-13 Dan Williams <dcbw@redhat.com>
4594 * src/NetworkManagerPolicy.c
4595 - (update_routing_and_dns): never set the default route through an
4596 IPv4LL addressed device
4598 2008-03-13 Dan Williams <dcbw@redhat.com>
4600 * NetworkManagerUtils.c
4601 NetworkManagerUtils.h
4602 - Remove NMSock stuff
4603 - Remove the completion stuff
4608 NetworkManagerSystem.c
4610 nm-device-802-11-wireless.c
4611 nm-device-802-3-ethernet.c
4612 - Remove NMSock and completion stuff
4613 - Remove nm_ioctl_info()
4615 2008-03-12 Dan Williams <dcbw@redhat.com>
4618 - (merge_ip4_config): avoid duplicates
4620 2008-03-12 Dan Williams <dcbw@redhat.com>
4622 * libnm-util/nm-setting-ip4-config.c
4623 libnm-util/nm-setting-ip4-config.h
4624 - Remove 'manual' and 'autoip' properties
4625 - Add 'method' property
4626 - (verify): fix verification with 'method'
4627 - (finalize): free 'method'
4628 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4632 - (real_act_stage3_ip_config_start): check IP4Config method
4633 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4635 - (merge_ip4_config): IP settings are valid with DHCP too
4636 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4637 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4639 * src/nm-device-802-11-wireless.c
4640 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4641 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4644 * system-settings/plugins/ifcfg-fedora/parser.c
4645 system-settings/plugins/ifcfg-suse/parser.c
4646 - (make_ip4_setting): fix up for 'method'
4648 2008-03-12 Dan Williams <dcbw@redhat.com>
4650 * system-settings/plugins/ifcfg-fedora/parser.c
4651 system-settings/plugins/ifcfg-fedora/parser.h
4652 - (get_ifcfg_name): ignore more file suffixes
4653 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4655 2008-03-12 Dan Williams <dcbw@redhat.com>
4658 - Bring in the bits of gnome-common we actually use (all 15 lines)
4660 2008-03-12 Dan Williams <dcbw@redhat.com>
4662 * system-settings/plugins/ifcfg-fedora/plugin.c
4663 - (write_auto_wired_connection): new function; write out an auto
4664 wired connection file since the applet isn't doing it any more
4665 - (reload_all_connections): write out the auto wired connection file
4666 if there aren't any wired connections already
4667 - (init): don't leak a GError
4669 2008-03-12 Dan Williams <dcbw@redhat.com>
4671 * src/nm-device-interface.c
4672 - (nm_device_interface_activate): print the ID of the connection
4673 that's about to be activated
4675 2008-03-12 Dan Williams <dcbw@redhat.com>
4677 Harmonize the 802.11 bitrate API
4679 * introspection/nm-access-point.xml
4680 - 'Rate' -> 'MaxBitrate'; clarify units
4682 * introspection/nm-device-802-11-wireless.xml
4683 - Clarify units of 'Bitrate'
4685 * src/NetworkManagerAP.c
4686 src/NetworkManagerAP.h
4687 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4688 property to 'max-bitrate'
4689 - (foreach_property_cb): convert rate to Kb/s
4691 * src/nm-device-802-11-wireless.c
4692 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4694 * libnm-glib/nm-access-point.c
4695 libnm-glib/nm-access-point.h
4696 - 'rate' -> 'max-bitrate'
4699 libnm-glib/libnm-glib-test.c
4700 - Fix up for these changes
4702 2008-03-12 Dan Williams <dcbw@redhat.com>
4705 - (nm_device_set_ip4_config): don't send property notifications when
4706 the ip4 config is set to NULL; it causes a PropertyChanged signal
4707 which dbus-glib can't parse because the value is NULL, which isn't
4708 a legal object path. Setting the IP4 config to NULL is only
4709 valid when deactivating a device anyway, so the device state change
4710 will alert listeners that the ip4 config is invalid.
4712 2008-03-12 Dan Williams <dcbw@redhat.com>
4714 * src/nm-properties-changed-signal.c
4715 - (add_to_string): better handling of NULL objects
4717 2008-03-12 Dan Williams <dcbw@redhat.com>
4719 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4720 convert the libnm-glib NMDevice8023Ethernet to cached properties
4722 * introspection/nm-device-802-3-ethernet.xml
4723 - New 'Carrier' property
4724 - New 'PropertiesChanged' signal
4726 * introspection/nm-device.xml
4727 - Remove 'Carrier' property
4728 - Remove 'CarrierChanged' signal
4730 * src/nm-device-interface.c
4731 src/nm-device-interface.h
4732 - (nm_device_interface_init): remove 'carrier' property and
4733 'carrier-changed' signal
4737 - (nm_device_get_carrier, nm_device_set_carrier): remove
4738 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4739 the link here; wired device will handle that
4740 - (handle_dhcp_lease_change): don't bother updating link here
4741 - (get_property, nm_device_class_init): remove carrier property
4743 * src/nm-device-802-11-wireless.c
4744 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4745 real_update_link(); wireless devices don't use carrier at all
4746 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4747 supplicant_iface_connection_state_cb_handler,
4748 supplicant_mgr_state_cb_handler): remove anything to do with carrier
4750 * src/nm-device-802-3-ethernet.c
4751 src/nm-device-802-3-ethernet.h
4752 - (nm_device_802_3_ethernet_carrier_on,
4753 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4754 instead of nm_device_set_carrier()
4755 - (device_state_changed): update link from sysfs on activation;
4756 replaces real_update_link()
4757 - (real_update_link): remove, replaced by device_state_changed()
4758 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4759 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4760 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4761 new get_carrier function
4762 - (get_property): add 'carrier' property
4763 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4764 hook into property-changed signal helper
4766 * src/NetworkManagerPolicy.c
4767 - (device_carrier_changed): will only ever be called with a wired device
4768 - (device_added): only hook up to carrier-changed for wired devices
4770 * libnm-glib/nm-device.c
4771 libnm-glib/nm-device.h
4772 - (constructor, nm_device_class_init): remove carrier-changed signal
4773 - (device_carrier_changed_proxy): remove; unused
4774 - (nm_device_get_carrier): remove; carrier a property of wired devices
4776 * libnm-glib/nm-device-802-3-ethernet.c
4777 libnm-glib/nm-device-802-3-ethernet.h
4778 - Convert to cached properties like AP and Wireless objects
4779 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
4780 instead of a 'char *', return value should not be freed
4781 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
4782 - (constructor): hook into properties-changed helper
4783 - (set_property, get_property): new functions
4784 - (nm_device_802_3_ethernet_class_init): export GObject properties
4787 - (detail_device): strdup the wired hardware address too since it's
4790 * libnm-glib/libnm-glib-test.c
4791 - (dump_wired): strdup the wired hardware address too since it's
4794 2008-03-12 Dan Williams <dcbw@redhat.com>
4796 * libnm-util/nm-setting-ip4-config.c
4797 libnm-util/nm-setting-ip4-config.h
4798 - (set_property, get_property, nm_setting_ip4_config_class_init): add
4799 the 'autoip' property from the spec
4801 2008-03-11 Dan Williams <dcbw@redhat.com>
4803 * src/backends/NetworkManagerGeneric.c
4804 src/backends/NetworkManagerGeneric.h
4805 - (nm_generic_device_get_use_dhcp): remove
4807 2008-03-11 Dan Williams <dcbw@redhat.com>
4810 - (nm_device_deactivate): don't need to munge DNS here; that gets done
4811 already in nm_device_set_ip4_config()
4812 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
4813 due to a DHCP rebind fails
4814 - (nm_device_set_ip4_config): send property notifications when the
4816 - (get_property): only report IP4Config property during valid states
4818 * src/NetworkManagerPolicy.c
4819 - (update_routing_and_dns): ignore devices that don't have an ip4
4820 config; add parameter 'force_update' to allow callers to specify
4821 that changes should be made even if the default device doesn't change
4822 - (device_ip4_config_changed): update DNS and routing when the device's
4823 IP4Config changes, like for DHCP updates
4824 - (device_added): listen for ip4-config property changes
4826 2008-03-11 Dan Williams <dcbw@redhat.com>
4828 Fix address handling as a result of DHCP rebind/renew/reboot.
4830 * src/NetworkManagerSystem.c
4831 - (check_one_address): delete an address if it doesn't match a given
4832 one for the same interface
4833 - (nm_system_device_set_from_ip4_config): don't flush the default route,
4834 be smarter about flushing addresses (only flush ones that don't
4835 match the one we're about to apply)
4837 * src/backends/NetworkManagerDebian.c
4838 src/backends/NetworkManagerSuSE.c
4839 src/backends/NetworkManagerArch.c
4840 src/backends/NetworkManagerSlackware.c
4841 src/backends/NetworkManagerRedHat.c
4842 src/backends/NetworkManagerPaldo.c
4843 src/backends/NetworkManagerFrugalware.c
4844 src/backends/NetworkManagerGentoo.c
4845 - (nm_system_delete_default_route): remove
4847 * src/backends/NetworkManagerGeneric.c
4848 src/backends/NetworkManagerGeneric.h
4849 - (nm_generic_enable_loopback): fix the loopback device label
4850 - (nm_generic_delete_default_route): remove; no longer used
4852 2008-03-11 Dan Williams <dcbw@redhat.com>
4854 * src/nm-device-interface.h
4855 - Delimit property name words with '-', otherwise g_object_notify()
4856 doesn't work the way we expect
4858 2008-03-11 Tambet Ingo <tambet@gmail.com>
4860 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
4862 2008-03-11 Dan Williams <dcbw@redhat.com>
4864 * src/NetworkManagerPolicy.c
4865 - (update_routing_and_dns): don't change anything if the default device
4866 hasn't changed; print something out when switching the default route
4869 2008-03-10 Tambet Ingo <tambet@gmail.com>
4873 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
4874 setting. Use "nic-$eth".
4876 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
4877 the device is activating here to fix a race condition.
4879 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
4881 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
4882 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
4883 (nm_ppp_manager_start): Take activation request instead of connection, we might
4884 need it for asking secrets.
4885 (nm_ppp_manager_update_secrets): Implement.
4887 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
4888 ppp manager start. It might be needed for asking secrets.
4890 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
4891 (ppp_state_changed): Handle pppd daemon disappearing.
4892 (pppoe_stage2_config): Send activation request to ppp manager start.
4894 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
4896 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
4897 username and password.
4899 2008-03-10 Dan Williams <dcbw@redhat.com>
4902 - (handle_dhcp_lease_change): apply an IP4 config to a device in
4903 response to a DHCP lease change
4904 - (dhcp_state_changed): handle DHCP lease changes while activated
4905 - (nm_device_set_ip4_config): remove a previously set named config
4906 when setting an ip4 config
4908 2008-03-10 Dan Williams <dcbw@redhat.com>
4910 * src/nm-serial-device.c
4911 - (nm_serial_device_send_command): report errno on error
4912 - (get_reply_got_data): limit the size of the overall buffer
4913 - (wait_for_reply_info_destroy): destroy result string
4914 - (wait_for_reply_got_data): append received data to an overall buffer
4915 until timeout, filled buffer, or error instead of keeping a per-call
4916 buffer. Some devices send data slowly enough that this function
4917 gets called multiple times for the same command stream.
4918 - (nm_serial_device_wait_for_reply): initialize overall buffer for
4919 wait_for_reply_got_data() here
4921 2008-03-10 Dan Williams <dcbw@redhat.com>
4923 * src/nm-cdma-device.c
4924 - (do_dial, init_modem): handle errors from
4925 nm_serial_device_send_command_string()
4927 * src/nm-gsm-device.c
4928 - (do_dial, manual_registration, automatic_registration_get_network,
4929 automatic_registration, enter_pin, check_pin, init_modem): handle
4930 errors from nm_serial_device_send_command_string()
4932 2008-03-10 Dan Williams <dcbw@redhat.com>
4934 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
4936 * src/named-manager/nm-named-manager.c
4937 - (compute_searches): prefer searches before domains
4938 - (compute_domain): new function
4939 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
4940 - (merge_one_ip4_config): if there are no searches in the source config,
4941 merge domains of the source config into the target config
4942 - (compute_nameservers): make formatting of resolv.conf a bit nicer
4944 2008-03-10 Dan Williams <dcbw@redhat.com>
4946 * src/nm-serial-device.c
4947 - (get_reply_got_data): clean up indentation, shrink serial buffer
4948 - (wait_for_reply_got_data): try to handle slower serial devices where
4949 the reply is broken up into multiple reads by concatenating replies
4950 together until either an error is received or the search string is
4953 2008-03-10 Dan Williams <dcbw@redhat.com>
4956 - (nm_device_bring_down): deactivate the device if it's activating too,
4957 not just if it's already activated. This makes sure that everything
4958 from an association attempt is cleaned up (like DHCP for example)
4960 2008-03-10 Dan Williams <dcbw@redhat.com>
4962 * src/nm-serial-device.c
4963 - (config_fd): report error from TCSETA
4964 - (nm_serial_device_open): fail when config_fd() fails
4966 2008-03-10 Dan Williams <dcbw@redhat.com>
4968 * src/nm-ip4-config.c
4969 - (nm_ip4_config_init): allocate searches list
4970 - (finalize): free searches list
4972 2008-03-09 Dan Williams <dcbw@redhat.com>
4974 Patch from Bas Zoetekouw <bas@debian.org>
4976 * src/dhcp-manager/nm-dhcp-manager.c
4977 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
4979 2008-03-09 Dan Williams <dcbw@redhat.com>
4981 Patch from Bas Zoetekouw <bas@debian.org>
4983 * src/nm-ip4-config.c
4985 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
4986 nm_ip4_config_get_num_searches): add 'searches' as distinct from
4987 domains. 'searches' is the correct way to store multiple search
4988 domains, whereas 'domains' is really just supposed to store one
4989 domain. Some sites abuse the DHCP 'domain-name' option to push
4990 search domains to the client.
4991 - (nm_ip4_config_add_domain): group with related functions (my patch)
4993 2008-03-09 Dan Williams <dcbw@redhat.com>
4995 * src/dhcp-manager/nm-dhcp-manager.c
4996 - (dhclient_run): send interface-specific config files to dhclient
4998 2008-03-07 Dan Williams <dcbw@redhat.com>
5000 * system-settings/plugins/ifcfg-fedora/parser.c
5001 - (is_wireless_device): new function; test a device for wireless
5003 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5004 test the device for wireless extensions to determine the type
5006 2008-03-07 Dan Williams <dcbw@redhat.com>
5008 Change manager's StateChange signal to StateChanged for consistency.
5010 * introspection/nm-manager.xml
5011 - Add 'StateChanged' signal
5012 - Move 'StateChange' down to the deprecated section
5014 * src/nm-hal-manager.c
5015 - (nm_hal_manager_new): connect to 'state-changed' instead
5017 * src/NetworkManagerPolicy.c
5018 - (nm_policy_new): connect to 'state-changed' instead
5022 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5023 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5026 * libnm-glib/nm-client.c
5027 libnm-glib/nm-client.h
5028 - (constructor, nm_client_class_init, client_state_changed_proxy):
5029 track and proxy 'state-changed' instead of 'state-change'
5031 2008-03-07 Dan Williams <dcbw@redhat.com>
5033 First pass of multiple active device support. Expect bugs.
5035 * src/nm-ip4-config.c
5037 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5038 there are better ways to do this in the named manager
5042 - (nm_device_can_activate): return whether the device can activate a
5043 connection right now; taking into account things like carrier state
5045 - (nm_device_get_best_auto_connection): renamed from
5046 nm_device_get_best_connection
5047 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5048 device subclasses themselves, so that each device can override the
5049 MTU from it's NMSetting subclass if needed
5050 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5051 in NetworkManagerSystem.c, not here
5053 * src/named-manager/nm-named-manager.c
5054 src/named-manager/nm-named-manager.h
5055 - (nm_named_manager_name_owner_changed,
5056 nm_named_manager_dbus_connection_changed): fix for changes to
5057 rewrite_resolv_conf()
5058 - (compute_nameservers): don't need the NMNamedManager at all, remove
5060 - (merge_one_ip4_config): new function; merge ip4 configs together
5061 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5062 ip4 configs; the VPN config takes precedence, then the best
5063 device config, then the rest of the configs
5064 - (get_domain_for_config): take the NMNamedManager as an argument
5065 to check whether the config is the VPN config
5066 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5067 attribute from ip4 configs
5068 - (add_all_ip4_configs_to_named): add all the configs in priority order
5069 - (remove_ip4_config_from_named): fix for changes to
5070 get_domain_for_config()
5071 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5072 based on its type; callers must pass in the type now
5073 - (get_last_default_domain): remove, unused
5074 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5076 * src/nm-device-802-11-wireless.c
5077 - (real_can_activate): new function
5078 - (real_get_best_auto_connection): renamed from real_get_best_connection
5079 - (real_act_stage4_get_ip4_config): handle MTU override
5081 * src/nm-device-802-3-ethernet.c
5082 - (real_can_activate): new function
5083 - (real_get_best_auto_connection): renamed from real_get_best_connection
5084 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5086 * src/vpn-manager/nm-vpn-connection.c
5087 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5088 attribute on the ip4 config
5090 * src/NetworkManagerPolicy.c
5091 - (nm_policy_auto_get_best_device): remove
5092 - (nm_policy_device_change_check): remove
5093 - (update_default_route): new function; set the default route via
5094 the specified device
5095 - (get_device_priority): new function; return the priority number of
5096 a device type WRT which one should have the default route. Order is
5097 (highest to lowest) wired, wireless, GSM, CDMA.
5098 - (update_routing_and_dns): new function; determine which device should
5099 have the default route, then update the routing table and DNS
5100 - (maybe_auto_activate_device): new function; if a device is now
5101 available for activation, find out what connection it would like to
5103 - (schedule_activate_check): new function; if a device can be activated
5104 now, schedule the activation. Each device may have only one
5105 pending activation at a given time.
5106 - (device_state_changed): if activation was canceled, try again,
5107 possibly with another connection; if the device was activated,
5108 update routing and DNS; if the device was deactivated, try again
5109 with another connection
5110 - (device_carrier_changed): if there is no carrier, deactivate the
5111 device; otherwise schedule an activation check for the device
5112 - (wireless_networks_changed): schedule an activation check for the
5114 - (device_added): keep track of the signal handler IDs so they can
5115 be removed when the device goes away
5116 - (device_removed): remove any signal handlers that might be attached
5117 to the device; update routing and DNS
5118 - (schedule_activate_all): new function
5119 - (connections_added, connection_added, connection_updated): when
5120 connections change, schedule all devices for an activation check
5121 - (connection_removed): when a device is deactivated because its
5122 connection was removed, schedule another activation check for it
5123 - (nm_policy_destroy): destroy pending activations and disconnect
5124 all device signal handlers
5127 - (nm_manager_activate_device): if the device was already actived,
5129 - (deactivate_old_device): remove
5130 - (connection_added_default_handler, impl_manager_activate_device):
5131 don't deactivate other devices when activating this one
5133 * src/backends/NetworkManagerGentoo.c
5134 src/backends/NetworkManagerFrugalware.c
5135 src/backends/NetworkManagerPaldo.c
5136 src/backends/NetworkManagerRedHat.c
5137 src/backends/NetworkManagerSlackware.c
5138 src/backends/NetworkManagerArch.c
5139 src/backends/NetworkManagerSuSE.c
5140 src/backends/NetworkManagerDebian.c
5141 - (nm_system_get_mtu): remove; MTU should be provided through the
5142 distro's system settings service plugin instead
5143 - (nm_system_device_add_default_route_via_device): remove
5144 - (nm_system_device_add_default_route_via_device_with_iface): remove
5145 - (nm_system_device_replace_default_route): new function; call
5146 generic implementation
5148 * src/backends/NetworkManagerGeneric.c
5149 src/backends/NetworkManagerGeneric.h
5150 - (nm_generic_device_add_default_route_via_device,
5151 nm_generic_device_add_default_route_via_device_with_iface): remove
5152 - (nm_generic_device_replace_default_route): replace the default route
5153 with the given route via some gateway
5155 * src/NetworkManagerSystem.c
5156 src/NetworkManagerSystem.h
5157 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5158 to routing and DNS; but set the MTU here
5159 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5160 ip_iface of the active device; use the standard MTU setting function
5161 - (nm_system_set_mtu): remove
5162 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5164 2008-03-07 Tambet Ingo <tambet@gmail.com>
5166 Rework the interaction between ppp manager and pppd plugin. Register a well
5167 known DBUS service in manager and let the plugin call it's methods instead
5168 of listening plugin's signals.
5170 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5171 of emitting signals.
5173 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5175 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5177 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5178 nm_ppp_manager_start().
5180 * introspection/nm-ppp-manager.xml: New file.
5182 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5183 the case correctly where driver is trying to send -1 for the speed, which gets
5184 casted to u16 and thus is always > 0.
5186 2008-03-07 Dan Williams <dcbw@redhat.com>
5188 * src/nm-hal-manager.c
5189 - (nm_get_device_driver_name): use net.originating_device first, fall
5190 back to physical device. HAL has deprecated physical_device.
5192 * libnm-glib/nm-device.c
5193 - (get_product_and_vendor): use net.originating_device first, fall
5194 back to physical device. HAL has deprecated physical_device.
5195 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5197 2008-03-07 Dan Williams <dcbw@redhat.com>
5200 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5201 last commit; fix that
5202 - (get_link_cache): print error string
5204 2008-03-07 Dan Williams <dcbw@redhat.com>
5207 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5208 don't need this hack any more (Benoit Boissinot)
5210 2008-03-06 Dan Williams <dcbw@redhat.com>
5213 - Die gnome-common, die
5215 2008-03-04 Dan Williams <dcbw@redhat.com>
5217 Patch from Michael Biebl <biebl@debian.org>
5219 * NetworkManager.pc.in
5220 - doesn't actually depend on dbus-1
5222 * libnm-util/nm-utils.h
5223 - remove unused #include <dbus/dbus.h>
5225 * libnm-glib/libnm_glib.pc.in
5226 - depends on glib and dbus-glib
5228 2008-03-02 Dan Williams <dcbw@redhat.com>
5230 * src/NetworkManagerPolicy.c
5231 - s/device_state_changed_idle_id/update_state_id/
5233 2008-03-02 Dan Williams <dcbw@redhat.com>
5237 src/nm-device-802-11-wireless.c
5238 src/nm-device-802-3-ethernet.c
5239 src/NetworkManagerPolicy.c
5240 - s/link_active/carrier
5241 - nm_device_set_active_link() -> nm_device_set_carrier()
5242 - nm_device_has_active_link() -> nm_device_get_carrier()
5244 2008-03-02 Dan Williams <dcbw@redhat.com>
5246 * system-settings/plugins/ifcfg-fedora/parser.c
5247 - (make_wireless_setting): fail connection creation on missing SSID
5249 2008-02-29 Dan Williams <dcbw@redhat.com>
5251 * src/NetworkManagerPolicy.c
5252 - (nm_policy_device_change_check): ensure that a previously active
5253 device with a system connection has a link before denying a switch
5254 to a user connection
5256 2008-02-29 Dan Williams <dcbw@redhat.com>
5258 * src/nm-device-802-11-wireless.c
5259 - (link_timeout_cb): try again if scanning; deactivate the device when
5260 activated if the link dies
5261 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5264 2008-02-29 Dan Williams <dcbw@redhat.com>
5266 * src/nm-device-802-11-wireless.c
5267 src/nm-device-802-11-wireless.h
5268 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5269 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5270 - (device_cleanup): reset the scan interval lower when the device
5272 - (can_scan): base decision mostly off device state, not supplicant
5273 interface state since the supplicant interface state isn't a
5274 great indicator of whether the device is active or not
5275 - (request_wireless_scan): clean up; schedule the next scan here
5276 - (schedule_scan): only back the scan interval off if a new scan
5277 actually gets scheduled; and make scan intervals tighter when the
5278 device is disconnected
5279 - (supplicant_iface_state_cb_handler): fold in the bits of
5280 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5282 - (activation_success_handler): reset scan interval to something
5285 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
5287 reviewed by: Steev <steev@steev.net>
5290 * src/backends/NetworkManagerGentoo.c:
5291 (nm_system_restart_mdns_responder):
5292 Howl is no longer a supported mDNS provider
5294 2008-02-28 Tambet Ingo <tambet@gmail.com>
5296 Get rid of a bunch of unused distro specific functions.
5298 2008-02-28 Tambet Ingo <tambet@gmail.com>
5300 Implement suse plugin for system settings daemon.
5302 * system-settings/plugins/ifcfg-suse/*: Implement.
5304 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5307 * configure.in: Check (without failing) for gio.
5308 Create ifcfg-suse plugin's Makefile.
5310 2008-02-20 Dan Williams <dcbw@redhat.com>
5312 * libnm-util/nm-connection.c
5313 libnm-util/nm-connection.h
5314 - (nm_connection_compare): accept compare flags and pass them to the
5315 setting compare function
5317 * libnm-util/nm-setting.c
5318 libnm-util/nm-setting.h
5319 - (nm_setting_compare): accept compare flags; ignore properties that are
5322 * libnm-util/nm-setting-connection.c
5323 libnm-util/nm-setting-wireless.c
5324 libnm-util/nm-setting-ppp.c
5325 libnm-util/nm-setting-wired.c
5326 - Mark some setting properties as ignorable when doing a fuzzy compare
5329 - (device_activation_precheck): use exact compare
5331 2008-02-20 Dan Williams <dcbw@redhat.com>
5333 * src/NetworkManagerPolicy.c
5334 - (nm_policy_device_change_check): get scope off the connection, not
5335 using the manager helper
5339 - (get_scope_for_proxy): rename from get_type_for_proxy()
5340 - (connection_get_settings_cb): set scope and path on connection, not
5341 using GObject data items
5342 - (get_connection_for_proxy): don't need to return path, since that
5343 can be gotten from the connection
5344 - (get_connection_for_proxy): get path off the connection, not from
5346 - (connection_removed_cb, connection_updated_cb): don't need to get
5347 path from get_connection_for_proxy(); get scope off the connection
5348 instead of using GObject data items
5349 - (connection_added_default_handler, add_one_connection_element): use
5350 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5351 - (nm_manager_get_connection_dbus_path): remove
5352 - (nm_manager_get_connection_scope): remove
5354 2008-02-20 Dan Williams <dcbw@redhat.com>
5356 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5359 * Add 'path' and 'scope' properties to NMConnection since both NM and the
5360 applet were having to hack this in anyway. Remove the 'path' stuff from
5361 NMExportedConnection
5363 * Internally rename NMConnectionType -> NMConnectionScope
5365 * Provide default implementations of the 'get_id' and 'get_settings' methods
5366 of NMExportedConnection
5368 2008-02-15 Dan Williams <dcbw@redhat.com>
5370 * src/nm-device-802-11-wireless.c
5371 - (device_cleanup): release the AP list here too so that the AP list
5372 doesn't survive across suspend/resume and up/down. There is some
5373 room for optimization, for example blow the list away when the card
5374 brought back up, but only if the device has only been down for a
5377 2008-02-15 Dan Williams <dcbw@redhat.com>
5379 * src/nm-hal-manager.c
5380 - (modem_device_creator): recognize new HAL modem capabilities
5382 2008-02-12 Dan Williams <dcbw@redhat.com>
5384 * system-settings/plugins/ifcfg-fedora/plugin.c
5385 - (watch_path): handle IN_DELETE_SELF too
5386 - (handle_connection_changed): notify when removing a connection
5387 - (stuff_changed): don't warn on unknown inotify watches; handle the
5388 case of a file moving out of the profile directory
5390 2008-02-12 Dan Williams <dcbw@redhat.com>
5392 * system-settings/plugins/ifcfg-fedora/parser.c
5393 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5395 2008-02-12 Dan Williams <dcbw@redhat.com>
5397 * libnm-util/nm-utils.c
5398 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5399 just any empty array
5401 2008-02-12 Dan Williams <dcbw@redhat.com>
5403 * system-settings/src/nm-system-config-interface.c
5404 system-settings/src/nm-system-config-interface.h
5405 - (load_connections): get_connections() should now return an allocated
5406 GSList that the system settings service will free
5408 * system-settings/plugins/ifcfg-fedora/plugin.c
5409 system-settings/plugins/ifcfg-fedora/parser.h
5410 system-settings/plugins/ifcfg-fedora/parser.c
5411 - Fix up inotify issues; handle keys-* files, handle new files appearing
5412 in the profile directory, handle resolv.conf file changes
5414 2008-02-10 Dan Williams <dcbw@redhat.com>
5416 * src/nm-device-802-3-ethernet.c
5417 - (real_bring_up): save the supplicant interface state signal id
5418 - (real_bring_down): disconnect from the supplicant interface state
5421 2008-02-07 Dan Williams <dcbw@redhat.com>
5423 * initscript/RedHat/NetworkManager.in
5424 initscript/RedHat/NetworkManagerDispatcher.in
5425 - Add new-style LSB init headers
5427 2008-02-07 Dan Williams <dcbw@redhat.com>
5429 * system-settings/src/dbus-settings.c
5430 system-settings/src/dbus-settings.h
5431 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5433 - (connection_settings_get_secrets): consolidate error returns into
5434 one place; use the new get_secrets() plugin interface function to
5435 get secrets from the plugin itself rather than using GObject data
5438 * system-settings/src/main.c
5439 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5440 load_connections): keep a private list of the plugin-returned
5441 connections, don't use the plugin's GSList
5443 * system-settings/plugins/ifcfg-fedora/plugin.c
5444 - (watch_path): watch the path, not the filename (duh)
5445 - (reload_all_connections): use the direct hash/equal functions; the
5446 ones for int aren't appropriate here
5447 - (get_secrets, system_config_interface_init): implement the
5448 get_secrets() function
5449 - (build_one_connection, find_connection_by_path): ifcfg file path is
5450 now in the connection's ConnectionData instead of being a GObject
5452 - (handle_profile_item_changed): ifcfg file path is now in the
5453 connection's ConnectionData instead of being a GObject data property;
5454 be sure to copy secrets over from the new connection to the existing
5455 connection when updating the connection's settings
5456 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5459 * system-settings/plugins/ifcfg-fedora/parser.c
5460 system-settings/plugins/ifcfg-fedora/parser.h
5461 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5462 connection_data_copy_secrets, connection_data_free,
5463 connection_data_add): new functions; connection data manipulation
5464 - (make_wireless_security_setting): stuff secrets into the
5465 connection data, not as GObject data items; make sure to close
5467 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5468 connection data to the connection
5470 2008-02-07 Dan Williams <dcbw@redhat.com>
5472 * system-settings/src/nm-system-config-interface.c
5473 system-settings/src/nm-system-config-interface.h
5474 - Add a get_secrets() interface function to retrieve secrets for a
5475 specific setting of a specific connection. Document the interface
5478 2008-02-07 Dan Williams <dcbw@redhat.com>
5480 * src/nm-device-802-11-wireless.c
5481 - (handle_auth_or_fail): new function; consolidate device activation
5482 failure check after a certain number of failures getting secrets
5483 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5484 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5485 the connection if secrets were requested more than a few times
5486 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5487 tries here; otherwise they are cleared before the IP configure
5488 timeout, which happens with open system WEP when key is wrong
5489 - (activation_success_handler): clear wireless secrets tries here too
5491 2008-02-07 Dan Williams <dcbw@redhat.com>
5493 * src/NetworkManagerPolicy.c
5494 - (connection_updated): clear invalid tag when connection gets updated
5495 to allow that connection to be tried again
5496 - (nm_policy_new): save signal ids so they can be disconnected when
5497 the policy is destroyed
5498 - (nm_policy_destroy): stop any in-progress state change idle handler,
5499 and disconnect all signals from the manager object so that none
5500 of the policy functions gets called after the policy is destroyed
5502 2008-02-06 Dan Williams <dcbw@redhat.com>
5505 - (finalize): remove devices a bit earlier; clean up system settings
5507 - (nm_manager_name_owner_changed): clean up system settings poke when
5508 the service appears, and try to restart it if it fails
5509 - (poke_system_settings_daemon_cb): try to get the system settings
5510 service started through D-Bus service activation
5511 - (initial_get_connections): start the system settings daemon if it's
5514 2008-02-05 Dan Williams <dcbw@redhat.com>
5516 * src/supplicant-manager/nm-supplicant-config.c
5517 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5518 broadcast networks too
5520 2008-02-04 Dan Williams <dcbw@redhat.com>
5522 * system-settings/plugins/ifcfg-fedora/parser.c
5523 - (make_wireless_security_setting): fix spelling; unencrypted networks
5524 need key_mgmt set too
5525 - (parser_parse_file): validate ifcfg file name and don't try to parse
5526 .bak files; ensure that an error is set whenever NULL gets returned
5528 2008-02-04 Dan Williams <dcbw@redhat.com>
5530 * system-settings/src/Makefile.am
5531 - Install D-Bus service activation file for the system settings
5534 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5535 - D-Bus service activation file for system settings service
5537 2008-02-04 Dan Williams <dcbw@redhat.com>
5539 * system-settings/src/main.c
5540 - (parse_config_file): parse a config file
5541 - (main): accept --config option and read plugins from config file
5543 2008-02-04 Dan Williams <dcbw@redhat.com>
5545 * system-settings/plugins/ifcfg-fedora/plugin.c
5546 - Change reported name to 'ifcfg-fedora'
5547 - Use IFCFG_PLUGIN_NAME
5549 * system-settings/plugins/ifcfg-fedora/plugin.c
5550 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5552 2008-02-04 Dan Williams <dcbw@redhat.com>
5554 * system-settings/plugins/ifcfg-fedora/parser.c
5555 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5556 - (make_connection_setting): use get_ifcfg_name()
5557 - (make_wireless_security_setting): handle shadow key files
5558 - (get_one_wep_key): treat empty string as NULL
5560 2008-02-04 Dan Williams <dcbw@redhat.com>
5562 * src/supplicant-manager/nm-supplicant-manager.c
5563 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5564 glib automatically reschedule
5565 - (nm_supplicant_manager_init): immediately try to start the supplicant
5566 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5569 2008-02-01 Dan Williams <dcbw@redhat.com>
5571 * src/NetworkManagerPolicy.c
5572 - (device_state_changed): schedule a change check when a device gets
5573 deactivated so something happens if you disconnect GSM/CDMA
5575 2008-01-31 Dan Williams <dcbw@redhat.com>
5577 * src/nm-device-802-11-wireless.h
5578 src/nm-device-802-11-wireless.c
5579 - (ap_list_get_ap_by_ssid, is_associated,
5580 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5581 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5582 - (nm_device_802_11_wireless_get_activation_ap): collapse
5583 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5586 2008-01-30 Dan Williams <dcbw@redhat.com>
5588 * system-settings/plugins/ifcfg
5589 * system-settings/plugins/ifcfg-fedora
5590 - Move the ifcfg plugin to ifcfg-fedora
5592 2008-01-24 Dan Williams <dcbw@redhat.com>
5594 * libnm-glib/nm-device-802-11-wireless.c
5595 - (get_access_point): move the "/" check here; check for invalid path
5597 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5598 to get_access_point()
5599 - (access_point_added_proxy, access_point_removed_proxy): don't try
5600 to send signals for non-existent access points
5602 2008-01-24 Dan Williams <dcbw@redhat.com>
5604 * libnm-glib/nm-device-802-11-wireless.c
5605 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5607 2008-01-23 Dan Williams <dcbw@redhat.com>
5609 * libnm-glib/libnm_glib.c
5610 - (libnm_glib_init): make thread joinable
5611 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5613 2008-01-23 Dan Williams <dcbw@redhat.com>
5615 * test/libnm_glib_test.c
5616 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5617 - (main): set up signal handlers; call libnm_glib_shutdown
5619 2008-01-21 Dan Williams <dcbw@redhat.com>
5621 * include/NetworkManager.h
5622 - Add CDMA mobile broadband card device type
5624 * src/nm-hal-manager.c
5625 - (modem_device_creator): handle both CDMA and GSM modems; the device
5626 must now be tagged with 'cdma' or 'gsm' capability
5628 * src/nm-cdma-device.c
5629 src/nm-cdma-device.h
5631 - Add the CDMA mobile broadband card device class
5633 * libnm-util/nm-connection.c
5634 - (register_default_settings): add NMSettingCdma
5636 * libnm-util/nm-setting-cdma.c
5637 libnm-util/nm-setting-cdma.h
5638 libnm-util/Makefile.am
5639 - Add the CDMA mobile broadband card setting class
5641 * libnm-glib/nm-cdma-device.c
5642 libnm-glib/nm-cdma-device.h
5643 libnm-glib/Makefile.am
5644 - Add the CDMA mobile broadband card GLib proxy class
5646 * libnm-glib/nm-client.c
5647 - (get_device): handle CDMA devices too
5649 2008-01-21 Dan Williams <dcbw@redhat.com>
5651 * src/ppp-manager/nm-ppp-manager.c
5652 - (ip4_config_get): set peer address too
5654 * src/ppp-manager/nm-pppd-plugin.c
5655 - (nm_ip_up): try harder to get the peer's address
5657 * src/NetworkManagerSystem.c
5658 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5659 address, use that too. Otherwise, some PPP connections won't work.
5661 2008-01-19 Dan Williams <dcbw@redhat.com>
5663 * src/NetworkManagerPolicy.c
5664 - (nm_policy_device_change_check): system connections override user
5665 connections; don't activate a user connection if there's a currently
5666 active system connection, and new, better system connections always
5667 interrupt user connections
5669 2008-01-19 Dan Williams <dcbw@redhat.com>
5672 - (nm_manager_get_connection_type): new function
5674 2008-01-19 Dan Williams <dcbw@redhat.com>
5676 * src/nm-device-802-11-wireless.c
5677 - (real_get_best_connection): collapse find_best_connection() into this
5680 2008-01-19 Dan Williams <dcbw@redhat.com>
5682 * src/nm-device-802-3-ethernet.c
5683 - (real_get_best_connection): collapse find_best_connection() into this
5686 2008-01-18 Dan Williams <dcbw@redhat.com>
5688 * src/nm-device-802-3-ethernet.c
5689 - (find_best_connection): check MAC address too
5690 - (real_get_best_connection): let autoconnect=True connections activate
5691 for devices that don't have carrier detection
5693 * src/nm-device-802-11-wireless.c
5694 - (find_best_connection): check MAC address too
5696 2008-01-18 Dan Williams <dcbw@redhat.com>
5698 * system-settings/plugins/ifcfg/parser.c
5699 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5701 2008-01-17 Dan Williams <dcbw@redhat.com>
5703 * src/nm-device-802-3-ethernet.c
5704 - (nm_device_802_3_ethernet_carrier_on,
5705 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5706 carrier events that might come in for devices that don't support
5709 2008-01-17 Dan Williams <dcbw@redhat.com>
5711 * src/nm-device-interface.c
5712 - (nm_device_interface_check_connection_conflicts): need to actually
5713 get the interface, not cast to the object
5716 - (nm_device_check_connection_conflicts): need to get the device class,
5717 not cast the device to the device class
5719 2008-01-17 Dan Williams <dcbw@redhat.com>
5721 * src/nm-device-802-11-wireless.c
5722 - (real_check_connection_conflicts): ignore connections that aren't
5723 wireless connections
5725 2008-01-17 Dan Williams <dcbw@redhat.com>
5727 * src/NetworkManagerPolicy.c
5728 - (nm_policy_device_change_check): clear change check idle here
5729 - (device_change_check_done): remove
5730 - (schedule_change_check): simplify
5732 2008-01-17 Dan Williams <dcbw@redhat.com>
5735 - (check_connection_allowed): take an NMDeviceInterface instead of
5736 an NMDevice object as an argument
5737 - (nm_manager_activate_device): pass an NMDeviceInterface to
5738 check_connection_allowed()
5740 2008-01-13 Dan Williams <dcbw@redhat.com>
5742 * libnm-glib/nm-device-802-11-wireless.c
5743 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5745 2008-01-12 Dan Williams <dcbw@redhat.com>
5747 * src/nm-device-802-11-wireless.c
5748 - (activation_success_handler): if a match was found in the scan list
5749 and that match is a hidden AP, update that AP's SSID
5751 2008-01-11 Dan Williams <dcbw@redhat.com>
5753 * src/NetworkManagerAP.c
5754 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5756 * src/nm-device-802-11-wireless.c
5757 - (get_active_ap): do two passes over the scan list if the caller
5758 requests that hidden APs get matched too; during the second pass
5759 when matching hidden APs, ignore the SSID since hidden APs in the
5760 scan list don't have an SSID yet
5761 - (periodic_update): move some checks to
5762 nm_device_802_11_periodic_update() because not all callers need them
5763 - (nm_device_802_11_periodic_update): move some checks here from
5765 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5766 matching on incoming scan results, because the fake AP's flags
5767 might be slightly different (yet still compatible) with the incoming
5768 scan result's flags and they might actually be the same AP; update
5769 the rate on merged APs too
5770 - (activation_success_handler): update the frequency of the fake AP
5771 on successful connection; match hidden APs too since if the
5772 current AP is fake, there might already be a scan result in the
5773 scan list for the desired AP, just without it's SSID filled in yet
5775 2008-01-10 Dan Williams <dcbw@redhat.com>
5777 * src/NetworkManagerAP.c
5778 - (foreach_property_cb): catch more hidden SSID formats
5780 2008-01-10 Dan Williams <dcbw@redhat.com>
5782 Fix gnome.org #464215. Requires the kernel patch titled
5783 "Introduce WEXT scan capabilities" but will handle the patch not being
5784 present, you'll just continue to have problems with hidden SSIDs when
5785 using mac80211-based drivers.
5787 * src/supplicant-manager/nm-supplicant-config.h
5788 src/supplicant-manager/nm-supplicant-config.c
5789 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
5790 whether the driver supports SSID scans or not. If it does, and if
5791 the AP is hidden, use ap_scan=1 instead of ap_scan=2
5793 * src/nm-device-802-11-wireless.c
5794 - (constructor): check whether or not the driver supports SSID scans
5795 - (build_supplicant_config): pass driver SSID scan capability when
5796 building the wireless bits of the supplicant config
5798 2008-01-09 Dan Williams <dcbw@redhat.com>
5802 - (device_activation_precheck, check_connection_complete): remove this
5803 virtual function; incomplete connections should be invalid by
5804 definition, complete-ness should be checked in the setting's
5807 * src/nm-serial-device.c
5809 - (real_check_connection_complete): remove
5811 * libnm-util/nm-setting-serial.c
5812 - (verify): new function; ensure there is a PPP setting too
5814 * libnm-util/nm-setting-gsm.c
5815 - (verify): ensure there is a serial setting too
5817 2008-01-06 Dan Williams <dcbw@redhat.com>
5819 * src/dhcp-manager/nm-dhcp-manager.c
5820 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
5823 2008-01-04 Dan Williams <dcbw@redhat.com>
5825 * src/named-manager/nm-named-manager.c
5826 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
5827 nameservers if the secondary config doesn't have any
5830 2008-01-02 Tambet Ingo <tambet@gmail.com>
5832 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
5833 with G_PARAM_CONSTRUCT so that they get the default values.
5835 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
5836 the monitoring device and prints out the output for now. Or more precicely, doesn't
5837 do absolutely anything right now since the montoring device argument is never set.
5839 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
5840 requires it's own knob to turn it on.
5841 (config_fd): Add NMSettingSerial to the arguments list.
5842 (nm_serial_device_open): Ditto.
5843 (get_reply_got_data): Ignore the terminators at the beginning of the output.
5844 (nm_serial_device_get_io_channel): Implement.
5846 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
5847 a new reference every time (and forgetting to release it sometimes) is a pain and
5848 it's not like NMManager could work without dbus.
5849 (nm_manager_add_device): Register the added device on dbus here.
5851 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
5854 * src/nm-device.c (constructor): Don't export the device here, instead export
5855 it when it's added to the NMManager's device list.
5857 2007-12-31 Dan Williams <dcbw@redhat.com>
5859 * src/nm-device-interface.c
5860 src/nm-device-interface.h
5861 - (nm_device_interface_check_connection_conflicts): new function
5865 - (nm_device_check_connection_conflicts): new function
5866 - (device_activation_precheck): don't require subclasses to implement
5867 check_connection_complete()
5868 - check_connection() -> check_connection_complete()
5870 * src/nm-device-802-11-wireless.c
5871 - (real_check_connection): remove; unused
5872 - (real_check_connection_conflicts): implement, handle lockdown for
5875 * src/nm-device-802-3-ethernet.c
5876 - (real_check_connection): remove; unused
5879 - (check_connection_allowed): new function
5880 - (nm_manager_activate_device): ensure the connection being requested
5881 is allowed to be activated
5883 * src/nm-serial-device.c
5885 - real_check_connection() -> real_check_connection_complete()
5887 2007-12-27 Dan Williams <dcbw@redhat.com>
5889 * src/nm-device-interface.c
5890 src/nm-device-interface.h
5891 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
5892 normalize and expand errors
5893 - (nm_device_interface_init): register errors so they can be marshalled
5895 - (nm_device_interface_activate): ensure that failure of activation
5900 - (device_activation_precheck): implementations of check_connection()
5901 now take a GError and must fill it in if the check fails. Return
5902 more descriptive error if the requested connection is already
5904 - (nm_device_activate): actually try to return descriptive errors on
5907 * src/nm-device-802-11-wireless.c
5908 src/nm-device-802-3-ethernet.c
5909 src/nm-serial-device.c
5911 - (real_check_connection): return more descriptive errors on failure
5913 * src/NetworkManagerPolicy.c
5914 - (nm_policy_device_change_check): print activation errors in the logs
5917 - (nm_manager_error_quark, nm_manager_error_get_type,
5918 nm_manager_class_init): new errors
5919 - (nm_manager_activate_device): handle errors
5920 - (nm_manager_error_new): removed
5921 - (wait_for_connection_expired, connection_added_default_handler,
5922 impl_manager_activate_device): better error handling
5924 2007-12-27 Dan Williams <dcbw@redhat.com>
5926 Fixes gnome.org #466954
5928 * src/supplicant-manager/nm-supplicant-settings-verify.c
5929 - Allow 'frequency' network property
5931 * src/supplicant-manager/nm-supplicant-config.c
5932 src/supplicant-manager/nm-supplicant-config.h
5933 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
5934 for callers to specify the frequency an Ad-Hoc network should operate
5935 on. Some drivers require this to successfully create an Ad-Hoc
5938 * src/nm-device-802-11-wireless.c
5939 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
5940 guint32 value in MHz
5941 - (constructor, nm_device_802_11_wireless_get_frequency): use
5943 - (find_supported_frequency): new function; find a free supported
5944 frequency for a user-created Ad-Hoc network
5945 - (build_supplicant_config): if no frequency was specified for a user-
5946 created Ad-Hoc network, find a free one to use
5947 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
5948 a specific object as user-created
5950 2007-12-27 Dan Williams <dcbw@redhat.com>
5952 * libnm-util/nm-utils.c
5953 libnm-util/nm-utils.h
5954 - (nm_utils_security_valid): add 'adhoc' argument and handle security
5957 2007-12-24 Dan Williams <dcbw@redhat.com>
5959 * libnm-util/nm-setting-wireless.c
5960 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
5961 185, 187, 188, 192, and 196
5963 2007-12-24 Dan Williams <dcbw@redhat.com>
5965 * src/nm-device-802-11-wireless.c
5966 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
5967 a channel # instead of a frequency
5969 2007-12-24 Dan Williams <dcbw@redhat.com>
5971 * src/NetworkManagerAP.c
5972 src/NetworkManagerAP.h
5973 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
5974 - (freq_to_channel): handle split band tables
5975 - (channel_to_freq): handle split band tables, take a band argument
5977 2007-12-24 Dan Williams <dcbw@redhat.com>
5979 * libnm-util/nm-setting-connection.h
5980 libnm-util/nm-setting-connection.c
5981 - Add 'lockdown' member
5983 2007-12-22 Dan Williams <dcbw@redhat.com>
5985 * libnm-util/nm-setting-wireless.c
5986 - (nm_setting_wireless_class_init): add missing 'rate' property
5989 2007-12-18 Dan Williams <dcbw@redhat.com>
5991 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
5993 * src/nm-netlink-monitor.c
5994 src/nm-netlink-monitor.h
5995 - Remove handrolled netlink, use libnl instead
5997 * src/nm-device-802-3-ethernet.c
5998 - (constructor, nm_device_802_3_ethernet_carrier_off,
5999 nm_device_802_3_ethernet_carrier_on): use new names
6001 2007-12-17 Dan Williams <dcbw@redhat.com>
6004 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6005 and fixes memory leaks)
6008 - (nm_netlink_get_default_handle): handle new versions of libnl that
6009 automatically handle the netlink PID
6011 2007-12-17 Dan Williams <dcbw@redhat.com>
6013 Patch from Michael Biebl <biebl@debian.org>
6016 src/ppp-manager/Makefile.am
6017 - fix up install dir of pppd plugin
6018 - clean up configure.in a bit
6020 2007-12-12 Dan Williams <dcbw@redhat.com>
6022 * system-settings/src/nm-system-settings.conf
6023 - Allow non-root clients (like the applet) to read settings
6025 2007-12-10 Tambet Ingo <tambet@gmail.com>
6027 * Replace all occurences of 'UMTS' with 'GSM'.
6029 2007-12-07 Dan Williams <dcbw@redhat.com>
6031 * src/nm-serial-device.c
6032 - (real_is_up): serial devices are always "up"
6034 2007-12-07 Dan Williams <dcbw@redhat.com>
6037 src/NetworkManagerSystem.c
6038 - (new_nl_handle): ensure that the same netlink pid is never chosen
6039 twice (gnome.org #491047)
6040 - Make more robust against allocation-related failures should they occur
6042 2007-12-07 Dan Williams <dcbw@redhat.com>
6044 Noticed by Christian Persch <chpe@gnome.org>
6046 Always chain up to parent object in dispose and finalize handlers.
6049 2007-12-07 Dan Williams <dcbw@redhat.com>
6051 * src/nm-device-802-11-wireless.c
6052 - Wrap #include of linux/mii.h to fix redefined structures due to
6053 incorrect kernel headers (gnome.org #350061)
6055 2007-12-06 Tambet Ingo <tambet@gmail.com>
6057 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6058 before doing anything else.
6059 (init_modem): Move modem initialization here.
6061 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6062 (nm_serial_device_flash): Implement.
6064 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6065 changes signal is "StateChanged" and not "Status".
6066 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6068 2007-12-06 Dan Williams <dcbw@redhat.com>
6070 * src/supplicant-manager/nm-supplicant-config.c
6071 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6072 to only send some options when they make sense; also send phase2
6073 option to the supplicant (possible fix for rh #399631)
6075 2007-12-06 Tambet Ingo <tambet@gmail.com>
6077 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6078 arguments: This whole file shouldn't really know anything about NMDevices, it
6079 should deal only with device interfaces. Devices might have different ifaces for
6080 different stuff and this place shouldn't know anything about it.
6082 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6083 (global_state_changed): Implement. In the current NM it's not really important,
6084 but will be required in the case of multiple active devices. (Or even better,
6085 if stuff like that gets moved out from NM).
6087 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6088 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6091 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6092 devices like serial devices (ttyS0 and ppp0 for example).
6093 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6095 (nm_device_set_ip_iface): Implement.
6096 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6097 after setting ip4_config from here ...
6098 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6099 than this function should call nm_system_device_set_from_ip4_config() because no
6100 other code has enough information on which arguments to use. So instead, other code
6101 could just set the new ip4 config using this function and everyone is happy.
6103 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6104 if we happen to get deactivated while something is pending.
6105 (automatic_registration): Handle the response that indicates pending network
6106 registration and wait until the pending registration is done.
6107 (real_deactivate_quickly): If there's a pending operation, cancel it.
6109 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6110 (real_deactivate_quickly): ... and remove it when it's down.
6111 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6113 (nm_serial_device_wait_for_reply): Ditto.
6115 2007-12-05 Tambet Ingo <tambet@gmail.com>
6117 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6118 (get_network_done): Remove newline, nm_info() does it already.
6119 (real_act_stage1_prepare): Turn the modem echo off.
6121 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6122 device, set the route to the device interface. This is a hack.
6124 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6125 return, no need for a new-line.
6126 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6127 Change the device iface here (ugh).
6128 (real_act_stage4_get_ip4_config): Implement.
6129 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6130 Restore the device iface.
6132 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6133 device is not wired or wireless (eg, automatically upped) device.
6135 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6137 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6139 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6140 before calling it's is_device_fn().
6142 2007-12-05 Dan Williams <dcbw@redhat.com>
6144 * libnm-util/nm-utils.c
6145 - (nm_utils_register_value_transformations,
6146 nm_utils_convert_gvalue_hash_to_string): better debug output of
6147 GHashTables of GValues too
6149 2007-12-04 Dan Williams <dcbw@redhat.com>
6151 * initscript/RedHat/NetworkManager.in
6152 - No longer start named; it's D-Bus interface is going away
6154 2007-12-04 Dan Williams <dcbw@redhat.com>
6156 Patch from Michael Biebl <biebl@debian.org>
6158 * system-settings/plugins/ifcfg/Makefile.am
6159 system-settings/src/main.c
6160 system-settings/src/Makefile.am
6161 - Put system settings plugins in NM plugins dir
6163 * src/ppp-manager/Makefile.am
6164 src/ppp-manager/nm-ppp-manager.c
6165 - Move pppd plugin to NM plugins dir
6167 2007-12-04 Dan Williams <dcbw@redhat.com>
6169 * libnm-util/nm-setting-vpn-properties.h
6170 - Clarify usage of the 'data' member of the setting
6172 * libnm-util/nm-setting-vpn-properties.c
6173 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6174 - (set_property): just remove all the settings; don't recreate the has
6175 - (update_one_secret): don't need to create the hash table here since
6176 it should always be present
6178 2007-12-03 Tambet Ingo <tambet@gmail.com>
6180 Implement PIN and PUK requesting.
6182 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6183 (enter_pin): Handle PIN and PUK requests.
6184 (real_act_stage1_prepare): Clear the secret type.
6185 (real_connection_secrets_updated): Implement this class method to get
6186 notified when new secrets arrive.
6187 (nm_umts_device_class_init): Add private data back to the umts device class
6188 to store the required secret type.
6190 2007-12-01 Dan Williams <dcbw@redhat.com>
6192 * system-settings/plugins/ifcfg/parser.c
6193 - (parser_parse_file): don't try to verify NULL connections
6195 2007-12-01 Dan Williams <dcbw@redhat.com>
6197 * system-settings/src/main.c
6198 - (load_connections, add_connection_to_settings): actually export
6199 plugin-provided connections over D-Bus so NM can get them
6201 2007-12-01 Dan Williams <dcbw@redhat.com>
6203 * system-settings/plugins/ifcfg/parser.c
6204 system-settings/plugins/ifcfg/parser.h
6205 system-settings/plugins/ifcfg/plugin.c
6206 - Hook up more inotify bits (untested)
6208 2007-11-29 Dan Williams <dcbw@redhat.com>
6210 * system-settings/src/nm-system-config-interface.h
6211 system-settings/src/nm-system-config-interface.c
6212 - (nm_system_config_interface_init,
6213 nm_system_config_interface_get_connections): add
6215 * system-settings/src/main.c
6216 - (load_plugins, load_connections, main): use a GSList for plugins
6217 to ensure priority ordering
6219 * system-settings/plugins/ifcfg/parser.c
6220 - (ifcfg_error_quark): move to plugin.c, and rename
6222 * system-settings/plugins/ifcfg/plugin.h
6223 system-settings/plugins/ifcfg/plugin.c
6224 - (ifcfg_plugin_error_quark): move here from parser.c
6225 - rework connection loading and initialization
6226 - Add preliminary inotify support for network profile config file
6228 2007-11-28 Tambet Ingo <tambet@gmail.com>
6230 Merge the beginnings of the new GSM card support.
6232 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6233 ppp watch source before killing pppd - If this happens from g_object_unref()
6234 then the ppp manager is already destroyed by the time the watch callback runs.
6236 * src/nm-hal-manager.c: Add a device_type_name string to the device
6237 creators, so that we can print a nice human readable string when a
6240 * src/nm-umts-device.c (automatic_registration_get_network): Query
6241 for the activated network, not much is done with the result thought.
6243 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6244 (ppp_ip4_config): Change the device state to activated here for now.
6245 (real_check_connection): Make sure the connection includes ppp setting.
6247 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6249 * libnm-glib/Makefile.am: Add the new files to build.
6251 * libnm-glib/nm-umts-device.c:
6252 * libnm-glib/nm-umts-device.h: Implement.
6254 2007-11-26 Tambet Ingo <tambet@gmail.com>
6256 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6257 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6259 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6260 the timeout source - this function is only called when the timeout source has
6262 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6263 to be big enough to contain the terminating zero element as well.
6264 The timeout argument is meant to be in seconds now.
6265 (real_deactivate_quickly): Implement.
6267 * src/NetworkManager.conf: Allow root to own
6268 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6270 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6271 (not unsigned ints).
6273 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
6274 small issue with parity bounds - capital letters have lower ascii codes
6275 than lower case letters.
6277 * libnm-util/nm-connection.c (register_default_settings): Register serial
6280 2007-11-22 Tambet Ingo <tambet@gmail.com>
6282 Remove the "index" property from devices as not all device types have this.
6284 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6286 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6287 (wired_device_creator): Get the device interface from hal to create the device.
6288 (wireless_device_creator): Ditto.
6290 * src/nm-device.c (nm_device_init): Remove the index member.
6291 (constructor): Remove the checks for index property, make interface property
6292 a require constructor property.
6293 Use the HAL udi for DBus path for devices.
6294 (nm_device_get_index): Remove.
6295 (set_property): Remove index handling.
6296 (get_property): Ditto.
6297 (nm_device_get_dbus_path): Remove.
6299 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6302 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6303 Access the device index through it's interface.
6304 (nm_device_802_3_ethernet_link_deactivated): Ditto.
6305 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6306 index argument. Add interface argument.
6308 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6309 the useless test_dev argument. Remove index argument. Add interface arugment.
6311 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6312 device index through interface.
6313 (nm_system_set_mtu): Ditto.
6315 * introspection/nm-device.xml: Remove the "Index" property.
6317 2007-11-21 Tambet Ingo <tambet@gmail.com>
6319 * src/nm-serial-device.c:
6320 * src/nm-serial-device.c:
6321 * src/nm-umts-device.c:
6322 * src/nm-umts-device.h: Implement.
6324 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
6325 allocated by libhal.
6326 (modem_device_creator): Implement.
6327 (register_built_in_creators): Register the modem creator.
6329 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
6330 Remove the unused test_dev argument.
6332 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6334 * src/Makefile.am: Add new files to build.
6335 Link in ppp-manager.
6337 * libnm-util/nm-setting-umts.c:
6338 * libnm-util/nm-setting-umts.h:
6339 * libnm-util/nm-setting-serial.c:
6340 * libnm-util/nm-setting-serial.h: Implement.
6342 * libnm-util/Makefile.am: Add new files to build.
6344 2007-11-28 Dan Williams <dcbw@redhat.com>
6346 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6348 Support DHCP-provided static routes.
6350 * src/nm-ip4-config.h
6352 - Add get/set functions for static routes
6354 * src/dhcp-manager/nm-dhcp-manager.c
6355 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6358 * src/NetworkManagerSystem.c
6359 - (nm_system_device_set_from_ip4_config): set any static routes on the
6360 interface when applying the IP4Config
6362 2007-11-28 Dan Williams <dcbw@redhat.com>
6364 * src/nm-device-802-11-wireless.c
6365 - (real_act_stage1_prepare): mark APs created for hidden networks
6368 2007-11-27 Dan Williams <dcbw@redhat.com>
6370 * system-settings/src/nm-system-config-interface.h
6371 - Note how to store secrets on NMSetting objects
6373 * system-settings/src/dbus-settings.c
6374 - (connection_settings_get_secrets): implement
6376 2007-11-27 Dan Williams <dcbw@redhat.com>
6378 * system-settings/plugins/ifcfg/Makefile.am
6379 system-settings/plugins/ifcfg/parser.c
6380 system-settings/plugins/ifcfg/parser.h
6381 system-settings/plugins/ifcfg/plugin.c
6382 - Parse wireless connections too
6384 * system-settings/src/dbus-settings.c
6385 system-settings/src/dbus-settings.h
6386 system-settings/src/main.c
6387 - Handle connection update/removal if the plugin supports it
6389 2007-11-27 Dan Williams <dcbw@redhat.com>
6391 * src/nm-dbus-manager.h
6392 src/nm-hal-manager.c
6393 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6397 src/NetworkManagerDbusUtils.c
6398 src/NetworkManagerDbusUtils.h
6399 - Remove these two source files; they are unused
6401 2007-11-27 Dan Williams <dcbw@redhat.com>
6403 * src/vpn-manager/nm-vpn-manager.c
6404 - (impl_vpn_manager_connect): fix system settings check (found by
6407 2007-11-26 Dan Williams <dcbw@redhat.com>
6409 * Fix warnings so everything compiles with --enable-more-warnings
6411 2007-11-25 Dan Williams <dcbw@redhat.com>
6414 - Rework structure and code to use GModule-loaded plugins and a plugin
6415 interface that plugins export to the system settings service
6417 2007-11-21 Dan Williams <dcbw@redhat.com>
6420 - Add Soren's system settings service. Needs work for distros other
6421 than Fedora; the backends from NM should mostly migrate to here
6422 and be converted to GObjects
6424 2007-11-21 Dan Williams <dcbw@redhat.com>
6426 * libnm-util/nm-setting-vpn-properties.c
6427 - (set_property): must deep-copy the given settings hash, otherwise
6428 double-free errors occur when the setting is disposed of
6430 2007-11-21 Dan Williams <dcbw@redhat.com>
6432 * src/vpn-manager/nm-vpn-act-request.h
6433 src/vpn-manager/nm-vpn-act-request.c
6436 2007-11-20 Dan Williams <dcbw@redhat.com>
6438 * libnm-util/nm-utils.c
6439 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6440 nm_utils_convert_ip4_addr_struct_array_to_string,
6441 nm_utils_register_value_transformations): print out the readable
6442 values of more types of properties of NMSettings subclasses
6444 2007-11-20 Dan Williams <dcbw@redhat.com>
6446 * libnm-util/nm-setting-ip4-config.c
6447 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6448 nm_setting_ip4_config_class_init): apparently dbus-glib can't
6449 marshal GValueArrays inside collections, so switch to types that it
6450 can actually marshal/demarshal
6452 2007-11-16 Dan Williams <dcbw@redhat.com>
6454 * libnm-util/nm-setting-wireless-security.c
6455 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6456 minimal verification of EAP methods too
6457 - (verify): verify phase1 eap methods too
6459 2007-11-15 Dan Williams <dcbw@redhat.com>
6461 * libnm-glib/nm-device.h
6462 libnm-glib/nm-device.c
6463 - (nm_device_get_product, nm_device_get_vendor): should be returning
6466 2007-11-15 Dan Williams <dcbw@redhat.com>
6468 * libnm-glib/nm-device.c
6469 - (get_product_and_vendor): don't try to free things that should be
6472 2007-11-15 Dan Williams <dcbw@redhat.com>
6474 * src/NetworkManagerUtils.c
6475 - (nm_ethernet_address_is_valid): unbreak previous fix
6477 2007-11-15 Dan Williams <dcbw@redhat.com>
6479 * src/supplicant-manager/nm-supplicant-config.c
6480 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6483 2007-11-15 Dan Williams <dcbw@redhat.com>
6485 * src/NetworkManagerUtils.c
6486 - (nm_ethernet_address_is_valid): fix style, clarify
6487 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6489 * src/nm-device-802-11-wireless.c
6490 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6491 - (nm_device_802_11_wireless_get_ssid,
6492 nm_device_802_11_wireless_get_bssid,
6493 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6494 before calling the ioctl; fixes valgrind-reported jump depends on
6495 uninitialized value errors
6497 2007-11-15 Dan Williams <dcbw@redhat.com>
6499 * libnm-util/nm-setting.c
6500 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6501 unecessary to serialize 'name'
6503 * src/nm-activation-request.c
6504 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6507 2007-11-15 Dan Williams <dcbw@redhat.com>
6509 * libnm-util/nm-setting-connection.h
6510 libnm-util/nm-setting-connection.c
6511 - Rename the 'name' property to 'id', because it conflicted with the
6512 NMSetting superclass' 'name' property.
6514 * libnm-util/nm-setting.c
6515 - (nm_setting_to_hash): serialize the 'name' property
6516 - (one_property_cb): ignore 'name' on deserialization of a connection
6518 * src/nm-device-802-11-wireless.c
6519 src/vpn-manager/nm-vpn-connection.c
6520 src/NetworkManagerPolicy.c
6521 - Fix up for NMSettingConnection 'name'->'id' changes
6523 2007-11-13 Dan Williams <dcbw@redhat.com>
6525 * libnm-glib/nm-device-802-11-wireless.h
6526 libnm-glib/nm-device-802-11-wireless.c
6527 - (nm_device_802_11_wireless_get_hw_address): return should be const
6530 libnm-glib/libnm-glib-test.c
6531 - Fixes for above change
6533 2007-11-12 Dan Williams <dcbw@redhat.com>
6535 * src/supplicant-manager/nm-supplicant-settings-verify.c
6536 - Allow fragment_size option
6538 * src/supplicant-manager/nm-supplicant-settings-verify.c
6539 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6540 EAP fragment size than the default to help some TLS connections
6542 2007-11-12 Dan Williams <dcbw@redhat.com>
6544 Make certs actually work. The private key is now a secret, and should be
6545 decrypted when requested by NM. The private key and phase2 private key
6546 passwords are no longer interesting to NM because they should be used by
6547 the settings service to decrypt the private key itself before passing it
6548 to NM, and hence have been removed as fields.
6550 * libnm-util/nm-setting-wireless-security.h
6551 libnm-util/nm-setting-wireless-security.c
6552 - Remove private-key-passwd and phase2-private-key-passwd from
6554 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6555 need_secrets): use property #defines instead strings to keep things
6557 - (need_secrets_tls): if a client certificate is present but no
6558 private key, request the private key
6559 - (set_property, get_property, nm_setting_wireless_security_class_init):
6560 remove private key password stuff, mark private keys as secret
6562 * src/supplicant-manager/nm-supplicant-settings-verify.c
6563 - Remove private_key_passwd and private_key2_passwd from opt_table
6565 2007-11-09 Dan Williams <dcbw@redhat.com>
6567 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6568 Since the vpn-properties are managed and known by the VPN daemons themselves,
6569 libnm-util doesn't know what's secret and what's in the setting's 'data'
6572 * libnm-util/nm-setting.h
6573 libnm-util/nm-setting.c
6574 - Add the ability for subclasses to override update_one_secret
6576 * libnm-util/nm-setting-vpn-properties.c
6577 - Override update_one_secret and just copy the values into the
6580 2007-11-09 Dan Williams <dcbw@redhat.com>
6582 * libnm-glib/nm-settings.h
6583 libnm-glib/nm-settings.c
6584 - (nm_settings_new_error): remove
6585 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6586 clients should use g_set_error() with NM_SETTINGS_ERROR
6588 2007-11-09 Dan Williams <dcbw@redhat.com>
6590 * src/supplicant-manager/nm-supplicant-config.c
6591 - (nm_supplicant_config_add_setting_wireless_security): private key
6592 passwords are never sent to wpa_supplicant, because the supplicant
6593 should never be reading random files from the disk. Clients like
6594 the applet are required to decrypt the private keys and send NM
6595 the decrypted blobs.
6597 2007-11-08 Dan Williams <dcbw@redhat.com>
6599 * libnm-util/nm-setting-wireless-security.h
6600 libnm-util/nm-setting-wireless-security.c
6601 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6602 members to 802-11-wireless-security structure. This should be used
6603 to indicate that the values in private-key and phase2-private-key
6604 are already decrypted by the user agent, and that no
6605 private-key-passwd or phase2-private-key-passwd should be expected.
6606 It is not meant to be a stored configuration value, but meant to
6607 be set when the conneciton is sent to NM over dbus.
6609 2007-11-08 Dan Williams <dcbw@redhat.com>
6611 * libnm-util/nm-connection.h
6612 libnm-util/nm-connection.c
6613 - (nm_connection_need_secrets): add argument to return hints
6615 * src/nm-device-802-11-wireless.c
6616 - (link_timeout_cb, supplicant_connection_timeout_cb,
6617 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6618 nm_connection_need_secrets() change
6620 2007-11-07 Tambet Ingo <tambet@gmail.com>
6622 Rework NMSetting structures: Move each setting to it's own file.
6623 Convert to GObject. Remove home grown setting types and use GTypes.
6624 Use GObject property introspection for hash conversion, enumerating
6627 * libnm-util/nm-setting-connection.[ch]
6628 * libnm-util/nm-setting-ip4-config.[ch]
6629 * libnm-util/nm-setting-ppp.[ch]
6630 * libnm-util/nm-setting-vpn.[ch]
6631 * libnm-util/nm-setting-vpn-properties.[ch]
6632 * libnm-util/nm-setting-wired.[ch]
6633 * libnm-util/nm-setting-wireless.[ch]
6634 * libnm-util/nm-setting-wireless-security.[ch]
6636 New files, each containing a setting.
6638 * libnm-util/nm-setting-template.[ch]: A template for creating new
6639 settings. To use it, just replace 'template' with the new setting
6640 name, and you're half-way done.
6642 * libnm-util/nm-setting.c: Convert to GObject and use GObject
6643 introspection instead of internal types and tables.
6645 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6647 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6648 GValue types defined by dbus-glib for composed types like collections,
6649 structures and maps.
6651 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6652 a setting from connection takes the setting type now. Also, since
6653 the settings are in multiple files, include relevant settings.
6655 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
6658 * src/backends/NetworkManagerGentoo.c:
6659 (nm_system_restart_mdns_responder): Implement restarts for other mdns
6660 providers in Gentoo.
6662 2007-10-31 Dan Williams <dcbw@redhat.com>
6664 * libnm-util/nm-connection.c
6665 - (gvalue_to_string): handle UINT32 arrays
6667 2007-10-31 Dan Williams <dcbw@redhat.com>
6669 * libnm-glib/nm-device.h
6670 libnm-glib/nm-device.c
6671 - (nm_device_get_description): remove
6672 - (nm_device_get_product, nm_device_get_vendor): add
6673 - (nm_device_update_description): new function (private); walk HAL
6674 devices to get product and vendor IDs for a specific device
6676 2007-10-31 Dan Williams <dcbw@redhat.com>
6678 * src/nm-device-802-11-wireless.c
6679 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6681 2007-10-29 Dan Williams <dcbw@redhat.com>
6683 * src/nm-hal-manager.c
6684 - (device_added, device_new_capability): ignore device additions while
6685 asleep. Fixes crash caused when NM goes to sleep, a network device
6686 kernel module is unloaded and reloaded and recognized by NM again.
6688 2007-10-26 Dan Williams <dcbw@redhat.com>
6690 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6692 * src/NetworkManagerAP.c
6693 src/NetworkManagerAP.h
6694 libnm-glib/nm-access-point.c
6695 libnm-glib/nm-access-point.h
6696 - Make 'rate' property a guint32 to better match with WEXT and
6697 wpa_supplicant and to allow representation of higher bitrates
6699 * src/nm-device-802-11-wireless.c
6700 introspection/nm-device-802-11-wireless.xml
6701 libnm-glib/nm-device-802-11-wireless.c
6702 libnm-glib/nm-device-802-11-wireless.h
6703 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6705 * src/nm-device-802-3-ethernet.c
6706 src/nm-device-802-3-ethernet.h
6707 introspection/nm-device-802-3-ethernet.xml
6708 libnm-glib/nm-device-802-3-ethernet.c
6709 libnm-glib/nm-device-802-3-ethernet.h
6710 - Make 'speed' property a guint32 to match other speed/rate types
6711 - Make nm_device_802_3_ethernet_get_speed() static
6714 - Update for the changes above
6716 2007-10-26 Dan Williams <dcbw@redhat.com>
6718 * src/named-manager/nm-named-manager.c
6719 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6720 not calling fclose() twice on some error conditions
6722 2007-10-26 Dan Williams <dcbw@redhat.com>
6724 * src/nm-activation-request.c
6725 - (dispose): clean up indentation; get the right DBusGProxy object to
6726 cancel the GetSecrets pending call on. Need to use the Secrets
6727 proxy, not the regular connection proxy. Otherwise the GetSecrets
6728 pending call doesn't get canceled, and pressing Cancel in the
6729 applet's password dialog could cause get_secrets_cb() to be called
6730 after the activation request has already been destroyed
6732 2007-10-24 Dan Williams <dcbw@redhat.com>
6734 * src/supplicant-manager/nm-supplicant-config.c
6735 - (nm_supplicant_config_add_blob): pass blob data and length for
6737 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6739 2007-10-24 Dan Williams <dcbw@redhat.com>
6741 * src/supplicant-manager/nm-supplicant-settings-verify.c
6742 - (opt_table): max length for certificates should be 65536
6744 2007-10-24 Dan Williams <dcbw@redhat.com>
6746 * src/supplicant-manager/nm-supplicant-interface.c
6747 - (blob_free): correctly free blob data after use
6748 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6750 2007-10-24 Dan Williams <dcbw@redhat.com>
6752 * libnm-util/nm-setting.c
6753 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6754 EAP method need secrets
6756 2007-10-24 Dan Williams <dcbw@redhat.com>
6758 * src/backends/NetworkManagerRedHat.c
6759 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6761 2007-10-23 Dan Williams <dcbw@redhat.com>
6763 * libnm-util/nm-setting.c
6764 libnm-util/nm-setting.c
6765 - (nm_setting_compare): implement
6766 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6767 compare_one_hash_gvalue): compare the contents of a setting
6769 * libnm-util/nm-connection.c
6770 - (nm_connection_compare): implement
6772 2007-10-23 Dan Williams <dcbw@redhat.com>
6774 * src/nm-activation-request.c
6775 - (get_secrets_cb): handle getting a setting back that is more than
6776 just secrets (ie, user changed auth or EAP method or something)
6778 2007-10-23 Dan Williams <dcbw@redhat.com>
6780 * libnm-util/nm-setting.c
6781 libnm-util/nm-setting.h
6782 - (nm_setting_verify): new function; verify one setting
6783 - (nm_settings_verify_all): rename from nm_settings_verify()
6784 - (setting_connection_verify, setting_wireless_verify): allow NULL
6787 * libnm-util/nm-connection.c
6788 - (nm_connection_replace_settings, nm_connection_verify,
6789 nm_connection_new_from_hash): handle nm_settings_verify() rename
6791 2007-10-23 Dan Williams <dcbw@redhat.com>
6793 * src/nm-device-802-11-wireless.c
6794 - (real_act_stage2_config): use pre-increment on 'tries' to get the
6797 2007-10-23 Dan Williams <dcbw@redhat.com>
6799 * src/supplicant-manager/nm-supplicant-settings-verify.c
6800 - eap_allowed, phase2_allowed: harmonize with allowed values from
6803 2007-10-23 Dan Williams <dcbw@redhat.com>
6805 * src/nm-device-802-11-wireless.c
6806 - (real_act_stage2_config): after the first association failure,
6807 if the connection still needs secrets ask the user for them
6808 explicitly. After the fourth association failure due to bad
6809 secrets, fail the connection entirely. Handles the GetSecrets
6810 loop that NM gets into when the provided secrets don't match up
6811 with the connection details.
6813 2007-10-23 Dan Williams <dcbw@redhat.com>
6815 * src/supplicant-manager/nm-supplicant-config.c
6816 - (nm_supplicant_config_add_setting_wireless_security): only add
6817 WPA-specific options when WPA is in use
6819 2007-10-23 Dan Williams <dcbw@redhat.com>
6821 * src/supplicant-manager/nm-supplicant-config.c
6822 - (nm_supplicant_config_add_setting_wireless_security): 'password'
6823 secret doesn't need to be unhexified
6825 2007-10-23 Dan Williams <dcbw@redhat.com>
6827 * libnm-util/nm-setting.c
6828 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
6829 before trying to do something with it
6831 2007-10-23 Dan Williams <dcbw@redhat.com>
6833 * src/nm-device-802-11-wireless.c
6834 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
6836 2007-10-23 Dan Williams <dcbw@redhat.com>
6838 * src/nm-device-802-11-wireless.c
6839 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
6840 non-SSID-broadcasting APs
6842 2007-10-23 Dan Williams <dcbw@redhat.com>
6844 * src/NetworkManagerAP.c
6845 - (match_cipher, security_compatible): remove
6846 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
6849 2007-10-23 Dan Williams <dcbw@redhat.com>
6851 * libnm-util/nm-utils.c
6852 libnm-util/nm-utils.h
6853 - (nm_utils_ap_security_compatible): common function for checking
6854 whether a specific AP is compatible with an NMConnection
6856 2007-10-23 Dan Williams <dcbw@redhat.com>
6858 * libnm-util/nm-setting.c
6859 - (setting_wireless_security_need_secrets, need_secrets_phase2,
6860 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
6861 need_secrets_password, setting_wireless_security_verify): fix
6862 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
6863 secrets logic for each supported EAP method
6865 2007-10-23 Dan Williams <dcbw@redhat.com>
6867 * src/supplicant-manager/nm-supplicant-config.c
6868 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
6869 config option name, should be "private_key2_passwd"
6871 2007-10-22 Tambet Ingo <tambet@gmail.com>
6873 Implement support for static IP addresses, additional/overridden DNS and
6874 DNS domain search lists.
6876 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
6877 (ip4_addresses_to_gvalue): Implement.
6878 (convert_array_to_byte_array): Implement.
6879 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
6880 NM_S_TYPE_IP4_ADDRESSES.
6881 (nm_setting_hash): Ditto.
6882 (default_setting_clear_secrets): Add a default case for the switch: IP address
6883 shouldn't be secret, ever.
6884 (setting_ip4_config_verify): Update, requires addresses in case of manual
6886 (setting_ip4_config_destroy): Free stuff.
6888 * src/nm-device.c (merge_ip4_config): Implement.
6889 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
6891 2007-10-22 Dan Williams <dcbw@redhat.com>
6893 * libnm-util/nm-setting.c
6894 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
6895 pairwise cipher options for Dynamic WEP
6897 2007-10-21 Dan Williams <dcbw@redhat.com>
6899 * src/NetworkManagerAP.c
6900 src/NetworkManagerAP.h
6901 - Rename 'articifical' -> 'fake' since that's what they are until
6903 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
6904 from the attributes in an NMConnection object
6905 - (security_compatible): better handle Dynamic WEP and LEAP; handle
6907 - (nm_ap_match_in_list): find a matching AP in a scan list
6909 * src/nm-device-802-11-wireless.c
6910 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
6911 AP when searching the scan list; match on frequency and mode too
6912 - (nm_device_802_11_wireless_get_frequency): implement
6913 - (merge_scanned_ap): replace duplicate matching logic with
6914 nm_ap_match_in_list()
6915 - (real_act_stage1_prepare): handle a NULL specific object; ie where
6916 the user is trying to connect to a hidden network that is not yet
6917 known from the scan list
6918 - (activation_success_handler): now that the card knows the AP's BSSID,
6919 there may already be a scanned AP in the scan list that is what
6920 we really wanted to connect to, but didn't know at the time. Use
6921 that instead of the 'fake' AP created at activation start and get
6922 rid of the 'fake' AP
6923 - (cull_scan_list): don't remove fake APs
6925 2007-10-21 Dan Williams <dcbw@redhat.com>
6927 * src/nm-activation-request.h
6928 src/nm-activation-request.c
6929 - (nm_act_request_set_specific_object): new function; allow setting the
6930 specific object if one isn't set yet
6932 2007-10-20 Dan Williams <dcbw@redhat.com>
6934 * src/supplicant-manager/nm-supplicant-config.h
6935 src/supplicant-manager/nm-supplicant-config.c
6936 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
6937 table to store blobs
6938 - (nm_supplicant_config_add_blob): new function; add blob to internal
6940 - (nm_supplicant_config_get_blobs): new function; get stored blobs
6941 - (nm_supplicant_config_add_setting_wireless_security): handle
6942 options that use certificates (ie, blobs)
6944 * src/nm-device-802-11-wireless.c
6945 - (build_supplicant_config): pass a UID (just use the connection path)
6946 to the supplicant config as now required
6948 * src/supplicant-manager/nm-supplicant-interface.c
6949 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
6950 there are any blobs to send to wpa_supplicant, send those first
6951 before sending the network configuration
6953 2007-10-19 Dan Williams <dcbw@redhat.com>
6955 Split the GetSecrets() call off to a separate D-Bus interface so that it
6956 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
6957 should be able to call GetSecrets().
6959 * include/NetworkManager.h
6960 - Define the connection secrets D-Bus interface
6962 * src/vpn-manager/nm-vpn-connection.c
6963 - (clear_need_auth): get the right proxy object for the connection
6965 - (get_connection_secrets): use the connection secrets proxy; send
6966 empty hints in get secrets request
6968 * src/nm-activation-request.c
6969 - (nm_act_request_request_connection_secrets): use the connection
6970 secrets proxy; send empty hints in get secrets request
6974 - (connection_get_settings_cb): set the connection secrets proxy on
6975 the connection object too
6976 - (internal_new_connection_cb): create the connection secrets proxy
6978 * introspection/nm-settings-connection.xml
6979 - Define Connection.Secrets interface and move GetSecrets there
6980 - Add a 'hints' argument to GetSecrets
6982 * libnm-glib/nm-settings.c
6983 libnm-glib/nm-settings.h
6984 - (impl_connection_settings_get_secrets): add 'hints' argument
6986 2007-10-19 Dan Williams <dcbw@redhat.com>
6989 - (constructor): add message about what path a device is exported as
6990 to help in debugging rh #339011
6992 2007-10-17 Dan Williams <dcbw@redhat.com>
6994 * libnm-util/nm-utils.h
6995 libnm-util/nm-utils.c
6996 - (nm_utils_security_valid): common function to help find the intersection
6997 of capabilities of devices and (optionally) access points
6999 2007-10-17 Dan Williams <dcbw@redhat.com>
7001 * src/nm-device-802-11-wireless.c
7002 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7003 don't get erroneously cleared
7005 2007-10-17 Dan Williams <dcbw@redhat.com>
7009 src/nm-hal-manager.c
7010 - (device_removed, finalize, nm_manager_remove_device,
7011 nm_manager_sleep): add a 'deactivate' argument to
7012 nm_manager_remove_device() to fully deactivate devices when necessary
7013 (ie, always except when waking up)
7015 2007-10-16 Dan Williams <dcbw@redhat.com>
7017 * libnm-util/nm-setting.c
7018 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7019 also isn't valid phase2 autheap method
7021 2007-10-16 Dan Williams <dcbw@redhat.com>
7023 * libnm-glib/nm-client.c
7024 - (update_wireless_status): consolidate updates of wireless status
7025 - (constructor): use update_wireless_status()
7026 - (manager_running): set wireless status off when NM goes away; requery
7027 the wireless status when NM comes back
7029 2007-10-16 Dan Williams <dcbw@redhat.com>
7031 * libnm-glib/nm-client.c
7032 - (nm_client_activate_device): actually use the fixed-up specific
7035 2007-10-16 Dan Williams <dcbw@redhat.com>
7037 * src/nm-hal-manager.c
7038 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7039 killswitch error messages once
7041 2007-10-16 Dan Williams <dcbw@redhat.com>
7044 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7045 if it's disabled in hardware; don't touch network devices while
7048 2007-10-16 Dan Williams <dcbw@redhat.com>
7050 * libnm-util/nm-client.c
7051 - (nm_client_activate_device): convert NULL specific_object to "/",
7052 which is used in place of NULL
7055 - (impl_manager_activate_device): convert "/" specific_object back into
7058 2007-10-16 Tambet Ingo <tambet@gmail.com>
7060 Implement a generic NMSetting creator from setting name.
7061 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7062 add a virtual function 'populate_fn'.
7064 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7065 (register_default_creators): Register setting creators instead of functions
7066 that create and then populate.
7067 (parse_one_setting): Use the common setting creator and then setting specific
7068 poplulation function.
7070 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7071 they all looked exactly the same.
7072 Add a 'populate_fn' virtual function to NMSetting.
7073 Use default virtual functions in case they are not overriden.
7074 (nm_setting_populate_from_hash): Implement.
7076 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7077 name, use a defined string.
7078 (real_act_stage4_get_ip4_config): Ditto.
7080 2007-10-16 Tambet Ingo <tambet@gmail.com>
7082 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7083 HAL is int, not uint.
7085 2007-10-15 Tambet Ingo <tambet@gmail.com>
7087 Implement killswitch polling through HAL.
7089 * src/nm-manager.c: Add wireless hardware status property. Add
7090 'properties-changed' signal for changes in wireless and wireless hardware
7093 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7094 and update NMManager's wireless hardware state when it has changed.
7095 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7098 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7099 values of wireless state and wireless hardware state. Listen for the
7100 'properties-changed' signals, update the cached values and emit notify.
7102 * include/NetworkManager.h: Fix a typo in a comment.
7104 2007-10-14 Dan Williams <dcbw@redhat.com>
7106 * libnm-util/nm-setting.c
7107 - (setting_wireless_security_need_secrets): handle LEAP secrets
7109 2007-10-13 Dan Williams <dcbw@redhat.com>
7111 * libnm-util/nm-setting.h
7112 libnm-util/nm-setting.c
7113 src/supplicant-manager/nm-supplicant-config.c
7114 - Make the 'proto' field of the 802-11-wireless-security field a
7117 2007-10-12 Tambet Ingo <tambet@gmail.com>
7119 Rework the "properties-changed" signal listening implementation.
7120 Add a generic implementation to NMObject class that listens for
7121 the signal and calls property setters of the target NMObject.
7123 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7125 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7126 code to the end of file so that all the static functions are available
7127 without extra declarations.
7128 Remove the "properties-changed" signal handling and use the framework from
7130 Implement property setters for properties that change with
7131 "properties-changed" signal.
7133 * libnm-glib/nm-access-point.c: Ditto.
7135 2007-10-12 Tambet Ingo <tambet@gmail.com>
7137 Rework the "properties-changed" signal implementation.
7138 In classes that need to use it, just emit "GObject::notify" and the new
7139 framework takes care of the rest to make the signal available on dbus.
7140 The framework queues the notifications and tries to send as many together
7141 in one signal as possible.
7143 * src/nm-properties-changed-signal.c:
7144 * src/nm-properties-changed-signal.h: Implement.
7146 * src/Makefile.am: Add new files to build.
7148 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7151 * src/nm-device-802-11-wireless.c: Ditto.
7153 2007-10-10 Dan Williams <dcbw@redhat.com>
7156 - (wait_for_connection_expired): ensure info is valid
7157 - (connection_added_default_handler): Should only remove pending
7158 connection info when the manager has the connection that it's
7159 waiting for. Fixes segfault in wait_for_connection_info().
7161 2007-10-10 Dan Williams <dcbw@redhat.com>
7163 * libnm-util/nm-setting.c
7164 libnm-util/nm-setting.h
7165 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7166 can use if they choose. Should be filled in by the settings service
7167 on-the-fly with the currently logged in user's username
7169 2007-10-10 Dan Williams <dcbw@redhat.com>
7171 * src/nm-device-802-11-wireless.c
7172 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7173 as such, because even if the manager fills in the SSID, NM still
7174 has to indicate to wpa_supplicant that the AP isn't broadcasting
7177 2007-10-10 Tambet Ingo <tambet@gmail.com>
7179 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7180 code that used NM's own version of dbus signal handling and custom dictionary
7181 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7182 and we get to maintain over 2000 lines less code.
7184 * libnm-util/dbus-dict-helpers.c:
7185 * libnm-util/dbus-dict-helpers.h: Remove.
7187 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7189 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7191 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7194 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7196 * configure.in: Remove test/libnm-util/Makefile creation.
7198 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7200 * test/libnm-util/: Remove the whole directory.
7202 2007-10-10 Tambet Ingo <tambet@gmail.com>
7204 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7205 device_state_changed_idle_id variable or it would contain some random value and the
7206 schedule_change_check calls would not do anything.
7208 2007-10-09 Dan Williams <dcbw@redhat.com>
7210 * src/nm-device-802-11-wireless.c
7211 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7212 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7213 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7214 merging of non-SSID-broadcasting APs
7216 2007-10-09 Tambet Ingo <tambet@gmail.com>
7218 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7219 "guint8 *" since it's usually used with GByteArray->data.
7220 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7222 2007-10-09 Tambet Ingo <tambet@gmail.com>
7224 * src/NetworkManagerUtils.c
7225 (nm_utils_is_empty_ssid):
7226 (nm_utils_escape_ssid):
7227 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7228 lot of places, so they belong to libnm-utils instead.
7230 Now with 100% less compiler warnings:
7232 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7233 (nm_dbus_unescape_object_path): Ditto.
7234 (nm_utils_ssid_to_utf8): Ditto.
7235 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7236 (nm_utils_escape_ssid): Ditto.
7237 (nm_utils_same_ssid): Ditto.
7239 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7240 (add_one_connection_element): Remove an unused variable.
7241 (impl_manager_get_active_connections): Ditto.
7243 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7246 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7247 from the previous commit.
7249 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7250 (real_act_stage1_prepare): Ditto.
7251 (activation_success_handler): Ditto.
7252 (get_property): Ditto.
7254 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7257 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7260 * src/supplicant-manager/nm-supplicant-config.c
7261 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7262 to expected "char *".
7263 (nm_supplicant_config_add_setting_wireless): Ditto.
7264 (nm_supplicant_config_remove_option): Remove, not used.
7266 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7268 (test_wireless_enabled): Ifdef out unused function.
7269 (device_deactivate): Ditto.
7270 (device_state_changed): Ditto.
7271 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7272 (nm_utils_escape_ssid): Ditto.
7274 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7275 (nm_utils_is_empty_ssid): Ditto.
7277 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7280 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7281 (setting_vpn_properties_update_secrets): Ditto.
7282 (int_to_gvalue): Ifdef out for now, not used.
7283 (byte_to_gvalue): Ditto.
7285 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
7288 2007-10-08 Tambet Ingo <tambet@gmail.com>
7290 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7291 about dbus manager, not named manager.
7292 Make sure hal_manager and dbus_mgr are created before trying to unreference.
7294 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7295 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7296 However, the same signal is emitted when we destroy it and there's
7297 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7299 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7300 releasing the DBusGConnection, since proxy needs a conneciton.
7301 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7303 2007-10-08 Dan Williams <dcbw@redhat.com>
7305 * src/NetworkManager.c
7306 - (main): error on unknown command-line options
7308 2007-10-08 Dan Williams <dcbw@redhat.com>
7310 Reimplement the invalid connection list. Don't try to re-activate a
7311 connection that just failed or was canceled.
7314 - (connection_secrets_failed_cb): fail device activation, don't just
7315 deactivate the device. Listeners have to know about the failure.
7317 * src/NetworkManagerPolicy.c
7318 - (nm_policy_auto_get_best_device): exclude invalid connections from
7319 the connection list given to a device's get_best_connection()
7321 - (device_state_changed): tag failed connections as invalid; clear the
7322 tag from successful connections
7324 2007-10-08 Dan Williams <dcbw@redhat.com>
7326 Fix problems with interrupted activation. Previously, choosing an AP
7327 from the menu, then choosing another one before the first connection was
7328 successful wouldn't deactivate the device before starting the new connection
7329 on that same device.
7331 * src/NetworkManagerPolicy.c
7332 - (deactivate_old_device, device_state_changed, state_changed,
7333 nm_policy_new): wrong place to deactivate old devices
7336 - (pending_connection_info_destroy, finalize,
7337 wait_for_connection_expired): decouple destruction of the pending
7338 connection info from the manager device
7339 - (connection_added_default_handler): deactivate any active or
7340 activating device before starting a new activation
7341 - (impl_manager_activate_device): deactivate any active or activating
7342 device before starting a new activation; be sure not to leak
7343 pending connection info if a new activation request arrives but
7344 there's already a pending one in-process
7346 2007-10-08 Dan Williams <dcbw@redhat.com>
7348 * src/NetworkManagerAP.h
7349 src/NetworkManagerAP.c
7350 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
7351 should handle default SSIDs and whether or not to autoconnect
7354 2007-10-08 Dan Williams <dcbw@redhat.com>
7356 * src/NetworkManagerPolicy.c
7357 - (nm_policy_device_change_check): print out connection name where
7360 2007-10-08 Dan Williams <dcbw@redhat.com>
7362 * src/nm-device-802-11-wireless.c
7363 src/nm-device-802-11-wireless.h
7364 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7365 'hidden-ap-found' signal (for internal use only) that allows the
7366 NMManager to fill in the AP's SSID if a connection has that AP's
7367 BSSID in its seen-bssids list
7370 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7371 wireless device's hidden-ap-found signal and fill in the APs SSID
7374 2007-10-07 Dan Williams <dcbw@redhat.com>
7378 - Add a 'connections-added' signal to batch together updates of large
7379 numbers of connections, like when reading from a settings service
7380 the first time. Otherwise, the policy would just activate the first
7381 suitable connection it saw rather than waiting for the full list
7383 - (nm_manager_class_init): register new signal
7384 - (get_type_for_proxy, connection_get_settings_cb,
7385 get_connection_for_proxy): centralize places where a proxy's setting
7386 service is determined
7387 - (free_get_settings_info): if the call being freed is the last call
7388 in a pending call group, fire off the connections-added signal
7389 - (internal_new_connection_cb): add call to a pending call group if
7391 - (list_connections_cb): always create a call group here, because this
7392 call results in a batch of new connections
7393 - (initial_get_connections): start getting system connections first
7394 - (nm_manager_connections_destroy, emit_removed): actually emit the
7395 removed signal when destroying connections
7397 * src/NetworkManagerPolicy.c
7398 - (nm_policy_new, connections_added): handle connections-added signal
7401 2007-10-06 Dan Williams <dcbw@redhat.com>
7403 * src/nm-device-802-11-wireless.c
7404 - (constructor): fix leaked socket
7406 2007-10-06 Dan Williams <dcbw@redhat.com>
7408 * src/NetworkManagerPolicy.c
7409 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
7410 connection in the list returned by nm_manager_get_connections() is
7411 reffed, but they weren't getting unreffed before returning
7413 2007-10-06 Dan Williams <dcbw@redhat.com>
7416 - (connections_to_slist): sort connections first on autoconnect, then
7419 2007-10-06 Dan Williams <dcbw@redhat.com>
7421 * libnm-util/nm-connection.c
7422 - (gvalue_to_string): handle UINT64
7424 2007-10-06 Dan Williams <dcbw@redhat.com>
7426 * src/NetworkManagerPolicy.c
7427 - (connection_updated, nm_policy_new): recheck state when a connection
7430 2007-10-06 Dan Williams <dcbw@redhat.com>
7434 - (nm_manager_get_connection_dbus_path): make static
7435 - (nm_manager_update_connections): remove; unused
7436 - Add a connection-updated signal
7437 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7438 handle connection object updates
7440 2007-10-06 Dan Williams <dcbw@redhat.com>
7442 * src/NetworkManagerPolicy.c
7443 - (connection_removed): deactivate removed connections
7445 2007-10-06 Dan Williams <dcbw@redhat.com>
7447 * libnm-util/nm-connection.c
7448 libnm-util/nm-connection.h
7449 - (nm_connection_replace_settings): new function
7451 2007-10-06 Dan Williams <dcbw@redhat.com>
7453 * libnm-glib/nm-device-802-11-wireless.c
7454 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7455 on error when getting the active access point over D-Bus from NM
7457 2007-10-05 Dan Williams <dcbw@redhat.com>
7459 * libnm-util/nm-setting.c
7460 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7461 to the NMSettingWireless table; it's now a string array not an array
7464 2007-10-05 Dan Williams <dcbw@redhat.com>
7466 * libnm-glib/nm-device-802-11-wireless.c
7467 - Cache properties and update cached properties on D-Bus signals from NM
7469 2007-10-05 Dan Williams <dcbw@redhat.com>
7471 * src/nm-device-802-11-wireless.c
7472 - (set_current_ap): consolidate current_ap handling code into one place
7473 to ensure that PropertiesChanged signals are emitted in all cases
7474 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7475 nm_device_802_11_wireless_dispose): use set_current_ap()
7477 2007-10-05 Dan Williams <dcbw@redhat.com>
7479 * libnm-glib/nm-access-point.c
7480 libnm-glib/nm-access-point.h
7481 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7482 because the value is cached internally now. Callers should not
7483 free the internal value.
7484 - Make signal name defines private
7487 libnm-glib/libnm-glib-test.c
7488 - Don't free value returned from nm_access_point_get_hw_address()
7490 2007-10-04 Dan Williams <dcbw@redhat.com>
7492 * introspection/nm-device-802-11-wireless.xml
7493 src/nm-device-802-11-wireless.h
7494 src/nm-device-802-11-wireless.c
7495 - Add a PropertiesChanged signal for wireless device
7496 - Store currently associated access point
7497 - (periodic_update): generalize; update rate here too and emit the
7498 correct PropertiesChanged signal when stuff changes
7499 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7500 real_activation_cancel_handler): clear current_ap when device is
7502 - (link_to_specific_ap, get_ap_blacklisted,
7503 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7505 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7507 - (real_set_hw_address): emit property changed signal if the card's
7509 - (real_act_stage1_prepare): set the initial current_ap to the AP
7510 the card is supposed to be connecting to
7511 - (activation_success_handler): send out property updates on successful
7513 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7514 for ACTIVE_ACCESS_POINT property because sometimes there won't be
7515 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7516 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7517 is now boxed; add PropertiesChanged signal
7519 2007-10-04 Dan Williams <dcbw@redhat.com>
7521 * libnm-util/nm-connection.c
7522 libnm-util/nm-connection.h
7523 - (nm_connection_verify): new function
7525 2007-10-04 Dan Williams <dcbw@redhat.com>
7527 * libnm-util/nm-setting.c
7528 - (nm_settings_verify): use #defines when possible rather than strings
7529 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7530 - (setting_vpn_verify): tighter validity check on 'service_type'
7532 2007-10-04 Dan Williams <dcbw@redhat.com>
7534 * libnm-glib/nm-settings.c
7535 - (nm_connection_settings_class_init): provide correct type for argument
7536 to the Updated signal so that dbus-glib knows how to marshal it
7538 2007-10-03 Dan Williams <dcbw@redhat.com>
7540 * src/nm-device-802-3-ethernet.c
7541 - (real_get_best_connection): don't create automatic connections
7542 internally; clients should provide a setting that applies to
7543 the device with 'autoconnect: True'. Problem was that these
7544 internally auto-created connections don't have a proxy or service
7545 name becuase they weren't created by a settings daemon, and therefore
7546 clients have no idea what to do with them.
7548 2007-10-03 Dan Williams <dcbw@redhat.com>
7550 * src/nm-device-802-11-wireless.c
7551 src/nm-device-802-11-wireless.h
7552 introspection/nm-device-802-11-wireless.xml
7553 - GetActiveNetworks -> GetAccessPoints
7554 - ActiveNetwork -> ActiveAccessPoint
7555 - NetworkAdded -> AccessPointAdded
7556 - NetowrkRemoved -> AccessPointRemoved
7558 * libnm-glib/nm-device-802-11-wireless.c
7559 libnm-glib/nm-device-802-11-wireless.h
7560 - network-added signal -> access-point-added
7561 - network-removed signal -> access-point-removed
7562 - nm_device_802_11_wireless_get_active_network() ->
7563 nm_device_802_11_wireless_get_active_access_point()
7564 - nm_device_802_11_wireless_get_network_by_path() ->
7565 nm_device_802_11_wireless_get_access_point_by_path()
7566 - nm_device_802_11_wireless_get_networks() ->
7567 nm_device_802_11_wireless_get_access_points()
7569 * libnm-glib/libnm-glib-test.c
7571 src/NetworkManagerPolicy.c
7572 - Fixups for Network -> AccessPoint
7574 2007-10-03 Dan Williams <dcbw@redhat.com>
7576 Add a GetActiveConnections() method on the Manager object.
7580 introspection/nm-manager.xml
7581 - (connection_get_settings_cb): keep connection type around too
7582 - (impl_manager_get_active_connections, add_one_connection_element):
7583 implement; returns all active connections and what devices they
7586 * libnm-glib/nm-client.c
7587 libnm-glib/nm-client.h
7588 introspection/nm-manager-client.xml
7589 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7590 by the caller; free here to avoid memory leak
7591 - (nm_client_get_active_connections): implement; return the list of
7593 - (nm_client_free_active_connection_element): implement; free an element
7594 of the GSList returned by nm_client_get_active_connections()
7596 2007-10-03 Dan Williams <dcbw@redhat.com>
7598 * src/nm-device-802-11-wireless.c
7599 - (nm_device_802_11_wireless_update_bssid): remove
7600 - (get_active_ap): new function; find the AP in the scan list which
7601 matches the current BSSID and SSID of the wireless device
7602 - (nm_device_802_11_periodic_update): get current AP using
7603 get_active_ap() and print AP roam messages
7605 2007-10-01 Dan Williams <dcbw@redhat.com>
7607 * libnm-util/nm-setting.h
7608 - Add a 'timestamp' option to NMSettingConnection
7611 * libnm-util/nm-setting.c
7612 - (uint64_to_gvalue): new function
7613 - (nm_setting_populate_from_hash, nm_setting_hash,
7614 default_setting_clear_secrets): handle UINT64 type
7615 - con_table: add 'timestamp' member
7617 2007-10-01 Dan Williams <dcbw@redhat.com>
7620 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7621 value when the connection can be activated immediately
7623 2007-10-01 Dan Williams <dcbw@redhat.com>
7625 * libnm-glib/nm-device.c
7626 - (nm_device_class_init): actually tell glib about the carrier-changed
7629 2007-10-01 Dan Williams <dcbw@redhat.com>
7632 src/marshallers/Makefile.am
7633 src/marshallers/nm-marshal.list
7634 src/marshallers/nm-marshal-main.c
7635 - Consolidate glib marshallers into one place
7637 * src/dhcp-manager/Makefile.am
7638 src/dhcp-manager/nm-dhcp-manager.c
7639 src/supplicant-manager/Makefile.am
7640 src/supplicant-manager/nm-supplicant-manager.c
7641 src/supplicant-manager/nm-supplicant-interface.c
7642 src/ppp-manager/Makefile.am
7643 src/ppp-manager/nm-ppp-manager.c
7644 src/vpn-manager/Makefile.am
7645 src/vpn-manager/nm-vpn-connection.c
7647 - Use consolidated marshallers
7649 * src/dhcp-manager/nm-dhcp-marshal.list
7650 src/dhcp-manager/nm-dhcp-marshal-main.c
7651 src/supplicant-manager/nm-supplicant-marshal-main.c
7652 src/supplicant-manager/nm-supplicant-marshal.list
7653 src/nm-marshal-main.c
7655 src/ppp-manager/nm-ppp-marshal-main.c
7656 src/ppp-manager/nm-ppp-marshal.list
7657 src/vpn-manager/nm-vpn-marshal-main.c
7658 src/vpn-manager/nm-vpn-marshal.list
7661 2007-10-01 Dan Williams <dcbw@redhat.com>
7663 * include/NetworkManagerVPN.h
7664 - define VPN connection state change reason codes
7666 * src/vpn-manager/Makefile.am
7667 src/vpn-manager/nm-vpn-marshal.list
7668 src/vpn-manager/nm-vpn-marshal-main.c
7669 - Add marshallers for StateChanged signal
7671 * introspection/nm-vpn-connection.xml
7672 - New Banner property
7673 - StateChanged signal now includes a 'reason' argument
7675 * src/vpn-manager/nm-vpn-connection.c
7676 src/vpn-manager/nm-vpn-connection.h
7677 - Add a "Banner" property that contains the returned VPN server login
7678 banner (if any); valid only in the ACTIVATED state
7679 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7680 a 'reason' argument and emits that reason along with the
7681 state-changed signal
7682 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7683 - (nm_vpn_connection_ip4_config_get): save banner for later
7684 - (nm_vpn_connection_get_banner, get_property,
7685 nm_vpn_connection_class_init): implement Banner property
7687 * src/vpn-manager/nm-vpn-service.c
7688 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7689 connection list because elements may get added/removed from it
7690 while iterating over the list
7691 - (connection_state_changed): signal now includes the 'reason' argument
7693 * libnm-glib/nm-vpn-connection.c
7694 libnm-glib/nm-vpn-connection.h
7695 - (nm_vpn_connection_get_banner): new function
7696 - (state_changed_proxy): handle reason argument
7698 2007-09-28 Tambet Ingo <tambet@gmail.com>
7702 Implement device activation through NMManager.
7703 Implement "pending device activation" here - If the connection isn't found,
7704 we try to wait for up to 5 seconds for the connection to be provided.
7705 Add NMConnectionType argument to "connection-added" and "connection-removed"
7707 (nm_manager_get): Remove. Finally.
7709 * src/nm-activation-request.c:
7710 * src/nm-activation-request.h:
7711 Remove all the deferred activation code.
7713 * src/nm-device.c: Remove all the deferred activation code. Once the device
7714 activation is started, it's started. Update the activation virtual function
7717 * src/nm-device-interface.c:
7718 * src/nm-device-interface.h:
7719 Device activation now takes only NMActRequest argument.
7720 Don't expose device activation directly on dbus, it's supposed to go through
7723 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7725 Use the new device activation methods through NMManager.
7727 * introspection/nm-manager-client.xml:
7728 * introspection/nm-manager.xml:
7729 * libnm-glib/nm-client.c:
7730 * libnm-glib/nm-client.h:
7731 Add device activation method.
7733 * libnm-glib/nm-device.c:
7734 * libnm-glib/nm-device.h:
7735 * introspection/nm-device.xml:
7736 Remove device activation method. It's done through NMManager now.
7738 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7739 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7741 2007-09-28 Dan Williams <dcbw@redhat.com>
7743 * libnm-glib/nm-vpn-connection.c
7744 - (nm_vpn_connection_get_state): try to update state if the current
7747 2007-09-27 Dan Williams <dcbw@redhat.com>
7749 Patch from Bill Nottingham
7751 * src/supplicant-manager/nm-supplicant-config.c
7752 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7753 data to the supplicant
7755 2007-09-27 Dan Williams <dcbw@redhat.com>
7757 * src/NetworkManagerSystem.c
7758 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7759 and all address manipulation here should be happening on the
7760 _VPN_ device, not the active device
7762 2007-09-26 Dan Williams <dcbw@redhat.com>
7766 src/nm-activation-request.c
7767 src/nm-activation-request.h
7768 - Move the GetSecrets stuff out of the NMManager instance because it
7769 doesn't really need to be there and complicates things
7772 - (connection_secrets_failed_cb, device_activation_go): connect to the
7773 connection-secrets-failed signal and deactivate the device if
7774 the GetSecrets call fails
7776 * src/nm-device-802-11-wireless.c
7777 - (link_timeout_cb, supplicant_connection_timeout_cb,
7778 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7779 secrets and give correct hints about whether new secrets should be
7780 asked for by the client or not
7782 2007-09-26 Dan Williams <dcbw@redhat.com>
7784 * src/vpn-manager/nm-vpn-connection.c
7785 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
7786 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
7787 to the secrets-updated signal of the NMConnection since updating
7788 the secrets is done within the scope of the NMVPNConnection object
7790 - (get_connection_secrets): fix an uninialized variable usage error
7792 2007-09-26 Dan Williams <dcbw@redhat.com>
7794 * libnm-util/nm-setting.c
7795 - (setting_vpn_properties_update_secrets): implement so VPN secrets
7796 actually get updated when the user enters them
7798 2007-09-26 Dan Williams <dcbw@redhat.com>
7800 * libnm-glib/nm-vpn-plugin.c
7801 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
7803 2007-09-26 Dan Williams <dcbw@redhat.com>
7805 * include/NetworkManagerVPN.h
7806 - Add a NEED_AUTH state
7808 * src/vpn-manager/nm-vpn-connection.c
7809 - Implement the NEED_AUTH state. First ask the VPN service plugin if
7810 the connection needs secrets, and if so, then ask the settings
7811 service to fill in the secrets. Then start the connection.
7813 2007-09-26 Dan Williams <dcbw@redhat.com>
7815 * src/vpn-manager/nm-vpn-manager.c
7816 - (new_vpn_error, impl_vpn_manager_connect): set errors
7818 2007-09-26 Dan Williams <dcbw@redhat.com>
7820 * introspection/nm-vpn-plugin.xml
7821 libnm-glib/nm-vpn-plugin.c
7822 libnm-glib/nm-vpn-plugin.h
7823 - (impl_vpn_plugin_need_secrets): implement a call that should return
7824 the name of the NMSetting in an NMConnection that may require
7825 secrets specific to that VPN plugin
7827 2007-09-26 Dan Williams <dcbw@redhat.com>
7831 - (nm_manager_get_connection_secrets): make static, unused outside
7833 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
7835 2007-09-26 Tambet Ingo <tambet@gmail.com>
7837 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
7839 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
7840 unreference the connection.
7842 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
7843 passing properties hash and routes string list, pass NMConnection (in hashed form).
7845 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
7846 as GSList, no need to copy stuff around anymore.
7847 (nm_vpn_connection_activate): Update the plugin activation method.
7849 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
7850 routes argument to GSList.
7852 2007-09-26 Tambet Ingo <tambet@gmail.com>
7854 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
7855 state and try to get the secrets.
7857 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
7858 connections from NMManager and let the device to choose the best from the list.
7859 Since the connection list is sorted by system ones first and user ones later,
7860 the devices still prefer system connections like they did before.
7861 (deactivate_old_device): Implement. When a device starts activation, we have a
7862 policy (for now at least) to deactivate any other device that might be either
7863 active or still activating.
7865 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
7866 It's set on construction, there will be no other way to access it.
7868 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
7869 device events and drive the device, not the other way around.
7871 * src/nm-device-802-3-ethernet.c: Ditto.
7873 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
7874 sent along, pass it on to virtual functions.
7876 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
7877 for now, but should really be public instead of nm_device_get_iface() since iface
7878 is a property of the DeviceInterface, not Device.
7879 (impl_device_activate): Don't touch NMManager!
7881 2007-09-26 Jürg Billeter <j@bitron.ch>
7883 * initscript/paldo/NetworkManager.in:
7884 * initscript/paldo/NetworkManagerDispatcher.in:
7885 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
7886 (nm_system_flush_loopback_routes): update paldo backend
7888 2007-09-26 Tambet Ingo <tambet@gmail.com>
7890 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
7891 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
7892 which means none of the devices get brought down properly, which in turn leaves
7893 DHCP client running.
7895 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
7896 (supplicant_connection_timeout_cb): Ditto.
7898 2007-09-25 Dan Williams <dcbw@redhat.com>
7901 - (device_activation_go): small hack to work around race when
7902 activating deferred connections; should solve this in a better way
7904 2007-09-25 Dan Williams <dcbw@redhat.com>
7906 * introspection/nm-device.xml
7907 libnm-glib/nm-device.c
7908 libnm-glib/nm-device.h
7909 - Add 'Carrier' property to exported NMDevice objects
7911 * src/nm-device-interface.h
7912 src/nm-device-interface.c
7914 - Add a 'carrier' property to internal NMDevice objects
7916 2007-09-25 Dan Williams <dcbw@redhat.com>
7918 * src/nm-device-802-11-wireless.c
7919 - (ap_auth_enforced): also return the encryption status of the AP so
7920 that callers can differentiate easily between unencrypted APs
7921 and encrypted ones, in addition to whether the AP has an
7923 - (link_timeout_cb, supplicant_connection_timeout_cb,
7924 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
7925 previously would request secrets from unencrypted APs at times
7927 2007-09-25 Dan Williams <dcbw@redhat.com>
7930 - (nm_manager_update_state): new function; updates state and emits
7931 appropriate signals ensuring a state-change signal for the same state
7932 never gets emitted twice in a row.
7933 - (manager_device_state_changed): handle more device state to get a
7934 better picture of the overall NM state
7936 2007-09-25 Dan Williams <dcbw@redhat.com>
7938 * libnm-glib/nm-settings.c
7939 libnm-glib/nm-settings.h
7940 - (new_error -> nm_settings_new_error): make public so that subclasses
7941 can use the same error domain. Also pass a valid error code to
7942 g_error_new_literal() so that libdbus doesn't assert when converting
7943 the GError into a DBusError
7944 - (impl_settings_list_connections, impl_connection_settings_get_id,
7945 impl_connection_settings_get_settings,
7946 impl_connection_settings_get_secrets): use new error creator
7949 2007-09-25 Dan Williams <dcbw@redhat.com>
7951 * src/NetworkManager.c
7952 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
7954 2007-09-25 Dan Williams <dcbw@redhat.com>
7956 * src/supplicant-manager/nm-supplicant-manager.c
7957 - (poke_supplicant_cb, nm_supplicant_manager_init,
7958 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
7959 nm_supplicant_manager_startup): when the supplicant isn't running,
7960 try to start it periodically via system bus activation. Fixes
7961 a problem where if wpa_supplicant goes away, NM gets stuck waiting
7962 for the supplicant to come back
7964 2007-09-25 Dan Williams <dcbw@redhat.com>
7966 Ensure that old activation requests are forgotten about; previously
7967 hitting Cancel in the password dialog would deactivate whatever device
7968 that password was requested for, even if that wasn't the currently
7969 activating connection.
7973 - (nm_manager_get_connection_secrets): track the pending call
7974 object so it can be canceled later if needed
7975 - (nm_manager_cancel_get_connection_secrets): cancel a pending
7976 GetSecrets call for a particular connection
7978 * src/nm-activation-request.c
7979 - (dispose): cancel any outstanding GetSecrets calls on the
7982 2007-09-25 Dan Williams <dcbw@redhat.com>
7984 * src/NetworkManagerPolicy.c
7985 - (nm_policy_device_change_check): handle devices that have a
7986 deferred activation. These devices are not really active _yet_,
7987 but need to be treated as such here. Don't interrupt them
7990 * src/nm-device-interface.c
7991 - (impl_device_activate): handle devices that have a deferred activation
7992 like activating or active devices. When multiple active devices
7993 get committed, the device shouldn't be deactivated until the
7994 connection details are available to avoid DoS and such. Currently,
7995 any active, activating, or deferred activation device is deactivated
7996 here before starting the new activation request.
7998 2007-09-25 Dan Williams <dcbw@redhat.com>
8000 Properly re-query secrets from the settings daemon when stuff fails.
8002 * src/nm-device-802-11-wireless.c
8003 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8004 between Shared Key and Open System auth modes
8005 - (link_timeout_cb, supplicant_connection_timeout_cb,
8006 real_act_stage4_ip_config_timeout): clear existing secrets and
8007 request new ones when something fails due to a suspected wrong key
8008 - (real_act_stage2_config): fix for new request_new argument to
8009 nm_manager_get_connection_secrets()
8013 - (nm_manager_get_connection_secrets): return error status; pass
8014 new request_new argument on to the settings daemon
8016 * introspection/nm-settings-connection.xml
8017 - New 'request_new' argument to the GetSecrets call that hints to the
8018 settings daemon to ask the user for completely new secrets
8020 * libnm-glib/nm-settings.c
8021 libnm-glib/nm-settings.h
8022 - (impl_connection_settings_get_secrets): handle new 'request_new'
8025 2007-09-25 Dan Williams <dcbw@redhat.com>
8027 * libnm-util/nm-connection.c
8028 libnm-util/nm-connection.h
8029 - (nm_connection_clear_secrets): new function; clear secrets out of
8030 each NMSetting in an NMConnection
8032 * libnm-util/nm-setting.h
8033 libnm-util/nm-setting.c
8034 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
8035 secrets out of an NMSetting
8036 - (nm_setting_connection_new, nm_setting_ip4_config_new,
8037 nm_setting_wired_new, nm_setting_wireless_new,
8038 nm_setting_wireless_security_new, nm_setting_ppp_new,
8039 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8040 to default handler default_setting_clear_secrets()
8042 2007-09-25 Dan Williams <dcbw@redhat.com>
8044 * src/nm-activation-request.c
8045 src/nm-activation-request.h
8046 - (nm_act_request_is_deferred): new function
8048 2007-09-24 Dan Williams <dcbw@redhat.com>
8050 * src/nm-device-802-11-wireless.c
8051 - (activation_success_handler): update signal strength immediately
8054 2007-09-24 Dan Williams <dcbw@redhat.com>
8056 * libnm-util/nm-setting.c
8057 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8059 2007-09-24 Dan Williams <dcbw@redhat.com>
8061 * src/NetworkManagerPolicy.c
8062 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8063 device by deactivating it because it doesn't have a "best connection".
8064 Since autoconnect=False connections aren't automatically chosen,
8065 NM would interrupt activation of such a connection because it
8066 would never be "best" due to autoconnect=False.
8068 2007-09-24 Dan Williams <dcbw@redhat.com>
8071 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8072 actually has some time to enter a key before the GetSecrets call
8075 2007-09-24 Dan Williams <dcbw@redhat.com>
8077 * introspection/nm-manager.xml
8079 - (impl_manager_legacy_state): fix 'state' method call return value
8081 2007-09-24 Matthias Clasen <mclasen@redhat.com>
8083 * test/Makefile.am: Install nm-tool
8085 2007-09-24 Dan Williams <dcbw@redhat.com>
8087 Patch from Ross Burton <ross@burtonini.com>
8090 callouts/nm-dhcp-client-action.c
8092 src/vpn-manager/nm-vpn-connection.c
8093 libnm-glib/libnm-glib-test.c
8096 2007-09-24 Dan Williams <dcbw@redhat.com>
8098 * libnm-util/nm-utils.h
8099 libnm-util/nm-utils.c
8100 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8103 2007-09-23 Dan Williams <dcbw@redhat.com>
8105 * vpn-daemons/vpnc/properties/nm-vpnc.c
8106 - Update for new VPN properties API bits; instead of passing around
8107 a lot of random things, everything goes into the NMConnection
8110 2007-09-23 Dan Williams <dcbw@redhat.com>
8112 * libnm-util/nm-setting.c
8113 - Correctly dispose of settings objects if creating them from a hash
8116 2007-09-23 Dan Williams <dcbw@redhat.com>
8118 * libnm-util/nm-setting.c
8119 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8120 the hash table in a standard manner. Clients of libnm-util should
8121 only call g_hash_table_remove_all(), never destroy the hash table
8124 2007-09-22 Dan Williams <dcbw@redhat.com>
8126 * src/nm-device-802-11-wireless.c
8127 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8128 real reason to do it so often, and reduces wakeups for clients.
8130 2007-09-21 Dan Williams <dcbw@redhat.com>
8132 * src/nm-device-802-11-wireless.c
8133 - (build_supplicant_config): wpa_supplicant requires the option
8134 key_mgmt=NONE for unencrypted networks
8135 - (real_act_stage2_config): clarify log message on activation
8137 2007-09-21 Dan Williams <dcbw@redhat.com>
8139 * test/nm-supplicant-test.c
8141 - Remove supplicant test binary; no longer applicable
8143 2007-09-21 Dan Williams <dcbw@redhat.com>
8145 * src/supplicant-manager/nm-supplicant-manager.c
8146 - (nm_supplicant_manager_init): poke the supplicant at startup to
8147 activate it on the system bus
8149 2007-09-20 Dan Williams <dcbw@redhat.com>
8151 * initscript/RedHat/NetworkManager.in
8152 - dhcdbd is no longer used, so don't try to start it from the initscripts
8154 2007-09-20 Dan Williams <dcbw@redhat.com>
8157 - (nm_device_is_activating): work around a race between auto-activation
8158 and the user activating the same device that is being auto-activated
8160 2007-09-20 Dan Williams <dcbw@redhat.com>
8162 * src/nm-device-interface.c
8163 - (impl_device_activate): until multiple active device support lands,
8164 ensure only one device can be active at a time
8166 2007-09-20 Dan Williams <dcbw@redhat.com>
8168 * src/supplicant-manager/nm-supplicant-config.c
8169 src/supplicant-manager/nm-supplicant-config.h
8170 - (nm_supplicant_config_add_option): hide secrets from system logs
8172 2007-09-20 Dan Williams <dcbw@redhat.com>
8174 * src/NetworkManagerPolicy.c
8175 - (nm_policy_device_change_check): re-enable the wireless device change
8176 checking code; insted of checking for SSIDs, check for the same
8179 2007-09-20 Dan Williams <dcbw@redhat.com>
8181 * src/nm-device-802-11-wireless.c
8182 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8183 composite link state when determining when to start the disconnection
8184 timer; that link state is already based on the supplicant interface's
8185 status which is exactly what's already being examined, plus the link
8186 state is a conglomeration of various things that we don't want here
8188 2007-09-20 Dan Williams <dcbw@redhat.com>
8190 * libnm-glib/nm-access-point.c
8191 - (handle_property_changed): strength is a UCHAR
8193 2007-09-20 Dan Williams <dcbw@redhat.com>
8195 * src/supplicant-manager/nm-supplicant-config.c
8196 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8197 string list keywords too since that's what wpa_supplicant wants
8199 2007-09-20 Dan Williams <dcbw@redhat.com>
8201 * libnm-util/nm-setting.c
8202 - (convert_strv_to_slist): dupe the values in the list because since
8203 the list is a boxed value, it'll get destroyed when it's container
8204 (like a hash table or whatever) gets destroyed
8206 2007-09-20 Tambet Ingo <tambet@gmail.com>
8208 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8211 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8213 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8214 just use (g_object_set_data_full).
8216 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8217 that NMSettingVPN->routes is a GSList, convert it to char **.
8218 (nm_vpn_connection_ip4_config_get): Free routes when done.
8219 (nm_vpn_connection_activate): Ditto.
8221 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8222 (real_act_stage2_config): Use defined setting names.
8224 2007-09-20 Dan Williams <dcbw@redhat.com>
8226 * src/nm-device-802-11-wireless.c
8229 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8230 so that the device can be deactivated if secrets are wrong
8232 2007-09-20 Dan Williams <dcbw@redhat.com>
8234 * introspection/nm-settings-connection.xml
8235 libnm-glib/nm-settings.c
8236 libnm-glib/nm-settings.h
8237 - Make GetSecrets asynchronous on the server side
8239 2007-09-20 Dan Williams <dcbw@redhat.com>
8243 - (nm_device_activate): actually check if a given connection
8244 exists before assuming it doesn't
8246 2007-09-20 Tambet Ingo <tambet@gmail.com>
8248 * libnm-util/nm-connection.c (register_default_creators): Use defined
8249 setting names. Register NMSettingVPN and NMSettingVPNProperties.
8251 * libnm-util/nm-setting.c: Define property name strings, use them.
8252 Implement NMSettingVPN and NMSettingVPNProperties settings.
8253 Implement NM_S_TYPE_GVALUE_HASH.
8254 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8255 (setting_connection_verify): Rename 'devtype' property to 'type'.
8257 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8260 * src/vpn-manager/nm-vpn-service.c: Ditto.
8262 * src/vpn-manager/nm-vpn-connection.c: Ditto.
8264 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8265 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8267 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8268 names. NMSettingConnection->devtype got renamed to 'type'.
8270 * src/nm-device-802-3-ethernet.c (find_best_connection):
8271 (real_get_best_connection): Ditto.
8273 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8275 * libnm-glib/nm-vpn-manager.[ch]: Update.
8277 2007-09-19 Dan Williams <dcbw@redhat.com>
8279 * src/NetworkManagerAP.c
8280 src/NetworkManagerAP.h
8281 introspection/nm-access-point.xml
8282 - Change strength-changed signal into a properties-changed signal
8283 for all properties, not just strength. Export that signal over dbus
8284 so listeners don't have to poll NM for changes.
8285 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8286 get exported over D-Bus, so break up the logic and let other bits
8287 decided when to export the AP
8288 - (nm_ap_new_from_ap): remove, unused
8290 * src/nm-device-802-11-wireless.c
8291 - (merge_scanned_ap): only export APs that are actually on the device
8292 list, not every AP created internally
8294 * libnm-glib/nm-access-point.c
8295 libnm-glib/nm-access-point.h
8296 - Cache properties internally and only hit DBus when needed. Get
8297 property updates from NM signals
8299 2007-09-16 Dan Williams <dcbw@redhat.com>
8301 * libnm-util/nm-connection.c
8302 libnm-util/nm-connection.h
8303 - (nm_connection_for_each_setting_value): new function; iterate over
8304 each setting's value and call a user-provided function with details
8307 * libnm-util/nm-setting.c
8308 libnm-util/nm-setting.h
8309 - (nm_setting_enumerate_values): new function; enumerate the values
8310 of a specific NMSetting subclass for a user-provided function with
8311 details about that value
8312 - Change wep_tx_keyidx to a uint32
8313 - Create settings value tables for each setting defining their type,
8314 key name, offset into the NMSetting subclass' structure, and whether
8315 they are required and/or a secret
8316 - (nm_setting_populate_from_hash): generic function to populate an
8317 NMSetting from a GHash table, make all settings use it
8318 - (nm_setting_hash): generic function to derive a GHashTable from
8319 an NMSetting object, make all settings use it
8321 2007-09-14 Dan Williams <dcbw@redhat.com>
8323 Remove unused stuff in libnm-util
8326 libnm-util/Makefile.am
8327 libnm-util/cipher-private.h
8328 libnm-util/cipher-wep-ascii.c
8329 libnm-util/cipher-wep-ascii.h
8330 libnm-util/cipher-wep-hex.c
8331 libnm-util/cipher-wep-hex.h
8332 libnm-util/cipher-wep-passphrase.c
8333 libnm-util/cipher-wep-passphrase.h
8334 libnm-util/cipher-wpa-psk-hex.c
8335 libnm-util/cipher-wpa-psk-hex.h
8336 libnm-util/cipher-wpa-psk-passphrase.c
8337 libnm-util/cipher-wpa-psk-passphrase.h
8340 libnm-util/dbus-helpers.c
8341 libnm-util/dbus-helpers.h
8342 libnm-util/gnome-keyring-md5.c
8343 libnm-util/gnome-keyring-md5.h
8346 src/nm-device-802-11-wireless.c
8347 test/libnm-util/Makefile.am
8348 test/libnm-util/test-ciphers.c
8349 test/libnm-util/test-dbus-helpers.c
8350 test/libnm-util/test-inputs.h
8353 2007-09-14 Dan Williams <dcbw@redhat.com>
8355 * libnm-util/dbus-method-dispatcher.c
8356 libnm-util/dbus-method-dispatcher.h
8359 2007-09-14 Dan Williams <dcbw@redhat.com>
8361 Implement deferred activation support in the device class.
8363 * src/nm-device-interface.c
8364 src/nm-device-interface.h
8365 - (nm_device_interface_activate): take more arguments to support
8366 deferred activation; callers must pass one of (connection) OR
8367 (service_name, connection_path)
8368 - (impl_device_activate): connection validation is punted to the device
8369 to be able to handle deferred activation. Yes, this means errors
8370 don't get returned from the Activate() dbus call, and yes, that
8371 should be fixed somehow later.
8375 - (clear_act_request): clear additional deferred activation stuff too
8376 - (deferred_activation_timeout_cb): new function; clean up when
8377 deferred activation times out.
8378 - (deferred_activation_start_cb): new function; when the connection
8379 finally becomes available, start device activation
8380 - (nm_device_activate): attach to the right signals of the activation
8381 request if we need to defer activation until the connection is valid
8383 * src/NetworkManagerPolicy.c
8384 - (nm_policy_device_change_check): update for additional arguments
8385 required for nm_device_interface_activate(). Pass NULL for these
8386 though because this function already knows exactly which
8389 2007-09-14 Dan Williams <dcbw@redhat.com>
8391 Implement deferred activation handling in the NMActRequest class. When a
8392 client wants to activate a device but must create the NMConnection details
8393 on the fly, there likely hasn't been enough time yet for NM to receive the
8394 new connection signal and grab all the connection details. So the
8395 activation is deferred (and bounded by a timer) for a while, and if the
8396 connection appears within the window, it is activated.
8398 * src/nm-activation-request.c
8399 src/nm-activation-request.h
8400 - (nm_act_request_class_init): two new signals to support deferred
8401 activation, to allow the listener to handle both timeout and success
8402 - (nm_act_request_new_deferred): new function, starts the deferred
8403 activation timeout handler and listens to the NMManager for
8404 new-connection signals to notice when the connection comes in
8406 2007-09-14 Dan Williams <dcbw@redhat.com>
8410 - (nm_manager_get_connection_service_name,
8411 nm_manager_get_connection_dbus_path): get details about a connection
8412 known internally by the NMManager
8413 - (nm_manager_class_init): fix connection add/remove signal marshalers
8414 because NMConnection is now a GObject subclass
8415 - Use constant for the gobject data tag used on NMConnection objects for
8416 storing the associated DBusGProxy
8418 2007-09-14 Dan Williams <dcbw@redhat.com>
8423 src/supplicant-manager/Makefile.am
8424 src/dhcp-manager/Makefile.am
8425 src/backends/Makefile.am
8426 src/named-manager/Makefile.am
8427 src/ppp-manager/Makefile.am
8428 src/vpn-manager/Makefile.am
8429 test/libnm-util/Makefile.am
8430 test/test-common/Makefile.am
8431 - Remove utils/; it was unused
8433 2007-09-13 Dan Williams <dcbw@redhat.com>
8435 * libnm-glib/nm-vpn-manager.h
8436 libnm-glib/nm-vpn-manager.c
8437 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8439 2007-09-13 Dan Williams <dcbw@redhat.com>
8441 * src/nm-device-802-3-ethernet.c
8442 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8443 netlink monitor carrier signals on dispose, not bring down. The
8444 carrier signals should be handled over the entire lifetime of the
8445 device anyway, not created/destroyed on up or down.
8447 2007-09-13 Dan Williams <dcbw@redhat.com>
8449 * libnm-glib/nm-device.c
8450 libnm-glib/nm-device.h
8451 - (nm_device_activate): take a connection object path rather than an
8452 NMConnection because NMConnection isn't exported over D-Bus and
8453 therefore it dbus-glib can't automatically get an object path from it
8455 2007-09-13 Dan Williams <dcbw@redhat.com>
8457 * libnm-util/nm-setting.c
8458 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8460 2007-09-13 Tambet Ingo <tambet@gmail.com>
8462 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8464 2007-09-12 Tambet Ingo <tambet@gmail.com>
8466 * src/vpn-manager/nm-vpn-connection.[ch]:
8467 * src/vpn-manager/nm-vpn-manager.[ch]:
8468 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
8469 dbus-glib, GObjects, signals etc.
8471 * libnm-glib/nm-vpn-manager.[ch]:
8472 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8473 so much, rewrite these too.
8475 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8476 the new introspection files.
8478 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8480 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8481 the header with the same name from libnm-utils.
8483 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8485 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8487 * introspection/nm-vpn-plugin.xml: Implement.
8489 * introspection/nm-vpn-connection.xml: Implement.
8491 * introspection/nm-vpn-manager.xml: Implement.
8493 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8494 the named manager argument, it can just as easily get it as the caller.
8495 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8497 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8499 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8501 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8504 * libnm-util/nm-connection.c: Ditto.
8506 * src/NetworkManagerMain.h: Remove, it's finally empty.
8508 * configure.in: Remove utils/ from build.
8510 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8511 of hard-coded strings.
8513 * utils/: Move it over to libnm-util.
8515 * test/Makefile.am: Link against libnm-util now that util/ is gone.
8517 * dispatcher-daemon/Makefile.am: Ditto.
8519 * src/Makefile.am: Ditto.
8521 2007-09-12 Dan Williams <dcbw@redhat.com>
8523 Wireless connections can be made with config data from the applet now.
8527 * src/supplicant-manager/nm-supplicant-config.h
8528 src/supplicant-manager/nm-supplicant-config.c
8529 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8530 - (nm_supplicant_config_add_setting_wireless,
8531 nm_supplicant_config_add_setting_wireless_security): new functions;
8532 add key/value pairs from the settings objects to the supplicant
8535 * src/nm-device-802-11-wireless.c
8536 - (cull_scan_list): fix check to not prune currently associated AP
8537 - (build_supplicant_config, real_act_stage2_config): call the functions
8538 of the NMSupplicantConfig that parse settings objects rather than
8539 doing it manually here
8541 2007-09-12 Dan Williams <dcbw@redhat.com>
8543 * src/supplicant-manager/nm-supplicant-interface.c
8544 src/supplicant-manager/nm-supplicant-marshal.list
8545 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8546 "connection-error" signal arguments should be STRING not CHAR
8548 2007-09-12 Dan Williams <dcbw@redhat.com>
8550 * src/NetworkManagerUtils.c
8551 src/NetworkManagerUtils.h
8552 - (nm_utils_hexstr2bin): new function
8554 2007-09-11 Dan Williams <dcbw@redhat.com>
8557 - (connection_get_settings_cb): emit connection-added signal
8558 - (connection_removed_cb): uncomment bits for system settings service,
8559 send connection-removed when appropriate
8560 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8561 the stack by trying to g_object_set_data() on something that's
8562 not a GObject; handle case where settings service returns
8563 empty settings hash table
8565 2007-09-11 Dan Williams <dcbw@redhat.com>
8567 * src/NetworkManagerPolicy.c
8568 - (connection_added, connection_removed): trigger device change checks
8569 on connection changes
8571 2007-09-11 Dan Williams <dcbw@redhat.com>
8573 * src/nm-activation-request.c
8574 - (connection_secrets_updated_cb): fix c&p error in signal emission
8576 2007-09-11 Dan Williams <dcbw@redhat.com>
8578 * src/nm-device-802-11-wireless.c
8579 - (real_connection_secrets_updated): fix erroneous check
8581 2007-09-11 Dan Williams <dcbw@redhat.com>
8583 * introspection/nm-device.xml
8584 libnm-glib/nm-device.c
8585 libnm-glib/nm-device.c
8586 - Fix Activate call argument borkage; Activate takes 3 arguments
8588 2007-09-11 Dan Williams <dcbw@redhat.com>
8590 * libnm-glib/nm-access-point.c
8591 libnm-glib/nm-access-point.c
8592 - (nm_access_point_get_frequency): now returns guint32 to match
8593 property change on 2007-09-10
8595 2007-09-11 Dan Williams <dcbw@redhat.com>
8597 * src/nm-device-802-11-wireless.c
8598 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8599 somewhere defines 'index' and I missed this one when I fixed the
8600 shadow declaration errors earlier
8602 2007-09-11 Dan Williams <dcbw@redhat.com>
8604 * libnm-util/nm-connection.c
8605 - (nm_connection_update_secrets, need_secrets_check): move
8606 802-11-wireless-security need_secrets checks to the setting object
8607 itself, where it belongs
8609 * libnm-util/nm-setting.c
8610 libnm-util/nm-setting.h
8611 - (nm_setting_need_secrets): new function
8612 - (setting_wireless_security_verify,
8613 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8614 - (setting_wireless_security_need_secrets): mostly copy code over
8615 from nm-connection.c
8617 2007-09-11 Dan Williams <dcbw@redhat.com>
8619 * libnm-util/nm-setting.c
8620 libnm-util/nm-setting.h
8621 - (nm_setting_update_secrets): new function; add a virtual function that
8622 subclasses can implement to update their secrets
8623 - (setting_wireless_security_update_secrets): implement that function
8624 for the 802-11-wireless-security subclass
8626 * libnm-util/nm-connection.c
8627 libnm-util/nm-connection.h
8628 - (nm_connection_update_secrets): update secrets for a Setting and
8629 emit a signal on success
8634 - (connection_get_settings_cb): enable system settings bits
8635 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8636 to request secrets from the settings dbus service and to
8637 push those secrets to the NMConnection itself
8639 * src/nm-activation-request.c
8640 src/nm-activation-request.h
8641 - Attach to the 'secrets-updated' signal of the NMConnection that's
8642 currently being activated, and proxy that signal to other listeners.
8643 Goes through the activation request because the activation request
8644 is the thing that manages the lifetime of the NMConnection that's
8647 * src/nm-device-802-11-wireless.c
8648 - (real_connection_secrets_updated): implement the connection secrets
8649 updated notification and restart activation when secrets are
8651 - (real_act_stage2_config): request secrets from the settings dbus
8652 service if secrets are needed
8656 - (clear_act_request, nm_device_activation_cancel,
8657 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8658 where the activation request is cleared
8659 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8660 updated secrets signal of activation request and add a function
8661 that subclasses can override to handle it easily
8663 2007-09-11 Tambet Ingo <tambet@gmail.com>
8665 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8666 removal of NetworkManagerAPList.
8668 2007-09-10 Dan Williams <dcbw@redhat.com>
8670 * src/NetworkManagerAP.c
8671 src/NetworkManagerAP.h
8672 introspection/nm-access-point.xml
8673 - Change 'freq' property to a guint32 instead of a double since we
8674 weren't using the floating point bits anyway
8676 2007-09-10 Dan Williams <dcbw@redhat.com>
8678 * NetworkManagerAP.c
8680 NetworkManagerPolicy.c
8681 NetworkManagerSystem.c
8682 NetworkManagerUtils.c
8683 NetworkManagerUtils.h
8684 nm-device-802-11-wireless.c
8685 nm-device-802-3-ethernet.c
8688 vpn-manager/nm-dbus-vpn.c
8689 - Warning fixes; casts and removal of unused variables
8691 2007-09-10 Dan Williams <dcbw@redhat.com>
8693 * include/NetworkManager.h
8694 - Kill NMNetworkType; AP types don't matter any more
8696 * src/NetworkManagerAPList.c
8697 src/NetworkManagerAPList.h
8699 - Kill; NMAccessPointList has outlived it's usefulness
8701 * src/NetworkManagerAP.c
8702 src/NetworkManagerAP.h
8703 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8704 functions; check if an NMConnection object is compatible with the
8706 - (freq_to_channel, channel_to_freq): utility functions for
8707 channel <-> frequency conversion
8711 - (nm_device_get_best_connection): pass the specific object around
8712 (which might be the object path of a specific AP to connect to).
8713 The get_best_connection() call should populate this on return
8714 if needed (wireless does).
8716 * src/nm-device-802-3-ethernet.c
8717 - (real_get_best_connection): handle specific_object argument
8719 * src/NetworkManager.c
8720 src/NetworkManagerMain.h
8721 - Remove unused includes
8723 * src/nm-device-802-11-wireless.c
8724 src/nm-device-802-11-wireless.h
8725 - Convert the ap_list into a GSList from an NMAccessPointList
8726 - No need for caching the 'activation_ap' since this is now determined
8727 from the specific_object of the activation request, which is
8728 populated from the get_best_connection() call or from a user request
8729 - (nm_device_802_11_wireless_update_bssid): fix warning
8730 - (get_wireless_capabilities): fix error message format arguments
8731 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8732 - (find_best_connection, real_get_best_connection): implement
8733 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8734 move here from NetworkManagerAPList
8735 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8736 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8737 already verified earlier
8738 - (real_act_stage2_config): use nm_connection_need_secrets()
8740 * src/NetworkManagerPolicy.c
8741 - (nm_policy_auto_get_best_device): handle specific objects
8742 - (create_connection): remove; automatic connection creation functionality
8743 is handled by the Connection objects
8744 - (nm_policy_device_change_check): handle specific_object
8746 * libnm-util/nm-connection.c
8747 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8749 2007-09-10 Dan Williams <dcbw@redhat.com>
8752 - (query_connections): fix uninitialized variable problem that caused
8754 - (nm_manager_add_device): take devices down on startup so that we can
8755 be assured that nm_device_is_up() won't short-circuit the init
8756 process. Hack until the is_up check gets split into two pieces
8757 that aren't behaviorally confusing.
8759 2007-09-09 Dan Williams <dcbw@redhat.com>
8761 * introspection/nm-device.xml
8762 - The 'Activate' method now takes 3 arguments, a service name for the
8763 settings service (user or system), the object path of the connection
8764 to activate, and the specific object to activate, if any
8766 * src/nm-device-interface.c
8767 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8769 - (impl_device_activate): adapt to new Activate arguments; validate
8770 the service name and get the Connection object from the NMManager
8771 before starting to activate the device with the specified connection
8773 * src/nm-device-802-3-ethernet.c
8774 - (real_get_best_connection): find the best connection, or create a
8775 default one if no existing connections can be used
8777 * src/NetworkManagerPolicy.c
8778 - (nm_policy_auto_get_best_device): Get the device's best connection
8779 and only pick the device if it has one
8780 - (nm_policy_device_change_check): disable wireless bits for now until
8781 wireless get_best_connection() can be implemented (replacing "best_ap");
8782 don't create a default connection here as the device subclass will do
8787 - (nm_manager_get): make NMManager a singleton and expose the getter
8789 - Rework internal NMManager connection handling to use the same
8790 routines for both the system and user settings services. Most calls
8791 take a new NMConnectionType argument specifying either system or user
8793 - (nm_manager_get_connection_by_object_path): new function; get a
8794 connection keyed on its object path
8796 * src/NetworkManager.c
8797 - (main): use nm_manager_get()
8799 2007-09-09 Dan Williams <dcbw@redhat.com>
8803 - (nm_device_get_best_connection): new function; get best connection
8804 for the device at that time
8806 2007-09-09 Dan Williams <dcbw@redhat.com>
8808 * src/nm-device-interface.h
8809 - Add NMDeviceInterfaceError with an UnknownConnection error
8811 2007-09-09 Dan Williams <dcbw@redhat.com>
8813 Stupid mistake on my part; object path and interface for settings service
8814 and connection objects can be the same, only the service name must be
8815 different for the system and user settings services.
8817 * include/NetworkManager.h
8819 introspection/nm-settings-connection.xml
8820 introspection/nm-settings.xml
8821 libnm-glib/nm-settings.c
8822 - (nm_connection_settings_init, query_user_connections,
8823 new_connection_cb): Unify NetworkManagerSettings and Connection
8824 interface name and object path
8826 2007-09-06 Dan Williams <dcbw@redhat.com>
8828 * libnm-glib/nm-object.c
8829 - (nm_object_get_string_property, nm_object_get_object_path_property,
8830 nm_object_get_int_property, nm_object_get_uint_property,
8831 nm_object_get_boolean_property, nm_object_get_byte_property,
8832 nm_object_get_double_property, nm_object_get_byte_array_property):
8833 clear GValues after copying their contents, fixes memory leaks
8834 after every property access because dbus-glib copies the values
8835 from the DBusMessage into the GValue already.
8837 2007-09-06 Dan Williams <dcbw@redhat.com>
8839 * introspection/nm-access-point.xml
8840 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
8841 them to be. There's some magic property name parsing going on in
8842 dbus-glib that breaks up property names based on studly-caps and
8843 puts - between words.
8845 * libnm-glib/nm-access-point.c
8846 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
8849 2007-09-06 Dan Williams <dcbw@redhat.com>
8852 - (nm_manager_user_connections_destroy): clear the user connections hash
8853 table, don't destroy it
8854 - (finalize): only destroy the hash table on NMManager finalization
8856 2007-09-02 Dan Williams <dcbw@redhat.com>
8858 * include/NetworkManager.h
8859 libnm-glib/nm-settings.c
8860 - defines for the user settings daemon D-Bus bits
8862 * src/NetworkManager.c
8863 - Remove stuff that referred to the old NetworkManagerInfo service
8865 * src/vpn-manager/nm-dbus-vpn.h
8866 - Move old NMI defines to the only place they are used still
8868 * libnm-util/nm-connection.c
8869 libnm-util/nm-connection.h
8870 src/nm-activation-request.c
8871 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
8875 - Get connections and their settings from the user settings daemon
8876 at the appropriate times
8878 2007-09-02 Dan Williams <dcbw@redhat.com>
8880 * libnm-util/nm-setting.c
8881 - (nm_settings_verify): correct setting name is 'connection', not 'info'
8882 - (setting_wireless_hash): set the right value on the item
8884 2007-09-02 Dan Williams <dcbw@redhat.com>
8888 - Remove, no longer useful
8890 2007-08-30 Dan Williams <dcbw@redhat.com>
8893 src/NetworkManagerDbus.c
8894 src/NetworkManagerDbus.h
8895 src/vpn-manager/nm-dbus-vpn.c
8896 - Remove, no longer necessary. Move last bits to the only place its
8897 used, in nm-dbus-vpn.c
8899 * src/NetworkManagerAPList.c
8901 src/NetworkManager.c
8902 src/nm-device-802-11-wireless.c
8903 src/vpn-manager/nm-vpn-manager.c
8904 src/vpn-manager/nm-vpn-service.c
8905 src/NetworkManagerPolicy.c
8907 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
8908 that was message_is_error()
8910 2007-08-30 Dan Williams <dcbw@redhat.com>
8913 - Include config.h to get defines for endiannes (gnome.org #420216)
8915 2007-08-30 Dan Williams <dcbw@redhat.com>
8917 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
8919 * src/ppp-manager/Makefile.am
8920 - use -fPIC (gnome.org #471825)
8922 2007-08-29 Dan Williams <dcbw@redhat.com>
8924 * include/NetworkManager.h
8925 - Keep NMConnection object path in sync
8927 * libnm-glib/nm-settings.c
8928 libnm-glib/nm-settings.h
8929 - Break D-Bus object registration out of the init function, because
8930 every object that's exported over D-Bus needs to use the _same_
8931 DBusConnection. Otherwise, each object would get a different object
8932 path tree and wouldn't be callable.
8934 2007-08-29 Dan Williams <dcbw@redhat.com>
8936 * libnm-util/nm-setting.h
8937 libnm-util/nm-setting.c
8938 libnm-util/nm-connection.c
8939 src/NetworkManagerPolicy.c
8940 - 'info' settings object should be 'connection' says the spec
8941 at NetworkManagerConfigurationSpecification
8943 2007-08-29 Dan Williams <dcbw@redhat.com>
8945 * libnm-glib/nm-settings.c
8946 libnm-glib/nm-settings.h
8947 - make the dbus path a property of the object, and autogenerate it.
8948 It can't be composed of the 'id' field becuase that's not available
8949 yet during the GObject creation in nm_connection_settings_init()
8951 2007-08-29 Dan Williams <dcbw@redhat.com>
8953 * introspection/nm-settings-connection.xml
8954 introspection/nm-settings.xml
8955 - Service name -> NetworkManagerUserSettings because two services
8956 can't share part of the same path. I'm not really sure how we'll use
8957 the same code with the system-settings daemon...
8959 2007-08-28 Dan Williams <dcbw@redhat.com>
8961 * src/nm-device-interface.c
8962 src/nm-device-interface.h
8963 - Kill one more bit of NMData
8965 2007-08-28 Dan Williams <dcbw@redhat.com>
8967 * src/NetworkManagerSystem.h
8970 src/nm-hal-manager.c
8971 src/NetworkManager.c
8972 src/nm-device-802-11-wireless.c
8973 src/nm-hal-manager.h
8974 src/nm-device-802-3-ethernet.c
8975 src/vpn-manager/nm-vpn-service.h
8976 src/vpn-manager/nm-vpn-manager.c
8977 src/vpn-manager/nm-vpn-manager.h
8978 src/vpn-manager/nm-vpn-service.c
8979 src/nm-device-802-11-wireless.h
8980 src/NetworkManagerMain.h
8981 src/nm-device-802-3-ethernet.h
8982 src/backends/NetworkManagerGentoo.c
8983 src/backends/NetworkManagerPaldo.c
8984 src/backends/NetworkManagerFrugalware.c
8985 src/backends/NetworkManagerRedHat.c
8986 src/backends/NetworkManagerSlackware.c
8987 src/backends/NetworkManagerGeneric.c
8988 src/backends/NetworkManagerArch.c
8989 src/backends/NetworkManagerSuSE.c
8990 src/backends/NetworkManagerGeneric.h
8991 src/backends/NetworkManagerDebian.c
8994 2007-08-28 Dan Williams <dcbw@redhat.com>
8996 * src/NetworkManagerMain.h
8997 src/nm-device-802-11-wireless.c
8998 src/NetworkManager.c
8999 - Remove invalid AP list from NMData; need to rework this somewhat, but
9000 for now we should set the 'invalid' property on individual APs, and when
9001 we need to invalidate a whole ESS, set the 'invalid' on every member of
9004 2007-08-28 Dan Williams <dcbw@redhat.com>
9006 * src/NetworkManagerAP.c
9007 src/NetworkManagerAP.h
9008 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9009 'autoconnect' property instead
9011 * src/NetworkManager.c
9012 src/NetworkManagerMain.h
9013 src/NetworkManagerPolicy.c
9014 src/NetworkManagerPolicy.h
9015 - Remove the 'allowed_ap_list', which should be replaced by
9016 NMConnection/NMSettings instead, since _those_ are the allowed
9017 things that NM can connect to
9019 * src/nm-device-802-11-wireless.c
9020 - Remove both allowed_ap_list usage and 'fallback' checking
9022 2007-08-28 Dan Williams <dcbw@redhat.com>
9025 src/named-manager/nm-named-manager.c
9026 src/named-manager/nm-named-manager.h
9027 src/NetworkManager.c
9028 src/vpn-manager/nm-vpn-manager.c
9029 src/NetworkManagerMain.h
9030 src/NetworkManagerSystem.c
9031 - Remove the named-manager object from NMData structure in preparation
9032 for NMData's timely death. Make the NMNamedManager the singleton that
9035 2007-08-28 Dan Williams <dcbw@redhat.com>
9037 Remove NMAPSecurity objects, they are replaced with flags on the APs for
9038 each AP's capabilities, and by NMConnection/NMSettings objects for user
9039 defined connections.
9041 * include/NetworkManager.h
9042 - Redefine 802.11 security properties. There are now device capabilities
9043 and AP flags and AP security flags. It was way to unclear before.
9046 src/nm-ap-security-leap.h
9047 src/nm-ap-security-leap.c
9048 src/nm-ap-security-wpa-eap.c
9049 src/nm-ap-security-wpa-eap.h
9050 src/nm-ap-security-private.h
9051 src/nm-ap-security-wpa-psk.c
9052 src/nm-ap-security-wpa-psk.h
9053 src/nm-ap-security-wep.c
9054 src/nm-ap-security-wep.h
9055 src/nm-ap-security.c
9056 src/nm-ap-security.h
9057 - Removed, to be replaced with NMConnection/NMSettings objects
9061 - Removed, to be replaced by code that talks to the new info daemon
9062 interface and gets NMConnection/NMSettings objects
9064 * src/backends/NetworkManagerSuSE.c
9065 - Remove usage of NMAPSecurity; should be replaced by a system-level
9066 info-daemon that does the same thing but talks the new info-daemon
9069 * src/NetworkManagerAP.h
9070 src/NetworkManagerAP.c
9071 src/NetworkManagerAPList.c
9072 libnm-glib/libnm-glib-test.c
9073 - Remove usage of NMAPSecurity objects and adjust to new flags for
9076 * libnm-glib/nm-access-point.c
9077 libnm-glib/nm-access-point.h
9078 introspection/nm-access-point.xml
9080 - Adjust to new flags for AP security
9084 src/vpn-manager/nm-dbus-vpn.c
9085 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9086 stuff which is the only place it's used
9088 * src/nm-device-interface.c
9089 src/nm-device-interface.h
9090 introspection/nm-device.xml
9091 src/nm-activation-request.c
9092 src/nm-activation-request.h
9094 - Add a new 'specific_object' argument that hints to NM what actual
9095 AP or other device-specific thing the connection should apply to.
9096 NMConnection objects can apply to more than one actual device/AP.
9098 * libnm-util/nm-connection.c
9099 * libnm-util/nm-connection.h
9100 - Add 'have_secrets" call stubs
9102 * libnm-util/cipher.h
9103 - Move NM_AUTH_TYPE_* defines here for now
9105 * src/nm-device-802-11-wireless.c
9106 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9109 * src/NetworkManagerDbus.c
9110 * src/NetworkManagerPolicy.c
9111 - Remove usage of update_allowed_networks, should be pushing data in
9114 2007-08-27 Tambet Ingo <tambet@gmail.com>
9116 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9117 dbus-glib frees it when the call is done.
9119 2007-08-26 Dan Williams <dcbw@redhat.com>
9121 * introspection/nm-device.xml
9122 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9124 2007-08-26 Dan Williams <dcbw@redhat.com>
9126 * src/nm-device-802-3-ethernet.c
9127 - (constructor): move connection of interface-connected/disconnected
9128 signals here from real_bring_up(). Should be listening to netlink
9129 for carrier events no matter what the initial state of the device
9132 2007-08-26 Dan Williams <dcbw@redhat.com>
9134 * src/nm-netlink-monitor.c
9135 - (nm_netlink_monitor_class_init): fix marshalling types for
9136 interface-connected/interface-disconnected
9137 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9140 2007-08-26 Dan Williams <dcbw@redhat.com>
9142 Convert to using interface indexes as the primary method of identifying
9143 devices inside NetworkManager. Indexes are (?) stable, but devices can
9144 be renamed at any time. Device object paths now refer to the device
9145 index rather than the name, and you can map those two manually if you like
9146 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9147 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9148 to use interface indexes rather than names.
9150 2007-08-26 Dan Williams <dcbw@redhat.com>
9152 * src/nm-netlink-monitor.h
9153 - Remove one last bit of wireless-event signal
9155 2007-08-26 Dan Williams <dcbw@redhat.com>
9157 * src/nm-netlink-monitor.c
9158 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9159 don't need the 'wireless-event' signal anymore since that's all
9160 handled by wpa_supplicant
9162 2007-08-25 Dan Williams <dcbw@redhat.com>
9164 It's 2007. Remove support for drivers that don't support wireless scanning.
9167 include/NetworkManager.h
9168 src/NetworkManagerUtils.c
9169 src/NetworkManagerPolicy.c
9170 src/nm-device-802-11-wireless.c
9171 - Remove special handling for non-scanning devices and mark them
9172 as unsupported/unhandled
9174 2007-08-20 Dan Williams <dcbw@redhat.com>
9176 * src/nm-device-802-11-wireless.c
9177 src/nm-device-802-3-ethernet.c
9178 - (real_is_up): move device-specific tests before generic IFF_UP test,
9179 because when the card is pulled or the module removed, the device
9180 is already !IFF_UP and then device-specific cleanup (removing
9181 the supplicant interface, periodic checks, etc) never gets done
9183 2007-08-20 Dan Williams <dcbw@redhat.com>
9186 - (nm_manager_remove_device): bring device down before disconnecting
9187 signal handlers, so that the 'state' signal will get broadcast when
9188 the device enters the DOWN state
9189 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9190 of states that cause the NMManager to recheck its state
9192 2007-08-20 Dan Williams <dcbw@redhat.com>
9194 * src/supplicant-manager/nm-supplicant-interface.c
9195 - (interface_disconnect_done): don't try to dispose of the net proxy
9196 when it may already have been disposed of
9198 2007-08-20 Dan Williams <dcbw@redhat.com>
9200 * src/nm-device-802-11-wireless.c
9201 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9202 the SSID isn't available; this can happen when the card is pulled
9203 or the module unloaded, during the post-removal deactivation
9204 paths, when the ioctl returns ENODEV
9206 2007-08-20 Dan Williams <dcbw@redhat.com>
9208 * src/nm-device-802-11-wireless.c
9209 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9210 frequency, and mode match. Applets are now responsible for grouping
9213 2007-08-20 Dan Williams <dcbw@redhat.com>
9215 * src/NetworkManagerAP.c
9216 * src/NetworkManagerAP.h
9217 - (nm_ap_print_self): new function
9219 * src/NetworkManagerAPList.c
9220 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9223 2007-08-17 Dan Williams <dcbw@redhat.com>
9225 * src/nm-device-802-3-ethernet.c
9226 - (real_bring_down): don't try to dispose of stuff that might not
9229 2007-08-17 Dan Williams <dcbw@redhat.com>
9231 * src/NetworkManagerAP.c
9232 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9233 applet. This ensures that the case between the seen-bssids and
9234 the bssids reported by the driver match.
9236 2007-08-17 Dan Williams <dcbw@redhat.com>
9238 * src/nm-device-802-11-wireless.c
9239 - (device_cleanup): disconnect the interface in wpa_supplicant before
9240 we dispose of the interface proxy in NM
9242 2007-08-16 Dan Williams <dcbw@redhat.com>
9244 * libnm-glib/nm-client.c
9245 - (nm_client_init): create VPN connections hash table with key free
9247 - (proxy_vpn_connection_added): VPN connections hash table key should
9248 be a duplicated value, not the same memory address as the VPN
9249 connection name. This is because the VPN connection name could
9250 potentially be freed and set to something else during the lifetime
9251 of the NMVPNConnection object.
9253 2007-08-16 Tambet Ingo <tambet@gmail.com>
9255 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9256 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9257 with the file descriptors. Send a child setup function to change the pppd
9260 2007-08-15 Dan Williams <dcbw@redhat.com>
9262 * src/supplicant-manager/nm-supplicant-interface.c
9263 - (try_remove_iface): new function, ask wpa_supplicant to remove
9265 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9266 disposing of the NMSupplicantInterface. Otherwise weird stuff
9267 happens on hotplug if wpa_supplicant doesn't tear down and readd
9268 the interface internally
9270 2007-08-15 Dan Williams <dcbw@redhat.com>
9272 * src/nm-device-802-11-wireless.c
9273 - (real_bring_down): move most of this function into device_cleanup()
9274 so that it can be called from elsewhere
9275 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9276 and stuff on dispose. These would normally get cleaned up when
9277 the device is marked down and deactivated, but when the device is
9278 hot-unplugged, it's already down and real_down() never gets run
9280 2007-08-15 Dan Williams <dcbw@redhat.com>
9283 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9284 caused a reference leak on device for which NM requested a key
9286 2007-08-15 Dan Williams <dcbw@redhat.com>
9288 * libnm-glib/nm-client.c
9289 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9291 2007-08-15 Tambet Ingo <tambet@gmail.com>
9293 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9294 nothing is using it at the moment, but it'll be all useful and stuff later on.
9296 * libnm-util/nm-setting.h: Define NMSettingPPP.
9298 * libnm-util/nm-setting.c: Implement NMSettingPPP.
9300 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9302 * src/Makefile.am: Add ppp-manager to SUBDIRS.
9304 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9306 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9308 2007-08-14 Tambet Ingo <tambet@gmail.com>
9310 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9312 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9313 an issue with dbus-glib bindings generator. The issue is, the generated C caller
9314 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9315 name and different arguments and it won't compile anymore. To fix this, we now have
9316 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9317 that is new API + compatibility API and used by the daemon. The other,
9318 nm-manager-client.xml is only the new API without compatibility bits and is used
9319 by libnm-glib to make it compile.
9321 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9323 * src/nm-manager.c (impl_manager_legacy_sleep)
9324 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9325 interface functions for 0.6 branch.
9327 2007-08-14 Dan Williams <dcbw@redhat.com>
9329 * src/NetworkManagerAP.c
9330 - (nm_ap_new_from_properties): fix mistaken check of return value
9331 from memcmp (should expect 0)
9333 2007-08-14 Dan Williams <dcbw@redhat.com>
9335 (force-commit to fix wrong comment and partial commit of r2685; this
9336 commit actually applies to r2685)
9338 * src/NetworkManagerUtils.c
9339 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9340 ignores trailing nulls in the SSID to work around mismatches in
9341 expectations between WEXT and what the info-daemon passes back. The
9342 info-daemon would pass back the correct length, but due to the
9343 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9344 the device would always have an SSID + 1 depending on what versions
9345 of wpa_supplicant, the kernel, and NM you have. This was most often
9346 visible by just quitting the applet and relaunching, which caused
9347 NM to reassociated to the same network over again when reloading
9350 * src/NetworkManagerPolicy.c
9351 src/NetworkManagerUtils.h
9352 src/nm-device-802-11-wireless.c
9353 - Update for new parameter to nm_utils_same_ssid()
9355 2007-08-14 Dan Williams <dcbw@redhat.com>
9357 * src/NetworkManagerAP.c
9358 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
9359 I encountered a BSS that wasn't just hiding it's ESSID, it was
9360 setting the BSSID to all 0s. That confused the heck out of NM,
9361 plus it's useless and probably out-of-spec.
9363 2007-08-14 Dan Williams <dcbw@redhat.com>
9365 * callouts/Makefile.am
9366 src/dhcp-manager/nm-dhcp-manager.c
9367 src/dhcp-manager/nm-dhcp-manager.h
9368 src/dhcp-manager/Makefile.am
9369 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9371 2007-08-14 Dan Williams <dcbw@redhat.com>
9373 * src/dhcp-manager/nm-dhcp-manager.c
9374 - (dhclient_run): don't pass -x to dhclient until we figure out if
9375 it's really needed, get rid of unused xtra_args parameter
9377 2007-08-14 Dan Williams <dcbw@redhat.com>
9379 * include/NetworkManagerVPN.h
9380 src/vpn-manager/nm-dbus-vpn.c
9381 src/vpn-manager/nm-dbus-vpn.h
9382 src/vpn-manager/nm-vpn-act-request.c
9383 src/vpn-manager/nm-vpn-act-request.h
9384 src/vpn-manager/nm-vpn-service.c
9385 src/vpn-manager/nm-vpn-service.h
9386 libnm-glib/nm-vpn-connection.c
9387 libnm-glib/nm-vpn-connection.h
9388 libnm-glib/nm-client.h
9389 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
9390 NMVPNServiceState to clarify what they apply to
9391 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9392 NMVPNActStage -> NMVPNConnectionState for the same reason
9394 * libnm-glib/nm-client.c
9395 - Constant + type renames from above
9396 - Properly handle NameOwnerChanged/manager_running signals
9397 for NM service; only emit when state really changes
9398 - Use hash tables correctly so that the key (which was previously owned
9399 by the D-Bus message) now has the same lifetime as the value, since
9400 the key is now taken from the the NMVPNConnection itself. This
9401 really fixes the double-VPN names in the applet
9403 2007-08-13 Dan Williams <dcbw@redhat.com>
9405 Patch from Michael Biebl <biebl@debian.org>
9409 - Update for vpn-properties move
9411 2007-08-13 Dan Williams <dcbw@redhat.com>
9413 * libnm-glib/nm-client.c
9414 - Convert internal VPN connection tracking from a list to a hash table
9415 to easily avoid duplicates
9416 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9417 must be freed by the caller, like nm_client_get_devices()
9418 - (nm_client_remove_vpn_connection): don't let the removal signal
9419 leak through for NMVPNConnection objects that aren't actually
9421 - (manager_running): throw away VPN connection list when NM goes away,
9422 like with the device list
9424 2007-08-13 Dan Williams <dcbw@redhat.com>
9426 * src/dhcp-manager/nm-dhcp-manager.c
9427 - Stop any dhclient instance that might be already running for a
9428 particular interface before starting an NM spawned dhclient. Fixes
9429 dhclient processes left over if NM crashes, stuff like that.
9431 2007-08-13 Dan Williams <dcbw@redhat.com>
9433 * src/NetworkManagerAP.c
9434 - (finalize): don't try to g_array_free (NULL, ...), which happened
9435 when the AP wasn't broadcasting it's SSID
9437 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
9439 * include/NetworkManager.h: added DBus path for connection settings.
9441 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9442 nm_connection_settings_signal_updated,
9443 nm_connection_settings_signal_removed): new functions to wrap the
9445 (nm_connection_settings_init): register GObject with DBus.
9446 (nm_connection_settings_get_dbus_object_path): new function.
9448 * libnm-glib/Makefile.am: added libnmutil to link flags.
9450 2007-08-13 Tambet Ingo <tambet@gmail.com>
9452 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9454 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9455 libnm_glib directory got merged with libnm-glib/.
9457 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9459 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9460 Rename the library from libnm-glib to libnm_glib to maintain the library API
9461 compatibility with 0.6 branch.
9463 * Makefile.am: Remove gnome/ SUBDIR.
9465 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9467 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9469 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9471 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9473 Remove checks for wpa_supplicant binary, it's used over dbus.
9474 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9476 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9477 Link the binaries with libnm_glib.la.
9479 2007-08-12 Dan Williams <dcbw@redhat.com>
9481 * src/NetworkManagerPolicy.c
9482 - (nm_policy_device_change_check): fix policy to deactivate old device
9483 before activating new one, at least until the multiple active
9484 device support lands
9486 2007-08-12 Dan Williams <dcbw@redhat.com>
9488 * src/NetworkManagerPolicy.c
9489 - (nm_policy_new): hook up to connection-added / connection-removed
9490 signals instead of connections-changed
9492 2007-08-12 Dan Williams <dcbw@redhat.com>
9494 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
9495 Robert Frank <rfrank@redhat.com>
9497 * src/dhcp-manager/nm-dhcp-manager.c
9498 src/dhcp-manager/nm-dhcp-manager.c
9500 - Spawn and communicate with dhclient directly, through means of a
9501 custom dhclient callout script. Process callout D-Bus signals
9502 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
9503 sent via gobject signals rather than being driven by the dhcp manager
9506 2007-08-12 Dan Williams <dcbw@redhat.com>
9508 * callouts/nm-dhcp-client-action.c
9509 - (build_message): ignore non-DHCP-related environment variables
9511 2007-08-12 Dan Williams <dcbw@redhat.com>
9515 callouts/Makefile.am
9516 callouts/nm-dhcp-client-action.c
9517 callouts/nm-dhcp-client.conf
9518 - Add dhclient-executed callout that takes the place of dhclient-script
9519 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9522 2007-08-09 Tambet Ingo <tambet@gmail.com>
9524 [Based on patch by Helmut Schaa <hschaa@suse.de>]
9526 * libnm-glib/nm-client.h:
9527 * libnm-glib/nm-object.h:
9528 * libnm-glib/nm-vpn-connection.h:
9529 * libnm-glib/nm-settings.h:
9530 * libnm-glib/nm-device.h:
9531 * libnm-glib/nm-ip4-config.h:
9532 * libnm-glib/nm-access-point.h:
9533 * libnm-glib/nm-device-802-3-ethernet.h:
9534 * libnm-util/nm-setting.h:
9535 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9537 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9539 * libnm-glib/nm-access-point.c: Strength has type char.
9541 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9542 to fix build. GnomeDruid is deprecated in recent libgnomeui.
9544 * introspection/nm-access-point.xml: Strength property is char, not int.
9546 * src/NetworkManagerAP.c (set_property): Set strength from char.
9547 (get_property): Handle hidden APs (with empty SSID).
9548 Get strength value from char.
9549 (nm_ap_class_init): Strength property has char type.
9551 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
9553 * introspection/Makefile.am:
9554 * introspection/nm-settings.xml:
9555 * introspection/nm-settings-connection.xml: added Settings interfaces.
9557 * libnm-glib/nm-settings.[ch]:
9558 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9559 containing the DBus implementation.
9561 2007-07-26 Dan Williams <dcbw@redhat.com>
9563 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9565 * src/NetworkManagerSystem.c
9566 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9567 same subnet (#437396)
9569 2007-07-26 Dan Williams <dcbw@redhat.com>
9571 Patch from Kelemen Gábor <kelemeng@gnome.hu>
9573 * gnome/vpn-properties/nm-vpn-properties.c
9574 - Fix translatable strings (#445865)
9576 2007-07-26 Dan Williams <dcbw@redhat.com>
9578 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9581 - Remove useless junk (#412530)
9583 2007-07-10 Christopher Aillon <caillon@redhat.com>
9585 Patch from Robert Buchholz <rbu@gentoo.org>:
9589 * introspection/Makefile.am:
9590 Make make distcheck work again.
9592 2007-06-27 Dan Williams <dcbw@redhat.com>
9594 * Make SSIDs GByteArrays everywhere
9595 * Rename "essid" -> "ssid" everywhere that's appropriate
9596 * Refcount activation_ap member of the 802.11 wireless device class
9598 2007-06-27 Tambet Ingo <tambet@ximian.com>
9600 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9602 2007-06-22 Tambet Ingo <tambet@ximian.com>
9604 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9605 that we got a new AP when we just update existing AP properties.
9607 2007-06-21 Tambet Ingo <tambet@ximian.com>
9609 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9611 * nm-utils.[ch]: Remove.
9613 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9614 objects for easy property access and dbus connection handling.
9616 * libnm-glib/nm-client.c: Derive from NMObject.
9618 * libnm-glib/nm-device.c: Ditto.
9620 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9622 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9624 * libnm-glib/nm-ip4-config.c: Ditto.
9626 * libnm-glib/nm-access-point.c: Ditto.
9628 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9629 comparision. Currently used by the device activation code to determine if the new
9630 activation is the same as the old one.
9632 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9633 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9634 able to ask password for the AP.
9636 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9637 up if the device is already connected, tear down it's connection (if it isn't the
9638 same as new one) and start the activation.
9640 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9642 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9643 the issue where all APs are always listed as encrypted.
9645 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9646 their own registered paths.
9648 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9649 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9651 2007-06-13 Tambet Ingo <tambet@ximian.com>
9653 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9656 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9657 because the handling code will cause the next state change and signal listeners
9658 get the signals in wrong order.
9660 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9661 correctly in case of pending activation.
9663 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9664 Convert the essid byte array to string correctly, including the terminating NULL.
9666 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9667 mode with correct types.
9669 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9670 constructed info to dbus call instead of the activation request.
9672 2007-06-11 Christopher Aillon <caillon@redhat.com>
9674 Patch from Christian Persch <chpe@gnome.org>
9676 * libnm-glib/Makefile.am:
9677 * dispatcher-daemon/Makefile.am:
9678 Use the correct variables, the correct paths, and correct ordering. (446315)
9680 2007-06-11 Tambet Ingo <tambet@ximian.com>
9682 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9683 argument. The activation request is easy to retrieve.
9685 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9686 just to be a convenient location for devices to store random stuff.
9688 2007-06-11 Christopher Aillon <caillon@redhat.com>
9690 Patch from Alex Smith <alex@alex-smith.me.uk>
9692 * src/backends/NetworkManagerFrugalware.c:
9693 Update the FrugalWare backend to fix a few segfaults. (#392642)
9695 2007-06-08 Tambet Ingo <tambet@ximian.com>
9697 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9699 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9701 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9703 2007-06-06 Tambet Ingo <tambet@ximian.com>
9705 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9707 Implement NMSettingIP4Config.
9708 Finish NMSettingWired by adding all known members.
9709 (setting_wired_verify): Implement.
9710 Finish NMSettingWireless by adding all known members.
9711 (setting_wireless_verify): Implement.
9713 * libnm-util/nm-connection.c: Register "ipv4" setting.
9714 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9715 dump function, we can introspect the GHashTable which is used for sending connections
9718 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9719 Take GByteArray for essid, it's really not a string.
9721 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9722 Start DHCP request if setting is not passed or if it states that DHCP should be used.
9723 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9724 means overriding the values we got from DHCP.
9725 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9726 (nm_device_deactivate_quickly): Ditto.
9728 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9731 2007-05-07 Tambet Ingo <tambet@ximian.com>
9733 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9736 * libnm-glib/nm-device-802-11-wireless.c:
9737 (nm_device_802_3_ethernet_activate): Remove.
9739 * libnm-glib/nm-device-802-3-ethernet.c
9740 (nm_device_802_3_ethernet_activate): Remove.
9742 * libnm-glib/nm-device.c (nm_device_activate): Implement.
9744 * src/nm-device-802-3-ethernet.c: Implement the new activation using
9747 * src/nm-device-802-11-wireless.c: Store an activation AP once the
9748 activation has started.
9749 Implement the new activation using NMConnection.
9751 * src/nm-activation-request.c: Store a generic connection object instead
9752 of a wireless-specific AP.
9754 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9755 on device type, create a device specific connection object suitable for
9758 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9759 specific check to validate the connection and on success start the
9762 * src/nm-device-interface.h: Add a activate virtual function to the
9763 interface definition.
9765 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9766 (impl_device_activate): Implement.
9768 * introspection/nm-device.xml: Add a generic device activation interface
9769 that accepts an abstract NMConnection structure that has device-specific
9772 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9773 activation interface.
9775 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9776 activation interface.
9778 * libnm-util/nm-connection.c:
9779 * libnm-util/nm-connection.h:
9780 * libnm-util/nm-setting.c:
9781 * libnm-util/nm-setting.h: Add.
9783 * libnm-util/Makefile.am: Build the added files.
9785 * src/nm-dbus-manager.c
9786 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
9787 DbusConnection argument from 'name-owner-changed' signal. The manager
9788 is already passed as a first argument to the signal and the connection
9789 is easy enough to get from it.
9791 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
9792 Update the signature of the function.
9794 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
9797 * src/NetworkManager.c: Ditto.
9799 * src/named-manager/nm-named-manager.c
9800 (nm_named_manager_name_owner_changed): Ditto.
9802 * src/supplicant-manager/nm-supplicant-manager.c
9803 (nm_supplicant_manager_name_owner_changed): Ditto.
9805 * src/nm-hal-manager.c (name_owner_changed): Ditto.
9807 * src/dhcp-manager/nm-dhcp-manager.c
9808 (nm_dhcp_manager_name_owner_changed): Ditto.
9810 * src/nm-hal-manager.c: Add a list of device detectors and creators
9811 to make it easier to add new devices. Each device type has it's own
9812 entry in the table so adding new device types is only a matter of
9813 implementing a couple of functions, one for device detection and the
9814 other for device creation.
9816 2007-04-25 Dan Williams <dcbw@redhat.com>
9818 * initscript/RedHat/NetworkManager.in: remove trailing backslash
9821 2007-03-30 Dan Williams <dcbw@redhat.com>
9823 * src/NetworkManagerSystem.c
9824 - (nm_system_device_set_ip4_route): clean up and fix argument
9825 to nm_dev_sock_open()
9827 2007-03-28 Tambet Ingo <tambet@ximian.com>
9829 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
9830 data to correct types instead of always using string.
9832 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
9833 _not_ have NM_802_11_CAP_PROTO_NONE.
9834 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
9837 2007-03-27 Tambet Ingo <tambet@ximian.com>
9839 * libnm-glib/Makefile.am: Fix the build issue.
9841 2007-03-26 Tambet Ingo <tambet@ximian.com>
9843 * libnm-glib/nm-vpn-connection.h:
9844 * libnm-glib/nm-vpn-connection.c: Implement.
9846 * libnm-glib/nm-client.c: Add VPN support.
9848 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
9851 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
9854 2007-03-26 Dan Williams <dcbw@redhat.com>
9856 * src/NetworkManagerAPList.c
9857 * src/nm-device-802-11-wireless.c
9858 * src/NetworkManagerAP.c:
9859 - Store last seen as glong instead of GTimeVal.
9860 - Fix the upper bound of capabilities, it's a bitfield.
9862 2007-03-16 Tambet Ingo <tambet@ximian.com>
9864 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
9866 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
9867 "manager-running" signal that notifies the appearance/disappearance of NM.
9868 (nm_client_sleep): Implement.
9870 * libnm-glib/nm-device.c:
9871 * libnm-glib/nm-device-802-11-wireless.c:
9872 * libnm-glib/nm-device-802-3-ethernet.c:
9874 Don't inherit from DBusGProxy, add a proxy to private
9875 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
9876 for anything but their own dbus interface. DBusGProxy objects support only one
9877 interfaces and to work around this, NMDevice has spearate proxy for each dbus
9878 interface. The nice side effect of this change is that we do not create a new
9879 DBusGProxy object for each property access.
9881 2007-03-15 Tambet Ingo <tambet@ximian.com>
9883 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
9884 with zeroes before passing them to functions - the functions never do that and
9885 reading the values back may produce wrong values.
9886 (real_bring_up): Store the signal handler id ...
9887 (real_bring_down): ... So that it can be removed here.
9888 Disconnect the supplicant interface here as well.
9889 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
9890 from the access point instead of old $device/Networks/$essid.
9892 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
9893 device state is connected (instead of just having link/carrier).
9895 * src/nm-activation-request.c: Don't store NMData in activation request, it's
9896 already easily accessible through the device.
9898 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
9899 store it within the object.
9900 (nm_ap_get_dbus_path): Export it to public as well.
9902 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
9905 2007-03-12 Dan Williams <dcbw@redhat.com>
9907 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
9908 for non-carrier-detect capable devices, and useless for carrier-detect
9909 devices since we get notifications from netlink about carrier status anyway.
9911 * src/nm-device-802-3-ethernet.c
9912 - remove 'link_source_id' member from private data
9913 - (probe_link): remove and collapse into real_update_link()
9914 - (nm_device_802_3_periodic_update): remove
9915 - (real_is_up): check for sup_iface rather than link_source_id
9916 - (real_bring_up): return gboolean for success/fail; require that
9917 sup_iface be valid for device bringup to succeed
9918 - (real_bring_down): zero out link signal ids
9921 - (nm_device_activate_stage2_device_config): fail activation if device
9923 - (real_act_stage4_get_ip4_config): fail activation if device bringup
9925 - (nm_device_bring_up): return success/fail
9928 - bring_up now returns success/fail
9930 * src/nm-device-802-11-wireless.c
9931 - (real_bring_up): return success from bringup
9933 2007-03-07 Dan Williams <dcbw@redhat.com>
9935 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
9936 * src/nm-ap-security-wpa-psk.c
9937 - (real_write_supplicant_config): work with PSKs that may contain
9938 zeros in the binary format rather than treating it as a string
9940 2007-03-02 Tambet Ingo <tambet@ximian.com>
9942 * libnm-glib/nm-device-802-11-wireless.c
9943 (nm_device_802_11_wireless_get_capabilities): Implement.
9945 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
9947 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
9949 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
9950 reply only if it's not NULL. Not sure why this started happening right now.
9952 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
9953 code paths for when devices get removed on shutdown or when a device is just
9955 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
9956 gets freed so any signal from a device (disconnected for instance) would invoke
9957 NMState update which would crash.
9958 (nm_manager_remove_device): Bring the device down when it gets removed.
9960 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
9961 the unused dev_type.
9963 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
9964 reference to the added device, NMManager will own it (if it wants).
9966 * test/nm-tool.c: Rewrite using libnm-glib.
9968 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
9969 We get signalled when it changes.
9971 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
9974 * libnm-glib/nm-device.c: Cache the device state property.
9976 * libnm-glib/nm-access-point.c: Cache the strength property.
9978 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
9979 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
9980 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
9981 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
9982 the device is down, activating, or activated (in case of A/B/G cards).
9983 Remove some old dead ifdef'ed out code that used to configure wireless devices,
9984 it's all done through supplicant now.
9986 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
9987 counting issues with pending calls which caused leaks and crashes when
9988 interface was removed (now that the interface actually gets removed).
9990 * src/nm-call-store.c: Make a copy of data before running a foreach
9991 with user callback on it - The most common usage pattern is to cancel
9992 (and thus remove) all pending calls with foreach which would modify
9993 the hash table we're iterating over.
9995 * src/nm-manager.c: When a device is added, make sure it is "up". When
9996 it's removed or disabled due to disabling wireless or networking, bring
9999 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10001 * src/nm-device-802-11-wireless.c:
10002 * src/nm-device-802-3-ethernet.c:
10004 - Remove "init" virtual function, all gobjects have a place for that
10005 already (constructor).
10006 - Replace "start" virtual function with "bring_up", devices can be
10007 brought up and down more than just on startup now.
10008 - Add "is_up" virtual function.
10009 - Implement one way to bring a device down instead of previous 4 different
10010 ways, each of witch did something different.
10012 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10013 all it needs is the device interface.
10015 Get rid of NMData.dev_list (3 members to go).
10016 Get rif of NMData in a lot of places.
10018 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10020 2007-02-23 Dan Williams <dcbw@redhat.com>
10022 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10024 * src/NetworkManagerAP.c
10025 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10026 OR-ing rather than AND-ing
10028 2007-02-20 Tambet Ingo <tambet@ximian.com>
10030 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10031 "network-removed" signals.
10033 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10035 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10036 when receiving the signal from dbus.
10038 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10041 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10042 deactivation of the previously activated device working again.
10044 * src/nm-activation-request.c: Remove NMActStage property and it's getter
10047 * src/nm-device.c (nm_device_is_activated): Remove.
10048 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10050 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10051 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10052 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10053 NM_DBUS_SIGNAL_STATE_CHANGE signal.
10054 Remove NMNetworkStatus and NMActStage enums.
10056 2007-02-19 Tambet Ingo <tambet@ximian.com>
10058 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10059 Handle device state changes and disconnect VPN if it's device deactivates.
10061 * src/nm-dbus-nm.c:
10062 * src/nm-dbus-nm.h:
10063 * src/nm-dbus-device.c:
10064 * src/nm-dbus-device.c:
10065 * src/nm-dbus-net.c:
10066 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10068 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10070 * src/nm-device.c (nm_device_get_by_udi):
10071 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10072 implemented in the correct location (NMManager).
10073 Rip out all the test_device stuff.
10075 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10076 failure handlers, it's all done by NMDevice already.
10078 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10079 Remove the iochannel hack to route the unix signals to the main thread since
10080 we're not threaded anymore.
10082 * src/NetworkManagerAP.c: Implement HWAddress property.
10084 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10085 automatically with dbus-glib.
10087 * src/nm-netlink-monitor.c:
10088 * src/nm-netlink-monitor.h:
10089 - Move it low in the class hierarchy, don't reference any NM types.
10090 - Remove private data from the header.
10091 - Use type safe checks in public API methods.
10092 - Make it a singleton so we don't have to pass the single reference around.
10094 2007-02-16 Tambet Ingo <tambet@ximian.com>
10096 * introspection/nm-ip4-config.xml: Implement.
10098 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10100 * libnm-glib/nm-ip4-config.c:
10101 * libnm-glib/nm-ip4-config.c: Implement.
10103 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10104 securities. APs reference security.
10106 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10107 be exported over DBUS.
10109 * src/nm-device-802-3-ethernet.c: Ditto.
10111 * src/NetworkManagerAP.c:
10112 * src/NetworkManagerAP.h:
10113 - Convert to GObject, export over DBUS.
10115 * src/nm-ip4-config.h:
10116 * src/nm-ip4-config.h:
10117 - Convert to GObject, export over DBUS.
10119 2007-02-12 Dan Williams <dcbw@redhat.com>
10121 Patch from Helmut Schaa <hschaa@suse.de>
10123 * vpn-daemons/pptp/configure.in
10124 vpn-daemons/pptp/Makefile.am
10125 vpn-daemons/openvpn/configure.in
10126 vpn-daemons/openvpn/Makefile.am
10127 vpn-daemons/vpnc/configure.in
10128 vpn-daemons/vpnc/Makefile.am
10129 - Add --without-gnome switch which disables building gnome bits
10131 2007-02-12 Tambet Ingo <tambet@ximian.com>
10133 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10135 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10137 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10140 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10142 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10144 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10147 - Remove old low-level dbus interface implementations and replace them
10148 with dbus-glib one.
10151 - Require dbus-glib >= 0.72.
10152 - Plug in new sources to build.
10155 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10156 to make it more convenient to use from GObject based programs.
10159 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10161 2007-02-09 Tambet Ingo <tambet@ximian.com>
10163 * src/nm-device-802-11-wireless.c:
10164 - Add "network-added" and "network-removed" signals.
10165 - Use gobject boilerplate macros to define the GObject.
10166 - Implement wireless device activation.
10167 - Remove activation_failure_handler and activation_success_handler
10168 and instead listen on state-changed signals and run the same code
10172 - Implment NMDeviceInterface::deactivate.
10173 - Remove activation_failure_handler and activation_success_handler
10174 virtual methods. Each device which is interested in these events
10175 can just listen on it's state changed signals.
10177 * src/NetworkManagerPolicy.c:
10178 - Move a bit more NMData usage to NMManager.
10179 - Remove activation scheduling bits.
10180 - Add listeners for wireless device's "network-added" and
10181 "network-removed" signals.
10182 - Listen device changed signals and deactivate currently activated
10183 device when another device start activating (for now).
10184 - Remove (nm_policy_schedule_device_change_check): There's never a need
10185 for calling this, the policy code knows exactly when this should happen,
10186 by listening on events from NMManager and NMDevices.
10188 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10191 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10192 method on the specific device instead of going to through policy code
10193 and determining the device type by passed in AP's existance.
10195 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10196 abstract NMDevice deactivation.
10198 2007-02-08 Tambet Ingo <tambet@ximian.com>
10200 * src/NetworkManager.c:
10201 - Set up all the shiny new managers.
10203 * src/NetworkManagerPolicy.c:
10204 - Add the beginnings of new NMPolicy code. Instead of requireing all
10205 classes to call into policy code, make the policy code kind of like
10206 a supervisor that monitors what's going on and drives the whole NM.
10208 * src/nm-hal-manager.c:
10209 * src/nm-hal-manager.h:
10210 - Collect all libhal code scattered around NM to this one class.
10211 - Listen libhal and NMManager events and add/remove devices to
10214 * src/nm-manager.c:
10215 * src/nm-manager.h:
10216 - Implment a replacement for NMData. NMData is now officially
10219 2007-02-05 Tambet Ingo <tambet@ximian.com>
10221 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10222 * src/supplicant-manager/nm-supplicant-interface.h
10223 * src/supplicant-manager/nm-supplicant-interface.c
10224 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10225 argument to boolean from enum.
10227 Make NMDevice abstract class, remove almost all references to it's
10228 subclasses (the last place gets removed with new policy manager). Add
10229 NMDeviceInterface (which NMDevice implements) so that when we have
10230 NMDevice exported over DBUS, there's a common NMDevice interface which
10231 all instances have, plus there's a device specific interface for each
10233 Remove functions (nm_device_is_802_3_ethernet) and
10234 (nm_device_is_802_11_wireless). There are already standard GObject macros
10235 for type safe checks.
10236 Use the updated supplican manager API.
10238 * src/nm-device-interface.h:
10239 * src/nm-device-interface.c:
10240 * src/nm-call-store.h:
10241 * src/nm-call-store.c: Implement.
10243 * src/supplicant-manager/nm-supplicant-interface.c:
10244 * src/supplicant-manager/nm-supplicant-interface.h:
10245 * src/supplicant-manager/nm-supplicant-manager.c:
10246 * src/supplicant-manager/nm-supplicant-manager.h:
10247 - Remove all private data type references from public header files.
10248 - Remove all references to other NM classes, this class is just a
10249 proxy between wpa_supplicant and NM so it doesn't have to know
10251 - Convert to dbus-glib bindings.
10252 - Type safe checks for public methods' arguments.
10253 - Store pending DBUS call ids to NMCallStore.
10255 * src/supplicant-manager/nm-supplicant-config.c:
10256 - Store config values in a GHashTable instead of GSList.
10258 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10260 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10263 * src/nm-device.c: Use the new DHCP manager API.
10265 * src/nm-activation-request.c:
10266 * src/nm-activation-request.h:
10267 - Remove all dhcp related properties and methods.
10269 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10271 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10273 * src/dhcp-manager/nm-dhcp-manager.c:
10274 * src/dhcp-manager/nm-dhcp-manager.h:
10275 - Convert it to GObject since we need to signal state changes.
10276 - Remove all references to other NM classes, this class is one
10277 of the lowest classes in our hierarchy.
10278 - One less class to use NMActRequest.
10279 - Make it singleton, one less user of NMData.
10280 - Remove a couple of sleep() calls.
10281 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10282 One less class to use the NM's custom tailored signal handlig.
10284 * Makefile.am: Generate marshallers, add them to build.
10286 2007-02-02 Dan Williams <dcbw@redhat.com>
10292 - Remove last bits referencing gnome applet
10294 2007-02-02 Dan Williams <dcbw@redhat.com>
10296 * src/vpn-manager/nm-vpn-service.c
10297 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10298 and NBNS server addresses
10300 2007-02-02 Tambet Ingo <tambet@ximian.com>
10302 * src/nm-dbus-manager.c:
10303 * src/nm-dbus-manager.h:
10304 - Convert all internal DBUS code to use dbus-glib bindings.
10305 - Remove GObject properties, we don't need them here.
10306 - Don't explicitly set things to NULL after freeing, glib is
10307 happy to do it if asked nicely (G_DEBUG=gc-friendly).
10308 - Make public API argument checks type safe.
10309 - Remove unnecessary (and wrong) cast to GObject for the first
10310 argument to g_signal_* calls - The first argument is a gpointer.
10311 - Export DBusGConnection to other cool classes that (are going to)
10314 2007-01-26 Dan Williams <dcbw@redhat.com>
10316 * libnm-util/dbus-dict-helpers.c
10317 libnm-util/dbus-dict-helpers.h
10318 - Coordinate style with wpa_supplicant version to minimize diff
10319 - Add uint32 array support
10320 - (nmu_dbus_dict_append_uint32_array): new function
10321 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10322 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10323 version; allow adding string array elements individually
10325 * test/libnm-util/test-dbus-dict-helpers.c
10326 - Test uint32 arrays
10328 2007-01-27 Jürg Billeter <j@bitron.ch>
10330 * src/backends/NetworkManagerPaldo.c
10331 - (nm_system_update_dns): clear nscd hosts cache
10333 2007-01-04 Dan Williams <dcbw@redhat.com>
10335 Threading removal related cleanups:
10337 - Use the glib default main context. Remove the device main context
10338 member from NMDevice, and the main_context member from NMData. Change
10339 all the idle and timeout scheduler functions to use plain
10340 g_idle_add() and g_timeout_add().
10342 - As a side-effect of the first change, nm_dbus_manager_get() no longer
10343 takes an argument; fix that up too.
10345 - Remove all locking, which is useless since we no longer use threads. For
10346 example, nm_get_device_by_iface_locked() has been removed. The global
10347 device list lock, the AP List lock, and all static locks in
10348 NetworkManagerPolicy.c have been removed. The locking utility functions
10349 in NetworkManagerUtils.c have also been removed.
10351 - Other cleanups in spacing and code style
10353 2007-01-01 Dan Williams <dcbw@redhat.com>
10355 Found by Bill Moss:
10357 * src/supplicant-manager/nm-supplicant-interface.c
10358 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10359 the supplicant interface wasn't already disconnected. Always
10360 call removeNetwork and disconnect unless the supplicant interface
10361 is in the DISCONNECTED or INACTIVE state.
10363 2006-12-28 Dan Williams <dcbw@redhat.com>
10365 Use a single thread for everything. With the move to wpa_supplicant
10366 and communication over D-Bus, there's no reason for multiple threads.
10367 Almost all of the blocking code has been removed, with one exception in
10368 the DHCP manager and a few in the VPN manager. This commit removes the
10369 per-device worker thread and fixes activation cancellation in the absence
10370 of threads. Further removal of thread-related code would be removing
10371 any locking code (like the device list lock) and simplification of logic
10372 around areas of code or data structures that are currently locked.
10375 dhcp-manager/nm-dhcp-manager.c
10376 nm-device-802-11-wireless.c
10377 nm-device-802-3-ethernet.c
10380 - Remove usage of multiple threads
10382 2006-12-19 Dan Williams <dcbw@redhat.com>
10384 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10385 plus a few other patches from wpa_supplicant bugzilla.
10388 src/NetworkManagerPolicy.c
10389 src/NetworkManagerUtils.c
10390 src/NetworkManagerUtils.h
10391 src/nm-ap-security-leap.c
10392 src/nm-ap-security-wep.c
10393 src/nm-ap-security-wpa-eap.c
10394 src/nm-ap-security-wpa-psk.c
10395 src/nm-ap-security.c
10396 src/nm-ap-security.h
10397 src/nm-device-802-11-wireless.c
10398 src/nm-device-802-11-wireless.h
10399 src/supplicant-manager/nm-supplicant-config.c
10400 src/supplicant-manager/nm-supplicant-config.h
10401 src/supplicant-manager/nm-supplicant-interface.c
10402 src/supplicant-manager/nm-supplicant-interface.h
10403 src/supplicant-manager/nm-supplicant-marshal.list
10404 src/supplicant-manager/nm-supplicant-settings-verify.c
10405 src/supplicant-manager/nm-supplicant-settings-verify.h
10406 - Move all connection management and association handling to
10407 wpa_supplicant over dbus, rather than spawning a private copy
10409 2006-12-19 Dan Williams <dcbw@redhat.com>
10411 * src/NetworkManagerPolicy.c
10412 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10413 better locking of the device change check handler ID. Incorrect
10414 locking was causing lost device change requests
10416 2006-12-18 Dan Williams <dcbw@redhat.com>
10418 * libnm-util/dbus-dict-helpers.c
10419 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10420 _nmu_dbus_dict_entry_get_byte_array): replace usage of
10421 dbus_message_iter_get_array_len() (Gnome.org #382898)
10423 2006-12-18 Dan Williams <dcbw@redhat.com>
10425 * gnome/libnm_glib/libnm_glib.c
10426 - Change dbus_connection_close() -> dbus_connection_unref()
10428 2006-12-11 Dan Williams <dcbw@redhat.com>
10430 * src/supplicant-manager/nm-supplicant-interface.c
10431 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10432 wpa_supplicant interface state
10433 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10434 state before transitioning to READY state
10436 2006-12-04 Dan Williams <dcbw@redhat.com>
10438 * src/nm-device-802-11-wireless.c
10439 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10440 odd length of ESSID returned from ieee80211 stack-based drivers
10442 2006-12-04 Dan Williams <dcbw@redhat.com>
10444 * src/nm-device-802-11-wireless.c
10445 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10446 IE handling blocks that cause mis-parsing of the IE
10448 2006-12-04 Dan Williams <dcbw@redhat.com>
10450 * src/nm-device-802-11-wireless.c
10451 - (init_supplicant_interface): new function; pull supplicant interface
10452 setup code out into standalone function since it must be called from
10453 two different places
10454 - (real_init): sup_mgr is now in private object data; get and track
10455 the supplicant manager object over the NMDevice subclass' lifetime
10456 and register a signal handler for its state signals; only try to
10457 initialize the supplicant interface if the supplicant manager is in
10458 the IDLE state (and therefore is ready for requests)
10459 - (request_wireless_scan): reschedule the scan request if (a) there is
10460 no supplicant interface yet (meaning wpa_supplicant isn't running
10461 or isn't ready yet), or (b) if the supplicant interface isn't ready
10463 - (supplicant_iface_connection_state_cb): new function; stub for
10464 handling supplicant interface connection state signals
10465 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10467 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10468 supplicant manager object that's being tracked starting with this
10471 2006-12-04 Dan Williams <dcbw@redhat.com>
10473 * src/supplicant-manager/nm-supplicant-interface.c
10474 - (nm_supplicant_interface_set_property): track signal handler ID
10475 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10477 2006-12-04 Dan Williams <dcbw@redhat.com>
10479 * src/supplicant-manager/nm-supplicant-interface.[ch]
10480 - (nm_supplicant_interface_get_state): new function
10482 2006-12-04 Dan Williams <dcbw@redhat.com>
10484 * src/supplicant-manager/nm-supplicant-interface.c
10485 - (bssid_properties_cb): don't treat DBus errors as valid
10486 scanned AP messages
10488 2006-12-04 Dan Williams <dcbw@redhat.com>
10490 * src/supplicant-manager/nm-supplicant-interface.[ch]
10491 - (nm_supplicant_interface_get_connection_state): new function
10492 - define new supplicant connection states
10493 - send a signal when the supplicant connection state changes
10495 2006-12-03 Dan Williams <dcbw@redhat.com>
10497 * src/supplicant-manager/Makefile.am
10498 src/supplicant-manager/nm-supplicant-connection.h
10499 src/supplicant-manager/nm-supplicant-connection.c
10500 src/supplicant-manager/nm-supplicant-config.h
10501 src/supplicant-manager/nm-supplicant-config.c
10502 src/supplicant-manager/nm-supplicant-types.h
10503 src/supplicant-manager/nm-supplicant-interface.h
10504 src/supplicant-manager/nm-supplicant-interface.c
10505 - Rename NMSupplicantConnection -> NMSupplicantConfig
10507 2006-12-03 Dan Williams <dcbw@redhat.com>
10509 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
10513 - Move VPN-related translatables to .skip
10515 * vpn-daemons/pptp/po/POTFILES.in
10516 - Update with new translatables
10518 2006-12-02 Dan Williams <dcbw@redhat.com>
10520 Patch from Christian Persch <chpe@gnome.org>
10522 * gnome/applet/Makefile.am
10523 gnome/applet/applet-dbus-devices.c
10524 gnome/applet/applet-notifications.c
10525 gnome/applet/applet.c
10526 gnome/applet/applet.h
10527 gnome/applet/main.c
10528 - Be a GtkStatusIcon on GTK+ >= 2.10
10530 2006-12-02 Dan Williams <dcbw@redhat.com>
10532 * gnome/applet/applet.c
10533 - (nma_update_info): fix two unecessary allocations
10535 2006-12-02 Dan Williams <dcbw@redhat.com>
10537 Patch from Michael Biebl <biebl@teco.edu>
10539 man/NetworkManager.1.in
10540 man/NetworkManagerDispatcher.1.in
10541 man/NetworkManager.8.in
10542 man/NetworkManagerDispatcher.8.in
10543 - Add .SH NAME stanzas
10544 - Move NM & NM Dispatcher manpages to section 8 (admin)
10546 2006-12-02 Dan Williams <dcbw@redhat.com>
10548 Patch from Christian Persch <chpe@gnome.org>
10551 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10553 2006-11-29 Tambet Ingo <tambet@ximian.com>
10555 Patch by Timo Hoenig <thoenig@suse.de>:
10556 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10559 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10560 we can't use the one from the main source directory.
10562 2006-11-27 Dan Williams <dcbw@redhat.com>
10564 Patch from Christian Persch <chpe@gnome.org>
10566 * gnome/applet/applet-dbus-devices.c
10567 - (hal_info_product_cb): fix memleak; free duped string.
10570 2006-11-27 Dan Williams <dcbw@redhat.com>
10572 Patch from Christian Persch <chpe@gnome.org>
10574 * gnome/applet/menu-items.c
10575 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10576 as gtk_progress_set_percentage is deprecated. Should
10577 work as far back as GTK+ 2.4. Gnome.org #379780
10579 2006-11-26 Dan Williams <dcbw@redhat.com>
10581 Scan using wpa_supplicant over DBus.
10583 * src/nm-device-802-11-wireless.c
10584 - remove wireless extensions netlink event handler bits
10585 (wireless_event_helper, nm_device_802_11_wireless_event)
10586 - remove wireless extensions scan event handler bits
10587 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10588 hex2byte, hex2num, request_and_convert_scan_results,
10589 free_process_scan_cb_data, scan_results_timeout,
10590 schedule_scan_results_timeout, cancel_scan_results_timeout)
10591 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10592 and request scans from the supplicant interface rather than directly
10593 - Move functionality of convert_scan_results() to cull_scan_list() and
10594 supplicant_iface_scanned_ap_cb()
10595 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10596 at the scan interval when the current scan has finished
10597 - (supplicant_iface_state_cb): start scanning when the supplicant
10598 interface enters the READY state, and stop scanning when it
10599 enters the DOWN state
10600 - (cull_scan_list): weed out old access points from the scan list
10601 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10602 point into an NMAccessPoint and merge it into the device's scan list
10604 * src/supplicant-manager/nm-supplicant-interface.c
10605 src/supplicant-manager/nm-supplicant-interface.h
10606 - Add a new signal "scan-result" which is issued when the supplicant
10607 notifies NM that a scan has completed
10608 - Add a new signal "scanned-ap" that notifies listeners of a new access
10609 point found in the scan. Called once for each access point that
10610 the supplicant interface object receives from the supplicant as a
10611 result of the "scanResults" method call
10612 - (wpas_iface_query_scan_results): don't wait 4s before querying
10613 for the initial scan results
10614 - (scan_request_cb): new function; send listeners the result
10615 (success, error) of a wireless scan request
10616 - (nm_supplicant_interface_request_scan): new function; ask the
10617 supplicant to perform an immediate wireless scan
10619 2006-11-25 Dan Williams <dcbw@redhat.com>
10621 * src/supplicant-manager/Makefile.am
10622 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10623 add HAL cflags/includes and named-manager includes directory
10625 * src/supplicant-manager/nm-supplicant-interface.h
10626 - New state STARTING to handle transition from INIT to READY where
10627 the addInterface pending call is still outstanding
10629 * src/supplicant-manager/nm-supplicant-interface.c
10630 - track pending calls differently since we may have more than one
10631 going on at any given time
10632 - request scan results from wpa_supplicant; but don't do it more often
10633 than every 4 seconds. Drivers that do background scanning
10634 (like the 'ipw' drivers) send a continuous stream of scan completion
10635 notifications, so we don't want to hammer the supplicant or dbus
10636 with requests for all scan results every time we get a completion
10639 2006-11-25 Dan Williams <dcbw@redhat.com>
10641 * src/supplicant-manager/nm-supplicant-types.h
10642 - new file; move all supplicant manager object typedefs here for
10645 * src/supplicant-manager/nm-supplicant-interface.c
10646 src/supplicant-manager/nm-supplicant-interface.h
10647 - new file; an object that interfaces an NMDevice object to the
10648 supplicant and handles signals from the supplicant. This object
10649 does all necessary DBus communication with wpa_supplicant.
10651 * src/supplicant-manager/nm-supplicant-manager.c
10652 src/supplicant-manager/nm-supplicant-manager.h
10653 - Actually do something. Track the state of the wpa_supplicant service
10654 and deal with its comings & goings. Handle life events of
10655 supplicant interfaces too.
10656 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10658 * src/supplicant-manager/nm-supplicant-connection.h
10659 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10661 * src/supplicant-manager/Makefile.am
10662 - Add new files to build, and add libnm-util to includes
10664 * src/nm-marshal.list
10665 - New marshaler type: VOID:UINT,UINT
10667 * src/nm-device-802-3-ethernet.c
10668 - (real_init): grab a supplicant interface
10669 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10670 - (supplicant_iface_state_cb): new function, stub for handling
10671 supplicant interface state changes
10673 * src/nm-device-802-11-wireless.c
10674 - (real_init): grab a supplicant interface
10675 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10676 - (supplicant_iface_state_cb): new function, stub for handling
10677 supplicant interface state changes
10679 * src/NetworkManager.c
10680 - (main): create and keep the supplicant manager around for the lifetime
10684 - Link to the supplicant manager sub-library and use the supplicant
10687 2006-11-25 Dan Williams <dcbw@redhat.com>
10689 Rework DBus manager signal handling to be more flexible. Previously,
10690 only one signal handler could be registered for a particular interface.
10691 The DBus manager now reference counts DBus bus matches and allows multiple
10692 clients to register signal handlers for the same interface and sender.
10694 * src/NetworkManager.c
10695 - (main): track NMI signal handler ID and remove it when we quit
10697 * src/NetworkManagerMain.h
10698 - Keep track of NMI signal handler ID
10700 * src/nm-dbus-manager.c
10701 src/nm-dbus-manager.h
10702 - rework signal handling; each signal handler references one signal
10703 match, but a signal match may be referenced by one or more
10704 signal handlers. Matches are refcounted and are destroyed when the
10705 last signal handler that references the match is removed. This is
10706 necessary because two signal handlers may end up requiring the same
10707 dbus bus match, so the match must live until the last signal handler
10708 is destroyed (for example, with the wpa_supplicant network interface
10711 * src/dhcp-manager/nm-dhcp-manager.c
10712 - (nm_dhcp_manager_new): track DHCP signal handler id
10713 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10715 * src/vpn-manager/nm-vpn-service.c
10716 - (nm_vpn_service_add_watch): track VPN service signal handler id
10717 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10719 2006-11-25 Dan Williams <dcbw@redhat.com>
10721 Suggested by Helmut Schaa <hschaa@suse.de>
10723 * src/vpn-daemons/nm-vpn-service.c
10724 - (supplicant_child_setup): new function
10725 - (supplicant_exec): make child process use a new process group id
10727 * src/nm-device-802-11-wireless.c
10728 - (nm_vpn_service_child_setup): new function
10729 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10732 2006-11-19 Dan Williams <dcbw@redhat.com>
10734 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
10735 * gnome/vpn-properties/nm-vpn-properties.c
10736 - clean up after renamed VPN connection
10738 2006-11-19 Dan Williams <dcbw@redhat.com>
10740 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
10741 * gnome/applet/applet-dbus-vpn.c
10742 - (nma_dbus_vpn_properties_cb): sort VPN connections
10744 * gnome/vpn-properties/nm-vpn-properties.c
10745 - (init_app): sort VPN connections
10747 2006-11-09 Dan Williams <dcbw@redhat.com>
10749 * src/NetworkManagerAPList.c
10750 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10751 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10752 from the nm_ap_list_get_ap_by_address() call was incorrect and
10753 broke hidden SSID matching. Found by Bill Moss.
10755 2006-10-25 Dan Williams <dcbw@redhat.com>
10758 - (nm_dbus_nm_set_active_device): return an empty success message on
10759 success, rather than falling through to the error case.
10761 2006-10-25 Dan Williams <dcbw@redhat.com>
10763 * src/NetworkManagerUtils.c
10764 - (nm_utils_supplicant_request_with_check): suppress messages for the
10767 2006-10-24 Dan Williams <dcbw@redhat.com>
10769 Reduce the number of times the Gnome applet wakes up, especially when
10770 it's doing absolutely nothing and is hidden. Initial patch by
10773 * gnome/applet/applet-dbus.c
10774 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10775 kill the redraw timeout. When NM starts up, start the redraw
10776 timeout. Also, if we get kicked off the bus for some reason,
10777 start the reconnection timeout if one's not already running.
10778 - (nma_dbus_init): better handling of error conditions, don't leak
10779 a half-initialized dbus connection
10780 - (nma_dbus_connection_watcher): consolidate places we reinitialize
10781 the applet's data, just call nm_dbus_init_helper()
10782 - (nma_start_dbus_connection_watch): new function, starts a periodic
10783 timeout that calls nma_dbus_connection_watcher()
10784 - (nma_dbus_init_helper): if we get a successful connection, kill the
10785 reconnection timeout, and don't start the reconnection timeout
10786 unconditionally anymore
10788 * gnome/applet/applet-dbus.h
10789 - Expose nma_start_dbus_connection_watch()
10791 * gnome/applet/applet.c
10792 - (nma_update_state): no longer static, called from applet-dbus.c for
10793 immediate UI updates on certain events
10794 - (nma_set_running): new function; take over setting applet->running,
10795 when not running (ie, NM is not active), don't activate the redraw
10796 timeout because we're not showing the applet anyway. When we are
10797 running (ie, NM is active), and only when we're running, start the
10799 - (nma_destroy): kill the redraw timeout by setting 'not running', and
10800 kill any reconnection timeout
10801 - (nma_get_instance): move one-off dbus initialization code here since
10802 nm_dbus_init_helper() gets called more than once, possibly by the
10803 reconnection timeout function too. And, when we start up, if we
10804 can't get a connection to the bus, start the reconnection timeout.
10805 But don't start the redraw timeout yet, only do that when we get
10806 NM's state and find out if it's running or not.
10808 * gnome/applet/applet.h
10809 - Add the reconnection GSource ID
10810 - Add prototypes for nma_set_running() and the no-longer-static
10813 2006-10-24 Dan Williams <dcbw@redhat.com>
10815 * src/vpn-daemons/nm-dbus-vpnc.c
10816 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
10817 pending call tracker
10818 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
10819 pending call tracker; register one-vpn-connection update pending
10820 call in pending call tracker
10821 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
10822 update pending call in pending call tracker
10823 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
10824 update pending call in pending call tracker; don't block waiting
10827 2006-10-19 Robert Love <rml@novell.com>
10829 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
10832 2006-10-14 Dan Williams <dcbw@redhat.com>
10834 * src/dhcp-manager/nm-dhcp-manager.c
10835 - (get_ip4_string, get_ip4_uint32s): have the caller pass
10836 the dbus connection and the device object path rather than
10837 constructing it inside both functions. Saves a bit of memory
10838 and clarifies a failure path.
10839 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
10840 and allocate device path here rather than each of the two
10843 2006-10-13 Dan Williams <dcbw@redhat.com>
10845 * src/NetworkManager.c
10846 - (nm_name_owner_changed_handler): handle NMI coming and going,
10847 this somehow droppout in the refactor
10849 2006-10-13 Dan Williams <dcbw@redhat.com>
10851 * Huge DBus refactor:
10852 - Create a "DBus Manager" object which manages the connection and
10853 sends signals on NameOwnerChanged and connection/disconnection events,
10854 handles reconnection to the bus if NM gets kicked off, and abstracts
10856 - Remove DBusConnection members from places where they are no
10857 longer needed due to the refactor, like the dbus-connection
10858 property of the named manager, and from NMData
10859 - Reformats a bunch of the code to gnome style
10860 (8-space tabs, braces on same line as statement, 80-col width).
10861 Consider it open season to reformat any bits to gnome style.
10862 style that aren't already.
10864 2006-10-13 Dan Williams <dcbw@redhat.com>
10866 * src/supplicant-manager/Makefile.am
10869 * src/supplicant-manager/nm-supplicant-manager.[ch]:
10870 - Make it a minimal GObject
10872 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
10873 - Verify settings destined for wpa_supplicant
10875 * src/supplicant-manager/nm-supplicant-connection.[ch]:
10876 - Minimal GObject to track wpa_supplicant controlled device
10879 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
10881 * gnome/applet/applet.c: (nma_update_info),
10882 (nma_act_stage_to_pixbuf), (nma_update_state):
10883 Mark missing strings for translation. Fixes bug #343306.
10885 2006-10-01 Dan Williams <dcbw@redhat.com>
10887 * src/vpn-manager/nm-vpn-manager.c
10888 - (nm_vpn_manager_load_services): split and clean up
10889 for readability and correctness. Restrict VPN service
10890 files to ending in ".name", as was meant from the
10891 beginning (but not coded in). Better error reporting.
10893 2006-10-01 Dan Williams <dcbw@redhat.com>
10896 - Clean up formatting of debug/info/warning log messages
10898 2006-09-27 Robert Love <rml@novell.com>
10900 Patch by Tambet Ingo <tambet@ximian.com>:
10901 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
10904 2006-09-07 Dan Williams <dcbw@redhat.com>
10907 test/libnm-util/Makefile.am
10908 test/nm-supplicant-test.c
10909 - Add test program emulating the way NM drives wpa_supplicant
10910 to help debug supplicant issues
10912 2006-08-24 Dan Williams <dcbw@redhat.com>
10916 src/supplicant-manager/Makefile.am
10917 src/supplicant-manager/nm-supplicant-manager.c
10918 src/supplicant-manager/nm-supplicant-manager.h
10919 - Add skeleton bits of the wpa_supplicant manager
10921 2006-08-24 Dan Williams <dcbw@redhat.com>
10923 Patch from Ed Catmur:
10924 * src/NetworkManagerUtils.c
10925 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
10926 if netmask is 0 (Gnome #352634)
10928 2006-08-17 Robert Love <rml@novell.com>
10930 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
10931 package is now DBUS-enabled and listens for the NM signals.
10933 2006-08-14 Dan Williams <dcbw@redhat.com>
10935 * Patch from Christian Persch <chpe gnome org>
10938 vpn-daemons/openvpn/po/LINGUAS
10939 vpn-daemons/openvpn/configure.in
10940 vpn-daemons/pptp/po/LINGUAS
10941 vpn-daemons/pptp/configure.in
10942 vpn-daemons/vpnc/po/LINGUAS
10943 vpn-daemons/vpnc/configure.in
10944 - Convert to LINGUAS method so translators don't have to modify
10945 configure.in, just stuff in po/. Gnome #343132, requires intltool
10948 2006-08-14 Dan Williams <dcbw@redhat.com>
10950 Patch from Alex Smith <alex.extreme2@gmail.com>
10952 src/backends/Makefile.am
10953 src/backends/NetworkManagerFrugalware.c
10954 - Add support for Frugalware
10956 2006-08-13 Dan Williams <dcbw@redhat.com>
10958 Patch from Valentine Sinitsyn <e_val@inbox.ru>
10959 * src/nm-device-802-11-wireless.c
10960 - (supplicant_exec): spawn wpa_supplicant without debug spew
10963 2006-08-13 Dan Williams <dcbw@redhat.com>
10965 Patch from Valentine Sinitsyn <e_val@inbox.ru>
10966 * src/nm-ap-security.c
10967 src/nm-ap-security.h
10968 - Add authentication_required bits for subclasses to specify whether
10969 or not real authentication is required for connections, i.e. whether
10970 the AP rejects us when an encryption key is wrong or not.
10972 * src/nm-ap-security-wep.c
10973 src/nm-ap-security-wpa-eap.c
10974 src/nm-ap-security-wpa-psk.c
10975 src/nm-ap-security-leap.c
10976 - Implement authentication_required appropriately for each method
10978 * src/nm-device-802-11-wireless.c
10979 - Be smarter about when to request a key; for example, using a wrong key
10980 in WEP shared key mode previously just timed out and did not request
10983 2006-08-13 Dan Williams <dcbw@redhat.com>
10985 * gnome/libnm_glib/libnm_glib.c
10986 - dbus_connection_disconnect() -> dbus_connection_close() for
10989 2006-08-07 Dan Williams <dcbw@redhat.com>
10991 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10992 * src/NetworkManagerSystem.c
10993 - Respect specified MTU. Gnome #344967
10995 2006-08-07 Dan Williams <dcbw@redhat.com>
10997 * src/vpn-manager/nm-vpn-service.c
10998 - Simplify print_vpn_config() arguments
11000 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11001 * src/vpn-manager/Makefile.am
11002 src/vpn-manager/nm-vpn-service.c
11003 - Add new API for passing VPN config options as a dict. Gnome #344967
11005 2006-08-06 Dan Williams <dcbw@redhat.com>
11007 * gnome/applet/applet-dbus-devices.c
11008 gnome/applet/applet-dbus-vpn.c
11009 gnome/applet/applet-dbus.c
11010 gnome/applet/applet-dbus.h
11014 - Make pending call tracking code generic,
11015 so we can use it in NM as well as the applet
11017 2006-08-06 Dan Williams <dcbw@redhat.com>
11019 * src/nm-activation-request.c
11020 - Refcount pending call objects
11022 2006-08-06 Dan Williams <dcbw@redhat.com>
11024 Patch from Christan Chiesa <christanc@gmail.com>
11026 - Tell sha1.c to use bigendian mode on PPC
11028 2006-08-04 Robert Love <rml@novell.com>
11030 Glib Memory Slices!
11031 * configure.in: Require glib 2.10 or later.
11032 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11033 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11034 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11035 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11036 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
11037 Memory Slices are the greatest thing since bread slices.
11038 * src/NetworkManagerAP.c: Also, fix memory leak.
11040 2006-08-01 Robert Love <rml@novell.com>
11042 * gnome/applet/main.c: Shutdown all VPN connections on logout.
11044 2006-07-31 Robert Love <rml@novell.com>
11046 * src/backends/interface_parser.c: Declarations must begin the block.
11048 2006-07-24 Dan Williams <dcbw@redhat.com>
11050 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11051 * src/backends/Makefile.am
11052 src/backends/NetworkManagerArch.c
11053 src/backends/NetworkManagerDebian.c
11054 src/backends/NetworkManagerGeneric.c
11055 src/backends/NetworkManagerGeneric.h
11056 src/backends/NetworkManagerGentoo.c
11057 src/backends/NetworkManagerPaldo.c
11058 src/backends/NetworkManagerRedHat.c
11059 src/backends/NetworkManagerSlackware.c
11060 src/backends/NetworkManagerSuSE.c
11061 - Genericize common backend functions
11063 2006-07-18 Robert Love <rml@novell.com>
11065 * configure.in: Add "--with-notify" option to allow disabling of
11068 2006-07-13 Dan Williams <dcbw@redhat.com>
11070 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11071 * gnome/applet/applet.glade
11072 gnome/applet/Makefile.am
11073 gnome/applet/nm-gconf-wso.c
11074 gnome/applet/nm-gconf-wso-leap.c
11075 gnome/applet/nm-gconf-wso-leap.h
11076 gnome/applet/wireless-security-manager.c
11077 gnome/applet/wso-leap.c
11078 gnome/applet/wso-leap.h
11079 include/NetworkManager.h
11080 libnm-util/dbus-helpers.c
11081 libnm-util/dbus-helpers.h
11083 src/NetworkManagerAP.c
11084 src/nm-ap-security.c
11085 src/nm-ap-security-leap.c
11086 src/nm-ap-security-leap.h
11087 - Add LEAP authentication support
11089 2006-07-13 Dan Williams <dcbw@redhat.com>
11091 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11093 src/backends/NetworkManagerArch.c
11094 src/backends/NetworkManagerDebian.c
11095 src/backends/NetworkManagerGentoo.c
11096 src/backends/NetworkManagerPaldo.c
11097 src/backends/NetworkManagerRedHat.c
11098 src/backends/NetworkManagerSlackware.c
11099 src/backends/NetworkManagerSuSE.c
11100 - Convert hardcoding of 'ip' path to configure-time
11103 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11105 * configure.in: added ru to ALL_LINGUAS
11107 2006-07-10 Dan Williams <dcbw@redhat.com>
11109 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11111 - (real_act_stage3_ip_config_start): don't infinite loop when
11112 dhcdbd isn't running (Gnome #346845)
11114 2006-07-09 Dan Williams <dcbw@redhat.com>
11116 * gnome/applet/applet.c
11117 - (nma_destroy): don't pass NULL to notify_notification_close
11120 2006-07-09 Dan Williams <dcbw@redhat.com>
11122 * gnome/applet/applet.c
11123 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11125 2006-07-04 Tor Krill <tor@krill.nu>
11127 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11128 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11129 (nm_system_restart_mdns_responder), (ArchReadConfig),
11130 (nm_system_device_get_system_config):
11131 - Explicitly check for DHCP configuration
11132 - Check if daemons are running before starting them
11134 2006-06-25 Dan Williams <dcbw@redhat.com>
11136 * libnm-util/dbus-dict-helpers.[ch]
11137 test/libnm-util/test-dbus-dict-helpers.c
11138 - Add string array support
11140 2006-06-24 Dan Williams <dcbw@redhat.com>
11142 * src/dhcp-manager/nm-dhcp-manager.c
11143 - (nm_dhcp_manager_process_signal): clean up spacing
11145 2006-06-21 Dan Williams <dcbw@redhat.com>
11147 * src/nm-dbus-device.c
11148 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11151 2006-06-21 Raivis Dejus <orvils@gmail.com>
11153 * configure.in: Added 'lv' to ALL_LINGUAS
11155 2006-06-19 Dan Williams <dcbw@redhat.com>
11157 * src/NetworkManagerAP.c
11158 - Clarify usage of user_created
11160 * src/nm-ap-security-wep.c
11161 src/nm-ap-security-wpa-eap.c
11162 src/nm-ap-security-wpa-psk.c
11163 src/nm-ap-security.c
11164 src/nm-ap-security.h
11165 - s/user_created/adhoc, because we really do mean adhoc
11167 Patch from Bernard Blackham <bernard@blackham.com.au>
11168 * src/nm-device-802-11-wireless.c
11169 - (supplicant_send_network_config): instead of user_created,
11170 use adhoc, and do AP_SCAN 2 for adhoc networks
11172 2006-06-18 Robert Love <rml@novell.com>
11174 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11175 we have a value to set. Gconf generates a warning if `val' is NULL.
11176 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11177 unless we actually received a valid private key file passphrase or
11178 password. Otherwise, we don't know to later ask the applet to pull
11179 the key from the keyring.
11181 2006-06-17 Dan Williams <dcbw@redhat.com>
11183 * libnm-util/dbus-dict-helpers.[ch]
11184 test/libnm-util/test-dbus-dict-helpers.c
11185 - Fixes for zero-length byte arrays
11186 - Replace return values of 0 with FALSE for clarity
11187 - Test zero-length byte arrays
11189 2006-06-17 Dan Williams <dcbw@redhat.com>
11191 * libnm-util/dbus-dict-helpers.[ch]
11192 test/libnm-util/test-dbus-dict-helpers.c
11193 - Add helpers for byte arrays
11194 - Rework bits of the testcase
11196 2006-06-16 Dan Williams <dcbw@redhat.com>
11198 * libnm-util/Makefile.am
11199 * libnm-util/dbus-dict-helpers.[ch]
11200 - Add some helpers to take the pain out of using dict types in
11203 * test/libnm-util/Makefile.am
11204 * test/libnm-util/test-dbus-dict-helpers.c
11205 - Test cases for the dict helper functions
11207 2006-06-15 Robert Love <rml@novell.com>
11209 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11210 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11211 if there is no key to pass.
11212 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11213 receiving a non-NULL key.
11215 2006-06-14 Robert Love <rml@novell.com>
11217 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11221 2006-06-14 Dan Williams <dcbw@redhat.com>
11223 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11224 * src/nm-device-802-11-wireless.c
11225 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11226 or ones where the driver is unknown
11227 - (supplicant_exec): don't wait for supplicant startup here
11228 - (supplicant_interface_init): finer grained polling for supplicant
11231 2006-06-13 Robert Love <rml@novell.com>
11233 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11234 if it is currently set to TRUE. Otherwise, we will reset the value
11235 when we connect normally.
11236 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11237 the old BSSID is valid, too. The recently added ESSID check may not be
11238 sufficient (we can remove it?). What we really want to catch is the
11239 case of going from all-zeros to the BSSID of some other network, which
11240 happens on failure.
11242 2006-06-09 Dan Williams <dcbw@redhat.com>
11244 * src/NetworkManagerSystem.[ch]
11245 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11246 it was unused and pointless
11247 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11248 fix for set_up_down_with_iface change
11250 * src/vpn-manager/nm-vpn-connection.c
11251 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11253 * src/backends/NetworkManagerPaldo.c
11254 src/backends/NetworkManagerRedHat.c
11255 src/backends/NetworkManagerSuSE.c
11256 src/backends/NetworkManagerArch.c
11257 src/backends/NetworkManagerDebian.c
11258 src/backends/NetworkManagerGentoo.c
11259 - (nm_system_enable_loopback): use set_up_down_with_iface where
11261 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11264 2006-06-09 Dan Williams <dcbw@redhat.com>
11266 Patch from Peter Jones:
11267 * src/nm-device-802-11-wireless.c
11268 - (nm_device_802_11_wireless_update_bssid): make sure that the
11269 SSID hasn't changed from what we expect before automatically
11270 updating the saved BSSID from a new AP
11272 2006-06-08 Robert Love <rml@novell.com>
11274 Add 'fallback' support. NetworkManager will attempt to brute-force
11275 connect to networks marked as fallback if there are no better wireless
11276 connections available. This is useful as a method of last resort, to
11277 work around driver problems, and for use with hidden networks.
11278 * gnome/applet/applet-dbus-devices.c,
11279 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11280 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11281 pass it on via DBUS.
11282 * gnome/applet/applet.c: No fallback by default.
11283 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11284 Update other-network-dialog to add UI checkbox toggling fallback.
11285 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11286 propery from AP object. Add "fallback" property to AP object.
11287 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11288 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11289 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11290 separate function. Add get_best_fallback_ap() for returning an AP
11291 on which to attempt fallback.
11292 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11293 * test/nm-set-fallback: New file. Sets a given network as fallback.
11295 2006-06-07 Robert Love <rml@novell.com>
11297 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11298 checked that the return type was GCONF_VALUE_STRING, not the correct
11299 GCONF_VALUE_BOOL, and thus it never worked.
11300 * src/NetworkManagerAPList.c: Before concluding that two networks are
11301 identical based on their BSSID, make sure that the BSSID in question
11302 is actually valid. Specifically, an empty or all zero BSSID does not
11304 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11305 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11306 similar invariant clean up.
11308 2006-06-02 Robert Love <rml@novell.com>
11310 * gnome/applet/applet.c: Update copyright years. Add Novell.
11312 2006-05-28 Dan Williams <dcbw@redhat.com>
11314 * gnome/applet/applet.glade
11315 gnome/vpn-properties/nm-vpn-properties.glade
11316 - Set window icons on dialogs (Gnome.org #333420)
11318 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
11320 * gnome/vpn-properties/nm-vpn-properties.glade:
11321 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11322 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11323 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11324 - Make the VPN properties pages prettier and more HIG
11325 compliant. Gnome Bug #336913.
11327 2006-05-28 Dan Williams <dcbw@redhat.com>
11329 Patch from Christian Persch <chpe@gnome.org>
11330 * gnome/vpn-properties/nm-vpn-properties.c
11331 * gnome/vpn-properties/nm-vpn-properties.glade
11332 - HIG-ification love (Gnome.org #336846)
11334 2006-05-28 Dan Williams <dcbw@redhat.com>
11336 Patch from Christian Persch <chpe@gnome.org>
11338 gnome/vpn-properties/nm-vpn-properties.c
11339 - (main): Fix option parsing. Gnome.org #336847
11341 2006-05-28 Dan Williams <dcbw@redhat.com>
11343 * gnome/vpn-properties/nm-vpn-properties.c
11344 - (find_vpn_ui_by_service_name): protect against NULL service names
11345 - (update_edit_del_sensitivity): protect against NULL service names
11348 2006-05-28 Dan Williams <dcbw@redhat.com>
11350 Patch from Chris Fuller <crf@grandecom.net>:
11351 * src/nm-device-802-11-wireless.c
11352 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11353 don't dispose of wireless-specific stuff unless it is actually
11354 initialized. Gnome.org #341263
11356 2006-05-28 Dan Williams <dcbw@redhat.com>
11358 * src/NetworkManagerPolicy.c
11359 - (nm_policy_device_change_check): don't switch devices if the "best"
11360 AP is essentially the same as the current activation request, but
11361 the current activation request isn't done activating yet. Fixes
11362 multiple requests for keyring password on startup for Gnome applet.
11365 2006-05-26 Nicolas Trangez <eikke@eikke.com>
11367 * src/NetworkManager.c: use GOptions instead of getopt
11368 * configure.in: bump glib required version to >= 2.6 for GOption
11371 2006-05-25 Robert Love <rml@novell.com>
11373 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11374 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
11375 instead of dumping ifdef's throughout the code.
11376 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11377 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11378 use nm_ioctl_info() in lieu.
11380 2006-05-25 Robert Love <rml@novell.com>
11382 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11383 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11384 not using gcrypt. Otherwise, we get a linker error.
11386 2006-05-25 Robert Love <rml@novell.com>
11388 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11389 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11390 configure flag to disable building of the GNOME-based applet.
11392 2006-05-25 Robert Love <rml@novell.com>
11394 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11395 parameter from link, because it shadows a global variable with some
11396 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
11397 should never have exported to the entire system a common four letter
11398 word. But we here at NetworkManager are team players. Fixes
11401 2006-05-25 Arangel Angov <ufo@linux.net.mk>
11403 * configure.in: Added mk.po, Macedonian translation.
11405 2006-05-24 Robert Love <rml@novell.com>
11407 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11408 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11409 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11411 2006-05-24 Robert Love <rml@novell.com>
11413 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11414 libnm-util/Makefile.am, src/Makefile.am,
11415 vpn-daemons/openvpn/auth-dialog/Makefile.am,
11416 vpn-daemons/openvpn/properties/Makefile.am,
11417 vpn-daemons/pptp/auth-dialog/Makefile.am,
11418 vpn-daemons/pptp/properties/Makefile.am,
11419 vpn-daemons/vpnc/auth-dialog/Makefile.am,
11420 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11421 user passed for --datadir, if anything, when setting the GNOME locale
11422 directory. It should be a function of the specified datadir and not
11425 2006-05-24 Robert Love <rml@novell.com>
11427 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11428 src/NetworkManager.c: Take care to call bindtextdomain with the
11429 location of msgid files.
11430 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11433 2006-05-22 Robert Love <rml@novell.com>
11435 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11436 stage4_timeout on failure unless the wireless network is Ad-Hoc.
11437 99% of the time there is a real problem with wireless, and a
11438 seemingly successful connection via Zeroconf just confuses the user.
11439 And that 1% of the time the network is probably Ad-Hoc, anyhow.
11441 2006-05-22 Robert Love <rml@novell.com>
11443 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11444 autofs on interface up if NIS is configured. On interface down, do
11447 2006-05-22 Robert Love <rml@novell.com>
11449 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11450 to avoid calling g_object_unref() on stale pointers on error in
11451 nma_icons_free(). This happens because we short-circuit loaded the
11452 icons on the first failure but then free all icons. Normally we have
11453 no issue because the icons were zero'ed out malloc, but we have stale
11454 pointer data after nma_icon_theme_changed().
11455 * gnome/applet/main.c: Return error code if nma_new() failed.
11457 2060-05-21 Dan Williams <dcbw@redhat.com>
11459 * initscript/NetworkManager.in
11460 - Ensure both dhcdbd and named are started before NM
11462 2006-05-21 Dan Williams <dcbw@redhat.com>
11465 - Bump version to 0.7 to signify we are in 0.7 development
11467 2006-05-21 Dan Williams <dcbw@redhat.com>
11469 Patch from Adam Schreiber <sadam@clemson.edu>
11470 * gnome/vpn-properties/nm-vpn-properties.c
11471 - (main): correct Gnome program name (gnome.org #342498)
11473 2006-05-21 Dan Williams <dcbw@redhat.com>
11475 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11477 * src/NetworkManagerDbus.[ch]
11478 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11479 clarify that function's argument should be an escaped dbus object
11480 path, and look for path segment end before returning a match
11481 * src/nm-dbus-nm.c:
11482 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11484 2006-05-17 Robert Love <rml@novell.com>
11486 Functionality to differentiate Ad-Hoc networks from infrastructure
11487 networks in the applet, by displaying a special icon:
11488 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11489 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11490 * gnome/applet/menu-items.c: Set a special icon in the scan list for
11491 ad-hoc networks. TODO: Add a third icon representing "encrypted and
11492 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
11493 networks, encrypted or not.
11494 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11495 accessor functions to get and set the mode of a given network,
11496 wireless_network_get_mode() and wireless_network_set_mode().
11498 2006-05-17 Robert Love <rml@novell.com>
11500 Functionality to automatically add BSSIDs to the allowed-MAC list as
11501 one roams from access point to access point on a given network:
11502 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11503 helper function to compare two ether_addr structures and return TRUE
11504 if they contain the same MAC address.
11505 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11507 * src/nm-device-802-11-wireless.c: New function to update the BSSID
11508 stored with the current AP. If the BSSID has indeed changed, we
11509 send it out to the applet, allowing the allowed-MAC list to grow
11510 automatically in response to roaming.
11512 2006-05-16 Robert Love <rml@novell.com>
11514 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11515 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11517 2006-05-13 Dan Williams <dcbw@redhat.com>
11519 * src/nm-device-802-3-ethernet.c
11520 - (real_get_generic_capabilities): Don't ignore devices that can't do
11521 carrier detect (Debian bug #366373)
11523 2006-05-11 Dan Williams <dcbw@redhat.com>
11525 Patch from Michael Biebl <biebl@teco.edu>
11526 * src/backends/NetworkManagerDebian.c
11527 - Debian backend fixups
11529 2006-05-10 Robert Love <rml@novell.com>
11531 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11533 2006-05-09 Robert Love <rml@novell.com>
11535 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11536 private certificate passphrase, if any, in the GNOME Keyring.
11537 * libnm-utils/dbus-helpers.c: Update.
11539 2006-05-05 Dan Williams <dcbw@redhat.com>
11541 * src/nm-device-802-11-wireless.c
11542 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11543 nm_device_802_11_wireless_disable_encryption() since that's all
11544 we use it for anymore; we don't ever set WEP keys ourselves.
11545 - (real_deactivate_quickly): reset SSID and encryption keys
11546 - (real_deactivate): move SSID and encryption key reset to
11547 real_deactivate_quickly(), which gets run before us anyway
11549 2006-05-05 Robert Love <rml@novell.com>
11551 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11552 root has a wacky default of its own (or, more common, a user has a
11553 bad umask and uses su/sudo to restart NetworkManager). Anything
11554 other than 0022 does not do what we want with, for example,
11555 resolv.conf. This problem is amplified by our judicious use of
11556 fopen(), which uses mode 0666 -- implying that the only way to get
11557 the permissions we want is with a umask of 0022.
11559 2006-05-05 Dan Williams <dcbw@redhat.com>
11561 * gnome/libnm_glib/libnm_glib.c
11562 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11563 to reconnect; instead wait a bit more with each reconnect attempt
11564 up to a max of one minute.
11566 2006-05-04 Ryan Lortie <desrt@desrt.ca>
11568 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11569 the WirelessNetwork structure using the proper function instead of
11570 just casting it directly to (const char *) (gnome.org #336991)
11572 2006-05-03 Robert Love <rml@novell.com>
11574 * src/backends/NetworkManagerSuSE.c: Respect the variable
11575 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11576 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11577 to dynamically update /etc/resolv.conf.
11579 2006-05-02 Peter Jones <pjones@redhat.com>
11581 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11583 2006-05-02 Robert Love <rml@novell.com>
11585 Patch by Timo Hoenig;
11586 * tests/nm-online.c: Print pretty status indicator as timeout winds
11587 down. Also fix possible race between DBUS startup and failure
11590 2006-05-01 Robert Love <rml@novell.com>
11592 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11595 2006-04-27 Jeremy Katz <katzj@redhat.com>
11597 * src/nm-device.c (discover_device_type): Actually use the hal
11598 device type instead of ioctl poking
11600 2006-04-26 Robert Love <rml@novell.com>
11602 * tests/nm-online.c: New file. Simple utility that returns exit status
11603 noting whether the connection is offline or online. If offline on
11604 start, it waits 30 seconds (or a command-line given value) for an
11605 online signal. If it times out, it again returns offline. This is
11606 useful for scripts that want to wait for network connections.
11608 2006-04-25 Robert Love <rml@novell.com>
11610 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11611 key mode (the authentication algorithm), e.g. open or shared, when we
11612 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
11613 only shared was broken. If the user specified a shared key, set it
11614 explicitly, otherwise let wpa_supplicant go with the default.
11616 2006-04-24 Dan Williams <dcbw@redhat.com>
11618 * src/nm-device-802-11-wireless.c
11619 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11621 2006-04-24 Dan Williams <dcbw@redhat.com>
11623 Commit the async scanning patch
11625 * src/nm-device-802-11-wireless.c
11626 - get rid of scan_mutex
11627 - (wireless_event_helper): act on wireless scan events
11628 - (real_start): schedule a pending scan
11629 - (link_to_specific_ap): fake the link to the AP during a scan
11630 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11631 strength during scans
11632 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11633 nm_device_set_bitrate): unused with new scanning code, disable
11634 - (nm_device_wireless_schedule_scan): removed
11635 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11636 - (request_and_convert_scan_results): new function; retrieve scan
11637 results from the driver and schedule the processing function
11638 - (scan_results_timeout): timeout triggered when card doesn't send
11639 a scan results wireless event during a certain interval
11640 - (schedule_scan_results_timeout): new function; schedule the scan
11642 - (cancel_scan_results_timeout): new function; cancel the scan
11644 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11645 to do the scanning. Otherwise, just request a scan but don't
11646 grab results here; instead schedule a timeout for scan results and
11647 let netlink notify us of scan completion events
11648 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11649 - (cancel_pending_scan): new function; cancel a pending wireless scan
11650 - (supplicant_status_cb): ignore disconnect events while scanning
11651 - (supplicant_exec): wait a bit longer for the supplicant to start up
11652 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11654 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11656 2006-04-24 Dan Williams <dcbw@redhat.com>
11658 * gnome/applet/applet-dbus.c
11659 - Disable the pending call debug stuff, seems under control now
11661 2006-04-20 Robert Love <rml@novell.com>
11663 Fix bug where hidden ESSID's would not show up in the applet, even
11664 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
11665 because nm_policy_device_list_update_from_allowed_list() would merge
11666 the data, putting a name to the hidden networks, but never notify NMI
11667 of the changes. Simple fix is to invoke the function
11668 nm_dbus_signal_wireless_network_change() if we make a mapping.
11669 * src/NetworkManagerAPList.c: Call the function
11670 nm_dbus_signal_wireless_network_change() if we made a successful
11671 BSSID to ESSID mapping, notifying the applet of the "new" network.
11672 * src/NetworkManagerAPList.h: Update the prototypes for both
11673 nm_ap_list_copy_essids_by_address() and
11674 nm_ap_list_copy_one_essid_by_address().
11676 2006-04-20 Robert Love <rml@novell.com>
11678 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11679 not set. Just return zero.
11681 2006-04-20 Robert Love <rml@novell.com>
11683 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11684 only one copy of nm-vpn-properties is running at a time via the 'ol
11685 X selection trick. This prevents the user from opening two "VPN
11686 Connections" windows from within the applet, which leads to mass
11688 * clipboard.c: New file, implementing simple X selection logic.
11689 * clipboard.h: New file.
11690 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11692 2006-04-18 Nicolas Trangez <eikke@eikke.com>
11694 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11696 initscript/Gentoo/Makefile.am
11697 initscript/Gentoo/NetworkManagerDispatcher.in
11699 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11702 2006-04-16 Dan Williams <dcbw@redhat.com>
11704 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11706 initscript/Slackware/Makefile.am
11707 initscript/Slackware/rc.networkmanager-dispatcher.in
11708 initscript/Slackware/rc.networkmanager.in
11709 - Update slackware initscripts
11711 2006-04-10 Robert Love <rml@novell.com>
11713 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11714 the "delete_event" signal on the druid's parent window and handle it
11715 our way, lest using the WM to close the druid results in a series of
11716 bloody and ultimately lethal errors.
11718 2006-04-10 Robert Love <rml@novell.com>
11720 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11721 'Back' too or else the 'Forward' option is initially disabled despite
11724 2006-04-06 Robert Love <rml@novell.com>
11726 Fix bad but simple bug where an active modem connection did not update
11727 NM's connection state, breaking any app that did online/offline:
11728 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11729 represented whether a dial up connection is active, or not.
11730 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11731 to modem activation and deactivation.
11732 * src/NetworkManagerDbus.c: When asked our state, do not return
11733 disconnected if the modem is active.
11735 2006-04-04 Robert Love <rml@novell.com>
11737 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11738 applet. It just confuses the crap out of people and does not make a
11739 lot of sense, as the daemon still runs.
11741 2006-04-02 Tor Krill <tor@krill.nu>
11743 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11744 in start of service.
11745 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11746 get Archlinux backend up to date.
11748 2006-03-29 Robert Love <rml@novell.com>
11750 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11751 to add support for per-route MSS and improve support for per-interface
11753 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11754 optionally take an MSS parameter and set it for the given route.
11755 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
11756 NMIP4Config's stored MSS, if any.
11757 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11758 the interface's MTU and the route's MSS, respectively. Add functions
11759 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11760 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11762 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11763 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11764 nm_ip4_config_set_mss.
11765 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11767 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11768 Change the retval of nm_system_get_mtu to guint32.
11769 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11770 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
11771 servers can specify MTU's, we should set it here if the MTU was not
11774 2006-03-27 Jürg Billeter <j@bitron.ch>
11777 * initscript/Makefile.am:
11778 * initscript/paldo/Makefile.am:
11779 * initscript/paldo/NetworkManager.in:
11780 * initscript/paldo/NetworkManagerDispatcher.in:
11781 * src/backends/Makefile.am:
11782 * src/backends/NetworkManagerPaldo.c:
11783 - Add paldo support
11785 2006-03-27 Dan Williams <dcbw@redhat.com>
11787 Patch from Christian Persch <chpe@gnome.org>
11788 * gnome/applet/applet.glade
11789 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
11791 2006-03-27 Dan Williams <dcbw@redhat.com>
11793 Patch from Diffe <diffie@blazebox.homeip.net>
11794 * src/backends/NetworkManagerSlackware.c
11795 - Don't restart howl, since it's been replaced by Avahi
11796 in most distributions
11798 2006-03-27 Dan Williams <dcbw@redhat.com>
11800 Patch from Tor Krill <bugzilla@krill.nu>
11802 initscript/Makefile.am
11803 src/backends/Makefile.am
11804 src/backends/NetworkManagerArch.c
11805 initscript/Arch/Makefile.am
11806 initscript/Arch/networkmanager-dispatcher.in
11807 initscript/Arch/networkmanager.in
11808 - Add Arch Linux support, fixes gnome.org #335147
11810 2006-03-27 Dan Williams <dcbw@redhat.com>
11812 Patch from Diffe <diffie@blazebox.homeip.net>
11813 * initscript/Slackware/rc.networkmanager
11814 - update, fixed gnome.org #333368
11816 2006-03-27 Robert Love <rml@novell.com>
11818 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
11819 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
11821 2006-03-27 Robert Love <rml@novell.com>
11823 Patch by Jürg Billeter <j@bitron.ch>:
11824 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
11826 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
11827 as we prefer glibc over kernel headers, if possible.
11829 2006-03-27 Robert Love <rml@novell.com>
11831 Patch by Jon Escombe <list@dresco.co.uk>:
11832 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
11833 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
11834 fail, don't bail out. We don't expect all of the various WPA-EAP
11835 values to be present.
11836 * src/nm-ap-security.c: We need to match all capabilities for each
11837 encryption type, not any one of them.
11839 2006-03-27 Robert Love <rml@novell.com>
11841 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
11842 restart, not reload, ypbind. Unfortunately there is no superior
11845 2006-03-24 Christopher Aillon <caillon@redhat.com>
11847 * gnome/applet/applet-notifications.c:
11848 When displaying a notification, make sure to get rid of the
11849 previous notification so as to not have competing bubbles,
11850 and stop leaking the old one.
11852 * gnome/applet/applet.c:
11853 * gnome/applet/applet.h:
11854 Add a new 'notification' member to the applet, and zero it out
11855 and free it appropriately.
11857 2006-03-23 Robert Love <rml@novell.com>
11859 Patch by j <j@bootlab.org>:
11860 * gnome/applet/applet.glade: Don't set the invisible_char property,
11861 which simply overrides the GTK default. By and by, this behavior
11862 ought to be fixed in Glade.
11864 2006-03-22 Robert Love <rml@novell.com>
11866 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
11868 2006-03-22 Robert Love <rml@novell.com>
11870 Bug fix by Timo Hoenig <thoenig@suse.de>:
11871 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
11872 disconnect. Otherwise, we have the daemon surviving DBUS restarts
11873 and the applet going AWOL.
11875 2006-03-22 Robert Love <rml@novell.com>
11877 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
11878 preprocessor define and use it instead of open-coded the DHCP
11879 timeout, which is currently 25 seconds, everywhere.
11881 2006-03-22 Robert Love <rml@novell.com>
11883 Implement "Dynamic WEP", which is basically WPA authentication and WEP
11884 key exchange via WPA, ostensibly providing good security without
11885 requiring hardware that supports full WPA. Also, add UI elements to
11886 allow the user to select the pairwise & group cipher for WPA Enterprise
11888 * gnome/applet/applet.glade: Update glade file.
11889 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
11890 key type, too, to and from gconf.
11891 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
11892 wso_wpa_create_key_type_model(), noting whether we are handling PSK
11893 or EAP configuration, and in the latter case add in "Dynamic WEP" if
11894 the capabilities match.
11895 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
11897 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
11898 serialize from UI to DBUS.
11899 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
11901 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
11902 nmu_security_serialize_wpa_eap_with_cipher(), and
11903 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
11904 serialize/deserialize the key type via DBUS as the new third DBUS
11906 * libnm-util/dbus-helpers.h: Update prototypes.
11907 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
11908 too. If the key type is WEP104, do Dynamic WEP, which means
11909 "IEEE8021X" for "key_mgmt". Also add support for user-specified
11910 pairwise and group ciphers (fixes a FIXME).
11912 2006-03-21 Robert Love <rml@novell.com>
11914 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
11915 nm_system_get_mtu(), which returns a user-provided or system-mandated
11916 MTU value for a given device, if any, or zero if no such value
11917 exists. Add nm_system_set_mtu() to set the MTU for a given device
11918 if we have a provided value.
11919 * src/nm-device.c: Set the MTU of devices.
11920 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
11921 * src/backends/NetworkManagerDebian.c,
11922 src/backends/NetworkManagerGentoo.c,
11923 src/backends/NetworkManagerRedHat.c,
11924 src/backends/NetworkManagerSlackware.c: Implement stub functions.
11926 2006-03-21 Robert Love <rml@novell.com>
11928 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
11929 configuration file.
11931 2006-03-17 Robert Love <rml@novell.com>
11933 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
11934 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
11935 it, in case it is not running in the first place. We just want its
11936 configuration reloaded. Also, do not "rcypbind stop" on device down.
11938 2006-03-15 Robert Love <rml@novell.com>
11940 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
11941 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
11942 label "WEP 40/128-bit" is inconsistent because the physical key size
11943 is 40 or 104-bits, to which a 24-bit initialisation vector is
11944 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
11945 to read "40/104" or "64/128". I do not care much which, but most
11946 users think of "silver" and "gold" encryption as 64 and 128-bits, so
11947 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
11948 WEP passphrase support only handles 128-bit keys, and any future
11949 64-bit passphrase support will require a new option (no way to auto-
11950 detect the target key size), explicitly label our passphrase support
11951 "WEP 128-bit Passphrase".
11953 2006-03-15 Robert Love <rml@novell.com>
11955 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
11956 the system init scripts (or some other mechanism) starting it (or a
11957 compatible DBUS service) before NetworkManager runs. This means that
11958 distributions might need to update their init scripts. This fixes
11959 possible races and is quite a bit cleaner.
11960 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
11961 starting the NetworkManager daemon.
11964 2006-03-14 Robert Love <rml@novell.com>
11966 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
11967 before adding anything.
11969 2006-03-13 Robert Love <rml@novell.com>
11971 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
11972 widgets, too, if they exist, in case the user hit the back button.
11973 Fixes a bug where the details page contains the widgets of multiple
11974 VPN modules (Novell bug #157048).
11976 2006-03-13 Robert Love <rml@novell.com>
11978 Patch by Timo Hoenig <thoenig@suse.de>:
11979 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
11980 daemon survive DBUS restarts, too.
11982 2006-03-10 Robert Love <rml@novell.com>
11984 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
11986 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
11987 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
11988 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
11989 in response to "toggled" signal on new toggle.
11991 2006-03-10 Robert Love <rml@novell.com>
11993 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
11994 serialization if strings are NULL, lest DBUS get angry.
11996 2006-03-10 Robert Love <rml@novell.com>
11998 * src/nm-ap-security-wpa-eap.c: Don't log the password.
12000 2006-03-09 Robert Love <rml@novell.com>
12002 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12005 2006-03-09 Dan Williams <dcbw@redhat.com>
12007 Track pending call requests in the applet, and report how many are
12008 outstanding, and how long each completed one takes.
12010 * gnome/applet/applet-dbus-devices.c
12011 gnome/applet/applet-dbus-vpn.c
12012 - Track pending calls
12014 * gnome/applet/applet-dbus.[ch]
12015 - Remove some unused enums
12016 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12017 new functions to track dbus pending calls and spit out some
12018 statistics about them
12020 2006-03-09 Robert Love <rml@novell.com>
12022 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12023 nm_ap_set_timestamp() take the second and micro-second parameters as
12024 direct arguments, which avoids both a dynamic memory allocation and a
12025 structure-to-structure copy! Add a new interface, the aptly named
12026 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12027 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12028 the return from nm_ap_get_timestamp(). New users should use the new
12029 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12030 the extreme benefit to performance.
12031 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12032 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12034 2006-03-08 Robert Love <rml@novell.com>
12036 * gnome/applet/applet.glade: Hide the password entry text with
12039 2006-03-08 Robert Love <rml@novell.com>
12041 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12042 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12043 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12044 a second argument, NMData.
12045 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12046 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12047 config files as trusted.
12049 2006-03-06 Robert Love <rml@novell.com>
12051 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12052 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12053 to exit the applet. As a sweet side-effect, idea courtesy of Chris
12054 Rivera, detect if the applet was auto-started. If so, ask the user
12055 if he or she would like to stop automatically running the applet on
12056 login. If so, disable autostart.
12058 2006-03-06 Robert Love <rml@novell.com>
12060 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
12061 directory in CFLAGS so developers can actually use NetworkManager.h.
12063 2006-03-06 Robert Love <rml@novell.com>
12065 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12066 open-coded integer constants. Add state_to_string() to map a given
12067 state to a textual description, and provide that when notifying of
12069 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12070 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
12071 this header directly, but it is currently not installed on most
12074 2006-03-05 Dan Williams <dcbw@redhat.com>
12076 Process netlink messages in device subclasses rather than in
12077 NetworkManager.c. Also add support for recognizing Wireless Events.
12080 - Find GLIB_GENMARSHAL
12083 - Since we're marshalling custom types for wireless event signals,
12084 we get to create our own marshallers using GLIB_GENMARSHAL
12086 * src/NetworkManager.c
12087 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12088 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12089 cut down somewhat. We no longer process signals here.
12090 - (nm_data_new): create the netlink monitor here, and remove a
12091 useless call to nm_policy_schedule_device_change_check()
12092 - (nm_data_free): get rid of the netlink monitor here
12093 - (nm_device_link_activated, nm_device_link_deactivated): removed
12094 - (main): don't create the netlink monitor here, let nm_data_new
12095 do that. Call nm_policy_schedule_device_change_check() right
12096 before we jump to the mainloop to figure out which device
12099 * src/NetworkManagerSystem.[ch]
12100 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12101 convert back and forth from interface names to interface
12104 * src/nm-device-802-11-wireless.c
12105 - (real_init): connect to wireless-event signals from the netlink
12107 - (nm_device_802_11_wireless_event): new function, schedule handler
12108 for wireless event signals from the netlink monitor object. We
12109 want the handler to run in the device's context
12110 - (wireless_event_helper): handle wireless-event signals from netlink
12111 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12114 * src/nm-device-802-11-wireless.h
12115 - remove unused prototype for nm_device_802_11_wireless_new
12117 * src/nm-device-802-3-ethernet.c
12118 - (real_init): new function; set up signal handlers for link events
12119 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12120 handler for netlink link activated events on device's main loop
12121 - (link_activated_helper): when we get a link activated event, set
12122 the device's link to be active
12123 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12124 handler for netlink link deactivated events on device's main loop
12125 - (link_deactivated_helper): when we get a link deactivated event, set
12126 the device's link to be inactive
12127 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12130 * src/nm-device-802-3-ethernet.h
12131 - remove unused prototype for nm_device_802_3_ethernet_new
12133 * src/nm-device.[ch]
12134 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12135 but locks the device list
12136 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12138 * src/nm-netlink-monitor.[ch]
12139 - (nm_netlink_monitor_class_install_signals): New signal
12141 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12143 - (nm_netlink_monitor_event_handler): expand for wireless events too
12145 * src/nm-marshal-main.c
12146 - Include generated nm-marshal.c and nm-marshal.h
12148 * src/nm-marshal.list
12149 - List of custom marshal functions
12151 2006-03-05 Dan Williams <dcbw@redhat.com>
12153 * gnome/applet/applet-notifications.h
12154 - Protect prototype of nma_send_event_notification() because it
12155 includes libnotify-specific types
12156 - Include libnotify/libnotify.h too, since we technically need it
12158 * gnome/applet/applet.c
12159 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12160 - (nma_show_vpn_login_banner_dialog): add some error checking
12162 2006-03-04 Dan Williams <dcbw@redhat.com>
12164 Clean up activation cancellation. Should be a lot faster now. Observed
12165 an issue with wireless devices between stage 2 and 3 of activation, where
12166 activation would be cancelled, but the device thread wouldn't notice until
12167 the supplicant association timed out. Reorganize activation such that
12168 a cancellation handler gets immediately scheduled in the device's thread,
12169 and devices have a chance to perform any custom cleanup too.
12171 * src/nm-device.[ch]
12172 - (activation_cancel_handler): new device-type-specific function
12173 for cleaning up device-type-specific stuff on cancellation
12174 - (cancel_activation): removed
12175 - (nm_device_activation_cancel): subsume functionality of
12176 real_cancel_activation, but instead of doing anything, punt
12177 operation to a handler that's run in device-thread context
12178 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12180 - (activation_handle_cancel_helper): cancellation handler run in
12181 device-thread context, calls device-type-specific cancelation,
12182 then tears down the activation request
12183 - (real_activation_cancel_handler): generic cancellation handler,
12184 deals with cancelling any in-process DHCP request
12185 - (nm_device_activate_stage1_device_prepare,
12186 nm_device_activate_stage2_device_config,
12187 nm_device_activate_stage3_ip_config_start,
12188 nm_device_activate_stage4_ip_config_get,
12189 nm_device_activate_stage4_ip_config_timeout,
12190 nm_device_activate_stage5_ip_commit): don't call
12191 nm_device_schedule_activation_handle_cancel() any more, since
12192 cancellation will have been already scheduled for us by
12193 nm_device_activation_cancel(). Just exit the function and
12194 assume that the cancel handler will be called next.
12196 * src/nm-device-802-3-ethernet.c
12197 - (real_act_stage2_config): remove; didn't do anything anyway
12199 * src/nm-device-802-11-wireless.c
12200 - (supplicant_status_cb): ensure we don't do anything if the activation
12202 - (real_activation_cancel_handler): implement; cancel user key request
12203 on activation cancellation
12205 2006-03-04 Dan Williams <dcbw@redhat.com>
12207 * src/nm-device-802-11-wireless.c
12208 - (supplicant_send_network_config): assume that drivers that don't
12209 support WPA pretty much suck, and can't handle NM scanning
12210 along with wpa_supplicant.
12212 2006-03-03 Robert Love <rml@novell.com>
12214 * configure.in: Bump version to 0.6.0.
12217 2006-03-03 Robert Love <rml@novell.com>
12219 * configure.in: Require DBUS 0.60 or later.
12221 2006-03-03 Dan Williams <dcbw@redhat.com>
12223 Fix a crash if an "Other wireless network" was chosen, failed, then
12224 chosen again from the applet's menu. If the other network wasn't
12225 noticed in a scan, it wouldn't have any capabilities, but would still
12226 be listed because the user forced the network. To fix this, we set
12227 sensible capabilities on the forced network, which will get overwritten
12228 with the correct ones if the network shows up later in a scan.
12230 * src/nm-ap-security.h
12231 - Add a new "get_default_capabilities_func" member to the
12234 * src/nm-ap-security.c
12235 - (nm_ap_security_get_default_capabilities): new function
12237 * src/nm-ap-security.c
12238 src/nm-ap-security-wep.c
12239 src/nm-ap-security-wpa-psk.c
12240 src/nm-ap-security-wpa-eap.c
12241 - Implement get_default_capabilities_func() for all, which
12242 uses the information contained in a specific NMAPSecurity
12243 object to determine default AP capabilites necessary
12244 to support that object
12246 As a secondary measure, we now prune artificial access points that fail
12247 to be activated right away. The thing failed, and we have no scan data for
12248 it, so it's pretty much useless since security information is only saved
12249 in the applets when a connection is successful.
12251 * src/NetworkManagerAPList.c
12252 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12253 not artificial. If we see it, it's no longer a figment of the
12254 user's imagination :)
12256 * src/NetworkManagerPolicy.c
12257 - (nm_policy_activation_failed): send along the failed AP if we
12260 * src/nm-device-802-11-wireless.c
12261 - (real_activation_failure_handler): remove artificial APs from
12262 the device list, because activation failed
12264 2006-03-02 Robert Love <rml@novell.com>
12266 Add support for retrieving both the per-device speed and the
12267 per-network maximum supported rate. Then change the getProperties
12268 DBUS API for both networks and devices to report this informaiton.
12269 Finally, display the information via both nm-applet and nm-tool:
12270 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12272 * gnome/applet/applet.c: Display the device's speed in the 'Connection
12273 Information' dialog.
12274 * gnome/applet/applet.glade: Update the UI to show per-device speed.
12275 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12276 network_device_get_speed() and network_device_set_speed() for
12277 retrieving and setting, respectively, a network device's current
12279 * src/nm-dbus-device.c: Send the device's speed on getProperties.
12280 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12281 in the function nm_device_802_11_wireless_get_bitrate() -- it does
12282 not matter (yet) what the units are, because we only feed it its own
12283 output. Implement SIOCGIRATE and set the per-network maximum
12284 supported rate during scanning.
12285 * src/nm-device-802-11-wireless.h: Export the function
12286 nm_device_802_11_wireless_get_bitrate().
12287 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12288 function nm_device_802_3_ethernet_get_speed() for returning an
12289 802.3's current speed, in Mb/s.
12290 * test/nm-tool.c: Display the per-device current speed, if available,
12291 and the per-network maximum rate.
12293 2006-03-02 Dan Williams <dcbw@redhat.com>
12295 * src/nm-device-802-11-wireless.c
12296 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12297 card when it gets initialized. Since devices don't get added to
12298 the scan list until they are initialized, this function wasn't
12299 setting the intitial scan interval correctly, and was leaving
12300 it at 0. This caused cards to get many scan requests in a short
12301 amount of time when they were initialized
12303 2006-03-02 Robert Love <rml@novell.com>
12305 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12306 active device. But do not do what we used to do and override the
12307 state, which caused the dreaded icon race of '05.
12309 2006-03-02 Robert Love <rml@novell.com>
12311 Commit Dan's update of my previous commit:
12312 * src/nm-device-802-11-wireless.c: Always set the mode, because the
12313 set_mode() function itself does the check. But do only set the
12314 frequency if in Ad-Hoc mode.
12316 2006-03-02 Robert Love <rml@novell.com>
12318 Patch by Brian Magnuson <magnuson@rcn.com>:
12319 * src/nm-device-802-11-wireless.c: During scanning, only set the
12320 wireless mode to infrastructure if it is not currently in
12321 infrastructure mode. For some driver, setting the mode is a costly
12322 operation, apparently.
12324 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
12326 * Makefile.am: use the correct dir for autostart mechanism.
12328 2006-02-28 Dan Williams <dcbw@redhat.com>
12330 Patch from Brian Magnuson <magnuson@rcn.com>
12331 * gnome/applet/applet.c
12332 - (nma_show_vpn_failure_dialog): fix errors left over from
12333 libnotify support changes
12335 2006-02-28 Dan Williams <dcbw@redhat.com>
12337 * src/vpn-manager/nm-vpn-act-request.[ch]
12338 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12340 - (nm_vpn_act_request_is_failed): new function; return whether or
12341 not the vpn activation request has failed
12343 * src/vpn-manager/nm-vpn-manager.c
12344 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12345 daemon to kill the connection when the activation request fails.
12346 Fixes issue where NM would get confused if the VPN activation
12347 request timed out, and would not allow further VPN connections
12350 2006-02-28 Dan Williams <dcbw@redhat.com>
12352 * gnome/applet/applet.c
12353 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12354 overlapping connection requests, disable all VPN menu items
12355 but the active VPN connection
12357 2006-02-28 Dan Williams <dcbw@redhat.com>
12359 * src/vpn-manager/nm-vpn-connection.c
12360 - (nm_vpn_connection_set_parent_device): fix C&P error which
12361 called g_object_unref() on the connection's parent device
12362 when it should have been ref-ed instead. Fixes crash with
12363 repeated vpn connect requests
12365 2006-02-28 Christopher Aillon <caillon@redhat.com>
12367 * gnome/applet/applet.glade:
12368 Mark a few strings non-translatable, since they shouldn't be.
12370 2006-02-28 Dan Williams <dcbw@redhat.com>
12372 * src/vpn-manager/nm-vpn-service.c
12373 - (nm_vpn_service_start_connection): if the vpn service daemon is
12374 already running, don't blindly ask it to connect, but wait until
12375 it's in the STOPPED state first. Fixes an assertion when user
12376 starts a second vpn connection without stopping the first.
12377 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12378 dbus service exists before continuing with the connection
12379 process, and reduce latency while waiting for it to become
12381 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12382 waiting for the vpn service daemon to become available
12383 - General log message cleanups; show progress via "Stage x of 4"
12384 rather than not telling anyone how many stages there are
12386 2006-02-28 Robert Love <rml@novell.com>
12388 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12389 * src/backends/NetworkManagerSuSE.c: Implement the interface
12390 nm_system_should_modify_resolv_conf() for SUSE.
12391 * src/backends/NetworkManagerDebian.c,
12392 src/backends/NetworkManagerGentoo.c,
12393 src/backends/NetworkManagerRedHat.c,
12394 src/backends/NetworkManagerSlackware.c: Add stub.
12395 * src/named-manager/Makefile.am: Grab includes from src.
12396 * src/named-manager/nm-named-manager.c: Allow backends to disable the
12397 automatic updating of resolv.conf. This is useful for testing,
12398 broken static configurations, and administrator lock-down.
12400 2006-02-28 Dan Williams <dcbw@redhat.com>
12402 * src/nm-device-802-11-wireless.c
12403 - Move all the wpa_supplicant-related management stuff into its
12404 own struct, just for oranization's sake
12405 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12406 to a GIOChannel/GSource
12407 - (supplicant_log_stdout): new function; grab output from the
12408 wpa_supplicant stdout pipe and write it to our logs.
12410 2006-02-27 Christopher Aillon <caillon@redhat.com>
12412 * src/nm-device-802-11-wireless.c:
12413 Err, fix thinko in my previous commit.
12415 2006-02-28 Robert Love <rml@novell.com>
12417 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12419 2006-02-28 Robert Love <rml@novell.com>
12421 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12422 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12423 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12424 deserializers are responsible for freeing the returned DBUS strings.
12426 2006-02-27 Christopher Aillon <caillon@redhat.com>
12428 * src/nm-device-802-11-wireless.c:
12429 The scan list is being pruned prematurely. We should prune after
12430 the device has gone MIA for three scans, not one. Split out the
12431 interval to realtime seconds function to better serve this.
12433 2006-02-27 Robert Love <rml@novell.com>
12435 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12436 Open the pid file O_TRUNC, so if it already exists we truncate it to
12437 zero length. Also, be more verbose about warnings generated during
12438 writing out the pid file. Finally, always write out the pid file if
12439 in daemon mode. Use "--pid-file" to override the default.
12441 2006-02-27 Robert Love <rml@novell.com>
12443 Patch by R. Vinay <rvinay@novell.com>:
12444 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12445 'last_attempt_success' when removing a VPN connection, too. (Fixes
12446 Novell bug #153628).
12448 2006-02-27 Robert Love <rml@novell.com>
12450 * gnome/applet/applet.glade: Set "activates_default" on passphrase
12451 entry so user can hit <ENTER> after entering passphrase (Novell bug
12454 2006-02-27 Dan Williams <dcbw@redhat.com>
12457 - Mass search/replace of:
12459 NMWirelessApplet -> NMApplet
12460 NM_*_WIRELESS_APPLET -> NM_*_APPLET
12461 (it ain't just for wireless anymore, ma!)
12462 - Fix duplicate function name printing when using nm_warning
12463 - wireless-applet.glade -> applet.glade
12465 2006-02-27 Dan Williams <dcbw@redhat.com>
12467 * dispatcher-daemon/NetworkManagerDispatcher.c
12468 - Accept --pid-file with a path to a pidfile, write it out on
12469 startup, and delete it on shutdown
12471 * src/NetworkManager.c
12472 - Accept --pid-file with a path to a pidfile, write it out on
12473 startup, and delete it on shutdown
12474 - Move nm_print_usage() lower
12476 * initscripts/RedHat/NetworkManager.in
12477 - Use new --pid-file option
12478 - Fix service stopping to wait a bit for NM to quit
12480 * initscripts/RedHat/NetworkManagerDispatcher.in
12481 - Use new --pid-file option
12483 2006-02-26 Dan Williams <dcbw@redhat.com>
12486 - make and install nm-crash-logger
12488 * src/nm-logging.[ch]
12489 - New files; consolidate logging and crash handling
12491 * src/nm-crash-logger.c
12493 - Standalong crashlogger for NM, grab a backtrace
12496 * src/NetworkManager.[ch]
12497 - Remove signal handling and put it into nm-logging.c
12499 2006-02-26 Dan Williams <dcbw@redhat.com>
12502 gnome/applet/Makefile.am
12503 - Conditionalize all the notify stuff
12505 Merge most of Chris Aillon's notification patch:
12507 * gnome/applet/applet-notifications.[ch]
12508 - New files; show a notification
12510 * gnome/applet/applet-dbus-devices.[ch]
12511 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12512 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12513 new functions, do the right thing when a device change occurs
12515 * gnome/applet/applet-dbus.c
12516 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12517 signals, so we can handle them specially
12519 * gnome/applet/applet.[ch]
12520 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12521 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12522 - (nmwa_notify_state): remove
12523 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12524 notification work is now done when the appropriate dbus signals
12526 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12527 defer execution of the notification/dialog stuff. That was an
12528 artifact of the previous multi-threaded nature of the applet
12529 and is now pointless.
12530 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12531 no longer needed. Function folded into applet-notifications.c
12533 * src/NetworkManagerPolicy.c
12534 - (nm_policy_activation_finish): send the AP along with the device
12535 status change signal, if the connection is wireless. Should
12536 fix the race where applet would show a connection to "unknown"
12538 2006-02-25 Robert Love <rml@novell.com>
12540 Add WPA Enterprise support:
12541 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12542 nm-gconf-wso-wpa-eap.h.
12543 * gnome/applet/nm-gconf-wso-wpa-eap.c,
12544 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
12545 serialization and deserialization.
12546 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12547 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12548 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12549 * gnome/applet/wireless-applet.glade: Add UI for configurating security
12550 settings related to WPA Enterprise.
12551 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12552 instantiate WPA Enterprise wireless-security-option.
12553 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12554 Implement WPA Enterprise wireless-security-option object.
12555 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12557 * libnm-util/cipher-wpa-psk-hex.c,
12558 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12559 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12560 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12561 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12562 including the cipher to DBUS method, and
12563 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12565 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12566 nm-ap-security-wpa-eap.h
12567 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12568 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12569 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12570 files. Implement NMAPSecurityWPA_EAP object.
12571 * src/nm-ap-security-wpa-psk.c: Cleanup.
12572 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12573 an NMAPSecurityWPA_EAP object via the method
12574 nm_ap_security_wpa_eap_new_deserialize().
12575 * src/nm-dbus-nm.c: Cleanup.
12576 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12577 WPA Enterprise support.
12579 2006-02-24 Robert Love <rml@novell.com>
12581 Patch from Timo Hoenig <thoenig@suse.de>:
12582 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12584 2006-02-24 Robert Love <rml@novell.com>
12586 Patch from Dan Winship <danw@novell.com>:
12587 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
12588 area to transparent.
12590 2006-02-21 Dan Williams <dcbw@redhat.com>
12592 * gnome/applet/applet.[ch]
12593 gnome/applet/applet-dbus.c
12594 - Implement notification support for VPN messages too
12596 2006-02-21 Dan Williams <dcbw@redhat.com>
12598 * gnome/applet/applet-dbus-info.c
12599 - Clean up warning messages to not double-print the function
12601 2006-02-21 Dan Williams <dcbw@redhat.com>
12603 * gnome/applet/applet-compat.c
12604 - (convert_one_entry): accept entries without a key_type and
12605 convert them to unencrypted networks
12607 2006-02-21 Dan Williams <dcbw@redhat.com>
12609 * gnome/libnm_glib/libnm_glib.c
12610 - Use __func__ everywhere we can
12612 - Use dbus pending calls rather than blocking
12613 - Reduce busywaits for our thread to start and stop
12614 (gnome.org #330562)
12615 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12616 stomp on others using the default shared dbus connection.
12617 Fixes #rh177546# and gnome.org #326572
12619 2006-02-21 Dan Williams <dcbw@redhat.com>
12621 Patch from Rodney Dawes <dobey@novell.com>
12623 gnome/applet/Makefile.am
12624 gnome/applet/applet.c
12625 - Add libnotify support if '--enable-notify=yes' is passed
12628 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
12630 * configure.in (ALL_LINGUAS): ko added. (Korean)
12632 2006-02-15 Robert Love <rml@novell.com>
12634 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12635 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12636 and WPA_SUPPLICANT_CONTROL_SOCKET.
12638 2006-02-15 Robert Love <rml@novell.com>
12640 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12641 information about what connection stage we are at, provide the total
12642 number of stages, e.g. "Stage 2 of 5", so users know how far along
12643 they are if they experience problems.
12645 2006-02-15 Robert Love <rml@novell.com>
12647 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12648 define to $sysconfdir.
12649 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12650 editing dialog, vpn_edit_widget, which fixes a bug where editing one
12651 type of VPN and then editing another results in a mangled dialog
12652 box containing the widgets from both VPNs (fixes Novell #150854).
12653 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12655 2006-02-14 Robert Love <rml@novell.com>
12657 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12658 syslog's file descriptor.
12660 2006-02-14 Robert Love <rml@novell.com>
12662 Fix bug around since the change to "deal with APs changing settings on
12663 us," checked in on the fifth of February in the year of the dog,
12664 wherein connecting to non-broadcast encrypted networks always fails
12665 because nm_ap_get_encrypted() always returns FALSE, even when the user
12666 provided a key, because the newly-created fake AP does not have any
12667 capabilities set, which is a sypmtom of security settings not matching
12668 capabilities (Novell bug #150784):
12669 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12670 nm_ap_add_capabilities_from_security(), which sets the given AP's
12671 capabilities off the given security settings. Also improve our
12672 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12673 NM_AUTH_CIPHER_AUTO.
12674 * src/nm-device-802-11-wireless.c: Call the function
12675 nm_ap_add_capabilities_from_security() to ensure that capabilities
12676 match newly updated security settings.
12678 2006-02-14 Robert Love <rml@novell.com>
12680 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12681 error as a string, not an integer, if possible; do not print the
12682 function name twice; always give the interface, if possible; misc.
12685 2006-02-12 Dan Williams <dcbw@redhat.com>
12687 Patch from Tom Parker <palfrey@tevp.net>
12688 * src/NetworkManagerSystem.h
12689 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12692 * src/backends/NetworkManagerDebian.c
12693 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12696 2006-02-12 Dan Williams <dcbw@redhat.com>
12698 * vpn-daemons/openvpn/intltool-extract.in
12699 vpn-daemons/openvpn/intltool-merge.in
12700 vpn-daemons/openvpn/intltool-update.in
12701 vpn-daemons/pptp/intltool-extract.in
12702 vpn-daemons/pptp/intltool-merge.in
12703 vpn-daemons/pptp/intltool-update.in
12704 - Remove from CVS, they should get created by intltoolize,
12707 2006-02-12 Dan Williams <dcbw@redhat.com>
12709 * vpn-daemons/pptp/src/pppd/patchlevel.h
12710 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12711 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12712 Makefile-defined VERSION
12714 2006-02-09 Dan Williams <dcbw@redhat.com>
12716 Patch from: Vinay A R <rvinay@novell.com>
12717 * src/vpn-manager/nm-vpn-act-request.[ch]
12718 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12719 IPSec VPNs require them for std gateway.
12720 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12721 and 'user_routes_count'
12722 - (nm_vpn_act_request_get_user_routes): new function; gets user
12723 defined routes from NMVPNActRequest object, returns the string
12726 * src/vpn-manager/nm-vpn-manager.[ch]
12727 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12728 for 'user_routes' and 'user_routes_count'
12730 * src/vpn-manager/nm-dbus-vpn.c
12731 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12732 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12734 * src/vpn-manager/nm-vpn-service.c
12735 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12738 Modifications by Dan:
12739 * src/vpn-manager/nm-vpn-service.c
12740 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12743 * vpn-daemons/vpnc/src/nm-vpnc-service.c
12744 * vpn-daemons/pptp/src/nm-pptp-service.c
12745 * vpn-daemons/openvpn/src/nm-openvpn-service.c
12746 - Grab user routes from dbus message
12747 - Free all string arrays we got from dbus
12749 2006-02-07 Robert Love <rml@novell.com>
12751 Patch by Stefan Seyfried <seife@suse.de>:
12752 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12754 2006-02-06 Robert Love <rml@novell.com>
12756 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12758 2006-02-06 Robert Love <rml@novell.com>
12760 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12761 test ">=" is never false. If no newline is found, we loop forever.
12762 We can just check for ">" because the following if() will see the
12763 zero-th argument if the while() gets that far.
12765 2006-02-05 Dan Williams <dcbw@redhat.com>
12767 Refine handling of non-broadcast networks.
12769 * src/NetworkManagerAPList.c
12770 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12771 property from scanned AP to the AP from the device list
12773 * src/nm-device-802-11-wireless.c
12774 - (supplicant_send_network_config): use ap_scan=1 for all networks
12775 except non-SSID-broadcasting and Ad-Hoc networks. Use
12776 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
12777 networks since those don't have APs.
12778 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12779 AP as non-SSID-broadcasting
12780 - (process_scan_results): don't handle non-SSID-broadcasting here
12782 2006-02-05 Dan Williams <dcbw@redhat.com>
12784 * src/nm-device-802-11-wireless.c
12785 - (get_supplicant_timeout): new function; return
12786 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
12787 14 channels. These are likely a/b/g cards, like Atheros, and
12788 slow as hell to scan.
12789 - (supplicant_timeout_cb, supplicant_monitor_start): use
12790 get_supplicant_timeout()
12792 2006-02-05 Dan Williams <dcbw@redhat.com>
12794 * src/dhcp-manager/nm-dhcp-manager.c
12795 - Loose a commit race with Robert; make sure size check
12796 uses size of DHCP_SERVICE_LEN, not hardcoded 15
12798 2006-02-05 Robert Love <rml@novell.com>
12800 Patch by Christoph Brill <chrisbrill@gmx.net>:
12801 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
12802 with DHCP_SERVICE_NAME.
12804 2006-02-05 Dan Williams <dcbw@redhat.com>
12806 Remove anything having to do with device_setup_func from the
12807 AP security objects, since it's no longer used.
12809 * src/nm-ap-security.h
12810 - Kill device_setup_func and nm_ap_security_device_setup()
12812 * src/nm-ap-security-wep.c
12813 src/nm-ap-security-wpa-psk.c
12814 - (real_device_setup): remove
12816 * src/nm-ap-security.c
12817 - (real_device_setup): remove
12818 - (nm_ap_security_device_setup): remove
12820 * src/nm-device-802-11-wireless.[ch]
12821 - (nm_device_802_11_wireless_set_wep_enc_key): make static
12822 - (set_wireless_config, wireless_configure_adhoc): remove; unused
12823 and done by wpa_supplicant now anyway
12825 2006-02-05 Dan Williams <dcbw@redhat.com>
12827 * src/nm-device-802-11-wireless.c
12828 - (ap_need_key, real_act_stage2_config): deal with APs changing
12829 settings on us. Previously NM would loop asking for the
12830 key but getting the same one back. Now, if the NMI-supplied
12831 cipher doesn't overlap with the scanned AP capabilities,
12832 we request a completely new key from the user.
12834 2006-02-05 Dan Williams <dcbw@redhat.com>
12836 * src/NetworkManagerUtils.c
12837 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
12838 Handle newline killing better
12840 2006-02-05 Dan Williams <dcbw@redhat.com>
12842 * gnome/applet/nm-gconf-wso.c
12843 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
12844 of unencrypted access point security info.
12846 2006-02-03 Robert Love <rml@novell.com>
12848 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
12849 user's encryption key, so we print the err_msg_cmd not the command,
12850 if available. So long as SUPPLICANT_DEBUG is default, this makes
12853 2006-02-03 Christopher Aillon <caillon@redhat.com>
12855 * initscript/RedHat/NetworkManagerDispatcher.in:
12856 * initscript/RedHat/NetworkManager.in: modify the pidfile location
12857 Patch from Dan Walsh <dwalsh@redhat.com>
12859 2006-02-03 Robert Love <rml@novell.com>
12861 * dispatcher-daemon/NetworkManagerDispatcher.c,
12862 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
12863 but use the sysconfdir.
12865 2006-02-03 Robert Love <rml@novell.com>
12867 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
12868 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
12870 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
12871 nm_ip4_config_get_hostname() and
12872 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
12873 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
12874 leak g_strdup() result.
12876 2006-02-03 Robert Love <rml@novell.com>
12878 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
12879 broadcast == TRUE. Also, copy broadcast and artificial properties
12880 from source network to destination in nm_ap_copy().
12881 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
12882 since we now default new networks to non-hidden.
12884 2006-02-03 Dan Williams <dcbw@redhat.com>
12886 * gnome/applet/main.c
12887 - (main): change the NEVER->ALWAYS so we start at the
12888 beginning of the session, if being session-managed
12890 2006-02-03 Dan Williams <dcbw@redhat.com>
12892 * gnome/applet/main.c
12893 - (main): in a variation on Robert's patch, change
12894 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
12897 2006-02-02 Robert Love <rml@novell.com>
12899 * src/Makefile.am: If we aren't going to create the run directory at,
12900 uh, run-time, create it during install. Then users just doing
12901 'make install' are cool, too. While we are here, create the
12902 dispatcher.d directory, too.
12903 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
12904 the exact run directory.
12905 * Makefile.am: Install nm-applet.desktop.
12907 2006-02-02 Robert Love <rml@novell.com>
12909 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
12910 structure, which denotes whether or not the AP is hidden. This is a
12911 superset of 'artificial' -- we need 'broadcast' because a hidden AP
12912 can show up in the scan list. Add nm_ap_get_broadcast() and
12913 nm_ap_set_broadcast() accessor interfaces.
12914 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
12915 nm_ap_set_broadcast().
12916 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
12917 "getProperties" method, which denotes whether or not the given
12919 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
12920 an artificial network. Set broadcast to TRUE when scanning returns
12921 an ESSID and FALSE when not.
12922 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
12923 from "getProperties" method on a network. Possible TODO is to
12924 somehow display this.
12925 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
12927 2006-02-02 Dan Williams <dcbw@redhat.com>
12929 * src/nm-device-802-11-wireless.c
12930 - (supplicant_interface_init): don't try to create
12931 /var/run/NetworkManager, since that should be done by
12932 the distro package. Causes problems for stuff like SELinux
12934 2006-02-02 Robert Love <rml@novell.com>
12936 Patch by Sureshkumar T <tsureshkumar@novell.com>:
12937 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
12938 Check for and handle empty string for iface.
12940 2006-02-01 Robert Love <rml@novell.com>
12942 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
12945 2006-01-31 Dan Williams <dcbw@redhat.com>
12947 * nm-applet.desktop
12948 - Add --sm-disable to Exec arguments, presuming that when
12949 using autostart, we don't want session management
12951 2006-01-31 Robert Love <rml@novell.com>
12953 * src/NetworkManagerAP.c: Add two new manufacturer default network
12954 names: linksys-a and linksys-g. These are found (at least) on the
12955 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
12958 2006-01-31 Robert Love <rml@novell.com>
12960 * src/NetworkManagerAP.c: Optimize the function
12961 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
12962 machine code. This is the first in a series of code tweaks aiming to
12963 generate better machine code and make NetworkManager all the better.
12964 Just kidding. Who has time to go through the assembly generated for
12965 every function? I certainly don't. I have a wife, a kid, a job,
12966 a mortgage, a mistress. But this function was so bad, I was called
12967 to arms. Like the book.
12969 2006-01-31 Robert Love <rml@novell.com>
12971 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
12972 AP is not broadcasting, to scan with probe request frames. Required
12973 for non-broadcast networks.
12975 2006-01-31 Robert Love <rml@novell.com>
12977 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
12978 preprocessor define (still 20s). Fix message text in nm_info()
12979 s/too too/took too/.
12981 2006-01-30 Dan Williams <dcbw@redhat.com>
12983 * src/nm-device-802-11-wireless.c
12984 - (supplicant_monitor_start): increase connect/auth timeout to
12985 20 seconds from 10 seconds
12987 2006-01-30 Dan Williams <dcbw@redhat.com>
12990 - Define LOCALSTATEDIR
12992 * src/nm-device-802-11-wireless.c
12993 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
12994 socket where we want it to
12996 * src/wpa_ctrl.[ch]
12997 - (wpa_ctrl_open): accept location to put local control socket
12999 2006-01-30 Robert Love <rml@novell.com>
13001 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13002 get_ip4_string() for "domain_name".
13004 2006-01-30 Robert Love <rml@novell.com>
13006 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13007 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13008 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13009 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13010 support for "Automatic" pairwise and group cipher configuration by
13011 letting wpa_supplicant handle the details. Add UI elements, new
13012 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
13013 charm. Note this does more than add a nice feature, it fixes a bug.
13014 Apparently, some people have AP's where the pairwise cipher does not
13015 match the group cipher. Insane, but true.
13017 2006-01-30 Dan Williams <dcbw@redhat.com>
13019 * gnome/applet/applet-dbus-devices.c
13020 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13021 functions, grab device driver name from NetworkManager
13022 - (nmwa_dbus_device_properties_cb): call functions to get driver
13024 * gnome/applet/applet.c
13025 - (nmwa_update_info): show driver name in Connection Information
13028 * gnome/applet/nm-device.[ch]
13029 - (network_device_get_driver, network_device_set_driver): add
13030 accessors for driver name
13032 * gnome/applet/wireless-applet.glade
13033 - Add line for driver name to Connection Information dialog
13035 * src/nm-dbus-device.c
13036 - (nm_dbus_device_get_driver): new function to return driver name
13037 - (nm_dbus_device_methods): hook up driver name function to dbus
13040 - (get_driver_name): new function
13041 - (detail_device): grab and show driver name
13043 2006-01-30 Robert Love <rml@novell.com>
13045 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13046 does not parse the markup if it is not part of the format.
13048 2006-01-30 Robert Love <rml@novell.com>
13050 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13051 FALSE, we have no security options for this dialog, so we throw up
13052 an error dialog instead of a broken passphrase dialog. Fixes
13054 * gnome/applet/wireless-security-manager.c,
13055 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13056 does not add any security options, not even NONE, print a warning
13057 and return FALSE. This let's functions constructing a dialog bail
13058 out if the device's capabilities and the network's requirements have
13061 2006-01-27 Robert Love <rml@novell.com>
13063 * configure.in: Require wpa_supplicant. Detect location of binary and
13064 use it. Override with "--with-wpa_supplicant=foo".
13065 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13066 path to wpa_supplicant but use the auto-detected or user-provided
13067 value from configure.
13069 2006-01-27 Robert Love <rml@novell.com>
13071 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13072 but the DHCP server did not return a hostname, try to look up our
13073 name via DNS and set the system hostname to that.
13075 2006-01-27 Dan Williams <dcbw@redhat.com>
13077 * src/backends/NetworkManagerRedHat.c
13078 - Add NM_CONTROLLED system network script support for RH/Fedora
13080 2006-01-27 Dan Williams <dcbw@redhat.com>
13082 * src/backends/NetworkManagerGentoo.c
13083 - (nm_system_device_get_disabled): add missing function.
13086 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
13088 * configure.in: Added vi in ALL_LINGUAS line.
13090 2006-01-26 Robert Love <rml@novell.com>
13092 * src/Makefile.am, src/kernel-types.h: Now that two different source
13093 files are feeling the crack-addled leakage of kernel types such as
13094 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13095 types in user-space -- define a header and include it as needed.
13096 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13097 * src/nm-device-802-3-ethernet.h: Remove defines.
13098 * src/wpa.c: Remove defines and include kernel-types.h.
13100 2006-01-26 Robert Love <rml@novell.com>
13102 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13105 2006-01-26 Robert Love <rml@novell.com>
13107 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13108 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13109 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13110 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13111 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13112 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13113 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13114 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13115 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13116 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13117 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13118 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13119 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13120 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13121 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13122 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13123 Kill unused variables, labels, and static functions. Don't pass
13124 string literals as the format string for printf-like functions.
13126 2006-01-25 Dan Williams <dcbw@redhat.com>
13128 * gnome/applet/wireless-applet.glade
13129 - Remove WPA2 Checkbox
13131 * gnome/applet/wireless-security-manager.c
13132 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13133 This means the Wireless Security menu now has two WPA options,
13134 one for "WPA Personal" and one for "WPA2 Personal"
13136 * gnome/applet/wso-wpa-psk.[ch]
13137 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13138 'wpa2' argument to determine WPA version to use
13139 - (append_dbus_params_func): pass stored WPA version to cipher
13140 rather than using the (removed) checkbox
13142 2006-01-24 Robert Love <rml@novell.com>
13144 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13145 before we g_strdup(), not the ultimate string.
13147 2006-01-23 Dan Williams <dcbw@redhat.com>
13149 * src/NetworkManagerAP.[ch]
13150 - (nm_ap_new_from_ap): copy original essid too
13151 - (nm_ap_unref): free original essid
13152 - (nm_ap_get_orig_essid): new function
13153 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13154 but keep original essid around too
13156 * src/nm-device-802-11-wireless.c
13157 - (supplicant_send_network_config): send wpa_supplicant the
13158 _original_ essid, and not as a string, but in hex. Should
13159 allow us to connect to more APs that use wierd character
13160 encodings for their essids
13162 * utils/nm-utils.[ch]
13163 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13164 to UTF-8. If it's not already valid UTF-8, we check LANG and
13165 use the current locale as a hint for what encoding the essid
13166 might be in. Obviously not 100% accurate, but the idea here is
13167 that if a user's locale is ex. ja_JP, they are more likely than
13168 not to be in Japan, where access points will likely be in some
13171 2006-01-23 Dan Williams <dcbw@redhat.com>
13173 * libnm-util/cipher-private.h
13174 libnm-util/cipher.c
13175 libnm-util/cipher.h
13176 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13178 2006-01-23 Robert Love <rml@novell.com>
13180 Patch by Timo Hoenig <thoenig@suse.de>:
13181 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13182 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13183 by DHCP and pass it to the backends, allowing distribution-specific
13184 behavior with respect to the DHCP-supplied hostname (if nothing else,
13185 some distributions might not want to set the hostname).
13186 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13187 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13188 Also update our NIS behavior.
13189 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13190 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13191 Add stub functions.
13193 2006-01-23 Robert Love <rml@novell.com>
13195 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13196 gnome-session does autostart. TODO: We need to install this to
13197 $prefix/share/autostart/.
13199 2006-01-22 Dan Williams <dcbw@redhat.com>
13201 * src/NetworkManagerAP.[ch]
13203 src/nm-device-802-11-wireless.c
13204 - Make nm_ap_get_essid return "const char *"
13206 2006-01-22 Dan Williams <dcbw@redhat.com>
13208 * src/NetworkManagerAP.[ch]
13209 - (nm_ap_get_matched, nm_ap_set_matched): remove
13211 * src/NetworkManagerAPList.[ch]
13212 - (nm_ap_list_diff): removed
13213 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13214 deal with access points changing essids on us
13216 * src/nm-device-802-11-wireless.c
13217 - (add_new_ap_to_device_list): move AP dbus signal logic to
13218 src/NetworkManagerAPList.c
13219 - (real_can_interrupt_activation): new function; allow interruption
13220 of device activation if we are waiting for a network key
13222 * src/NetworkManagerPolicy.c
13223 - (nm_policy_device_change_check): allow interruption of currently
13224 activating devices if the device allows it. Previous behavior
13225 would refuse to activate a just-plugged wired device if a
13226 wireless device was waiting for a key.
13228 * src/nm-device.[ch]
13229 - (nm_device_can_interrupt_activation): new function; ask devices
13230 whether their activation can be interrupted
13232 2006-01-20 Robert Love <rml@novell.com>
13234 * Makefile.am, configure.in: Add new man subdirectory.
13235 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13236 man/Makefile.am: Add man pages for NetworkManager and its
13237 crime-solving bumbling buddy, NetworkManagerDispatcher.
13238 * man/.cvsignore: Add.
13239 * initscript/Debian/NetworkManager,
13240 initscript/Gentoo/NetworkManager.in,
13241 initscript/RedHat/NetworkManager.in,
13242 initscript/RedHat/NetworkManagerDispatcher.in,
13243 initscript/SUSE/networkmanager-dispatcher.in,
13244 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13246 2006-01-20 Robert Love <rml@novell.com>
13248 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13249 instead of queuing. This prevents the running of multiple NM
13250 daemons concurrently, which does not work whatsoever and results in
13251 neither daemon working correctly. Also, we don't handle queuing and
13252 name-owner-changes, anyhow.
13254 2006-01-20 Robert Love <rml@novell.com>
13256 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13257 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13260 2006-01-19 Robert Love <rml@novell.com>
13262 * configure.in: Require hal 0.5.0 or later.
13264 2006-01-18 Robert Love <rml@novell.com>
13266 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13267 Allow backends to flag a device (in whatever distro-dependent way
13268 they so desire) as disabled. NM will ignore any such device.
13269 * src/backends/NetworkManagerDebian.c,
13270 src/backends/NetworkManagerRedHat.c,
13271 src/backends/NetworkManagerSlackware.c: Add stub function
13272 nm_system_device_get_disabled() that always returns FALSE (enabled).
13273 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13274 SUSE-specific configuration structure. Fill it in from the
13275 NM_CONTROLLED variable in the system networking scripts. If this var
13276 exists and is "no", we ignore the device.
13278 2006-01-17 Robert Love <rml@novell.com>
13280 * configure.in: Remove 'no' language. Replaced by 'nb', which is
13281 identical for NM. For a full discussion, see the thread at
13282 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13284 2006-01-17 Dan Williams <dcbw@redhat.com>
13287 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13288 function. Fixes crash when wired DHCP fails.
13290 2006-01-16 Robert Love <rml@novell.com>
13292 * src/Makefile.am: Don't install NMLoadModules
13293 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13294 from src/ to test/ as no one uses it anymore. Note that I would be
13295 fine with removing it altogether.
13297 2006-01-16 Robert Love <rml@novell.com>
13299 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13300 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13301 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13302 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13303 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13304 src/nm-netlink-monitor.c: Don't miss any initializers on structure
13305 declarations, ever.
13306 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13307 NM_STATE_DISCONNECTED is zero).
13309 2006-01-16 Robert Love <rml@novell.com>
13311 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
13312 uninitialized parameter and buffer overflow. Novell #143496.
13314 2006-01-16 Dan Williams <dcbw@redhat.com>
13316 Apply the PtP Address bits of a patch from Tim Niemueller
13318 * src/nm-ip4-config.[ch]
13319 - Add ip4_ptp_address member to object
13320 - (nm_ip4_config_copy): copy ptp address too
13321 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13323 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13324 rather than local tunnel ip address
13326 * src/vpn-manager/nm-vpn-service.c
13327 - (print_vpn_config): update for PtP address
13328 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13329 DBusMessageIters in preparation for getting routes from the VPN
13330 service daemons too
13332 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13333 - (send_config_info): update for PtP address, clean up code
13334 - (main): update for PtP address, clean up code, fix typo
13336 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13337 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13339 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13340 - (pptp_ip_up): update for PtP address
13342 * vpn-daemons/pptp/src/nm-pptp-service.c
13343 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13345 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13346 - (print_vpn_config): update for PtP address
13347 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13349 2006-01-16 Dan Williams <dcbw@redhat.com>
13351 * gnome/applet/applet.c
13352 - (nmwa_add_networks_helper): don't indicate an active network
13353 if NM is disconnected or asleep
13355 2006-01-16 Dan Williams <dcbw@redhat.com>
13357 * src/NetworkManagerPolicy.c
13358 - (nm_policy_device_change_check): switch devices if we lose the link
13359 on an ethernet device.
13361 2006-01-16 Dan Williams <dcbw@redhat.com>
13363 * gnome/applet/wso-wpa-psk-hex.[ch]
13364 - Renamed -> wso-wpa-psk.[ch]
13366 * gnome/applet/wso-wpa-psk.[ch]
13369 * gnome/applet/wso-wpa-psk-passphrase.[ch]
13370 - Removed, rolled into wso-wpa-psk.[ch]
13372 * gnome/applet/Makefile.am
13373 - Updated for above changes
13375 * gnome/applet/wireless-applet.glade
13376 - Consolidate WPA-PSK options into one notebook
13377 widget, and make dialogs invisible by default
13378 to fix screen oddities
13380 * gnome/applet/wireless-security-manager.c
13381 - (wsm_set_capabilities): create the new wpa-psk widget rather
13382 than both the old hex & passphrase ones
13384 2006-01-16 Dan Williams <dcbw@redhat.com>
13386 * gnome/applet/other-network-dialog.c
13387 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13389 2006-01-16 Dan Williams <dcbw@redhat.com>
13391 * gnome/applet/applet.c
13392 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13393 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13394 prevention to realize window before trying to get server
13397 * gnome/applet/other-network-dialog.c
13398 - (nmwa_other_network_dialog_run): fix up focus-stealing
13399 prevention to realize window before trying to get server
13402 * gnome/applet/passphrase-dialog.c
13403 - (nmi_passphrase_dialog_new): fix up focus-stealing
13404 prevention to realize window before trying to get server
13407 2006-01-16 Robert Love <rml@novell.com>
13409 Patch from Timo Hoenig <thoenig@suse.de:
13410 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13411 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13412 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13413 libnm-util/dbus-helpers.h: add checks whether headers are used
13414 within a C++ build.
13416 2006-01-16 Dan Williams <dcbw@redhat.com>
13418 * gnome/applet/wireless-security-option.c
13419 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13421 2006-01-16 Dan Williams <dcbw@redhat.com>
13423 * libnm-util/cipher-wpa-psk-passphrase.c
13424 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13425 be 8 - 63 characters inclusive
13427 2006-01-16 Dan Williams <dcbw@redhat.com>
13430 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13432 2006-01-13 Robert Love <rml@novell.com>
13434 Patch by T Sureshkumar <tsureshkuman@novell.com>:
13435 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13436 modules that do not use an interface.
13438 2006-01-13 Dan Williams <dcbw@redhat.com>
13442 - Allow subclasses to implement deactivate_quickly()
13443 - (nm_device_deactivate_quickly): call subclass
13444 deactivate_quickly() methods
13445 - (nm_device_set_active_link): small cleanups, and don't
13446 deactivate the device right away because we risk a deadlock
13447 when called from device thread, waiting for the device
13448 thread to cancel activation
13450 * src/nm-device-802-11-wireless.c
13451 - (real_deactivate_quickly): new function
13452 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13453 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13454 so that we kill the supplicant when we sleep too
13455 - (supplicant_interface_init): work around naive naming attempts of
13456 wpa_ctrl when naming sockets
13458 2006-01-13 Dan Williams <dcbw@redhat.com>
13460 * src/nm-device-802-11-wireless.c
13461 - (supplicant_cleanup): delete old device control sockets too
13462 - (supplicant_get_device_socket_path): new function to consolidate
13463 locations that need a path to a device's control socket
13465 2006-01-12 Robert Love <rml@novell.com>
13467 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13468 description so that the description is unique for each
13469 pair (device,provider). Fixes Novell #142773.
13471 2006-01-12 Dan Williams <dcbw@redhat.com>
13473 * src/nm-device-802-11-wireless.c
13474 - (supplicant_exec): ensure GError is correctly initialized
13475 Reported by Diego González (gnome.org #326708)
13477 2006-01-11 Robert Love <rml@novell.com>
13479 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13480 define if_mii(), open code the same results, and do so without any
13483 2006-01-11 Robert Love <rml@novell.com>
13485 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13486 that wso_foo_new() returned non-NULL. Instead, only append the new
13487 wso to wsm->options if the wso is non-NULL. The crux is that we
13488 assume that the relevant key types are implied by WEP and WPA as
13489 appropriate. To be sure, they should be, but we should not expect
13490 drivers to not be oozing piles of wolf fecal matter.
13492 2006-01-11 Robert Love <rml@novell.com>
13494 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13495 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13496 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13497 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13498 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13499 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13500 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13501 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13502 comparing values within DBL_EPSILON. Also fix shadowed variable
13505 2006-01-11 Dan Williams <dcbw@redhat.com>
13507 Add options for WPA2 and WPA1+CCMP (AES).
13509 * gnome/applet/wireless-applet.glade
13510 - Add UI bits for WPA+CCMP
13512 * gnome/applet/other-network-dialog.c
13513 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13514 and don't allow creation of WPA2 Ad-Hoc networks since
13515 wpa_supplicant doesn't support them
13517 * gnome/applet/wireless-security-manager.c
13518 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13519 on to the specific wireless security option being created
13521 * gnome/applet/wireless-security-option.[ch]
13522 - (wso_wpa_create_key_type_model): new utility function to create
13523 the model required for WPA Key Type combo box
13525 * gnome/applet/wso-private.h
13526 gnome/applet/wireless-security-option.h
13527 - Move private function prototypes into wso-private.h
13529 * gnome/applet/wso-wpa-psk-hex.[ch]
13530 gnome/applet/wso-wpa-psk-passphrase.[ch]
13531 - (append_dbus_params_func): get WPA version from checkbox and pass
13532 it to the dbus serialization helper
13533 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13534 key type combo changes
13535 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13538 * libnm-util/cipher-wpa-psk-hex.c
13539 libnm-util/cipher-wpa-psk-passphrase.c
13540 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13541 new function; allow the cipher to be changed after object creation
13543 * src/nm-ap-security-wpa-psk.c
13544 - (set_description): Do WPA2 descriptions too
13546 * src/nm-ap-security.c
13547 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13549 2006-01-11 Robert Love <rml@novell.com>
13551 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13552 is defined in <linux/mii.h> to return the mii_ioctl_data structure
13553 from the ifreq structure in lieu of an open coded solution. Removes
13554 a life-threatening type-punning.
13555 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13556 types, ever, whatsoever, baby.
13558 2006-01-11 Robert Love <rml@novell.com>
13560 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13561 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13562 assignments to applet->nm_state into a new nmwa_set_state() function
13563 for both cleanliness and to help debugging.
13565 2006-01-10 Robert Love <rml@novell.com>
13567 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
13568 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13569 seconds, exclusive. That is, we want to sleep x seconds such that
13572 2006-01-10 Robert Love <rml@novell.com>
13574 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13575 the attr fields according to the example in the email available at
13576 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13577 Conversely, we do have to free 'name', so we do so, fixing a leak.
13579 2006-01-10 Robert Love <rml@novell.com>
13581 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13582 sure that we close the socket!
13584 2006-01-10 Robert Love <rml@novell.com>
13586 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13587 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13588 src/nm-device.c: Fix a FIXME! Reimplement the function
13589 nm_device_update_hw_address() in device subclass variants,
13590 nm_device_802_3_ethernet_set_address() and
13591 nm_device_802_11_wireless_set_address(), hook them up, and use them.
13592 This fixes the existing bug where MAC addresses are all zeros.
13594 2006-01-10 Robert Love <rml@novell.com>
13596 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13597 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13598 option to give users ability to globally disconnect and put NM to
13599 sleep. This is useful as a 'lockdown mode' for flying, security, and
13602 2006-01-09 Robert Love <rml@novell.com>
13604 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
13605 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13606 User-space does not supply these types, so we have to define them
13607 ourselves. The relevant kernel maintainer refused to accept a patch
13608 switching these headers to the proper C99 types.
13610 2006-01-09 Dan Williams <dcbw@redhat.com>
13612 Apply Robert's 'tray icon redo' patch with fixes
13613 * gnome/applet/applet.c
13614 gnome/applet/applet.h
13615 - Instead of using a menu bar + menu item, simulate menu
13616 behavior using a popup menu. Highlight the area around
13617 the icon more like a menu too, by playing with the
13618 applet's size requisition
13620 2006-01-09 Timo Hoenig <thoenig@suse.de>
13621 * libnm-util/dbus-helpers.c
13622 libnm-util/dbus-helpers.h
13623 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13624 to 'exception_namespace' (:namespace is a keyword in
13627 2006-01-09 Dan Williams <dcbw@redhat.com>
13629 * src/NetworkManagerPolicy.c
13630 - (nm_policy_device_change_check): don't autoswitch away from
13631 Ad-Hoc networks, since there's really no concept of
13635 - (nm_dbus_nm_create_wireless_network): mark created networks
13638 * src/nm-device-802-11-wireless.c
13639 - (real_activation_success_handler): add user-created Ad-Hoc
13640 networks to the device's scan list
13642 2006-01-08 Dan Williams <dcbw@redhat.com>
13644 We now require a patch for wpa_supplicant to support Ad-Hoc
13646 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13648 * src/nm-device-802-11-wireless.c
13649 - (supplicant_send_network_config): turn off wpa_supplicant's
13650 scanning. Fixes Ad-Hoc networks.
13652 2006-01-08 Dan Williams <dcbw@redhat.com>
13654 * src/nm-ap-security.c
13655 src/nm-ap-security.h
13656 - Add a user_created argument to the write_supplicant_config
13659 * src/nm-ap-security-wep.c
13660 src/nm-ap-security-wpa-psk.c
13661 src/nm-device-802-11-wireless.c
13662 - Make Ad-Hoc mode somewhat work, at least write the
13663 correct options to wpa_supplicant
13665 2006-01-08 Dan Williams <dcbw@redhat.com>
13667 * src/nm-device-802-11-wireless.c
13668 - Remove unused code from the old device activation path
13670 2006-01-08 Dan Williams <dcbw@redhat.com>
13672 * libnm-util/dbus-helpers.c
13673 - (nmu_security_serialize_wpa_psk): pass a blank key through
13674 dbus when key == NULL
13676 2006-01-08 Dan Williams <dcbw@redhat.com>
13678 * gnome/applet/nm-gconf-wso-wpa-psk.c
13679 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13680 correct arguments to nmu_security_deserialize_wpa_psk()
13682 * src/nm-ap-security-wpa-psk.c
13683 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13684 arguments to nmu_security_deserialize_wpa_psk()
13686 2006-01-08 Dan Williams <dcbw@redhat.com>
13688 * gnome/applet/wso-wpa-psk-hex.c
13689 gnome/applet/wso-wpa-psk-passphrase.c
13690 - Hook up the append_dbus_params_func() function
13692 2006-01-08 Dan Williams <dcbw@redhat.com>
13694 * src/nm-device-802-11-wireless.c
13695 - (get_wireless_capabilities): correctly detect driver WPA
13698 2006-01-08 Dan Williams <dcbw@redhat.com>
13700 * gnome/applet/Makefile.am
13701 gnome/applet/wso-wpa-psk-hex.c
13702 gnome/applet/wso-wpa-psk-hex.h
13703 - New files, implement WPA-PSK Hex key input
13705 * gnome/applet/wireless-applet.glade
13706 - Change existing wpa-psk stuff to wpa-psk-hex
13707 - Add new widgets for wpa-psk-passphrase
13709 * gnome/applet/wireless-security-manager.c
13710 - (wsm_set_capabilities): enable WPA options
13712 * gnome/applet/wso-wpa-psk-passphrase.c
13713 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13714 for WPA-PSK passphrase
13716 2006-01-08 Dan Williams <dcbw@redhat.com>
13718 * include/NetworkManager.h
13719 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13720 applet/info-daemons
13722 * gnome/applet/passphrase-dialog.c
13723 - Use the constant. Fixes a bug where the arguments to
13724 dbus_message_new_error() were incorrect
13726 * src/nm-dbus-nmi.c
13729 2006-01-07 Dan Williams <dcbw@redhat.com>
13731 * src/nm-device-802-11-wireless.c
13732 - Add a link timeout so we allow the supplicant time to
13733 reassociate if it can, before we deactivate the card
13734 - Fix up link status and link updating so things work better
13736 2006-01-07 Dan Williams <dcbw@redhat.com>
13738 * src/nm-device-802-11-wireless.c
13739 - Switch over to using wpa_supplicant
13740 - Add a timeout of 10s for association of the supplicant
13741 - Start the monitor callback of the supplicant
13743 2006-01-07 Dan Williams <dcbw@redhat.com>
13745 * src/NetworkManagerUtils.c
13746 - (nm_utils_supplicant_request,
13747 nm_utils_supplicant_request_with_check):
13748 pass correct buffer length to wpa_ctrl_request()
13750 2006-01-07 Dan Williams <dcbw@redhat.com>
13752 * src/nm-device-private.h
13754 - (nm_device_activate_schedule_stage3_ip_config_start): make
13755 this function available to subclasses
13757 2006-01-06 Robert Love <rml@novell.com>
13759 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13760 user plugging in a network cable signals their preference for to
13761 switch, unless the user explicitly selected a wireless network and
13762 therefore signaled their preference for said wireless network over
13763 wired. In other words, do exactly what makes sense.
13765 2006-01-06 Robert Love <rml@novell.com>
13767 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13768 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13769 src/NetworkManagerWireless.h: Remove, no longer used and they keep
13770 showing up in my greps.
13772 2006-01-06 Robert Love <rml@novell.com>
13774 * gnome/applet/applet-dbus-devices.c,
13775 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13776 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13777 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
13778 New Network' both failed in the non-encrypted case because we were
13779 not appending the security options to the DBUS message. And
13780 'Connect to Other' was also failing in the encrypted case because
13781 we were not incrementing to the next DBUS parameter. All fixed.
13782 Thanks to dcdw for some debugging help.
13784 2006-01-06 Robert Love <rml@novell.com>
13786 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
13787 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
13788 hangup code and add per-device hangup. Tie last commit into the
13789 GNOME applet. TODO: Save, understand, and respond to the state of
13790 each dialup device.
13792 2006-01-06 Robert Love <rml@novell.com>
13794 Patch by Timo Hoenig <thoenig@suse.de>:
13795 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
13796 hangup specific dialup devices.
13797 * src/backends/NetworkManagerDebian.c,
13798 src/backends/NetworkManagerGentoo.c,
13799 src/backends/NetworkManagerRedHat.c,
13800 src/backends/NetworkManagerSlackware.c: Add stub backend.
13801 * src/backends/NetworkManagerRedHat.c,
13802 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
13803 hangup specific dialup devices.
13805 2006-01-04 Robert Love <rml@novell.com>
13807 * gnome/applet/applet-dbus-devices.c,
13808 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
13809 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
13812 2006-01-04 Dan Williams <dcbw@redhat.com>
13814 First dump of wpa_supplicant-related code. It's not hooked up to
13815 anything yet though. Thanks to Kay Sievers for
13816 wpa_supplicant_wrapper.c, which formed the basis for this work,
13817 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
13821 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
13823 * src/NetworkManagerUtils.[ch]
13824 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
13825 Add convenience functions for talking to wpa_supplicant
13827 * src/nm-ap-security.[ch]
13828 src/nm-ap-security-wep.c
13829 src/nm-ap-security-wpa-psk.[ch]
13830 - Update and implement real_write_supplicant_config functions
13831 in all security types
13832 - (nm_ap_security_wpa_psk_new_from_ap): implement in
13833 nm-ap-security-wpa-psk.c
13835 * src/nm-device-802-11-wireless.c
13836 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
13837 wpa_supplicant_start, wpa_supplicant_interface_init,
13838 wpa_supplicant_send_network_config): add functions to talk to
13839 wpa_supplicant and write network config to it
13841 2006-01-04 Robert Love <rml@novell.com>
13843 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
13844 values so that distribution-backends can differentiate between the
13845 various types (modem, ISDN, et cetera) of dialup device that they
13847 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
13850 2006-01-03 Dan Williams <dcbw@redhat.com>
13852 * src/NetworkManagerPolicy.c
13854 src/nm-device-802-11-wireless.c
13855 - Move wireless-specific activation failure and success code
13856 into wireless device class
13858 2006-01-03 Robert Love <rml@novell.com>
13860 Patch by Preggna S:
13861 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
13862 IPsec does not require that a VPN client be bound to an interface,
13863 due to the use of the in-kernel IPSec bits. So make the tunnel
13866 2006-01-03 Dan Williams <dcbw@redhat.com>
13868 * src/NetworkManagerAP.c
13869 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
13870 the WPA IE specifies that WEP is supported
13872 * src/nm-device-802-11-wireless.c
13873 - (process_scan_results): don't mark an AP as supporting WEP
13874 if there's already other encryption capability info
13876 2006-01-03 Dan Williams <dcbw@redhat.com>
13878 * src/dhcp-manager/nm-dhcp-manager.c
13879 - Recognize activation cancellation when waiting for DHCP
13880 configuration from dhcdbd
13881 - Ignore non-dhcdbd messages
13884 - (real_act_stage3_ip_config_start): return to correct behavior
13885 of letting the dhcp-manager notify us of failure or
13886 success rather than incorrectly doing that ourselves
13887 - (nm_device_activate_stage4_ip_config_get): deal with
13888 activation cancellation a bit earlier
13890 2006-01-03 Dan Williams <dcbw@redhat.com>
13892 * src/nm-device-802-11-wireless.c
13894 - Add hooks to subclasses for stage3_ip_config_start and
13895 stage4_ip_config_timeout
13897 * src/nm-device-802-3-ethernet.c
13898 - (real_get_generic_capabilities): make devices NM-supported
13901 2006-01-03 Robert Love <rml@novell.com>
13903 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
13904 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
13905 latter cannot differentiate between error and the address -1; misc.
13908 2006-01-03 Dan Williams <dcbw@redhat.com>
13910 * src/NetworkManager.c
13911 - Move link-checking/probing into the device subclasses
13914 * src/nm-device.[ch]
13915 src/nm-device-802-11-wireless.c
13916 src/nm-device-802-3-ethernet.c
13917 - Do periodic link checking in device subclasses rather
13918 than being triggered from NetworkManager.c
13919 - discover_wireless_capabilities -> get_wireless_capabilities
13920 - discover_generic_capabilities -> get_generic_capabilities
13921 - Device subclass activation routines now return a value of type
13922 NMActStageReturn to indicate what step to perform next
13923 - Devices now override stage4_get_ip4_config if they choose
13925 2006-01-01 Dan Williams <dcbw@redhat.com>
13927 * src/nm-device-802-11-wireless.c
13928 - (real_init): don't chain up to parent init because we don't
13929 need to do that anymore
13932 - (discover_device_type): fix arguments to ioctl() to correctly
13933 pass interface name
13934 - (nm_device_new): consolidate generic device initialization into
13936 - (real_init): remove, consolidated to nm_device_new()
13937 - (nm_device_deactivate, real_deactivate): consolidate
13939 2006-01-01 Dan Williams <dcbw@redhat.com>
13941 * src/nm-activation-request.c
13942 - Change dhcp_state member of the NMActRequest structure
13943 from guint8 to guint32
13945 * src/dhcp-manager/nm-dhcp-manager.[ch]
13946 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
13947 than guint8 to match the dbus argument. Turns out we were
13948 overwriting memory since we were passing in only a guint8
13950 2005-12-31 Dan Williams <dcbw@redhat.com>
13952 * refactor NMDevice into a GObject-based framework with separate
13953 objects for wired and wireless. The following files are no
13954 longer used but should stick around for a bit so we don't
13955 loose code through the cracks:
13956 NetworkManagerDevice.c
13957 NetworkManagerDevice.h
13958 NetworkManagerWireless.c
13959 NetworkManagerWireless.h
13961 The intent here is to allow each device type to manage its own
13962 connection & activation life-cycle, ie to allow wireless devices
13963 to interface with wpa_supplicant, etc. There's a fair bit of
13964 encapsulation breakage right now that should gradually get pulled
13965 back into each device, along with things like periodic property
13966 updates and link probing.
13968 2005-12-29 Dan Williams <dcbw@redhat.com>
13970 * include/NetworkManager.h
13971 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
13972 between networks that don't have any encryption at all
13974 2005-12-29 Dan Williams <dcbw@redhat.com>
13976 * test/test-common.c
13979 - Move to a test-common subdirectory
13981 * test/libnm-util/test-ciphers.c
13982 - Move test data to test-inputs.h
13983 - Test WPA ciphers too
13985 * test/libnm-util/test-dbus-helpers.c
13986 - Test serialization/deserialization of ciphers
13988 2005-12-29 Dan Williams <dcbw@redhat.com>
13990 * gnome/applet/applet-dbus-devices.c
13991 - Replace 'enc' parameter with 'capabilities' for wireless networks
13992 in dbus calls to NM
13993 - Set capabilities on WirelessNetwork objects
13994 - Receive and save type-specific device capabilities too
13996 * gnome/applet/applet-dbus-info.c
13997 gnome/applet/applet-dbus.c
13998 - Passphrase dialog no longer a singleton; new instance gets created
13999 on each request. Updates to deal with that.
14001 * gnome/applet/applet.c
14002 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14003 than single 'encrypted' flag
14004 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14006 - Passphrase dialog updates per above
14008 * gnome/applet/menu-items.c
14009 - (network_menu_item_update): use AP capabilities to determine
14012 * gnome/applet/nm-device.[ch]
14013 - Add accessors for type-specific device capabilities
14015 * gnome/applet/other-network-dialog.c
14016 - Rework to respect device capabilities. i.e., if the device doesn't
14017 support WPA, remove that option from the security dropdown
14019 * gnome/applet/passphrase-dialog.c
14020 - Massive rework so that a new instance is created each time
14021 it's used, to support wireless network capabilities
14023 * gnome/applet/wireless-network.[ch]
14024 - Add accessors and members for wireless network capabilities
14026 * gnome/applet/wireless-security-manager.[ch]
14027 - (wsm_set_capabilities): called after creation to set which
14028 security options get shown to the user
14030 2005-12-29 Dan Williams <dcbw@redhat.com>
14032 * libnm-util/cipher-wpa-psk-passphrase.c
14033 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14036 2005-12-23 Dan Williams <dcbw@redhat.com>
14038 * gnome/applet/applet-dbus-info.c
14039 - (nmi_dbus_get_key_for_network): if there's no entry in
14040 GConf for a network, assume we want a new key
14041 - (nmi_save_network_info): serialize wireless security info
14042 into GConf so its saved
14045 - Fix warning as we may not be passed security info when
14046 connecting to a wireless network
14048 2005-12-23 Dan Williams <dcbw@redhat.com>
14050 * gnome/applet/applet-compat.c
14051 - Fix bugs in GConf entry conversion
14053 * gnome/applet/applet-dbus-info.c
14054 - (nmi_dbus_get_network_properties): handle case of the BSSID
14055 list being zero-length
14057 * libnm-util/cipher-*
14058 libnm-util/dbus-helpers.c
14059 - All ciphers must now return hashed keys as UTF-8 valid
14060 hexadecimal strings, ie "8f3dae4023". They are pushed
14061 through dbus as strings too.
14062 - Consolidate various functions that do bin->hex and hex->bin
14063 conversion into cipher.c
14065 * src/nm-ap-security-wep.c
14066 src/nm-ap-security-wpa-psk.c
14067 - Handle NULL keys since we may not know keys right away
14069 * src/nm-dbus-nmi.c
14070 - (nm_dbus_get_network_data_cb): actually advance to the start
14071 of the wireless security info before we try to deserialize it
14073 * libnm-util/test-ciphers.c
14074 - Update cipher tests for the change to UTF-8 hexadecimal strings
14076 2005-12-22 Dan Williams <dcbw@redhat.com>
14078 * gnome/applet/applet-compat.[ch]
14079 - Convert old-format GConf and keyring entries
14080 when the applet starts up.
14082 * gnome/applet/applet.c
14083 - (nmwa_get_instance): Call the conversion function
14084 on startup before dbus is initialized
14086 2005-12-22 Dan Williams <dcbw@redhat.com>
14088 * gnome/applet/applet-dbus-info.c
14089 - Remove nmi_dbus_create_error_message() in favor of
14090 nmu_create_dbus_error_message()
14091 - (nmi_dbus_get_network_properties): Error message cleanups
14092 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14093 gconf key rather than 'addresses', since they really are BSSIDs
14094 - (nmi_dbus_get_network_properties): Dispose of the security
14095 object when we're done with it
14097 2005-12-21 Dan Williams <dcbw@redhat.com>
14099 * Consolidate the info-daemon's "updateNetworkInfo" and
14100 "addNetworkAddress" calls into just "updateNetworkInfo"
14102 2005-12-21 Dan Williams <dcbw@redhat.com>
14104 * Make connection after key retrieval work again
14106 2005-12-21 Dan Williams <dcbw@redhat.com>
14108 * gnome/applet/nm-gconf-wso*
14109 - Make the serialize functions return gboolean
14112 * gnome/applet/nm-gconf-wso.c
14113 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14114 parent class handling so we don't segfault
14116 * src/NetworkManagerAP.[ch]
14117 - (nm_ap_get_capabilities): new function, return capabilities
14118 now that something can use them
14119 - (nm_ap_set_encrypted): assume that an access point supports
14120 both WEP104 and WEP40 if its set encrypted. FIXME: can
14121 we even tell whether it just supports WEP40?
14123 * src/NetworkManagerDevice.c
14124 - (ap_need_key): resurrect and update for the New World Order
14125 - (nm_device_wireless_get_activation_ap): if we're not given
14126 security info to use, create some based on access point
14129 * src/nm-ap-security-wep.c
14130 - (nm_ap_security_wep_new_from_ap): create a new object
14131 based on a certain access point's capabilities
14133 * src/nm-ap-security.c
14134 - (nm_ap_security_new_from_ap): delegate creation of a new
14135 object based on access point capabilities to a subclass
14136 - (nm_ap_security_copy_properties): don't segfault if we
14137 don't have a key yet
14140 - (nm_dbus_nm_set_active_device): provide more informative
14141 output when errors occur. Also construct security info
14142 for a given access point if we weren't given any
14144 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14146 * configure.in: Added Lithuanian to ALL_LINGUAS.
14148 2005-12-21 Dan Williams <dcbw@redhat.com>
14151 - Add some testcases for WEP ciphers
14153 2005-12-17 Dan Williams <dcbw@redhat.com>
14157 2005-12-17 Dan Williams <dcbw@redhat.com>
14159 * include/NetworkManager.h
14160 - Finally kill NMEncKeyType
14162 * gnome/applet/applet-dbus-info.c
14163 - (nmi_save_network_info): convert to NMGConfWSO
14165 * gnome/applet/nm-gconf-wso-*.c
14166 - Implement gconf serialization functions
14168 * src/NetworkManagerPolicy.c
14169 - (nm_policy_activation_finish): fix up meaning of
14170 automatic/user_requested
14172 2005-12-17 Dan Williams <dcbw@redhat.com>
14175 - More applet cleanups
14176 - Use the dbus-method-dispatcher
14178 * libnm-util/dbus-method-dispatcher.[ch]
14179 - Generalize the implementation from NM in
14180 NetworkManagerUtils.c
14182 2005-12-16 Dan Williams <dcbw@redhat.com>
14185 - Fix up the passphrase dialog to use all the
14186 WirelessSecurityOption stuff (untested)
14188 2005-12-16 Dan Williams <dcbw@redhat.com>
14190 * Move nm_gconf_get_*_helper() functions to separate files,
14191 gconf-helpers.c & gconf-helpers.h
14193 * New NMGConfWSO objects for managing the gconf side of things.
14194 Eventually these should be merged with the
14195 WirelessSecurityOption objects and a common base (that can
14196 serialize/deserialize from dbus & gconf) should be
14197 refactored out, but for now they are separate.
14199 2005-12-16 Robert Love <rml@novell.com>
14201 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14202 binaries unless they exist (nm_spawn_process() emits a warning if
14203 asked to spawn a non-existant process).
14205 2005-12-16 Dan Williams <dcbw@redhat.com>
14207 * gnome/applet/applet-dbus-info.c
14208 - Clean up lots of gconf-related code
14210 2005-12-16 Robert Love <rml@novell.com>
14212 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14214 2005-12-16 Dan Williams <dcbw@redhat.com>
14216 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14218 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14219 bits still to be done)
14221 2005-12-16 Dan Williams <dcbw@redhat.com>
14223 * Finally move info-daemon related stuff out of
14224 NetworkManagerDbus.c to nm-dbus-nmi.c
14226 2005-12-16 Dan Williams <dcbw@redhat.com>
14228 * Kill auth_method for access points, since that's now done
14229 by NMAPSecurity objects
14231 * Add a copy-constructor of sorts to NMAPSecurity
14232 (how do you do this properly in glib???)
14234 2005-12-15 Dan Williams <dcbw@redhat.com>
14236 * Exorcise encryption key hashing on APs
14237 * Use libnm-util's serialization/deserialization in both the
14239 * Random other stuff
14241 2005-12-15 Robert Love <rml@novell.com>
14243 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14244 is being added to the icon naming spec, so let's use that (Tango CVS
14245 has the icon). Because it is new, however, we fall back to the
14246 current "gnome-lockscreen" if the new icon is not around, thus
14247 behavior is the same.
14248 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
14251 2005-12-15 Robert Love <rml@novell.com>
14253 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14254 well, help to give. Couple other misc. bits.
14256 2005-12-15 Dan Williams <dcbw@redhat.com>
14258 * libnm-util/dbus-helpers.[ch]
14259 - Make this the one-stop-shop for serializing/deserializing
14260 AP & connection security settings over dbus. Both NM
14261 and applets should use this to ensure consistent dbus
14262 API going forwared.
14264 2005-12-15 Robert Love <rml@novell.com>
14266 Patch by Timo Hoenig <thoenig@suse.de>:
14267 * src/NetworkManagerDbus.c
14268 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14269 if HAL jumps off the system bus. Otherwise libdbus
14270 (dbus_connection_dispatch) will try to run the filter
14271 function of our libhal context which is already freed.
14273 2005-12-15 Alexander Shopov <ash@contact.bg>
14275 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14277 2005-12-14 Dan Williams <dcbw@redhat.com>
14279 * include/NetworkManager.h
14280 src/NetworkManagerWireless.c
14281 - Rearrange 802.11 wireless-specific capabilities again
14284 - Forgot to add wpa.c/wpa.h to the makefiles
14286 * src/NetworkManagerAP.[ch]
14287 - Implement access point capabilities and parse the
14288 WPA/RSN IEs into the capability bitfield
14289 - Switch the "encrypted" attribute to utilize the bitfield
14290 and capabilities rather than being independent
14292 * src/NetworkManagerDevice.c
14293 - (nm_device_wireless_get_activation_ap): break it horribly
14294 until we can push NMAPSecurity objects into access point
14295 objects and through the activation chain
14296 - Stuff WPA & RSN IEs into AP capabilities
14299 - Take a shot at actually making setActiveDevice work
14302 - Make the API a bit saner
14304 2005-12-14 Dan Williams <dcbw@redhat.com>
14306 * include/NetworkManager.h
14307 - Add 802.11-specific capability for 802.1x key
14311 - Pull in WPA IE and RSN IE parsing code from
14312 wpa_supplicant so we can determine access point
14314 - Move WPA-related constants here from NetworkManagerAP.h
14315 and NetworkManagerDevice.c
14317 * src/NetworkManagerDevice.c
14318 src/NetworkManagerAP.[ch]
14319 - Use WPA-related constants from wpa.h
14321 2005-12-14 Dan Williams <dcbw@redhat.com>
14323 * include/NetworkManager.h
14324 - Update and split 802.11 wireless-specific capabilities from
14325 generic device capabilities
14327 * src/NetworkManagerDevice.c
14328 src/NetworkManagerDevicePrivate.h
14329 - (nm_device_wireless_discover_capabilities): Move 802.11
14330 wireless-specific capability checks to
14331 NetworkManagerWireless.c
14332 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14333 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14335 * src/NetworkManagerWireless.[ch]
14336 - (nm_802_11_wireless_discover_capabilities): Check extended
14337 802.11 wireless-specific capabilities of the driver
14339 2005-12-14 Robert Love <rml@novell.com>
14341 Patch from Stefan Scheler <sscheler@suse.de>:
14342 * src/NetworkManagerDevice.c: call backend code to activate and
14344 * src/NetworkManagerSystem.h: add new NIS interfaces.
14345 * src/backends/NetworkManagerDebian.c,
14346 src/backends/NetworkManagerGentoo.c,
14347 src/backends/NetworkManagerRedHat.c,
14348 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14350 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14352 2005-12-14 Dan Williams <dcbw@redhat.com>
14354 * src/nm-ap-security*.[ch]
14355 - Add AP security abstractions to NetworkManager
14357 * src/nm-dbus-device.c
14358 - Begin to parse new format dbus messages from the applet
14359 and construct an AP security object from the message
14361 * libnm-util/dbus-helpers.c
14362 - Use message iters so we can append the key as a fixed
14363 array of bytes, which actually works rather than
14364 using dbus_message_append_args() as we were before
14366 2005-12-14 Dan Williams <dcbw@redhat.com>
14368 * src/NetworkManagerDbus.c
14369 gnome/applet/applet-dbus.c
14370 - Fix up dbus service replacement options. The applet
14371 should allow replacement, NM itself should not.
14373 2005-12-13 Robert Love <rml@novell.com>
14375 * src/named-manager/nm-named-manager.c: Revert earlier commit.
14376 Instead, fail silently if config is NULL by not asserting and not
14377 returning FALSE. Also, make sure we always fclose() the file.
14379 2005-12-13 Robert Love <rml@novell.com>
14381 Patch by Stefan Scheler <sscheler@suse.de>:
14382 * src/nm-ip4-config.h, src/nm-ip4-config.c,
14383 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14384 via DHCP. Still need the backends to commit the NIS domain name and
14385 and servers to yp.conf as needed.
14387 2005-12-13 Robert Love <rml@novell.com>
14389 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14390 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14392 2005-12-13 Robert Love <rml@novell.com>
14394 * src/named-manager/nm-named-manager.c: Don't unref the config until
14395 after we call rewrite_resolv_conf(), because get_last_default_domain()
14396 needs to access the config. Fixes "rewrite_resolv_conf: assertion
14397 `config != NULL' failed" assertion failures and "Could not commit DNS
14400 2005-12-12 Dan Williams <dcbw@redhat.com>
14402 * libnm-util/dbus-helpers.[ch]
14403 libnm-util/Makefile.am
14404 - new helper calls to consolidate locations where
14405 NM's setDevice method is called
14407 * gnome/applet/applet-dbus-devices.c
14408 gnome/applet/wireless-security-option.c
14410 - Implement dbus message param append function for
14411 all wireless security options
14413 2005-12-12 Robert Love <rml@novell.com>
14415 * libnm-util/cipher-wep-passphrase.c,
14416 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14417 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14418 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14419 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14420 When handling keys, we don't care what the sign is. The compiler
14421 guarantees us that we get our 8-bits, which is all we care about.
14422 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
14424 2005-12-12 Dan Williams <dcbw@redhat.com>
14426 * gnome/applet/applet-dbus-devices.[ch]
14427 gnome/applet/applet.c
14428 gnome/applet/other-network-dialog.c
14429 gnome/applet/wireless-security-manager.[ch]
14430 gnome/applet/wireless-security-option.[ch]
14432 - Push the wireless security options further into the applet
14434 2005-12-12 Robert Love <rml@novell.com>
14436 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14437 return any name servers. That is perfectly valid. (Novell #134369).
14439 2005-12-11 Dan Williams <dcbw@redhat.com>
14441 * gnome/applet/wso-*
14442 gnome/applet/wireless-security-option.*
14443 gnome/applet/Makefile.am
14444 - split each security option out so we can eventually
14445 have each one build up their own dbus message
14446 arguments to send to NM
14448 2005-12-11 Dan Williams <dcbw@redhat.com>
14450 * Make validation of the key work correctly
14452 2005-12-11 Dan Williams <dcbw@redhat.com>
14454 * Hook more bits of the Other Network Dialog up to the
14455 wireless security manager stuff, and restructure
14456 bits of the dialog so there's less code.
14458 2005-12-10 Dan Williams <dcbw@redhat.com>
14460 * gnome/applet/Makefile.am
14461 - Add libnm-util to includes
14462 - Add libnm-util to link list
14463 - Add wireless-security-common.* to compile list
14465 * gnome/applet/other-network-dialog.c
14466 - Convert to using the WirelessSecurityManager code and
14469 * gnome/applet/passphrase-dialog.c
14470 - Comment out references to stuff in the glade file that
14471 cause runtime errors until it can be fixed up
14472 to use the WirelessSecurityManager code
14474 * gnome/applet/wireless-applet.glade
14475 - Rename some widgets
14476 - Add widgets for the WirelessSecurityManager code
14477 - Remove passphrase-related stuff since that's now
14478 handled by the WirelessSecurityManager code
14480 2005-12-10 Dan Williams <dcbw@redhat.com>
14482 * gnome/applet/applet-dbus-devices.c
14483 - Print out error message details for dbus pending call callbacks
14484 - Move nmwa_dbus_update_devices() up
14486 * gnome/applet/applet-dbus-vpn.c
14487 - Print out error message details for dbus pending call callbacks
14489 2005-12-10 Dan Williams <dcbw@redhat.com>
14493 - Remove cipher-manager.* because we don't need it
14494 - Forgot to add gnome-keyring-md5 files to compile list
14496 2005-12-09 Dan Williams <dcbw@redhat.com>
14501 - Add a utility library for clients of NetworkManager. It's
14502 only targetted at applets for the moment, and contains
14503 a generalized 802.11 cipher framework for different
14504 types of keys (WEP & WPA Hex, ASCII, Passphrase)
14506 2005-12-09 Robert Love <rml@novell.com>
14508 * src/NetworkManagerDevice.c: handle error better in
14509 nm_device_set_mode().
14511 2005-12-08 Robert Love <rml@novell.com>
14513 * include/NetworkManager.h: add WPA capabilities constants
14514 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14515 or WPA2 and add the capabilities bits as appropriate.
14517 2005-12-08 Robert Love <rml@novell.com>
14519 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14520 NetworkManagerDispatcher.
14521 * configure.in, initscript/SUSE/.cvsignore,
14522 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14525 2005-12-08 Robert Love <rml@novell.com>
14527 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14529 2005-12-08 Robert Love <rml@novell.com>
14531 * src/NetworkManagerDevice.c: We want to fall back on and default to
14532 IW_MODE_AUTO, not -1, which is more in line with our previous
14533 behavior. Otherwise, we try to set the wireless mode to -1 in
14534 nm_device_set_mode().
14536 2005-12-07 Robert Love <rml@novell.com>
14538 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14539 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14540 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14541 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14542 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14543 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
14546 2005-12-07 Robert Love <rml@novell.com>
14548 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14549 supplied IP is invalid, fall back to DHCP.
14551 2005-12-07 Dan Williams <dcbw@redhat.com>
14553 * Convert NETWORK_MODE_* constants to IW_MODE_*
14554 * Make all the get_mode/set_mode functions take and return 'int'
14555 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14557 2005-12-07 Robert Love <rml@novell.com>
14559 * src/NetworkManagerDevice.c: strncpy() buffer check.
14560 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14562 2005-12-06 Dan Williams <dcbw@redhat.com>
14564 * gnome/applet/applet-dbus.c
14565 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14567 * gnome/applet/applet-dbus-vpn.c
14568 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14569 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14570 to TRUE here if stage was ACTIVATED
14572 2005-12-06 Dan Williams <dcbw@redhat.com>
14574 * Change nm_device_is_* functions to better names:
14575 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14576 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14578 2005-12-06 Dan Williams <dcbw@redhat.com>
14580 * Change naming of NMDeviceType to something more sensible:
14581 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14582 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14583 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14585 2005-12-06 Dan Williams <dcbw@redhat.com>
14587 * Move NetworkManager.h -> include/NetworkManager.h
14588 * Split out VPN stuff into include/NetworkManagerVPN.h
14589 * Fix up makefiles to include new location
14590 * Fix up sources to include NetworkManagerVPN.h
14592 2005-12-06 Dan Williams <dcbw@redhat.com>
14594 Various changes in the applet to move VPN connection "state" -> "stage",
14595 which it actually is. I'd like to change the signal as well when we
14596 break compat in the near future.
14598 2005-12-06 Dan Williams <dcbw@redhat.com>
14600 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14601 * initscript/Slackware/rc.networkmanager
14604 * src/backends/NetworkManagerSlackware.c
14605 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14608 2005-12-05 Robert Love <rml@novell.com>
14610 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14611 to free, particularly here as it just barfs.
14613 2005-12-05 Dan Williams <dcbw@redhat.com>
14615 * gnome/applet/applet-dbus.c
14616 - Work with dbus 0.6 too
14618 2005-12-03 Dan Williams <dcbw@redhat.com>
14620 * src/NetworkManagerUtils.[ch]
14621 src/nm-ip4-config.c
14622 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14623 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14625 2005-12-01 Robert Love <rml@novell.com>
14627 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14628 need a NULL for the '...' parameter, too, to fill the so-called
14631 2005-12-01 Robert Love <rml@novell.com>
14633 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14634 interface is already gone, so don't call rtnl_link_change() to down
14635 it (which will segfault, anyhow).
14637 2005-11-22 Robert Love <rml@novell.com>
14639 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14640 gateway is not set, just print a little note. Configurations without
14641 gateways are valid.
14643 2005-11-22 Robert Love <rml@novell.com>
14647 2005-11-20 Ilkka Tuohela <hile@iki.fi>
14649 * configure.in: Added Finnish translation to ALL_LINGUAS
14651 2005-11-14 Robert Love <rml@novell.com>
14653 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14654 Niemueller <tim@niemueller.de>.
14656 2005-11-08 Dan Williams <dcbw@redhat.com>
14658 Patch from Bill Moss <bmoss@clemson.edu>
14659 * src/NetworkManagerDevice.c
14660 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14661 of nm_policy_schedule_activation_finish() to prevent a
14662 race condition that causes the link to be dropped
14664 2005-11-08 Dan Williams <dcbw@redhat.com>
14666 Patch from Bill Moss <bmoss@clemson.edu>
14667 * src/NetworkManagerAPList.c
14668 src/NetworkManagerDevice.c
14669 src/NetworkManagerDbus.c
14670 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14671 we get more readable ether/mac addresses
14673 2005-11-02 Christopher Aillon <caillon@redhat.com>
14675 * gnome/applet/main.c: Don't set the restart command. This fixes
14676 the issue where the restart command was getting copies of all its
14677 arguments for each time the applet was restarted.
14679 2005-11-02 Robert Love <rml@novell.com>
14681 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14682 if the widget state differs from our saved state. This ensures we
14683 do not enter an endless loop of death and destruction. Also, this
14684 guarantees us that we enforce the widget state.
14686 2005-11-02 Robert Love <rml@novell.com>
14688 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14689 * gnome/applet/applet-dbus-devices.c: invoke the new function
14690 nmwa_enable_wireless_set_active() to ensure that the state of the
14691 'Enable Wireless' checkbox matches the daemon's state. This is a
14692 concern because the daemon remembers the state.
14694 2005-11-02 Robert Love <rml@novell.com>
14696 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14697 Enabled", as checkboxes should be actions/commands not positive
14698 statements, otherwise they are confusing in the unselected case. See
14699 examples in GNOME HIG, Chapter 6.
14701 2005-11-02 Robert Love <rml@novell.com>
14703 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
14704 show a list of wireless networks or the wireless devices or the
14705 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
14706 a bad bug: If wireless is disabled and the user picks a wireless
14707 network, NM will switch to the network, only to immediately switch
14708 back, as wireless is disabled. This also reassures people that NM
14709 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
14711 2005-11-02 Christopher Aillon <caillon@redhat.com>
14713 * gnome/applet/applet.c:
14714 * gnome/applet/applet.h:
14715 Partial backout of Dan's timeout animation patch.
14716 Timeout IDs cannot legally be 0, so revert the code in place to handle
14717 a timeout ID of 0 to denote the timeout isn't running.
14719 2005-11-02 Christopher Aillon <caillon@redhat.com>
14721 * src/NetworkManagerPolicy.c:
14722 (nm_policy_device_change_check) Clarify wireless switch nm_info text
14724 2005-10-28 Robert Love <rml@novell.com>
14726 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14727 "Import Saved Configuration..." to make it clear that importing is
14728 not the next step, but an option. As an aside, a nice TODO would be
14729 to move Importing out of the vpn-specific dialog and into the main
14730 property editor, as Importing goes with Adding, but that will require
14731 some rearchitecting of the VPN stuff I suspect.
14733 2005-10-27 Dan Williams <dcbw@redhat.com>
14735 Start using libnl. You need 1.0-pre3 or higher. Eventually
14736 we should replace most of the distro-specific backend code
14739 Get it here: http://people.suug.ch/~tgr/libnl/
14743 - Add checks for libnl pkgconfig file
14744 - Use LIBNL_LIBS & LIBNL_CFLAGS
14746 * src/NetworkManagerSystem.c
14747 src/nm-ip4-config.[ch]
14748 - Use libnl rather than ioctl() for most things
14749 - Remove unused functions
14751 2005-10-27 Robert Love <rml@novell.com>
14753 * src/backends/NetworkManagerSuSE.c: fix warning message text
14755 2005-10-27 Christopher Aillon <caillon@redhat.com>
14757 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14759 2005-10-27 Christopher Aillon <caillon@redhat.com>
14761 * gnome/applet/applet.c: The applet's about dialog can advertise our
14762 project page <http://www.gnome.org/projects/NetworkManager/>
14764 2005-10-26 Christopher Aillon <caillon@redhat.com>
14766 * gnome/applet.c: Also use translator credits if we don't have
14767 the new GtkAboutDialog (older versions of GTK+)
14769 2005-10-26 Robert Love <rml@novell.com>
14771 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14772 failure; correct usage text for "--no-daemon"
14774 2005-10-25 Dan Williams <dcbw@redhat.com>
14776 * src/NetworkManagerDevice.c
14777 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14779 - (free_process_scan_cb_data): unref the device when freeing results
14780 - (nm_device_wireless_process_scan_results): free scan results a bit later
14781 so we don't unref the device underneath ourselves
14783 2005-10-25 Dan Williams <dcbw@redhat.com>
14785 * Back out 2005-10-24 commit from Tor Krill. Patch
14786 causes nameservers never to be removed from named.
14788 2005-10-24 Dan Williams <dcbw@redhat.com>
14790 Clean up wireless scanning and wireless link probing.
14792 * src/NetworkManagerDevice.c
14793 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
14794 just see if there's an activation request on the device, and check the
14795 current link against the activation request access point's ESSID.
14796 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
14797 - (nm_device_wireless_process_scan_results): actually free our scan data, and
14798 don't call process_scan_results() on zero-length data
14799 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
14800 15 seconds (from 10)
14802 2005-10-24 Dan Williams <dcbw@redhat.com>
14804 Cleanup some applet stuff:
14806 - Animation timeouts. If NM died while the applet was animating,
14807 the applet would not hide itself. This is now fixed.
14809 - Remove some dead code
14811 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
14812 to nmi_passphrase_dialog_cancel() since we no longer use threads.
14814 - Track animation timeout using a gboolean rather than the timeout's
14815 ID, since timeout IDs can legally be 0.
14817 2005-10-24 Dan Williams <dcbw@redhat.com>
14819 * src/backends/interface_parser.c
14820 - Add void to function declarations that need it
14821 to match patch from Engin AYDOGAN
14823 * src/backends/interface_parser.h
14824 - Remove unused prototype for ifparser_interfaces()
14826 Patch from Engin AYDOGAN <engin@bzzzt.biz>
14827 * src/backends/interface_parser.h:
14828 - Compile fixes for gcc 4.0.2 (add void)
14830 2005-10-24 Dan Williams <dcbw@redhat.com>
14832 Patch from Tor Krill <tor@krill.nu>
14833 * src/named-manager/nm-named-manager.c
14834 - Write more than just the first nameserver to /etc/resolv.conf
14835 - Write out valid /etc/resolv.conf on exit
14837 2005-10-21 Christopher Aillon <caillon@redhat.com>
14839 * gnome/applet/applet-dbus-vpn.c:
14840 Get rid of spurious newlines in debug console output
14842 2005-10-21 Christopher Aillon <caillon@redhat.com>
14844 * src/backends/NetworkManagerGentoo.c:
14845 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
14847 2005-10-20 Robert Love <rml@novell.com>
14849 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
14850 direct comparison of floating point values, which is never correct.
14851 Also some misc. cleanup.
14853 2005-10-19 Robert Love <rml@novell.com>
14855 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
14857 2005-10-19 Robert Love <rml@novell.com>
14859 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
14860 sensitivity of the buttons. Specificaly, do the right thing if
14861 there are no entries.
14863 2005-10-19 Christopher Aillon <caillon@redhat.com>
14865 * configure.in: Update check for adequate wireless-tools
14866 with an AC_TRY_COMPILE for the new symbols we use.
14868 2005-10-19 Dan Williams <dcbw@redhat.com>
14870 * src/NetworkManagerDevice.c
14871 - (process_scan_results): don't drop the last (or only)
14872 access point we see
14874 2005-10-19 Christopher Aillon <caillon@redhat.com>
14876 * src/backends/NetworkManagerSlackware.c:
14877 Patch from Nico <lordllucifer@gmail.com>
14878 - Update the Slackware backend.
14880 2005-10-18 Christopher Aillon <caillon@redhat.com>
14882 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
14883 if we've got GLib 2.8.0
14885 2005-10-18 Robert Love <rml@novell.com>
14887 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
14888 function nm_schedule_state_change_signal_broadcast() when we
14889 deactivate a device, too.
14891 2005-10-18 Robert Love <rml@novell.com>
14893 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
14894 be used uninitialized.
14896 2005-10-18 Christopher Aillon <caillon@redhat.com>
14898 * test/libnm_glib_test.c: Test unregistering, too.
14900 2005-10-17 Christopher Aillon <caillon@redhat.com>
14902 * configure.in: Bump to 0.5.0
14904 2005-10-17 Dan Williams <dcbw@redhat.com>
14907 - Remove WPA-related constants so they aren't part of the
14910 2005-10-17 Christopher Aillon <caillon@redhat.com>
14912 * gnome/applet/applet.c:
14913 * gnome/applet/applet.h:
14914 Desensitize the 'Connection Information' menu item when there is
14915 no active connection.
14917 2005-10-17 Christopher Aillon <caillon@redhat.com>
14919 * gnome/libnm_glib/libnm_glib.c:
14920 Make libnm_glib_unregister_callback () actually unregister the callback
14922 2005-10-17 Robert Love <rml@novell.com>
14924 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
14925 two seconds -- tries is updated every 1/10 of a second, not every
14928 2005-10-17 Christopher Aillon <caillon@redhat.com>
14930 * gnome/applet/applet-dbus-info.c:
14931 Let D-BUS know that we haven't handled a message when we haven't.
14933 2005-10-17 Robert Love <rml@novell.com>
14935 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
14936 in order to remain 64-bit clean.
14938 2005-10-17 Christopher Aillon <caillon@redhat.com>
14940 * gnome/applet/applet-dbus-info.c:
14941 Find network encryption keys asynchronously
14943 2005-10-17 Robert Love <rml@novell.com>
14945 * src/backends/NetworkManagerDebian.c,
14946 src/backends/NetworkManagerRedHat,
14947 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
14950 2005-10-17 Robert Love <rml@novell.com>
14952 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
14955 2005-10-17 Christopher Aillon <caillon@redhat.com>
14957 * src/NetworkManagerDevice.c: (process_scan_results)
14958 Fix logic that checks to see whether we have an ESSID.
14960 2005-10-15 Dan Williams <dcbw@redhat.com>
14962 Move scanning code into NetworkManager rather than use iwlib's
14963 iw_scan() function, so that we can figure out AP capabilities.
14966 - Add AP capability bits
14968 * src/NetworkManagerAP.[ch]
14969 - Add capability field to NMAccessPoint structure
14970 - Add WPA & RSN Information Element fields and accessor
14971 functions to NMAccessPoint
14973 * src/NetworkManagerDevice.c
14974 - Remove usage of iw_scan
14975 - Add scanning code to NetworkManager rather than use
14976 iw_scan() from iwlib
14978 * src/NetworkManagerUtils.[ch]
14979 - (nm_dispose_scan_results): remove, unused
14981 2005-10-14 Christopher Aillon <caillon@redhat.com>
14983 * gnome/libnm_glib/libnm_glib.c:
14984 * gnome/libnm_glib/libnm_glib.h:
14985 Use guint instead of gint for callback IDs.
14987 2005-10-12 Christopher Aillon <caillon@redhat.com>
14989 * gnome/applet/applet.c:
14990 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
14991 every 1000ms. It will unconditionally call nmwa_update_state which
14992 kills the existing animation timeout and registers a new one with a
14993 callback to draw a new frame every 100ms. There are 11 connecting
14994 icon frames, so the last 2 frames kept getting dropped. Only reset
14995 the animation timeout if we aren't animating.
14997 2005-10-11 Dan Williams <dcbw@redhat.com>
14999 * gnome/applet/applet-dbus-devices.c
15000 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15001 We want to grab the product & vendor from net.physical_dev
15002 rather than info.parent.
15004 2005-10-11 Dan Williams <dcbw@redhat.com>
15006 * src/NetworkManagerDevice.c
15007 - Use the driver's WE version for scanning rather than
15008 the WE version NM was compiled with. Fixes random
15009 crashes in iw_scan () in iwlib.
15011 2005-10-10 Dan Williams <dcbw@redhat.com>
15013 * Remove nm_system_load_device_modules() from backend files
15014 and from NetworkManager.c
15016 2005-10-10 Dan Williams <dcbw@redhat.com>
15018 * src/NetworkManagerPolicy.c
15019 - Fix some bugs introduced by the capabilities patch
15021 2005-10-10 Dan Williams <dcbw@redhat.com>
15023 * gnome/applet/applet-dbus-info.c
15024 - (nmi_dbus_get_network_key): hide the menu when putting up
15025 the keyring dialog. (not sure if the code is right...)
15027 2005-10-09 Dan Williams <dcbw@redhat.com>
15029 Patch from Bill Moss <bmoss@clemson.edu>
15030 * src/NetworkManagerDevice.c
15031 - (nm_device_set_user_key_for_network): don't try to set auth
15032 mode on the AP from the allowed list if it's NULL
15034 2005-10-09 Dan Williams <dcbw@redhat.com>
15036 * Replace the "driver support level" stuff with capabilities. The
15037 capability field is a bitfield that is more flexible than the
15038 old driver support level thing. It's mostly so we can easily
15039 figure out what supports WPA and what doesn't, but should be
15040 quite useful later.
15042 2005-10-09 Dan Williams <dcbw@redhat.com>
15049 - Added new "nm-tool" tool that gives quite a bit more
15052 2005-10-07 Robert Love <rml@novell.com>
15054 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15055 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15056 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15057 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15060 2005-10-07 Robert Love <rml@novell.com>
15062 * configure.in: Change our compile flags for the betterment of mankind.
15063 Add "-Wstrict-prototypes" because we comply anyhow and missing a
15064 prototype is very bad on 64-bit platforms as types default to int but
15065 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15066 "-Wmissing-declarations" to warn if we define an exported function
15067 but fail to put it in a header.
15069 2005-10-07 Robert Love <rml@novell.com>
15071 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15072 by the name nm_update_device_wireless_timeouts() and once tried,
15073 without success, to steal my pet turtle.
15075 2005-10-07 Robert Love <rml@novell.com>
15077 * Cleanup prototypes: put some functions in header files and mark
15078 others as 'static' -- feel free to invert
15079 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15080 nm_vpn_manager_vpn_connection_list_copy()
15081 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15082 nm_vpn_service_get_dbus_connection()
15083 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15084 nm_vpn_manager_vpn_connection_list_copy()
15085 * src/vpn-manager/nm-vpn-service.c: make
15086 nm_vpn_service_act_request_failed() and
15087 nm_vpn_service_stage2_daemon_wait() static
15088 * src/vpn-manager/nm-vpn-service.h: add prototype for
15089 nm_vpn_service_get_dbus_connection()
15091 2005-10-06 Christopher Aillon <caillon@redhat.com>
15093 * gnome/applet/applet.c:
15094 * gnome/applet/applet.h:
15095 * gnome/applet/icons/Makefile.am:
15096 Convey information about the current connection stage in the
15097 icons themselves instead of creating a separate progress bar.
15099 2005-10-04 Robert Love <rml@novell.com>
15101 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15102 convert an ether_addr structure's MAC into a string, because the
15103 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15104 versus 07:3B:04, while the former will not.
15106 2005-10-04 Robert Love <rml@novell.com>
15108 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15109 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15110 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15111 default route in the 'Connection Information' dialog, send primary
15112 and secondary name servers in in "getProperties" DBUS method, add
15113 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15114 secondary domain name servers are crucial pieces of information
15115 that a user might need in debugging a network problem.
15117 2005-10-04 Robert Love <rml@novell.com>
15119 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15120 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15121 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15122 default route in the 'Connection Information' dialog, send default
15123 route in "getProperties" DBUS method, add network_device_set_route(),
15124 and network_device_get_route(). The Gateway is a crucial piece of
15125 connection-related information that a user might need in debugging a
15128 2005-10-03 Robert Love <rml@novell.com>
15130 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15133 2005-10-02 Dan Williams <dcbw@redhat.com>
15135 * Shorten time taken to sleep by fastpathing bits of device deactivation
15136 necessary for sleep.
15138 * Fix issue where deactivating a device might deactivate the active
15139 VPN connection, even if the VPN was not using the device.
15141 2005-10-02 Dan Williams <dcbw@redhat.com>
15143 * gnome/applet/applet.c
15144 - Adjust signal strength -> icon mapping values slightly
15145 (so that 51% signal doesn't show a 75% icon) by adding
15146 5% to the values. ex: > 5% now shows 25% icon, > 30%
15147 shows 50% icon, etc.
15149 2005-09-29 Robert Love <rml@novell.com>
15151 * src/NetworkManager.c: removed unused variable.
15153 2005-09-28 Dan Williams <dcbw@redhat.com>
15155 Support for named + DBus, using Red Hat DBus patches for named. You
15156 can find those patches here, with "dbus" in the patch's filename:
15158 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15160 Don't forget the named dbus service file either.
15162 Instead of writing a config file and spawing a named process, NM will
15163 use an already-running dbus-enabled named if it finds one. NM will
15164 update named's forwarder configuration on the fly using dbus.
15166 If there is no dbus-enabled named running, NM will automatically fall
15167 back to writing the most-recent DNS server information to /etc/resolv.conf
15168 and calling nm_system_update_dns() to kick the system's resolver.
15170 Accordingly, all named-related configure-time options have been removed.
15172 2005-09-26 Robert Love <rml@novell.com>
15174 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15176 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15177 bug in error path if "ASKPASSWORD" is "no".
15179 2005-09-26 Robert Love <rml@novell.com>
15181 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15182 comment in /etc/resolv.conf -- ';' is not.
15184 2005-09-19 Dan Williams <dcbw@redhat.com>
15186 * src/backends/NetworkManagerRedHat.c:
15187 * src/backends/NetworkManagerDebian.c:
15188 * src/backends/NetworkManagerSlackware.c:
15189 * src/backends/NetworkManagerGentoo.c:
15190 * src/backends/NetworkManagerSUSE.c:
15191 Fix invocations of "/sbin/ip address" to use short form instead
15193 2005-09-19 Christopher Aillon <caillon@redhat.com>
15195 * src/nm-dbus-device.c: Don't assert when getting
15196 addresses of a not yet connected interface.
15198 * gnome/applet/applet.c: Free icons if loading fails.
15199 Use translator-credits so translators can make themselves known.
15201 2005-09-15 Christopher Aillon <caillon@redhat.com>
15203 * src/NetworkManagerAP.c:
15204 * src/NetworkManagerAP.h:
15205 * src/NetworkManagerDevice.c:
15206 Set a blacklist for certain common manufacturer default ESSIDs:
15207 APs with these ESSIDs are extremely likely to be completely
15208 different networks: connecting to one should not make NM
15209 auto-connect to every other AP with the same default ESSID.
15211 2005-09-12 Christopher Aillon <caillon@redhat.com>
15213 * gnome/applet/wireless-applet.glade:
15214 The passphrase entry should also activate the default
15216 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15218 * gnome/applet/applet-dbus-devices.c:
15219 * gnome/applet/applet.c:
15220 * gnome/applet/nm-device.c:
15221 * gnome/applet/nm-device.h:
15222 * src/NetworkManagerUtils.c:
15223 * src/NetworkManagerUtils.h:
15224 * src/nm-dbus-device.c:
15225 I've got a fever, and the only cure for it is less ioctl.
15226 Make NM push IP data rather than make the applet open a socket
15229 2005-09-10 Christopher Aillon <caillon@redhat.com>
15231 * gnome/applet/applet.c:
15232 * gnome/applet/applet-dbus-devices.c:
15233 * gnome/applet/applet-dbus-info.c:
15234 * gnome/applet/passphrase-dialog.c:
15235 * gnome/libnm_glib/libnm_glib.c:
15236 * gnome/vpn-properties/nm-vpn-properties.c:
15238 * src/backends/NetworkManagerRedHat.c:
15239 * src/named-manager/nm-named-manager.c:
15240 * src/NetworkManagerAPList.c:
15241 * src/NetworkManager.c:
15242 * src/NetworkManagerDbus.c:
15243 * src/NetworkManagerDevice.c:
15244 * src/NetworkManagerPolicy.c:
15245 * src/NetworkManagerSystem.c:
15246 * src/nm-dbus-device.c:
15247 * src/nm-dbus-nm.c:
15248 * src/vpn-manager/nm-vpn-manager.c:
15249 * src/vpn-manager/nm-vpn-service.c:
15250 * test/libnm_glib_test.c:
15251 * test/nminfotest.c:
15252 * test/nmtestdevices.c:
15253 Fix a bunch of 'unused variable' compiler warnings
15255 * NetworkManager.h:
15256 * gnome/applet/applet-dbus-info.c:
15257 * gnome/applet/applet-dbus-info.h:
15258 * gnome/applet/applet.c:
15259 * gnome/applet/applet.h:
15260 * src/NetworkManager.c:
15261 * src/NetworkManagerDbus.c:
15262 * src/NetworkManagerDbus.h:
15263 * src/NetworkManagerDevice.c:
15264 * src/NetworkManagerDevice.h:
15265 * src/NetworkManagerMain.h:
15266 * src/NetworkManagerWireless.c:
15267 * src/NetworkManagerWireless.h:
15268 * src/nm-dbus-nm.c:
15269 Make NetworkManager be smart about how frequently to scan
15270 based on its current state. Remove the UI for choosing when
15271 to scan. Scanning still may disabled completely by the user
15272 via the "Wireless Enabled" menu item.
15274 2005-09-09 Christopher Aillon <caillon@redhat.com>
15276 * gnome/applet/applet.c:
15277 Also overlay the vpn connecting icons onto the wired icon,
15280 * gnome/vpn-properties/nm-vpn-properties.glade:
15281 Clean up a few strings to use better grammar and proper casing.
15283 2005-09-08 Christopher Aillon <caillon@redhat.com>
15285 * gnome/applet/vpn-connection.c:
15286 * gnome/applet/vpn-connection.h:
15287 Add nmwa_vpn_connection_is_activating ()
15289 * gnome/applet/applet.c:
15290 * gnome/applet/applet.h:
15291 * gnome/applet/icons/nm-vpn-connecting*.png:
15292 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15293 the user know something's happening between clicking the VPN item and it
15294 actually being connected.
15296 2005-09-07 Christopher Aillon <caillon@redhat.com>
15298 * gnome/applet/applet-dbus-info.c: need to free attributes in the
15299 failure case as well.
15301 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
15303 * gnome/panel/eggtrayicon.[ch]:
15304 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15306 2005-09-07 Dan Williams <dcbw@redhat.com>
15308 Patch from Bill Moss <bmoss@clemson.edu>
15309 * src/applet-dbus.c
15310 - (nmwa_dbus_filter): strip whitespace from beginning
15311 and end of VPN login banner
15313 2005-09-07 Dan Williams <dcbw@redhat.com>
15315 * The great VPN Manager rewrite of 2005
15317 2005-09-07 Christopher Aillon <caillon@redhat.com>
15319 * gnome/applet/menu-items.c:
15320 * gnome/applet/nm-device.c:
15321 * gnome/applet/wireless-network.c:
15322 * gnome/libnm_glib/libnm_glib.c:
15323 * src/NetworkManagerDbusUtils.c:
15324 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15325 g_malloc0 doesn't return NULL
15327 2005-09-06 Dan Williams <dcbw@redhat.com>
15329 Patch from Tomislav Vujec <tvujec@redhat.com>
15330 * src/NetworkManagerDevice.c
15331 - (nm_get_device_by_udi): don't return a device when we
15332 actually didn't find what we were looking for
15334 2005-09-06 Christopher Aillon <caillon@redhat.com>
15336 * gnome/applet/applet-dbus-devices.c:
15337 * gnome/applet/applet-dbus-devices.h:
15338 * gnome/applet/applet-dbus.c:
15339 * src/NetworkManagerDbus.c:
15340 * src/NetworkManagerDbus.h:
15341 * src/NetworkManagerDevice.c:
15342 * src/nm-dbus-device.c:
15343 Make NM push updates about active device strength when it changes,
15344 rather than having the applet poll every 2s.
15346 2005-09-05 Christopher Aillon <caillon@redhat.com>
15348 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15349 network_device_set_strength
15351 2005-09-04 Dan Williams <dcbw@redhat.com>
15353 Patch from Bill Nottingham <notting@redhat.com>
15354 * src/NetworkManagerDevice.c
15355 - (nm_device_activation_cancel): reset the quit_activation flag
15357 2005-09-04 Dan Williams <dcbw@redhat.com>
15359 * src/nm-activation-request.c
15360 - (nm_act_request_unref): actually free the structure,
15361 which we didn't seem to be doing before
15363 2005-09-04 Dan Williams <dcbw@redhat.com>
15365 Patch from John Palmieri <johnp@redhat.com>
15366 * gnome/applet/applet-dbus-devices.c
15367 - Fix up unreffing of DBusMessage objects
15369 2005-09-04 Dan Williams <dcbw@redhat.com>
15371 Patch from John Palmieri <johnp@redhat.com>
15372 * gnome/applet/nm-device.c
15373 - (nm_device_unref): clear network_device's memory _before_ freeing it
15375 2005-09-02 Christopher Aillon <caillon@redhat.com>
15377 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15379 2005-09-02 Bill Nottingham <notting@redhat.com>
15381 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15383 2005-09-01 Dan Williams <dcbw@redhat.com>
15385 * src/NetworkManager.c
15386 - (nm_remove_device_from_list): rename to nm_remove_device
15387 - (nm_hal_device_removed): call nm_remove_device()
15389 * src/NetworkManagerDevice.c
15390 - Change the NMWirelessScanCB member 'reschedule' which
15391 wasn't used to 'force' to indicate that we need to
15392 force a scan when adding a device
15395 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15396 from the device list
15397 - (nm_dbus_nm_wake): Re-add all devices to the device list
15399 2005-09-01 Robert Love <rml@novell.com>
15401 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15402 and the check "!iface" in the error case is probably never true.
15404 2005-09-01 Dan Williams <dcbw@redhat.com>
15406 Patch from Bill Nottingham <notting@redhat.com>
15407 * src/backends/NetworkManagerRedHat.c
15408 - Add initial dialup support to Red Hat/Fedora backend
15410 2005-09-01 Dan Williams <dcbw@redhat.com>
15412 * gnome/applet/applet-dbus-devices.c
15413 - Sort both wireless networks and devices again, which got
15414 broken when removing threading
15416 2005-09-01 Christopher Aillon <caillon@redhat.com>
15418 * gnome/applet/applet.c:
15419 Only show the "Stop/Start All Wireless Devices" menuitem
15420 if we actually have wireless devices.
15422 * gnome/applet/applet-dbus-info.c:
15423 * gnome/applet/applet.c:
15424 * gnome/applet/other-network-dialog.c:
15425 * gnome/applet/vpn-password-dialog.c:
15426 Drop the gtk_dialog_run () calls in favor of connecting to
15427 "response" signals, needed now that the applet is not threaded.
15429 2005-08-31 Dan Williams <dcbw@redhat.com>
15431 Patch from Bill Moss <bmoss@clemson.edu>
15432 * src/NetworkManagerDevice.c
15433 - (nm_device_wireless_scan): fix scan timeout values
15435 2005-08-30 Dan Williams <dcbw@redhat.com>
15437 * gnome/applet/wireless-applet.glade
15438 - HIG-ify the Other Wireless Networks dialog a bit more
15439 - Fix some potential segfaults in the info dialog
15441 2005-08-30 Dan Williams <dcbw@redhat.com>
15443 * gnome/applet/applet-dbus-devices.c
15444 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15446 2005-08-30 Dan Williams <dcbw@redhat.com>
15448 * gnome/applet/applet-dbus.[ch]
15449 - Remove all the nmwa_dbus_call_method_xxxx functions since
15450 they weren't being used anyway
15452 2005-08-30 Bastien Nocera <hadess@hadess.net>
15454 * test/nmtestdevices.c: (print_usage), (main):
15455 Check the number of arguments, and fix a typo
15457 2005-08-29 Dan Williams <dcbw@redhat.com>
15459 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15460 * gnome/applet/applet.c
15461 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15463 2005-08-29 Dan Williams <dcbw@redhat.com>
15466 - Don't use threads any more. Anything that blocks
15467 (like gtk_dialog_run()) will have to get fixed up which
15468 should happen quickly. We really only had threads to make
15469 the animation smooth, and when everything got converted over
15470 to DBus Pending Calls, the need for threads kind of went away
15472 2005-08-29 Christopher Aillon <caillon@redhat.com>
15474 * gnome/applet/applet.c: Draw VPN connections as radio items
15475 since we don't yet support multiple VPNs.
15476 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15477 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15479 2005-08-29 Dan Williams <dcbw@redhat.com>
15481 Patch from j@bootlab.org
15482 - Make --without-named work
15483 - Make --with-dhcdbd work correctly
15485 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
15487 * configure.in: Added "ca" to ALL_LINGUAS.
15489 2005-08-26 Christopher Aillon <caillon@redhat.com>
15491 * Fix up VPN state handling between the applet and NetworkManager,
15492 so that the applet doesn't show a VPN as connected when one
15494 - The applet no longer has a pointer to the active VPN's
15495 name, but tracks each VPNs state individually
15496 - NM no longer has a "getActiveVPNConnection" method
15497 - NM no longer broadcasts the "VPNConnectionChange" signal
15498 - NM now broadcasts a "VPNConnectionStateChange" signal
15499 whenever the state of a VPN changes
15501 2005-08-26 Dan Williams <dcbw@redhat.com>
15503 * gnome/applet/applet-dbus-devices.c
15504 gnome/applet/applet-dbus-vpn.c
15505 - Remove calls to dbus_pending_call_ref() because we already
15506 "own" the pending call
15507 - Remove calls to dbus_pending_call_get_completed() because
15508 when we are in the callback, the pending call is completed
15511 2005-08-22 Dan Williams <dcbw@redhat.com>
15513 Patch by Bill Moss <bmoss@clemson.edu>
15514 * src/dhcp-manager/nm-dhcp-manager.c
15515 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15516 some time to send out a RELEASE if they like
15518 2005-08-22 Dan Williams <dcbw@redhat.com>
15520 Noticed by Bill Moss <bmoss@clemson.edu>
15521 * src/NetworkManagerDbus.c
15522 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15523 instead of just cancelling its activation
15525 * src/NetworkManagerDevice.c
15526 - (nm_device_deactivate): some small cleanups
15527 - (nm_device_set_user_key_for_network): deactivate the device
15528 instead of just cancelling its activation
15530 2005-08-22 Dan Williams <dcbw@redhat.com>
15532 Noticed by Bill Moss <bmoss@clemson.edu>
15533 * src/NetworkManagerDevice.c
15534 - (nm_device_wireless_scan): fix scan timeout, we were
15535 waiting way too long for scans to complete
15537 2005-08-22 Dan Williams <dcbw@redhat.com>
15539 Patch from j@bootlab.org:
15540 * src/backends/NetworkManagerDebian.c
15541 - Make the Debian backend work for static IP again
15543 2005-08-20 Christopher Aillon <caillon@redhat.com>
15545 * gnome/applet/other-network-dialog.c:
15546 The "Create New Network" and "Connect to Other Network"
15547 dialogs share alot of code, but shouldn't share a window
15548 title. Give them different ones.
15550 * gnome/applet/wireless-applet.glade:
15551 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15552 Some more minor UI tweaks.
15554 2005-08-19 Christopher Aillon <caillon@redhat.com>
15556 * gnome/applet/other-network-dialog.c:
15557 * gnome/applet/wireless-applet.glade:
15558 Also need mnemonic widgets, and underline enabled.
15560 2005-08-19 Dan Williams <dcbw@redhat.com>
15562 * vpn-daemons/vpnc/nm-vpnc-service.c
15563 - (vpnc_watch_cb): remove no-longer-relevant comment
15564 - (write_config_option): new function, helper to write
15565 config options to vpnc's stdin
15566 - (nm_vpnc_config_write): use the new helper, make the
15569 2005-08-19 Christopher Aillon <caillon@redhat.com>
15571 * gnome/applet/passphrase-dialog.c:
15572 * gnome/applet/wireless-applet.glade:
15573 Make the passphrase dialog response based, and treat
15574 responses other than OK (such as Esc, [X]) as a cancel.
15576 2005-08-18 Christopher Aillon <caillon@redhat.com>
15578 * initscript/Gentoo/NetworkManager:
15579 * initscript/RedHat/NetworkManager:
15580 * initscript/RedHat/NetworkManagerDispatcher:
15581 * initscript/SUSE/networkmanager:
15582 CVS remove these in place of .in replacements
15585 * initscript/Gentoo/NetworkManager.in:
15586 * initscript/RedHat/NetworkManager.in:
15587 * initscript/RedHat/NetworkManagerDispatcher.in:
15588 * initscript/SUSE/networkmanager.in:
15589 These scripts now are generated so they work still when
15590 NM is built using a bindir other than /usr/bin
15592 2005-08-18 Dan Williams <dcbw@redhat.com>
15594 * gnome/applet/main.c
15595 - Revert previous change for --no-session since
15596 --sm-disable does the same thing
15598 2005-08-18 Dan Williams <dcbw@redhat.com>
15600 * gnome/applet/applet-dbus-info.c
15601 - (nmi_dbus_create_error_message): new function
15602 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15603 functions. Also don't check for both device _and_ network before
15604 asking for a user's key, because we may not have gotten all our
15605 networks back from NM quite yet (due to the dbus pending calls
15606 coming in later). Fixes a hang in NM/nm-applet.
15608 * src/NetworkManagerDbus.c
15609 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15610 slightly more sane manner, even though we are still broken for
15611 certain other error conditions.
15612 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15613 to the info-daemon too
15615 * src/NetworkManagerDevice.c
15616 - Fix some debug messages to be info messages instead
15618 2005-08-18 Dan Williams <dcbw@redhat.com>
15620 * gnome/applet/main.c
15621 - Add new "--no-session" parameter that disables applet
15622 session management, ie for testing
15624 2005-08-18 Christopher Aillon <caillon@redhat.com>
15626 * gnome/applet/other-network-dialog.c:
15627 * gnome/applet/wireless-applet.glade: More mnemonics
15629 2005-08-17 Robert Love <rml@novell.com>
15631 * initscript/SUSE/networkmanager: update
15633 2005-08-17 Dan Williams <dcbw@redhat.com>
15635 * Tag NM_0_4_1_RELEASE
15637 2005-08-17 Christopher Aillon <caillon@redhat.com>
15639 * gnome/applet/applet.c: More translatable string cleanup
15642 2005-08-17 Dan Williams <dcbw@redhat.com>
15644 * gnome/applet/applet-dbus-info.c
15645 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15646 from the dbus message, which tells us to unconditionally
15647 ask the user for a new key. Otherwise, we pull the key from
15648 the keyring and return it. If we fail to get the key from the
15649 keyring, we ask the user for a new key.
15650 - (nmi_dbus_get_network_key): new function to grab the key for
15651 an essid from the keyring.
15652 - (nmi_dbus_get_network_properties): don't access the keyring here.
15653 Also, don't return any key in the dbus message.
15655 * src/NetworkManagerDbus.[ch]
15656 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15657 indicate that we unconditionally want a new key. This function
15658 is now also used to get keys from the info-daemon which are
15659 pre-stored, not just for asking the user for a new key. The
15660 "new_key" parameter indicates whether or not we wish to ask the
15661 user for a new key.
15662 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15663 info-daemon in the return message, so use NULL instead. The
15664 key will be filled in at connect time by calling
15665 nm_dbus_get_user_key_for_network()
15667 * src/NetworkManagerDevice.c
15668 - (nm_device_wireless_configure): update for "new_key" param to
15669 nm_dbus_get_user_key_for_network(). We initially set new_key
15670 to FALSE to see if we have a stored key in the info-daemon, but
15671 if the connection is unsuccessful at this stage we request a
15674 2005-08-17 Dan Williams <dcbw@redhat.com>
15676 * gnome/applet/icons/nm-no-connection.png
15677 gnome/applet/icons/nm-device-wired.png
15678 - Use Diana's new RJ45 connector icons
15680 2005-08-17 Dan Williams <dcbw@redhat.com>
15682 * src/NetworkManagerPolicy.c
15683 - (nm_policy_device_change_check): clarify switching rules if
15684 both new and old devices are valid; mainly, don't switch
15685 away from user-requested wireless connection back to a wired
15688 2005-08-17 Dan Williams <dcbw@redhat.com>
15690 * gnome/applet/Makefile.am
15691 - Relocate the applet to /usr/bin since it is no longer
15692 executed by anything, but directly by the user
15694 2005-08-17 Dan Williams <dcbw@redhat.com>
15696 Patch from Bill Moss <bmoss@clemson.edu>
15698 * gnome/applet/applet-dbus-info.[ch]
15699 - (nmi_save_network_info): save timestamp for network if it
15700 was a change requested by the user
15701 - (nmi_dbus_update_network_info): get user_requested from dbus
15702 message and pass to nmi_save_network_info()
15704 * gnome/applet/applet.c
15705 - (nmwa_update_network_timestamp): remove
15706 - (nmwa_menu_item_activate): don't set timestamp on networks
15707 here, only after a successful connect in nmi_save_network_info()
15709 * src/NetworkManagerDbus.[ch]
15710 - (nm_dbus_update_network_info): pass user_requested into the
15713 * src/NetworkManagerPolicy.c
15714 - (nm_policy_activation_finish): pass user_requested to
15715 nm_dbus_update_network_info()
15717 2005-08-16 Robert Love <rml@novell.com>
15719 * gnome/applet/applet.c: Better "Dial Up" menu item.
15721 2005-08-16 Robert Love <rml@novell.com>
15723 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15724 "Connection Information" menu item.
15726 2005-08-16 Dan Williams <dcbw@redhat.com>
15728 Patch from j@bootlab.org
15729 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15731 * configure.in: allow specifying the path to dhcdbd
15733 2005-08-16 Robert Love <rml@novell.com>
15735 Patch from j@bootlab.org
15736 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15737 src/backends/interface_parser.h: Debian dialup support.
15739 2005-08-16 Christopher Aillon <caillon@redhat.com>
15741 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15742 * gnome/applet/applet.c: Add some mnemonics for VPNC
15744 * vpn-daemons/.cvsignore: fix this up a little bit
15746 2005-08-16 Robert Love <rml@novell.com>
15748 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15751 2005-08-16 Christopher Aillon <caillon@redhat.com>
15753 * gnome/applet/applet.c: Split markup out of translatable strings
15754 and clean up logic a little bit. (fixes #309012)
15756 2005-08-15 Christopher Aillon <caillon@redhat.com>
15758 * gnome/vpn-properties/nm-vpn-properties.c:
15759 * gnome/vpn-properties/nm-vpn-ui-interface.h:
15760 * vpn-daemons/vpnc/properties/nm-vpnc.c:
15761 Makeshift fix to remove newlines from translatable strings.
15762 Note that we now return an allocated string, so callers of
15763 get_confirmation_details () must now call g_free () on the
15764 result. (fixes #309033).
15766 2005-08-12 Robert Love <rml@novell.com>
15768 * gnome/applet/applet-dbus.c: remove newlines from translatable
15769 strings--not needed here anyway. (fix b.g.o #309011)
15770 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15772 2005-08-11 Robert Love <rml@novell.com>
15774 * gnome/applet/applet.c: mark string as translatable.
15776 2005-08-11 Robert Love <rml@novell.com>
15778 * initscript/SUSE/networkmanager: update.
15780 2005-08-11 Dan Williams <dcbw@redhat.com>
15782 * src/nm-dhcp-manager.c
15783 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
15784 an gateway returned from DHCP, try to use the address of the DHCP
15785 server as the gateway instead. Found by Ralf Ertzinger.
15787 2005-08-10 Robert Love <rml@novell.com>
15789 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
15790 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
15792 2005-08-10 Dan Williams <dcbw@redhat.com>
15794 Patch from Bill Moss <bmoss@clemson.edu>
15795 * Consolidate writes of access point information updates to the info daemon
15796 so that we only do it when the connection to the access point was
15797 successful. Also consolidates updates to GConf in the Gnome applet.
15799 * src/nm-netlink-monitor.c
15800 - Silence compile warning when calling g_object_new()
15802 2005-08-08 Dan Williams <dcbw@redhat.com>
15804 Patch from Steev <steev@steev.net>:
15805 * src/backends/NetworkManagerGentoo.c
15806 - Stub new dialup backend functions
15808 2005-08-08 Dan Williams <dcbw@redhat.com>
15810 Patch from Colin Slater:
15811 * src/backends/NetworkManagerGentoo.c
15812 - (nm_system_update_dns): Fix exit status check for restarting
15815 2005-08-05 Robert Love <rml@novell.com>
15817 * NetworkManager.h,
15818 gnome/applet/applet-dbus-devices.c,
15819 gnome/applet/applet-dbus-devices.h,
15820 gnome/applet/applet-dbus.c,
15821 gnome/applet/applet.c,
15822 gnome/applet/applet.h,
15823 src/NetworkManager.c,
15824 src/NetworkManagerMain.h,
15825 src/NetworkManagerSystem.h,
15826 src/backends/NetworkManagerRedHat.c,
15827 src/backends/NetworkManagerSuSE.c,
15828 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
15830 2005-08-05 Robert Love <rml@novell.com>
15832 * gnome/applet/other-network-dialog.c: default the adhoc network to the
15833 machine's hostname to make adhoc creation idiot-proof.
15835 2005-08-04 Robert Love <rml@novell.com>
15837 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
15840 2005-08-04 Dan Williams <dcbw@redhat.com>
15842 * gnome/applet/applet-dbus-info.c
15843 gnome/applet/applet-dbus-info.h
15844 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
15845 to store key, key type, and auth method rather than just auth method
15846 - (nmi_dbus_update_network_info): new function
15847 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
15849 * gnome/applet/passphrase-dialog.c
15850 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
15851 of saving the info ourselves
15853 * gnome/libnm_glib/libnm_glib.c
15854 - Remove the stupid version check for dbus
15856 * src/NetworkManagerAP.c
15857 src/NetworkManagerAP.h
15858 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
15860 * src/NetworkManagerDbus.c
15861 src/NetworkManagerDbus.h
15862 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
15863 more than just the auth method
15865 * src/NetworkManagerDevice.c
15866 - Update network info at the appropriate times
15868 2005-07-29 Ray Strode <rstrode@redhat.com>
15870 * src/NetworkManager.c (nm_info_handler): don't use input as format
15871 string (Spotted by Ian Jackson).
15873 2005-07-27 Dan Williams <dcbw@redhat.com>
15877 - Random cleanups of spacing
15879 * gnome/applet/applet.h
15880 gnome/applet/other-network-dialog.c
15881 gnome/applet/passphrase-dialog.c
15882 - Conslidate usage of NMWAEncryptionKeyTypes enum
15884 Patch from Bill Moss:
15885 - Make Other Wireless Networks work again with encryption keys
15887 2005-07-26 Dan Williams <dcbw@redhat.com>
15889 Patch from Steev <steev@steev.net>:
15890 * src/backends/NetworkManagerGentoo.c
15891 src/backends/Makefile.am
15892 - Fix up Gentoo backend
15894 2005-07-26 Robert Love <rml@novell.com>
15896 * src/backends/NetworkManagerSuSE.c: misc. cleanup
15898 2005-07-25 Robert Love <rml@novell.com>
15900 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
15901 in the same group as the wireless networks, since they are all
15902 mutually exclusive.
15904 2005-07-24 Ray Strode <rstrode@redhat.com>
15906 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
15907 remove unneeded NULL arg from g_object_new(). Any
15908 warnings caused by not having the extra NULL are just a
15909 result of a bug in glib 2.7.0 - 2.7.2.
15911 2005-07-22 Robert Love <rml@novell.com>
15913 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
15915 2005-07-22 Robert Love <rml@novell.com>
15917 * src/nm-netlink-monitor.c: g_object_new() needs at least three
15918 parameters (gcc 4.0.2 warning fix).
15920 2005-07-18 Robert Love <rml@novell.com>
15922 Suggested by Aaron Bockover (abockover@novell.com)
15923 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
15925 * gnome/applet/passphrase-dialog.c: ditto
15926 * gnome/applet/wireless-applet.glade: ditto
15928 2005-07-13 Dan Williams <dcbw@redhat.com>
15930 Patch from Ray Strode <halfline@gmail.com>
15931 * vpn-daemons/vpnc/nm-vpnc-service.c
15932 - Don't let vpnc daemonize, fixes some races with PID file reading
15934 2005-07-13 Dan Williams <dcbw@redhat.com>
15936 Patch from Ray Strode <halfline@gmail.com>
15937 * Random cleanups for strict CFLAGS
15939 2005-07-07 Dan Williams <dcbw@redhat.com>
15941 Patch from Derek Atkins <warlord@MIT.EDU>
15942 * src/nm-dbus-net.c:
15943 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
15945 2005-07-07 Dan Williams <dcbw@redhat.com>
15947 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
15948 * src/backends/NetworkManagerGentoo.c
15949 - Gentoo backend Static IP nameserver fixes
15950 - General Gentoo backend goodness
15952 2005-07-07 Dan Williams <dcbw@redhat.com>
15954 Patch from Bastien Nocera:
15955 * gnome/applet/applet.c
15956 - Fix up error reporting when icons or glade files are missing
15958 2005-07-07 Robert Love <rml@novell.com>
15960 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
15961 are not any VPN connections above it.
15963 2005-07-07 Robert Love <rml@novell.com>
15965 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
15967 2005-07-05 Robert Love <rml@novell.com>
15969 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
15972 2005-07-05 Robert Love <rml@novell.com>
15974 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
15975 on wired or unencrypted wireless.
15977 2005-07-01 Robert Love <rml@novell.com>
15979 * src/NetworkManagerSystem.c: Print the error via strerror().
15981 2005-06-30 Robert Love <rml@novell.com>
15983 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
15984 then exit if the glade file is not found. currently the application
15987 2005-06-30 Robert Love <rml@novell.com>
15989 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
15990 explicitly up all interfaces on wake from sleep.
15992 2005-06-30 Robert Love <rml@novell.com>
15994 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
15995 with information about the currently active connection.
15996 * gnome/applet/applet.h: (ditto)
15997 * gnome/applet/wireless-applet.glade: (ditto), new file
15999 2005-06-30 Robert Love <rml@novell.com>
16001 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16002 * src/nm-dbus-nm.c: print when we sleep and wake up.
16003 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16004 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16005 in /sbin unless D-BUS is, folks).
16006 * README: update to reflect nm-applet replacing NetworkManagerInfo.
16008 2005-06-27 Robert Love <rml@novell.com>
16010 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16013 2005-06-27 Robert Love <rml@novell.com>
16015 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16018 2005-06-26 Robert Love <rml@novell.com>
16020 * src/NetworkManagerDevice.c: be specific about which device in
16023 2005-06-23 Adam Weinberger <adamw@gnome.org>
16025 * src/nm-netlink-monitor.c: correct spelling error.
16027 2005-06-23 Robert Love <rml@novell.com>
16029 * gnome/applet/applet-dbus-info.c: gnome keyring support!
16030 * gnome/applet/passphrase-dialog.c: more of that keyring!
16032 2005-06-23 Robert Love <rml@novell.com>
16034 * configure.in: remove extraneous GNOMEKEYRING directives.
16035 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16036 * gnome/applet/applet.c: nmwa_icons_init: make style local.
16037 * gnome/applet/passphrase-dialog.c: whitespace.
16039 2005-06-23 Robert Love <rml@novell.com>
16041 * src/NetworkManagerDevice.c: division in assignment was flipped.
16043 2005-06-23 David Zeuthen <david@fubar.dk>
16045 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16046 signal to the child to indicate that we got what we wanted when we
16047 see two new-lines right after each other.
16048 (nmwa_vpn_request_password): Pass a structure with several members
16049 instead of just the passwords
16051 2005-06-23 Dan Williams <dcbw@redhat.com>
16053 * src/NetworkManager.c
16054 src/NetworkManagerMain.h
16055 - (nm_get_hal_ctx): new function, move Hal initialization code here
16056 - (nm_hal_init): new function, init libhal context then add devices
16057 - (nm_hal_deinit): new function, clean up libhal context
16058 - (nm_data_free): Move Hal cleanup here
16059 - (main): check whether Hal is running, and if so, get a list of
16060 network devices from it
16062 * src/NetworkManagerDbus.c
16063 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16064 and when it appears, get a list of network devices from it. If
16065 Hal goes away, clean up the libhal context
16067 2005-06-22 Robert Love <rml@novell.com>
16069 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16070 permissions of scripts before executing.
16072 2005-06-21 Robert Love <rml@novell.com>
16074 * initscript/SUSE/networkmanager: update.
16075 * src/backends/NetworkManagerSuSE.c: cleanup.
16077 2005-06-21 Robert Love <rml@novell.com>
16079 * gnome/applet/applet.c: use menu mnemonics.
16080 * gnome/applet/menu-items.c: (ditto)
16082 2005-06-21 Robert Love <rml@novell.com>
16084 * applet/applet-dbus-devices.c: mark non-static functions static.
16085 * applet/applet-dbus-vpn.c: (ditto)
16086 * applet/applet.c: (ditto)
16087 * applet/nm-device.h: (ditto)
16088 * applet/other-network-dialog.c: (ditto)
16089 * applet/passphrase-dialog.c: (ditto)
16090 * NetworkManager.c: (ditto)
16091 * NetworkManagerDbus.c: (ditto)
16092 * NetworkManagerDevice.c: (ditto)
16093 * NetworkManagerPolicy.c: (ditto)
16094 * NetworkManagerUtils.c: (ditto)
16095 * NetworkManagerWireless.c: (ditto)
16096 * NetworkManagerWireless.h: (ditto)
16097 * nm-netlink-monitor.c: (ditto)
16098 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16099 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16100 * autoip.c: include autoip.h.
16101 * autoip.h: new file. define get_autoip().
16102 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16103 * NetworkManagerDbus.h: remove duplicate definitions.
16105 2005-06-20 Robert Love <rml@novell.com>
16107 * Makefile.am: Add missing intltool-foo.in generated files to
16108 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16109 with the start of stuff to cleanup on 'distclea'.
16110 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16111 stuff right and 'distcheck' works.
16112 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16113 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16114 Makefile.am for each. And systray/Makefile needs to be redone.
16116 2005-06-19 Dan Williams <dcbw@redhat.com>
16118 * src/NetworkManagerDevice.c
16119 - (nm_device_wireless_process_scan_results): scan every 20s when
16120 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16122 2005-06-19 Dan Williams <dcbw@redhat.com>
16124 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16126 2005-06-18 Ray Strode <rstrode@redhat.com>
16128 * src/nm-netlink-monitor.c
16129 (nm_netlink_monitor_event_handler): check for the presence
16130 of either error condition not both.
16132 (nm_netlink_monitor_error_handler): emit error signal if
16135 (nm_netlink_monitor_event_handler),
16136 (nm_netlink_monitor_error_handler),
16137 (nm_netlink_monitor_disconnect_handler): if an
16138 assertion fails disconnect the event handler to prevent
16141 * src/nm-netlink-monitor.h: add new error condition
16142 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16144 2005-06-18 Ray Strode <rstrode@redhat.com>
16146 * src/nm-netlink-monitor.c
16147 (nm_netlink_monitor_event_handler): remove bogus < 0
16148 check on unsigned value and return early if the kernel
16149 didn't send any bytes.
16151 2005-06-17 Robert Love <rml@novell.com>
16153 * initscript/SUSE/networkmanager: Change the Provides and default
16156 2005-06-16 Dan Williams <dcbw@redhat.com>
16158 Patch from Robert Love:
16159 * gnome/applet/applet.c
16160 - Beautify some applet menu item names
16162 2005-06-17 David Zeuthen <davidz@redhat.com>
16164 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16165 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16166 Also add new methods can_export, import_file and export.
16168 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16171 * gnome/vpn-properties/nm-vpn-properties.c:
16172 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16173 nm-vpn-ui-interface.h.
16174 (update_edit_del_sensitivity): Also update "Export" sensitivity
16175 (add_vpn_connection): Also add new SVC_NAME column
16176 (import_settings): New function
16177 (retrieve_data_from_selected_connection): New function
16178 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16180 (export_cb): New function
16181 (init_app): Also setup the "export" widget
16182 (main): Support the --import-service and --import-file commandline
16185 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16188 2005-06-16 Dan Williams <dcbw@redhat.com>
16190 Patch from Robert Love:
16191 * gnome/applet/menu-items.c
16192 - (network_menu_item_new): pass -1 as wireless network
16193 menu items height size request rather than ascent / 2
16195 2005-06-16 Dan Williams <dcbw@redhat.com>
16197 * Clean up wording in Wireless Scan Methods menu items and constants
16199 2005-06-16 Robert Love <rml@novell.com>
16202 - remove gtkcell* files
16204 2005-06-15 Dan Williams <dcbw@redhat.com>
16206 Patch from Robert Love: make the applet stetic
16208 * gnome/applet/Makefile.am
16209 - Don't compile the gtkcellview and gtkcellrendererprogress files
16211 * gnome/applet/gtkcellview.h
16212 gnome/applet/gtkcellview.c
16213 gnome/applet/gtkcellrendererprogress.h
16214 gnome/applet/gtkcellrendererprogress.c
16217 * gnome/applet/menu-items.c
16218 - Progress bars are 5:1 size ratio
16219 - Use GTK progress bars rather than internal ones
16221 2005-06-15 Dan Williams <dcbw@redhat.com>
16223 Patch from Robert Love:
16224 * initscript/SUSE/networkmanager
16227 2005-06-15 Dan Williams <dcbw@redhat.com>
16229 * src/backends/NetworkManagerSuSE.c
16230 src/backends/NetworkManagerRedHat.c
16231 src/backends/NetworkManagerDebian.c
16232 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16234 2005-06-15 Dan Williams <dcbw@redhat.com>
16236 * src/backends/NetworkManagerDebian.c
16237 - Add nm_system_device_get_use_dhcp() to debian backend
16239 Patch from Kay Sievers:
16240 * src/backends/NetworkManagerSuSE.c
16241 - Update debian backend for static IP nameservers
16243 * src/NetworkManagerDevice.c
16244 - Actually set the device to use static IP or DHCP rather
16247 2005-06-15 Dan Williams <dcbw@redhat.com>
16249 Patch from Thom May:
16250 * src/backends/NetworkManagerDebian.c
16251 - Update debian backend for static IP nameservers
16253 2005-06-15 Dan Williams <dcbw@redhat.com>
16255 Patches from Robert Love:
16256 * gnome/applet/wireless-applet.glade
16257 - Tighten up wording
16259 * src/NetworkManagerDevice.c
16260 - Remove misplaced ';'
16263 initscript/Makefile.am
16264 initscript/SUSE/Makefile.am
16265 initscript/SUSE/networkmanager
16266 - Add SUSE initscript
16268 2005-06-12 David Zeuthen <davidz@redhat.com>
16270 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16272 * gnome/vpn-properties/nm-vpn-properties.glade: New file
16274 * gnome/vpn-properties/nm-vpn-properties.c: New file
16276 * gnome/vpn-properties/Makefile.am: New file
16278 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16281 * src/vpn-manager/nm-vpn-manager.c
16282 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16283 instead of just a single one
16285 * src/vpn-manager/nm-dbus-vpn.c:
16286 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16288 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16290 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
16291 Change the interface here to give a list of passwords. Also, don't
16292 require username, but do require service
16294 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16295 the binary for the auth-dialog and use that instead of putting up a
16296 dialog asking for a single password
16298 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16299 however do remember the service
16301 * gnome/applet/main.c (main): Setup i18n
16303 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16304 connection to '%s'" to the tooltip if we are connected using VPN
16305 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16306 key to determine whether we the auth-dialog needs to
16307 reprompt. Also cope with the fact that the auth-dialog now returns
16308 an array of passwords.
16309 (nmwa_menu_configure_vpn_item_activate): New handler for
16310 "Configure VPN..." menu item
16311 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16312 (is_vpn_available): New function to determine if we got any
16313 NM-compatible VPN software installed
16314 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16315 items only if we have NM-compatible VPN software installed
16316 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16317 logic for detecting when VPN connections are removed
16319 * gnome/applet/applet-dbus.h: Removed the prototypes for
16320 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16321 since these are defined elsewhere
16323 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16324 function used to keep track of whether the last attempt succeded
16325 (nmwa_dbus_filter): Update last_attempt according to whether the
16326 VPN connection could be established or not
16328 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
16329 Change prototype to take an array of passwords, not just a single
16332 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16333 update service, not user
16334 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16335 dbus_active_vpn_name is not NULL before using it
16336 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16337 string array instead of assuming a single password
16339 * gnome/applet/applet-dbus-info.c:
16340 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16341 user name; don't read from gconf
16343 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
16346 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16348 * configure.in: Add checks for gmodule-2.0.
16349 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16350 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16351 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
16354 * vpn-daemons/Makefile.am: Removed
16356 * vpn-daemons/README: New file to describe extensions points for VPN
16359 2005-06-10 Dan Williams <dcbw@redhat.com>
16361 * src/backends/NetworkManagerRedHat.c
16362 - (get_current_profile_name): new function, grab current network profile name from
16363 /etc/sysconfig/network
16364 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16365 update an IP4 Config structure's settings from it
16366 - (nm_system_device_get_system_config): if we're using static IP on this device,
16367 get DNS info from current network profile
16369 2005-06-09 Dan Williams <dcbw@redhat.com>
16371 Patch from Robert Love:
16372 * src/NetworkManagerDevice.c
16373 src/NetworkManagerUtils.c
16374 - 64-bit build fixes
16376 2005-06-09 Dan Williams <dcbw@redhat.com>
16378 Patch from Kay Sievers and Robert Love:
16380 src/backends/Makefile.am
16381 src/backends/NetworkManagerSuSE.c
16384 2005-06-09 Dan Williams <dcbw@redhat.com>
16387 - Add NMWirelessScanMethod enum for scan methods
16389 * gnome/applet/applet-dbus-devices.c
16390 - (nmwa_dbus_update_scanning_enabled_cb): remove
16391 - (nmwa_dbus_update_scanning_enabled): remove
16392 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16393 since it got removed
16394 - (nmwa_dbus_enable_scanning): remove
16396 * gnome/applet/applet-dbus-info.c
16397 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16398 update the wireless scanning method from NMI
16399 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16400 method value to NetworkManager
16401 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16403 * gnome/applet/applet-dbus-info.h
16404 - Add prototype for nmi_dbus_signal_update_scan_method
16406 * gnome/applet/applet.c
16407 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16408 Wireless Scanning menu based on current wireless scan method
16409 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16410 signal for Wireless Scanning menu items, tell NetworkManager the new method
16411 and update our menu items to make sure the right one is checked
16412 - (nmwa_set_scanning_enabled_cb): remove
16413 - (nmwa_context_menu_update): remove references to pause_scanning_item
16414 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16416 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16418 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16419 so we get notified of preference values too
16420 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16422 * gnome/applet/applet.h
16423 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16424 - Add wireless scan method member to applet data
16425 - Remove pause_scanning_item, add Wireless Scanning submenu
16427 * src/NetworkManager.c
16428 - (nm_data_new): default to NM_SCAN_METHOD_ON
16429 - (main): grab scanning method from NMI if we can
16431 * src/NetworkManagerDbus.c
16432 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16433 nm_dbus_update_wireless_scan_method()
16434 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16436 - (nm_dbus_nmi_is_running): redundant function, removed
16437 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16438 when NMI comes back
16440 * src/NetworkManagerDevice.c
16441 - (nm_device_is_activated): return TRUE if the device is activated
16442 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16443 and we are activated
16446 - (nm_dbus_nm_set_scanning_enabled): removed
16447 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16448 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16450 2005-06-09 Dan Williams <dcbw@redhat.com>
16453 src/vpn-manager/nm-vpn-service.c
16454 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16456 2005-05-27 Dan Williams <dcbw@redhat.com>
16458 * vpn-daemons/vpnc/nm-vpnc-service.c
16459 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16460 Should fix the bug where the VPN connection terminates the first time.
16462 2005-05-20 Dan Williams <dcbw@redhat.com>
16465 - Differentiate VPN config signals between bad VPN config options
16468 * gnome/applet/applet-dbus-info.h
16469 - Add prototypes for wireless network and vpn connection update functions
16471 * gnome/applet/applet-dbus.c
16472 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16474 * gnome/applet/applet.c
16475 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16477 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16478 propogation to NetworkManager
16479 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16480 notify propogation to NetworkManager
16482 * src/NetworkManagerDbus.c
16483 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16484 are updating so a network can be removed from it if necessary
16486 * src/vpn-manager/nm-vpn-manager.c
16487 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16489 * vpn-daemons/vpnc/nm-vpnc-service.c
16490 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16491 - (nm_vpnc_dbus_signal_launch_failed): remove
16492 - (nm_vpnc_dbus_signal_connect_failed): remove
16493 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16494 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16495 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16496 for new generalized error signal function, remove config file stuff
16497 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16498 we can write configuration options to it
16499 - (nm_vpnc_config_file_generate): removed
16500 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16501 - (nm_vpnc_config_options_validate): validate the config options we receive
16502 from NetworkManager to block potential exploits
16503 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16505 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16508 2005-05-16 Dan Williams <dcbw@redhat.com>
16510 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16511 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16514 2005-05-16 Dan Williams <dcbw@redhat.com>
16516 Patch from Tomislav Vujec <tvujec@redhat.com>
16517 * gnome/applet/applet-dbus-info.c
16518 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16519 GConf and pass them to NetworkManager. New key is 'routes' under
16520 the VPN connection, and should be a string list
16522 * src/NetworkManagerSystem.c
16523 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16524 set them on the device when we set the rest of the VPN config. Ensure
16525 they are in the correct format since they are passed directly to the
16528 * src/backends/NetworkManagerRedHat.c
16529 src/backends/NetworkManagerDebian.c
16530 - (nm_system_device_add_route_via_device_with_iface): new function
16532 * src/vpn-manager/nm-dbus-vpn.c
16533 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16535 * src/vpn-manager/nm-vpn-manager.c
16536 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16537 them into the IP4 config functions
16539 2005-05-15 Dan Williams <dcbw@redhat.com>
16541 From Filip Miletic:
16545 - Serbian translation added
16547 2005-05-15 Dan Williams <dcbw@redhat.com>
16549 * dispatcher-daemon/NetworkManagerDispatcher.c
16550 - (main): sync arguments with NetworkManager and the applet, now use
16551 "--no-daemon" rather than "daemon=no"
16552 - (nmd_print_usage): Fix script path in usage message
16554 2005-05-15 Dan Williams <dcbw@redhat.com>
16556 * src/NetworkManagerDevice.[ch]
16557 src/NetworkManagerPolicy.c
16558 src/NetworkManager.c
16560 - Remove the "just_added" parameter from nm_device_deactivate(). We no
16561 longer send the DeviceNoLongerActive signal unconditionally, but only
16562 when the device is actually active.
16564 * dispatcher-daemon/NetworkManagerDispatcher.c
16565 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16566 and simplify the logic
16567 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16568 we free it later on
16570 * initscript/RedHat/Makefile.am
16571 initscript/RedHat/NetworkManagerDispatcher
16572 - Add initscript for NetworkManagerDispatcher
16575 Patch from Bill Moss:
16576 * dispatcher-daemon/NetworkManagerDispatcher.c
16577 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16579 * src/NetworkManagerDbus.c
16580 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
16581 and DeviceNowActive gets signaled, then the device has a new IP address
16582 anyway. There's no need for a separate signal.
16584 * src/NetworkManagerDevice.c
16585 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16587 * src/NetworkManagerPolicy.c
16588 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16589 activates successfully. This kind of went missing when I reworked the
16592 2005-05-15 Dan Williams <dcbw@redhat.com>
16595 - Check for dhcdbd and error if its not found
16597 * src/dhcp-manager/Makefile.am
16598 src/dhcp-manager/nm-dhcp-manager.c
16599 - Use path to dhcdbd that configure found
16601 2005-05-14 Dan Williams <dcbw@redhat.com>
16603 * gnome/applet/nm-device.c
16604 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16605 sort wireless networks alphabetically
16607 * gnome/applet/applet-dbus-devices.c
16608 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16609 before copying them over to the GUI
16611 2005-05-14 Dan Williams <dcbw@redhat.com>
16613 * src/NetworkManager.c
16614 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16615 fixes a deadlock on shutdown with a VPN connection active. This function locks
16616 the device list, as does nm_get_active_device() which is called from
16617 nm_vpn_manager_deactivate_vpn_connection().
16619 2005-05-14 Dan Williams <dcbw@redhat.com>
16622 - Add signals for VPN Launch and Connect failures
16624 * gnome/applet/applet-dbus.c
16625 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16627 * gnome/applet/applet.c
16628 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16629 function to handle all VPN failure messages
16630 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
16631 function to hanlde all VPN failure messages
16632 - (show_warning_dialog): work around focus-stealing prevention
16634 * gnome/applet/other-network-dialog.c
16635 gnome/applet/passphrase-dialog.c
16636 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16637 problem where it never enabled for ASCII Key and Hex Key types
16639 * gnome/applet/wireless-applet.glade
16640 - Add window title to Other Wireless Network Dialog
16642 * src/vpn-manager/nm-dbus-vpn.c
16643 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16644 function to handle all VPN failure messages
16646 * src/vpn-manager/nm-vpn-manager.c
16647 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16649 * vpn-daemons/vpnc/nm-vpnc-service.c
16650 - (nm_vpnc_dbus_signal_launch_failed): new function
16651 - (nm_vpnc_dbus_signal_connect_failed): new function
16652 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16653 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16654 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16655 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16657 2005-05-11 Dan Williams <dcbw@redhat.com>
16659 * vpn-daemons/vpnc/nm-vpnc-service.c
16660 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16661 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16662 file exists before trying to write it out.
16664 2005-05-10 Dan Williams <dcbw@redhat.com>
16666 * gnome/applet/applet-dbus-device.c
16667 - (nmwa_dbus_set_device): remove check for valid key and key type, which
16668 prevented just entering ESSID and leaving key and key type up to
16669 NetworkManager (which should have them already cached)
16671 2005-05-08 Dan Williams <dcbw@redhat.com>
16673 * src/NetworkManagerPolicy.c
16674 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16675 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16676 fix a situation where NM is told to terminate and the device stops activation,
16677 but the main thread isn't aware of that because it would never have run
16678 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16681 * src/NetworkManagerDevice.c
16682 - (nm_device_probe_wired_link_state): cosmetic fixes
16683 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16684 we've failed to activate or been canceled.
16685 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16687 2005-05-08 Dan Williams <dcbw@redhat.com>
16689 * src/NetworkManagerWireless.c
16690 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16691 value of WEXT quality structures, and add a debug message when we cannot
16692 determine any quality % at all
16694 2005-05-08 Dan Williams <dcbw@redhat.com>
16696 * src/dhcp-manager/nm-dhcp-manager.c
16697 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16700 2005-05-06 Dan Williams <dcbw@redhat.com>
16702 * gnome/applet/applet-dbus-device.c
16703 gnome/applet/applet-dbus-info.c
16704 gnome/applet/applet-dbus.c
16705 gnome/applet/applet.c
16706 gnome/applet/applet.h
16707 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16709 * gnome/applet/applet-dbus.c
16710 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16711 so we notice when wired device's carriers come back on. Should
16712 fix issue with wired devices being grayed out even if the cable
16713 is in, for devices that support carrier detection.
16715 * gnome/applet/applet.c
16716 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16717 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16719 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16720 Fix situation where applet wouldn't respond to menu selections
16722 * src/NetworkManager.c
16723 src/NetworkManagerDevice.c
16724 src/NetworkManagerDbus.c
16725 src/NetworkManagerDbus.h
16726 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16728 * src/NetworkManagerDbus.c
16729 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16730 Remove, no longer used or relevant
16731 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16732 - (nm_dbus_schedule_device_status_change_signal): add
16734 * src/NetworkManagerDevice.c
16735 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16736 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16737 ie don't deactivate them unless explicitly told to by the user. Also send
16738 CARRIER_OFF / CARRIER_ON signals when link changes
16739 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16740 Don't print error message when device is no longer around
16741 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16742 not just during activation
16744 * src/NetworkManagerPolicy.c
16745 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16746 auto-device-selection.
16747 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16749 * src/NetworkManagerSystem.c
16750 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16751 is no longer present (Bill Moss)
16753 * src/backends/shvar.c
16754 - (svOpenFile): Open read-only to make SELinux happy
16756 * src/backends/NetworkManagerRedHat.c
16757 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16758 the path to the ifcfg-* files
16760 2005-05-05 Dan Williams <dcbw@redhat.com>
16762 * Expose activation stages to NetworkManager clients, like the applet
16763 * Add Diana's progress icons to the applet, cued off NM activation stage
16764 * Use more descriptive tooltips, cued off NM activation stage
16766 2005-05-05 Ray Strode <rstrode@redhat.com>
16768 * src/nm-netlink-monitor.c:
16769 - Use clear_event_source instead of g_nullify_pointer() again.
16771 2005-05-05 Dan Williams <dcbw@redhat.com>
16773 * gnome/applet/main.c
16774 - Fix session management so the applet is actually managed now
16776 * gnome/applet/passphrase-dialog.c
16777 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16779 2005-05-05 Dan Williams <dcbw@redhat.com>
16781 Patch from Bill Moss:
16782 * gnome/libnm_glib/libnm_glib.c
16783 - Fix for dbus-0.33
16785 2005-05-05 Dan Williams <dcbw@redhat.com>
16787 Suggestion from Bill Moss:
16788 * src/NetworkManagerSystem.c
16789 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
16792 * src/NetworkManager.c
16793 - (nm_data_free): move destruction of the various managers after
16794 release of device list, because deactivating and freeing a device
16795 requires at least the named manager
16796 - (nm_poll_and_update_wireless_link_state):
16797 (nm_device_link_activated):
16798 (nm_device_link_deactivated):
16799 don't grab the device list lock when actually updating device
16800 link status or strength, since nm_device_set_link_active()
16801 needs to call nm_get_active_device(), which also locks the device list.
16803 * src/NetworkManagerDevice.c
16804 - (nm_device_set_link_active): if a device's link switches from off->on,
16805 and it's wired, and the active device is wireless (or there is no
16806 active device), activate the new device whose link just came on
16807 - (link_to_specific_ap): try to smooth over intermittency in wireless links
16808 my only calling the link to the current ap "failed" when more than 2
16809 consecutive link checks have failed
16811 2005-05-04 Dan Williams <dcbw@redhat.com>
16813 * src/NetworkManagerDevice.c
16814 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
16815 but let link_to_specific_ap() do the locking where it needs
16817 Patch from Bill Moss:
16818 * src/NetworkManagerSystem.c
16819 - Set MTU of VPN devices to 1412
16821 2005-05-04 Dan Williams <dcbw@redhat.com>
16823 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
16825 * Fix some holes in device activation and retaining the currently connected
16828 2005-05-03 Dan Williams <dcbw@redhat.com>
16830 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
16831 This means that NetworkManager shouldn't have DHCP issues anymore. It also
16832 means you need dhcdbd, which you can get here (get the latest one):
16834 http://people.redhat.com/jvdias/dhcdbd/
16836 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
16837 interface as dhcdbd.
16839 * Rewrite device activation to facilitate the new DHCP infrastructure and
16840 future improvements. Its now "activation request" based, ie there is a single
16841 activation request composed of the device, access point, and other info which
16842 follows the entire activation process. There are 5 stages of the activation
16843 process which correspond to:
16845 1) Device preparation
16846 2) Device configuration (bring it up, set ESSID/Key/etc)
16847 3) IP Config Start (fire off DHCP if we're using it)
16848 4) IP Config Get (grab config from DHCP or static config files)
16849 5) IP Config Commit (set device's IP address, DNS, etc)
16851 Note that there is no longer a "scanning" step, since the access point must
16852 be known _before_ activation starts. If the access point drops out or does
16853 not exist for some reason, the entire activation process fails and must be
16854 restarted for a different access point or device.
16856 Patch from Bill Moss:
16857 * gnome/applet/applet.c
16858 - Fix type of vpn_failure dialog -> vpn_banner dialog
16860 2005-04-27 Dan Williams <dcbw@redhat.com>
16862 * gnome/applet/applet-dbus-vpn.c
16863 gnome/applet/applet.c
16864 gnome/applet/applet.h
16865 - Fix up active VPN handling so that we reliably know when a VPN
16866 connection has been deactivated
16868 * src/vpn-manager/nm-vpn-manager.c
16869 - Remove duplicate VPNConnectionChange signal
16871 2005-04-27 Dan Williams <dcbw@redhat.com>
16873 Patch from Peter Jones:
16874 * Remove usage of varargs to fix crashes on PPC (RH #154336)
16876 Patch from Bill Moss:
16877 * src/NetworkManagerSystem.c
16878 - Fix checking of return value from ioctl()
16880 2005-04-27 Dan Williams <dcbw@redhat.com>
16882 * Fix choosing of wireless networks and "Other wireless network..." from the applet
16883 * Warn and exit if icons cannot be found
16885 2005-04-27 Dan Williams <dcbw@redhat.com>
16887 Patch from Tom Parker:
16888 * Update debian backend
16890 2005-04-27 Dan Williams <dcbw@redhat.com>
16892 * Merge the applet and the info-daemon, and move the converged
16893 applet under gnome/applet
16894 * Move libnm_glib to gnome/libnm_glib
16895 * Convert most dbus calls between the applet, info-daemon, and NM
16897 * Fix a few things valgrind noticed
16898 * Make NM broadcast state more reliably
16900 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
16902 * configure.in: Added ne in ALL_LINGUAS
16904 2005-04-15 Dan Williams <dcbw@redhat.com>
16906 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
16907 code for dbus 0.2x versions
16909 2005-04-15 Dan Williams <dcbw@redhat.com>
16911 Patches from Tom Parker:
16913 - Join with worker thread rather than polling for its exit
16915 Patch from Bill Moss:
16916 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
16918 2005-04-15 Dan Williams <dcbw@redhat.com>
16920 - Fixes to pass 'make distcheck'
16922 2005-04-15 Dan Williams <dcbw@redhat.com>
16924 Initial VPN Support
16926 - reworks device IP configuration, backend files have changed and will need
16927 to be updated for all distributions. I will try to do what I can for
16928 them, but I cannot test them.
16930 - Move named directory to src/named-manager
16931 - Make backends directory self-contained
16933 2005-04-06 Dan Williams <dcbw@redhat.com>
16935 Add debug code for socket/file descriptor leaks. We register every socket
16936 that we open (except for stuff in dhcpcd/) for tracking, and print out the
16937 list of sockets that we forgot to close on shutdown. This also consolidates
16938 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
16940 2005-04-06 Dan Williams <dcbw@redhat.com>
16943 - (dhcp_interface_free): fix a file descriptor leak that may have
16944 caused network drivers to not unload due to refcounts > 0
16946 2005-04-04 Dan Williams <dcbw@redhat.com>
16948 * panel-applet/NMWirelessAppletDbus.c
16949 - (nmwa_dbus_call_nm_method): remove some commented code
16951 * src/NetworkManagerAPList.[ch]
16952 - (nm_ap_list_remove_ap_by_essid): new function
16954 * src/NetworkManagerDevice.c
16955 - (nm_device_wireless_force_use): remove access points from the ignore list
16956 when the user forces them
16958 * src/nm-dbus-device.c
16959 - (nm_dbus_device_get_active_network): fix up escaping of object paths
16961 2005-04-04 Dan Williams <dcbw@redhat.com>
16963 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
16965 2005-04-04 Dan Williams <dcbw@redhat.com>
16967 * src/NetworkManagerDevice.c:
16968 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
16969 of only erroring after the second consecutive scan times out. Also
16970 don't exit when the card requires more time than we can give it, just
16971 log the event and continue.
16973 2005-04-01 Steve Murphy <murf@e-tools.com>
16975 * configure.in: Added "rw" to ALL_LINGUAS.
16977 2005-04-01 Dan Williams <dcbw@redhat.com>
16979 Perform scans during device activation, if needed. Both activation
16980 and scans run in the same GMainContext. Therefore, if an access point
16981 is not found by the time the device starts activation, it will not
16982 be available until after activation. We now try to scan during
16983 activation (in nm_wa_test) every 15s so that all available access
16984 points are more likely to be found and available for the activation
16987 Also change nm_wireless_link_state_handle() to only update the "best"
16988 AP if we are not forcing a device and if we are not about to change
16989 state. This attempts to work around a race when forcing a device,
16990 where the forced AP would get cleared out too soon by the link state
16991 checking timeout in the main thread, and the activation attempt with
16992 that AP would fail.
16994 2005-04-01 Dan Williams <dcbw@redhat.com>
16997 - Update with new translatables
16999 2005-03-31 Dan Williams <dcbw@redhat.com>
17001 * panel-applet/NMWirelessAppletDbus.c
17002 - Fix device names now that hal has changed device parenting for
17005 2005-03-31 Dan Williams <dcbw@redhat.com>
17007 Tighten up handling of wireless devices that don't support wireless
17008 scanning (ie, Orinoco). Due to restructuring of code, these devices
17009 hadn't been doing pseudo-scanning for a while either and would just
17010 spin waiting for an access point. They are now manual devices where
17011 the user must choose the access point from the menu every time. All
17012 "allowed" access points are listed in the applet's menu regardless
17013 of whether or not they can be seen by the card, since it can't scan
17016 * src/NetworkManager.c
17017 - (nm_wireless_link_state_handle): new function, but only update
17018 the "best" ap for non-scanning devices when its not activating,
17019 and when no device is being forced on the card
17020 - (nm_link_state_monitor): split wireless link state handling out
17021 into separate function
17023 * src/NetworkManagerDevice.c
17024 - (nm_device_copy_allowed_to_dev_list): new function
17025 - (nm_device_new): populate non-scanning cards' AP lists with
17026 access points from the "allowed" list
17027 - (nm_device_new): don't start a scanning timeout for devices that
17029 - (nm_device_activation_schedule_finish): new parameter, should be
17030 the AP that failed to be connected to, pass it on to the
17031 activation finish function in NetworkManagerPolicy.c
17032 - (nm_device_activate_wireless): don't ever try to get a new AP
17033 for non-scanning devices, just fail. The user must choose
17034 a new access point manually.
17035 - (nm_device_activate): grab the AP that failed connection and
17037 - (nm_device_update_best_ap): Clear the best AP if we don't have
17038 a link to it, user must manually choose a new one
17039 - (nm_device_do_pseudo_scan): remove function
17040 - (nm_device_wireless_process_scan_results): remove bits for non-
17041 scanning cards since they never get here
17042 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17043 and fake the scan list for test devices a bit earlier
17045 * src/NetworkManagerPolicy.c
17046 - (nm_policy_activation_finish): use the failed_ap that we get
17047 passed rather than getting the best_ap from the card, which
17048 may have changed since we were scheduled
17049 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17050 update their scan list directly from the allowed list when
17051 we get updates to the allowed list from NetworkManagerInfo
17053 * src/NetworkManagerPolicy.h
17054 - New member for failed access point in NMActivationResult
17056 -------------------------------------
17058 Driver Notification patch: notifies the user when their driver
17059 sucks. Gives them the option to ignore further insertions
17060 of the card that has the sucky driver.
17063 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17064 enum and replace it with NO_CARRIER_DETECT and
17067 * panel-applet/NMWirelessApplet.[ch]
17068 - Merge essid.glade -> wireless-applet.glade
17069 - Implement the "Your driver sucks" notification dialog
17071 * panel-applet/NMWirelessAppletDbus.c
17072 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17073 - Grab hardware address for each device from NM too
17074 - Check whether the driver for each device sucks or not whenever
17075 a new device is noticed
17077 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17078 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17080 * src/NetworkManager.c
17081 - Fix a double-unref on device removal
17083 * src/NetworkManagerUtils.c
17084 - Set appropriate driver support level on a device that doesn't
17085 support scanning or carrier detection
17087 * src/nm-dbus-device.c
17088 - New "getHWAddress" dbus method on devices
17089 - getSupportsCarrierDetect -> getDriverSupportLevel
17091 2005-03-31 Dan Williams <dcbw@redhat.com>
17093 * src/NetworkManagerDevice.c
17094 - (nm_device_wireless_scan): Fix leak of scan results in some
17097 2005-03-29 Dan Williams <dcbw@redhat.com>
17099 * src/NetworkManager.c
17100 - (nm_poll_and_update_wireless_link_state): make code less indented
17102 Patch from Bill Moss:
17103 * src/NetworkManager.c
17104 - (nm_device_update_link_state): Update signal strength on wireless
17105 devices every time we update link state too.
17107 2005-03-29 Dan Williams <dcbw@redhat.com>
17109 * src/NetworkManagerDevice.c
17110 - (nm_device_set_essid): Work around Orinoco cards which need
17111 extra time after setting the ESSID
17113 2005-03-29 Dan Williams <dcbw@redhat.com>
17115 * src/NetworkManagerDevice.c
17116 - Merge one more bit of Peter Jones' completion patch
17118 2005-03-29 Dan Williams <dcbw@redhat.com>
17120 * src/NetworkManagerDevice.c
17121 - (nm_device_force_use): Fix possible segfault
17123 2005-03-29 Dan Williams <dcbw@redhat.com>
17125 * src/NetworkManagerDevice.c
17126 - Use iw_get_ext() where we should rather than iw_set_ext()
17128 2005-03-29 Dan Williams <dcbw@redhat.com>
17130 * src/NetworkManagerDevice.c
17131 - (nm_device_set_up_down): remove check for unsupported devices
17132 that caused NM to not bring devices up when they were
17133 added to the device list.
17135 2005-03-28 Dan Williams <dcbw@redhat.com>
17137 * src/NetworkManagerDevice.c
17138 - (mdio_read): Fix two bugs that caused all devices to fail
17139 the MII carrier detection support checks
17141 2005-03-26 Dan Williams <dcbw@redhat.com>
17143 * src/NetworkManagerDevice.c
17144 - (nm_device_wireless_scan): Remove duplicated scanning code
17146 2005-03-25 Dan Williams <dcbw@redhat.com>
17148 * panel-applet/NMWirelessApplet.c
17149 - (nmwa_about_cb): Add some more contributors
17150 - (nmwa_update_state): show the applet when there's no connection
17151 - Enable the "Stop/Resume all wireless devices" option in the
17153 - New "no connection" icon
17155 * src/NetworkManager.c
17156 - (nm_poll_and_update_wireless_link_state): don't do anything if
17157 wireless is disabled or we're asleep
17159 * src/NetworkManagerDHCP.c
17160 - Remove trailing "\n" on debug messages
17162 * src/NetworkManagerDbus.c
17163 - (nm_dbus_network_status_from_data): new state "asleep"
17165 * src/NetworkManagerDevice.c
17166 - Merge most of Peter Jones' "completion" patch that greatly reduces
17167 latency and wait times for most operations
17168 - (nm_device_wireless_scan): Don't scan when asleep
17170 * src/NetworkManagerPolicy.c
17171 - (nm_policy_get_best_device): return no device when asleep
17172 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17173 for all wireless devices on update, not just active device
17175 * src/NetworkManagerUtils.c
17176 - Merge Peter Jones' "completion" patch
17179 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17180 we're told to disable them
17181 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17184 - New variants of the warn/info/error/debug print functions that can take
17185 variables rather than static strings
17187 2005-03-24 Dan Williams <dcbw@redhat.com>
17189 * src/NetworkManagerUtils.c
17190 - (nm_get_device_driver_name): driver names are now on the parents of
17191 "Network Interface" objects, so look for them there
17193 2005-03-24 Dan Williams <dcbw@redhat.com>
17196 - Escape some forgotten object paths before we shove them through dbus
17198 2005-03-24 Dan Williams <dcbw@redhat.com>
17200 * dhcpcd/dhcpcd.[ch]
17201 src/NetworkManagerDHCP.c
17202 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17203 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17205 * src/NetworkManagerDbus.c
17208 * src/nm-dbus-dhcp.c
17209 - Make the API suck less. There is now only 1 type of each function,
17210 ie only "getInteger" and no longer also "getIntegerv". All types
17211 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17212 that will never have more than 1 element. This should simplify
17215 * test/nm-dhcp-opt-test.c
17216 - Make the tool not segfault
17217 - adapt to new DHCP Options API
17219 2005-03-22 Dan Williams <dcbw@redhat.com>
17221 * src/NetworkManager.c
17222 - (nm_wired_link_deactivated): actually ignore netlink events from
17225 2005-03-22 Dan Williams <dcbw@redhat.com>
17227 * src/NetworkManager.c
17228 - (nm_wired_link_activated): actually ignore netlink events from
17231 2005-03-17 Dan Williams <dcbw@redhat.com>
17233 Patch from Tom Parker:
17234 * src/nm-netlink-monitor.c
17236 * info-daemon/NetworkManagerInfoDbus.c
17237 - (nmi_dbus_update_network_auth_method): free GConf values
17239 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17240 * src/NetworkManagerDevice.c
17241 - (nm_device_set_wireless_config): wait for successful
17242 association longer for some cards (Atheros a/b/g)
17244 2005-03-15 Ray Strode <rstrode@redhat.com>
17246 * src/NetworkManager.c:
17247 (sigterm_pipe_handler):
17250 2005-03-15 Ray Strode <rstrode@redhat.com>
17252 * src/NetworkManagerDbus.c:
17253 Fix some sign weirdness that gcc4 doesn't like,
17254 and add a header file so PPC can hopefully find
17257 2005-03-14 Ray Strode <rstrode@redhat.com>
17259 Fourth (probably working) cut at porting to
17260 dbus 0.30 api and new hal. This cut adds
17261 some new logging macros to make debugging
17264 * dispatcher-daemon/NetworkManagerDispatcher.c:
17265 * info-daemon/NetworkmanagerInfo.c:
17266 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17267 * info-daemon/NetworkManagerInfoVPN.c:
17268 * src/NetworkManager.c:
17269 * src/NetworkManagerAP.c:
17270 * src/NetworkManagerAPList.c:
17271 * src/NetworkManagerDHCP.c:
17272 * src/NetworkManagerDbus.c:
17273 * src/NetworkManagerDevice.c:
17274 * src/NetworkManagerPolicy.c:
17275 * src/NetworkManagerSystem.c:
17276 * src/NetworkManagerUtils.c:
17277 * src/NetworkManagerWireless.c:
17279 * src/nm-dbus-nm.c:
17280 * src/backends/NetworkManagerDebian.c:
17281 * src/backends/NetworkManagerGentoo.c:
17282 * src/backends/NetworkManagerRedHat.c:
17283 * src/backends/NetworkManagerSlackware.c:
17284 use new logging macros.
17286 * dispatcher-daemon/NetworkManagerDispatcher.c:
17287 (nmd_dbus_filter): s/dbus_free/g_free/
17289 * info-daemon/Makefile.am: link in utils library.
17290 * info-daemon/NetworkmanagerInfo.c: use new logging
17292 (nmi_dbus_get_network): don't assume enumerations
17294 (nmi_dbus_nmi_message_handler): don't free what
17295 doesn't belong to us.
17297 * libnm_glib/libnm_glib.c:
17298 (libnm_glib_get_nm_status):
17299 (libnm_glib_init): don't free what doesn't
17301 (libnm_glib_dbus): strdup result, so it doesn't get
17302 lost when message is unref'd.
17304 * panel-applet/NMWirelessAppletDbus.c:
17305 (nmwa_dbus_update_devices): s/dbus_free/g_free/
17307 * src/NetworkManager.c:
17308 (nm_monitor_wired_link_state): request initial status
17309 dump of all cards when we start up, instead of relying
17310 on /sys/.../carrier.
17311 (nm_info_handler), (nm_set_up_log_handlers):
17312 log handlers to specify what syslog priorites
17313 the logging macros default to.
17315 * src/NetworkManagerAPList.c:
17316 (nm_ap_list_populate_from_nmi):
17317 s/dbus_free_string_array/g_strfreev/
17319 * src/NetworkManagerDbus.c:
17320 (nm_dbus_get_network_object):
17321 validate d-bus message argument types.
17322 Advance message iterator after reading argument,
17323 prepend instead of append to GSList.
17325 * src/NetworkManagerDevice.c:
17326 (nm_device_probe_wired_link_status):
17327 remove redundant /sys in /sys path. remove wrong
17328 contents == NULL means has carrier assumption.
17330 * src/nm-netlink-monitor.c
17331 (nm_netlink_monitor_request_status): implement
17332 function to ask kernel to dump interface link
17333 status over netlink socket.
17335 * test/*.c: s/dbus_free/g_free/
17337 * utils/nm-utils.h:
17338 (nm_print_backtrace): new macro to print backtrace.
17339 (nm_get_timestamp): new macro to get sub-second precise
17341 (nm_info), (nm_debug), (nm_warning), (nm_error):
17342 new logging functions. nm_info just prints,
17343 nm_debug includes timestamp and function,
17344 nm_warning includes function, nm_error includes
17345 backtrace and sigtrap.
17347 2005-03-11 Ray Strode <rstrode@redhat.com>
17349 Third (unfinished, partially working) cut at porting to
17350 dbus 0.30 api and new hal.
17352 * info-daemon/NetworkManagerInfoDbus.c:
17353 don't free null arrays.
17355 * panel-applet/NMWirelessAppletDbus.c:
17356 * src/nm-dbus-device.c:
17357 * src/nm-dbus-net.c:
17358 * src/NetworkManagerDbus.c: more
17359 STRING -> OBJECT_PATH fun
17360 * src/NetworkManagerDevice.c:
17361 * src/NetworkManagerDevice.h:
17362 (rename nm_device_get_link_active): rename to
17363 nm_device_has_active_link
17364 (nm_device_wireless_link_active): rename to
17365 nm_device_probe_wireless_link_state
17366 (nm_device_wired_link_active): rename to
17367 nm_device_probe_wired_link_state. Rewrite to
17368 use carrier file since hal doesn't maintain
17369 link state anymore.
17370 (nm_device_update_link_active): rename to
17371 nm_device_update_link_state
17372 * src/NetworkManagerPolicy.c
17373 (nm_policy_activation_finish): check for NULL
17377 * src/NetworkManagerMain.h:
17378 * src/NetworkManager.c:
17379 * src/nm-netlink-monitor.c:
17380 * src/nm-netlink-monitor.h: New class to support
17381 monitoring wired ethernet link status, since HAL
17382 doesn't export that information anymore.
17384 2005-03-09 Ray Strode <rstrode@redhat.com>
17386 Second (unfinished, unworking) cut at porting to
17389 * dispatcher-daemon/NetworkManagerDispatcher.c:
17390 * info-daemon/NetworkManagerInfoDbus.c:
17391 * panel-applet/NMWirelessAppletDbus.c:
17392 * src/NetworkManagerDbusUtils.c:
17393 * src/NetworkManagerDbusUtils.h:
17394 * src/nm-dbus-device.c:
17395 * src/nm-dbus-nm.c:
17396 * test/nmtest.c: support dbus "object path" type
17400 * info-daemon/Makefile.am:
17401 * libnm_glib/Makefile.am:
17402 * panel-applet/Makefile.am:
17403 * dispatcher-daemon/Makefile.am
17405 * test/Makefile.am:
17406 * utils/Makefile.am:
17407 * utils/nm-utils.c:
17408 * utils/nm-utils.h: new utils static lib
17410 2005-03-07 Ray Strode <rstrode@redhat.com>
17412 * info-daemon/NetworkManagerInfoDbus.c:
17413 * libnm_glib/libnm_glib.c:
17414 * panel-applet/NMWirelessAppletDbus.c:
17415 * src/NetworkManager.c:
17416 * src/NetworkManagerDbus.c:
17417 * src/NetworkManagerDevice.c:
17418 * src/NetworkManagerUtils.c:
17419 * src/nm-dbus-device.c:
17420 * src/nm-dbus-dhcp.c:
17421 * src/nm-dbus-net.c:
17422 * src/nm-dbus-nm.c:
17423 * test/nminfotest.c:
17424 First (unfinished, unworking) cut at porting to dbus 0.30 api.
17426 2005-03-04 Dan Williams <dcbw@redhat.com>
17431 2005-03-04 Dan Williams <dcbw@redhat.com>
17433 Patch from Peter Jones:
17434 - Make stuff work with gcc 4.0
17436 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
17438 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17440 2005-02-27 Jim Huang <jserv@kaffe.org>
17442 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17444 2005-02-27 Dan Williams <dcbw@redhat.com>
17446 Patch from Bill Moss:
17447 * panel-applet/NMWirelessAppletDbus.c
17448 - Make sure strength for current access point is up-to-date when we
17449 update the gui data model
17451 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
17453 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17455 2005-02-27 Dan Williams <dcbw@redhat.com>
17457 * src/backends/NetworkManagerRedHat.c
17458 - (nm_system_init): Kill any dhclient processes lying around as well
17459 as stopping 'nifd' if its already been started. NetworkManager
17460 subsumes the functions of nifd (kicking mDNSResponder, autoip)
17462 2005-02-27 Dan Williams <dcbw@redhat.com>
17464 * panel-applet/NMWirelessApplet.c
17465 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17466 dbus data model, not the GUI data model twice.
17468 2005-02-27 Dan Williams <dcbw@redhat.com>
17470 * panel-applet/NMWirelessApplet.[ch]
17471 panel-applet/NMWirelessAppletDbus.[ch]
17472 - Move to incremental network updates. Instead of blowing away our list
17473 of devices every time we get a signal from NetworkManager, we now
17474 incrementally add/remove networks when NetworkManager notifies us that
17475 a new network has appeared or disappered. Strength updates now happen
17476 on-the-fly for each access point as well. There are now two copies of
17477 data from NetworkManager: one for the dbus side, and one for the gui side.
17478 When the dbus side data is modified, it is copied over to the gui side
17479 so we don't have to hold the data_mutex for long periods of time (and
17480 therefore block animation of the applet's icon).
17481 - Clean up some memleaks too
17483 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17484 - Minor code beautification
17486 * src/NetworkManagerAPList.c
17487 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17488 completely new and whether or not an existing one's strength was updated.
17489 Try to fix multiple access points and signal strength by using the highest
17490 signal strength in each scan for any given ESSID.
17492 * src/NetworkManagerDbus.[ch]
17493 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17494 wireless networks; now we have only WirelessNetworkUpdate which includes
17495 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17496 - Kill usage of DbusMessageIter
17498 * src/NetworkManagerDevice.c
17499 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17500 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
17501 AP rather than all-at-once. Also don't ever remove the AP a card is
17502 currently associated with from the network list.
17503 - Update for new signals during scan, send out Appeared, Disappeared, or
17504 StrengthChanged when necessary.
17506 2005-02-25 Dan Williams <dcbw@redhat.com>
17509 - Line break the README
17511 2005-02-25 Dan Williams <dcbw@redhat.com>
17513 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17514 - Remove usage of gtk_window_set_default_size()
17516 * panel-applet/essid.glade
17517 - Stick default size here
17518 - Add in random crap that current glade wants to add in now
17520 2005-02-25 Dan Williams <dcbw@redhat.com>
17522 * src/backends/NetworkManagerRedHat.c
17523 - For non-caching-nameserver/non-named case, ensure that nscd is running
17524 and that we actually tell nscd to reload the hosts cache when it changes
17526 2005-02-25 Dan Williams <dcbw@redhat.com>
17528 * info-daemon/NetworkManagerInfoDbus.c
17529 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17531 * test/nminfotest.c
17532 - Whack usage of DbusMessageIter
17533 - Clean up DbusError and DbusMessage handling and freeing
17534 - Remove unused unregister handler
17537 - Whack usage of DbusMessageIter
17539 * test/nmtestdevices.c
17540 - Whack usage of DbusMessageIter
17542 2005-02-25 Dan Williams <dcbw@redhat.com>
17545 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17548 2005-02-25 Dan Williams <dcbw@redhat.com>
17550 * named/nm-named-manager.c
17551 - Ensure that pid and watch variables for child named process get cleared out
17552 when the child goes away.
17554 2005-02-22 Dan Williams <dcbw@redhat.com>
17556 * src/NetworkManagerPolicy.c
17557 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17558 and NULL out data->active_device so that we have to choose another one.
17559 This may make NetworkManager keep attempting to connect to a wired network
17560 if it fails, but if it keeps failing the wired network has more problems than
17561 just NetworkManager.
17563 * src/backends/NetworkManagerRedHat.c
17564 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17567 * named/nm-named-manager.c
17568 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17569 named so that the distro can flush whatever name service caching
17572 2005-02-21 Dan Williams <dcbw@redhat.com>
17574 * src/NetworkManagerDHCP.[ch]
17575 - (nm_device_dhcp_remove_timeouts): new function
17577 * src/NetworkManagerDevice.c
17578 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17579 remove the DHCP timeouts.
17581 2005-02-21 Dan Williams <dcbw@redhat.com>
17583 * panel-applet/NMWirelessApplet.[ch]
17584 panel-applet/menu-info.[ch]
17585 - Give the panel applet some major love: menu items are no longer
17586 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17587 This allows the applet to actually reflect theme changes correctly,
17588 since themeing of subclassed items in GTK _sucks_.
17590 2005-02-18 Dan Williams <dcbw@redhat.com>
17592 * libnm_glib/libnm_glib.[ch]
17593 test/libnm_glib_test.c
17594 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17595 and its data, and doesn't have to free the callback data anymore
17597 2005-02-18 Dan Williams <dcbw@redhat.com>
17599 * panel-applet/NMWirelessApplet.c
17600 - Revert 2005-02-18 William Jon McCann fix for standard
17601 copyright string until it passes 'make distcheck'.
17602 With standard copyright string, xgettext complains
17603 about "Non-ASCII string at ...".
17605 2005-02-18 Dan Williams <dcbw@redhat.com>
17607 * panel-applet/essid.glade
17608 panel-applet/NMWirelessAppletOtherNetworksDialog.c
17609 - Correct spelling of "adaptor"->"adapter"
17611 2005-02-18 William Jon McCann <mccann@jhu.edu>
17613 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17614 (nmwa_about_cb): Use standard copyright string. Update comment
17615 text to reflect that it is a notification area applet. Remove
17616 leading newline in authors list.
17617 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17618 instead of on parent menu item activation. Fixes #167550.
17620 2005-02-18 William Jon McCann <mccann@jhu.edu>
17622 * panel-applet/essid.glade: Capitalize items as per HIG.
17625 2005-02-16 William Jon McCann <mccann@jhu.edu>
17627 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17628 files for GTK 2.4 or lower, since now public in GTK 2.6.
17630 * panel-applet/essid.glade: Don't specify window size.
17632 2005-02-17 Dan Williams <dcbw@redhat.com>
17634 Caught by Bill Moss:
17636 - Time remaining for DHCP transaction calculation was incorrectly
17637 inside a #ifdef DEBUG
17639 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
17641 * configure.in: Added fr (French) to ALL_LINGUAS.
17643 2005-02-14 Dan Williams <dcbw@redhat.com>
17645 * src/NetworkManagerDHCP.c
17646 - (set_domain_searches): Fix free of invalid pointer
17648 2005-02-14 Dan Williams <dcbw@redhat.com>
17650 Patch from Peter Jones:
17652 - Ensure we return RET_DHCP_CEASED everywhere we should
17653 * dhcpcd/udpipgen.c
17654 - Use faster TOS for IP packets
17655 - Don't set ip_id since we're UDP
17657 Patch from Tomislav Vujec:
17658 * src/nm-dbus-dhcp.c
17659 test/nm-dhcp-opt-test.c
17660 - Clean up warnings to enable cvs tree compilation.
17662 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
17666 - Add the Croatian locale.
17668 2005-02-14 Colin Walters <walters@verbum.org>
17670 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17671 list of domains to search.
17673 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17675 2005-02-13 Dan Williams <dcbw@redhat.com>
17678 - Debug output cleanups of DHCP option printing and parsing.
17680 2005-02-13 Dan Williams <dcbw@redhat.com>
17682 Patch from Dan Reed: DHCP options D-BUS API
17683 Exposes the DHCP options that a device receives to clients over D-BUS.
17689 - Correct names, option length, and types for DHCP options
17691 * dhcpcd/dhcpcd.[ch]
17692 - Clarify function names that access DHCP options & data
17694 * src/NetworkManagerDHCP.c
17695 - Use new DHCP data access functions
17697 * src/NetworkManagerDbus.c
17698 - Message handler for DHCP functions
17700 * src/nm-dbus-dhcp.[ch] (new)
17701 - DHCP dbus methods
17703 * test/nm-dhcp-opt-test.c
17704 - Test DHCP D-BUS API and return all present DHCP options
17706 2005-02-12 Dan Williams <dcbw@redhat.com>
17709 test/nmclienttest.c
17711 - Move nmclienttest.c -> nmtest.c
17713 2005-02-12 Dan Williams <dcbw@redhat.com>
17715 * dhcpcd/buildmsg.c
17716 - Pad DHCP packets until they are at least 300 bytes in size.
17718 2005-02-11 Dan Williams <dcbw@redhat.com>
17721 - (dhcp_init): only print out client ID and class ID if they are specified
17723 * src/NetworkManagerDbus.[ch]
17724 src/nm-dbus-nm.[ch]
17725 src/nm-dbus-device.[ch]
17726 src/nm-dbus-net.[ch]
17727 - Move NM, Device, and Net functions to separate files and use the
17728 dbus method list stuff in NetworkManagerDbusUtils.c to do
17731 * src/NetworkManagerDbusUtils.c
17732 - Add new validate_method called before each dispatch (if present)
17733 that can validate the method call
17735 * src/NetworkManagerWireless.c
17736 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17737 levels never to be evaluated
17739 Patch from j@bootlab.org
17740 * src/NetworkManagerDevice.c
17741 - Add typedef for "u64"
17743 * src/backends/NetworkManagerDebian.c
17744 - Copy in Dave Woodhouse's fixes for IPv6
17746 2005-02-11 Dan Williams <dcbw@redhat.com>
17748 Patch from Dave Woodhouse for IPv6:
17749 * src/NetworkManagerUtils.c
17750 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17751 and multicast addresses
17753 * src/NetworkManagerDevice.c
17754 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17755 after bringing up a card.
17757 2005-02-10 Dan Williams <dcbw@redhat.com>
17759 Patch from Dave Woodhouse:
17760 * src/NetworkManagerSystem.h
17761 src/backends/NetworkManagerDebian.c
17762 src/backends/NetworkManagerGentoo.c
17763 src/backends/NetworkManagerSlackware.c
17764 - New nm_system_device_add_ip6_link_address() function to add link-local
17765 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
17767 * src/backends/NetworkManagerRedHat.c
17768 - (nm_system_device_add_ip6_link_address): implement
17769 - (nm_system_device_flush_addresses): revert to previous behavior of
17770 flushing all addresses
17772 2005-02-10 Dan Williams <dcbw@redhat.com>
17774 Patch from Tom Parker:
17775 * src/NetworkManagerDevice.c
17776 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17777 mii.h headers are broken, and instead use our own typedefs
17779 2005-02-10 Dan Williams <dcbw@redhat.com>
17781 * dhcpcd/buildmsg.c
17782 - (fill_host_and_class_id): only fill in client and class IDs if
17783 they are set by callers.
17786 - (class_id_setup): don't autogenerate a class ID, only use one
17787 we're given, if any.
17788 - (client_id_setup): don't autogenerate a client ID, only use one
17789 we're given, if any.
17792 - (dhcp_interface_init): ensure that client options are correctly
17795 * src/NetworkManagerDHCP.c
17796 - (nm_device_dhcp_request): pass hostname to dhcp library
17798 2005-02-10 Dan Williams <dcbw@redhat.com>
17801 - #rh147661# Don't send kernel version in DHCP requests
17803 * src/NetworkManagerSystem.h
17804 src/backends/NetworkManagerDebian.c
17805 src/backends/NetworkManagerGentoo.c
17806 src/backends/NetworkManagerRedHat.c
17807 src/backends/NetworkManagerSlackware.c
17808 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
17809 functions, they are no longer used anyway
17811 * src/backends/NetworkManagerRedHat.c
17812 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
17813 addresses in an attempt to keep IPv6 local-scope addresses around
17815 2005-02-10 Dan Williams <dcbw@redhat.com>
17817 * src/NetworkManager.c
17818 - (nm_create_device_and_add_to_list): change the add message slightly
17820 * src/NetworkManagerUtils.c
17821 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
17822 Return driver name to calling function
17823 - (nm_get_driver_support_level): print out the driver a device is using
17824 during the support check
17826 Patch from Dave Woodhouse:
17827 * dhcpcd/udpipgen.c
17828 - (in_cksum): copy last byte of odd-sized packets into a
17829 'u_short' rather than a 'u_char', should fix wrong checksums
17830 on big-endian platforms
17832 2005-02-09 Dan Williams <dcbw@redhat.com>
17834 * Clean up usage of GSList objects and looping through their members
17835 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
17837 * Fix problem where even if scanning was turned off, card would still
17838 cycle through frequencies.
17840 2005-02-08 Dan Williams <dcbw@redhat.com>
17842 * panel-applet/NMWirelessApplet.c
17845 2005-02-08 Dan Williams <dcbw@redhat.com>
17847 Patch from Bill Moss
17848 * panel-applet/NMWirelessApplet.c
17849 - Restore correct ESSID in tooltips
17851 2005-02-07 Dan Williams <dcbw@redhat.com>
17853 * panel-applet/NMWirelessApplet.[ch]
17854 - Add a context menu that contains:
17855 Pause/Resume Wireless Scanning
17856 Stop/Start All Wireless Devices
17858 - Grab active device strength off active device,
17861 * panel-applet/NMWirelessAppletDbus.[ch]
17862 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
17863 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
17864 - Update active device strength every 2 seconds, not every 1 second
17866 * panel-applet/menu-info.c
17867 - Only disable wired devices in the menu when they support carrier detection,
17868 and don't currently have a link. Non-carrier-detect devices will always
17872 src/NetworkManagerDbusUtils.[ch]
17873 - Add new new dbus utils sources
17875 * src/NetworkManager.c
17876 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
17877 with the boolean parameter
17878 - Set scanning_enabled & wireless_enabled to TRUE
17880 * src/NetworkManagerDbus.c
17881 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
17882 - Implement scanning & wireless enable/disable calls
17883 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
17885 * src/NetworkManagerDevice.c
17886 - New link detection stuff again...
17887 o Create device's mainloop earlier (but don't run it earlier)
17888 o Hook up new carrier-detect support stuff
17889 o Add in the ethtool & mii support detection code
17890 - Don't scan if scanning is disabled
17892 * src/NetworkManagerPolicy.c
17893 - Never automatically choose a device that doesn't support carrier detection
17894 - Don't automatically choose a wireless device if wireless is disabled
17896 2005-02-07 Dan Williams <dcbw@redhat.com>
17898 * libnm_glib/libnm_glib.c
17899 - Small cleanup in element list iteration
17901 2005-02-07 Dan Williams <dcbw@redhat.com>
17903 * src/NetworkManagerWireless.c
17904 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
17905 to be in line with the WEXT quality specification
17907 2005-02-02 Dan Williams <dcbw@redhat.com>
17909 Patch from Nathan Fredrickson <nathan@silverorange.com>
17910 * Fix up compile for deprecation of libgnomeui
17911 - Switch to <glib/gi18n.h> from <libintl.h>
17912 - Remove <libgnomeui/libgnomeui.h> includes
17913 - Use gtk_window_set_default_icon_from_file() rather than
17914 gnome_window_set_default_icon_from_file()
17916 * named/nm-named-manager.c
17917 - (generate_named_conf): Fix return-nothing in non-void
17920 2005-02-02 Dan Williams <dcbw@redhat.com>
17922 * Clean up unused variables and the like
17924 2005-02-02 Dan Williams <dcbw@redhat.com>
17926 * src/NetworkManagerAPList.c
17927 - (nm_ap_list_merge_scanned_ap): merge strength too
17929 * src/NetworkManagerUtils.c
17930 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
17931 of locking issues by printing out prettier information than g_mutex_lock
17932 - Print out names of mutexes registered with nm_register_mutex_desc()
17933 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
17934 us to seemingly block here for too long
17936 * src/NetworkManager.c
17937 src/NetworkManagerAPList.c
17938 src/NetworkManagerDevice.c
17939 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
17940 so we get better debug information printed
17942 * src/NetworkManagerDbus.c
17943 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
17944 since it sometimes has locking side effects
17945 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
17947 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
17948 we don't need a switch. This gets called often enough that we can't block
17949 until the scan mutex is acquired, because we'll block on device activation
17950 and a few other things, which hangs main thread for too long.
17952 * src/NetworkManagerPolicy.c
17953 - (nm_policy_auto_get_best_device): reduce the possiblity that
17954 nm_device_need_ap_switch() will be called
17956 2005-02-02 Dan Williams <dcbw@redhat.com>
17958 * panel-applet/NMWirelessApplet.c
17959 - Display name of wireless network we are connecting to or connected to
17960 in the tooltip of the applet
17962 2005-02-02 Dan Williams <dcbw@redhat.com>
17964 * src/NetworkManagerDHCP.c
17965 - Hopefully fix double-default-route problem by cleaning up the default
17966 route added by DHCP code right before the DHCP transaction begins
17968 2005-02-02 Dan Williams <dcbw@redhat.com>
17970 * named/nm-named-manager.c
17971 - Write out valid resolv.conf when we exit
17973 2005-02-01 Dan Williams <dcbw@redhat.com>
17975 Patch from Colin Walters:
17976 * named/nm-named-manager.c
17977 - Make multi-domain search options work
17979 2005-01-31 Dan Williams <dcbw@redhat.com>
17981 * info-daemon/NetworkManagerInfoDbus.c
17982 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
17984 * src/NetworkManagerDevice.c
17985 - (nm_device_new): Don't store the entire range struct, use only what we need
17986 (which is currently avg_quality, max_quality, and frequencies). Also
17987 zero device structure when we've free'd it to maybe expose errors down
17989 - (nm_device_update_signal_strength): grab the scan mutex before getting
17990 quality data from the card since quality will be useless during a scan.
17991 Call updated wireless qual-to-percent function with values stored in
17992 nm_device_new() earlier.
17993 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
17994 nm_device_get_bad_crypt_packets())
17995 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
17997 - (get_initial_auth_method): always use the Auth method that's in the allowed
17998 list if available. Problem was this: when the WEP key is wrong, NM will
17999 try OS then SK modes, and then get stuck in SK mode after that. This
18001 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18004 * src/NetworkManagerWireless.c
18005 - (nm_wireless_qual_to_percent): try to make this function actually work and
18006 mimic iwlib behavior. Use card's idea of quality divided by max_qual
18007 if that's all present, otherwise fall back to signal-to-noise ratios.
18009 2005-01-29 Dan Williams <dcbw@redhat.com>
18011 * initscript/RedHat/NetworkManager
18012 - Don't spit out sysctl stuff to console
18014 * libnm_glib/libnm_glib.c
18015 - (libnm_glib_init): call dbus_g_thread_init()
18017 * panel-applet/NMWirelessAppletDbus.c
18018 - (nmwa_dbus_worker): call dbus_g_thread_init()
18020 * src/NetworkManager.c
18021 - (main): call dbus_g_thread_init()
18023 * src/NetworkManagerAPList.c
18024 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18025 so we can actually see what's there in a normal syslog
18027 * src/NetworkManagerDevice.c
18028 - (nm_device_activate_wireless): print out the "waiting for access point"
18029 message only once, then say what access point we actually got after
18031 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18032 function, wait until the scan is done. Scans may change the ESSID of
18033 the card, making this function think we need to switch access points
18034 - (nm_device_wireless_process_scan_results): for artificial access points
18035 don't check against the card's ESSID, but the best_ap's ESSID. This
18036 prevents collisions with the scanning code, which may change the card's
18037 ESSID and cause the access point to get dropped from the device's AP
18038 list. Also increase the keep-around time to 2m from 60s since the max
18039 scan interval could be 60s in some cases.
18041 * src/NetworkManagerPolicy.c
18042 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18043 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18044 the new properties and ESSIDs to the device's AP list. Fixes some races
18045 between NM and NMI.
18047 2005-01-27 Dan Williams <dcbw@redhat.com>
18049 * info-daemon/NetworkManagerInfoDbus.c
18050 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18051 GConf, make a minimal entry for it (essid & timestamp)
18053 * src/NetworkManagerAPList.c
18054 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18055 NetworkManagerInfo isn't running
18057 * src/NetworkManagerDbus.[ch]
18058 - (nm_dbus_nmi_is_running): new function
18060 * src/NetworkManagerDevice.c
18061 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18062 address to garbage.
18064 * src/NetworkManagerPolicy.c
18065 - (nm_policy_activation_finish): On successful activation, make sure
18066 the "best" AP has a MAC address, and don't tell NMI to add the
18067 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18068 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18069 access point after refreshing our allowed list if it doesn't already
18070 have a "best" access point.
18072 2005-01-25 Dan Williams <dcbw@redhat.com>
18074 * panel-applet/NMWirelessAppletDbus.c
18075 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18076 so we check for NM_DBUS_SERVICE rather than not for it
18078 * libnm_glib/libnm_glib.c
18079 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18080 ServiceOwnerChanged signal
18082 2005-01-25 Dan Williams <dcbw@redhat.com>
18085 - Check DBUS version in configure, and set the C macros
18086 DBUS_VERSION_[MAJOR,MINOR,MICRO]
18088 * info-daemon/NetworkManagerInfoDbus.c
18089 - Remove #if 0-d section of code that quit NMI if NM went away.
18091 * panel-applet/NMWirelessAppletDbus.c
18092 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18094 * src/NetworkManager.c
18095 src/NetworkManagerMain.h
18096 src/NetworkManagerDbus.c
18097 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18098 - Make updating of our Allowed Wireless Network lists from NMI
18099 an idle function in the main thread now, with a high priority.
18101 2005-01-24 Dan Williams <dcbw@redhat.com>
18103 * panel-applet/gtkcellview.[ch]
18104 panel-applet/menu-info.c
18105 - Fix GTK version checks to be <= rather than <
18108 - Include the libtool archive of libnm_glib rather than
18109 trying to pull in the .so
18111 2005-01-24 Dan Williams <dcbw@redhat.com>
18113 * src/NetworkManagerDevice.c
18114 src/NetworkManagerDevicePrivate.h
18115 - Block nm_device_new() until our device's worker thread has had a
18116 chance to start up. Fixes a race between main thread and worker
18117 thread starting that caused activation requests to get lost.
18119 2005-01-24 Dan Williams <dcbw@redhat.com>
18121 * initscript/RedHat/NetworkManager
18122 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18123 to add the NM startup script at priority 50, which was
18126 2005-01-24 Colin Walters <walters@redhat.com>
18128 * named/named.conf: Use any port for query source instead of
18129 restricting to port 53.
18131 2005-01-24 Dan Williams <dcbw@redhat.com>
18133 * initscript/RedHat/NetworkManager
18134 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18135 to add the NM startup script at priority 50, which was
18138 2005-01-24 Dan Williams <dcbw@redhat.com>
18140 Patch from Tom Parker <palfrey@tevp.net>
18141 * Fix up compile warnings & errors in the wireless applet
18143 2005-01-24 Dan Williams <dcbw@redhat.com>
18145 * panel-applet/NMWirelessApplet.c
18146 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18148 2005-01-24 Dan Williams <dcbw@redhat.com>
18150 * panel-applet/gtkcellview.[ch]
18151 - Only compile these files for GTK 2.4 or lower, since
18152 GtkCellView is now public in GTK 2.6. Fixes crasher
18153 when choosing "Other Wireless Networks" from the panel
18156 2005-01-21 Dan Williams <dcbw@redhat.com>
18158 * src/NetworkManager.c
18159 - Daemonize earlier so that glib doesn't get confused (?)
18161 2005-01-21 Dan Williams <dcbw@redhat.com>
18163 * panel-applet/NMWirelessApplet.[ch]
18164 panel-applet/NMWirelessAppletDbus.c
18165 panel-applet/menu-info.c
18166 src/NetworkManagerDevice.c
18167 - Disable wired devices in the menu when they have no link.
18169 2005-01-21 Dan Williams <dcbw@redhat.com>
18171 * Cache last-known-good wireless authentication method in
18172 NetworkManagerInfo, and use that method first during
18173 wireless device activation. Should speed up devices that
18174 need Shared Key authentication method since Open System is
18177 * Remove the hack to not do full activation on wired connections
18178 that are active when we launch, it causes too many problems
18179 with name resolution and was a hack in the first place.
18181 * Re-work wireless device activation again somewhat to have a
18182 clearer chain of events and to use last-known-good
18183 authentication method of the access point. Also provide
18184 better status throughout activation to ensure the applet
18185 can tell the user exactly what's going on.
18187 * Remove the "find wireless network" code and now simply attempt
18188 to activate with that access point. This reduces the delay
18189 between selecting "Other wireless Network" and actually
18190 connecting to that network.
18192 * Correctly stop the device's worker thread when its removed.
18194 2005-01-21 Dan Williams <dcbw@redhat.com>
18197 - Clean up some of the debug messages
18199 2005-01-21 Dan Williams <dcbw@redhat.com>
18201 * Add new icons, more frames of animation
18202 * Remove some hacks to get the panel applet to display correct
18203 status, an NM update will soon follow that will fix the
18206 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18208 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18209 the first include for working i18n. Also, don't include it in .h files
18210 * panel-applet/NMWirelessApplet.h: Same
18211 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18212 * panel-applet/menu-info.c: Same
18214 2005-01-18 Dan Williams <dcbw@redhat.com>
18217 - Remove some debug messages
18218 - Wrap others in #ifdef DEBUG/#endif
18220 * src/NetworkManager.c
18221 - Remove some debug messages
18222 - Clarify some debug messages
18223 - Remove code related to old single-thread wireless scanning
18225 * src/NetworkManagerAP.[ch]
18226 - New AP property "last_seen" to track how recently an AP was
18228 - Start using 'const' more in function arguments
18230 * src/NetworkManagerAPList.[ch]
18231 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18232 of an AP found in an AP list from a source AP, or if not found
18233 in the list add the source AP
18234 - (nm_ap_list_combine): remove, no longer needed
18236 * src/NetworkManagerDevice.c
18237 - Each device now has a "worker" thread from start to end of its life.
18238 Scanning for wireless devices now happens in that thread,
18239 not in a single "wireless scanning thread" for all devices as
18240 previously. Activation consists of adding an idle handler to the
18241 thread's main loop/context, which gets run at the next available
18243 - Wireless scanning is also simplified, there is now only one list of
18244 access points per wireless device, and APs older than 60s are
18245 removed from the list. Previously, we kept results for the last
18246 3 scans and merged whole lists, which was complicated.
18247 - Cleaned up activation debug messages.
18248 - Wireless activation and access-point search routines now use Open System
18249 authentication before trying Shared Key.
18250 - Removed some code in nm_device_update_best_ap() that could cause cards
18251 to loose their link to the access point.
18252 - Scanning now uses a backoff algorithm, where the inverval becomes
18253 progressively longer between scans when the list of scanned access
18254 points doesn't change. A change will revert to the shortest scan
18257 * src/NetworkManagerWireless.[ch]
18258 - Remove code related to old single-thread wireless scanning
18260 2005-01-18 Colin Walters <walters@redhat.com>
18262 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18263 of older nameservers.
18265 2005-01-18 Colin Walters <walters@redhat.com>
18267 * named/nm-named-manager.c (generate_named_conf): Many fixes
18268 to config file generation.
18269 (safer_kill): Remove, was too much trouble for little gain.
18270 (nm_named_manager_start): Run named as NM_NAMED_USER.
18272 * configure.in: Add option --with-named-user.
18274 2005-01-14 Colin Walters <walters@redhat.com>
18276 Patch from ed@catmur.co.uk (Ed Catmur)
18278 * named/nm-named-manager.c: Add "context" property.
18279 Use it to add child watch source in specific GMainContext.
18281 * src/NetworkManager.c (nm_data_new): Initialize
18282 named with correct main context. Start named only
18285 2005-01-14 Colin Walters <walters@redhat.com>
18287 * named/nm-named-manager.c (generate_named_conf): Write config
18288 and pid files into NM_NAMED_DATA_DIR; this allows things to
18289 work better with FC3 named SELinux policy. Also fix up silly
18292 * configure.in: Add --with-named-dir option.
18294 2005-01-14 Colin Walters <walters@redhat.com>
18296 * configure.in: Make named support require passing --with-named.
18298 * named/nm-named-manager.c: Support writing resolv.conf directly
18299 without running named.
18301 2005-01-13 Dan Williams <dcbw@redhat.com>
18303 * named/nm-named-manager.c
18304 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18306 * src/NetworkManagerDevice.c
18307 - Rework wireless link detection code to be more reliable
18309 2005-01-12 Dan Williams <dcbw@redhat.com>
18311 * initscripts/RedHat/NetworkManager
18312 - Change initial level to "-" rather than "345" so that
18313 we don't activate ourselves by default on install
18315 2005-01-12 Dan Williams <dcbw@redhat.com>
18318 - Client library for applications using glib
18322 - Split NM_CFLAGS and NM_LIBS into separate variables
18323 like DBUS_*, HAL_* and GLIB_*
18325 * src/NetworkManager.c
18326 src/NetworkManagerMain.h
18327 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18328 broadcast a status changed signal over DBUS from the main thread.
18329 Still unused anywhere for the moment.
18331 Patch from j@bootlab.org
18332 * panel_applet/NMWirelessAppletDbus.c
18333 src/NetworkManagerDbus.c
18334 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18335 for the "getMode" method call
18337 2005-01-10 Dan Williams <dcbw@redhat.com>
18339 * src/NetworkManagerDevice.c
18340 - Minor fixups & corrections to "auto" frequency mode, make it
18341 less chatty with syslog
18343 2005-01-10 Dan Williams <dcbw@redhat.com>
18345 * src/NetworkManagerDevice.c
18346 - Implement "auto" frequency/channel support, since cards like Atheros
18347 can't use other frequencies at all when you've told it to use a
18348 specific one, even for scanning.
18349 - Grab the scan mutex around places where we can't tolerate wireless
18350 settings changing underneath us, like nm_device_wireless_network_exists()
18351 and nm_device_activate_wireless()
18353 * src/NetworkManagerWireless.c
18354 - Back scan interval off to 20s instead of 14s
18356 2005-01-09 Dan Williams <dcbw@redhat.com>
18358 * src/NetworkManagerDevice.c
18359 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18360 already set. Stops some drivers like Atmel from continually
18361 reloading the firmware, which they do upon every configuration
18364 2005-01-09 Dan Williams <dcbw@redhat.com>
18367 - Use correct timeout value
18369 * info-daemon/NetworkManagerInfoDbus.c
18370 src/NetworkManagerDbus.c
18371 - Consolidate communication between NM and NMI by doing only 1 dbus
18372 method call to get Wireless Network info from NMI instead of 6
18374 * src/NetworkManager.c
18375 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18376 when we didn't have an AP to use, we'd wait for one forever without
18379 * src/NetworkManagerDevice.c
18380 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18381 activation, dhcp might not have started yet but we don't quit activation
18382 before starting it, so the quit signal gets lost
18384 2005-01-07 Dan Williams <dcbw@redhat.com>
18387 - Rework the DHCP client code to be much less chatty when
18388 it receives non-DHCP UDP packets during the DHCP run
18389 (reported by and preliminary patches from Bill Moss)
18391 * Move wireless scanning to a separate thread. This thread forwards the
18392 results to the main thread when done where they are integrated into
18393 the device's access point lists. This keeps the main thread (which
18394 does all the DBUS communication) from being blocked for long periods
18395 of time by wireless scanning.
18397 * Make state modification an idle routine in the main loop, and trigger
18398 state changes rather than polling for them.
18400 * src/backends/NetworkManagerGentoo.c
18401 - Fix up invalid C90 code (reported by Christoph Ruessler)
18403 * src/NetworkManagerDevice.c
18404 - Revert IPv6 patch for wired devices from 2004-12-22 for
18405 router advertisements, causing problems and infinite loop
18406 during "best" device determination due to link going up/down
18407 (reported by Bill Moss)
18409 Apply patch from Peter Jones
18410 * src/NetworkManagerDevice.c
18411 - Shortcut for link-checking for ipw2x00 cards
18412 - Split out association check into separate routine
18414 2004-01-05 Colin Walters <walters@redhat.com>
18416 * named/named.conf: Add PID_FILE.
18418 * named/nm-named-manager.c: Always generate a pid
18419 file, since older BIND versions don't support
18422 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
18424 * configure.in (ALL_LINGUAS): Added ja (Japanese).
18426 2004-12-22 Dan Williams <dcbw@redhat.com>
18428 * src/NetworkManagerDevice.c
18429 - Silently fail when setting bitrate doesn't work
18432 Patches from j@bootlab.org:
18433 * src/backends/NetworkManagerDebian
18434 - Update backend to match functionality in RedHat backend
18435 * src/NetworkManagerDevice.c
18436 - Take down then bring up wired devices after connection so
18437 they send out ipv6 router advertisements
18439 2004-12-21 Colin Walters <walters@verbum.org>
18441 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18442 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18444 2004-12-21 Colin Walters <walters@redhat.com>
18446 * configure.in: Correct named detection.
18448 2004-12-21 Colin Walters <walters@redhat.com>
18450 * src/NetworkManager.c (nm_data_new): Initialize named.
18451 Also, set up a signal handler for SIGINT/SIGTERM, and exit
18452 the mainloop when these signals are received.
18453 (nm_data_free): Unref named.
18454 (sigterm_handler, sigterm_pipe_handler): New functions for
18457 * src/NetworkManagerMain.h (NMData): Add signal handling and
18460 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18463 * src/NetworkManagerDHCP.c (set_nameservers): New function;
18464 set nameservers from DHCP response data.
18465 (set_domain_search): Set domain search from DHCP response.
18466 (nm_device_dhcp_configure): Invoke them.
18468 * src/NetworkManagerSystem.c
18469 (nm_system_device_update_resolv_conf): Delete. Deleting
18470 code is totally sweet.
18472 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18474 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18475 implements an object which controls a nameserver. Currently
18478 * configure.in: Check for named.
18480 * Makefile.am (SUBDIRS): Add named dir.
18482 * named/named.conf: New template config file.
18484 2004-12-20 Colin Walters <walters@redhat.com>
18486 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18489 2004-12-17 Dan Williams <dcbw@redhat.com>
18491 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
18492 link-local addresses instead of doing DHCP.
18494 * In the panel applet, there's a new "Create new Wireless Network..." item
18496 * The panel applet also sticks around now even if NetworkManager dies, but
18497 it doesn't hide its icon when NM isn't around. Not hiding the icon is
18498 a bug, I'll fix that later.
18500 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18501 lookups after a switch rather than actually doing them.
18503 * Clean up some of those warnings in nm_ap_list_* functions
18505 * Delay between scans changed to 15s instead of 10s
18507 2004-12-15 Dan Williams <dcbw@redhat.com>
18509 Patch from Tom Parker
18510 * Add autoip/Link Local Addressing support when we fail to get a DHCP
18513 * Longer pause after setting ESSID on cards that support a larger number
18514 of channels to give the card time to find the right channel
18516 * Add system hook to restart mDNSResponder (or whatever the local implementation
18517 of Multicast DNS is) when we activate interfaces
18519 2004-12-15 Dan Williams <dcbw@redhat.com>
18521 * Rework the DHCP code again to revert to sending full ethernet frames
18522 rather then relying on the kernel to do the right thing with our
18525 2004-12-06 Dan Williams <dcbw@redhat.com>
18528 - Fix some minor errors in dhcp_handle_transaction() that caused
18529 unexpected early timeouts of DHCP transactions
18532 - DHCP retransmit time from 4s -> 5s
18534 2004-12-05 Dan Williams <dcbw@redhat.com>
18536 * Major rework of the DHCP code, taking some cues from pump. We don't
18537 write raw Ethernet packets anymore, which simplifies the code quite
18538 a bit. The new code should be more robust, not hang in recvfrom()
18539 as much, and generally work better. This also means that we need
18540 to force HAL/dbus to use a created GMainContext rather than the
18541 default context, since having the DHCP renew/rebind thread using
18542 its own GMainContext seemed to give dbus a fit. There is also more
18543 debugging information printed from the DHCP loop to help with future
18546 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18547 assume that the default gateway should be the DHCP server.
18549 Patch from Matthew Schick <matt oss-institute org>
18550 * src/backends/NetworkManagerGentoo.c
18551 - Fix compilation error due to missing "ip4_broadcast"
18553 2004-12-03 Dan Williams <dcbw@redhat.com>
18555 * initscript/Makefile.am
18556 * initscript/Debian/NetworkManager
18557 * initscript/Gentoo/NetworkManager
18558 * initscript/RedHat/NetworkManager
18559 * initscript/NMLaunchHelper.c
18560 - Remove NMLaunchHelper, if you need to wait until the network
18561 comes up, use the dead code from CVS.
18563 2004-12-01 Colin Walters <walters@redhat.com>
18565 * configure.in: Suck in gcc warnings code from Rhythmbox,
18566 but use fewer default flags, and in particular add -Wno-unused,
18567 since the codebase has a lot of unused variables.
18569 * test/nmtestdevices.c (create_device):
18570 * test/nminfotest.c (get_network_string_property)
18571 (get_networks_of_type):
18572 * test/nmclienttest.c (main):
18573 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
18574 * initscript/NMLaunchHelper.c (get_nm_status):
18575 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
18576 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
18577 Fix declarations after statements.
18579 2004-12-01 Colin Walters <walters@redhat.com>
18581 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18582 (nmi_dbus_get_vpn_userpass): New method.
18583 (nmi_dbus_nmi_message_handler): Invoke it.
18585 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18587 * info-daemon/NetworkManagerInfoVPN.h,
18588 info-daemon/NetworkManagerInfoVPN.c: New files; responds
18589 to requests for VPN passwords.
18591 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18593 2004-12-01 Colin Walters <walters@redhat.com>
18595 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18598 2004-12-01 Colin Walters <walters@redhat.com>
18600 * panel-applet/NMWirelessAppletDbus.c
18601 (nmwa_dbus_update_active_device_strength): Fix missing
18604 2004-12-01 Colin Walters <walters@redhat.com>
18606 * panel-applet/NMWirelessApplet.c: Add missing include.
18608 2004-12-01 Colin Walters <walters@redhat.com>
18610 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18611 Remove useless CLAMP (); the value is unsigned, and the case tests
18612 qual->qual < 100, so the value must always be between 0 and 100.
18614 2004-12-01 Colin Walters <walters@redhat.com>
18616 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18618 2004-11-22 Colin Walters <walters@verbum.org>
18620 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18621 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18622 which is essentially a noop since nscd caches hosts on disk too.
18624 2004-11-22 Colin Walters <walters@redhat.com>
18626 * src/Makefile.am (NetworkManager_SOURCES): Add
18627 NetworkManagerDevicePrivate.h.
18629 2004-11-22 Dan Williams <dcbw@redhat.com>
18631 * src/NetworkManagerDevicePrivate.h
18632 - Split out the NMDevice struct to a different file so that stuff like
18633 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18637 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18638 need to cancel the dhcp request during the send and recv
18641 - Move the DHCP option enum to dhcpcd.h
18643 * src/NetworkManagerDHCP.c
18644 - Split out the actual IP/netmask/etc setting code
18645 - New Renew/Rebind functions
18646 - New timer setup function for renew/rebind operations
18648 * src/NetworkManagerDevice.c
18649 - For device activation, if we are using DHCP then keep the activation thread
18650 alive until device deactivation. We need to renew/rebind the DHCP address
18651 after the T1 (renew) and T2 (rebind) times have expired.
18652 - Increase some timeouts after bringing wireless cards up/down
18654 2004-11-17 Dan Williams <dcbw@redhat.com>
18656 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18657 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
18658 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
18659 show known access points that don't broadcast their ESSID in the menus without
18660 any user intervention whatsoever.
18662 * info-daemon/NetworkManagerInfoDbus.c
18663 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18664 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18666 * src/NetworkManagerAP.[ch]
18667 - Add a "user_addresses" data member to the NMAccessPoint structure
18668 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18669 the user_addresses data member
18671 * src/NetworkManagerAPList.c
18672 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18673 the AP's reported address
18674 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18676 * src/NetworkManagerDHCP.c
18677 - Increase DHCP timeout from 25s -> 30s
18679 * src/NetworkManagerDbus.[ch]
18680 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18683 * src/NetworkManagerDevice.c
18684 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18685 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
18686 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18687 So, we take the card down to clear it out.
18688 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18689 too, since that's where the user_addresses are
18691 * src/NetworkManagerPolicy.c
18692 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18693 that wireless networks' user_addresses list upon successful activation
18695 2004-11-16 Dan Williams <dcbw@redhat.com>
18697 * src/NetworkManagerDevice.[ch]
18698 - (nm_device_clear_activation_fail): new function
18700 * src/NetworkManagerPolicy.c
18701 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18702 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18704 2004-11-16 Dan Williams <dcbw@redhat.com>
18706 * src/NetworkManagerDevice.c
18707 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18708 leak the structure, better updating of now_scanning status
18709 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18711 2004-11-15 Dan Williams <dcbw@redhat.com>
18713 Major rework of link detection code. We now use DHCP
18714 as part of the link detection which proves to be much more robust,
18715 and also supports Open System authentication for wireless networks.
18717 We no longer use external DHCP client programs. Instead, we use
18718 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18719 which was written by:
18720 Yoichi Hariguchi <yoichi@fore.com>
18721 Sergei Viznyuk <sv@phystech.com>
18722 http://www.phystech.com/download/
18723 It resides in the "dhcpcd" directory and was refactored into a general
18724 purpose DHCP client library by me.
18726 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18727 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18729 2004-11-15 Dan Williams <dcbw@redhat.com>
18731 Patch from Tom Parker <palfrey@tevp.net>:
18733 * src/NetworkManagerDevice.c
18734 - Less output to console when no access
18735 points are found during a scan
18737 2004-11-15 Dan Williams <dcbw@redhat.com>
18739 Patch from Tom Parker <palfrey@tevp.net>:
18741 * src/backends/interface_parser.c
18743 - Check for inp == NULL
18746 2004-11-13 Colin Walters <walters@redhat.com>
18748 Patch from Tom Parker <palfrey@tevp.net>:
18750 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18752 * src/backends/NetworkManagerRedHat.c: Switch to
18753 including shvar.h instead of shvar.c.
18755 * src/backends/NetworkManagerDebian.c: Don't include
18756 interface_parser.c in source file.
18758 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18759 and interface_parser.[ch].
18760 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18761 Include shvar.c and shvar.h here.
18762 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18763 interface_parser.c and interface_parser.h here.
18765 2004-11-12 Colin Walters <walters@redhat.com>
18767 * configure.in: Strip out TARGET_DISTRO and
18768 SYSTEM_BACKEND_FILE variables. Switch to Automake
18771 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18772 (libnmbackend_la_SOURCES): Use Automake conditionals
18773 to add distro-specific files.
18775 * initscript/Makefile.am (SUBDIRS): Update to
18778 2004-11-12 Colin Walters <walters@redhat.com>
18780 Patches from j bootlab org
18782 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
18783 Add interface_parser.[ch].
18785 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
18786 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
18788 2004-11-12 Colin Walters <walters@redhat.com>
18790 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
18791 call to nmi_dbus_is_running too, not necessary anymore.
18792 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
18795 2004-11-11 Colin Walters <walters@verbum.org>
18797 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
18799 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
18800 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
18801 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
18802 This avoids a race condition that made it pretty easily
18803 possible to get two NetworkManagerInfo daemons running.
18805 2004-11-11 Colin Walters <walters@verbum.org>
18807 * src/NetworkManager.c (main): Use daemon(3).
18809 * info-daemon/NetworkManagerInfo.c (main): Ditto.
18811 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
18813 2004-11-10 Dan Williams <dcbw@redhat.com>
18815 Patches from j bootlab org
18816 * src/NetworkManagerDevice.c
18817 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
18818 whether the card has a link or not, some cards are slow
18819 - (nm_device_activation_configure_ip): make ipv6 work a bit better
18821 * info-daemon/NetworkManagerInfoPassphraseDialog.c
18822 - Disable the "Login" button on the passphrase dialog until the user
18823 enters a valid passphrase or key
18825 Patches from Tom Parker <palfrey tevp net>
18826 * src/backends/NetworkManagerDebian.c
18827 - Add static IP support to the debian backend
18829 * src/backends/interface_parser.[ch]
18830 - Parse debian interface config files
18832 2004-11-08 Dan Williams <dcbw@redhat.com>
18834 * src/NetworkManagerDevice.c
18835 - Some random fprintf->syslog conversions
18836 - (nm_device_wireless_network_exists): double-check for network
18837 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
18839 * src/NetworkManagerWireless.[ch]
18840 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
18841 so that the binary->ascii conversion works (if unsigned, the bitshift
18842 will fill with zeros, which is what's required). Also mask bitshift
18843 result with 0xF for futher assurance.
18845 2004-11-06 Dan Williams <dcbw@redhat.com>
18847 * src/NetworkManagerUtils.c
18848 - (nm_get_wireless_driver_support_level): default to
18849 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
18850 flip this when changing from whitelist->blacklist of
18853 2004-11-05 Dan Williams <dcbw@redhat.com>
18855 Patch from Robert Paskowitz:
18856 * src/backends/NetworkManagerGentoo.c
18857 - Update static IP config code
18859 2004-11-05 Dan Williams <dcbw@redhat.com>
18861 * info-daemon/NetworkManagerInfoDbus.c
18862 src/NetworkManagerDbus.[ch]
18863 src/NetworkManagerDevice.c
18864 - Keep track of the # of attempts to get the WEP key
18865 from the user and pass that along to the info daemon
18867 2004-11-05 Dan Williams <dcbw@redhat.com>
18869 * src/NetworkManagerUtils.c
18870 - Blacklist wireless cards rather than whitelisting them.
18871 - Grab driver name from HAL rather than trying to find it
18874 2004-11-03 Dan Williams <dcbw@redhat.com>
18876 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
18877 - Disable OK button until valid data is entered
18878 for encryption stuff too
18880 * panel-applet/NMWirelessApplet.c
18881 - Report card strength for current AP if the card
18882 doesn't report strength data for scanned access
18885 * src/NetworkManagerDevice.c
18886 - Smooth out cards reported quality, Atmel card was
18887 intermittently reporting no quality data but soon
18890 * src/NetworkManagerWireless.c
18891 - Better quality data percentage calculation. Atmel
18892 cards (mine at least) seem to report the quality
18893 in percentage format already, so honor that
18895 Patch from <j@bootlab.org>
18897 info-daemon/NetworkManagerInfoPassphraseDialog.c
18898 info-daemon/passphrase.glade
18899 panel-applet/NMWirelessAppletOtherNetworkDialog.c
18900 panel-applet/essid.glade
18901 src/NetworkManagerAP.c
18902 src/NetworkManagerDevice.c
18903 src/NetworkManagerWireless.[ch]
18904 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
18906 2004-11-03 Dan Williams <dcbw@redhat.com>
18908 * src/NetworkManagerDevice.[ch]
18909 - (nm_device_set_enc_key): Add parameter to set Authentication
18910 Mode (Open System, Shared Key, or None). We're still using
18911 Shared Key for now though.
18913 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
18915 * panel-applet/menu-info.c: change from bold text to light
18916 colored, may cause problems with some themes, i've tested a lot
18917 and they seem fine.
18919 * panel-applet/NMWirelessApplet.c: fix strength tooltip
18921 2004-11-01 Colin Walters <walters@verbum.org>
18923 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
18924 (nm_wireless_128bit_key_from_passphrase): Add const.
18926 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
18927 (nm_ap_set_enc_key_source): Add const.
18929 2004-11-01 Colin Walters <walters@verbum.org>
18931 * .cvsignore: Update.
18933 2004-10-29 Dan Williams <dcbw@redhat.com>
18935 * src/NetworkManagerDevice.c
18936 - (nm_device_wireless_network_exists): Actually use the encryption
18937 key we got from the applet when attempting to find a wireless network
18938 - Don't bring devices down so much since on some cards it triggers
18939 firmware hotplugs each time
18941 * src/NetworkManagerDbus.c
18942 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
18945 2004-10-29 Dan Williams <dcbw@redhat.com>
18947 * src/NetworkManager.c
18948 - (nm_hal_device_property_modified): unlock a locked active
18949 wireless device when a wired connection gets a link.
18950 (Means you'll switch to wired whenever you plug in no
18953 2004-10-29 Dan Williams <dcbw@redhat.com>
18955 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
18956 - New files, implement the "Other wireless network" dialog
18958 * panel-applet/NMWirelessApplet.c
18959 - Move "other wireless network" dialog to separate file
18961 * panel-applet/NMWirelessAppletDbus.[ch]
18962 - Take key and key_type paramaters for the set_device function
18964 * panel-applet/essid.glade
18965 - Add UI bits for encryption settings
18967 * src/NetworkManagerDbus.c
18968 - Retrieve key and key_type params for "setActiveDevice" method call
18970 - unref AP returned from nm_device_get_best_ap() when needed
18972 * src/NetworkManagerDevice.c
18973 - (nm_device_get_best_ap): ref the ap before returning it
18974 - unref AP returned from nm_device_get_best_ap() when needed
18975 - (nm_device_activate_wireless): add "ap" parameter so we don't
18976 need to call nm_device_get_best_ap() here, it was pretty much
18978 - (AP_NEED_KEY): break second link check condition out into separate
18979 function, and fix segfault when ap->enc_key_source was NULL
18980 - (nm_device_find_and_use_essid): take key and key_type parameters and
18981 pass them along to nm_device_wireless_network_exists(). If the
18982 network does exist, set the passed-in key+key_type on the AP
18984 * src/NetworkManagerPolicy.c
18985 - unref AP returned from nm_device_get_best_ap() when needed
18987 2004-10-28 Dan Williams <dcbw@redhat.com>
18989 * src/NetworkManagerUtils.c
18990 - (nm_spawn_process): Fix a potential dereference of NULL
18992 Patches from Peter Jones:
18994 * src/NetworkManagerDevice.c
18995 - (nm_device_test_wireless_extensions): Better check for
18998 * src/NetworkManagerUtils.c
18999 - (nm_spawn_process): Pass in valid stdout and stderr so
19000 executed programs don't randomly SIGPIPE and fail
19001 - (nm_get_wired_driver_support_level): quash hal warning
19002 when checking for USB ethernet device
19004 2004-10-27 Dan Williams <dcbw@redhat.com>
19006 * info-daemon/NetworkManagerInfo.c
19007 info-daemon/NetworkManagerInfoDbus.c
19008 info-daemon/NetworkManagerInfoPassphraseDialog.c
19009 panel-applet/NMWirelessApplet.c
19010 - Properly escape gconf keys
19012 * src/NetworkManager.c
19013 - remove unused variables
19015 * src/NetworkManagerAP.c
19016 - (nm_ap_new_from_ap): Don't redundantly set new APs
19017 refcount since it got set in nm_ap_new()
19019 * src/NetworkManagerAPList.c
19020 - (nm_ap_list_combine): Give up ownership of newly created
19021 access points to the ap list, fixes memleak
19023 * src/NetworkManagerDevice.c
19024 - Remove cached_ap_list4 member since its not really needed
19025 - (nm_device_wireless_network_exists): Try to get correct
19026 encryption status of a found AP if its already in our
19028 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19029 memory allocs/deallocs a bit clearer and shorter-lived
19031 2004-10-26 Ray Strode <rstrode@redhat.com>
19033 * panel-applet/NMWirelessApplet.c:
19034 (custom_essid_item_selected): kill some compiler
19037 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19039 * info-daemon/NetworkManagerInfoDbus.c
19040 - (nmi_dbus_is_running): New function for determining if nmi is already running
19041 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19043 2004-10-23 Dan Williams <dcbw@redhat.com>
19045 * info-daemon/NetworkManagerInfoDbus.c
19046 - Trap the "DeviceActivationFailed" signal
19048 * docs/NetworkManager DBUS API.txt
19049 - Add "DeviceActivationFailed" signal
19051 * panel-applet/NMWirelessAppletDbus.c
19052 - Quash the "NetworkManager service not available" message
19054 * src/NetworkManagerDbus.[ch]
19055 - Add the "DeviceActivationFailed" signal
19057 * src/NetworkManagerDevice.c
19058 - Add support for activation_failed flag
19059 - Fix deadlock where activation thread didn't clean itself up, making
19060 main thread still believe it was alive forever (didn't reset activation
19061 flags like activating, just_activated, etc when IP configuration
19064 * src/NetworkManagerPolicy.c
19065 - Implement logic for DeviceActivationFailed signal, and when activation fails
19066 for wireless networks, try to fall back to some other access point
19068 2004-10-23 Dan Williams <dcbw@redhat.com>
19070 * panel-applet/NMWirelessApplet.[ch]
19071 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19072 to the applet object, so we can get tooltips
19073 - Add tooltips (RH #136866)
19075 * src/NetworkManagerDevice.c
19076 - When trying to find a wireless network, try to connect with encryption
19077 turned on first, so that we can more accurately detect whether or not
19078 we need to use encryption for the actual association later on
19080 2004-10-21 Dan Williams <dcbw@redhat.com>
19082 * Add some support for telling NetworkManagerInfo to tell the user
19083 that they are using a device that's not fully supported
19085 * Fix some assertions in debug messages due to null access point args
19087 2004-10-21 Dan Williams <dcbw@redhat.com>
19089 * src/NetworkManagerDevice.c
19090 - Don't try to activate/bring up/down unsupported
19093 * src/NetworkManagerUtils.c
19094 - Fix case of PCI ID checks for driver support levels
19096 2004-10-21 Dan Williams <dcbw@redhat.com>
19099 - New file, now contains commonly used structures and bits
19100 for the dbus API of NetworkManager
19103 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19105 * src/NetworkManager.h
19106 - Rename -> src/NetworkManagerMain.c
19108 * Various fixups all around to use NetworkManager.h and new
19109 src/NetworkManagerMain.h, remove redundant bits that got
19110 moved into NetworkManager.h
19112 * src/NetworkManagerDevice.[ch]
19113 src/NetworkManagerUtils.[ch]
19114 src/NetworkManagerPolicy.c
19115 src/NetworkManagerDbus.c
19116 - Whitelist wireless drivers, and blacklist some wired
19117 drivers. Also blacklist cipsec and ethernet-over-usb
19118 devices at this time (RH #135722, RH #135648)
19119 - Don't leak unsupported devices out over dbus, or allow
19120 them to be set as the active device. Skip over them
19121 during automatic device picking
19123 * test/nmclienttest.c
19124 - Clean up the dbus code a lot
19126 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19128 * configure.in: post release bump.
19130 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19133 * NEWS: Released NetworkManager-0.3.1
19135 2004-10-18 Dan Williams <dcbw@redhat.com>
19137 Patches from Thom May:
19138 * test/nmtestdevices.c
19139 - Include <string.h>
19140 * src/backends/NetworkManagerDebian.c:
19141 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19142 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19143 Move to using g_strdup_printf rather than arbitrary buffers
19144 - (nm_system_device_setup_static_ip4_config) Implement function.
19145 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19147 2004-10-17 Dan Williams <dcbw@redhat.com>
19149 * info-daemon/NetworkManagerInfoDbus.c
19150 - Display name of network in the "network not found" dialog
19152 * panel-applet/NMWirelessAppletDbus.c
19153 - (nmwa_dbus_call_nm_method): new function replaces all other
19154 nmwa_dbus_get_[string|string_array|int|boolean] methods
19155 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19156 consolidated into nmwa_dbus_get_object_name()
19158 2004-10-15 Dan Williams <dcbw@redhat.com>
19160 * src/NetworkManagerDbus.c
19161 info-daemon/NetworkManagerInfoDbus.c
19162 - Display an error dialog when the user tries to use an
19163 "Other wireless network" that's not found.
19165 2004-10-15 Dan Williams <dcbw@redhat.com>
19167 * panel-applet/NMWirelessApplet.[ch]
19168 - Fix up corner cases in applet state, making it
19169 look more responsive. Change state to "connecting" when
19170 the user is forcing a device too.
19172 2004-10-15 Dan Williams <dcbw@redhat.com>
19174 * src/NetworkManagerAPList.c
19175 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19177 * src/NetworkManagerDbus.c
19178 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19180 * src/NetworkManagerDevice.c
19181 - Disown APs after the device's AP list takes ownership
19183 2004-10-15 Dan Williams <dcbw@redhat.com>
19185 * panel-applet/NMWirelessApplet.c
19186 - Update our applet state from the GUI thread
19188 * panel-applet/NMWirelessAppletDbus.c
19189 - Greatly simplify the locking to make the GUI thread
19190 smoother. Update a private copy of the device list
19191 and active device and only when done talking to
19192 NetworkManager turn it over to the GUI thread.
19194 2004-10-15 Dan Williams <dcbw@redhat.com>
19196 * src/NetworkManagerAP.[ch]
19197 - Add "artificial" get/set functions, set for APs that
19198 aren't discovered as part of a scan but instead
19199 discovered by force-setting the ESSID
19201 * src/NetworkManagerDevice.[ch]
19202 - (nm_device_wireless_network_exists): pass back whether
19203 or not the discovered AP was encrypted. Also, try
19204 falling back to encrypted mode on the card if unencrypted
19205 association doesn't work
19206 - (nm_device_find_and_use_essid): If the network requested
19207 did in fact exists, but it wasn't in our scan list, add
19208 an "artificial" entry for it. Some Cisco cards don't
19209 see non-ESSID-broadcasting APs in their scan but can still
19210 associate with them if you know the ESSID, this works around
19212 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19213 to scan if the card is currently associated with that AP
19215 2004-10-15 Dan Williams <dcbw@redhat.com>
19217 ---- We have a website ----
19218 http://people.redhat.com/dcbw/NetworkManager
19220 Patch from Robert Paskowitz:
19221 * src/NetworkManager.c
19222 - (main): Make sure we are run as root
19223 * src/NetworkManagerDevice.c
19224 - Fix type in ad-hoc setting function
19226 Patch from Thom May:
19227 * src/backends/NetworkManagerDebian.c
19228 - Make Debian backend compile again
19230 2004-10-14 Dan Williams <dcbw@redhat.com>
19232 * Tagged NetworkManager-0_3
19234 2004-10-14 Dan Williams <dcbw@redhat.com>
19236 Patch from Robert Paskowitz:
19238 src/NetworkManagerDevice.[ch]
19239 src/backends/NetworkManagerDebian.c
19240 src/backends/NetworkManagerGentoo.c
19241 src/backends/NetworkManagerRedHat.c
19242 src/backends/NetworkManagerSlackware.c
19243 - Add support for grabbing and using a broadcast address
19244 from system config files
19245 - Some Gentoo backend fixes for grabbing network config
19246 - Fix LOG_WARN->LOG_WARNING
19248 2004-10-14 Dan Williams <dcbw@redhat.com>
19250 * NEWS: a few small fixes in the credits
19252 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
19254 * NEWS: prep for release.
19256 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
19258 * panel-applet/NMWirelessAppletDbus.c
19259 (nmwa_dbus_update_device_wireless_networks): remove warnings.
19261 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
19263 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19264 applet->state == APPLET_STATE_NO_NM animation.
19266 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19267 set the text correctly.
19269 2004-10-14 Dan Williams <dcbw@redhat.com>
19271 * src/NetworkManager.c
19272 - Only accept and manager 802.3 and 802.11 devices
19274 * src/NetworkManagerDbus.[ch]
19275 - (nm_dbus_nm_set_active_device): move most of the actual activation
19276 logic into NetworkManagerDevice.c
19277 - (nm_dbus_network_status_from_data): new function
19278 - (nm_dbus_signal_network_status_change): new function, unused for now
19279 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19281 * src/NetworkManagerDevice.[ch]
19282 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
19285 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19287 * info-daemon/NetworkManagerInfo.c
19288 - (main): Added session management
19290 2004-10-14 Dan Williams <dcbw@redhat.com>
19292 * panel-applet/NMWirelessAppletDbus.[ch]
19293 - Expose network_device_[un]ref()
19294 - Expose wireless_network_[un]ref()
19295 - (wireless_network_new_with_essid): new function, create and return
19296 a wireless network with a particular essid
19298 * panel-applet/NMWirelessApplet.c
19299 - Hook up the "other network" dialog to do something
19301 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
19303 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
19304 doesn't work yet, but it looks okay.
19306 * panel-applet/icons/*png: Resize to 22x22 and install in the
19309 2004-10-13 Dan Williams <dcbw@redhat.com>
19311 * panel-applet/NMWirelessApplet.c
19312 - Add function to print out applet_state in a readable
19315 * src/NetworkManager.c
19316 - (main): Don't segfault when nm_dbus_init() fails, we had
19317 a left-over call to hal_shutdown() into which we passed NULL
19319 * src/NetworkManagerAP.c
19320 - (nm_ap_set_essid): Allow NULL essids
19322 * src/NetworkManagerAPList.[ch]
19323 - More use of nm_ap_list_[un]lock ()
19324 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19325 network/essid, just return nothing. Also skip over NULL
19326 essid access points in the list when searching
19327 - (nm_ap_list_get_ap_by_address): new function
19328 - (nm_ap_list_update_network): set the access point's key source to
19329 NULL when the key returned from NetworkManagerInfo is NULL or
19331 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19332 copy timestamp over too
19333 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19334 find the correct ESSID for a blank-essid access point by searching
19335 through another list and matching access point MAC addresses
19336 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19338 * src/NetworkManagerDbus.c
19339 - (nm_dbus_nm_set_active_device): deal with random networks the user
19340 may specify. This is mainly for access points that don't
19341 broadcast their essid. So if the user tells us to associate with
19342 some random ESSID that's not in our access point list, we find
19343 out if the access point does in fact exist (by attempting association
19344 and then matching that access point's MAC address with the essid the
19345 user gave us) and then we switch to it.
19346 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19347 to the returned list of networks for the "getNetworks" method
19349 * src/NetworkManagerDevice.[ch]
19350 - Extra debugging info for link detection
19351 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19352 based on MAC address
19353 - (nm_device_get_path_for_ap): ignore blank-essid access points
19354 - (nm_device_wireless_network_exists): new function, find out whether
19355 a random ESSID exists by attempting to associate with it
19356 - (nm_device_do_normal_scan): allow blank-essid access points in our
19357 device list as long as they have an AP MAC address we can use.
19358 Also send WirelessNetwork[Dis]Appeared signals for non-active
19359 devices too. Lets the applet update more frequently.
19361 * src/backends/NetworkManagerGentoo.c
19362 - Patch from: Robert Paskowitz
19363 - Update backend code for Gentoo
19364 - Implement nm_system_device_update_config_info ()
19366 * test/nmclienttest.c
19367 - (set_network_device): new function, takes a command-line argument
19368 and tells NetworkManager to use that wireless network
19370 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19372 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19373 if the notification icon crashes 5 times within 5 seconds of each respawn
19375 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
19377 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19380 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
19382 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19384 * panel-applet/NMWirelessApplet.c: (animation_timeout),
19385 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19386 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19387 Change the name of the icons.
19389 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19390 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19391 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19392 (nm_menu_wireless_expose_event): Really bad hack to get the style
19393 to draw in the right color.
19395 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19397 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
19398 Notification if it crashes
19400 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
19402 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
19403 (nmwa_dbus_get_string): remove unused functions
19405 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19406 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19407 remove unused functions
19409 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19411 2004-10-12 Dan Williams <dcbw@redhat.com>
19413 * panel-applet/NMWirelessAppletDbus.c
19415 wireless_network_new
19416 wireless_network_copy
19418 network_device_copy
19420 * src/NetworkManagerDevice.[ch]
19422 nm_device_set_mode_managed
19423 nm_device_set_mode_adhoc
19424 - Use these functions where appropriate
19425 - When creating a new wireless device, force the card
19426 to managed/Infrastructure mode as soon as possible
19428 2004-10-12 Dan Williams <dcbw@redhat.com>
19430 * src/NetworkManagerDevice.c
19431 - Force wireless cards into Infrastructure mode before we use them
19433 2004-10-12 Dan Williams <dcbw@redhat.com>
19436 - Remove bit about static IP address support
19438 * src/NetworkManagerUtils.c
19439 - (nm_spawn_process): Add some error reporting
19441 * src/NetworkManagerDevice.c
19442 - (nm_device_activation_configure_ip): hook up to the static config
19443 routines in the backends
19445 * src/backends/NetworkManagerRedHat.c
19446 - (nm_system_device_update_config_info): use shvar.c routines to
19447 parse the config file iformation, not our own
19448 - (nm_system_device_setup_static_ip4_config): new function, based
19449 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
19450 with a static IP address and gateway
19452 * src/backends/shvar.[ch]
19453 - Parser (filched from initscripts package) for ifcfg-* files
19455 * src/backends/NetworkManagerSystem.h
19456 src/backends/NetworkManagerGentoo.c
19457 src/backends/NetworkManagerDebian.c
19458 src/backends/NetworkManagerSlackware.c
19459 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19461 2004-10-11 Dan Williams <dcbw@redhat.com>
19464 - Remove bit about more robust AP diffing since I just implemented it
19466 2004-10-11 Dan Williams <dcbw@redhat.com>
19468 * src/NetworkManagerAP.c
19469 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19470 enough RAM to allocate new AP structures, but return NULL instead
19472 * src/NetworkManagerAPList.[ch]
19473 - (nm_ap_list_is_empty): new function
19474 - (nm_ap_list_combine): new function, combine two access point lists
19475 - (nm_ap_list_copy_keys): new function, copy keys from one list
19478 * src/NetworkManagerDevice.[ch]
19479 - Rename some functions to be clearer:
19480 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19481 nm_device_just_activated -> nm_device_is_just_activated
19482 nm_device_activating -> nm_device_is_activating
19483 nm_device_now_scanning -> nm_device_is_scanning
19484 - Cache the last 4 scans so that the access point list is more stable.
19485 We combine the lastest two scans and use that as the AP list,
19486 and diff that combined list against the combination of the earliest
19487 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19489 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19491 * info-daemon/NWManagerInfo.h
19492 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19494 * info-daemon/NWManagerInfoDbus.c
19495 - (shutdown_callback): new function
19496 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19497 if NetworkManager goes away. Kill the timeout
19498 if NetworkManager restarts before the 30 seconds
19500 - (nmi_dbus_service_init):
19501 - call gtk_main_quit if NetworkManager is not running
19502 - add filters to monitor dbus service creations and
19505 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19507 * panel-applet/NMWirelessApplet.c
19508 - (nmwa_update_state): Hide notification icon if we are only
19509 showing one wired card and no wireless interfaces
19510 (Red Hat Bug #134895)
19512 * panel-applet/NMWirelessAppletDbus.c
19513 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19515 * info-daemon/NWManagerInfo.c
19516 - (main): Terminated the notification_icon_cmd array with a NULL
19518 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
19520 * configure.in (ALL_LINGUAS): Added de (German).
19522 2004-10-08 Dan Williams <dcbw@redaht.com>
19524 * src/NetworkManagerDevice.c
19525 - Be a bit more robust about link checking, ie make sure that
19526 the WEP key we were given actually has some data in it
19528 2004-10-08 Dan Williams <dcbw@redhat.com>
19530 * info-daemon/NetworkManagerInfo.c (main):
19531 - Initialize GError object to NULL
19533 2004-10-08 Dan Williams <dcbw@redhat.com>
19535 * panel-applet/NMWirelessAppletDbus.c
19536 - Die if NetworkManagerInfo dies, since it manages our lifetime
19538 2004-10-08 Dan Williams <dcbw@redhat.com>
19540 * info-daemon/NetworkManagerInfo.[ch]
19541 info-dameon/NetworkManagerInfoDbus.[ch]
19542 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19543 - Preserve original label text in the passphrase dialog so that
19544 it actually gets updated with the new network name the next
19545 time around. Previously, we were overwriting it so you'd get
19546 the wrong network name to enter a key for
19547 - Add a "Key Type" combo to the passphrase dialog, user selects
19548 encryption key type now, type is stored in GConf too
19549 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19551 * src/NetworkManagerAP.[ch]
19552 - Remove all the encyption method magic. It's now set by the user
19553 and NetworkManager retrieves the type of encryption key from
19556 * src/NetworkManagerAPList.[ch]
19557 src/NetworkManagerDbus.[ch]
19558 - Adjust to new way of setting encryption key and method
19559 - Pull encryption method down from NMI along with key
19561 * src/NetworkManagerDevice.[ch]
19562 - Removed encryption method fallback magic as the method is now
19563 determined by the user. This greatly simplifies the connection
19565 - More robust connection/link logic. Besides removing the encryption
19566 method fallback magic, check whether or not the card is receiving
19567 invalidly encrypted packets, which usually indicates that we have
19569 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19571 * test/nminfotest.c
19572 - Test out new "Key Type" stuff in the NMI passphrase dialog
19574 2004-10-07 Dan Williams <dcbw@redhat.com>
19576 * info-daemon/NetworkManagerInfo.conf
19577 - Allow root user to run NMI too
19579 2004-10-06 Dan Williams <dcbw@redhat.com>
19581 * src/NetworkManagerDevice.[ch]
19582 src/NetworkManagerDbus.c
19583 doc/NetworkManager DBUS API.txt
19584 - Add a new status tag "scanning", which is set when there
19585 is no active network connection, but NetworkManager is
19586 looking for an access point to associate with
19588 * panel-applet/main.c
19589 - Cast the applet appropriately for gtk_widget_show_all ()
19591 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
19593 * panel-applet/eggtrayicon.[ch]:
19594 * panel-applet/main.c: Add missing file
19596 2004-10-04 Dan Williams <dcbw@redhat.com>
19598 * src/NetworkManagerDevice.[ch]
19599 - Add a slightly more robust method of determining if the WEP key
19600 is correct or not, by checking the WEP-discarded packet count
19603 * info-daemon/NetworkManagerInfo.c
19604 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19605 un-escape values we pull out rather than escaping them
19607 2004-10-03 Marcel Telka <marcel@telka.sk>
19609 * configure.in (ALL_LINGUAS): Added sk.
19611 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
19613 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19614 and feel. We should be back to working, and have a good, clean
19617 2004-09-30 Dan Williams <dcbw@redhat.com>
19619 * info-daemon/NetworkManagerInfo.c
19620 info-daemon/NetworkManagerInfoDbus.c
19622 - Escape ESSIDs in gconf
19624 * src/NetworkManagerDevice.c
19625 - Fix pseudo-scanning to use netowrk list from info daemon
19627 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
19629 * configure.in: Add a temporary --enable-notification-icon. This
19630 will prolly go away.
19632 * info-daemon/Makefile.am:
19633 * info-daemon/NetworkManagerInfo.c:
19634 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19636 * panel-applet/Makefile.am:
19637 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19638 * panel-applet/NMWirelessApplet.h:
19640 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
19642 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
19643 before 'select custom ESSID'.
19645 * panel-applet/menu-info.c: Start rewrite for better headers. Not
19646 fully complete, but syncing in prep for merge.
19648 * panel-applet/icons/*png: New images
19650 2004-09-28 Dan Williams <dcbw@redhat.com>
19652 * src/NetworkManager.c
19653 src/NetworkManagerDevice.c
19654 src/NetworkManagerPolicy.c
19655 - Don't blow away an active wired connection on startup
19657 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
19661 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19663 * info-daemon/NetworkManagerInfoDbus.c: added service name to
19666 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
19668 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19669 have a wireless card.
19671 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
19673 * panel-applet/NMWirelessApplet.c: move the custom essid item.
19674 Also, get the right device strings.
19676 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
19678 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19679 the logic to make this right.
19681 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19682 devices so that wired networks are always first.
19684 2004-09-22 <clarkbw@cvs.gnome.org>
19686 * initscript/Debian/.cvsignore:
19687 * initscript/Slackware/.cvsignore:
19688 Added new cvsignores for Makefile, Makefile.in
19691 Added nmtestdevices
19693 * src/NetworkManagerDevice.c:
19694 * src/NetworkManager.c:
19695 Updated the wireless/wired HAL device strings from net.ethernet to
19696 net.80203 or net.80211 depending on wired or wireless respectively
19698 * examples/python/NetworkManager.py:
19699 s/Quality/Strength/
19701 * examples/python/systray/network_tray.py:
19702 Lots of little changes and fixes. been rotting for a while so I
19703 figured I'd finally sync them all with CVS
19705 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
19707 * configure.in: Add graphics
19709 * panel-applet/Makefile.am: Add graphics
19711 * panel-applet/icons/*: Add graphics
19713 * panel-applet/NMWirelessApplet.c: Use new menu times to display
19714 the icons fully lined up.
19716 * panel-applet/menu-info.c:
19717 * panel-applet/menu-info.h: Add another menu type.
19719 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
19721 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19723 * panel-applet/menu-item.[ch]: Wireless menu item.
19725 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
19727 * info-daemon/NetworkManagerInfo.conf
19728 - Created a more robust security policy for the DBus service
19729 - everything is denied by default
19730 - root can own and send to the service
19731 - users logged in at the console can send to the service
19733 2004-09-13 Dan Williams <dcbw@redhat.com>
19735 * src/NetworkManagerDevice.c
19736 - (nm_device_get_essid): use iw_get_basic_config() rather than
19737 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19740 2004-09-13 Dan Williams <dcbw@redhat.com>
19744 * docs/NetworkManager DBUS API.txt
19745 - Update for new signal strength changes
19747 * panel-applet/NMWirelessApplet.c
19748 - Make panel icon show strength of the current connection
19749 - Cleanups and memleak fixes
19751 * panel-applet/NMWirelessApplet.h
19752 - Add data members for signal strength on devices and networks
19754 * panel-applet/NMWirelessAppletDbus.c
19755 - Free more DBusErrors
19756 - Update for new signal strength changes
19757 - Make devices and networks more like real objects, use ref/unref methods
19758 - Actually unlock the mutex when updating the active device
19760 * src/NetworkManagerAP.c
19761 - Change AP functions and data members from "quality"->"strength"
19763 * src/NetworkManagerDbus.c
19764 - Kill "getMaxQuality" and "getQuality" methods
19765 - Add "getStrength" methods for Networks and Devices
19767 * src/NetworkManagerDevice.[ch]
19768 - Add accessors for device strength
19769 - Add functions to update strength for a device. Note that not all drivers
19770 actually support signal strength for scanned access points (Atmel drivers
19772 - Calculate signal strength for each AP during scan
19774 * src/NetworkManagerWireless.[ch]
19775 - Add function to return signal strength % from a device and a raw quality struct
19777 * test/nmclienttest.c
19778 - Update for new signal strength changes
19780 2004-09-11 Dan Williams <dcbw@redhat.com>
19782 * src/NetworkManager.c
19783 - Fix race condition between initscripts and NM on card insertion
19784 which could cause a card to keep an IP address and routes around
19785 even when it was not the active device
19787 * src/NetworkManagerDbus.c
19788 - Fix compile errors, free more DBusErrors
19790 2004-09-11 Dan Williams <dcbw@redhat.com>
19792 * docs/NetworkManager DBUS API.txt
19793 - Add an explanation of NM's API
19795 * src/NetworkManagerDbus.c
19796 - Free some more DBusErrors if needed
19798 2004-09-11 Dan Williams <dcbw@redhat.com>
19800 * panel-applet/NMWirelessApplet.c
19801 panel-applet/NMWirelessAppletDbus.c
19802 - Start using NetworkDevice/WirelessNetwork structures in more places
19803 - Update for unified device/network forcing in NetworkManager
19805 * src/NetworkManager.c
19806 - some code consolidation
19808 * src/NetworkManagerDbus.c
19809 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
19810 or two arguments: the first is the NM ID of the device to switch to,
19811 and the second (optional) argument is the ESSID of a wireless network
19813 - Get rid of "setNetwork" method due to above change
19815 * src/NetworkManagerDevice.c
19816 - (nm_device_new): perform scan and update best AP on device creation
19817 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
19818 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
19819 spin waiting for cancellation to finish before returning
19821 * src/NetworkManagerPolicy.c
19822 - Changes here clarify the situations in which a device switch occurs, and
19823 make sure to keep using a forced device and network if the user gives
19825 - Remove old unused code
19827 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
19829 * configure.in: Added Danish (da) to ALL_LINGUAS.
19831 2004-09-09 Dan Williams <dcbw@redhat.com>
19833 * panel-applet/NMWirelessAppletDbus.c
19834 - Pull fresh devices and networks from NM when wireless networks
19835 change. Provides faster feedback of a forced wireless network
19837 * src/NetworkManagerDbus.c
19838 - Return error when "getMaxQuality" is called on a wired device
19839 - Make best_ap freezing actually work again, and signal cancellation
19840 of activation if there's already a device activation when the user
19841 freezes the best_ap
19843 * src/NetworkManagerDevice.c
19844 - Don't clear out the best_ap for wireless devices when the link goes
19845 down, that's done elsewhere
19846 - Kill any dhcp daemons when cancelling device activation since they
19847 may be stuck waiting for a DHCP address, and since we're cancelling
19848 activation we don't care about that anymore
19850 * src/NetworkManagerPolicy.c
19851 - Make sure to unref the device we ref earlier (we refed it to make sure
19852 it stuck around during device activation and such)
19853 - If we were going to change the best device, but its activating currently
19854 (and therefore the change didn't occur due to the check earlier)
19855 we mark the state changed to we come back to it later when device
19856 activation has canceled and its no longer activating
19858 * src/backends/NetworkManagerRedHat.c
19859 - SIGKILL dhcp daemons rather than SIGTERM-ing them
19861 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
19863 * info-daemon/passphrase.glade:
19864 set passphrase input to activates_default : True
19866 * examples/python/systray/network_tray.py
19867 (network_tray.sort_networks):
19869 Added support for having wireless always scanning
19871 2004-09-09 Dan Williams <dcbw@redhat.com>
19873 NOTE: this commit changes the behavior of wireless devices in
19874 NetworkManager. They are now up all the time, scanning all
19875 the time. Only the active device has an IP address and routing
19876 information set up however. Also, NetworkManager will no longer
19877 opportunistically switch wireless networks when a better one
19878 comes in range, it will remain associated with one wireless network
19879 until that one drops out.
19881 * panel-applet/NMWirelessApplet.c
19882 panel-applet/NMWirelessAppletDbus.c
19883 - List all wireless cards and their respective networks
19885 * src/NMLoadModules
19886 - Use full path to /sbin/ip
19888 * src/NetworkManager.c
19889 - Keep wireless devices up all the time so they can scan
19891 * src/NetworkManagerDbus.c
19892 - On a WirelessNetworkUpdate signal from NMI, don't update
19895 * src/NetworkManagerDevice.c
19896 - (nm_device_set_link_active): clear out the best ap for
19897 wireless devices when the link is set to FALSE
19898 - Scan on all wireless cards, all the time
19899 - (nm_device_activation_worker): split out the wireless card
19900 link-waiting code to a separate function
19901 - Keep wireless cards up even if device activation fails
19902 - Don't update the "best" ap as much
19904 * src/NetworkManagerPolicy.c
19905 - Don't update the best ap when checking if its frozen,
19906 let link checking clear out a frozen best ap for us
19908 * src/NetworkManagerWireless.c
19909 - Scan on all wireless cards, all the time
19911 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
19913 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
19915 2004-09-09 Ankit Patel <ankit@redhat.com>
19917 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
19919 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
19921 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
19923 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
19925 * examples/python/NetworkManager.py:
19926 added CONNECTED, CONNECTING, and DISCONNECTED states
19927 added methods to return number of devices of a single type
19929 * examples/python/systray/network_tray.py:
19930 did some tweaks to get the menu looking near what it is supposed
19931 to look like. Also did a Airo card hack to make it show the
19934 2004-09-08 Dan Williams <dcbw@redhat.com>
19936 * panel-applet/no-networkmanager.png
19937 panel-applet/Makefile.am
19938 panel-applet/NMWirelessApplet.c
19939 - Add a "NetworkManager not running" icon and use it
19940 - Use new consolidated GConf keys rather than Preferred/Trusted
19944 * info-daemon/NetworkManagerInfo.c
19945 info-daemon/NetworkManagerInfoDbus.[ch]
19946 info-daemon/NetworkManagerInfoPassphraseDialog.c
19947 - There are now no longer two separate lists of wireless networks,
19948 but one list where each network is "trusted" or not trusted
19949 - Add a "getNetworkTrusted" dbus method
19950 - "WirelessNetworkUpdate" signal now sent rather than
19951 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
19952 - Start freeing some dbus errors (not completed yet)
19954 * info-daemon/passphrase.glade
19955 - Remove the "don't show" hints for pager and taskbar
19956 - Add a title since its going to be in the taskbar
19958 * src/NetworkManager.[ch]
19959 src/NetworkManagerAPList.[ch]
19960 - There are now no longer two separate lists of wireless networks,
19961 but one list where each network is "trusted" or not trusted
19963 * src/NetworkManagerAP.[ch]
19964 - Add get/set "trusted" accessors and data bit
19966 * src/NetworkManagerDbus.[ch]
19967 - Add function to get "trusted" status of a network from NetworkManagerInfo
19968 - Trap new WirelessNetworkUpdate signal rather than old separate signals
19970 * src/NetworkManagerDevice.[ch]
19971 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
19972 - (nm_device_new): Get device config from backend when initializing devices
19973 - (nm_device_activation_worker): Split out device configuration on
19974 activation to deal with static/dynamic IP differences, and try encryption
19975 fallbacks on a device if the encryption method for the best AP is not good
19976 - (nm_device_update_best_ap): convert to new consolidated access point lists from
19977 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
19979 * src/NetworkManagerWireless.c
19980 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
19982 * src/backends/NetworkManagerRedHat.c
19983 src/backends/NetworkManagerSystem.h
19984 - (nm_system_device_update_config_info): Add function to get device configuration
19985 from system data in ifcfg-* files
19987 * src/backends/NetworkManagerDebian.c
19988 src/backends/NetworkManagerGentoo.c
19989 src/backends/NetworkManagerSlackware.c
19990 - Add stub functions for getting device configuration
19992 2004-09-07 Dan Williams <dcbw@redhat.com>
19994 * src/backends/NetworkManagerRedhat.c
19995 src/backends/NetworkManagerSlackware.c
19996 - Use full path to /sbin/ip everywhere
19998 2004-09-07 Dan Williams <dcbw@redhat.com>
20000 Patch from: Narayan Newton <narayan_newton@yahoo.com>
20003 initscript/Makefile.am
20004 initscript/Slackware/Makfile.am
20005 initscript/Slackware/rc.networkmanager
20007 src/backends/NetworkManagerSlackware.c
20008 - Add Slackware support
20010 2004-09-07 Dan Williams <dcbw@redhat.com>
20012 Patches below from:
20014 Mark Roach <mrroach@okmaybe.com>
20015 Thom May <thom@debian.org>
20018 initscript/Debian/NetworkManager
20019 initscript/Debian/Makefile.am
20020 - Initscript for Debian
20022 * src/backends/NetworkManagerDebian.c
20023 - Add missing system init function to allow compilation
20026 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
20028 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20030 2004-09-03 Akagic Amila <bono@linux.org.ba>
20032 * configure.in: Added 'bs' to ALL_LINGUAS.
20034 2004-09-02 Colin Walters <walters@verbum.org>
20036 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20037 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20038 g_strdup_printf instead of arbitrarily sized buffers.
20040 2004-09-01 Colin Walters <walters@verbum.org>
20042 * NetworkManager.pc.in: New file.
20044 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20046 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
20048 * configure.in: Punjabi(pa) is added to po/.
20050 2004-08-31 Dan Williams <dcbw@redhat.com>
20052 * Remove 'debug' extern global from all files since we now
20055 * src/NetworkManager.[ch]
20056 - Break out routine that get the net.interface property from HAL,
20057 removing that logic from nm_create_device_and_add_to_list()
20058 - (nm_create_device_and_add_to_list): make this a bit more general so
20059 it doesn't do the talking to HAL. Also add arguments to facilitate
20060 the create of test devices.
20061 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20062 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20063 which makes NetworkManager listen for dbus commands to create test
20064 devices, which have no backing hardware. Use when you're on a plane
20065 for example, and/or forgot your wireless card at home. Test devices
20066 _cannot_ be created unless NM is started with --enable-test-devices.
20068 * src/NetworkManagerDbus.[ch]
20069 - New "getLinkActive" method for devices
20070 - New "setLinkActive" method for devices (only works on test devices)
20071 - New "createTestDevice" method on NetworkManager object to create a test
20072 device of a specified type (ie wired, wireless). UDI is created from
20073 scratch, as is the interface name. Only works when NM is started with
20074 --enable-test-devices switch.
20075 - New "removeTestDevice" method on NetworkManager object which removes a
20076 test device. Only works when NM is started with --enable-test-devices
20078 * src/NetworkManagerDevice.[ch]
20079 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
20080 whether a device is a test device or not, and what its link status is.
20081 - Deal with test devices in most functions. For those that work directly on hardware
20082 special-case test devices.
20083 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20085 - (nm_device_update_link_active): split out logic for wired and wireless device link
20086 checking to separate functions to facilitate test device link checking.
20087 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20088 don't make a distinction between System Authentication and Encryption
20089 (namely Cisco aironet), we use Open System auth when setting a WEP key
20090 on the card. We don't deal with Shared Key auth yet.
20091 - (nm_device_activation_worker): split the activation cancel check logic out into
20092 a separate routine nm_device_activation_cancel_if_needed()
20093 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20094 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20095 a list of fake access points that they can "see"
20096 - (nm_device_is_test_device): return whether or not a device is a test device
20098 * src/NetworkManagerPolicy.c
20099 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20100 previously if you "locked"/forced NM to use a wireless device but then
20101 selected a wireless network for NM to use, it would switch to a wired device.
20102 So, if the active device is wireless and it has a "forced" best AP, use it
20103 if the "forced" best AP is still valid
20104 - (nm_state_modification_monitor): deal with NULL best devices, for example
20105 there were no usable network devices, or the last one was removed
20107 * src/backends/NetworkManager*.c
20108 - Deal with test devices, mostly just return success for operations like getting
20111 * test/nmtestdevices.c
20112 - Test tool to create/remove/link-switch test devices
20114 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20116 * examples/python/NetworkManager.py:
20117 added convience functions has_wired_device and has_wireless_device
20119 * examples/python/systray/network_tray.py:
20120 cleaned up a bunch of cruft, added support for listing wireless
20121 networks just like the real applet. This is probably all I'm
20122 going to work on this applet from now on.
20123 TODO: add support for actually changing networks and devices
20125 * examples/python/NetworkManager.py (NetworkManager.get_device):
20126 changed "nm.networks" into a dict from a list so I can store all
20127 the cool information about networks in there
20129 * examples/python/systray/network_tray.py:
20130 Added nice message when you try to run without running make first
20132 * examples/python/NetworkManager.py:
20133 Bug fixes to the code so we get all the device information
20134 that we need in get_device()
20136 * examples/python/NMTester.py:
20137 Fixed _print_device_list to print_device_list
20139 2004-08-29 Seth Nickell <seth@gnome.org>
20143 Actually properly setup the Debian backend in configure.
20145 2004-08-29 Colin Walters <walters@verbum.org>
20147 * test/nminfotest.c: Include string.h and stdlib.h.
20148 (get_network_string_property, get_networks_of_type): Return NULL.
20150 * test/nmclienttest.c (get_device_name, get_active_device): Return
20153 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20154 use strlen, fgets always NULL-terminates the string.
20156 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20157 dbus_message_get_member): Remove /* in comment.
20159 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20161 * src/NetworkManager.c (quit): Unused, delete.
20162 (nm_data_free): Cast arg to GFunc.
20164 * panel-applet/NMWirelessAppletDbus.c: Need to include
20165 string.h, and dbus-glib-lowlevel.h (the latter is needed
20166 for dbus_connection_setup_with_g_main at present).
20167 (nmwa_dbus_update_wireless_network_list): Parenthesize
20168 assignment in conditional.
20169 (nmwa_dbus_worker): Return NULL.
20171 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20172 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20173 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20174 (nmwa_populate_menu): Return NULL on failure, instead of just
20177 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20179 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20182 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20185 2004-08-29 Colin Walters <walters@verbum.org>
20187 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20188 a GTimeVal instead of time_t. This is easier to work with,
20189 since time_t may be a long or double, we don't know.
20191 * src/NetworkManagerDbus.h: Update prototype.
20193 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20195 (nm_ap_get_timestamp): Update to return GTimeVal.
20196 (nm_ap_set_timestamp): Update to take GTimeVal.
20198 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20199 to handle GTimeVal.
20201 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20203 (nm_ap_list_print_members): Fix warnings in printf format.
20205 2004-08-29 Colin Walters <walters@verbum.org>
20207 * panel-applet/NMWirelessApplet.c: Include config.h.
20209 2004-08-29 Colin Walters <walters@verbum.org>
20211 * configure.in: Generate config.h.
20213 * configure.in: Dump dependency on OpenSSL; we can't
20214 use it since this package is GPL:
20215 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20216 Instead, check for libgcrypt, use it if available,
20217 otherwise use included MD5 code.
20219 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20220 Suck in from gnome-keyring, munge a bit.
20222 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20223 gnome-keyring-md5.h gnome-keyring-md5.c.
20224 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20226 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20227 libgcrypt or included gnome-keyring md5 bits.
20228 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20230 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20232 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20234 2004-08-27 Bryan Clark <bclark@redhat.com>
20236 * examples/python/systray/Makefile:
20238 Updated the clean section
20240 * examples/python/systray/trayiconmodule.c:
20241 * examples/python/systray/trayicon.override:
20242 * examples/python/systray/network_tray.py:
20243 * examples/python/systray/eggtrayicon.h:
20244 * examples/python/systray/eggtrayicon.c:
20245 * examples/python/systray/Makefile:
20246 * examples/python/README:
20247 * examples/python/NetworkManager.py:
20248 * examples/python/NMTester.py:
20250 Initial commit of these python example files
20252 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20254 * panel-applet/NMWirelessApplet.c
20255 - Make current device bold
20256 - Show more user-friendly device name if we got one from hal
20258 * panel-applet/NMWirelessAppletDbus.c
20259 - Grab "info.product" key from hal for network devices
20260 - Cache the current active device
20262 2004-08-27 Adam Weinberger <adamw@gnome.org>
20264 * configure.in: Added en_CA to ALL_LINGUAS.
20266 2004-08-27 Christian Rose <menthos@menthos.com>
20268 * configure.in: Added "sv" to ALL_LINGUAS.
20270 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20272 * Tag NetworkManager-0.2
20274 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
20276 * initscripts/Makefile.am
20277 * configure.in: Make pass distcheck
20279 * po/ChangeLog: added
20281 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20283 * panel-applet/NMWirelessApplet.c
20284 - Remove debugging code
20285 - Enable device switching from menus
20287 * panel-applet/NMWirelessAppletDbus.[ch]
20288 - Method for asking NM to switch devices
20290 * src/NetworkManagerDevice.c
20291 - Set dev->activating earlier, avoids race between
20292 the dbus signal of "DeviceActivating" and setting
20293 dev->activating (which is what NM's "status" method call
20296 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20298 * panel-applet/NMWirelessApplet.[ch]
20299 - Rework menu code to add devices to menu, and to show
20300 signal strength for each access point. Code cleanups
20303 * panel-applet/NMWirelessAppletDbus.c
20304 - Grab network devices from NetworkManager too
20305 - Grab quality information from NM for wireless networks
20307 * src/NetworkManagerDbus.[ch]
20308 - Add dbus methods for getting the HAL UDI from a device and
20309 for getting its base quality, if its wireless
20310 - Consolidate some functions (wireless network notifications,
20311 device notifications)
20312 - Add method for requesting NM to use a particular device
20314 * src/NetworkManager.c
20315 - Change for function consolidations from NetworkManagerDbus.c
20316 - Implement active device locking and user-requested devices
20317 (ie, tell NM to use a particular device instead of the one
20320 * src/NetworkManagerDevice.c
20321 - Add method for getting the base quality of a device, if its
20323 - Grab device base quailty info from iwlib during scans
20325 * src/NetworkManagerPolicy.c
20326 - Use a user-requested device rather than the auto-chosen device
20329 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
20331 * Makefile.am: add po as a supdir
20333 * autogen.sh: use gnome-autogen.sh
20335 * initscript/Gentoo/.cvsignore:
20336 * initscript/RedHat/.cvsignore: Shut up cvs
20338 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20340 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20341 (nmwa_fill): Use gettext.
20343 * configure.in: add gettext support
20345 * po/NetworkManager.pot:
20348 2004-08-26 Seth Nickell <seth@gnome.org>
20350 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20351 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20352 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20353 (nmwa_dispose_menu_items), (nmwa_populate_menu),
20354 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20355 * panel-applet/NMWirelessApplet.h:
20357 Use a menu bar instead of a button for the main clickable
20360 2004-08-25 Dan Williams <dcbw@redhat.com>
20362 * src/NetworkManagerDevice.c
20363 - (nm_device_set_enc_key): always set device to "open" mode instead of
20364 turning encryption off, because the Cisco driver doesn't associate
20365 with WEP-enabled access points unless we are in "open"
20367 2004-08-25 Dan Williams <dcbw@redhat.com>
20369 * src/NetworkManagerWireless.c
20370 - Don't try to defererence blank passphrases
20372 2004-08-25 Dan Williams <dcbw@redhat.com>
20374 * panel-applet/NMWirelessApplet.c
20375 - Rebuild the menu whenever a user clicks
20377 2004-08-25 Dan Williams <dcbw@redhat.com>
20379 * panel-applet/NMWirelessApplet.c
20380 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20381 when NM isn't around or when its not connected
20383 * src/NetworkManagerDevice.c
20384 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20387 2004-08-25 Dan Williams <dcbw@redhat.com>
20389 * panel-applet/NMWirelessAppletDbus.c
20390 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20391 for getting encryption, and don't stop on "val" once we've gotten it
20392 from NetworkManager. Short form: encryption should now show up.
20394 2004-08-25 Dan Williams <dcbw@redhat.com>
20396 * panel-applet/NMWirelessApplet.c
20397 - Set ESSID on a gconf trusted network too when force-setting the wireless
20398 network to associate with
20400 2004-08-25 Dan Williams <dcbw@redhat.com>
20403 - Rework the panel applet to do all DBUS communication in a separate
20406 2004-08-25 Dan Williams <dcbw@redhat.com>
20408 * info-daemon/NetworkManagerInfo.[ch]
20409 - Remove "get_next_priority" function
20411 * info-daemon/NetworkManagerInfoDbus.[ch]
20412 - Convert "priority" functions to "timestamp"
20414 2004-08-25 Dan Williams <dcbw@redhat.com>
20416 * src/NetworkManagerAP.[ch]
20417 - Add a "enc_method_good" member and accessors to an Access Point
20418 to signal when we've found the correct encryption method
20419 for an access point
20420 - Add a "timestamp" member and accessors, remove "priority" member
20421 and accessors (use timestamps instead)
20422 - Rename "wep_key"->"enc_key"
20423 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20424 for a specified encryption method using the access points
20425 source encryption key/passphrase
20427 * src/NetworkManagerAPList.c
20428 - When updating a network with dbus, grab timestamp now instead of
20431 * src/NetworkManagerDBus.[ch]
20432 - Add signal for "DeviceActivating"
20433 - Switch priority->timestamp
20435 * src/NetworkManagerDevice.c
20436 - Change references of "wep_key" -> "enc_key" or "key"
20437 - Signal DeviceActivating when starting activation
20438 - When activating a wireless device, if the access point we are connecting
20439 to is encrypted, and we have a source key, try to generate a mangled
20440 key and use that (ie, generate real WEP key from a passphrase)
20441 - Rework device activation to fallback to other encryption methods if
20442 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20443 first, then if that doesn't work fall back to direct hex key).
20444 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20445 priority. We now prefer the latest access point used, rather than using
20447 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20448 points we've just discovered, and merge in correct info from the global
20451 2004-08-25 Seth Nickell <seth@gnome.org>
20453 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20457 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20458 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20459 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20460 (nm_system_delete_default_route),
20461 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20462 (nm_system_load_device_modules):
20464 2004-08-24 Dan Willemsen <dan@willemsen.us>
20466 * src/NetworkManager.c
20467 src/backends/NetworkManagerGentoo.c
20468 src/backends/NetworkManagerRedHat.c
20469 src/backends/NetworkManagerSystem.h
20470 - Implement preliminary Gentoo support, adding a
20471 nm_system_init function to the backend specification
20474 - Distribution auto-detection, lowercase any user-fed
20477 * initscript/.cvsignore
20478 initscript/Makefile.am
20479 initscript/RedHat/Makefile.am
20480 initscript/RedHat/NetworkManager
20481 initscript/Gentoo/Makefile.am
20482 initscript/Gentoo/NetworkManager
20483 - Refactored initscript code separately for each
20486 2004-08-23 Dan Williams <dcbw@redhat.com>
20490 src/NetworkManagerDevice.c
20491 src/NetworkManager.c
20492 src/NetworkManagerUtils.[ch]
20493 src/backends/NetworkManagerSystem.h
20494 src/backends/NetworkManagerRedHat.c
20495 src/backends/NetworkManagerGentoo.c
20496 - Refactor system-specific code into separate backends for
20499 2004-08-23 Dan Willemsen <dan@willemsen.us>
20501 * dispatcher-daemon/NetworkManagerDispatcher.c
20502 info-daemon/NetworkManagerInfo.[ch]
20503 info-daemon/NetworkManagerInfoDbus.c
20504 info-daemon/NetworkManagerInfoPassphraseDialog.c
20505 src/NetworkManager.c
20506 src/NetworkManagerAP.c
20507 src/NetworkManagerAPList.c
20508 src/NetworkManagerDbus.c
20509 src/NetworkManagerDevice.c
20510 src/NetworkManagerPolicy.c
20511 src/NetworkManagerUtils.[ch]
20512 src/NetworkManagerWireless.c
20513 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20515 * src/NetworkManager.c
20516 - Fixed usage wording for --no-daemon
20518 2004-08-23 Dan Williams <dcbw@redhat.com>
20520 * panel-applet/NMWirelessApplet.c
20521 - Update our state every second to get more responsive panel icon
20522 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20523 was causing our marching ants status blips to never move when
20524 looking for a wireless network
20526 * src/NetworkManagerDevice.c
20527 - (nm_device_activation_begin): return if activation has already begun
20528 - (nm_device_do_normal_scan): merge WEP key and priority from the
20529 trusted/preferred network into the device's access point when the
20530 scan list is processed
20532 2004-08-23 Dan Williams <dcbw@redhat.com>
20534 * initscript/NetworkManager
20535 - Use NMLaunchHelper rather than sleeping
20537 * initscript/NMLaunchHelper.c
20539 - Add helper program that exits only when NM activates a device,
20540 or 10 seconds have passed, whichever happens first. This
20541 stops the boot processes until we have a network connection,
20542 which NM can't do because it daemonizes and brings the connection
20543 up in the background. Allows stuff like NFS to not die.
20545 2004-08-20 Dan Williams <dcbw@redhat.com>
20547 * info-daemon/NetworkManagerInfoPassphraseDialog.c
20548 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20549 for a network, set the essid as well since it may not exist yet
20550 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20551 since WEP keys/passphrases are long and prone to entry-error
20553 * panel-applet/Makefile.am
20554 panel-applet/wired.png
20555 - Add (pulled from system-config-network temporarily)
20557 * panel-applet/NMWirelessApplet.[ch]
20558 - Show wired picture when a wired connection is used
20559 - Rename wireless icon enums, adding WIRELESS
20561 * src/NetworkManagerDevice.c
20562 - (nm_device_activate_wireless): unset encryption before bringing
20563 down the card and setting the essid
20564 - (nm_device_activatin_worker): request a key from the user if the
20565 AP we are connecting to is encrypted but we don't have a key
20567 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20568 strcmp() that prevented a user-entered key from actually getting
20571 2004-08-16 Dan Williams <dcbw@redhat.com>
20573 * initscript/NetworkManager
20574 - Check for /sbin/ip
20575 - Do sysctl magic that network service does
20576 - sleep 4s after start to allow network time to come up [hack]
20580 - Load all network device kernel modules (hal doesn't know devices
20581 are ethernet until the module is loaded, and therefore we don't know)
20583 * src/NetworkManager.c
20584 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20585 network devices, and bring up the loopback device explicitly
20587 * src/NetworkManagerUtils.[ch]
20588 - (nm_enable_loopback): new function
20590 2004-08-13 Dan Williams <dcbw@redhat.com>
20593 panel-applet/Makefile.am
20594 - Fix up cleanfiles and server_DATA/server_in_files
20597 - Update with some comments on theory of operation
20603 2004-08-12 Dan Williams <dcbw@redhat.com>
20605 * info-daemon/passphrase.glade
20606 - Set window title to " "
20608 * panel-applet/Makefile.am
20609 panel-applet/keyring.png
20610 - Deliver to correct place
20612 * panel-applet/NMWirelessApplet.[ch]
20614 - Remove applet->have_active_device as its no longer used
20615 - (nmwa_load_theme): load keyring.png too
20616 - (error_dialog): remove
20617 - (show_warning_dialog): subsume functionality of error dialog too
20618 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20619 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20621 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20622 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20623 and when we get broadcasts of changed wireless access points only, not when the
20624 user clicks on the button to display the menu (too long of a wait)
20625 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20626 networks that are encrypted
20627 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20628 menu item with g_object_set_data()
20630 * panel-applet/NMWirelessAppletDbus.[ch]
20631 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20632 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20633 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20634 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20635 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20636 activation/deactivation signals and rebuild the menu when they happen
20638 * src/NetworkManager.c
20639 - (main): use new nm_spawn_process() rather than system()
20641 * src/NetworkManagerDbus.c
20642 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20643 instead. Since we can now force best_aps to stick around, the AP structure to which
20644 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20645 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
20646 to freeze the best_ap.
20648 * src/NetworkManagerDevice.[ch]
20649 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20650 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20651 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20654 * src/NetworkManagerUtils.[ch]
20655 - (nm_spawn_process): add replacement for system() usage
20657 2004-08-11 Dan Williams <dcbw@redhat.com>
20659 * panel-applet/NMWirelessApplet.[ch]
20660 - Fix up copyright and credits to include Bastien and Eskil,
20661 who created the gnome-applets wireless applet, from whose
20662 skeleton this one was created
20663 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20664 pixmap to draw is computed during nmwa_update_state()
20665 - Applet now shows itself all the time due to panel packing issues
20666 which caused the applet to previously never come back after hiding.
20667 When a wired device is the active device, the applet shows "not connected"
20669 * panel-applet/NMWirelessAppletDbus.[ch]
20670 - Clean up error messages and show what function they are from
20671 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20672 - Add new device type getters, and a status getter
20674 * src/NetworkManagerDbus.c
20675 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20676 network is actually in the device's ap list
20677 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20679 * src/NetworkManagerDevice.c
20680 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20683 * test/nmclienttest.c
20684 - Report status of NetworkManager too
20686 2004-08-11 Dan Williams <dcbw@redhat.com>
20688 * info-daemon/NetworkManagerInfo.c:
20689 - (main): clean up Seth's code style
20691 * info-daemon/NetworkManagerInfoDbus.c:
20692 - Use the more aptly-named path/service/interface constants from NetworkManager
20693 - Don't return empty strings ("") as object paths ever, instead return errors
20695 * panel-applet/NMWirelessApplet.c:
20696 - Clean up Seth's code style
20698 * src/NetworkManager.[ch]
20699 - (nm_remove_device_from_list): remove anything having to do with pending_device
20700 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20702 * src/NetworkManagerAPList.[ch]
20703 - Move Iter struct right above the iter functions to preserve opacity
20704 - (nm_ap_list_remove_ap): implement
20705 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20706 remove AP if NetworkManagerInfo doesn't know anything about it
20707 - (nm_ap_list_diff): user NMAPList iterators
20708 - (nm_ap_list_print_members): implement debugging function
20710 * src/NetworkManagerDbus.[ch]
20711 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20712 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20713 and move the actual key setting stuff into NetworkManagerDevice.c
20714 - (nm_dbus_get_network_priority): return -1 now on errors
20715 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20716 get lost, and force the active device to update its "best" ap when AP lists change
20717 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20718 method call due to pending_device member removal
20720 * src/NetworkManagerDevice.[ch]
20721 - Move NMDevice structure to the top
20722 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20723 - Remove Pending Action stuff from everywhere
20724 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20725 activation for us. This thread blocks until all conditions for activation have
20726 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20727 then setup up the interface and runs dhclient. We have to do this because there
20728 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20729 run our main loop and respond to dbus method calls or HAL device removals/inserts
20730 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20731 can tell nm_device_activation_worker() that we've got a key
20732 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20733 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20734 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20735 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20737 * src/NetworkManagerPolicy.c
20738 - Remove anything to do with pending_device
20739 - Adjust device activation to deal with activation-in-worker-thread
20741 * src/NetworkManagerUtils.c
20742 - Clean up locking debugging a bit
20744 * src/NetworkManagerWireless.[ch]
20745 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
20746 was badly named and is better as a device function
20748 * panel-applet/.cvsignore: add
20750 2004-08-09 Seth Nickell <seth@gnome.org>
20752 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20753 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20755 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20757 Don't load the menus until clicked on (also removes a call outside
20758 normal code paths at first load).
20760 Hide applet when NM is not present.
20762 Improve printf debugging stuff.
20764 2004-08-09 Dan Williams <dcbw@redhat.com>
20766 * dispatcher-daemon/NetworkManagerDispatcher.c:
20767 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20768 - Use constants for NetworkManager interface, service, and path
20770 2004-08-09 Dan Williams <dcbw@redhat.com>
20772 * src/NetworkManagerDbus.c:
20773 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20774 instead return an error message
20775 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20776 on a wired device. Also never return an empty object path, instead return an error message
20778 2004-08-06 Seth Nickell <seth@gnome.org>
20780 * panel-applet/NMWirelessApplet.c: (nmwa_new):
20782 Check the error code when getting a connection.
20784 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
20786 Check if the NM service exists when initializing (rather than
20787 assuming it does not).
20789 * src/NetworkManagerDbus.c: (nm_dbus_init):
20791 Don't acquire the well-known service name until we have
20792 registered object/path handlers and can actually receive
20795 2004-08-06 Dan Williams <dcbw@redhat.com>
20800 * src/NetworkManagerPolicy.c
20801 src/NetworkManager.c
20802 - Get access point lists from NetworkManagerInfo on-demand,
20803 and look for ServiceCreate/ServiceDeleted signals to see when
20804 we should query NMI for lists
20805 * src/NetworkManagerAPList.c
20806 - Make sure to init the list's mutex
20807 - Convert traversals of the list over to the list iter functions
20809 * src/NetworkManagerDbus.[ch]
20810 - Use more aptly-named path/service/interface constants
20811 - Treat both active and pending devices the same for "getActiveDevice"
20812 - Add a "status" method returning "connected", "connecting", or "disconnected"
20814 * src/NetworkManagerDevice.c
20815 - Honor "ignored" network list when picking best ap to use
20817 2004-08-06 Seth Nickell <seth@gnome.org>
20821 Autogenerated, remove from CVS.
20825 Don't hardcode automake version.
20828 * info-daemon/Makefile.am:
20829 * info-daemon/NetworkManagerInfo.c: (main):
20831 Use GnomeProgram et al. for doing session management.
20832 Use popt stuff for argument parsing rather than doing
20835 2004-08-05 Dan Williams <dcbw@redhat.com>
20837 * test/nminfotest.c
20838 - Update to new NMI dbus API, check different network types
20840 * info-daemon/NetworkManagerInfoDbus.c
20841 - Update to new NM dbus API, ie network type sent in query message
20843 2004-08-05 Dan Williams <dcbw@redhat.com>
20845 * An assload of changes
20847 2004-08-02 Dan Williams <dcbw@redhat.com>
20850 - new task: proper logging support
20852 * info-daemon/NetworkManagerInfo.c
20853 - Correct spelling of "canceled"
20854 - Correct casting of objects for g_signal_connect()
20856 * info-daemon/NetworkManagerInfoDbus.c
20857 - Add defines for NetworkManager namespace and object path, and use them
20858 - Add filter function to trap new signals from NetworkManager:
20859 WirelessNetworkAppeared, WirelessNetworkDisappeared
20861 * info-daemon/passphrase.glade
20862 - Change name of "ok" button to "Login to Network..."
20865 * src/NetworkManager.c
20866 - Code and debug message cleanups
20867 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
20868 - (nm_add_initial_devices) Check returned string array of devices
20869 and don't try to add devices if array is NULL
20870 - (main) Initialize libhal a bit later, make code a bit clearer
20872 * src/NetworkManagerAP.[ch]
20873 - New accessor and data member "matched": used to speed up AP list
20875 - New accessor and data member "enc_method": will be used during key
20876 fallback to cache which passphrase->key conversion actually works
20877 so we don't have to do it every time
20879 * src/NetworkManagerAPList.[ch]
20880 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
20881 - (nm_ap_list_diff) New: given two lists of access points, find the differences
20882 between them, and send WirelessNetworkAppeared/Disappeared signals over
20883 dbus in response to those differences
20885 * src/NetworkManagerDbus.[ch]
20886 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
20887 make an object path for that access point (NOTE that we don't yet check to
20888 make sure that access point is actually in the device's AP list yet)
20889 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
20890 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
20891 New: signal appearance/disappearance of wireless networks
20892 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
20895 * src/NetworkManagerDevice.[ch]
20896 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
20897 - (nm_device_ap_list_get) New: return the AP list (static function)
20898 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
20899 new one resulting from the scan with the old one
20901 * src/NetworkManagerWireless.c
20902 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
20904 * test/nminfotest.c
20905 - #define object paths and namespaces and use the #defines rather than static strings
20906 - Test out user-key functionality of NetworkManagerInfo too
20908 2004-07-29 Dan Williams <dcbw@redhat.com>
20910 * info-daemon/NetworkManagerInfoDbus.c
20911 src/NetworkManagerDbus.c
20912 - Update to current DBus (ie don't use decomposed paths when registering
20913 object paths/fallbacks)
20915 2004-07-27 Dan Williams <dcbw@redhat.com>
20917 * Remove various Makefile.in files
20920 - Add some more items
20923 - Add checks for OpenSSL/md5 headers and libs
20926 - Use OpenSSL CFLAGS
20928 * src/NetworkManagerAP.[ch]
20929 - Remove 'stamp' functions, replace with 'invalid' functions
20930 to support user cancelling WEP key entry
20932 * src/NetworkManagerDbus.c
20933 - Remove 'stamp' return functions
20934 - Treat returned user key as a passphrase and convert to a WEP key,
20935 but don't actually use the WEP key yet. We use the returned user
20936 key as a hexadecimal WEP key until we can figure out a UI for
20937 passphrase-vs-hex key
20939 * src/NetworkManagerWireless.[ch]
20940 - Add passphrase-to-128bit-key function
20942 2004-07-27 Dan Williams <dcbw@redhat.com>
20945 - Add a couple of items
20947 2004-07-27 Dan Williams <dcbw@redhat.com>
20949 * info-daemon/NetworkManagerInfo.c
20950 - Update allowed network's GConf key when user enters a WEP key explicitly
20952 * info-daemon/NetworkManagerDbus.c
20953 - Fix some comments
20954 - nmi_dbus_get_allowed_networks(): kill warning
20956 2004-07-27 Dan Williams <dcbw@redhat.com>
20958 * initscript/Makefile.in
20961 * initscript/Makefile.am
20962 - Add correct rules to install the init.d initscript
20964 * info-daemon/NetworkManagerInfoDbus.c
20965 - Remove debug fprintf
20967 * src/NetworkManagerDbus.[ch]
20968 - Remove debug fprintfs
20969 - Add macros for NetworkManagerInfo object path/namespace
20970 - Use said macros instead of constant strings
20972 2004-07-27 Dan Williams <dcbw@redhat.com>
20974 * initscript/.cvsignore
20977 * info-daemon/Makefile.am
20978 - Install .glade files and keyring.png
20979 - Fix stupid omission of a \ that caused half the flags not to be
20982 * info-daemon/NetworkManagerInfo.c
20983 - gtk_signal_connect->g_signal_connect
20984 - Alert NetworkManagerInfo to new glade file location
20986 2004-07-27 Dan Williams <dcbw@redhat.com>
20988 * test/nmclienttest.c
20990 - Add missing <dbus/dbus.h> headers
20991 - Add GPL message at top
20993 2004-07-27 Dan Williams <dcbw@redhat.com>
20995 * src/NetworkManagerAPList.[ch]
20997 - Add. Deal with allowed network list additions, deletions, and updates
20999 * dispatcher-daemon/NetworkManagerDispatcher.c
21000 - Add missing <dbus/dbus.h> header
21002 * info-daemon/NetworkManagerInfo.[ch]
21003 - Add missing <dbus/dbus.h> header
21004 - Implement the GConf notify callback to signal NetworkManager of an allowed
21006 - Better error checking
21008 * info-daemon/NetworkManagerInfoDbus.[ch]
21009 - Add missing <dbus/dbus.h> header
21010 - Convert to using dbus_message_append_args/dbus_message_get_args
21011 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21012 that an allowed network changed. We don't want to signal on individual
21013 keys _inside_ an allowed network really, just want NM to query the info
21014 daemon for updated info on all keys.
21015 - Better error checking
21017 * src/NetworkManager.[ch]
21018 - Add missing <dbus/dbus.h> header
21019 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21020 - Zero out NMData structure on free
21021 - No longer use a thread for allowed_ap_list updating, instead its now done
21022 through dbus queries against NetworkManagerInfo
21023 - Populate allowed_ap_list initially before adding existing network devices
21024 to the device list, so wireless devices can get their "best" AP
21026 * src/NetworkManagerDbus.[ch]
21027 - Convert to using dbus_message_append_args/dbus_message_get_args
21028 - Better error checking
21029 - Implement Allowed Network info functions to request allowed network
21030 info from NetworkManagerInfo
21031 - Implement the filter function to process signals from NetworkManagerInfo
21032 about changing allowed networks
21034 * src/NetworkManagerDevice.c
21035 - Fix file descriptor leak in nm_device_update_ip4_address()
21037 2004-07-27 Dan Williams <dcbw@redhat.com>
21042 dispatcher-daemon/.cvsignore
21043 info-daemon/.cvsignore
21044 - Add .cvsignore files to reduce noise when diffing
21046 2004-07-24 Dan Williams <dcbw@redhat.com>
21048 * src/NetworkManager.[ch]
21049 src/NetworkManagerDbus.[ch]
21050 src/NetworkManagerDevice.[ch]
21051 src/NetworkManagerPolicy.c
21052 src/NetworkManagerWireless.[ch]
21053 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21054 - Pass the NMData application data structure through all calls
21055 that need it so we can get rid of nm_get_global_data()
21056 - Change deallocation of the allowed_ap_list GSList in preparation
21057 for not completely clearing it every time we get an update,
21058 but instead getting incremental updates via GConf/dbus
21060 2004-07-22 Dan Williams <dcbw@redhat.com>
21063 - Add checks for GConf libs & headers & flags
21065 * info-daemon/Makefile.am
21066 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21068 * info-daemon/NetworkManagerInfo.[ch]
21069 - Don't use gquarks for data storage, just use normal data storage
21070 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21072 * info-daemon/NetworkManagerDbus.[ch]
21073 - Add method call for getting allowed networks
21074 - Add method calls for getting an allowed network's essid, priority, and key
21075 - Hook the method calls up to GConf
21076 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21077 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21079 * src/NetworkManagerDbus.[ch]
21080 - Switch for enumeration of networks to using essid instead
21084 - Add test program for NetworkManagerInfo
21086 2004-07-19 Dan Williams <dcbw@redhat.com>
21088 * src/NetworkManagerDbus.c
21089 - Switch from indexed device paths to names. Less code, more efficient.
21090 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21092 2004-07-19 Dan Williams <dcbw@redhat.com>
21094 * dispatcher-daemon/NetworkManagerDispatcher.c
21095 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21097 2004-07-19 Dan Williams <dcbw@redhat.com>
21100 - Add info-daemon directory
21103 - Check for glade libs and headers
21104 - Add info-daemon directory
21106 * src/NetworkManagerAP.c
21107 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21108 copied over to the new AP.
21110 * src/NetworkManagerDbus.c
21111 src/NetworkManagerDbus.h
21112 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21113 - Remove nm_dbus_signal_need_key_for_network()
21114 - Add disabled code for asynchronous user wep key callbacks
21115 - Add functions for getting, setting, and cancelling user key operations
21116 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21117 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21119 * src/NetworkManagerDevice.c
21120 src/NetworkManagerDevice.h
21121 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21122 logic is in device activation now
21123 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21124 key is wrong) trigger get-user-key pending action
21125 - Implement get-user-key pending action stuff, tie to dbus messages
21126 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21127 - Add nm_device_ap_list_get_ap_by_essid()
21128 - Instead of copying "best" access points, ref them instead so that the key we set
21131 * src/NetworkManagerPolicy.c
21132 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21133 - Don't cancel pending actions on a device if its the same device as last iteration
21134 - Only promote pending_device->active_device if activation was successfull
21137 - Rename nmclienttest->nmtest
21139 * info-daemon/Makefile.am
21140 info-daemon/NetworkManagerInfo.c
21141 info-daemon/NetworkManagerInfo.h
21142 info-daemon/NetworkManagerInfoDbus.c
21143 info-daemon/NetworkManagerInfoDbus.h
21144 info-daemon/passphrase.glade
21145 info-daemon/NetworkManagerInfo.conf
21146 info-daemon/keyring.png
21147 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21148 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21149 lists to NetworkManager by proxying user's GConf
21152 2004-07-15 Dan Williams <dcbw@redhat.com>
21157 * src/NetworkManager.c
21158 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21159 that doing the deactivation ourselves
21160 - Cancel an pending actions on a device if its being removed
21161 - Break up link state checking a bit, make non-active wireless cards
21162 deactivated to save power
21163 - Remove unused variables
21165 * src/NetworkManager.h
21166 - Add support for "pending" device
21168 * src/NetworkManagerAP.h
21169 src/NetworkManagerAP.c
21170 - Add support for determining whether and AP has encryption enabled or not
21171 - AP address is now "struct ether_addr" rather than a string
21173 * src/NetworkManagerDbus.h
21174 src/NetworkManagerDbus.c
21175 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21176 - Changes for AP address from struct ether_addr->string
21178 * src/NetworkManagerDevice.h
21179 src/NetworkManagerDevice.c
21180 - Remove unused variables, fix warnings
21181 - Add support for Pending Actions (things that block a device from being "active"
21182 until they are completed).
21183 - First pending action: Get a WEP key from the user
21184 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21185 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21186 - Update wireless link checking to try to determine if the AP we are associated
21187 with is correct, but the WEP key we are using is just wrong. If its wrong,
21188 trigger the GetUserKey pending action on the device
21189 - If dhclient can't get an IP address, it brings the device down. Bring it back
21190 up in that case, otherwise we can't scan or link-check on it
21191 - Add IP address change notifications at appropriate points (still needs some work)
21192 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21194 * src/NetworkManagerPolicy.h
21195 src/NetworkManagerPolicy.c
21196 - Split out "best" access point determiniation into separate function
21197 - Make device activation 2-stage: first the device is pending, then
21198 in the next iteration through it becomes "active" unless it has
21201 * src/NetworkManagerUtils.h
21202 src/NetworkManagerUtils.c
21203 - Clean up unused variables and warnings
21204 - Wrap our debug macros in {} to prevent possible confusion
21206 * src/NetworkManagerWireless.c
21207 - Forgot to return current best priority, which lead to last available AP always
21208 being chosen no matter what its priority was. Corrected.
21210 2004-07-15 Dan Williams <dcbw@redhat.com>
21212 * dispatcher-daemon/Makefile.am
21215 * dispatcher-daemon/NetworkManagerDispatcher.c
21216 - Remove unused variables due to warnings
21217 - Fix some comments
21218 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21220 2004-07-06 Dan Williams <dcbw@redhat.com>
21222 * src/NetworkManager.c
21223 - Add IPv4 address update for active device during link state check
21224 - Don't allow wireless cards to be powered up when they are not the
21227 * src/NetworkManagerDbus.c
21228 src/NetworkManagerDbus.h
21229 - Add DBUS IPv4 address change signal
21230 - Add DBUS IPv4 address get method for devices
21232 * src/NetworkManagerDevice.c
21233 - Make setting the WEP key actually work
21234 - Move IP address get/set/update stuff here, per-device
21235 - Power down/bring down wireless device when deactivated
21236 - For scanning wireless devices, if first scan returned ENODATA, try again
21238 * src/NetworkManagerPolicy.c
21239 - Only set the WEP key for an allowed access point if there is one.
21240 We were setting it to be blank if one wasn't specified.
21242 * src/NetworkManagerUtils.h
21243 src/NetworkManagerUtils.c
21244 - Move the IP address stuff to NetworkManagerDevice.c
21246 * dispatcher-daemon/NetworkManagerDispatcher.c
21247 - Add device IPv4 address change notification stuff
21249 2004-07-05 Dan Williams <dcbw@redhat.com>
21251 * dispatcher-daemon/NetworkManagerDispatcher.c
21252 - A bit more descriptive state message
21253 - Don't segfault when reading directory
21255 * src/NetworkManager.h
21256 - Remove NMData desired_ap member, its now
21257 per-device rather than global
21259 * src/NetworkManager.c
21260 - Remove references to desired_ap
21261 - Move the allowed AP list refresh stuff into a thread
21263 * src/NetworkManagerDevice.c
21264 src/NetworkManagerDevice.h
21265 - Each wireless device now has a "best ap"
21266 - Make device activate/deactivate functions per-device
21267 - Make wireless scanning per-device
21268 - Add IPv4 address discover functions, stub IPv6 ones
21269 - Move ethernet address validation functions to NetworkManagerUtils.c
21270 - Add wireless access point accessor function
21271 - Get/Set functions for "best ap"
21273 * src/NetworkManagerPolicy.c
21274 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21275 - Deal with per-device "best ap" rather than data->desired_apa
21276 - Implement allowed access point worker thread
21277 - Add nm_policy_essid_is_allowed() function
21279 * src/NetworkManagerUtils.c
21280 src/NetworkManagerUtils.h
21281 - Add nm_ethernet_address_is_valid() function
21282 - Add IPv4/IPv6 address get functions
21284 * src/NetworkManagerWireless.c
21285 src/NetworkManagerWireless.h
21286 - Move scanning stuff into NetworkManagerDevice.c, per-device
21288 2004-06-29 Dan Williams <dcbw@redhat.com>
21290 * dispatcher-daemon/NetworkManagerDispatcher.c
21291 - Implement script callout functionality
21293 2004-06-24 Dan Williams <dcbw@redhat.com>
21297 - Flush device routes and ip addresses when added to the device list
21299 * NetworkManagerDbus.c
21301 - Add missing returns in the two signal functions
21303 * NetworkManagerPolicy.c
21304 - Spacing and variable cleanups
21306 2004-06-24 Dan Williams <dcbw@redhat.com>
21311 dispatcher-daemon/Makefile.am
21312 dispatcher-daemon/Makefile.in
21313 dispatcher-daemon/NetworkManagerDispatcher.c
21314 - Add a daemon that receives signals from NetworkManager
21315 and will (eventually) call scripts in /etc/somewhere
21316 when devices go up or down.
21320 - Flush device routes and ip addresses when added to the device list
21322 * NetworkManagerDbus.c
21324 - Add missing returns in the two signal functions
21326 * NetworkManagerPolicy.c
21327 - Spacing and variable cleanups
21328 - Rename nm_policy_switch_interface->nm_policy_switch_device
21329 - nm_policy_switch_device():
21330 Use kill (pid) instead of system ("kill <pid>")
21331 - nm_state_modification_monitor():
21332 Add wireless essid to output of debug statements
21333 Correct typo in device compare to switch or not (should be !=)
21334 Don't sleep after sending "no longer active" signal, was useless
21336 2004-06-24 Dan Williams <dcbw@redhat.com>